Pull request #433 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83f85dbb577d829052191ac5a7fbc680df94ce17+88cb92755446ff3d15da758ed0b4d5ad23298886 (0144b3e2192e0f8afa989f68cda2eac00cb47913) 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-ssh6120847241825488286.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh1957008199526427410.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-433/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-433/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4789239405624859184.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-433/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6356451498318033459.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh5468517085179217319.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-433/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-433/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1963393446944302043.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-7810 in /w/workspace/foundry_device-virtual-go_PR-433 [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-433 # 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 Merging remotes/origin/main commit 88cb92755446ff3d15da758ed0b4d5ad23298886 into PR head commit 83f85dbb577d829052191ac5a7fbc680df94ce17 Merge succeeded, producing 83f85dbb577d829052191ac5a7fbc680df94ce17 Checking out Revision 83f85dbb577d829052191ac5a7fbc680df94ce17 (PR-433) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 > 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 > 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/433/head:refs/remotes/origin/PR-433 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83f85dbb577d829052191ac5a7fbc680df94ce17 # 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 88cb92755446ff3d15da758ed0b4d5ad23298886 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 83f85dbb577d829052191ac5a7fbc680df94ce17 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:55:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:55:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:55:03 ========================================================= 11:55:03 EdgeX Global Pipelines Version Info 11:55:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:55:03 ------------------- 11:55:03 stable info: 11:55:03 ------------------- 11:55:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:55:03 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:55:03 Message: update stable to v1.0.254 11:55:04 ------------------- 11:55:04 experimental info: 11:55:04 ------------------- 11:55:04 Commited By: **** collab-it+edgex@linuxfoundation.org 11:55:04 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:55:04 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:55:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-433 [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-433 [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-433 [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83f85dbb577d829052191ac5a7fbc680df94ce17 [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83f85db [Pipeline] echo 11:55:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:55:06 provisioning config files... 11:55:06 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-433@tmp/config15913138201333751464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:07 ---> docker-login.sh 11:55:07 nexus3.edgexfoundry.org:10001 11:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:07 Configure a credential helper to remove this warning. See 11:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:07 11:55:07 Login Succeeded 11:55:07 nexus3.edgexfoundry.org:10002 11:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:07 Configure a credential helper to remove this warning. See 11:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:07 11:55:07 Login Succeeded 11:55:07 nexus3.edgexfoundry.org:10003 11:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:08 Configure a credential helper to remove this warning. See 11:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:08 11:55:08 Login Succeeded 11:55:08 nexus3.edgexfoundry.org:10004 11:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:08 Configure a credential helper to remove this warning. See 11:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:08 11:55:08 Login Succeeded 11:55:08 docker.io 11:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:08 Configure a credential helper to remove this warning. See 11:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:08 11:55:08 Login Succeeded 11:55:08 ---> docker-login.sh ends [Pipeline] } 11:55:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:55:09 + git rev-list -1 --merges 83f85dbb577d829052191ac5a7fbc680df94ce17~1..83f85dbb577d829052191ac5a7fbc680df94ce17 [Pipeline] echo 11:55:09 -----------> git rev-list -1 --merges 83f85dbb577d829052191ac5a7fbc680df94ce17~1..83f85dbb577d829052191ac5a7fbc680df94ce17 83f85dbb577d829052191ac5a7fbc680df94ce17 [false] [Pipeline] sh 11:55:09 + git log --format=format:%s -1 83f85dbb577d829052191ac5a7fbc680df94ce17 [Pipeline] echo 11:55:09 ========================================================= 11:55:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:55:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:55:09 + git log --format=format:%s -1 83f85dbb577d829052191ac5a7fbc680df94ce17 [Pipeline] echo 11:55:09 [semverPrep] GIT_COMMIT: 83f85dbb577d829052191ac5a7fbc680df94ce17, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:55:10 [semverPrep] This is not a build commit. [Pipeline] sh 11:55:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:55:10 + grep -v github /etc/ssh/ssh_known_hosts 11:55:10 + [ -e /tmp/ssh_known_hosts ] 11:55:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:55:10 + + sudo tee -a /etc/ssh/ssh_known_hosts 11:55:10 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:55:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:10 11:55:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:11 0.1.4: Pulling from edgex-devops/py-git-semver 11:55:11 b85a868b505f: Pulling fs layer 11:55:11 e2be974225ed: Pulling fs layer 11:55:11 339a4e72a1f5: Pulling fs layer 11:55:11 988bab9f4d93: Pulling fs layer 11:55:11 1469e6f7b9e6: Pulling fs layer 11:55:11 eaf3925da568: Pulling fs layer 11:55:11 bab4dde63d76: Pulling fs layer 11:55:11 bde34c3a00c8: Pulling fs layer 11:55:11 b352a97aabf1: Pulling fs layer 11:55:11 4872d77fe225: Pulling fs layer 11:55:11 5851b861e8e6: Pulling fs layer 11:55:11 eaf3925da568: Waiting 11:55:11 988bab9f4d93: Waiting 11:55:11 bab4dde63d76: Waiting 11:55:11 bde34c3a00c8: Waiting 11:55:11 5851b861e8e6: Waiting 11:55:11 4872d77fe225: Waiting 11:55:11 1469e6f7b9e6: Waiting 11:55:11 b352a97aabf1: Waiting 11:55:11 e2be974225ed: Download complete 11:55:11 988bab9f4d93: Verifying Checksum 11:55:11 988bab9f4d93: Download complete 11:55:11 1469e6f7b9e6: Verifying Checksum 11:55:11 1469e6f7b9e6: Download complete 11:55:11 eaf3925da568: Verifying Checksum 11:55:11 eaf3925da568: Download complete 11:55:11 339a4e72a1f5: Verifying Checksum 11:55:11 339a4e72a1f5: Download complete 11:55:11 bde34c3a00c8: Verifying Checksum 11:55:11 bde34c3a00c8: Download complete 11:55:11 b352a97aabf1: Verifying Checksum 11:55:11 b352a97aabf1: Download complete 11:55:11 4872d77fe225: Verifying Checksum 11:55:11 4872d77fe225: Download complete 11:55:11 5851b861e8e6: Verifying Checksum 11:55:11 5851b861e8e6: Download complete 11:55:11 b85a868b505f: Download complete 11:55:11 bab4dde63d76: Verifying Checksum 11:55:11 bab4dde63d76: Download complete 11:55:12 b85a868b505f: Pull complete 11:55:13 e2be974225ed: Pull complete 11:55:13 339a4e72a1f5: Pull complete 11:55:13 988bab9f4d93: Pull complete 11:55:13 1469e6f7b9e6: Pull complete 11:55:13 eaf3925da568: Pull complete 11:55:15 bab4dde63d76: Pull complete 11:55:15 bde34c3a00c8: Pull complete 11:55:15 b352a97aabf1: Pull complete 11:55:15 4872d77fe225: Pull complete 11:55:15 5851b861e8e6: Pull complete 11:55:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:55:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:55:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:55:16 prd-ubuntu20.04-docker-8c-8g-7810 does not seem to be running inside a container 11:55:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-433 -v /w/workspace/foundry_device-virtual-go_PR-433:/w/workspace/foundry_device-virtual-go_PR-433:rw,z -v /w/workspace/foundry_device-virtual-go_PR-433@tmp:/w/workspace/foundry_device-virtual-go_PR-433@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:55:20 $ docker top 213ed3387408c9d06ad0106645ad9a29d4a2b483042b09dc3457f3b5e91b9154 -eo pid,comm 11:55:20 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). 11:55:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:55:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:55:20 [ssh-agent] Looking for ssh-agent implementation... 11:55:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:55:20 $ docker exec 213ed3387408c9d06ad0106645ad9a29d4a2b483042b09dc3457f3b5e91b9154 ssh-agent 11:55:20 SSH_AUTH_SOCK=/tmp/ssh-xsLch5ntowmw/agent.33 11:55:20 SSH_AGENT_PID=38 11:55:20 Running ssh-add (command line suppressed) 11:55:20 Identity added: /w/workspace/foundry_device-virtual-go_PR-433@tmp/private_key_421976763422418409.key (/w/workspace/foundry_device-virtual-go_PR-433@tmp/private_key_421976763422418409.key) 11:55:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:21 + git tag --points-at HEAD [Pipeline] } 11:55:21 $ docker exec --env ******** --env ******** 213ed3387408c9d06ad0106645ad9a29d4a2b483042b09dc3457f3b5e91b9154 ssh-agent -k 11:55:21 unset SSH_AUTH_SOCK; 11:55:21 unset SSH_AGENT_PID; 11:55:21 echo Agent pid 38 killed; 11:55:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:55:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:55:21 [ssh-agent] Looking for ssh-agent implementation... 11:55:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:55:21 $ docker exec 213ed3387408c9d06ad0106645ad9a29d4a2b483042b09dc3457f3b5e91b9154 ssh-agent 11:55:21 SSH_AUTH_SOCK=/tmp/ssh-zC6KQbnhPWeP/agent.70 11:55:21 SSH_AGENT_PID=76 11:55:21 Running ssh-add (command line suppressed) 11:55:21 Identity added: /w/workspace/foundry_device-virtual-go_PR-433@tmp/private_key_8236707527207161981.key (/w/workspace/foundry_device-virtual-go_PR-433@tmp/private_key_8236707527207161981.key) 11:55:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:22 + git semver init 11:55:22 2023-09-25 11:55:22,366 [run_init] DEBUG init version:0.0.0 force:False 11:55:22 2023-09-25 11:55:22,367 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-433/.semver 11:55:22 2023-09-25 11:55:22,368 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-433/.semver 11:55:22 2023-09-25 11:55:22,368 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-433/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-433, universal_newlines=False, shell=None, istream=None) 11:55:23 2023-09-25 11:55:23,556 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-433/.git/info/exclude 11:55:23 2023-09-25 11:55:23,557 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-433/.semver/PR-433 with force:False 11:55:23 2023-09-25 11:55:23,557 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-433/.semver/PR-433 11:55:23 2023-09-25 11:55:23,560 [execute] INFO git cat-file --batch-check 11:55:23 2023-09-25 11:55:23,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-433/.semver, universal_newlines=False, shell=None, istream=) 11:55:23 2023-09-25 11:55:23,569 [execute] INFO git cat-file --batch 11:55:23 2023-09-25 11:55:23,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-433/.semver, universal_newlines=False, shell=None, istream=) 11:55:23 2023-09-25 11:55:23,575 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-433/.semver/PR-433 11:55:23 0.0.0 [Pipeline] } 11:55:23 $ docker exec --env ******** --env ******** 213ed3387408c9d06ad0106645ad9a29d4a2b483042b09dc3457f3b5e91b9154 ssh-agent -k 11:55:23 unset SSH_AUTH_SOCK; 11:55:23 unset SSH_AGENT_PID; 11:55:23 echo Agent pid 76 killed; 11:55:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:55:24 + git semver [Pipeline] } 11:55:24 $ docker stop --time=1 213ed3387408c9d06ad0106645ad9a29d4a2b483042b09dc3457f3b5e91b9154 11:55:26 $ docker rm -f --volumes 213ed3387408c9d06ad0106645ad9a29d4a2b483042b09dc3457f3b5e91b9154 [Pipeline] // withDockerContainer [Pipeline] sh 11:55:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:55:26 Stashed 1 file(s) [Pipeline] echo 11:55:26 [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 11:55:27 provisioning config files... 11:55:27 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-433@tmp/config1746040669137883577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:27 ---> docker-login.sh 11:55:27 nexus3.edgexfoundry.org:10001 11:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:27 Configure a credential helper to remove this warning. See 11:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:27 11:55:27 Login Succeeded 11:55:27 nexus3.edgexfoundry.org:10002 11:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:27 Configure a credential helper to remove this warning. See 11:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:27 11:55:27 Login Succeeded 11:55:27 nexus3.edgexfoundry.org:10003 11:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:27 Configure a credential helper to remove this warning. See 11:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:27 11:55:27 Login Succeeded 11:55:27 nexus3.edgexfoundry.org:10004 11:55:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:27 Configure a credential helper to remove this warning. See 11:55:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:27 11:55:27 Login Succeeded 11:55:27 docker.io 11:55:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:28 Configure a credential helper to remove this warning. See 11:55:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:28 11:55:28 Login Succeeded 11:55:28 ---> docker-login.sh ends [Pipeline] } 11:55:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:55:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:55:28 ========================================================= 11:55:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:55:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:55:29 + 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 . 11:55:29 Sending build context to Docker daemon 23.65MB 11:55:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:55:29 Step 2/12 : FROM ${BASE} AS builder 11:55:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:55:29 7264a8db6415: Pulling fs layer 11:55:29 c4d48a809fc2: Pulling fs layer 11:55:29 4f1c88b9dad5: Pulling fs layer 11:55:29 ad3a456e5733: Pulling fs layer 11:55:29 33e27b845d1e: Pulling fs layer 11:55:29 c68163c4e522: Pulling fs layer 11:55:29 50da416c3ac9: Pulling fs layer 11:55:29 23d2d4c4bb30: Pulling fs layer 11:55:29 50da416c3ac9: Waiting 11:55:29 c68163c4e522: Waiting 11:55:29 23d2d4c4bb30: Waiting 11:55:29 ad3a456e5733: Waiting 11:55:29 33e27b845d1e: Waiting 11:55:29 c4d48a809fc2: Verifying Checksum 11:55:29 c4d48a809fc2: Download complete 11:55:29 ad3a456e5733: Verifying Checksum 11:55:29 ad3a456e5733: Download complete 11:55:29 33e27b845d1e: Verifying Checksum 11:55:29 33e27b845d1e: Download complete 11:55:29 7264a8db6415: Verifying Checksum 11:55:29 7264a8db6415: Download complete 11:55:29 c68163c4e522: Verifying Checksum 11:55:29 c68163c4e522: Download complete 11:55:29 7264a8db6415: Pull complete 11:55:29 23d2d4c4bb30: Verifying Checksum 11:55:29 23d2d4c4bb30: Download complete 11:55:29 c4d48a809fc2: Pull complete 11:55:29 4f1c88b9dad5: Verifying Checksum 11:55:29 4f1c88b9dad5: Download complete 11:55:30 50da416c3ac9: Download complete 11:55:33 4f1c88b9dad5: Pull complete 11:55:33 ad3a456e5733: Pull complete 11:55:33 33e27b845d1e: Pull complete 11:55:33 c68163c4e522: Pull complete 11:55:35 50da416c3ac9: Pull complete 11:55:36 23d2d4c4bb30: Pull complete 11:55:36 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 11:55:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:55:36 ---> 0786185ac409 11:55:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:55:40 ---> Running in d885551515a1 11:55:40 Removing intermediate container d885551515a1 11:55:40 ---> 218195bacddf 11:55:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:55:40 ---> Running in be2717c624ab 11:55:40 Removing intermediate container be2717c624ab 11:55:40 ---> 2cc7b109d510 11:55:40 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:55:40 ---> Running in d08ee8eb8889 11:55:40 Removing intermediate container d08ee8eb8889 11:55:40 ---> 9578496247a9 11:55:40 Step 6/12 : WORKDIR /device-virtual-go 11:55:40 ---> Running in f8d873dda764 11:55:40 Removing intermediate container f8d873dda764 11:55:40 ---> ec7479eb7632 11:55:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:55:40 ---> Running in 1bc0782fa860 11:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:55:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:55:41 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:55:41 (2/4) Installing libedit (20221030.3.1-r1) 11:55:41 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:55:41 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:55:41 Executing busybox-1.36.1-r2.trigger 11:55:41 OK: 268 MiB in 56 packages 11:55:42 Removing intermediate container 1bc0782fa860 11:55:42 ---> 9b7dcc741857 11:55:42 Step 8/12 : COPY go.mod vendor* ./ 11:55:42 Still waiting to schedule task 11:55:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:55:42 ---> b5628d6459ce 11:55:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:55:42 ---> Running in 4edaf5f8e4b3 11:56:14 Removing intermediate container 4edaf5f8e4b3 11:56:14 ---> c6fb400897c2 11:56:14 Step 10/12 : COPY . . 11:56:14 ---> 7b1276569d2c 11:56:14 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:56:14 ---> Running in fd981ccb92dd 11:56:14 Removing intermediate container fd981ccb92dd 11:56:14 ---> 699371d11af8 11:56:14 Step 12/12 : RUN $MAKE 11:56:14 ---> Running in 05503ee4f4cb 11:56:14 noop 11:56:14 Removing intermediate container 05503ee4f4cb 11:56:14 ---> d364d3e76512 11:56:14 Successfully built d364d3e76512 11:56:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:14 + docker inspect -f . ci-base-image-x86_64 11:56:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:14 prd-ubuntu20.04-docker-8c-8g-7810 does not seem to be running inside a container 11:56:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-433 -v /w/workspace/foundry_device-virtual-go_PR-433:/w/workspace/foundry_device-virtual-go_PR-433:rw,z -v /w/workspace/foundry_device-virtual-go_PR-433@tmp:/w/workspace/foundry_device-virtual-go_PR-433@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-x86_64 cat 11:56:15 $ docker top 34031acae63683a0783f776f2bf8103109fc4dcaa028f086b846bbf5e3aa0deb -eo pid,comm [Pipeline] { [Pipeline] sh 11:56:15 + go version 11:56:15 go version go1.21.0 linux/amd64 [Pipeline] } 11:56:15 $ docker stop --time=1 34031acae63683a0783f776f2bf8103109fc4dcaa028f086b846bbf5e3aa0deb 11:56:17 $ docker rm -f --volumes 34031acae63683a0783f776f2bf8103109fc4dcaa028f086b846bbf5e3aa0deb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:17 + docker inspect -f . ci-base-image-x86_64 11:56:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:56:17 prd-ubuntu20.04-docker-8c-8g-7810 does not seem to be running inside a container 11:56:17 $ 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-433 -v /w/workspace/foundry_device-virtual-go_PR-433:/w/workspace/foundry_device-virtual-go_PR-433:rw,z -v /w/workspace/foundry_device-virtual-go_PR-433@tmp:/w/workspace/foundry_device-virtual-go_PR-433@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-x86_64 cat 11:56:18 $ docker top 94b01003283dce55eb9fd7b6fcbc1a28027682664628742721f4a80a5660940c -eo pid,comm [Pipeline] { [Pipeline] sh 11:56:18 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-433 [Pipeline] fileExists [Pipeline] sh 11:56:18 + make test 11:56:18 go test ./... -coverprofile=coverage.out 11:56:20 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:56:30 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:56:30 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.015s coverage: 58.6% of statements 11:56:35 go vet ./... 11:56:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:56:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:56:38 ./bin/test-attribution-txt.sh [Pipeline] echo 11:56:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:56:39 $ docker stop --time=1 94b01003283dce55eb9fd7b6fcbc1a28027682664628742721f4a80a5660940c 11:56:41 $ docker rm -f --volumes 94b01003283dce55eb9fd7b6fcbc1a28027682664628742721f4a80a5660940c [Pipeline] // withDockerContainer [Pipeline] sh 11:56:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:56:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:56:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:56:43 + ls -al . 11:56:43 total 204 11:56:43 drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 11:56 . 11:56:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 11:54 .. 11:56:43 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 11:56 .git 11:56:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 11:55 .github 11:56:43 -rw-rw-r-- 1 jenkins jenkins 337 Sep 25 11:55 .gitignore 11:56:43 -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 11:55 .golangci.yml 11:56:43 drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 11:55 .semver 11:56:43 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 25 11:55 Attribution.txt 11:56:43 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 25 11:55 CHANGELOG.md 11:56:43 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 25 11:55 Dockerfile 11:56:43 -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 11:55 GOVERNANCE.md 11:56:43 -rw-rw-r-- 1 jenkins jenkins 660 Sep 25 11:55 Jenkinsfile 11:56:43 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 11:55 LICENSE 11:56:43 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 25 11:55 Makefile 11:56:43 -rw-rw-r-- 1 jenkins jenkins 623 Sep 25 11:55 OWNERS.md 11:56:43 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 25 11:55 README.md 11:56:43 -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 11:55 VERSION 11:56:43 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 11:55 bin 11:56:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 11:55 cmd 11:56:43 -rw-r--r-- 1 jenkins jenkins 43063 Sep 25 11:56 coverage.out 11:56:43 -rw-rw-r-- 1 jenkins jenkins 3637 Sep 25 11:55 go.mod 11:56:43 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 25 11:55 go.sum 11:56:43 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 11:55 internal 11:56:43 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 11:55 snap 11:56:43 -rw-rw-r-- 1 jenkins jenkins 235 Sep 25 11:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:56:43 + 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=83f85dbb577d829052191ac5a7fbc680df94ce17 --label arch=amd64 --label version=0.0.0 . 11:56:43 Sending build context to Docker daemon 23.69MB 11:56:43 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:56:43 Step 2/25 : FROM ${BASE} AS builder 11:56:43 ---> d364d3e76512 11:56:43 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:56:44 ---> Running in e414b6469704 11:56:44 Removing intermediate container e414b6469704 11:56:44 ---> e9a992341483 11:56:44 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:56:44 ---> Running in adeeb0c61558 11:56:44 Removing intermediate container adeeb0c61558 11:56:44 ---> b66bf348ad84 11:56:44 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:56:44 ---> Running in 7e816afe0b07 11:56:44 Removing intermediate container 7e816afe0b07 11:56:44 ---> 5c6a652dc902 11:56:44 Step 6/25 : WORKDIR /device-virtual-go 11:56:44 ---> Running in 3c708d52e655 11:56:44 Removing intermediate container 3c708d52e655 11:56:44 ---> 4c3e9fbfc557 11:56:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:56:44 ---> Running in 586e8f4bbf00 11:56:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:56:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:56:45 OK: 268 MiB in 56 packages 11:56:45 Removing intermediate container 586e8f4bbf00 11:56:45 ---> ad18d696ba8f 11:56:45 Step 8/25 : COPY go.mod vendor* ./ 11:56:45 ---> 2fd67339a7c3 11:56:45 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:56:45 ---> Running in 3318195b8dc3 11:56:46 Removing intermediate container 3318195b8dc3 11:56:46 ---> ed33f3591f86 11:56:46 Step 10/25 : COPY . . 11:56:47 ---> d4656c6c1cfc 11:56:47 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:56:47 ---> Running in a709872936e7 11:56:47 Removing intermediate container a709872936e7 11:56:47 ---> a6170eb2d18a 11:56:47 Step 12/25 : RUN $MAKE 11:56:47 ---> Running in a39e865acdac 11:56:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:57:06 Removing intermediate container a39e865acdac 11:57:06 ---> de53faa98bef 11:57:06 Step 13/25 : FROM alpine:3.18 11:57:06 3.18: Pulling from library/alpine 11:57:06 7264a8db6415: Already exists 11:57:06 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 11:57:06 Status: Downloaded newer image for alpine:3.18 11:57:06 ---> 7e01a0d0a1dc 11:57:06 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:57:06 ---> Running in 80849eecad85 11:57:06 Removing intermediate container 80849eecad85 11:57:06 ---> 5f81f7fe0666 11:57:06 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:57:06 ---> Running in 5801efabc029 11:57:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:57:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:57:06 (1/1) Installing dumb-init (1.2.5-r2) 11:57:06 Executing busybox-1.36.1-r2.trigger 11:57:06 OK: 7 MiB in 16 packages 11:57:06 Removing intermediate container 5801efabc029 11:57:06 ---> 56cdeb03baca 11:57:06 Step 16/25 : WORKDIR / 11:57:06 ---> Running in bbc3cd182ddb 11:57:06 Removing intermediate container bbc3cd182ddb 11:57:06 ---> 1e77cba38f07 11:57:06 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:57:06 ---> 334c479a467b 11:57:06 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:57:06 ---> 54b378feb37b 11:57:06 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:57:07 ---> 8efbe5cb4ccc 11:57:07 Step 20/25 : EXPOSE 59900 11:57:07 ---> Running in 99a4cdf6daff 11:57:07 Removing intermediate container 99a4cdf6daff 11:57:07 ---> c0a0d4a0750b 11:57:07 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:57:07 ---> Running in fadf7276e628 11:57:07 Removing intermediate container fadf7276e628 11:57:07 ---> be32c0200d67 11:57:07 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:57:07 ---> Running in 90fce0fe5ee3 11:57:07 Removing intermediate container 90fce0fe5ee3 11:57:07 ---> 85514ec8e8b7 11:57:07 Step 23/25 : LABEL arch=amd64 11:57:07 ---> Running in 8fc412ce803d 11:57:07 Removing intermediate container 8fc412ce803d 11:57:07 ---> eba571a5fa6f 11:57:07 Step 24/25 : LABEL git_sha=83f85dbb577d829052191ac5a7fbc680df94ce17 11:57:07 ---> Running in 651d1c7aa75f 11:57:07 Removing intermediate container 651d1c7aa75f 11:57:07 ---> 214d30514c0f 11:57:07 Step 25/25 : LABEL version=0.0.0 11:57:07 ---> Running in f00806005df1 11:57:07 Removing intermediate container f00806005df1 11:57:07 ---> bc7c7438370b 11:57:07 [Warning] One or more build-args [ARCH] were not consumed 11:57:07 Successfully built bc7c7438370b 11:57:08 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:57:09 11:57:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:57:09 latest: Pulling from edgex-lftools-log-publisher 11:57:09 5eb5b503b376: Pulling fs layer 11:57:09 5c69ac0246d0: Pulling fs layer 11:57:09 ec43610c2a17: Pulling fs layer 11:57:09 3a2ae6a8a46f: Pulling fs layer 11:57:09 33b1e0a273af: Pulling fs layer 11:57:09 5d3b04190fa2: Pulling fs layer 11:57:09 2f39f015ded8: Pulling fs layer 11:57:09 33b1e0a273af: Waiting 11:57:09 5d3b04190fa2: Waiting 11:57:09 2f39f015ded8: Waiting 11:57:09 3a2ae6a8a46f: Waiting 11:57:09 5c69ac0246d0: Verifying Checksum 11:57:09 5c69ac0246d0: Download complete 11:57:09 3a2ae6a8a46f: Download complete 11:57:09 33b1e0a273af: Verifying Checksum 11:57:09 33b1e0a273af: Download complete 11:57:09 ec43610c2a17: Verifying Checksum 11:57:09 ec43610c2a17: Download complete 11:57:09 5d3b04190fa2: Verifying Checksum 11:57:09 5d3b04190fa2: Download complete 11:57:09 5eb5b503b376: Verifying Checksum 11:57:09 5eb5b503b376: Download complete 11:57:10 2f39f015ded8: Download complete 11:57:10 5eb5b503b376: Pull complete 11:57:10 5c69ac0246d0: Pull complete 11:57:11 ec43610c2a17: Pull complete 11:57:11 3a2ae6a8a46f: Pull complete 11:57:11 33b1e0a273af: Pull complete 11:57:11 5d3b04190fa2: Pull complete 11:57:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7811 in /w/workspace/foundry_device-virtual-go_PR-433 [Pipeline] { [Pipeline] ws 11:57:13 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:57:13 The recommended git tool is: git 11:57:15 2f39f015ded8: Pull complete 11:57:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:57:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:57:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:57:16 prd-ubuntu20.04-docker-8c-8g-7810 does not seem to be running inside a container 11:57:16 $ 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-433 -v /w/workspace/foundry_device-virtual-go_PR-433:/w/workspace/foundry_device-virtual-go_PR-433:rw,z -v /w/workspace/foundry_device-virtual-go_PR-433@tmp:/w/workspace/foundry_device-virtual-go_PR-433@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:latest cat 11:57:18 using credential edgex-jenkins-ssh 11:57:18 Cloning the remote Git repository 11:57:18 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:57:18 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:57:18 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:57:18 > git --version # timeout=10 11:57:18 > git --version # 'git version 2.25.1' 11:57:18 using GIT_SSH to set credentials SSH Credentials for GitHub 11:57:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:57:19 $ docker top 01a585dd19124dd00dfcc1da572a4a26fb6fec93166aae495310dc2616854b56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:57:20 ---> job-cost.sh 11:57:20 lf-activate-venv: SKIPPING 11:57:20 INFO: No Stack... 11:57:20 INFO: Retrieving Pricing Info for: v3-standard-8 11:57:20 INFO: Archiving Costs [Pipeline] sh 11:57:21 + + cat /w/workspace/foundry_device-virtual-go_PR-433/archives/cost.csv 11:57:21 cut -d, -f6 [Pipeline] lock 11:57:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-433-1-stack-cost] 11:57:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-433-1-stack-cost] did not exist. Created. 11:57:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-433-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:57:21 + echo total: 0.2199999988079071 [Pipeline] stash 11:57:21 Stashed 1 file(s) [Pipeline] } 11:57:21 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-433-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:57:21 $ docker stop --time=1 01a585dd19124dd00dfcc1da572a4a26fb6fec93166aae495310dc2616854b56 11:57:21 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:57:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:57:22 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:57:22 Merging remotes/origin/main commit 88cb92755446ff3d15da758ed0b4d5ad23298886 into PR head commit 83f85dbb577d829052191ac5a7fbc680df94ce17 11:57:22 Merge succeeded, producing 83f85dbb577d829052191ac5a7fbc680df94ce17 11:57:22 Checking out Revision 83f85dbb577d829052191ac5a7fbc680df94ce17 (PR-433) 11:57:22 $ docker rm -f --volumes 01a585dd19124dd00dfcc1da572a4a26fb6fec93166aae495310dc2616854b56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:57:23 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] // stage [Pipeline] } 11:57:23 > git --version # timeout=10 11:57:23 > git --version # 'git version 2.25.1' 11:57:23 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 11:57:22 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:57:22 using GIT_SSH to set credentials SSH Credentials for GitHub 11:57:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/433/head:refs/remotes/origin/PR-433 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:57:22 > git config core.sparsecheckout # timeout=10 11:57:22 > git checkout -f 83f85dbb577d829052191ac5a7fbc680df94ce17 # timeout=10 11:57:22 > git remote # timeout=10 11:57:22 > git config --get remote.origin.url # timeout=10 11:57:22 using GIT_SSH to set credentials SSH Credentials for GitHub 11:57:22 > git merge 88cb92755446ff3d15da758ed0b4d5ad23298886 # timeout=10 11:57:22 > git rev-parse HEAD^{commit} # timeout=10 11:57:22 > git config core.sparsecheckout # timeout=10 11:57:22 > git checkout -f 83f85dbb577d829052191ac5a7fbc680df94ce17 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:57:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:57:24 % Total % Received % Xferd Average Speed Time Time Time Current 11:57:24 Dload Upload Total Spent Left Speed 11:57:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 11:57:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:57:25 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 11:57:25 /etc/docker/daemon.json 11:57:25 { 11:57:25 "registry-mirrors": [ 11:57:25 "https://nexus3.edgexfoundry.org:10001" 11:57:25 ], 11:57:25 "bip": "10.250.0.254/24", 11:57:25 "hosts": [ 11:57:25 "tcp://0.0.0.0:5555", 11:57:25 "unix:///var/run/docker.sock" 11:57:25 ], 11:57:25 "mtu": 1458, 11:57:25 "selinux-enabled": true, 11:57:25 "seccomp-profile": "/etc/docker/seccomp.json" 11:57:25 } [Pipeline] sh 11:57:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:57:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:57:44 provisioning config files... 11:57:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config1918617912559639646tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:57:44 ---> docker-login.sh 11:57:44 nexus3.edgexfoundry.org:10001 11:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:45 Configure a credential helper to remove this warning. See 11:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:45 11:57:45 Login Succeeded 11:57:45 nexus3.edgexfoundry.org:10002 11:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:45 Configure a credential helper to remove this warning. See 11:57:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:45 11:57:45 Login Succeeded 11:57:45 nexus3.edgexfoundry.org:10003 11:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:46 Configure a credential helper to remove this warning. See 11:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:46 11:57:46 Login Succeeded 11:57:46 nexus3.edgexfoundry.org:10004 11:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:46 Configure a credential helper to remove this warning. See 11:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:46 11:57:46 Login Succeeded 11:57:46 docker.io 11:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:57:46 Configure a credential helper to remove this warning. See 11:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:57:46 11:57:46 Login Succeeded 11:57:46 ---> docker-login.sh ends [Pipeline] } 11:57:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:57:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:57:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:57:47 ========================================================= 11:57:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:57:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:57:48 + 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 . 11:57:48 Sending build context to Docker daemon 11.97MB 11:57:48 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:57:48 Step 2/12 : FROM ${BASE} AS builder 11:57:48 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:57:48 9fda8d8052c6: Pulling fs layer 11:57:48 5d54e960e981: Pulling fs layer 11:57:48 c4a7e357bf2a: Pulling fs layer 11:57:48 f0e02332f6b5: Pulling fs layer 11:57:48 cefa15bbcfad: Pulling fs layer 11:57:48 17808c966233: Pulling fs layer 11:57:48 f4c1fc716caa: Pulling fs layer 11:57:48 f0e02332f6b5: Waiting 11:57:48 cefa15bbcfad: Waiting 11:57:48 17808c966233: Waiting 11:57:48 f4c1fc716caa: Waiting 11:57:48 5d54e960e981: Verifying Checksum 11:57:48 5d54e960e981: Download complete 11:57:48 f0e02332f6b5: Verifying Checksum 11:57:48 f0e02332f6b5: Download complete 11:57:48 cefa15bbcfad: Verifying Checksum 11:57:48 cefa15bbcfad: Download complete 11:57:48 9fda8d8052c6: Download complete 11:57:49 f4c1fc716caa: Verifying Checksum 11:57:49 f4c1fc716caa: Download complete 11:57:49 9fda8d8052c6: Pull complete 11:57:50 5d54e960e981: Pull complete 11:57:50 c4a7e357bf2a: Verifying Checksum 11:57:50 c4a7e357bf2a: Download complete 11:57:51 17808c966233: Verifying Checksum 11:57:51 17808c966233: Download complete 11:58:01 c4a7e357bf2a: Pull complete 11:58:01 f0e02332f6b5: Pull complete 11:58:01 cefa15bbcfad: Pull complete 11:58:08 17808c966233: Pull complete 11:58:09 f4c1fc716caa: Pull complete 11:58:09 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 11:58:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:58:09 ---> ea914061e18c 11:58:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:58:11 ---> Running in f44d36ada255 11:58:11 Removing intermediate container f44d36ada255 11:58:11 ---> f017dbc4e1c8 11:58:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:58:11 ---> Running in 761ef1468d98 11:58:12 Removing intermediate container 761ef1468d98 11:58:12 ---> e9e90681a9bc 11:58:12 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:58:12 ---> Running in eb350d325012 11:58:12 Removing intermediate container eb350d325012 11:58:12 ---> d6170d54a304 11:58:12 Step 6/12 : WORKDIR /device-virtual-go 11:58:12 ---> Running in df646e9d8985 11:58:12 Removing intermediate container df646e9d8985 11:58:12 ---> 2ba5878b8502 11:58:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:58:12 ---> Running in 598274186d8b 11:58:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:58:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:58:15 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:58:15 (2/4) Installing libedit (20221030.3.1-r1) 11:58:15 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:58:15 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:58:15 Executing busybox-1.36.1-r2.trigger 11:58:15 OK: 270 MiB in 56 packages 11:58:16 Removing intermediate container 598274186d8b 11:58:16 ---> ffc951af893d 11:58:16 Step 8/12 : COPY go.mod vendor* ./ 11:58:16 ---> c9955a448418 11:58:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:58:16 ---> Running in 80c91502a2f6 11:59:25 Removing intermediate container 80c91502a2f6 11:59:25 ---> 1d1b003a1257 11:59:25 Step 10/12 : COPY . . 11:59:25 ---> 9f72c38a3c56 11:59:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:59:25 ---> Running in cdd742c40360 11:59:25 Removing intermediate container cdd742c40360 11:59:25 ---> 8406fb108341 11:59:25 Step 12/12 : RUN $MAKE 11:59:25 ---> Running in fe044d7e8b89 11:59:25 noop 11:59:25 Removing intermediate container fe044d7e8b89 11:59:25 ---> 3c47216ce36e 11:59:25 Successfully built 3c47216ce36e 11:59:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:25 + docker inspect -f . ci-base-image-arm64 11:59:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:59:25 prd-ubuntu20.04-docker-arm64-4c-16g-7811 does not seem to be running inside a container 11:59:25 $ 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 11:59:27 $ docker top a0172192f181dc85d96683f7f79e17c0eea73a276f92ccee84f280e0dc10d339 -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:28 + go version 11:59:28 go version go1.21.0 linux/arm64 [Pipeline] } 11:59:28 $ docker stop --time=1 a0172192f181dc85d96683f7f79e17c0eea73a276f92ccee84f280e0dc10d339 11:59:29 $ docker rm -f --volumes a0172192f181dc85d96683f7f79e17c0eea73a276f92ccee84f280e0dc10d339 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:30 + docker inspect -f . ci-base-image-arm64 11:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:59:30 prd-ubuntu20.04-docker-arm64-4c-16g-7811 does not seem to be running inside a container 11:59:30 $ 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 11:59:33 $ docker top 1f014c0534650e56dfc025e8581c578cf19ffb4da0b21f0c1959d025c2bebbfc -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:34 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:59:34 + make test 11:59:34 go test ./... -coverprofile=coverage.out 11:59:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:01:15 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:01:15 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.066s coverage: 58.4% of statements 12:01:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:01:15 go vet ./... 12:01:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:01:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:01:22 ./bin/test-attribution-txt.sh [Pipeline] echo 12:01:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:01:22 $ docker stop --time=1 1f014c0534650e56dfc025e8581c578cf19ffb4da0b21f0c1959d025c2bebbfc 12:01:23 $ docker rm -f --volumes 1f014c0534650e56dfc025e8581c578cf19ffb4da0b21f0c1959d025c2bebbfc [Pipeline] // withDockerContainer [Pipeline] sh 12:01:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:01:25 Warning: overwriting stash ‘coverage-report’ 12:01:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:01:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:01:26 + ls -al . 12:01:26 total 200 12:01:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 11:59 . 12:01:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 11:57 .. 12:01:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 11:57 .git 12:01:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 11:57 .github 12:01:26 -rw-rw-r-- 1 jenkins jenkins 337 Sep 25 11:57 .gitignore 12:01:26 -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 11:57 .golangci.yml 12:01:26 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 25 11:57 Attribution.txt 12:01:26 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 25 11:57 CHANGELOG.md 12:01:26 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 25 11:57 Dockerfile 12:01:26 -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 11:57 GOVERNANCE.md 12:01:26 -rw-rw-r-- 1 jenkins jenkins 660 Sep 25 11:57 Jenkinsfile 12:01:26 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 11:57 LICENSE 12:01:26 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 25 11:57 Makefile 12:01:26 -rw-rw-r-- 1 jenkins jenkins 623 Sep 25 11:57 OWNERS.md 12:01:26 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 25 11:57 README.md 12:01:26 -rw-rw-r-- 1 jenkins jenkins 5 Sep 25 11:55 VERSION 12:01:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 11:57 bin 12:01:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 11:57 cmd 12:01:26 -rw-r--r-- 1 jenkins jenkins 43063 Sep 25 12:01 coverage.out 12:01:26 -rw-rw-r-- 1 jenkins jenkins 3637 Sep 25 11:57 go.mod 12:01:26 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 25 11:57 go.sum 12:01:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 11:57 internal 12:01:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 11:57 snap 12:01:26 -rw-rw-r-- 1 jenkins jenkins 235 Sep 25 11:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:26 + 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=83f85dbb577d829052191ac5a7fbc680df94ce17 --label arch=arm64 --label version=0.0.0 . 12:01:27 Sending build context to Docker daemon 12.01MB 12:01:27 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 12:01:27 Step 2/25 : FROM ${BASE} AS builder 12:01:27 ---> 3c47216ce36e 12:01:27 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:01:27 ---> Running in 121ca5836082 12:01:27 Removing intermediate container 121ca5836082 12:01:27 ---> 8a62e9ca5f30 12:01:27 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:01:27 ---> Running in a3882aa118b1 12:01:27 Removing intermediate container a3882aa118b1 12:01:27 ---> cc85587bea2c 12:01:27 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:01:27 ---> Running in bd79b2edf867 12:01:28 Removing intermediate container bd79b2edf867 12:01:28 ---> ff6c423da80b 12:01:28 Step 6/25 : WORKDIR /device-virtual-go 12:01:28 ---> Running in 887d31bf18ad 12:01:28 Removing intermediate container 887d31bf18ad 12:01:28 ---> 3e9d88326146 12:01:28 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:01:28 ---> Running in 1eee000e4cd6 12:01:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:01:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:01:31 OK: 270 MiB in 56 packages 12:01:35 Removing intermediate container 1eee000e4cd6 12:01:35 ---> 717946cee209 12:01:35 Step 8/25 : COPY go.mod vendor* ./ 12:01:35 ---> 4abb8dde7ca8 12:01:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:01:35 ---> Running in 5c2628412f36 12:01:38 Removing intermediate container 5c2628412f36 12:01:38 ---> ebacb2fec74c 12:01:38 Step 10/25 : COPY . . 12:01:39 ---> d13216dc148d 12:01:39 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:01:39 ---> Running in f3867a271462 12:01:40 Removing intermediate container f3867a271462 12:01:40 ---> be6ad4b9e86c 12:01:40 Step 12/25 : RUN $MAKE 12:01:40 ---> Running in 75b986e4c3db 12:01:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:03:50 Removing intermediate container 75b986e4c3db 12:03:50 ---> 120af7235355 12:03:50 Step 13/25 : FROM alpine:3.18 12:03:50 3.18: Pulling from library/alpine 12:03:50 9fda8d8052c6: Already exists 12:03:50 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 12:03:50 Status: Downloaded newer image for alpine:3.18 12:03:50 ---> f6648c04cd6c 12:03:50 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:03:50 ---> Running in bea331363d79 12:03:50 Removing intermediate container bea331363d79 12:03:50 ---> 167d619434ad 12:03:50 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:03:50 ---> Running in 2e883efe6df3 12:03:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 12:03:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 12:03:50 (1/1) Installing dumb-init (1.2.5-r2) 12:03:50 Executing busybox-1.36.1-r2.trigger 12:03:50 OK: 8 MiB in 16 packages 12:03:50 Removing intermediate container 2e883efe6df3 12:03:50 ---> 899d3ff98eb3 12:03:50 Step 16/25 : WORKDIR / 12:03:50 ---> Running in a20c8290506e 12:03:50 Removing intermediate container a20c8290506e 12:03:50 ---> a2a9b1bd39f6 12:03:50 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:03:50 ---> 7b94542a4e79 12:03:50 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:03:50 ---> 0784a7d0e96c 12:03:50 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:03:50 ---> 6144b7ada35e 12:03:50 Step 20/25 : EXPOSE 59900 12:03:50 ---> Running in c1a34da31aff 12:03:50 Removing intermediate container c1a34da31aff 12:03:50 ---> 8bf1b27adcc0 12:03:50 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:03:50 ---> Running in c4e1ea973202 12:03:51 Removing intermediate container c4e1ea973202 12:03:51 ---> 7a7c47e93bef 12:03:51 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:03:51 ---> Running in b01f5f02fb23 12:03:51 Removing intermediate container b01f5f02fb23 12:03:51 ---> 42df5a531efb 12:03:51 Step 23/25 : LABEL arch=arm64 12:03:51 ---> Running in d14a165b089d 12:03:51 Removing intermediate container d14a165b089d 12:03:51 ---> 797a1624b74f 12:03:51 Step 24/25 : LABEL git_sha=83f85dbb577d829052191ac5a7fbc680df94ce17 12:03:51 ---> Running in cc0222caf689 12:03:52 Removing intermediate container cc0222caf689 12:03:52 ---> a2d39fab999a 12:03:52 Step 25/25 : LABEL version=0.0.0 12:03:52 ---> Running in cac0440f51cd 12:03:52 Removing intermediate container cac0440f51cd 12:03:52 ---> 946a740766cd 12:03:52 [Warning] One or more build-args [ARCH] were not consumed 12:03:52 Successfully built 946a740766cd 12:03:52 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:03:53 12:03:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:03:53 arm64: Pulling from edgex-lftools-log-publisher 12:03:53 8998bd30e6a1: Pulling fs layer 12:03:53 04944245beec: Pulling fs layer 12:03:53 699f458cf7ca: Pulling fs layer 12:03:53 765212b225bb: Pulling fs layer 12:03:53 f23df028b6ca: Pulling fs layer 12:03:53 d65c8cfc05b1: Pulling fs layer 12:03:53 2437ff75d9bd: Pulling fs layer 12:03:53 765212b225bb: Waiting 12:03:53 f23df028b6ca: Waiting 12:03:53 2437ff75d9bd: Waiting 12:03:53 d65c8cfc05b1: Waiting 12:03:54 04944245beec: Verifying Checksum 12:03:54 04944245beec: Download complete 12:03:54 765212b225bb: Verifying Checksum 12:03:54 765212b225bb: Download complete 12:03:54 f23df028b6ca: Verifying Checksum 12:03:54 f23df028b6ca: Download complete 12:03:54 d65c8cfc05b1: Verifying Checksum 12:03:54 d65c8cfc05b1: Download complete 12:03:54 699f458cf7ca: Download complete 12:03:54 8998bd30e6a1: Download complete 12:03:57 2437ff75d9bd: Verifying Checksum 12:03:57 2437ff75d9bd: Download complete 12:03:59 8998bd30e6a1: Pull complete 12:03:59 04944245beec: Pull complete 12:04:01 699f458cf7ca: Pull complete 12:04:01 765212b225bb: Pull complete 12:04:03 f23df028b6ca: Pull complete 12:04:03 d65c8cfc05b1: Pull complete 12:04:18 2437ff75d9bd: Pull complete 12:04:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:04:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:04:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:19 prd-ubuntu20.04-docker-arm64-4c-16g-7811 does not seem to be running inside a container 12:04:19 $ 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 12:04:21 $ docker top 2d437b471087147d828f089296fa8ffc1cd163260c1ac4aaebff747d98872191 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:04:22 ---> job-cost.sh 12:04:22 lf-activate-venv: SKIPPING 12:04:22 INFO: No Stack... 12:04:22 INFO: Retrieving Pricing Info for: v3-standard-4 12:04:23 INFO: Archiving Costs [Pipeline] sh 12:04:24 + cat+ /w/workspace/device-virtual-go/1/archives/cost.csv 12:04:24 cut -d, -f6 [Pipeline] lock 12:04:24 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-433-1-stack-cost] 12:04:24 Resource [jenkins-edgexfoundry-device-virtual-go-PR-433-1-stack-cost] did not exist. Created. 12:04:24 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-433-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:04:24 /w/workspace/device-virtual-go/1@tmp/durable-9aec3969/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:04:24 + echo total: 0.10999999940395355 [Pipeline] stash 12:04:25 Warning: overwriting stash ‘stack-cost’ 12:04:25 Stashed 1 file(s) [Pipeline] } 12:04:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-433-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:04:25 $ docker stop --time=1 2d437b471087147d828f089296fa8ffc1cd163260c1ac4aaebff747d98872191 12:04:26 $ docker rm -f --volumes 2d437b471087147d828f089296fa8ffc1cd163260c1ac4aaebff747d98872191 [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 12:04:27 provisioning config files... 12:04:27 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-433@tmp/config9322123856660686803tmp [Pipeline] { [Pipeline] sh 12:04:27 + set +x 12:04:27 + curl -s https://codecov.io/bash 12:04:27 + bash -s -- 12:04:27 12:04:27 _____ _ 12:04:27 / ____| | | 12:04:27 | | ___ __| | ___ ___ _____ __ 12:04:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:04:27 | |___| (_) | (_| | __/ (_| (_) \ V / 12:04:27 \_____\___/ \__,_|\___|\___\___/ \_/ 12:04:27 Bash-1.0.6 12:04:27 12:04:27 12:04:27 ==> git version 2.25.1 found 12:04:27 ==> 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 12:04:27 Release-Date: 2020-01-08 12:04:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:04:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:04:27 ==> Jenkins CI detected. 12:04:27 current dir:  /w/workspace/foundry_device-virtual-go_PR-433 12:04:27 project root: . 12:04:27 --> token set from env 12:04:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:04:27 ==> Running gcov in . (disable via -X gcov) 12:04:27 ==> Python coveragepy not found 12:04:27 ==> Searching for coverage reports in: 12:04:27 + . 12:04:27 -> Found 1 reports 12:04:27 ==> Detecting git/mercurial file structure 12:04:27 ==> Reading reports 12:04:27 + ./coverage.out bytes=43063 12:04:27 ==> Appending adjustments 12:04:27 https://docs.codecov.io/docs/fixing-reports 12:04:28 + Found adjustments 12:04:28 ==> Gzipping contents 12:04:28 8.0K /tmp/codecov.KsAdpy.gz 12:04:28 ==> Uploading reports 12:04:28 url: https://codecov.io 12:04:28 query: branch=PR-433&commit=83f85dbb577d829052191ac5a7fbc680df94ce17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-433%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=433&job=&cmd_args= 12:04:28 -> Pinging Codecov 12:04:28 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-433&commit=83f85dbb577d829052191ac5a7fbc680df94ce17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-433%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=433&job=&cmd_args= 12:04:28 -> Uploading to 12:04:28 https://storage.googleapis.com/codecov/v4/raw/2023-09-25/5E52B4B073DB2E39498172D8E973AA87/83f85dbb577d829052191ac5a7fbc680df94ce17/188e0613-1f56-4639-9f19-7ab97eeded19.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T120428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=351113bc3566b478bf5e9f07e9012adb98b2dd48af20ddd2d224992bf9edd3c6 12:04:28 % Total % Received % Xferd Average Speed Time Time Time Current 12:04:28 Dload Upload Total Spent Left Speed 12:04:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25411 --:--:-- --:--:-- --:--:-- 25411 100 5184 0 0 100 5184 0 24685 --:--:-- --:--:-- --:--:-- 24568 12:04:28 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/83f85dbb577d829052191ac5a7fbc680df94ce17 [Pipeline] } 12:04:28 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:04:30 + [ -d /w/workspace/foundry_device-virtual-go_PR-433/archives ] 12:04:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-433/archives 12:04:30 total 16 12:04:30 drwxr-xr-x 3 root root 4096 Sep 25 11:57 . 12:04:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 11:57 .. 12:04:30 drwxr-xr-x 2 root root 4096 Sep 25 11:57 cost 12:04:30 -rw-r--r-- 1 root root 89 Sep 25 11:57 cost.csv 12:04:30 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-433/archives 12:04:30 + ls -al /w/workspace/foundry_device-virtual-go_PR-433/archives 12:04:30 total 16 12:04:30 drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 11:57 . 12:04:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 11:57 .. 12:04:30 drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 11:57 cost 12:04:30 -rw-r--r-- 1 jenkins jenkins 89 Sep 25 11:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:04:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:04:31 ---> package-listing.sh 12:04:31 ++ facter osfamily 12:04:31 ++ tr '[:upper:]' '[:lower:]' 12:04:32 + OS_FAMILY=debian 12:04:32 + workspace=/w/workspace/foundry_device-virtual-go_PR-433 12:04:32 + START_PACKAGES=/tmp/packages_start.txt 12:04:32 + END_PACKAGES=/tmp/packages_end.txt 12:04:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:04:32 + PACKAGES=/tmp/packages_start.txt 12:04:32 + '[' /w/workspace/foundry_device-virtual-go_PR-433 ']' 12:04:32 + PACKAGES=/tmp/packages_end.txt 12:04:32 + case "${OS_FAMILY}" in 12:04:32 + dpkg -l 12:04:32 + grep '^ii' 12:04:32 + '[' -f /tmp/packages_start.txt ']' 12:04:32 + '[' -f /tmp/packages_end.txt ']' 12:04:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:04:32 + '[' /w/workspace/foundry_device-virtual-go_PR-433 ']' 12:04:32 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-433/archives/ 12:04:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-433/archives/ [Pipeline] echo 12:04:32 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-433/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:04:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:04:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:04:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:04:33 prd-ubuntu20.04-docker-8c-8g-7810 does not seem to be running inside a container 12:04:33 $ 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-433/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-433 -v /w/workspace/foundry_device-virtual-go_PR-433:/w/workspace/foundry_device-virtual-go_PR-433:rw,z -v /w/workspace/foundry_device-virtual-go_PR-433@tmp:/w/workspace/foundry_device-virtual-go_PR-433@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 12:04:33 $ docker top d42ec1e5598dedcf07993829d45747b90acfd6f7c65df5eac7b66fb76ae703d6 -eo pid,comm [Pipeline] { [Pipeline] sh 12:04:33 + touch /tmp/pre-build-complete [Pipeline] sh 12:04:34 + mkdir -p /var/log/sysstat [Pipeline] sh 12:04:34 + ls /var/log/sa-host 12:04:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:04:34 provisioning config files... 12:04:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-433@tmp/config3685107090995740728tmp [Pipeline] { [Pipeline] echo 12:04:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:04:35 ---> create-netrc.sh [Pipeline] } 12:04:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:04:35 ---> python-tools-install.sh [Pipeline] echo 12:04:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:04:35 ---> sudo-logs.sh 12:04:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:04:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:04:36 ---> job-cost.sh 12:04:36 lf-activate-venv: SKIPPING 12:04:36 DEBUG: total: 0.2199999988079071 12:04:36 INFO: Retrieving Stack Cost... 12:04:36 INFO: Retrieving Pricing Info for: v3-standard-8 12:04:37 INFO: Archiving Costs [Pipeline] echo 12:04:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:04:37 ---> logs-deploy.sh 12:04:37 lf-activate-venv: SKIPPING 12:04:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-433/1 12:04:37 INFO: archiving workspace using pattern(s): 12:04:38 Archives upload complete. 12:04:38 INFO: archiving logs to Nexus