Skip to content

Instantly share code, notes, and snippets.

@rajithv
Created June 15, 2021 14:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajithv/94a336fc0761d27b68f6a4197113b552 to your computer and use it in GitHub Desktop.
Save rajithv/94a336fc0761d27b68f6a4197113b552 to your computer and use it in GitHub Desktop.
Precompiling project...
1 dependency successfully precompiled in 2 seconds (40 already precompiled)
Testing Running tests...
Simple Schedulers: Test Failed at /Users/rajith/.julia/packages/Agents/YADxD/test/scheduler_tests.jl:28
Expression: (model.scheduler(model))[1:3] == [913, 522, 637]
Evaluated: [777, 217, 712] == [913, 522, 637]
Stacktrace:
[1] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/scheduler_tests.jl:28 [inlined]
[2] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[3] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/scheduler_tests.jl:4 [inlined]
[4] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[5] top-level scope
@ ~/.julia/packages/Agents/YADxD/test/scheduler_tests.jl:3
Simple Schedulers: Test Failed at /Users/rajith/.julia/packages/Agents/YADxD/test/scheduler_tests.jl:39
Expression: a[1] == 74
Evaluated: 831 == 74
Stacktrace:
[1] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/scheduler_tests.jl:39 [inlined]
[2] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[3] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/scheduler_tests.jl:4 [inlined]
[4] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[5] top-level scope
@ ~/.julia/packages/Agents/YADxD/test/scheduler_tests.jl:3
Walk: Test Failed at /Users/rajith/.julia/packages/Agents/YADxD/test/space_test.jl:367
Expression: a.pos == (4, 3)
Evaluated: (2, 4) == (4, 3)
Stacktrace:
[1] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:367 [inlined]
[2] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[3] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:291 [inlined]
[4] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[5] top-level scope
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:2
Walk: Test Failed at /Users/rajith/.julia/packages/Agents/YADxD/test/space_test.jl:369
Expression: a.pos == (3, 4)
Evaluated: (1, 4) == (3, 4)
Stacktrace:
[1] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:369 [inlined]
[2] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[3] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:291 [inlined]
[4] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[5] top-level scope
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:2
Walk: Test Failed at /Users/rajith/.julia/packages/Agents/YADxD/test/space_test.jl:371
Expression: a.pos == (4, 5)
Evaluated: (5, 5) == (4, 5)
Stacktrace:
[1] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:371 [inlined]
[2] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[3] macro expansion
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:291 [inlined]
[4] macro expansion
@ /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
[5] top-level scope
@ ~/.julia/packages/Agents/YADxD/test/space_test.jl:2
Test Summary: | Pass Fail Total
Agents.jl Tests | 1003 5 1008
Model construction | 31 31
sample! | 12 12
add_agent! (discrete) | 10 10
add_agent! (continuous) | 5 5
move_agent! | 7 7
kill_agent! | 10 10
genocide! | 12 12
fill space | 503 503
random agent | 3 3
model step order | 2 2
Scheduler tests | 30 2 32
Simple Schedulers | 5 2 7
Union Types | 5 5
Mixed Scheduler | 10 10
Scheduler as struct | 10 10
Model Access | 22 22
Space | 141 3 144
Graphs | 2 2
1D grids | 12 12
2D grids | 12 12
3D grids | 12 12
Positions | 7 7
Euclidean Distance | 5 5
Nearby Agents | 54 54
Discrete space mutability | 10 10
Walk | 27 3 30
DataCollection | 98 98
Parameter scan | 5 5
Issue #179 fix | 3 3
Continuous space | 25 25
Interacting pairs | 21 21
nearest neighbor | 8 8
OpenStreetMap space | 33 33
collisions | 7 7
mutable graph | 15 15
ERROR: LoadError: Some tests did not pass: 1003 passed, 5 failed, 0 errored, 0 broken.
in expression starting at /Users/rajith/.julia/packages/Agents/YADxD/test/runtests.jl:75
ERROR: Package Agents errored during testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment