Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dirwatcher test is flakey on OSX+LDC #189

Open
Geod24 opened this issue Jan 10, 2020 · 0 comments
Open

dirwatcher test is flakey on OSX+LDC #189

Geod24 opened this issue Jan 10, 2020 · 0 comments
Labels
flaky-test CI tests that sometimes fail and sometimes succeed

Comments

@Geod24
Copy link
Contributor

Geod24 commented Jan 10, 2020

+echo '[INFO] Running test tests/dirwatcher.d'
[INFO] Running test tests/dirwatcher.d
+dub --temp-build --compiler=ldc2 --single tests/dirwatcher.d
Performing "debug" build using ldc2 for x86_64.
taggedalgebraic 0.11.8: target for configuration "library" is up to date.
eventcore 0.8.48: target for configuration "kqueue" is up to date.
stdx-allocator 2.77.5: target for configuration "library" is up to date.
vibe-core 1.8.1+commit.3.g18bb563: target for configuration "kqueue" is up to date.
tests ~master: building configuration "application"...
tests/dirwatcher.d(35,16): Deprecation: alias `vibe.core.path.Path` is deprecated - Use NativePath or one the specific path types instead.
tests/dirwatcher.d(46,74): Deprecation: alias `vibe.core.path.Path` is deprecated - Use NativePath or one the specific path types instead.
tests/dirwatcher.d(76,12): Deprecation: alias `vibe.core.path.Path` is deprecated - Use NativePath or one the specific path types instead.
Linking...
To force a rebuild of up-to-date targets, run again with --force.
Running ../../../../../var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/.dub/build/tests-~master/application-debug-posix.osx-x86_64-ldc_2084-334A508186D74F687CCE79AE42BDCF8E/tests 
Test failed: core.exception.AssertError@tests/dirwatcher.d(51): Change is not what was expected, got: [DirectoryChange(modified, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/foo), DirectoryChange(modified, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/foo), DirectoryChange(removed, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/foo), DirectoryChange(added, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/subdir/bar), DirectoryChange(modified, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/subdir/bar), DirectoryChange(removed, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/subdir/bar)] but expected: [DirectoryChange(added, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/foo), DirectoryChange(modified, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/foo), DirectoryChange(removed, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/foo), DirectoryChange(added, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/subdir/bar), DirectoryChange(modified, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/subdir/bar), DirectoryChange(removed, /var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/dirwatcher_test_2440/subdir/bar)]
----------------
??:? _d_assert_msg [0x10177c296]
dirwatcher.d:51 @safe void dirwatcher.runTest().check(vibe.core.file.DirectoryChange[]) [0x10150c12a]
dirwatcher.d:88 void dirwatcher.runTest() [0x10150b8d6]
dirwatcher.d:104 void dirwatcher.main().__lambda1() [0x10150c5e8]
task.d:656 void vibe.core.task.TaskFuncInfo.set!(void delegate()).set(ref void delegate()).callDelegate(ref vibe.core.task.TaskFuncInfo) [0x101524639]
sync.d:1135 void vibe.core.task.TaskFuncInfo.call() [0x1015df801]
sync.d:165 nothrow void vibe.core.task.TaskFiber.run() [0x1015deff8]
??:? fiber_entryPoint [0x101785af3]
Program exited with code 1
The command "./travis-ci.sh" exited with 2.
@s-ludwig s-ludwig added the flaky-test CI tests that sometimes fail and sometimes succeed label Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flaky-test CI tests that sometimes fail and sometimes succeed
Projects
None yet
Development

No branches or pull requests

2 participants