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

CI failure: docker - TestBuildWithBuildArg/EmptyArgValueOverridesDefault #3727

Open
apostasie opened this issue Dec 4, 2024 · 0 comments
Open
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim

Comments

@apostasie
Copy link
Contributor

Description

See trace

Steps to reproduce the issue

No response

Describe the results you received and expected

=== Failed
=== FAIL: cmd/nerdctl/builder TestBuildWithBuildArg/EmptyArgValueOverridesDefault (0.57s)
    builder_build_test.go:476: ======================== Pre-test cleanup ========================
    command.go:112: /usr/bin/docker rmi -f testbuildwithbuildarg-emptyargvalueoverridesdefault-f8a29167
    builder_build_test.go:476: ======================== Test setup ========================
    command.go:112: /usr/bin/docker build /tmp/TestBuildWithBuildArg3830010956/001 --build-arg TEST_STRING= -t testbuildwithbuildarg-emptyargvalueoverridesdefault-f8a29167
    command.go:112: assertion failed: expect.ExitCode is not result.ExitCode: Expected exit code: 0
        
        Command:  /usr/bin/docker build /tmp/TestBuildWithBuildArg3830010956/001 --build-arg TEST_STRING= -t testbuildwithbuildarg-emptyargvalueoverridesdefault-f8a29167
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   #0 building with "default" instance using docker driver
        
        #1 [internal] load build definition from Dockerfile
        #1 transferring dockerfile: 154B done
        #1 DONE 0.0s
        
        #2 [internal] load metadata for ghcr.io/stargz-containers/alpine:3.13-org
        #2 DONE 0.1s
        
        #3 [internal] load .dockerignore
        #3 transferring context: 2B done
        #3 DONE 0.0s
        
        #4 [1/1] FROM ghcr.io/stargz-containers/alpine:3.13-org@sha256:ec14c7992a97fc11425907e908340c6c3d6ff602f5f13d899e6b7027c9b4133a
        #4 CACHED
        
        #5 exporting to image
        #5 exporting layers done
        #5 writing image sha256:e36557b3dd71603e8d95d104e2ec409faf4369273de890bdb433c792fbfc3d27 done
        #5 naming to docker.io/library/testbuildwithbuildarg-emptyargvalueoverridesdefault-f8a29167 done
        #5 ERROR: failed to get digest sha256:e36557b3dd71603e8d95d104e2ec409faf4369273de890bdb433c792fbfc3d27: open /var/lib/docker/image/overlay2/imagedb/content/sha256/e36557b3dd71603e8d95d104e2ec409faf4369273de890bdb433c792fbfc3d27: no such file or directory
        ------
         > exporting to image:
        ------
        ERROR: failed to solve: failed to get digest sha256:e36557b3dd71603e8d95d104e2ec409faf4369273de890bdb433c792fbfc3d27: open /var/lib/docker/image/overlay2/imagedb/content/sha256/e36557b3dd71603e8d95d104e2ec409faf4369273de890bdb433c792fbfc3d27: no such file or directory
        
        Env:
        LANG=C.UTF-8
        PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
        MAIL=/var/mail/root
        LOGNAME=root
        USER=root
        HOME=/root
        SHELL=/bin/bash
        TERM=unknown
        SUDO_COMMAND=/tmp/go-build2521263003/b831/builder.test -test.paniconexit0 -test.v=test2json -test.timeout=1h0m0s -test.allow-kill-daemon -test.target=docker
        SUDO_USER=runner
        SUDO_UID=1001
        SUDO_GID=118
        ImageVersion=20241124.1.0
        ImageOS=ubuntu24
        ACCEPT_EULA=Y
        XDG_CONFIG_HOME=/home/runner/.config
        AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
        RUNNER_TOOL_CACHE=/opt/hostedtoolcache
        ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE=/opt/actionarchivecache
        AZURE_EXTENSION_DIR=/opt/az/azcliextensions
        SWIFT_PATH=/usr/share/swift/usr/bin
        DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
        DOTNET_NOLOGO=1
        DOTNET_MULTILEVEL_LOOKUP=0
        EDGEWEBDRIVER=/usr/local/share/edge_driver
        GECKOWEBDRIVER=/usr/local/share/gecko_driver
        CHROME_BIN=/usr/bin/google-chrome
        CHROMEWEBDRIVER=/usr/local/share/chromedriver-linux64
        BOOTSTRAP_HASKELL_NONINTERACTIVE=1
        GHCUP_INSTALL_BASE_PREFIX=/usr/local
        JAVA_HOME_8_X64=/usr/lib/jvm/temurin-8-jdk-amd64
        JAVA_HOME_11_X64=/usr/lib/jvm/temurin-11-jdk-amd64
        JAVA_HOME=/usr/lib/jvm/temurin-17-jdk-amd64
        JAVA_HOME_17_X64=/usr/lib/jvm/temurin-17-jdk-amd64
        JAVA_HOME_21_X64=/usr/lib/jvm/temurin-21-jdk-amd64
        ANT_HOME=/usr/share/ant
        GRADLE_HOME=/usr/share/gradle-8.11.1
        CONDA=/usr/share/miniconda
        NVM_DIR=/home/runner/.nvm
        SELENIUM_JAR_PATH=/usr/share/java/selenium-server.jar
        VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
        DEBIAN_FRONTEND=noninteractive
        ANDROID_SDK_ROOT=/usr/local/lib/android/sdk
        ANDROID_HOME=/usr/local/lib/android/sdk
        ANDROID_NDK=/usr/local/lib/android/sdk/ndk/27.2.12479018
        ANDROID_NDK_HOME=/usr/local/lib/android/sdk/ndk/27.2.12479018
        ANDROID_NDK_ROOT=/usr/local/lib/android/sdk/ndk/27.2.12479018
        ANDROID_NDK_LATEST_HOME=/usr/local/lib/android/sdk/ndk/27.2.12479018
        PIPX_BIN_DIR=/opt/pipx_bin
        PIPX_HOME=/opt/pipx
        GOROOT_1_21_X64=/opt/hostedtoolcache/go/1.21.13/x64
        GOROOT_1_22_X64=/opt/hostedtoolcache/go/1.22.9/x64
        GOROOT_1_23_X64=/opt/hostedtoolcache/go/1.23.3/x64
        HOMEBREW_NO_AUTO_UPDATE=1
        HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=3650
        RUNNER_USER=runner
        DEPLOYMENT_BASEPATH=/opt/runner
        PERFLOG_LOCATION_SETTING=RUNNER_PERFLOG
        POWERSHELL_DISTRIBUTION_CHANNEL=GitHub-Actions-ubuntu24
        XDG_RUNTIME_DIR=/run/user/1001
        DOCKER_CONFIG=/tmp/TestBuildWithBuildArgEmptyArgValueOverridesDefault68793960/001

What version of nerdctl are you using?

main

Are you using a variant of nerdctl? (e.g., Rancher Desktop)

None

Host information

No response

@apostasie apostasie added the kind/unconfirmed-bug-claim Unconfirmed bug claim label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/unconfirmed-bug-claim Unconfirmed bug claim
Projects
None yet
Development

No branches or pull requests

1 participant