We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following tests fail in a mock chroot environment:
github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root --- FAIL: TestDriverLibrariesLocate (0.04s) --- FAIL: TestDriverLibrariesLocate/rootfs-no-cache-lib64libcuda.so.1 (0.00s) root_test.go:76: Error Trace: /builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root/root_test.go:76 Error: Not equal: expected: []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77"} actual : []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=214) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77" + (string) (len=160) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77" } Test: TestDriverLibrariesLocate/rootfs-no-cache-lib64libcuda.so.1 --- FAIL: TestDriverLibrariesLocate/rootfs-no-cache-lib64libcuda.so.* (0.00s) root_test.go:76: Error Trace: /builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root/root_test.go:76 Error: Not equal: expected: []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77"} actual : []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=214) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77" + (string) (len=160) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77" } Test: TestDriverLibrariesLocate/rootfs-no-cache-lib64libcuda.so.* --- FAIL: TestDriverLibrariesLocate/rootfs-no-cache-lib64libcuda.so.*.* (0.00s) root_test.go:76: Error Trace: /builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root/root_test.go:76 Error: Not equal: expected: []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77"} actual : []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=214) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77" + (string) (len=160) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77" } Test: TestDriverLibrariesLocate/rootfs-no-cache-lib64libcuda.so.*.* --- FAIL: TestDriverLibrariesLocate/rootfs-no-cache-lib64libcuda.so.999.88.77 (0.00s) root_test.go:76: Error Trace: /builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root/root_test.go:76 Error: Not equal: expected: []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77"} actual : []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=214) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77" + (string) (len=160) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-no-cache-lib64/usr/lib64/libcuda.so.999.88.77" } Test: TestDriverLibrariesLocate/rootfs-no-cache-lib64libcuda.so.999.88.77 --- FAIL: TestDriverLibrariesLocate/rootfs-1libcuda.so.1 (0.00s) root_test.go:76: Error Trace: /builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root/root_test.go:76 Error: Not equal: expected: []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77"} actual : []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=212) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77" + (string) (len=158) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77" } Test: TestDriverLibrariesLocate/rootfs-1libcuda.so.1 --- FAIL: TestDriverLibrariesLocate/rootfs-1libcuda.so.* (0.01s) root_test.go:76: Error Trace: /builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root/root_test.go:76 Error: Not equal: expected: []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77"} actual : []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=212) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77" + (string) (len=158) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77" } Test: TestDriverLibrariesLocate/rootfs-1libcuda.so.* --- FAIL: TestDriverLibrariesLocate/rootfs-1libcuda.so.*.* (0.00s) root_test.go:76: Error Trace: /builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root/root_test.go:76 Error: Not equal: expected: []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77"} actual : []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=212) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77" + (string) (len=158) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77" } Test: TestDriverLibrariesLocate/rootfs-1libcuda.so.*.* --- FAIL: TestDriverLibrariesLocate/rootfs-1libcuda.so.999.88.77 (0.00s) root_test.go:76: Error Trace: /builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root/root_test.go:76 Error: Not equal: expected: []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77"} actual : []string{"/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=212) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/_build/src/github.com/NVIDIA/nvidia-container-toolkit/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77" + (string) (len=158) "/builddir/build/BUILD/nvidia-container-toolkit-1.17.1-build/nvidia-container-toolkit-1.17.1/testdata/lookup/rootfs-1/lib/x86_64-linux-gnu/libcuda.so.999.88.77" } Test: TestDriverLibrariesLocate/rootfs-1libcuda.so.999.88.77 FAIL exit status 1 FAIL github.com/NVIDIA/nvidia-container-toolkit/internal/lookup/root 0.043s
The text was updated successfully, but these errors were encountered:
@damaestro could you please provide more information on how you're running the tests?
Sorry, something went wrong.
@elezar This is for a build in the Fedora build tools. Specifically, this is a build in mock. It's a fancy chroot build tool for reproducible builds.
If you'd like to reproduce, you can use mock with the source from https://copr.fedorainfracloud.org/coprs/g/ai-ml/nvidia-container-toolkit/build/8243448/ and update the %check to not filter the test. We haven't updated the main distro package yet, waiting to figure this out.
%check
No branches or pull requests
The following tests fail in a mock chroot environment:
The text was updated successfully, but these errors were encountered: