Skip to content

flaky issue roundtrip bundle test #8263

@Anton-4

Description

@Anton-4

So far I've only seen it fail on windows-11-arm and macos-13

$ zig build test -Dfuzz -Dsystem-afl=false
warning: AFL++ requires a full version of llvm from the system or passed in via -Dllvm-path, but `llvm-config` was not found (Only building repro executables)
test
+- run bundle 26/27 passed, 1 failed
error: 'test_bundle.test.double roundtrip bundle -> unbundle -> bundle -> unbundle' failed: ====== expected this output: =========
9gFCacv5dfdbn6CvtziqnkorV8YfoJhrqQKxNnaVeJBy.tar.zst␃

======== instead found this: =========
CER1HKAeWpn9nnbaBSRJmTVj76n7bwknEYLyaJYqxwW1.tar.zst␃

======================================
First difference occurs on line 1:
expected:
9gFCacv5dfdbn6CvtziqnkorV8YfoJhrqQKxNnaVeJBy.tar.zst
^ ('\x39')
found:
CER1HKAeWpn9nnbaBSRJmTVj76n7bwknEYLyaJYqxwW1.tar.zst
^ ('\x43')
/Users/runner/work/_temp/1762ae04-764e-4143-8735-84c001fd08b3/zig-x86_64-macos-0.14.1/lib/std/testing.zig:641:9: 0x109e18331 in expectEqualStrings (bundle)
        return error.TestExpectedEqual;
        ^
/Users/runner/work/roc/roc/src/bundle/test_bundle.zig:1068:5: 0x109e350cf in test.double roundtrip bundle -> unbundle -> bundle -> unbundle (bundle)
    try testing.expectEqualStrings(filename1, filename2);
    ^
error: while executing test 'test_streaming.test.large file streaming extraction', the following test command failed:
/Users/runner/.cache/zig/o/fa9ea1946d0d381ea22c766839c46d52/bundle --seed=0xe05b6453 --cache-dir=/Users/runner/.cache/zig --listen=- 
Build Summary: 46/48 steps succeeded; 1 failed; 1003/1013 tests passed; 9 skipped; 1 failed
test transitive failure
+- run bundle 26/27 passed, 1 failed
error: the following build command failed with exit code 1:
/Users/runner/.cache/zig/o/7bd2e8bb49be8dc72b5092f5c612f9a9/build /Users/runner/work/_temp/1762ae04-764e-4143-8735-84c001fd08b3/zig-x86_64-macos-0.14.1/zig /Users/runner/work/_temp/1762ae04-764e-4143-8735-84c001fd08b3/zig-x86_64-macos-0.14.1/lib /Users/runner/work/roc/roc /Users/runner/.cache/zig /Users/runner/.cache/zig --seed 0xe05b6453 -Zc6fd83a441cad257 test -Dfuzz -Dsystem-afl=false

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions