Pull request #486 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a933e861282336b25d9fdf324a4539737fb56119+93fcf9f9514203f7e3dde2b04df2ad430adf6db4 (ce0a3ddcf1fe8bdba4a987e0f79ce35a540b86cd) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh628479421289889961.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8492267266950490493.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4537216940768198245.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9717641515606747239.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16099330777824682883.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17609483273558781336.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8810 in /w/workspace/foundry_device-virtual-go_PR-486 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-486 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 into PR head commit a933e861282336b25d9fdf324a4539737fb56119 Merge succeeded, producing a933e861282336b25d9fdf324a4539737fb56119 Checking out Revision a933e861282336b25d9fdf324a4539737fb56119 (PR-486) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a933e861282336b25d9fdf324a4539737fb56119 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a933e861282336b25d9fdf324a4539737fb56119 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-08-27T11:37:47.880Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-08-27T11:37:48.118Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-08-27T11:37:48.248Z] ========================================================= [2024-08-27T11:37:48.248Z] EdgeX Global Pipelines Version Info [2024-08-27T11:37:48.248Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:37:49.424Z] ------------------- [2024-08-27T11:37:49.424Z] stable info: [2024-08-27T11:37:49.424Z] ------------------- [2024-08-27T11:37:49.424Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-27T11:37:49.424Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T11:37:49.424Z] Message: update stable to v1.0.263 [2024-08-27T11:37:49.683Z] ------------------- [2024-08-27T11:37:49.683Z] experimental info: [2024-08-27T11:37:49.683Z] ------------------- [2024-08-27T11:37:49.683Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-08-27T11:37:49.683Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T11:37:49.683Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-08-27T11:37:49.912Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2024-08-27T11:37:49.971Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2024-08-27T11:37:50.032Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-08-27T11:37:50.090Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-08-27T11:37:50.143Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-08-27T11:37:50.200Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-08-27T11:37:50.256Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-08-27T11:37:50.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-08-27T11:37:50.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-08-27T11:37:50.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-08-27T11:37:50.489Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-08-27T11:37:50.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2024-08-27T11:37:50.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-08-27T11:37:50.664Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-08-27T11:37:50.828Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-08-27T11:37:50.944Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-08-27T11:37:51.059Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T11:37:51.120Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-08-27T11:37:51.182Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-08-27T11:37:51.249Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-08-27T11:37:51.314Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-08-27T11:37:51.376Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-08-27T11:37:51.438Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-08-27T11:37:51.499Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-08-27T11:37:51.560Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-08-27T11:37:51.622Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-08-27T11:37:51.683Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-08-27T11:37:51.757Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo [2024-08-27T11:37:51.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo [2024-08-27T11:37:51.896Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo [2024-08-27T11:37:51.960Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a933e861282336b25d9fdf324a4539737fb56119 [Pipeline] echo [2024-08-27T11:37:52.019Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a933e86 [Pipeline] echo [2024-08-27T11:37:52.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T11:37:52.223Z] provisioning config files... [2024-08-27T11:37:52.240Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-486@tmp/config6594326587366094200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:37:52.633Z] ---> ****-login.sh [2024-08-27T11:37:52.633Z] nexus3.edgexfoundry.org:10001 [2024-08-27T11:37:54.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:37:54.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:37:54.016Z] Configure a credential helper to remove this warning. See [2024-08-27T11:37:54.016Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:37:54.016Z] [2024-08-27T11:37:54.016Z] Login Succeeded [2024-08-27T11:37:54.016Z] nexus3.edgexfoundry.org:10002 [2024-08-27T11:37:54.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:37:54.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:37:54.017Z] Configure a credential helper to remove this warning. See [2024-08-27T11:37:54.017Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:37:54.017Z] [2024-08-27T11:37:54.017Z] Login Succeeded [2024-08-27T11:37:54.017Z] nexus3.edgexfoundry.org:10003 [2024-08-27T11:37:54.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:37:54.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:37:54.277Z] Configure a credential helper to remove this warning. See [2024-08-27T11:37:54.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:37:54.277Z] [2024-08-27T11:37:54.277Z] Login Succeeded [2024-08-27T11:37:54.277Z] nexus3.edgexfoundry.org:10004 [2024-08-27T11:37:54.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:37:54.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:37:54.277Z] Configure a credential helper to remove this warning. See [2024-08-27T11:37:54.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:37:54.277Z] [2024-08-27T11:37:54.277Z] Login Succeeded [2024-08-27T11:37:54.277Z] ****.io [2024-08-27T11:37:54.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:37:54.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:37:54.538Z] Configure a credential helper to remove this warning. See [2024-08-27T11:37:54.538Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:37:54.538Z] [2024-08-27T11:37:54.538Z] Login Succeeded [2024-08-27T11:37:54.538Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T11:37:54.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-08-27T11:37:55.286Z] + git rev-list -1 --merges a933e861282336b25d9fdf324a4539737fb56119~1..a933e861282336b25d9fdf324a4539737fb56119 [Pipeline] echo [2024-08-27T11:37:55.337Z] -----------> git rev-list -1 --merges a933e861282336b25d9fdf324a4539737fb56119~1..a933e861282336b25d9fdf324a4539737fb56119 a933e861282336b25d9fdf324a4539737fb56119 [false] [Pipeline] sh [2024-08-27T11:37:55.654Z] + git log --format=format:%s -1 a933e861282336b25d9fdf324a4539737fb56119 [Pipeline] echo [2024-08-27T11:37:55.701Z] ========================================================= [2024-08-27T11:37:55.701Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-08-27T11:37:55.701Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T11:37:56.192Z] + git log --format=format:%s -1 a933e861282336b25d9fdf324a4539737fb56119 [Pipeline] echo [2024-08-27T11:37:56.237Z] [semverPrep] GIT_COMMIT: a933e861282336b25d9fdf324a4539737fb56119, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2024-08-27T11:37:56.282Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-08-27T11:37:56.702Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-08-27T11:37:56.702Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-08-27T11:37:56.702Z] + [ -e /tmp/ssh_known_hosts ] [2024-08-27T11:37:56.702Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-08-27T11:37:56.702Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-08-27T11:37:56.702Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-08-27T11:37:56.702Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:37:57.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T11:37:57.230Z] [2024-08-27T11:37:57.230Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:37:57.630Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T11:37:57.892Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-08-27T11:37:57.892Z] b85a868b505f: Pulling fs layer [2024-08-27T11:37:57.892Z] e2be974225ed: Pulling fs layer [2024-08-27T11:37:57.892Z] 339a4e72a1f5: Pulling fs layer [2024-08-27T11:37:57.892Z] 988bab9f4d93: Pulling fs layer [2024-08-27T11:37:57.892Z] 1469e6f7b9e6: Pulling fs layer [2024-08-27T11:37:57.892Z] eaf3925da568: Pulling fs layer [2024-08-27T11:37:57.892Z] bab4dde63d76: Pulling fs layer [2024-08-27T11:37:57.892Z] bde34c3a00c8: Pulling fs layer [2024-08-27T11:37:57.892Z] b352a97aabf1: Pulling fs layer [2024-08-27T11:37:57.892Z] 4872d77fe225: Pulling fs layer [2024-08-27T11:37:57.892Z] 5851b861e8e6: Pulling fs layer [2024-08-27T11:37:57.892Z] bab4dde63d76: Waiting [2024-08-27T11:37:57.892Z] bde34c3a00c8: Waiting [2024-08-27T11:37:57.892Z] b352a97aabf1: Waiting [2024-08-27T11:37:57.892Z] 4872d77fe225: Waiting [2024-08-27T11:37:57.892Z] 5851b861e8e6: Waiting [2024-08-27T11:37:57.892Z] 1469e6f7b9e6: Waiting [2024-08-27T11:37:57.892Z] eaf3925da568: Waiting [2024-08-27T11:37:57.892Z] 988bab9f4d93: Waiting [2024-08-27T11:37:58.151Z] e2be974225ed: Download complete [2024-08-27T11:37:58.151Z] 988bab9f4d93: Download complete [2024-08-27T11:37:58.151Z] 1469e6f7b9e6: Verifying Checksum [2024-08-27T11:37:58.151Z] 1469e6f7b9e6: Download complete [2024-08-27T11:37:58.151Z] eaf3925da568: Verifying Checksum [2024-08-27T11:37:58.151Z] eaf3925da568: Download complete [2024-08-27T11:37:58.151Z] 339a4e72a1f5: Verifying Checksum [2024-08-27T11:37:58.151Z] 339a4e72a1f5: Download complete [2024-08-27T11:37:58.151Z] bde34c3a00c8: Verifying Checksum [2024-08-27T11:37:58.151Z] bde34c3a00c8: Download complete [2024-08-27T11:37:58.151Z] b352a97aabf1: Download complete [2024-08-27T11:37:58.151Z] 4872d77fe225: Download complete [2024-08-27T11:37:58.151Z] 5851b861e8e6: Download complete [2024-08-27T11:37:58.151Z] b85a868b505f: Verifying Checksum [2024-08-27T11:37:58.151Z] b85a868b505f: Download complete [2024-08-27T11:37:58.410Z] bab4dde63d76: Verifying Checksum [2024-08-27T11:37:58.410Z] bab4dde63d76: Download complete [2024-08-27T11:37:59.792Z] b85a868b505f: Pull complete [2024-08-27T11:38:00.052Z] e2be974225ed: Pull complete [2024-08-27T11:38:00.989Z] 339a4e72a1f5: Pull complete [2024-08-27T11:38:01.249Z] 988bab9f4d93: Pull complete [2024-08-27T11:38:01.508Z] 1469e6f7b9e6: Pull complete [2024-08-27T11:38:02.079Z] eaf3925da568: Pull complete [2024-08-27T11:38:03.989Z] bab4dde63d76: Pull complete [2024-08-27T11:38:04.249Z] bde34c3a00c8: Pull complete [2024-08-27T11:38:04.817Z] b352a97aabf1: Pull complete [2024-08-27T11:38:05.076Z] 4872d77fe225: Pull complete [2024-08-27T11:38:05.335Z] 5851b861e8e6: Pull complete [2024-08-27T11:38:05.335Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-08-27T11:38:05.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-08-27T11:38:05.335Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T11:38:05.697Z] prd-ubuntu20.04-docker-8c-8g-8810 does not seem to be running inside a container [2024-08-27T11:38:05.721Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-486 -v /w/workspace/foundry_device-virtual-go_PR-486:/w/workspace/foundry_device-virtual-go_PR-486:rw,z -v /w/workspace/foundry_device-virtual-go_PR-486@tmp:/w/workspace/foundry_device-virtual-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-08-27T11:38:12.014Z] $ docker top 1942883cdd1987be9cdf7d079eba42777d7a5236c55b6e015e92f33b25dd7daf -eo pid,comm [2024-08-27T11:38:12.087Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-08-27T11:38:12.087Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-08-27T11:38:12.275Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-27T11:38:12.275Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-27T11:38:12.412Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-27T11:38:12.414Z] $ docker exec 1942883cdd1987be9cdf7d079eba42777d7a5236c55b6e015e92f33b25dd7daf ssh-agent [2024-08-27T11:38:12.524Z] SSH_AUTH_SOCK=/tmp/ssh-4agXQN0m3TEc/agent.33 [2024-08-27T11:38:12.524Z] SSH_AGENT_PID=39 [2024-08-27T11:38:12.530Z] Running ssh-add (command line suppressed) [2024-08-27T11:38:12.630Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-486@tmp/private_key_8848619281369523550.key (/w/workspace/foundry_device-virtual-go_PR-486@tmp/private_key_8848619281369523550.key) [2024-08-27T11:38:12.643Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-27T11:38:13.010Z] + git tag --points-at HEAD [Pipeline] } [2024-08-27T11:38:13.038Z] $ docker exec --env ******** --env ******** 1942883cdd1987be9cdf7d079eba42777d7a5236c55b6e015e92f33b25dd7daf ssh-agent -k [2024-08-27T11:38:13.148Z] unset SSH_AUTH_SOCK; [2024-08-27T11:38:13.148Z] unset SSH_AGENT_PID; [2024-08-27T11:38:13.149Z] echo Agent pid 39 killed; [2024-08-27T11:38:13.158Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-08-27T11:38:13.270Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-08-27T11:38:13.270Z] [ssh-agent] Looking for ssh-agent implementation... [2024-08-27T11:38:13.384Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-08-27T11:38:13.385Z] $ docker exec 1942883cdd1987be9cdf7d079eba42777d7a5236c55b6e015e92f33b25dd7daf ssh-agent [2024-08-27T11:38:13.491Z] SSH_AUTH_SOCK=/tmp/ssh-kCPlQr2zMmrJ/agent.72 [2024-08-27T11:38:13.491Z] SSH_AGENT_PID=78 [2024-08-27T11:38:13.495Z] Running ssh-add (command line suppressed) [2024-08-27T11:38:13.611Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-486@tmp/private_key_16845034486141798260.key (/w/workspace/foundry_device-virtual-go_PR-486@tmp/private_key_16845034486141798260.key) [2024-08-27T11:38:13.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-08-27T11:38:13.977Z] + git semver init [2024-08-27T11:38:14.236Z] 2024-08-27 11:38:14,167 [run_init] DEBUG init version:0.0.0 force:False [2024-08-27T11:38:14.236Z] 2024-08-27 11:38:14,168 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-486/.semver [2024-08-27T11:38:14.236Z] 2024-08-27 11:38:14,169 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-486/.semver [2024-08-27T11:38:14.236Z] 2024-08-27 11:38:14,169 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-486/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-486, universal_newlines=False, shell=None, istream=None) [2024-08-27T11:38:16.773Z] 2024-08-27 11:38:16,395 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-486/.git/info/exclude [2024-08-27T11:38:16.773Z] 2024-08-27 11:38:16,395 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-486/.semver/PR-486 with force:False [2024-08-27T11:38:16.773Z] 2024-08-27 11:38:16,395 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-486/.semver/PR-486 [2024-08-27T11:38:16.773Z] 2024-08-27 11:38:16,397 [execute] INFO git cat-file --batch-check [2024-08-27T11:38:16.773Z] 2024-08-27 11:38:16,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2024-08-27T11:38:16.773Z] 2024-08-27 11:38:16,402 [execute] INFO git cat-file --batch [2024-08-27T11:38:16.773Z] 2024-08-27 11:38:16,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-486/.semver, universal_newlines=False, shell=None, istream=) [2024-08-27T11:38:16.773Z] 2024-08-27 11:38:16,407 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-486/.semver/PR-486 [2024-08-27T11:38:16.773Z] 0.0.0 [Pipeline] } [2024-08-27T11:38:16.799Z] $ docker exec --env ******** --env ******** 1942883cdd1987be9cdf7d079eba42777d7a5236c55b6e015e92f33b25dd7daf ssh-agent -k [2024-08-27T11:38:16.904Z] unset SSH_AUTH_SOCK; [2024-08-27T11:38:16.904Z] unset SSH_AGENT_PID; [2024-08-27T11:38:16.904Z] echo Agent pid 78 killed; [2024-08-27T11:38:16.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-08-27T11:38:17.365Z] + git semver [Pipeline] } [2024-08-27T11:38:17.650Z] $ docker stop --time=1 1942883cdd1987be9cdf7d079eba42777d7a5236c55b6e015e92f33b25dd7daf [2024-08-27T11:38:18.941Z] $ docker rm -f --volumes 1942883cdd1987be9cdf7d079eba42777d7a5236c55b6e015e92f33b25dd7daf [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T11:38:19.367Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-08-27T11:38:19.668Z] Stashed 1 file(s) [Pipeline] echo [2024-08-27T11:38:19.696Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T11:38:20.416Z] provisioning config files... [2024-08-27T11:38:20.426Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-486@tmp/config8879061093983188941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:38:20.777Z] ---> ****-login.sh [2024-08-27T11:38:20.777Z] nexus3.edgexfoundry.org:10001 [2024-08-27T11:38:20.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:38:20.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:38:20.777Z] Configure a credential helper to remove this warning. See [2024-08-27T11:38:20.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:38:20.777Z] [2024-08-27T11:38:20.777Z] Login Succeeded [2024-08-27T11:38:20.777Z] nexus3.edgexfoundry.org:10002 [2024-08-27T11:38:20.777Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:38:20.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:38:20.777Z] Configure a credential helper to remove this warning. See [2024-08-27T11:38:20.777Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:38:20.777Z] [2024-08-27T11:38:20.777Z] Login Succeeded [2024-08-27T11:38:20.777Z] nexus3.edgexfoundry.org:10003 [2024-08-27T11:38:21.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:38:21.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:38:21.037Z] Configure a credential helper to remove this warning. See [2024-08-27T11:38:21.037Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:38:21.037Z] [2024-08-27T11:38:21.037Z] Login Succeeded [2024-08-27T11:38:21.037Z] nexus3.edgexfoundry.org:10004 [2024-08-27T11:38:21.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:38:21.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:38:21.038Z] Configure a credential helper to remove this warning. See [2024-08-27T11:38:21.038Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:38:21.038Z] [2024-08-27T11:38:21.038Z] Login Succeeded [2024-08-27T11:38:21.038Z] ****.io [2024-08-27T11:38:21.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:38:21.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:38:21.301Z] Configure a credential helper to remove this warning. See [2024-08-27T11:38:21.301Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:38:21.301Z] [2024-08-27T11:38:21.301Z] Login Succeeded [2024-08-27T11:38:21.301Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T11:38:21.336Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-27T11:38:21.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T11:38:21.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T11:38:21.659Z] ========================================================= [2024-08-27T11:38:21.659Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-08-27T11:38:21.659Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:38:22.187Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-27T11:38:22.187Z] Sending build context to Docker daemon 37.59MB [2024-08-27T11:38:22.187Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T11:38:22.187Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-27T11:38:22.452Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-08-27T11:38:22.452Z] 619be1103602: Pulling fs layer [2024-08-27T11:38:22.452Z] 7862e08f4a3e: Pulling fs layer [2024-08-27T11:38:22.452Z] 5df492c9dc93: Pulling fs layer [2024-08-27T11:38:22.452Z] 7629e6793208: Pulling fs layer [2024-08-27T11:38:22.452Z] 4f4fb700ef54: Pulling fs layer [2024-08-27T11:38:22.452Z] fb5054dd5b73: Pulling fs layer [2024-08-27T11:38:22.452Z] eeca6798cff9: Pulling fs layer [2024-08-27T11:38:22.452Z] aa269ceb94a6: Pulling fs layer [2024-08-27T11:38:22.452Z] ada007ff1a6a: Pulling fs layer [2024-08-27T11:38:22.452Z] 4f4fb700ef54: Waiting [2024-08-27T11:38:22.452Z] fb5054dd5b73: Waiting [2024-08-27T11:38:22.452Z] eeca6798cff9: Waiting [2024-08-27T11:38:22.452Z] aa269ceb94a6: Waiting [2024-08-27T11:38:22.452Z] ada007ff1a6a: Waiting [2024-08-27T11:38:22.452Z] 7629e6793208: Waiting [2024-08-27T11:38:22.452Z] 7862e08f4a3e: Verifying Checksum [2024-08-27T11:38:22.452Z] 7862e08f4a3e: Download complete [2024-08-27T11:38:22.452Z] 7629e6793208: Verifying Checksum [2024-08-27T11:38:22.452Z] 7629e6793208: Download complete [2024-08-27T11:38:22.452Z] 4f4fb700ef54: Verifying Checksum [2024-08-27T11:38:22.452Z] 4f4fb700ef54: Download complete [2024-08-27T11:38:22.452Z] 619be1103602: Verifying Checksum [2024-08-27T11:38:22.452Z] 619be1103602: Download complete [2024-08-27T11:38:22.452Z] fb5054dd5b73: Download complete [2024-08-27T11:38:22.452Z] eeca6798cff9: Verifying Checksum [2024-08-27T11:38:22.452Z] eeca6798cff9: Download complete [2024-08-27T11:38:22.712Z] 619be1103602: Pull complete [2024-08-27T11:38:22.712Z] ada007ff1a6a: Verifying Checksum [2024-08-27T11:38:22.712Z] ada007ff1a6a: Download complete [2024-08-27T11:38:22.712Z] 7862e08f4a3e: Pull complete [2024-08-27T11:38:22.970Z] 5df492c9dc93: Verifying Checksum [2024-08-27T11:38:22.970Z] 5df492c9dc93: Download complete [2024-08-27T11:38:23.229Z] aa269ceb94a6: Verifying Checksum [2024-08-27T11:38:23.229Z] aa269ceb94a6: Download complete [2024-08-27T11:38:26.516Z] 5df492c9dc93: Pull complete [2024-08-27T11:38:26.516Z] 7629e6793208: Pull complete [2024-08-27T11:38:26.516Z] 4f4fb700ef54: Pull complete [2024-08-27T11:38:26.516Z] fb5054dd5b73: Pull complete [2024-08-27T11:38:26.516Z] eeca6798cff9: Pull complete [2024-08-27T11:38:28.419Z] aa269ceb94a6: Pull complete [2024-08-27T11:38:28.985Z] ada007ff1a6a: Pull complete [2024-08-27T11:38:28.985Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-08-27T11:38:28.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-08-27T11:38:28.985Z] ---> f489d0715acc [2024-08-27T11:38:28.985Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-27T11:38:35.223Z] Still waiting to schedule task [2024-08-27T11:38:35.224Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-08-27T11:38:35.559Z] ---> Running in be29d0790ae2 [2024-08-27T11:38:35.559Z] Removing intermediate container be29d0790ae2 [2024-08-27T11:38:35.559Z] ---> a54163bc9245 [2024-08-27T11:38:35.559Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-27T11:38:35.559Z] ---> Running in 84a937e6bac1 [2024-08-27T11:38:35.559Z] Removing intermediate container 84a937e6bac1 [2024-08-27T11:38:35.559Z] ---> acf86ae0a282 [2024-08-27T11:38:35.559Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2024-08-27T11:38:35.559Z] ---> Running in f15e1dc5b399 [2024-08-27T11:38:35.559Z] Removing intermediate container f15e1dc5b399 [2024-08-27T11:38:35.559Z] ---> eb332a9fcd9e [2024-08-27T11:38:35.559Z] Step 6/12 : WORKDIR /device-virtual-go [2024-08-27T11:38:35.559Z] ---> Running in 0bd84a875792 [2024-08-27T11:38:35.559Z] Removing intermediate container 0bd84a875792 [2024-08-27T11:38:35.559Z] ---> d2befaeb3f02 [2024-08-27T11:38:35.559Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-27T11:38:35.818Z] ---> Running in d4f1dc8c76d1 [2024-08-27T11:38:35.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T11:38:36.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T11:38:36.077Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-27T11:38:36.077Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-27T11:38:36.077Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-27T11:38:36.336Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-27T11:38:36.336Z] Executing busybox-1.36.1-r5.trigger [2024-08-27T11:38:36.336Z] OK: 268 MiB in 56 packages [2024-08-27T11:38:36.901Z] Removing intermediate container d4f1dc8c76d1 [2024-08-27T11:38:36.901Z] ---> 6ce1e43f2d63 [2024-08-27T11:38:36.901Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-27T11:38:36.901Z] ---> 9355872ae31a [2024-08-27T11:38:36.901Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T11:38:36.901Z] ---> Running in 8d3e03554279 [2024-08-27T11:39:44.667Z] Removing intermediate container 8d3e03554279 [2024-08-27T11:39:44.667Z] ---> 5a2b4d1817be [2024-08-27T11:39:44.667Z] Step 10/12 : COPY . . [2024-08-27T11:39:44.667Z] ---> 62ddb4b42306 [2024-08-27T11:39:44.667Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-27T11:39:44.667Z] ---> Running in 9f54d5376397 [2024-08-27T11:39:44.667Z] Removing intermediate container 9f54d5376397 [2024-08-27T11:39:44.667Z] ---> bed01aff374e [2024-08-27T11:39:44.667Z] Step 12/12 : RUN $MAKE [2024-08-27T11:39:44.667Z] ---> Running in 90584ed12e98 [2024-08-27T11:39:44.667Z] noop [2024-08-27T11:39:44.667Z] Removing intermediate container 90584ed12e98 [2024-08-27T11:39:44.668Z] ---> acf028cd8e9b [2024-08-27T11:39:44.668Z] Successfully built acf028cd8e9b [2024-08-27T11:39:44.668Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:39:45.162Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-27T11:39:45.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T11:39:45.337Z] prd-ubuntu20.04-docker-8c-8g-8810 does not seem to be running inside a container [2024-08-27T11:39:45.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-486 -v /w/workspace/foundry_device-virtual-go_PR-486:/w/workspace/foundry_device-virtual-go_PR-486:rw,z -v /w/workspace/foundry_device-virtual-go_PR-486@tmp:/w/workspace/foundry_device-virtual-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-27T11:39:45.718Z] $ docker top 2b5cb5c602c34e2c909c445f4b2c6a3c9b169fd04286b9ec14dc4e45ddb5a4a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T11:39:46.161Z] + go version [2024-08-27T11:39:46.161Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-08-27T11:39:46.195Z] $ docker stop --time=1 2b5cb5c602c34e2c909c445f4b2c6a3c9b169fd04286b9ec14dc4e45ddb5a4a5 [2024-08-27T11:39:47.480Z] $ docker rm -f --volumes 2b5cb5c602c34e2c909c445f4b2c6a3c9b169fd04286b9ec14dc4e45ddb5a4a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:39:48.318Z] + docker inspect -f . ci-base-image-x86_64 [2024-08-27T11:39:48.318Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T11:39:48.499Z] prd-ubuntu20.04-docker-8c-8g-8810 does not seem to be running inside a container [2024-08-27T11:39:48.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-virtual-go_PR-486 -v /w/workspace/foundry_device-virtual-go_PR-486:/w/workspace/foundry_device-virtual-go_PR-486:rw,z -v /w/workspace/foundry_device-virtual-go_PR-486@tmp:/w/workspace/foundry_device-virtual-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-08-27T11:39:48.862Z] $ docker top 6f97e7bc12805d1a095ea0a9cd07d941ec3a08024007d43662b8c36bcce4c0e1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T11:39:49.280Z] + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-486 [Pipeline] fileExists [Pipeline] sh [2024-08-27T11:39:49.671Z] + make test [2024-08-27T11:39:49.671Z] go test ./... -coverprofile=coverage.out [2024-08-27T11:39:52.205Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-08-27T11:40:10.252Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8811 in /w/workspace/foundry_device-virtual-go_PR-486 [Pipeline] { [2024-08-27T11:40:10.289Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-08-27T11:40:10.289Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.011s coverage: 58.4% of statements [Pipeline] ws [2024-08-27T11:40:10.343Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2024-08-27T11:40:10.444Z] The recommended git tool is: git [2024-08-27T11:40:18.397Z] go vet ./... [2024-08-27T11:40:19.056Z] using credential edgex-jenkins-ssh [2024-08-27T11:40:19.081Z] Cloning the remote Git repository [2024-08-27T11:40:19.143Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2024-08-27T11:40:19.325Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2024-08-27T11:40:19.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-08-27T11:40:19.704Z] > git --version # timeout=10 [2024-08-27T11:40:19.828Z] > git --version # 'git version 2.25.1' [2024-08-27T11:40:19.831Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T11:40:20.192Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-27T11:40:22.578Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-27T11:40:22.578Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-27T11:40:22.578Z] ./bin/test-attribution-txt.sh [2024-08-27T11:40:22.839Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-27T11:40:22.892Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-27T11:40:22.930Z] $ docker stop --time=1 6f97e7bc12805d1a095ea0a9cd07d941ec3a08024007d43662b8c36bcce4c0e1 [2024-08-27T11:40:24.193Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-08-27T11:40:24.230Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-08-27T11:40:25.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2024-08-27T11:40:25.385Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2024-08-27T11:40:25.386Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T11:40:25.438Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-08-27T11:40:26.085Z] Merging remotes/origin/main commit 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 into PR head commit a933e861282336b25d9fdf324a4539737fb56119 [2024-08-27T11:40:26.451Z] Merge succeeded, producing a933e861282336b25d9fdf324a4539737fb56119 [2024-08-27T11:40:26.452Z] Checking out Revision a933e861282336b25d9fdf324a4539737fb56119 (PR-486) [2024-08-27T11:40:26.117Z] > git config core.sparsecheckout # timeout=10 [2024-08-27T11:40:26.188Z] > git checkout -f a933e861282336b25d9fdf324a4539737fb56119 # timeout=10 [2024-08-27T11:40:26.303Z] > git remote # timeout=10 [2024-08-27T11:40:26.329Z] > git config --get remote.origin.url # timeout=10 [2024-08-27T11:40:26.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-08-27T11:40:26.393Z] > git merge 93fcf9f9514203f7e3dde2b04df2ad430adf6db4 # timeout=10 [2024-08-27T11:40:26.429Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-08-27T11:40:26.459Z] > git config core.sparsecheckout # timeout=10 [2024-08-27T11:40:26.479Z] > git checkout -f a933e861282336b25d9fdf324a4539737fb56119 # timeout=10 [2024-08-27T11:40:27.309Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2024-08-27T11:40:27.362Z] > git --version # timeout=10 [2024-08-27T11:40:27.379Z] > git --version # 'git version 2.25.1' [2024-08-27T11:40:27.395Z] fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [2024-08-27T11:40:27.456Z] $ docker rm -f --volumes 6f97e7bc12805d1a095ea0a9cd07d941ec3a08024007d43662b8c36bcce4c0e1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T11:40:28.053Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-27T11:40:28.124Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-08-27T11:40:28.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-27T11:40:29.176Z] + ls -al . [2024-08-27T11:40:29.176Z] total 276 [2024-08-27T11:40:29.176Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 11:39 . [2024-08-27T11:40:29.176Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 11:37 .. [2024-08-27T11:40:29.176Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 11:40 .git [2024-08-27T11:40:29.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:37 .github [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 272 Aug 27 11:37 .gitignore [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 27 11:37 .golangci.yml [2024-08-27T11:40:29.176Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 11:38 .semver [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 17933 Aug 27 11:37 Attribution.txt [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 15941 Aug 27 11:37 CHANGELOG.md [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 1755 Aug 27 11:37 Dockerfile [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 11:37 GOVERNANCE.md [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 27 11:37 Jenkinsfile [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 27 11:37 LICENSE [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 1953 Aug 27 11:37 Makefile [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 27 11:37 OWNERS.md [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 4103 Aug 27 11:37 README.md [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 11:38 VERSION [2024-08-27T11:40:29.176Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 11:37 bin [2024-08-27T11:40:29.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:37 cmd [2024-08-27T11:40:29.176Z] -rw-r--r-- 1 jenkins jenkins 43247 Aug 27 11:40 coverage.out [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 6923 Aug 27 11:37 go.mod [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 27 11:37 go.sum [2024-08-27T11:40:29.176Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:37 internal [2024-08-27T11:40:29.176Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 27 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:40:29.595Z] + docker build -t device-virtual -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a933e861282336b25d9fdf324a4539737fb56119 --label arch=amd64 --label version=0.0.0 . [2024-08-27T11:40:29.595Z] Sending build context to Docker daemon 37.63MB [2024-08-27T11:40:29.595Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T11:40:29.595Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-27T11:40:29.595Z] ---> acf028cd8e9b [2024-08-27T11:40:29.595Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-27T11:40:30.537Z] ---> Running in 1b62ee923a45 [2024-08-27T11:40:30.537Z] Removing intermediate container 1b62ee923a45 [2024-08-27T11:40:30.537Z] ---> 2a96e9b3e2c9 [2024-08-27T11:40:30.537Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-27T11:40:30.537Z] ---> Running in cc52540e9eac [2024-08-27T11:40:30.537Z] Removing intermediate container cc52540e9eac [2024-08-27T11:40:30.537Z] ---> 1865a77575fa [2024-08-27T11:40:30.537Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-27T11:40:30.797Z] ---> Running in 55820bc23699 [2024-08-27T11:40:30.797Z] Removing intermediate container 55820bc23699 [2024-08-27T11:40:30.797Z] ---> 00186ccea657 [2024-08-27T11:40:30.797Z] Step 6/26 : WORKDIR /device-virtual-go [2024-08-27T11:40:30.797Z] ---> Running in 35ec70877748 [2024-08-27T11:40:30.797Z] Removing intermediate container 35ec70877748 [2024-08-27T11:40:30.797Z] ---> 8fcdbfe04fe1 [2024-08-27T11:40:30.797Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-27T11:40:30.797Z] ---> Running in ab5b2299428c [2024-08-27T11:40:31.056Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T11:40:31.315Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T11:40:31.574Z] OK: 268 MiB in 56 packages [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2024-08-27T11:40:31.833Z] Removing intermediate container ab5b2299428c [2024-08-27T11:40:31.833Z] ---> d37d3e6cb427 [2024-08-27T11:40:31.833Z] Step 8/26 : COPY go.mod vendor* ./ [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T11:40:32.092Z] ---> 97fc516fe625 [2024-08-27T11:40:32.092Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T11:40:32.092Z] ---> Running in 717bad4cad37 [2024-08-27T11:40:32.535Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-08-27T11:40:32.535Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-27T11:40:32.535Z] Dload Upload Total Spent Left Speed [2024-08-27T11:40:32.535Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh [2024-08-27T11:40:32.658Z] Removing intermediate container 717bad4cad37 [2024-08-27T11:40:32.658Z] ---> baa2a2f43696 [2024-08-27T11:40:32.658Z] Step 10/26 : COPY . . [2024-08-27T11:40:32.890Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-08-27T11:40:33.248Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2024-08-27T11:40:33.248Z] /etc/docker/daemon.new [2024-08-27T11:40:33.248Z] { [2024-08-27T11:40:33.248Z] "registry-mirrors": [ [2024-08-27T11:40:33.248Z] "https://nexus3.edgexfoundry.org:10001" [2024-08-27T11:40:33.248Z] ], [2024-08-27T11:40:33.248Z] "bip": "10.250.0.254/24", [2024-08-27T11:40:33.248Z] "hosts": [ [2024-08-27T11:40:33.248Z] "tcp://0.0.0.0:5555", [2024-08-27T11:40:33.248Z] "unix:///var/run/docker.sock" [2024-08-27T11:40:33.248Z] ], [2024-08-27T11:40:33.248Z] "mtu": 1458, [2024-08-27T11:40:33.248Z] "selinux-enabled": true, [2024-08-27T11:40:33.248Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-08-27T11:40:33.248Z] } [Pipeline] sh [2024-08-27T11:40:33.605Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-08-27T11:40:33.958Z] + sudo service docker restart [2024-08-27T11:40:34.047Z] ---> b56fb0a337e2 [2024-08-27T11:40:34.047Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-27T11:40:34.047Z] ---> Running in 3edba5edc245 [2024-08-27T11:40:34.047Z] Removing intermediate container 3edba5edc245 [2024-08-27T11:40:34.047Z] ---> cfc4cce1c899 [2024-08-27T11:40:34.047Z] Step 12/26 : RUN $MAKE [2024-08-27T11:40:34.047Z] ---> Running in 48e324d2295d [2024-08-27T11:40:34.615Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.34" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T11:40:52.317Z] provisioning config files... [2024-08-27T11:40:52.342Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config17612944799369200158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:40:52.855Z] ---> ****-login.sh [2024-08-27T11:40:52.856Z] nexus3.edgexfoundry.org:10001 [2024-08-27T11:40:53.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:40:53.403Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:40:53.403Z] Configure a credential helper to remove this warning. See [2024-08-27T11:40:53.403Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:40:53.403Z] [2024-08-27T11:40:53.403Z] Login Succeeded [2024-08-27T11:40:53.403Z] nexus3.edgexfoundry.org:10002 [2024-08-27T11:40:53.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:40:53.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:40:53.672Z] Configure a credential helper to remove this warning. See [2024-08-27T11:40:53.672Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:40:53.672Z] [2024-08-27T11:40:53.672Z] Login Succeeded [2024-08-27T11:40:53.672Z] nexus3.edgexfoundry.org:10003 [2024-08-27T11:40:53.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:40:54.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:40:54.213Z] Configure a credential helper to remove this warning. See [2024-08-27T11:40:54.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:40:54.213Z] [2024-08-27T11:40:54.213Z] Login Succeeded [2024-08-27T11:40:54.213Z] nexus3.edgexfoundry.org:10004 [2024-08-27T11:40:54.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:40:54.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:40:54.493Z] Configure a credential helper to remove this warning. See [2024-08-27T11:40:54.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:40:54.493Z] [2024-08-27T11:40:54.493Z] Login Succeeded [2024-08-27T11:40:54.493Z] ****.io [2024-08-27T11:40:54.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-08-27T11:40:55.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-08-27T11:40:55.033Z] Configure a credential helper to remove this warning. See [2024-08-27T11:40:55.033Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-08-27T11:40:55.033Z] [2024-08-27T11:40:55.033Z] Login Succeeded [2024-08-27T11:40:55.033Z] ---> ****-login.sh ends [Pipeline] } [2024-08-27T11:40:55.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-08-27T11:40:55.541Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T11:40:55.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-08-27T11:40:55.648Z] ========================================================= [2024-08-27T11:40:55.648Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-08-27T11:40:55.648Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:40:56.205Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-08-27T11:40:56.794Z] Sending build context to Docker daemon 18.99MB [2024-08-27T11:40:56.794Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T11:40:56.794Z] Step 2/12 : FROM ${BASE} AS builder [2024-08-27T11:40:56.794Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-08-27T11:40:56.794Z] c6b39de5b339: Pulling fs layer [2024-08-27T11:40:56.794Z] a69c41024577: Pulling fs layer [2024-08-27T11:40:56.794Z] d6de4b400683: Pulling fs layer [2024-08-27T11:40:56.794Z] 35cb2a7552d0: Pulling fs layer [2024-08-27T11:40:56.794Z] 4f4fb700ef54: Pulling fs layer [2024-08-27T11:40:56.794Z] 464afbd9ba4c: Pulling fs layer [2024-08-27T11:40:56.794Z] 00f215d4a9da: Pulling fs layer [2024-08-27T11:40:56.794Z] d496ad576159: Pulling fs layer [2024-08-27T11:40:56.794Z] 35cb2a7552d0: Waiting [2024-08-27T11:40:56.794Z] 4f4fb700ef54: Waiting [2024-08-27T11:40:56.794Z] 464afbd9ba4c: Waiting [2024-08-27T11:40:56.794Z] 00f215d4a9da: Waiting [2024-08-27T11:40:56.794Z] d496ad576159: Waiting [2024-08-27T11:40:57.064Z] a69c41024577: Verifying Checksum [2024-08-27T11:40:57.064Z] a69c41024577: Download complete [2024-08-27T11:40:57.064Z] 35cb2a7552d0: Verifying Checksum [2024-08-27T11:40:57.064Z] 35cb2a7552d0: Download complete [2024-08-27T11:40:57.064Z] 4f4fb700ef54: Verifying Checksum [2024-08-27T11:40:57.064Z] 4f4fb700ef54: Download complete [2024-08-27T11:40:57.064Z] 464afbd9ba4c: Verifying Checksum [2024-08-27T11:40:57.064Z] 464afbd9ba4c: Download complete [2024-08-27T11:40:57.064Z] c6b39de5b339: Download complete [2024-08-27T11:40:57.335Z] d496ad576159: Verifying Checksum [2024-08-27T11:40:57.335Z] d496ad576159: Download complete [2024-08-27T11:40:57.922Z] c6b39de5b339: Pull complete [2024-08-27T11:40:58.509Z] a69c41024577: Pull complete [2024-08-27T11:40:58.777Z] d6de4b400683: Verifying Checksum [2024-08-27T11:40:58.777Z] d6de4b400683: Download complete [2024-08-27T11:40:59.743Z] 00f215d4a9da: Verifying Checksum [2024-08-27T11:40:59.743Z] 00f215d4a9da: Download complete [2024-08-27T11:41:12.082Z] d6de4b400683: Pull complete [2024-08-27T11:41:12.082Z] 35cb2a7552d0: Pull complete [2024-08-27T11:41:12.082Z] 4f4fb700ef54: Pull complete [2024-08-27T11:41:12.082Z] 464afbd9ba4c: Pull complete [2024-08-27T11:41:13.427Z] Removing intermediate container 48e324d2295d [2024-08-27T11:41:13.427Z] ---> 70b58e542d2c [2024-08-27T11:41:13.427Z] Step 13/26 : FROM alpine:3.18 [2024-08-27T11:41:13.427Z] 3.18: Pulling from library/alpine [2024-08-27T11:41:13.427Z] 930bdd4d222e: Pulling fs layer [2024-08-27T11:41:13.427Z] 930bdd4d222e: Verifying Checksum [2024-08-27T11:41:13.427Z] 930bdd4d222e: Download complete [2024-08-27T11:41:13.427Z] 930bdd4d222e: Pull complete [2024-08-27T11:41:13.427Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-27T11:41:13.427Z] Status: Downloaded newer image for alpine:3.18 [2024-08-27T11:41:13.428Z] ---> 18f865063206 [2024-08-27T11:41:13.428Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-08-27T11:41:13.428Z] ---> Running in abfb50cb0999 [2024-08-27T11:41:13.428Z] Removing intermediate container abfb50cb0999 [2024-08-27T11:41:13.428Z] ---> 667d08b0f380 [2024-08-27T11:41:13.428Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-27T11:41:13.428Z] ---> Running in 627560cebe69 [2024-08-27T11:41:13.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T11:41:13.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T11:41:13.428Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-27T11:41:13.428Z] Executing busybox-1.36.1-r7.trigger [2024-08-27T11:41:13.428Z] OK: 7 MiB in 16 packages [2024-08-27T11:41:13.428Z] Removing intermediate container 627560cebe69 [2024-08-27T11:41:13.428Z] ---> 7d93d257c56d [2024-08-27T11:41:13.428Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-27T11:41:13.428Z] ---> Running in bbc0dcffc7ee [2024-08-27T11:41:13.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-08-27T11:41:13.428Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-08-27T11:41:13.428Z] OK: 7 MiB in 16 packages [2024-08-27T11:41:13.428Z] Removing intermediate container bbc0dcffc7ee [2024-08-27T11:41:13.428Z] ---> 56b4977c9a43 [2024-08-27T11:41:13.428Z] Step 17/26 : WORKDIR / [2024-08-27T11:41:13.428Z] ---> Running in 4b61bd869183 [2024-08-27T11:41:13.428Z] Removing intermediate container 4b61bd869183 [2024-08-27T11:41:13.428Z] ---> 02ce46170ba8 [2024-08-27T11:41:13.428Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-08-27T11:41:13.428Z] ---> 06227f69cf40 [2024-08-27T11:41:13.428Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-08-27T11:41:13.428Z] ---> d18fbb72b5df [2024-08-27T11:41:13.428Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-08-27T11:41:14.988Z] ---> e53004451fe7 [2024-08-27T11:41:14.988Z] Step 21/26 : EXPOSE 59900 [2024-08-27T11:41:14.988Z] ---> Running in f70afd1c440c [2024-08-27T11:41:14.988Z] Removing intermediate container f70afd1c440c [2024-08-27T11:41:14.988Z] ---> bf1ed5e9b918 [2024-08-27T11:41:14.988Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-08-27T11:41:15.248Z] ---> Running in 47b724b67f4d [2024-08-27T11:41:15.249Z] Removing intermediate container 47b724b67f4d [2024-08-27T11:41:15.249Z] ---> 9c1f286b0da9 [2024-08-27T11:41:15.249Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-27T11:41:15.507Z] ---> Running in 93c61395d921 [2024-08-27T11:41:15.508Z] Removing intermediate container 93c61395d921 [2024-08-27T11:41:15.508Z] ---> 685d13223423 [2024-08-27T11:41:15.508Z] Step 24/26 : LABEL arch=amd64 [2024-08-27T11:41:15.508Z] ---> Running in 10f84e4654d5 [2024-08-27T11:41:15.767Z] Removing intermediate container 10f84e4654d5 [2024-08-27T11:41:15.767Z] ---> 3fd9852b55f5 [2024-08-27T11:41:15.767Z] Step 25/26 : LABEL git_sha=a933e861282336b25d9fdf324a4539737fb56119 [2024-08-27T11:41:15.767Z] ---> Running in 60eae46f074e [2024-08-27T11:41:16.025Z] Removing intermediate container 60eae46f074e [2024-08-27T11:41:16.025Z] ---> 09d84a5e851c [2024-08-27T11:41:16.025Z] Step 26/26 : LABEL version=0.0.0 [2024-08-27T11:41:16.025Z] ---> Running in 6ec2bb42c8b7 [2024-08-27T11:41:16.025Z] Removing intermediate container 6ec2bb42c8b7 [2024-08-27T11:41:16.025Z] ---> 90a9d10c989c [2024-08-27T11:41:16.025Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-27T11:41:16.025Z] Successfully built 90a9d10c989c [2024-08-27T11:41:16.025Z] Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:41:17.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T11:41:17.069Z] [2024-08-27T11:41:17.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:41:17.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T11:41:17.464Z] latest: Pulling from edgex-lftools-log-publisher [2024-08-27T11:41:17.464Z] 5eb5b503b376: Pulling fs layer [2024-08-27T11:41:17.464Z] 5c69ac0246d0: Pulling fs layer [2024-08-27T11:41:17.464Z] ec43610c2a17: Pulling fs layer [2024-08-27T11:41:17.464Z] 3a2ae6a8a46f: Pulling fs layer [2024-08-27T11:41:17.464Z] 33b1e0a273af: Pulling fs layer [2024-08-27T11:41:17.464Z] 5d3b04190fa2: Pulling fs layer [2024-08-27T11:41:17.464Z] 2f39f015ded8: Pulling fs layer [2024-08-27T11:41:17.464Z] 5d3b04190fa2: Waiting [2024-08-27T11:41:17.464Z] 3a2ae6a8a46f: Waiting [2024-08-27T11:41:17.464Z] 2f39f015ded8: Waiting [2024-08-27T11:41:17.464Z] 33b1e0a273af: Waiting [2024-08-27T11:41:17.464Z] 5c69ac0246d0: Download complete [2024-08-27T11:41:17.464Z] 3a2ae6a8a46f: Download complete [2024-08-27T11:41:17.464Z] 33b1e0a273af: Verifying Checksum [2024-08-27T11:41:17.464Z] 33b1e0a273af: Download complete [2024-08-27T11:41:17.464Z] 5d3b04190fa2: Verifying Checksum [2024-08-27T11:41:17.464Z] 5d3b04190fa2: Download complete [2024-08-27T11:41:17.464Z] ec43610c2a17: Verifying Checksum [2024-08-27T11:41:17.464Z] ec43610c2a17: Download complete [2024-08-27T11:41:17.722Z] 5eb5b503b376: Verifying Checksum [2024-08-27T11:41:17.722Z] 5eb5b503b376: Download complete [2024-08-27T11:41:18.289Z] 2f39f015ded8: Download complete [2024-08-27T11:41:18.857Z] 5eb5b503b376: Pull complete [2024-08-27T11:41:18.857Z] 5c69ac0246d0: Pull complete [2024-08-27T11:41:19.425Z] ec43610c2a17: Pull complete [2024-08-27T11:41:19.425Z] 3a2ae6a8a46f: Pull complete [2024-08-27T11:41:19.684Z] 33b1e0a273af: Pull complete [2024-08-27T11:41:19.684Z] 5d3b04190fa2: Pull complete [2024-08-27T11:41:22.175Z] 00f215d4a9da: Pull complete [2024-08-27T11:41:22.448Z] d496ad576159: Pull complete [2024-08-27T11:41:22.448Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-08-27T11:41:22.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-08-27T11:41:22.448Z] ---> f246e2811388 [2024-08-27T11:41:22.448Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-27T11:41:23.408Z] ---> Running in fe75ccb7f884 [2024-08-27T11:41:23.674Z] Removing intermediate container fe75ccb7f884 [2024-08-27T11:41:23.674Z] ---> d82147e362ec [2024-08-27T11:41:23.674Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2024-08-27T11:41:23.674Z] ---> Running in b661c5397d0e [2024-08-27T11:41:23.870Z] 2f39f015ded8: Pull complete [2024-08-27T11:41:23.870Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-08-27T11:41:23.870Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T11:41:23.870Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [2024-08-27T11:41:23.940Z] Removing intermediate container b661c5397d0e [2024-08-27T11:41:23.941Z] ---> 92ec78a62011 [2024-08-27T11:41:23.941Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T11:41:24.175Z] prd-ubuntu20.04-docker-8c-8g-8810 does not seem to be running inside a container [2024-08-27T11:41:24.202Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-486 -v /w/workspace/foundry_device-virtual-go_PR-486:/w/workspace/foundry_device-virtual-go_PR-486:rw,z -v /w/workspace/foundry_device-virtual-go_PR-486@tmp:/w/workspace/foundry_device-virtual-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-27T11:41:24.211Z] ---> Running in cb280dcf54ce [2024-08-27T11:41:24.478Z] Removing intermediate container cb280dcf54ce [2024-08-27T11:41:24.478Z] ---> 95c632fa0afe [2024-08-27T11:41:24.478Z] Step 6/12 : WORKDIR /device-virtual-go [2024-08-27T11:41:24.478Z] ---> Running in 180039913b66 [2024-08-27T11:41:24.747Z] Removing intermediate container 180039913b66 [2024-08-27T11:41:24.747Z] ---> ed3b91bcc832 [2024-08-27T11:41:24.747Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-27T11:41:24.747Z] ---> Running in 2254847f17b9 [2024-08-27T11:41:26.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T11:41:26.156Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T11:41:27.113Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-08-27T11:41:27.113Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-08-27T11:41:27.384Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-08-27T11:41:27.384Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-08-27T11:41:27.384Z] Executing busybox-1.36.1-r5.trigger [2024-08-27T11:41:27.384Z] OK: 271 MiB in 56 packages [2024-08-27T11:41:28.346Z] Removing intermediate container 2254847f17b9 [2024-08-27T11:41:28.346Z] ---> 3b4f27b3fccf [2024-08-27T11:41:28.346Z] Step 8/12 : COPY go.mod vendor* ./ [2024-08-27T11:41:28.929Z] ---> 15a50614e1a9 [2024-08-27T11:41:28.929Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T11:41:28.929Z] ---> Running in af64f5de68a8 [2024-08-27T11:41:31.696Z] $ docker top b3c7c2d9376385ad9b7ce9c39715267ea78986b3e9459fbe73174f44946a9850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:41:32.426Z] ---> job-cost.sh [2024-08-27T11:41:32.427Z] lf-activate-venv: SKIPPING [2024-08-27T11:41:32.427Z] INFO: No Stack... [2024-08-27T11:41:33.008Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-27T11:41:33.269Z] INFO: Archiving Costs [Pipeline] sh [2024-08-27T11:41:33.601Z] + cat /w/workspace/foundry_device-virtual-go_PR-486/archives/cost.csv [2024-08-27T11:41:33.601Z] + cut -d, -f6 [Pipeline] lock [2024-08-27T11:41:33.658Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-486-1-stack-cost] [2024-08-27T11:41:33.664Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-486-1-stack-cost] did not exist. Created. [2024-08-27T11:41:33.670Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-27T11:41:34.185Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-08-27T11:41:34.241Z] Stashed 1 file(s) [Pipeline] } [2024-08-27T11:41:34.280Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-486-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-27T11:41:34.378Z] $ docker stop --time=1 b3c7c2d9376385ad9b7ce9c39715267ea78986b3e9459fbe73174f44946a9850 [2024-08-27T11:41:35.576Z] $ docker rm -f --volumes b3c7c2d9376385ad9b7ce9c39715267ea78986b3e9459fbe73174f44946a9850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-08-27T11:43:20.655Z] Removing intermediate container af64f5de68a8 [2024-08-27T11:43:20.655Z] ---> 5066b1a37cff [2024-08-27T11:43:20.655Z] Step 10/12 : COPY . . [2024-08-27T11:43:20.655Z] ---> e79674400203 [2024-08-27T11:43:20.655Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-27T11:43:20.655Z] ---> Running in b7f3c0331330 [2024-08-27T11:43:20.655Z] Removing intermediate container b7f3c0331330 [2024-08-27T11:43:20.655Z] ---> 58380d625d0c [2024-08-27T11:43:20.655Z] Step 12/12 : RUN $MAKE [2024-08-27T11:43:20.655Z] ---> Running in ae2fa229a7bb [2024-08-27T11:43:20.655Z] noop [2024-08-27T11:43:20.655Z] Removing intermediate container ae2fa229a7bb [2024-08-27T11:43:20.655Z] ---> e7fea2dbaf30 [2024-08-27T11:43:20.655Z] Successfully built e7fea2dbaf30 [2024-08-27T11:43:20.655Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:43:21.196Z] + docker inspect -f . ci-base-image-arm64 [2024-08-27T11:43:21.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T11:43:21.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-8811 does not seem to be running inside a container [2024-08-27T11:43:21.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-27T11:43:22.772Z] $ docker top 5cf34d07b74ea71699c266165f49a2ecbfb8dc929433a12ac34849e7a741134c -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T11:43:23.671Z] + go version [2024-08-27T11:43:23.671Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-08-27T11:43:23.712Z] $ docker stop --time=1 5cf34d07b74ea71699c266165f49a2ecbfb8dc929433a12ac34849e7a741134c [2024-08-27T11:43:25.300Z] $ docker rm -f --volumes 5cf34d07b74ea71699c266165f49a2ecbfb8dc929433a12ac34849e7a741134c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:43:26.209Z] + docker inspect -f . ci-base-image-arm64 [2024-08-27T11:43:26.209Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T11:43:26.477Z] prd-ubuntu20.04-docker-arm64-4c-16g-8811 does not seem to be running inside a container [2024-08-27T11:43:26.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-08-27T11:43:27.721Z] $ docker top f580007c95752a1037c2cb415705fc5de0af6223b4e745475c9ffd2db9361da4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T11:43:28.637Z] + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh [2024-08-27T11:43:29.039Z] + make test [2024-08-27T11:43:29.039Z] go test ./... -coverprofile=coverage.out [2024-08-27T11:43:35.700Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2024-08-27T11:46:42.438Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2024-08-27T11:46:42.438Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.061s coverage: 58.3% of statements [2024-08-27T11:46:42.438Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-08-27T11:46:42.438Z] go vet ./... [2024-08-27T11:47:29.291Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-08-27T11:47:29.291Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-08-27T11:47:29.291Z] ./bin/test-attribution-txt.sh [2024-08-27T11:47:29.291Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-08-27T11:47:29.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-08-27T11:47:29.397Z] $ docker stop --time=1 f580007c95752a1037c2cb415705fc5de0af6223b4e745475c9ffd2db9361da4 [2024-08-27T11:47:31.324Z] $ docker rm -f --volumes f580007c95752a1037c2cb415705fc5de0af6223b4e745475c9ffd2db9361da4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-08-27T11:47:32.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-08-27T11:47:32.993Z] Warning: overwriting stash ‘coverage-report’ [2024-08-27T11:47:33.436Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-08-27T11:47:34.081Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-08-27T11:47:34.499Z] + ls -al . [2024-08-27T11:47:34.499Z] total 272 [2024-08-27T11:47:34.499Z] drwxrwxr-x 7 jenkins jenkins 4096 Aug 27 11:43 . [2024-08-27T11:47:34.499Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 27 11:40 .. [2024-08-27T11:47:34.499Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 27 11:40 .git [2024-08-27T11:47:34.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:40 .github [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 272 Aug 27 11:40 .gitignore [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 27 11:40 .golangci.yml [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 17933 Aug 27 11:40 Attribution.txt [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 15941 Aug 27 11:40 CHANGELOG.md [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 1755 Aug 27 11:40 Dockerfile [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 27 11:40 GOVERNANCE.md [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 660 Aug 27 11:40 Jenkinsfile [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 27 11:40 LICENSE [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 1953 Aug 27 11:40 Makefile [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 623 Aug 27 11:40 OWNERS.md [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 4103 Aug 27 11:40 README.md [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 27 11:38 VERSION [2024-08-27T11:47:34.499Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 27 11:40 bin [2024-08-27T11:47:34.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:40 cmd [2024-08-27T11:47:34.499Z] -rw-r--r-- 1 jenkins jenkins 43247 Aug 27 11:46 coverage.out [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 6923 Aug 27 11:40 go.mod [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 101673 Aug 27 11:40 go.sum [2024-08-27T11:47:34.499Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 27 11:40 internal [2024-08-27T11:47:34.499Z] -rw-rw-r-- 1 jenkins jenkins 235 Aug 27 11:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:47:34.965Z] + docker build -t device-virtual-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=a933e861282336b25d9fdf324a4539737fb56119 --label arch=arm64 --label version=0.0.0 . [2024-08-27T11:47:35.562Z] Sending build context to Docker daemon 19.03MB [2024-08-27T11:47:35.562Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-08-27T11:47:35.562Z] Step 2/26 : FROM ${BASE} AS builder [2024-08-27T11:47:35.562Z] ---> e7fea2dbaf30 [2024-08-27T11:47:35.562Z] Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-08-27T11:47:36.373Z] ---> Running in 0cecbb2a95e1 [2024-08-27T11:47:36.653Z] Removing intermediate container 0cecbb2a95e1 [2024-08-27T11:47:36.653Z] ---> 4dc2c6fa67bc [2024-08-27T11:47:36.653Z] Step 4/26 : ARG ALPINE_PKG_EXTRA="" [2024-08-27T11:47:36.653Z] ---> Running in ce8952858bbc [2024-08-27T11:47:36.927Z] Removing intermediate container ce8952858bbc [2024-08-27T11:47:36.927Z] ---> 3bea011bd6b7 [2024-08-27T11:47:36.927Z] Step 5/26 : ARG ADD_BUILD_TAGS="" [2024-08-27T11:47:36.927Z] ---> Running in 8aee14addfc2 [2024-08-27T11:47:37.204Z] Removing intermediate container 8aee14addfc2 [2024-08-27T11:47:37.204Z] ---> 8063d2b7a168 [2024-08-27T11:47:37.204Z] Step 6/26 : WORKDIR /device-virtual-go [2024-08-27T11:47:37.204Z] ---> Running in 79d7e532d195 [2024-08-27T11:47:37.787Z] Removing intermediate container 79d7e532d195 [2024-08-27T11:47:37.787Z] ---> 4a4892af7346 [2024-08-27T11:47:37.787Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-08-27T11:47:37.787Z] ---> Running in 59c147463000 [2024-08-27T11:47:38.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T11:47:39.046Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T11:47:40.005Z] OK: 271 MiB in 56 packages [2024-08-27T11:47:40.967Z] Removing intermediate container 59c147463000 [2024-08-27T11:47:40.967Z] ---> eccc94e05f1e [2024-08-27T11:47:40.967Z] Step 8/26 : COPY go.mod vendor* ./ [2024-08-27T11:47:41.238Z] ---> 9b5c5503965b [2024-08-27T11:47:41.238Z] Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-08-27T11:47:41.504Z] ---> Running in d9c855c7d291 [2024-08-27T11:47:44.085Z] Removing intermediate container d9c855c7d291 [2024-08-27T11:47:44.085Z] ---> c0ec89fa63fe [2024-08-27T11:47:44.085Z] Step 10/26 : COPY . . [2024-08-27T11:47:45.496Z] ---> 7c50846bc457 [2024-08-27T11:47:45.496Z] Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-08-27T11:47:45.496Z] ---> Running in 48b0b97d4402 [2024-08-27T11:47:45.496Z] Removing intermediate container 48b0b97d4402 [2024-08-27T11:47:45.496Z] ---> 646b18ae8748 [2024-08-27T11:47:45.496Z] Step 12/26 : RUN $MAKE [2024-08-27T11:47:45.765Z] ---> Running in 2adab4f33642 [2024-08-27T11:47:46.723Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.34" -trimpath -mod=readonly -o cmd/device-virtual ./cmd [2024-08-27T11:51:08.469Z] Removing intermediate container 2adab4f33642 [2024-08-27T11:51:08.469Z] ---> d25fba9496a7 [2024-08-27T11:51:08.469Z] Step 13/26 : FROM alpine:3.18 [2024-08-27T11:51:08.469Z] 3.18: Pulling from library/alpine [2024-08-27T11:51:08.469Z] 4983c3fe2029: Pulling fs layer [2024-08-27T11:51:08.469Z] 4983c3fe2029: Verifying Checksum [2024-08-27T11:51:08.469Z] 4983c3fe2029: Download complete [2024-08-27T11:51:08.469Z] 4983c3fe2029: Pull complete [2024-08-27T11:51:08.469Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-08-27T11:51:08.469Z] Status: Downloaded newer image for alpine:3.18 [2024-08-27T11:51:08.469Z] ---> a0237000ae83 [2024-08-27T11:51:08.469Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' [2024-08-27T11:51:08.469Z] ---> Running in 5839a210ca3a [2024-08-27T11:51:08.469Z] Removing intermediate container 5839a210ca3a [2024-08-27T11:51:08.470Z] ---> 4ff17c24ee65 [2024-08-27T11:51:08.470Z] Step 15/26 : RUN apk add --update --no-cache dumb-init [2024-08-27T11:51:08.470Z] ---> Running in 869b3c2ff75a [2024-08-27T11:51:08.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T11:51:08.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T11:51:08.470Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-08-27T11:51:08.470Z] Executing busybox-1.36.1-r7.trigger [2024-08-27T11:51:08.470Z] OK: 8 MiB in 16 packages [2024-08-27T11:51:08.470Z] Removing intermediate container 869b3c2ff75a [2024-08-27T11:51:08.470Z] ---> 04f6bb06e317 [2024-08-27T11:51:08.470Z] Step 16/26 : RUN apk --no-cache upgrade [2024-08-27T11:51:08.470Z] ---> Running in c4a443aa0994 [2024-08-27T11:51:08.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-08-27T11:51:08.470Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-08-27T11:51:08.470Z] OK: 8 MiB in 16 packages [2024-08-27T11:51:08.470Z] Removing intermediate container c4a443aa0994 [2024-08-27T11:51:08.470Z] ---> bed8f21446a3 [2024-08-27T11:51:08.470Z] Step 17/26 : WORKDIR / [2024-08-27T11:51:08.470Z] ---> Running in 1848972cfa3a [2024-08-27T11:51:08.470Z] Removing intermediate container 1848972cfa3a [2024-08-27T11:51:08.470Z] ---> a35bbf95228e [2024-08-27T11:51:08.470Z] Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / [2024-08-27T11:51:09.062Z] ---> 776bc2ca7713 [2024-08-27T11:51:09.062Z] Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / [2024-08-27T11:51:09.329Z] ---> 2211eac5555a [2024-08-27T11:51:09.329Z] Step 20/26 : COPY --from=builder /device-virtual-go/cmd / [2024-08-27T11:51:11.270Z] ---> 1ac0b5b08a1c [2024-08-27T11:51:11.270Z] Step 21/26 : EXPOSE 59900 [2024-08-27T11:51:11.270Z] ---> Running in 0c2bf5a4baa9 [2024-08-27T11:51:11.270Z] Removing intermediate container 0c2bf5a4baa9 [2024-08-27T11:51:11.270Z] ---> 61fffa18bee8 [2024-08-27T11:51:11.270Z] Step 22/26 : ENTRYPOINT ["/device-virtual"] [2024-08-27T11:51:11.539Z] ---> Running in 0ea9d970feb4 [2024-08-27T11:51:11.806Z] Removing intermediate container 0ea9d970feb4 [2024-08-27T11:51:11.806Z] ---> d93e5c00490b [2024-08-27T11:51:11.806Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-08-27T11:51:11.806Z] ---> Running in a94acc6dca28 [2024-08-27T11:51:12.076Z] Removing intermediate container a94acc6dca28 [2024-08-27T11:51:12.076Z] ---> a640eaae0abc [2024-08-27T11:51:12.076Z] Step 24/26 : LABEL arch=arm64 [2024-08-27T11:51:12.076Z] ---> Running in 6d67204f3a47 [2024-08-27T11:51:12.343Z] Removing intermediate container 6d67204f3a47 [2024-08-27T11:51:12.343Z] ---> 63510a441f20 [2024-08-27T11:51:12.343Z] Step 25/26 : LABEL git_sha=a933e861282336b25d9fdf324a4539737fb56119 [2024-08-27T11:51:12.611Z] ---> Running in d80d0e57ac48 [2024-08-27T11:51:12.878Z] Removing intermediate container d80d0e57ac48 [2024-08-27T11:51:12.878Z] ---> cf42a5884736 [2024-08-27T11:51:12.878Z] Step 26/26 : LABEL version=0.0.0 [2024-08-27T11:51:12.878Z] ---> Running in 400b73867fb3 [2024-08-27T11:51:13.143Z] Removing intermediate container 400b73867fb3 [2024-08-27T11:51:13.143Z] ---> ae5fd4f7d0e9 [2024-08-27T11:51:13.143Z] [Warning] One or more build-args [ARCH] were not consumed [2024-08-27T11:51:13.143Z] Successfully built ae5fd4f7d0e9 [2024-08-27T11:51:13.143Z] Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:51:14.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T11:51:14.077Z] [2024-08-27T11:51:14.077Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:51:14.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T11:51:14.494Z] arm64: Pulling from edgex-lftools-log-publisher [2024-08-27T11:51:14.494Z] 8998bd30e6a1: Pulling fs layer [2024-08-27T11:51:14.494Z] 04944245beec: Pulling fs layer [2024-08-27T11:51:14.494Z] 699f458cf7ca: Pulling fs layer [2024-08-27T11:51:14.494Z] 765212b225bb: Pulling fs layer [2024-08-27T11:51:14.494Z] f23df028b6ca: Pulling fs layer [2024-08-27T11:51:14.494Z] d65c8cfc05b1: Pulling fs layer [2024-08-27T11:51:14.494Z] 2437ff75d9bd: Pulling fs layer [2024-08-27T11:51:14.494Z] 765212b225bb: Waiting [2024-08-27T11:51:14.494Z] f23df028b6ca: Waiting [2024-08-27T11:51:14.494Z] d65c8cfc05b1: Waiting [2024-08-27T11:51:14.494Z] 2437ff75d9bd: Waiting [2024-08-27T11:51:14.762Z] 04944245beec: Verifying Checksum [2024-08-27T11:51:14.762Z] 04944245beec: Download complete [2024-08-27T11:51:14.762Z] 765212b225bb: Verifying Checksum [2024-08-27T11:51:14.762Z] 765212b225bb: Download complete [2024-08-27T11:51:14.762Z] f23df028b6ca: Verifying Checksum [2024-08-27T11:51:14.762Z] f23df028b6ca: Download complete [2024-08-27T11:51:14.762Z] d65c8cfc05b1: Verifying Checksum [2024-08-27T11:51:14.762Z] d65c8cfc05b1: Download complete [2024-08-27T11:51:15.026Z] 699f458cf7ca: Verifying Checksum [2024-08-27T11:51:15.026Z] 699f458cf7ca: Download complete [2024-08-27T11:51:15.292Z] 8998bd30e6a1: Verifying Checksum [2024-08-27T11:51:15.292Z] 8998bd30e6a1: Download complete [2024-08-27T11:51:17.863Z] 2437ff75d9bd: Verifying Checksum [2024-08-27T11:51:17.863Z] 2437ff75d9bd: Download complete [2024-08-27T11:51:19.797Z] 8998bd30e6a1: Pull complete [2024-08-27T11:51:20.377Z] 04944245beec: Pull complete [2024-08-27T11:51:21.782Z] 699f458cf7ca: Pull complete [2024-08-27T11:51:22.049Z] 765212b225bb: Pull complete [2024-08-27T11:51:23.008Z] f23df028b6ca: Pull complete [2024-08-27T11:51:23.275Z] d65c8cfc05b1: Pull complete [2024-08-27T11:51:41.459Z] 2437ff75d9bd: Pull complete [2024-08-27T11:51:41.459Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-08-27T11:51:41.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-08-27T11:51:41.459Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T11:51:41.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-8811 does not seem to be running inside a container [2024-08-27T11:51:41.867Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-08-27T11:51:44.497Z] $ docker top 7d1565eeb5d85a40aff98334f9e2b18bf9e91e2ecc8fcc66835e4f4630ef6980 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:51:45.134Z] ---> job-cost.sh [2024-08-27T11:51:45.399Z] lf-activate-venv: SKIPPING [2024-08-27T11:51:45.399Z] INFO: No Stack... [2024-08-27T11:51:45.979Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-08-27T11:51:46.558Z] INFO: Archiving Costs [Pipeline] sh [2024-08-27T11:51:47.224Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2024-08-27T11:51:47.224Z] + cut -d, -f6 [Pipeline] lock [2024-08-27T11:51:47.308Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-486-1-stack-cost] [2024-08-27T11:51:47.315Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-486-1-stack-cost] did not exist. Created. [2024-08-27T11:51:47.321Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-virtual-go-PR-486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-08-27T11:51:47.760Z] /w/workspace/device-virtual-go/1@tmp/durable-c0bee4cc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-08-27T11:51:48.435Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-08-27T11:51:48.480Z] Warning: overwriting stash ‘stack-cost’ [2024-08-27T11:51:48.536Z] Stashed 1 file(s) [Pipeline] } [2024-08-27T11:51:48.555Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-virtual-go-PR-486-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-08-27T11:51:48.669Z] $ docker stop --time=1 7d1565eeb5d85a40aff98334f9e2b18bf9e91e2ecc8fcc66835e4f4630ef6980 [2024-08-27T11:51:50.143Z] $ docker rm -f --volumes 7d1565eeb5d85a40aff98334f9e2b18bf9e91e2ecc8fcc66835e4f4630ef6980 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-08-27T11:51:51.373Z] provisioning config files... [2024-08-27T11:51:51.380Z] copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-486@tmp/config3369560345826891647tmp [Pipeline] { [Pipeline] sh [2024-08-27T11:51:51.747Z] + set +x [2024-08-27T11:51:51.747Z] + curl -s https://codecov.io/bash [2024-08-27T11:51:51.747Z] + bash -s -- [2024-08-27T11:51:51.747Z] [2024-08-27T11:51:51.747Z] _____ _ [2024-08-27T11:51:51.747Z] / ____| | | [2024-08-27T11:51:51.747Z] | | ___ __| | ___ ___ _____ __ [2024-08-27T11:51:51.747Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-08-27T11:51:51.747Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-08-27T11:51:51.747Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-08-27T11:51:51.747Z] Bash-1.0.6 [2024-08-27T11:51:51.747Z] [2024-08-27T11:51:51.747Z] [2024-08-27T11:51:51.747Z] ==> git version 2.25.1 found [2024-08-27T11:51:51.747Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-08-27T11:51:51.747Z] Release-Date: 2020-01-08 [2024-08-27T11:51:51.747Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-08-27T11:51:51.747Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-08-27T11:51:51.747Z] ==> Jenkins CI detected. [2024-08-27T11:51:51.747Z] current dir:  /w/workspace/foundry_device-virtual-go_PR-486 [2024-08-27T11:51:51.747Z] project root: . [2024-08-27T11:51:51.747Z] --> token set from env [2024-08-27T11:51:51.747Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-08-27T11:51:51.747Z] ==> Running gcov in . (disable via -X gcov) [2024-08-27T11:51:51.747Z] ==> Python coveragepy not found [2024-08-27T11:51:51.747Z] ==> Searching for coverage reports in: [2024-08-27T11:51:51.747Z] + . [2024-08-27T11:51:51.747Z] -> Found 1 reports [2024-08-27T11:51:51.747Z] ==> Detecting git/mercurial file structure [2024-08-27T11:51:51.747Z] ==> Reading reports [2024-08-27T11:51:52.008Z] + ./coverage.out bytes=43247 [2024-08-27T11:51:52.008Z] ==> Appending adjustments [2024-08-27T11:51:52.008Z] https://docs.codecov.io/docs/fixing-reports [2024-08-27T11:51:52.008Z] + Found adjustments [2024-08-27T11:51:52.008Z] ==> Gzipping contents [2024-08-27T11:51:52.008Z] 8.0K /tmp/codecov.LlYKNA.gz [2024-08-27T11:51:52.008Z] ==> Uploading reports [2024-08-27T11:51:52.008Z] url: https://codecov.io [2024-08-27T11:51:52.008Z] query: branch=PR-486&commit=a933e861282336b25d9fdf324a4539737fb56119&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=486&job=&cmd_args= [2024-08-27T11:51:52.008Z] -> Pinging Codecov [2024-08-27T11:51:52.009Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-486&commit=a933e861282336b25d9fdf324a4539737fb56119&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=486&job=&cmd_args= [2024-08-27T11:51:52.270Z] -> Uploading to [2024-08-27T11:51:52.270Z] https://storage.googleapis.com/codecov/v4/raw/2024-08-27/5E52B4B073DB2E39498172D8E973AA87/a933e861282336b25d9fdf324a4539737fb56119/85c038e9-b8df-461d-bed6-76584137e580.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240827%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240827T115151Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1367de7790b9d49ed28cd1236a2f579add4d72300db31bb0f8c59504270fa3f [2024-08-27T11:51:52.270Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-08-27T11:51:52.270Z] Dload Upload Total Spent Left Speed [2024-08-27T11:51:52.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5022 0 0 100 5022 0 20666 --:--:-- --:--:-- --:--:-- 20666 [2024-08-27T11:51:52.529Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a933e861282336b25d9fdf324a4539737fb56119 [Pipeline] } [2024-08-27T11:51:52.560Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-08-27T11:51:54.912Z] + [ -d /w/workspace/foundry_device-virtual-go_PR-486/archives ] [2024-08-27T11:51:54.913Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-486/archives [2024-08-27T11:51:54.913Z] total 16 [2024-08-27T11:51:54.913Z] drwxr-xr-x 3 root root 4096 Aug 27 11:41 . [2024-08-27T11:51:54.913Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 27 11:41 .. [2024-08-27T11:51:54.913Z] drwxr-xr-x 2 root root 4096 Aug 27 11:41 cost [2024-08-27T11:51:54.913Z] -rw-r--r-- 1 root root 89 Aug 27 11:41 cost.csv [2024-08-27T11:51:54.913Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-486/archives [2024-08-27T11:51:54.913Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-486/archives [2024-08-27T11:51:54.913Z] total 16 [2024-08-27T11:51:54.913Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 27 11:41 . [2024-08-27T11:51:54.913Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 27 11:41 .. [2024-08-27T11:51:54.913Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 27 11:41 cost [2024-08-27T11:51:54.913Z] -rw-r--r-- 1 jenkins jenkins 89 Aug 27 11:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:51:55.263Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:51:56.163Z] ---> package-listing.sh [2024-08-27T11:51:56.163Z] ++ facter osfamily [2024-08-27T11:51:56.163Z] ++ tr '[:upper:]' '[:lower:]' [2024-08-27T11:51:56.426Z] + OS_FAMILY=debian [2024-08-27T11:51:56.426Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-486 [2024-08-27T11:51:56.426Z] + START_PACKAGES=/tmp/packages_start.txt [2024-08-27T11:51:56.426Z] + END_PACKAGES=/tmp/packages_end.txt [2024-08-27T11:51:56.426Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-08-27T11:51:56.426Z] + PACKAGES=/tmp/packages_start.txt [2024-08-27T11:51:56.426Z] + '[' /w/workspace/foundry_device-virtual-go_PR-486 ']' [2024-08-27T11:51:56.426Z] + PACKAGES=/tmp/packages_end.txt [2024-08-27T11:51:56.426Z] + case "${OS_FAMILY}" in [2024-08-27T11:51:56.426Z] + dpkg -l [2024-08-27T11:51:56.426Z] + grep '^ii' [2024-08-27T11:51:56.426Z] + '[' -f /tmp/packages_start.txt ']' [2024-08-27T11:51:56.426Z] + '[' -f /tmp/packages_end.txt ']' [2024-08-27T11:51:56.426Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-08-27T11:51:56.426Z] + '[' /w/workspace/foundry_device-virtual-go_PR-486 ']' [2024-08-27T11:51:56.426Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-486/archives/ [2024-08-27T11:51:56.426Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-486/archives/ [Pipeline] echo [2024-08-27T11:51:56.474Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-08-27T11:51:56.772Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-08-27T11:51:57.440Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-08-27T11:51:57.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-08-27T11:51:57.605Z] prd-ubuntu20.04-docker-8c-8g-8810 does not seem to be running inside a container [2024-08-27T11:51:57.637Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-486 -v /w/workspace/foundry_device-virtual-go_PR-486:/w/workspace/foundry_device-virtual-go_PR-486:rw,z -v /w/workspace/foundry_device-virtual-go_PR-486@tmp:/w/workspace/foundry_device-virtual-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-08-27T11:51:57.829Z] $ docker top 3f9530b19a84b5fcfa6651c47692f2d68947bf5352e5e7e1db45c7b4ac5e006f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-08-27T11:51:58.250Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-08-27T11:51:58.579Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-08-27T11:51:58.899Z] + ls /var/log/sa-host [2024-08-27T11:51:58.899Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-08-27T11:51:59.171Z] provisioning config files... [2024-08-27T11:51:59.183Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-486@tmp/config9985231712717747154tmp [Pipeline] { [Pipeline] echo [2024-08-27T11:51:59.254Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:51:59.577Z] ---> create-netrc.sh [Pipeline] } [2024-08-27T11:51:59.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:52:00.042Z] ---> python-tools-install.sh [Pipeline] echo [2024-08-27T11:52:00.083Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:52:00.407Z] ---> sudo-logs.sh [2024-08-27T11:52:00.407Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-08-27T11:52:00.519Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:52:00.843Z] ---> job-cost.sh [2024-08-27T11:52:00.843Z] lf-activate-venv: SKIPPING [2024-08-27T11:52:00.843Z] DEBUG: total: 0.2199999988079071 [2024-08-27T11:52:00.843Z] INFO: Retrieving Stack Cost... [2024-08-27T11:52:01.412Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-08-27T11:52:01.672Z] INFO: Archiving Costs [Pipeline] echo [2024-08-27T11:52:01.724Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-08-27T11:52:02.050Z] ---> logs-deploy.sh [2024-08-27T11:52:02.050Z] lf-activate-venv: SKIPPING [2024-08-27T11:52:02.050Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-486/1 [2024-08-27T11:52:02.050Z] INFO: archiving workspace using pattern(s): [2024-08-27T11:52:02.987Z] Archives upload complete. [2024-08-27T11:52:02.987Z] INFO: archiving logs to Nexus