Pull request #439 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2777ce04d2a25c3a53518871250838c4b32a3447+0f9d641867fc5ea0f7d8928df8972b1498c50331 (b8123c15967f76a98b73bc363e22cb4d92275716) 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-ssh4986374069046779284.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-ssh5208233891549499095.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-439/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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12767495346907596392.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-439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1727018450762036235.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-ssh9586208300412667745.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-439/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-439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8709083210849136545.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9504’ Running on prd-ubuntu20.04-docker-8c-8g-9506 in /w/workspace/foundry_device-virtual-go_PR-439 [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-439 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0f9d641867fc5ea0f7d8928df8972b1498c50331 into PR head commit 2777ce04d2a25c3a53518871250838c4b32a3447 Merge succeeded, producing 2777ce04d2a25c3a53518871250838c4b32a3447 Checking out Revision 2777ce04d2a25c3a53518871250838c4b32a3447 (PR-439) 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 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:32:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:32:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 2777ce04d2a25c3a53518871250838c4b32a3447 # 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 0f9d641867fc5ea0f7d8928df8972b1498c50331 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2777ce04d2a25c3a53518871250838c4b32a3447 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:32:44 ========================================================= 11:32:44 EdgeX Global Pipelines Version Info 11:32:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:32:45 ------------------- 11:32:45 stable info: 11:32:45 ------------------- 11:32:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:32:45 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:32:45 Message: update stable to v1.0.254 11:32:46 ------------------- 11:32:46 experimental info: 11:32:46 ------------------- 11:32:46 Commited By: **** collab-it+edgex@linuxfoundation.org 11:32:46 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:32:46 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:32:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-439 [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-439 [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-439 [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2777ce04d2a25c3a53518871250838c4b32a3447 [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2777ce0 [Pipeline] echo 11:32:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:32:47 provisioning config files... 11:32:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-439@tmp/config8136480015268577870tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:32:48 ---> docker-login.sh 11:32:48 nexus3.edgexfoundry.org:10001 11:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:48 Configure a credential helper to remove this warning. See 11:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:48 11:32:48 Login Succeeded 11:32:48 nexus3.edgexfoundry.org:10002 11:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:48 Configure a credential helper to remove this warning. See 11:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:48 11:32:48 Login Succeeded 11:32:48 nexus3.edgexfoundry.org:10003 11:32:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:48 Configure a credential helper to remove this warning. See 11:32:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:48 11:32:48 Login Succeeded 11:32:48 nexus3.edgexfoundry.org:10004 11:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:49 Configure a credential helper to remove this warning. See 11:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:49 11:32:49 Login Succeeded 11:32:49 docker.io 11:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:49 Configure a credential helper to remove this warning. See 11:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:49 11:32:49 Login Succeeded 11:32:49 ---> docker-login.sh ends [Pipeline] } 11:32:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:32:50 + git rev-list -1 --merges 2777ce04d2a25c3a53518871250838c4b32a3447~1..2777ce04d2a25c3a53518871250838c4b32a3447 [Pipeline] echo 11:32:50 -----------> git rev-list -1 --merges 2777ce04d2a25c3a53518871250838c4b32a3447~1..2777ce04d2a25c3a53518871250838c4b32a3447 2777ce04d2a25c3a53518871250838c4b32a3447 [false] [Pipeline] sh 11:32:50 + git log --format=format:%s -1 2777ce04d2a25c3a53518871250838c4b32a3447 [Pipeline] echo 11:32:50 ========================================================= 11:32:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:32:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:32:50 + git log --format=format:%s -1 2777ce04d2a25c3a53518871250838c4b32a3447 [Pipeline] echo 11:32:50 [semverPrep] GIT_COMMIT: 2777ce04d2a25c3a53518871250838c4b32a3447, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:32:50 [semverPrep] This is not a build commit. [Pipeline] sh 11:32:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:32:51 + grep -v github /etc/ssh/ssh_known_hosts 11:32:51 + [ -e /tmp/ssh_known_hosts ] 11:32:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:32:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:32:51 + sudo tee -a /etc/ssh/ssh_known_hosts 11:32:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:51 11:32:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:52 0.1.4: Pulling from edgex-devops/py-git-semver 11:32:52 b85a868b505f: Pulling fs layer 11:32:52 e2be974225ed: Pulling fs layer 11:32:52 339a4e72a1f5: Pulling fs layer 11:32:52 988bab9f4d93: Pulling fs layer 11:32:52 1469e6f7b9e6: Pulling fs layer 11:32:52 eaf3925da568: Pulling fs layer 11:32:52 bab4dde63d76: Pulling fs layer 11:32:52 bde34c3a00c8: Pulling fs layer 11:32:52 b352a97aabf1: Pulling fs layer 11:32:52 4872d77fe225: Pulling fs layer 11:32:52 5851b861e8e6: Pulling fs layer 11:32:52 988bab9f4d93: Waiting 11:32:52 1469e6f7b9e6: Waiting 11:32:52 eaf3925da568: Waiting 11:32:52 bab4dde63d76: Waiting 11:32:52 bde34c3a00c8: Waiting 11:32:52 b352a97aabf1: Waiting 11:32:52 4872d77fe225: Waiting 11:32:52 5851b861e8e6: Waiting 11:32:52 e2be974225ed: Download complete 11:32:52 988bab9f4d93: Verifying Checksum 11:32:52 988bab9f4d93: Download complete 11:32:52 1469e6f7b9e6: Verifying Checksum 11:32:52 1469e6f7b9e6: Download complete 11:32:52 339a4e72a1f5: Verifying Checksum 11:32:52 339a4e72a1f5: Download complete 11:32:52 eaf3925da568: Verifying Checksum 11:32:52 eaf3925da568: Download complete 11:32:52 bde34c3a00c8: Verifying Checksum 11:32:52 bde34c3a00c8: Download complete 11:32:52 b352a97aabf1: Download complete 11:32:52 4872d77fe225: Verifying Checksum 11:32:52 4872d77fe225: Download complete 11:32:52 5851b861e8e6: Download complete 11:32:52 b85a868b505f: Download complete 11:32:52 bab4dde63d76: Verifying Checksum 11:32:52 bab4dde63d76: Download complete 11:32:53 b85a868b505f: Pull complete 11:32:53 e2be974225ed: Pull complete 11:32:54 339a4e72a1f5: Pull complete 11:32:54 988bab9f4d93: Pull complete 11:32:54 1469e6f7b9e6: Pull complete 11:32:54 eaf3925da568: Pull complete 11:32:56 bab4dde63d76: Pull complete 11:32:56 bde34c3a00c8: Pull complete 11:32:56 b352a97aabf1: Pull complete 11:32:56 4872d77fe225: Pull complete 11:32:56 5851b861e8e6: Pull complete 11:32:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:32:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:32:56 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 11:32:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-439 -v /w/workspace/foundry_device-virtual-go_PR-439:/w/workspace/foundry_device-virtual-go_PR-439:rw,z -v /w/workspace/foundry_device-virtual-go_PR-439@tmp:/w/workspace/foundry_device-virtual-go_PR-439@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:32:58 $ docker top f89feab178618f9063a1b6905157d9c27a814061fe478fde84f2c3771119381c -eo pid,comm 11:32:59 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:32:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:32:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:32:59 [ssh-agent] Looking for ssh-agent implementation... 11:32:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:32:59 $ docker exec f89feab178618f9063a1b6905157d9c27a814061fe478fde84f2c3771119381c ssh-agent 11:32:59 SSH_AUTH_SOCK=/tmp/ssh-gpsrYrz6mVMn/agent.32 11:32:59 SSH_AGENT_PID=38 11:32:59 Running ssh-add (command line suppressed) 11:32:59 Identity added: /w/workspace/foundry_device-virtual-go_PR-439@tmp/private_key_12720137317206396062.key (/w/workspace/foundry_device-virtual-go_PR-439@tmp/private_key_12720137317206396062.key) 11:32:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:32:59 + git tag --points-at HEAD [Pipeline] } 11:32:59 $ docker exec --env ******** --env ******** f89feab178618f9063a1b6905157d9c27a814061fe478fde84f2c3771119381c ssh-agent -k 11:32:59 unset SSH_AUTH_SOCK; 11:32:59 unset SSH_AGENT_PID; 11:32:59 echo Agent pid 38 killed; 11:32:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:33:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:33:00 [ssh-agent] Looking for ssh-agent implementation... 11:33:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:33:00 $ docker exec f89feab178618f9063a1b6905157d9c27a814061fe478fde84f2c3771119381c ssh-agent 11:33:00 SSH_AUTH_SOCK=/tmp/ssh-lUx8oa2M1JlF/agent.71 11:33:00 SSH_AGENT_PID=77 11:33:00 Running ssh-add (command line suppressed) 11:33:00 Identity added: /w/workspace/foundry_device-virtual-go_PR-439@tmp/private_key_625328745037824646.key (/w/workspace/foundry_device-virtual-go_PR-439@tmp/private_key_625328745037824646.key) 11:33:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:33:00 + git semver init 11:33:01 2023-10-18 11:33:00,945 [run_init] DEBUG init version:0.0.0 force:False 11:33:01 2023-10-18 11:33:00,945 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-439/.semver 11:33:01 2023-10-18 11:33:00,946 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-439/.semver 11:33:01 2023-10-18 11:33:00,946 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-439/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-439, universal_newlines=False, shell=None, istream=None) 11:33:02 2023-10-18 11:33:02,068 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-439/.git/info/exclude 11:33:02 2023-10-18 11:33:02,069 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-439/.semver/PR-439 with force:False 11:33:02 2023-10-18 11:33:02,069 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-439/.semver/PR-439 11:33:02 2023-10-18 11:33:02,073 [execute] INFO git cat-file --batch-check 11:33:02 2023-10-18 11:33:02,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-439/.semver, universal_newlines=False, shell=None, istream=) 11:33:02 2023-10-18 11:33:02,079 [execute] INFO git cat-file --batch 11:33:02 2023-10-18 11:33:02,079 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-439/.semver, universal_newlines=False, shell=None, istream=) 11:33:02 2023-10-18 11:33:02,083 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-439/.semver/PR-439 11:33:02 0.0.0 [Pipeline] } 11:33:02 $ docker exec --env ******** --env ******** f89feab178618f9063a1b6905157d9c27a814061fe478fde84f2c3771119381c ssh-agent -k 11:33:02 unset SSH_AUTH_SOCK; 11:33:02 unset SSH_AGENT_PID; 11:33:02 echo Agent pid 77 killed; 11:33:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:33:02 + git semver [Pipeline] } 11:33:03 $ docker stop --time=1 f89feab178618f9063a1b6905157d9c27a814061fe478fde84f2c3771119381c 11:33:04 $ docker rm -f --volumes f89feab178618f9063a1b6905157d9c27a814061fe478fde84f2c3771119381c [Pipeline] // withDockerContainer [Pipeline] sh 11:33:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:33:05 Stashed 1 file(s) [Pipeline] echo 11:33:05 [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:33:05 provisioning config files... 11:33:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-439@tmp/config9882697878530986879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:33:06 ---> docker-login.sh 11:33:06 nexus3.edgexfoundry.org:10001 11:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:06 Configure a credential helper to remove this warning. See 11:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:06 11:33:06 Login Succeeded 11:33:06 nexus3.edgexfoundry.org:10002 11:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:06 Configure a credential helper to remove this warning. See 11:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:06 11:33:06 Login Succeeded 11:33:06 nexus3.edgexfoundry.org:10003 11:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:06 Configure a credential helper to remove this warning. See 11:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:06 11:33:06 Login Succeeded 11:33:06 nexus3.edgexfoundry.org:10004 11:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:06 Configure a credential helper to remove this warning. See 11:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:06 11:33:06 Login Succeeded 11:33:06 docker.io 11:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:06 Configure a credential helper to remove this warning. See 11:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:06 11:33:06 Login Succeeded 11:33:06 ---> docker-login.sh ends [Pipeline] } 11:33:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:33:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:33:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:33:07 ========================================================= 11:33:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:33:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:07 + 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:33:07 Sending build context to Docker daemon 23.68MB 11:33:07 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:33:07 Step 2/12 : FROM ${BASE} AS builder 11:33:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:33:07 7264a8db6415: Pulling fs layer 11:33:07 c4d48a809fc2: Pulling fs layer 11:33:07 4f1c88b9dad5: Pulling fs layer 11:33:07 ad3a456e5733: Pulling fs layer 11:33:07 33e27b845d1e: Pulling fs layer 11:33:07 c68163c4e522: Pulling fs layer 11:33:07 50da416c3ac9: Pulling fs layer 11:33:07 23d2d4c4bb30: Pulling fs layer 11:33:07 33e27b845d1e: Waiting 11:33:07 ad3a456e5733: Waiting 11:33:07 c68163c4e522: Waiting 11:33:07 23d2d4c4bb30: Waiting 11:33:07 50da416c3ac9: Waiting 11:33:07 c4d48a809fc2: Download complete 11:33:07 ad3a456e5733: Verifying Checksum 11:33:07 ad3a456e5733: Download complete 11:33:07 33e27b845d1e: Verifying Checksum 11:33:07 33e27b845d1e: Download complete 11:33:07 7264a8db6415: Verifying Checksum 11:33:07 7264a8db6415: Download complete 11:33:07 c68163c4e522: Verifying Checksum 11:33:07 c68163c4e522: Download complete 11:33:07 7264a8db6415: Pull complete 11:33:08 c4d48a809fc2: Pull complete 11:33:08 23d2d4c4bb30: Verifying Checksum 11:33:08 23d2d4c4bb30: Download complete 11:33:08 4f1c88b9dad5: Download complete 11:33:08 50da416c3ac9: Verifying Checksum 11:33:08 50da416c3ac9: Download complete 11:33:11 4f1c88b9dad5: Pull complete 11:33:11 ad3a456e5733: Pull complete 11:33:11 33e27b845d1e: Pull complete 11:33:11 c68163c4e522: Pull complete 11:33:13 50da416c3ac9: Pull complete 11:33:14 23d2d4c4bb30: Pull complete 11:33:14 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 11:33:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:33:14 ---> 0786185ac409 11:33:14 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:33:18 ---> Running in b04ed8a55cf4 11:33:18 Removing intermediate container b04ed8a55cf4 11:33:18 ---> 2f7f660b03dc 11:33:18 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:33:18 ---> Running in 864465fe6663 11:33:18 Removing intermediate container 864465fe6663 11:33:18 ---> 10e642cde800 11:33:18 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:33:18 ---> Running in dc731a361e90 11:33:18 Removing intermediate container dc731a361e90 11:33:18 ---> 6971c5c75166 11:33:18 Step 6/12 : WORKDIR /device-virtual-go 11:33:18 ---> Running in b327ea5740bb 11:33:18 Removing intermediate container b327ea5740bb 11:33:18 ---> b6c3366d5950 11:33:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:33:18 ---> Running in 0690ff494061 11:33:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:33:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:33:18 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:33:18 (2/4) Installing libedit (20221030.3.1-r1) 11:33:18 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:33:18 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:33:18 Executing busybox-1.36.1-r2.trigger 11:33:18 OK: 268 MiB in 56 packages 11:33:19 Removing intermediate container 0690ff494061 11:33:19 ---> c5fa9588c234 11:33:19 Step 8/12 : COPY go.mod vendor* ./ 11:33:19 ---> 003f84f1c3f0 11:33:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:33:19 ---> Running in 5527cac81c60 11:33:20 Still waiting to schedule task 11:33:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9505’ 11:34:06 Removing intermediate container 5527cac81c60 11:34:06 ---> 2155f319a4c2 11:34:06 Step 10/12 : COPY . . 11:34:06 ---> b7ddbab243c8 11:34:06 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:34:06 ---> Running in b0d6ab047b22 11:34:06 Removing intermediate container b0d6ab047b22 11:34:06 ---> 2912838d4d70 11:34:06 Step 12/12 : RUN $MAKE 11:34:06 ---> Running in 128ab591eb8e 11:34:06 noop 11:34:06 Removing intermediate container 128ab591eb8e 11:34:06 ---> 5481f059e466 11:34:06 Successfully built 5481f059e466 11:34:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:06 + docker inspect -f . ci-base-image-x86_64 11:34:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:06 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 11:34:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-439 -v /w/workspace/foundry_device-virtual-go_PR-439:/w/workspace/foundry_device-virtual-go_PR-439:rw,z -v /w/workspace/foundry_device-virtual-go_PR-439@tmp:/w/workspace/foundry_device-virtual-go_PR-439@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:34:06 $ docker top dc75a14b621459ecb0b99e440eaaf074e0006a256f76a644d3c5b076851ce7eb -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:07 + go version 11:34:07 go version go1.21.0 linux/amd64 [Pipeline] } 11:34:07 $ docker stop --time=1 dc75a14b621459ecb0b99e440eaaf074e0006a256f76a644d3c5b076851ce7eb 11:34:08 $ docker rm -f --volumes dc75a14b621459ecb0b99e440eaaf074e0006a256f76a644d3c5b076851ce7eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:09 + docker inspect -f . ci-base-image-x86_64 11:34:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:09 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 11:34:09 $ 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-439 -v /w/workspace/foundry_device-virtual-go_PR-439:/w/workspace/foundry_device-virtual-go_PR-439:rw,z -v /w/workspace/foundry_device-virtual-go_PR-439@tmp:/w/workspace/foundry_device-virtual-go_PR-439@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:34:09 $ docker top 616a4611f632f6f9015b091c954beb57642280484886c4d10847aa9df030840d -eo pid,comm [Pipeline] { [Pipeline] sh 11:34:10 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-439 [Pipeline] fileExists [Pipeline] sh 11:34:10 + make test 11:34:10 go test ./... -coverprofile=coverage.out 11:34:12 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:34:21 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:34:21 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements 11:34:30 go vet ./... 11:34:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:34:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:34:32 ./bin/test-attribution-txt.sh [Pipeline] echo 11:34:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:34:32 $ docker stop --time=1 616a4611f632f6f9015b091c954beb57642280484886c4d10847aa9df030840d 11:34:35 $ docker rm -f --volumes 616a4611f632f6f9015b091c954beb57642280484886c4d10847aa9df030840d [Pipeline] // withDockerContainer [Pipeline] sh 11:34:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:34:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:34:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:34:37 + ls -al . 11:34:37 total 204 11:34:37 drwxrwxr-x 9 jenkins jenkins 4096 Oct 18 11:34 . 11:34:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:32 .. 11:34:37 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 11:34 .git 11:34:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:32 .github 11:34:37 -rw-rw-r-- 1 jenkins jenkins 337 Oct 18 11:32 .gitignore 11:34:37 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 11:32 .golangci.yml 11:34:37 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 11:33 .semver 11:34:37 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 18 11:32 Attribution.txt 11:34:37 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 18 11:32 CHANGELOG.md 11:34:37 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 18 11:32 Dockerfile 11:34:37 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 11:32 GOVERNANCE.md 11:34:37 -rw-rw-r-- 1 jenkins jenkins 660 Oct 18 11:32 Jenkinsfile 11:34:37 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 11:32 LICENSE 11:34:37 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 18 11:32 Makefile 11:34:37 -rw-rw-r-- 1 jenkins jenkins 623 Oct 18 11:32 OWNERS.md 11:34:37 -rw-rw-r-- 1 jenkins jenkins 4111 Oct 18 11:32 README.md 11:34:37 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 11:33 VERSION 11:34:37 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 11:32 bin 11:34:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:32 cmd 11:34:37 -rw-r--r-- 1 jenkins jenkins 43063 Oct 18 11:34 coverage.out 11:34:37 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 18 11:32 go.mod 11:34:37 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 18 11:32 go.sum 11:34:37 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:32 internal 11:34:37 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:32 snap 11:34:37 -rw-rw-r-- 1 jenkins jenkins 235 Oct 18 11:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:37 + 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=2777ce04d2a25c3a53518871250838c4b32a3447 --label arch=amd64 --label version=0.0.0 . 11:34:37 Sending build context to Docker daemon 23.73MB 11:34:37 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:34:37 Step 2/25 : FROM ${BASE} AS builder 11:34:37 ---> 5481f059e466 11:34:37 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:34:38 ---> Running in 8b52d996a7a1 11:34:38 Removing intermediate container 8b52d996a7a1 11:34:38 ---> 3a646621bb71 11:34:38 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:34:38 ---> Running in 58023189b7ee 11:34:38 Removing intermediate container 58023189b7ee 11:34:38 ---> 0a0b2097460a 11:34:38 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:34:38 ---> Running in 3ada9b16cf74 11:34:38 Removing intermediate container 3ada9b16cf74 11:34:38 ---> c46f15aa8702 11:34:38 Step 6/25 : WORKDIR /device-virtual-go 11:34:38 ---> Running in f8dedaaa8a00 11:34:38 Removing intermediate container f8dedaaa8a00 11:34:38 ---> 53da76413bbb 11:34:38 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:34:38 ---> Running in ee386a5c1df9 11:34:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:34:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:34:39 OK: 268 MiB in 56 packages 11:34:39 Removing intermediate container ee386a5c1df9 11:34:39 ---> 63caaf28a42d 11:34:39 Step 8/25 : COPY go.mod vendor* ./ 11:34:40 ---> caef0af2a752 11:34:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:34:40 ---> Running in 197a33299750 11:34:40 Removing intermediate container 197a33299750 11:34:40 ---> ace75fc71453 11:34:40 Step 10/25 : COPY . . 11:34:41 ---> 97aa035f2ab8 11:34:41 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:34:41 ---> Running in b7107089529f 11:34:41 Removing intermediate container b7107089529f 11:34:41 ---> fda6b8881214 11:34:41 Step 12/25 : RUN $MAKE 11:34:41 ---> Running in 1778bb5f1cba 11:34:41 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.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:35:03 Removing intermediate container 1778bb5f1cba 11:35:03 ---> 7cf78872f49f 11:35:03 Step 13/25 : FROM alpine:3.18 11:35:03 3.18: Pulling from library/alpine 11:35:03 96526aa774ef: Pulling fs layer 11:35:03 96526aa774ef: Verifying Checksum 11:35:03 96526aa774ef: Download complete 11:35:03 96526aa774ef: Pull complete 11:35:03 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:35:03 Status: Downloaded newer image for alpine:3.18 11:35:03 ---> 8ca4688f4f35 11:35:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:35:03 ---> Running in e68fe2707888 11:35:03 Removing intermediate container e68fe2707888 11:35:03 ---> 7f77ab78fae1 11:35:03 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:35:03 ---> Running in ce5a44ad2812 11:35:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:35:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:35:03 (1/1) Installing dumb-init (1.2.5-r2) 11:35:03 Executing busybox-1.36.1-r2.trigger 11:35:03 OK: 7 MiB in 16 packages 11:35:03 Removing intermediate container ce5a44ad2812 11:35:03 ---> 9b84828d0b9c 11:35:03 Step 16/25 : WORKDIR / 11:35:03 ---> Running in 787b23ef5375 11:35:03 Removing intermediate container 787b23ef5375 11:35:03 ---> e6bd361ce5a9 11:35:03 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:35:03 ---> 39a4ff8b0ece 11:35:03 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:35:03 ---> 658a68cfdda3 11:35:03 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:35:04 ---> b5991b63c994 11:35:04 Step 20/25 : EXPOSE 59900 11:35:04 ---> Running in 66dc470cc7fe 11:35:04 Removing intermediate container 66dc470cc7fe 11:35:04 ---> c3b4008f1026 11:35:04 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:35:04 ---> Running in 14ff04d09b45 11:35:04 Removing intermediate container 14ff04d09b45 11:35:04 ---> 75643da6da32 11:35:04 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:35:04 ---> Running in 50bb04ab5b86 11:35:04 Removing intermediate container 50bb04ab5b86 11:35:04 ---> 305bc47ac393 11:35:04 Step 23/25 : LABEL arch=amd64 11:35:04 ---> Running in 9a26b5191c31 11:35:04 Removing intermediate container 9a26b5191c31 11:35:04 ---> 2d1bd4693339 11:35:04 Step 24/25 : LABEL git_sha=2777ce04d2a25c3a53518871250838c4b32a3447 11:35:04 ---> Running in 557de1c01631 11:35:04 Removing intermediate container 557de1c01631 11:35:04 ---> 7f6c3f9e473a 11:35:04 Step 25/25 : LABEL version=0.0.0 11:35:04 ---> Running in 4f4004fb0f80 11:35:04 Removing intermediate container 4f4004fb0f80 11:35:04 ---> dfa3468ebb9b 11:35:04 [Warning] One or more build-args [ARCH] were not consumed 11:35:04 Successfully built dfa3468ebb9b 11:35:04 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:35:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:05 11:35:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:06 latest: Pulling from edgex-lftools-log-publisher 11:35:06 5eb5b503b376: Pulling fs layer 11:35:06 5c69ac0246d0: Pulling fs layer 11:35:06 ec43610c2a17: Pulling fs layer 11:35:06 3a2ae6a8a46f: Pulling fs layer 11:35:06 33b1e0a273af: Pulling fs layer 11:35:06 5d3b04190fa2: Pulling fs layer 11:35:06 2f39f015ded8: Pulling fs layer 11:35:06 33b1e0a273af: Waiting 11:35:06 5d3b04190fa2: Waiting 11:35:06 2f39f015ded8: Waiting 11:35:06 3a2ae6a8a46f: Waiting 11:35:06 5c69ac0246d0: Verifying Checksum 11:35:06 5c69ac0246d0: Download complete 11:35:06 3a2ae6a8a46f: Verifying Checksum 11:35:06 3a2ae6a8a46f: Download complete 11:35:06 33b1e0a273af: Verifying Checksum 11:35:06 33b1e0a273af: Download complete 11:35:06 ec43610c2a17: Verifying Checksum 11:35:06 ec43610c2a17: Download complete 11:35:06 5d3b04190fa2: Download complete 11:35:06 5eb5b503b376: Verifying Checksum 11:35:06 5eb5b503b376: Download complete 11:35:06 2f39f015ded8: Download complete 11:35:07 5eb5b503b376: Pull complete 11:35:07 5c69ac0246d0: Pull complete 11:35:07 ec43610c2a17: Pull complete 11:35:07 3a2ae6a8a46f: Pull complete 11:35:07 33b1e0a273af: Pull complete 11:35:08 5d3b04190fa2: Pull complete 11:35:12 2f39f015ded8: Pull complete 11:35:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:35:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:35:12 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 11:35:12 $ 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-439 -v /w/workspace/foundry_device-virtual-go_PR-439:/w/workspace/foundry_device-virtual-go_PR-439:rw,z -v /w/workspace/foundry_device-virtual-go_PR-439@tmp:/w/workspace/foundry_device-virtual-go_PR-439@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:35:16 $ docker top 96ad2c85f8b96481f786c621f5eb2739a92a30c184d3c21634c917730ba82178 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:35:16 ---> job-cost.sh 11:35:16 lf-activate-venv: SKIPPING 11:35:16 INFO: No Stack... 11:35:16 INFO: Retrieving Pricing Info for: v3-standard-8 11:35:17 INFO: Archiving Costs [Pipeline] sh 11:35:17 + cat /w/workspace/foundry_device-virtual-go_PR-439/archives/cost.csv 11:35:17 + cut -d, -f6 [Pipeline] lock 11:35:17 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-439-1-stack-cost] 11:35:17 Resource [jenkins-edgexfoundry-device-virtual-go-PR-439-1-stack-cost] did not exist. Created. 11:35:17 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:35:18 + echo total: 0.2199999988079071 [Pipeline] stash 11:35:18 Stashed 1 file(s) [Pipeline] } 11:35:18 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:35:18 $ docker stop --time=1 96ad2c85f8b96481f786c621f5eb2739a92a30c184d3c21634c917730ba82178 11:35:19 $ docker rm -f --volumes 96ad2c85f8b96481f786c621f5eb2739a92a30c184d3c21634c917730ba82178 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:36:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9507 in /w/workspace/foundry_device-virtual-go_PR-439 [Pipeline] { [Pipeline] ws 11:36:55 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:36:55 The recommended git tool is: git 11:37:00 using credential edgex-jenkins-ssh 11:37:00 Cloning the remote Git repository 11:37:00 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:37:00 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:37:00 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:37:00 > git --version # timeout=10 11:37:00 > git --version # 'git version 2.25.1' 11:37:00 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:37:03 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:37:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:37:04 Merging remotes/origin/main commit 0f9d641867fc5ea0f7d8928df8972b1498c50331 into PR head commit 2777ce04d2a25c3a53518871250838c4b32a3447 11:37:05 Merge succeeded, producing 2777ce04d2a25c3a53518871250838c4b32a3447 11:37:05 Checking out Revision 2777ce04d2a25c3a53518871250838c4b32a3447 (PR-439) 11:37:04 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:37:04 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:37:04 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/439/head:refs/remotes/origin/PR-439 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:37:04 > git config core.sparsecheckout # timeout=10 11:37:04 > git checkout -f 2777ce04d2a25c3a53518871250838c4b32a3447 # timeout=10 11:37:05 > git remote # timeout=10 11:37:05 > git config --get remote.origin.url # timeout=10 11:37:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:37:05 > git merge 0f9d641867fc5ea0f7d8928df8972b1498c50331 # timeout=10 11:37:05 > git rev-parse HEAD^{commit} # timeout=10 11:37:05 > git config core.sparsecheckout # timeout=10 11:37:05 > git checkout -f 2777ce04d2a25c3a53518871250838c4b32a3447 # timeout=10 11:37:05 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:37:05 > git --version # timeout=10 11:37:05 > git --version # 'git version 2.25.1' 11:37:05 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:37:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:37:06 % Total % Received % Xferd Average Speed Time Time Time Current 11:37:06 Dload Upload Total Spent Left Speed 11:37:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 11:37:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:37:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:37:07 + sudo tee /etc/docker/daemon.new 11:37:07 { 11:37:07 "registry-mirrors": [ 11:37:07 "https://nexus3.edgexfoundry.org:10001" 11:37:07 ], 11:37:07 "bip": "10.250.0.254/24", 11:37:07 "hosts": [ 11:37:07 "tcp://0.0.0.0:5555", 11:37:07 "unix:///var/run/docker.sock" 11:37:07 ], 11:37:07 "mtu": 1458, 11:37:07 "selinux-enabled": true, 11:37:07 "seccomp-profile": "/etc/docker/seccomp.json" 11:37:07 } [Pipeline] sh 11:37:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:37:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:37:26 provisioning config files... 11:37:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config13453131819127684799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:37:27 ---> docker-login.sh 11:37:27 nexus3.edgexfoundry.org:10001 11:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:27 Configure a credential helper to remove this warning. See 11:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:27 11:37:27 Login Succeeded 11:37:27 nexus3.edgexfoundry.org:10002 11:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:28 Configure a credential helper to remove this warning. See 11:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:28 11:37:28 Login Succeeded 11:37:28 nexus3.edgexfoundry.org:10003 11:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:28 Configure a credential helper to remove this warning. See 11:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:28 11:37:28 Login Succeeded 11:37:28 nexus3.edgexfoundry.org:10004 11:37:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:28 Configure a credential helper to remove this warning. See 11:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:28 11:37:28 Login Succeeded 11:37:29 docker.io 11:37:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:37:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:37:29 Configure a credential helper to remove this warning. See 11:37:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:37:29 11:37:29 Login Succeeded 11:37:29 ---> docker-login.sh ends [Pipeline] } 11:37:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:37:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:37:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:37:30 ========================================================= 11:37:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:37:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:37:30 + 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:37:31 Sending build context to Docker daemon 11.98MB 11:37:31 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:37:31 Step 2/12 : FROM ${BASE} AS builder 11:37:31 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:37:31 9fda8d8052c6: Pulling fs layer 11:37:31 5d54e960e981: Pulling fs layer 11:37:31 c4a7e357bf2a: Pulling fs layer 11:37:31 f0e02332f6b5: Pulling fs layer 11:37:31 cefa15bbcfad: Pulling fs layer 11:37:31 17808c966233: Pulling fs layer 11:37:31 f0e02332f6b5: Waiting 11:37:31 f4c1fc716caa: Pulling fs layer 11:37:31 17808c966233: Waiting 11:37:31 f4c1fc716caa: Waiting 11:37:31 5d54e960e981: Verifying Checksum 11:37:31 5d54e960e981: Download complete 11:37:31 f0e02332f6b5: Verifying Checksum 11:37:31 f0e02332f6b5: Download complete 11:37:31 cefa15bbcfad: Verifying Checksum 11:37:31 cefa15bbcfad: Download complete 11:37:31 9fda8d8052c6: Verifying Checksum 11:37:31 9fda8d8052c6: Download complete 11:37:31 f4c1fc716caa: Verifying Checksum 11:37:31 f4c1fc716caa: Download complete 11:37:32 9fda8d8052c6: Pull complete 11:37:33 5d54e960e981: Pull complete 11:37:33 c4a7e357bf2a: Verifying Checksum 11:37:33 c4a7e357bf2a: Download complete 11:37:34 17808c966233: Verifying Checksum 11:37:34 17808c966233: Download complete 11:37:46 c4a7e357bf2a: Pull complete 11:37:46 f0e02332f6b5: Pull complete 11:37:46 cefa15bbcfad: Pull complete 11:37:59 17808c966233: Pull complete 11:37:59 f4c1fc716caa: Pull complete 11:37:59 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 11:37:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:37:59 ---> ea914061e18c 11:37:59 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:38:01 ---> Running in 7e3ac7a2a69a 11:38:01 Removing intermediate container 7e3ac7a2a69a 11:38:01 ---> 30facc8aff3f 11:38:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:38:01 ---> Running in d7fe2d940d64 11:38:02 Removing intermediate container d7fe2d940d64 11:38:02 ---> 8512136177d7 11:38:02 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:38:02 ---> Running in 2653b81a3d86 11:38:02 Removing intermediate container 2653b81a3d86 11:38:02 ---> 1f9d03412548 11:38:02 Step 6/12 : WORKDIR /device-virtual-go 11:38:02 ---> Running in 73b0a50cadc6 11:38:02 Removing intermediate container 73b0a50cadc6 11:38:02 ---> dc5c765b5d2e 11:38:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:38:02 ---> Running in 8ed81defdd5f 11:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:38:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:38:05 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:38:05 (2/4) Installing libedit (20221030.3.1-r1) 11:38:05 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:38:05 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:38:05 Executing busybox-1.36.1-r2.trigger 11:38:05 OK: 270 MiB in 56 packages 11:38:06 Removing intermediate container 8ed81defdd5f 11:38:06 ---> 6f6be5ae16aa 11:38:06 Step 8/12 : COPY go.mod vendor* ./ 11:38:07 ---> cc4da046d71b 11:38:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:38:07 ---> Running in 19146e15a84a 11:39:43 Removing intermediate container 19146e15a84a 11:39:43 ---> f311e2cc2005 11:39:43 Step 10/12 : COPY . . 11:39:43 ---> 5ca509b85220 11:39:43 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:39:43 ---> Running in e924359701ca 11:39:43 Removing intermediate container e924359701ca 11:39:43 ---> 7cdf77540ef4 11:39:43 Step 12/12 : RUN $MAKE 11:39:43 ---> Running in 1f0c425ad590 11:39:43 noop 11:39:43 Removing intermediate container 1f0c425ad590 11:39:43 ---> 16914fc98dba 11:39:43 Successfully built 16914fc98dba 11:39:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:44 + docker inspect -f . ci-base-image-arm64 11:39:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:44 prd-ubuntu20.04-docker-arm64-4c-16g-9507 does not seem to be running inside a container 11:39:44 $ 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 ******** ci-base-image-arm64 cat 11:39:47 $ docker top 24488fc5ec07f42b4c68fe9784d323541b0d06b936c3f04188c74c0949ebaefe -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:48 + go version 11:39:48 go version go1.21.0 linux/arm64 [Pipeline] } 11:39:48 $ docker stop --time=1 24488fc5ec07f42b4c68fe9784d323541b0d06b936c3f04188c74c0949ebaefe 11:39:50 $ docker rm -f --volumes 24488fc5ec07f42b4c68fe9784d323541b0d06b936c3f04188c74c0949ebaefe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:51 + docker inspect -f . ci-base-image-arm64 11:39:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:39:51 prd-ubuntu20.04-docker-arm64-4c-16g-9507 does not seem to be running inside a container 11:39:51 $ 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 ******** ci-base-image-arm64 cat 11:39:52 $ docker top 77e0860863157b194593e40e28f32873c801f60d2ac948680430cd8937065fc5 -eo pid,comm [Pipeline] { [Pipeline] sh 11:39:53 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:39:54 + make test 11:39:54 go test ./... -coverprofile=coverage.out 11:39:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:41:35 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:41:35 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.067s coverage: 58.4% of statements 11:41:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:41:35 go vet ./... 11:41:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:41:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:41:45 ./bin/test-attribution-txt.sh [Pipeline] echo 11:41:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:41:45 $ docker stop --time=1 77e0860863157b194593e40e28f32873c801f60d2ac948680430cd8937065fc5 11:41:47 $ docker rm -f --volumes 77e0860863157b194593e40e28f32873c801f60d2ac948680430cd8937065fc5 [Pipeline] // withDockerContainer [Pipeline] sh 11:41:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:41:48 Warning: overwriting stash ‘coverage-report’ 11:41:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:41:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:41:49 + ls -al . 11:41:49 total 200 11:41:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 11:39 . 11:41:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:37 .. 11:41:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 18 11:37 .git 11:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:37 .github 11:41:49 -rw-rw-r-- 1 jenkins jenkins 337 Oct 18 11:37 .gitignore 11:41:49 -rw-rw-r-- 1 jenkins jenkins 41 Oct 18 11:37 .golangci.yml 11:41:49 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 18 11:37 Attribution.txt 11:41:49 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 18 11:37 CHANGELOG.md 11:41:49 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 18 11:37 Dockerfile 11:41:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 18 11:37 GOVERNANCE.md 11:41:49 -rw-rw-r-- 1 jenkins jenkins 660 Oct 18 11:37 Jenkinsfile 11:41:49 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 18 11:37 LICENSE 11:41:49 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 18 11:37 Makefile 11:41:49 -rw-rw-r-- 1 jenkins jenkins 623 Oct 18 11:37 OWNERS.md 11:41:49 -rw-rw-r-- 1 jenkins jenkins 4111 Oct 18 11:37 README.md 11:41:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 18 11:33 VERSION 11:41:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 18 11:37 bin 11:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:37 cmd 11:41:49 -rw-r--r-- 1 jenkins jenkins 43063 Oct 18 11:41 coverage.out 11:41:49 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 18 11:37 go.mod 11:41:49 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 18 11:37 go.sum 11:41:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 18 11:37 internal 11:41:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 18 11:37 snap 11:41:49 -rw-rw-r-- 1 jenkins jenkins 235 Oct 18 11:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:50 + 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=2777ce04d2a25c3a53518871250838c4b32a3447 --label arch=arm64 --label version=0.0.0 . 11:41:50 Sending build context to Docker daemon 12.03MB 11:41:50 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:41:50 Step 2/25 : FROM ${BASE} AS builder 11:41:50 ---> 16914fc98dba 11:41:50 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:41:50 ---> Running in b5f49f9b4b95 11:41:51 Removing intermediate container b5f49f9b4b95 11:41:51 ---> 5d5da36a64d2 11:41:51 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:41:51 ---> Running in 625c47265601 11:41:51 Removing intermediate container 625c47265601 11:41:51 ---> 60138375fc5f 11:41:51 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:41:51 ---> Running in fa54a9c05723 11:41:52 Removing intermediate container fa54a9c05723 11:41:52 ---> 5f73af3a8e6c 11:41:52 Step 6/25 : WORKDIR /device-virtual-go 11:41:52 ---> Running in fb10ddc7ccf4 11:41:55 Removing intermediate container fb10ddc7ccf4 11:41:55 ---> 4c794dafa3b0 11:41:55 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:41:55 ---> Running in 5298fa40d947 11:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:41:58 OK: 270 MiB in 56 packages 11:41:58 Removing intermediate container 5298fa40d947 11:41:58 ---> 60f3070624d4 11:41:58 Step 8/25 : COPY go.mod vendor* ./ 11:41:59 ---> 8020efbeb845 11:41:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:41:59 ---> Running in 04da8e2330d8 11:42:02 Removing intermediate container 04da8e2330d8 11:42:02 ---> 17b64ac9786a 11:42:02 Step 10/25 : COPY . . 11:42:03 ---> 4bda1db5e344 11:42:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:42:03 ---> Running in 9a59f437866f 11:42:03 Removing intermediate container 9a59f437866f 11:42:03 ---> 3f278abc2da0 11:42:03 Step 12/25 : RUN $MAKE 11:42:03 ---> Running in 5ff4d60a12be 11:42:04 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.35" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:43:56 Removing intermediate container 5ff4d60a12be 11:43:56 ---> 8c229120e98c 11:43:56 Step 13/25 : FROM alpine:3.18 11:43:56 3.18: Pulling from library/alpine 11:43:56 579b34f0a95b: Pulling fs layer 11:43:56 579b34f0a95b: Verifying Checksum 11:43:56 579b34f0a95b: Download complete 11:43:56 579b34f0a95b: Pull complete 11:43:56 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 11:43:56 Status: Downloaded newer image for alpine:3.18 11:43:56 ---> 3cc203321400 11:43:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:43:56 ---> Running in 47cfeea771e1 11:43:56 Removing intermediate container 47cfeea771e1 11:43:56 ---> 75c180f5b037 11:43:56 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:43:56 ---> Running in c6b8bbdc0c8a 11:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:43:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:43:56 (1/1) Installing dumb-init (1.2.5-r2) 11:43:56 Executing busybox-1.36.1-r2.trigger 11:43:56 OK: 8 MiB in 16 packages 11:43:56 Removing intermediate container c6b8bbdc0c8a 11:43:56 ---> 157388d4a667 11:43:56 Step 16/25 : WORKDIR / 11:43:56 ---> Running in 1c979a2486c1 11:43:56 Removing intermediate container 1c979a2486c1 11:43:56 ---> 4d092e1de8f2 11:43:56 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:43:56 ---> 6ad9a68e5c9c 11:43:56 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:43:56 ---> 0992e11390e2 11:43:56 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:43:57 ---> c427f0cad336 11:43:57 Step 20/25 : EXPOSE 59900 11:43:57 ---> Running in 63e8b4c5b6f7 11:43:57 Removing intermediate container 63e8b4c5b6f7 11:43:57 ---> 2d01620a532e 11:43:57 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:43:57 ---> Running in 82b23d1a8594 11:43:58 Removing intermediate container 82b23d1a8594 11:43:58 ---> 8f9a6b9cd6a6 11:43:58 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:43:58 ---> Running in 35121ccbfc6b 11:43:58 Removing intermediate container 35121ccbfc6b 11:43:58 ---> 01982a619e23 11:43:58 Step 23/25 : LABEL arch=arm64 11:43:58 ---> Running in 88a6eb3e2e8b 11:43:58 Removing intermediate container 88a6eb3e2e8b 11:43:58 ---> acb9c5f71cab 11:43:58 Step 24/25 : LABEL git_sha=2777ce04d2a25c3a53518871250838c4b32a3447 11:43:59 ---> Running in 961995953d58 11:43:59 Removing intermediate container 961995953d58 11:43:59 ---> d9c6c7c44377 11:43:59 Step 25/25 : LABEL version=0.0.0 11:43:59 ---> Running in dad3afeb4e6e 11:44:00 Removing intermediate container dad3afeb4e6e 11:44:00 ---> 0ff448802902 11:44:00 [Warning] One or more build-args [ARCH] were not consumed 11:44:00 Successfully built 0ff448802902 11:44:00 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 11:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:44:00 11:44:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:44:01 arm64: Pulling from edgex-lftools-log-publisher 11:44:01 8998bd30e6a1: Pulling fs layer 11:44:01 04944245beec: Pulling fs layer 11:44:01 699f458cf7ca: Pulling fs layer 11:44:01 765212b225bb: Pulling fs layer 11:44:01 765212b225bb: Waiting 11:44:01 f23df028b6ca: Pulling fs layer 11:44:01 d65c8cfc05b1: Pulling fs layer 11:44:01 f23df028b6ca: Waiting 11:44:01 2437ff75d9bd: Pulling fs layer 11:44:01 d65c8cfc05b1: Waiting 11:44:01 2437ff75d9bd: Waiting 11:44:01 04944245beec: Verifying Checksum 11:44:01 04944245beec: Download complete 11:44:01 765212b225bb: Verifying Checksum 11:44:01 765212b225bb: Download complete 11:44:01 f23df028b6ca: Verifying Checksum 11:44:01 f23df028b6ca: Download complete 11:44:01 d65c8cfc05b1: Verifying Checksum 11:44:01 d65c8cfc05b1: Download complete 11:44:01 699f458cf7ca: Verifying Checksum 11:44:01 699f458cf7ca: Download complete 11:44:02 8998bd30e6a1: Verifying Checksum 11:44:02 8998bd30e6a1: Download complete 11:44:04 2437ff75d9bd: Verifying Checksum 11:44:04 2437ff75d9bd: Download complete 11:44:06 8998bd30e6a1: Pull complete 11:44:10 04944245beec: Pull complete 11:44:11 699f458cf7ca: Pull complete 11:44:12 765212b225bb: Pull complete 11:44:13 f23df028b6ca: Pull complete 11:44:13 d65c8cfc05b1: Pull complete 11:44:31 2437ff75d9bd: Pull complete 11:44:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:44:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:44:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:44:31 prd-ubuntu20.04-docker-arm64-4c-16g-9507 does not seem to be running inside a container 11:44:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:44:34 $ docker top 34635b679f107d2d82ab56fb87047e1fd5117de079848a9cbb6282a0c36e98a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:44:35 ---> job-cost.sh 11:44:35 lf-activate-venv: SKIPPING 11:44:35 INFO: No Stack... 11:44:36 INFO: Retrieving Pricing Info for: v3-standard-4 11:44:36 INFO: Archiving Costs [Pipeline] sh 11:44:37 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 11:44:37 + cut -d, -f6 [Pipeline] lock 11:44:37 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-439-1-stack-cost] 11:44:37 Resource [jenkins-edgexfoundry-device-virtual-go-PR-439-1-stack-cost] did not exist. Created. 11:44:37 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-439-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:44:38 /w/workspace/device-virtual-go/1@tmp/durable-9d684c82/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:44:39 + echo total: 0.10999999940395355 [Pipeline] stash 11:44:39 Warning: overwriting stash ‘stack-cost’ 11:44:39 Stashed 1 file(s) [Pipeline] } 11:44:39 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-439-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:44:39 $ docker stop --time=1 34635b679f107d2d82ab56fb87047e1fd5117de079848a9cbb6282a0c36e98a5 11:44:40 $ docker rm -f --volumes 34635b679f107d2d82ab56fb87047e1fd5117de079848a9cbb6282a0c36e98a5 [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 11:44:41 provisioning config files... 11:44:41 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-439@tmp/config7864735602006368005tmp [Pipeline] { [Pipeline] sh 11:44:42 + set +x 11:44:42 + curl -s https://codecov.io/bash 11:44:42 + bash -s -- 11:44:42 11:44:42 _____ _ 11:44:42 / ____| | | 11:44:42 | | ___ __| | ___ ___ _____ __ 11:44:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:44:42 | |___| (_) | (_| | __/ (_| (_) \ V / 11:44:42 \_____\___/ \__,_|\___|\___\___/ \_/ 11:44:42 Bash-1.0.6 11:44:42 11:44:42 11:44:42 ==> git version 2.25.1 found 11:44:42 ==> 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 11:44:42 Release-Date: 2020-01-08 11:44:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:44:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:44:42 ==> Jenkins CI detected. 11:44:42 current dir:  /w/workspace/foundry_device-virtual-go_PR-439 11:44:42 project root: . 11:44:42 --> token set from env 11:44:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:44:42 ==> Running gcov in . (disable via -X gcov) 11:44:42 ==> Python coveragepy not found 11:44:42 ==> Searching for coverage reports in: 11:44:42 + . 11:44:42 -> Found 1 reports 11:44:42 ==> Detecting git/mercurial file structure 11:44:42 ==> Reading reports 11:44:42 + ./coverage.out bytes=43063 11:44:42 ==> Appending adjustments 11:44:42 https://docs.codecov.io/docs/fixing-reports 11:44:42 + Found adjustments 11:44:42 ==> Gzipping contents 11:44:42 8.0K /tmp/codecov.tt6U3E.gz 11:44:42 ==> Uploading reports 11:44:42 url: https://codecov.io 11:44:42 query: branch=PR-439&commit=2777ce04d2a25c3a53518871250838c4b32a3447&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=439&job=&cmd_args= 11:44:42 -> Pinging Codecov 11:44:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-439&commit=2777ce04d2a25c3a53518871250838c4b32a3447&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-439%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=439&job=&cmd_args= 11:44:42 -> Uploading to 11:44:42 https://storage.googleapis.com/codecov/v4/raw/2023-10-18/5E52B4B073DB2E39498172D8E973AA87/2777ce04d2a25c3a53518871250838c4b32a3447/54c4d0c0-9396-4d35-8a3f-e8660b99265f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231018%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231018T114442Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c04ada5065f87419002647b4fb2fc022146c2acf99b74466421a5c606554af6e 11:44:42 % Total % Received % Xferd Average Speed Time Time Time Current 11:44:42 Dload Upload Total Spent Left Speed 11:44:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 19636 --:--:-- --:--:-- --:--:-- 19636 11:44:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/2777ce04d2a25c3a53518871250838c4b32a3447 [Pipeline] } 11:44:43 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 11:44:44 + [ -d /w/workspace/foundry_device-virtual-go_PR-439/archives ] 11:44:44 + ls -al /w/workspace/foundry_device-virtual-go_PR-439/archives 11:44:44 total 16 11:44:44 drwxr-xr-x 3 root root 4096 Oct 18 11:35 . 11:44:44 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 11:35 .. 11:44:44 drwxr-xr-x 2 root root 4096 Oct 18 11:35 cost 11:44:44 -rw-r--r-- 1 root root 89 Oct 18 11:35 cost.csv 11:44:44 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-439/archives 11:44:44 + ls -al /w/workspace/foundry_device-virtual-go_PR-439/archives 11:44:44 total 16 11:44:44 drwxr-xr-x 3 jenkins jenkins 4096 Oct 18 11:35 . 11:44:44 drwxrwxr-x 10 jenkins jenkins 4096 Oct 18 11:35 .. 11:44:44 drwxr-xr-x 2 jenkins jenkins 4096 Oct 18 11:35 cost 11:44:44 -rw-r--r-- 1 jenkins jenkins 89 Oct 18 11:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:44:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:44:46 ---> package-listing.sh 11:44:46 ++ facter osfamily 11:44:46 ++ tr '[:upper:]' '[:lower:]' 11:44:46 + OS_FAMILY=debian 11:44:46 + workspace=/w/workspace/foundry_device-virtual-go_PR-439 11:44:46 + START_PACKAGES=/tmp/packages_start.txt 11:44:46 + END_PACKAGES=/tmp/packages_end.txt 11:44:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:44:46 + PACKAGES=/tmp/packages_start.txt 11:44:46 + '[' /w/workspace/foundry_device-virtual-go_PR-439 ']' 11:44:46 + PACKAGES=/tmp/packages_end.txt 11:44:46 + case "${OS_FAMILY}" in 11:44:46 + dpkg -l 11:44:46 + grep '^ii' 11:44:46 + '[' -f /tmp/packages_start.txt ']' 11:44:46 + '[' -f /tmp/packages_end.txt ']' 11:44:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:44:46 + '[' /w/workspace/foundry_device-virtual-go_PR-439 ']' 11:44:46 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-439/archives/ 11:44:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-439/archives/ [Pipeline] echo 11:44:46 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-439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:44:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:44:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:44:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:44:47 prd-ubuntu20.04-docker-8c-8g-9506 does not seem to be running inside a container 11:44:47 $ 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-439/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-439 -v /w/workspace/foundry_device-virtual-go_PR-439:/w/workspace/foundry_device-virtual-go_PR-439:rw,z -v /w/workspace/foundry_device-virtual-go_PR-439@tmp:/w/workspace/foundry_device-virtual-go_PR-439@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 11:44:47 $ docker top 24b38c3cab72c179c0a1b1e68bdf7a67449e523a78ce51b7e0275537c853a758 -eo pid,comm [Pipeline] { [Pipeline] sh 11:44:48 + touch /tmp/pre-build-complete [Pipeline] sh 11:44:48 + mkdir -p /var/log/sysstat [Pipeline] sh 11:44:48 + ls /var/log/sa-host 11:44:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:44:48 provisioning config files... 11:44:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-439@tmp/config5568090791841461578tmp [Pipeline] { [Pipeline] echo 11:44:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:44:49 ---> create-netrc.sh [Pipeline] } 11:44:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:44:49 ---> python-tools-install.sh [Pipeline] echo 11:44:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:44:49 ---> sudo-logs.sh 11:44:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:44:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:44:50 ---> job-cost.sh 11:44:50 lf-activate-venv: SKIPPING 11:44:50 DEBUG: total: 0.2199999988079071 11:44:50 INFO: Retrieving Stack Cost... 11:44:50 INFO: Retrieving Pricing Info for: v3-standard-8 11:44:51 INFO: Archiving Costs [Pipeline] echo 11:44:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:44:51 ---> logs-deploy.sh 11:44:51 lf-activate-venv: SKIPPING 11:44:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-439/1 11:44:51 INFO: archiving workspace using pattern(s): 11:44:52 Archives upload complete. 11:44:52 INFO: archiving logs to Nexus