Pull request #368 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 8ed51eb9eaa0a405dde043671b4ac8557819634f rather than 9b001715682b89ce05f6197f4a31789827fe5e84 Obtained Jenkinsfile from 8ed51eb9eaa0a405dde043671b4ac8557819634f 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-ssh4766850896592789596.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh7392528338466205646.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-368/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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16309204851634233753.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-368/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18164603027594827457.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh11622572051048413715.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-368/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-368/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6443118227876677003.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 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 Running on prd-ubuntu20.04-docker-8c-8g-5307 in /w/workspace/foundry_device-virtual-go_PR-368 [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-368 # 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/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit 9b001715682b89ce05f6197f4a31789827fe5e84 Merge succeeded, producing 9b001715682b89ce05f6197f4a31789827fe5e84 Checking out Revision 9b001715682b89ce05f6197f4a31789827fe5e84 (PR-368) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b001715682b89ce05f6197f4a31789827fe5e84 # 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 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b001715682b89ce05f6197f4a31789827fe5e84 # timeout=10 Commit message: "refactor!: Change configuration file format to YAML" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:15:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:15:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:15:27 ========================================================= 22:15:27 EdgeX Global Pipelines Version Info 22:15:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:15:28 ------------------- 22:15:28 stable info: 22:15:28 ------------------- 22:15:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:15:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 22:15:28 Message: update stable to v1.0.245 22:15:28 ------------------- 22:15:28 experimental info: 22:15:28 ------------------- 22:15:28 Commited By: **** collab-it+edgex@linuxfoundation.org 22:15:28 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 22:15:28 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:15:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-368 [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-368 [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-368 [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b001715682b89ce05f6197f4a31789827fe5e84 [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b00171 [Pipeline] echo 22:15:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:15:30 provisioning config files... 22:15:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config6519616138237635607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:30 ---> docker-login.sh 22:15:30 nexus3.edgexfoundry.org:10001 22:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:31 Configure a credential helper to remove this warning. See 22:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:31 22:15:31 Login Succeeded 22:15:31 nexus3.edgexfoundry.org:10002 22:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:31 Configure a credential helper to remove this warning. See 22:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:31 22:15:31 Login Succeeded 22:15:31 nexus3.edgexfoundry.org:10003 22:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:31 Configure a credential helper to remove this warning. See 22:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:31 22:15:31 Login Succeeded 22:15:31 nexus3.edgexfoundry.org:10004 22:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:31 Configure a credential helper to remove this warning. See 22:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:31 22:15:31 Login Succeeded 22:15:31 docker.io 22:15:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:31 Configure a credential helper to remove this warning. See 22:15:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:31 22:15:31 Login Succeeded 22:15:31 ---> docker-login.sh ends [Pipeline] } 22:15:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:15:32 + git rev-list -1 --merges 9b001715682b89ce05f6197f4a31789827fe5e84~1..9b001715682b89ce05f6197f4a31789827fe5e84 [Pipeline] echo 22:15:32 -----------> git rev-list -1 --merges 9b001715682b89ce05f6197f4a31789827fe5e84~1..9b001715682b89ce05f6197f4a31789827fe5e84 9b001715682b89ce05f6197f4a31789827fe5e84 [false] [Pipeline] sh 22:15:32 + git log --format=format:%s -1 9b001715682b89ce05f6197f4a31789827fe5e84 [Pipeline] echo 22:15:32 ========================================================= 22:15:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:15:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:15:33 + git log --format=format:%s -1 9b001715682b89ce05f6197f4a31789827fe5e84 [Pipeline] echo 22:15:33 [semverPrep] GIT_COMMIT: 9b001715682b89ce05f6197f4a31789827fe5e84, Commit Message: refactor!: Change configuration file format to YAML [Pipeline] echo 22:15:33 [semverPrep] This is not a build commit. [Pipeline] sh 22:15:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:15:33 + grep -v github /etc/ssh/ssh_known_hosts 22:15:33 + [ -e /tmp/ssh_known_hosts ] 22:15:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:15:33 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 22:15:33 tee -a /etc/ssh/ssh_known_hosts 22:15:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:33 22:15:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:34 0.1.4: Pulling from edgex-devops/py-git-semver 22:15:34 b85a868b505f: Pulling fs layer 22:15:34 e2be974225ed: Pulling fs layer 22:15:34 339a4e72a1f5: Pulling fs layer 22:15:34 988bab9f4d93: Pulling fs layer 22:15:34 1469e6f7b9e6: Pulling fs layer 22:15:34 eaf3925da568: Pulling fs layer 22:15:34 bab4dde63d76: Pulling fs layer 22:15:34 bde34c3a00c8: Pulling fs layer 22:15:34 b352a97aabf1: Pulling fs layer 22:15:34 4872d77fe225: Pulling fs layer 22:15:34 5851b861e8e6: Pulling fs layer 22:15:34 bab4dde63d76: Waiting 22:15:34 bde34c3a00c8: Waiting 22:15:34 988bab9f4d93: Waiting 22:15:34 b352a97aabf1: Waiting 22:15:34 5851b861e8e6: Waiting 22:15:34 4872d77fe225: Waiting 22:15:34 1469e6f7b9e6: Waiting 22:15:34 eaf3925da568: Waiting 22:15:34 e2be974225ed: Verifying Checksum 22:15:34 e2be974225ed: Download complete 22:15:34 988bab9f4d93: Verifying Checksum 22:15:34 988bab9f4d93: Download complete 22:15:34 1469e6f7b9e6: Verifying Checksum 22:15:34 1469e6f7b9e6: Download complete 22:15:34 339a4e72a1f5: Verifying Checksum 22:15:34 339a4e72a1f5: Download complete 22:15:34 eaf3925da568: Verifying Checksum 22:15:34 eaf3925da568: Download complete 22:15:34 bde34c3a00c8: Verifying Checksum 22:15:34 bde34c3a00c8: Download complete 22:15:34 b352a97aabf1: Download complete 22:15:34 4872d77fe225: Verifying Checksum 22:15:34 4872d77fe225: Download complete 22:15:34 5851b861e8e6: Verifying Checksum 22:15:34 5851b861e8e6: Download complete 22:15:34 b85a868b505f: Verifying Checksum 22:15:34 b85a868b505f: Download complete 22:15:35 bab4dde63d76: Verifying Checksum 22:15:35 bab4dde63d76: Download complete 22:15:36 b85a868b505f: Pull complete 22:15:36 e2be974225ed: Pull complete 22:15:36 339a4e72a1f5: Pull complete 22:15:36 988bab9f4d93: Pull complete 22:15:36 1469e6f7b9e6: Pull complete 22:15:36 eaf3925da568: Pull complete 22:15:38 bab4dde63d76: Pull complete 22:15:38 bde34c3a00c8: Pull complete 22:15:38 b352a97aabf1: Pull complete 22:15:38 4872d77fe225: Pull complete 22:15:38 5851b861e8e6: Pull complete 22:15:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:15:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:15:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:15:38 prd-ubuntu20.04-docker-8c-8g-5307 does not seem to be running inside a container 22:15:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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-devops/py-git-semver:0.1.4 cat 22:15:41 $ docker top e68ffab9b3b4264ea39656b41d62448b426bd75a5001c2c38358da9b572bb364 -eo pid,comm 22:15:41 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). 22:15:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:15:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:15:41 [ssh-agent] Looking for ssh-agent implementation... 22:15:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:15:41 $ docker exec e68ffab9b3b4264ea39656b41d62448b426bd75a5001c2c38358da9b572bb364 ssh-agent 22:15:41 SSH_AUTH_SOCK=/tmp/ssh-3YrsoKEB7aUY/agent.33 22:15:41 SSH_AGENT_PID=39 22:15:41 Running ssh-add (command line suppressed) 22:15:41 Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_14510549899791148440.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_14510549899791148440.key) 22:15:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:15:41 + git tag --points-at HEAD [Pipeline] } 22:15:41 $ docker exec --env ******** --env ******** e68ffab9b3b4264ea39656b41d62448b426bd75a5001c2c38358da9b572bb364 ssh-agent -k 22:15:42 unset SSH_AUTH_SOCK; 22:15:42 unset SSH_AGENT_PID; 22:15:42 echo Agent pid 39 killed; 22:15:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:15:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:15:42 [ssh-agent] Looking for ssh-agent implementation... 22:15:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:15:42 $ docker exec e68ffab9b3b4264ea39656b41d62448b426bd75a5001c2c38358da9b572bb364 ssh-agent 22:15:42 SSH_AUTH_SOCK=/tmp/ssh-pjayvep039A2/agent.71 22:15:42 SSH_AGENT_PID=77 22:15:42 Running ssh-add (command line suppressed) 22:15:42 Identity added: /w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_12860885505113921382.key (/w/workspace/foundry_device-virtual-go_PR-368@tmp/private_key_12860885505113921382.key) 22:15:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:15:42 + git semver init 22:15:43 2023-03-22 22:15:43,029 [run_init] DEBUG init version:0.0.0 force:False 22:15:43 2023-03-22 22:15:43,029 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-368/.semver 22:15:43 2023-03-22 22:15:43,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-368/.semver 22:15:43 2023-03-22 22:15:43,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-368/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-368, universal_newlines=False, shell=None, istream=None) 22:15:44 2023-03-22 22:15:43,996 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-368/.git/info/exclude 22:15:44 2023-03-22 22:15:43,997 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 with force:False 22:15:44 2023-03-22 22:15:43,997 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 22:15:44 2023-03-22 22:15:44,001 [execute] INFO git cat-file --batch-check 22:15:44 2023-03-22 22:15:44,001 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 22:15:44 2023-03-22 22:15:44,007 [execute] INFO git cat-file --batch 22:15:44 2023-03-22 22:15:44,008 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-368/.semver, universal_newlines=False, shell=None, istream=) 22:15:44 2023-03-22 22:15:44,013 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-368/.semver/PR-368 22:15:44 0.0.0 [Pipeline] } 22:15:44 $ docker exec --env ******** --env ******** e68ffab9b3b4264ea39656b41d62448b426bd75a5001c2c38358da9b572bb364 ssh-agent -k 22:15:44 unset SSH_AUTH_SOCK; 22:15:44 unset SSH_AGENT_PID; 22:15:44 echo Agent pid 77 killed; 22:15:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:15:44 + git semver [Pipeline] } 22:15:45 $ docker stop --time=1 e68ffab9b3b4264ea39656b41d62448b426bd75a5001c2c38358da9b572bb364 22:15:46 $ docker rm -f --volumes e68ffab9b3b4264ea39656b41d62448b426bd75a5001c2c38358da9b572bb364 [Pipeline] // withDockerContainer [Pipeline] sh 22:15:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:15:47 Stashed 1 file(s) [Pipeline] echo 22:15:47 [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 22:15:47 provisioning config files... 22:15:47 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config1343916863884306494tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:15:48 ---> docker-login.sh 22:15:48 nexus3.edgexfoundry.org:10001 22:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:48 Configure a credential helper to remove this warning. See 22:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:48 22:15:48 Login Succeeded 22:15:48 nexus3.edgexfoundry.org:10002 22:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:48 Configure a credential helper to remove this warning. See 22:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:48 22:15:48 Login Succeeded 22:15:48 nexus3.edgexfoundry.org:10003 22:15:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5312 in /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] { [Pipeline] ws 22:15:48 Running in /w/workspace/device-virtual-go/1 [Pipeline] { 22:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:48 Configure a credential helper to remove this warning. See 22:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:48 22:15:48 Login Succeeded 22:15:48 nexus3.edgexfoundry.org:10004 22:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:48 Configure a credential helper to remove this warning. See 22:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:48 22:15:48 Login Succeeded 22:15:48 docker.io 22:15:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] checkout 22:15:48 The recommended git tool is: git 22:15:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:15:48 Configure a credential helper to remove this warning. See 22:15:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:15:48 22:15:48 Login Succeeded 22:15:48 ---> docker-login.sh ends [Pipeline] } 22:15:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:15:48 ========================================================= 22:15:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:15:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:15:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:15:49 Sending build context to Docker daemon 23.52MB 22:15:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:15:49 Step 2/12 : FROM ${BASE} AS builder 22:15:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:15:49 63b65145d645: Pulling fs layer 22:15:49 a2d21d5440eb: Pulling fs layer 22:15:49 935e6c44a52c: Pulling fs layer 22:15:49 94cc34f8dd06: Pulling fs layer 22:15:49 30dea6a524f1: Pulling fs layer 22:15:49 a2aff8979fd8: Pulling fs layer 22:15:49 6808be2612f2: Pulling fs layer 22:15:49 f25807f1079a: Pulling fs layer 22:15:49 94cc34f8dd06: Waiting 22:15:49 30dea6a524f1: Waiting 22:15:49 a2aff8979fd8: Waiting 22:15:49 6808be2612f2: Waiting 22:15:49 f25807f1079a: Waiting 22:15:49 a2d21d5440eb: Download complete 22:15:49 94cc34f8dd06: Verifying Checksum 22:15:49 94cc34f8dd06: Download complete 22:15:49 30dea6a524f1: Verifying Checksum 22:15:49 63b65145d645: Verifying Checksum 22:15:49 63b65145d645: Download complete 22:15:49 a2aff8979fd8: Verifying Checksum 22:15:49 a2aff8979fd8: Download complete 22:15:49 63b65145d645: Pull complete 22:15:49 a2d21d5440eb: Pull complete 22:15:50 935e6c44a52c: Verifying Checksum 22:15:50 935e6c44a52c: Download complete 22:15:50 f25807f1079a: Verifying Checksum 22:15:50 f25807f1079a: Download complete 22:15:51 6808be2612f2: Verifying Checksum 22:15:51 6808be2612f2: Download complete 22:15:54 935e6c44a52c: Pull complete 22:15:54 94cc34f8dd06: Pull complete 22:15:54 30dea6a524f1: Pull complete 22:15:54 a2aff8979fd8: Pull complete 22:15:56 6808be2612f2: Pull complete 22:15:57 f25807f1079a: Pull complete 22:15:57 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 22:15:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:15:57 ---> 3b553350e43f 22:15:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:15:58 using credential edgex-jenkins-ssh 22:15:58 Cloning the remote Git repository 22:15:58 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 22:15:58 > git init /w/workspace/device-virtual-go/1 # timeout=10 22:15:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:15:58 > git --version # timeout=10 22:15:58 > git --version # 'git version 2.25.1' 22:15:58 using GIT_SSH to set credentials SSH Credentials for GitHub 22:15:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:00 ---> Running in 12596df1c533 22:16:00 Removing intermediate container 12596df1c533 22:16:00 ---> 01d81396ef01 22:16:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:16:00 ---> Running in 16ad2f68b866 22:16:00 Removing intermediate container 16ad2f68b866 22:16:00 ---> 79d44eb4288c 22:16:00 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:16:00 ---> Running in 110ac760778b 22:16:00 Removing intermediate container 110ac760778b 22:16:00 ---> 85aca263bf83 22:16:00 Step 6/12 : WORKDIR /device-virtual-go 22:16:00 ---> Running in 50e4badf739f 22:16:00 Removing intermediate container 50e4badf739f 22:16:00 ---> 5c8f27bbbdd5 22:16:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:16:00 ---> Running in 75f9d786cac6 22:16:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:16:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:16:01 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:16:01 (2/4) Installing libedit (20221030.3.1-r0) 22:16:01 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:16:01 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:16:01 Executing busybox-1.35.0-r29.trigger 22:16:01 OK: 269 MiB in 57 packages 22:16:02 Removing intermediate container 75f9d786cac6 22:16:02 ---> 908ef5283847 22:16:02 Step 8/12 : COPY go.mod vendor* ./ 22:16:02 ---> 0d2ba3aa82c1 22:16:02 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:16:02 ---> Running in 13f3327778d0 22:16:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:16:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:16:03 Merging remotes/origin/main commit 8ed51eb9eaa0a405dde043671b4ac8557819634f into PR head commit 9b001715682b89ce05f6197f4a31789827fe5e84 22:16:03 Merge succeeded, producing 9b001715682b89ce05f6197f4a31789827fe5e84 22:16:03 Checking out Revision 9b001715682b89ce05f6197f4a31789827fe5e84 (PR-368) 22:16:02 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 22:16:02 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 22:16:02 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/368/head:refs/remotes/origin/PR-368 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:16:03 > git config core.sparsecheckout # timeout=10 22:16:03 > git checkout -f 9b001715682b89ce05f6197f4a31789827fe5e84 # timeout=10 22:16:03 > git remote # timeout=10 22:16:03 > git config --get remote.origin.url # timeout=10 22:16:03 using GIT_SSH to set credentials SSH Credentials for GitHub 22:16:03 > git merge 8ed51eb9eaa0a405dde043671b4ac8557819634f # timeout=10 22:16:03 > git rev-parse HEAD^{commit} # timeout=10 22:16:03 > git config core.sparsecheckout # timeout=10 22:16:03 > git checkout -f 9b001715682b89ce05f6197f4a31789827fe5e84 # timeout=10 22:16:07 Commit message: "refactor!: Change configuration file format to YAML" 22:16:07 > git --version # timeout=10 22:16:07 > git --version # 'git version 2.25.1' 22:16:07 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:16:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:16:08 % Total % Received % Xferd Average Speed Time Time Time Current 22:16:08 Dload Upload Total Spent Left Speed 22:16:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 153k 0 --:--:-- --:--:-- --:--:-- 153k [Pipeline] sh 22:16:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:16:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:16:09 + sudo tee /etc/docker/daemon.new 22:16:09 { 22:16:09 "registry-mirrors": [ 22:16:09 "https://nexus3.edgexfoundry.org:10001" 22:16:09 ], 22:16:09 "bip": "10.250.0.254/24", 22:16:09 "hosts": [ 22:16:09 "tcp://0.0.0.0:5555", 22:16:09 "unix:///var/run/docker.sock" 22:16:09 ], 22:16:09 "mtu": 1458, 22:16:09 "selinux-enabled": true, 22:16:09 "seccomp-profile": "/etc/docker/seccomp.json" 22:16:09 } [Pipeline] sh 22:16:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:16:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:16:28 provisioning config files... 22:16:28 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config73459160647672668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:16:29 ---> docker-login.sh 22:16:29 nexus3.edgexfoundry.org:10001 22:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:29 Configure a credential helper to remove this warning. See 22:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:29 22:16:29 Login Succeeded 22:16:29 nexus3.edgexfoundry.org:10002 22:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:30 Configure a credential helper to remove this warning. See 22:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:30 22:16:30 Login Succeeded 22:16:30 nexus3.edgexfoundry.org:10003 22:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:30 Configure a credential helper to remove this warning. See 22:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:30 22:16:30 Login Succeeded 22:16:30 nexus3.edgexfoundry.org:10004 22:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:31 Configure a credential helper to remove this warning. See 22:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:31 22:16:31 Login Succeeded 22:16:31 docker.io 22:16:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:16:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:16:31 Configure a credential helper to remove this warning. See 22:16:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:16:31 22:16:31 Login Succeeded 22:16:31 ---> docker-login.sh ends [Pipeline] } 22:16:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:16:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:16:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:16:32 ========================================================= 22:16:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:16:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 22:16:33 Sending build context to Docker daemon 11.94MB 22:16:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:16:33 Step 2/12 : FROM ${BASE} AS builder 22:16:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:16:33 af6eaf76a39c: Pulling fs layer 22:16:33 55522c791124: Pulling fs layer 22:16:33 ce5c4a1c91eb: Pulling fs layer 22:16:33 169dfbe0d373: Pulling fs layer 22:16:33 e1ff8fa3b103: Pulling fs layer 22:16:33 52ebb69f0ebf: Pulling fs layer 22:16:33 5abe8eddf0d5: Pulling fs layer 22:16:33 52ebb69f0ebf: Waiting 22:16:33 169dfbe0d373: Waiting 22:16:33 e1ff8fa3b103: Waiting 22:16:33 5abe8eddf0d5: Waiting 22:16:33 55522c791124: Download complete 22:16:33 169dfbe0d373: Verifying Checksum 22:16:33 169dfbe0d373: Download complete 22:16:33 e1ff8fa3b103: Download complete 22:16:33 af6eaf76a39c: Verifying Checksum 22:16:34 Removing intermediate container 13f3327778d0 22:16:34 ---> 6c9b4d0ac996 22:16:34 Step 10/12 : COPY . . 22:16:34 ---> 8c40a65f5d33 22:16:34 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:16:34 ---> Running in 23552c1f634f 22:16:34 Removing intermediate container 23552c1f634f 22:16:34 ---> 2f1112c8a7b5 22:16:34 Step 12/12 : RUN $MAKE 22:16:34 ---> Running in 9bd11faf7779 22:16:34 noop 22:16:34 Removing intermediate container 9bd11faf7779 22:16:34 ---> 69f1000f3a0f 22:16:34 Successfully built 69f1000f3a0f 22:16:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:34 + docker inspect -f . ci-base-image-x86_64 22:16:34 . 22:16:34 5abe8eddf0d5: Verifying Checksum 22:16:34 5abe8eddf0d5: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:34 prd-ubuntu20.04-docker-8c-8g-5307 does not seem to be running inside a container 22:16:34 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:16:35 af6eaf76a39c: Pull complete 22:16:35 $ docker top c5f8235d5d678a6e085bc49cd9f71a52de551cd7a66e28128a0f9eb729ffe3e3 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:35 55522c791124: Pull complete 22:16:35 + go version 22:16:35 go version go1.20.2 linux/amd64 [Pipeline] } 22:16:35 $ docker stop --time=1 c5f8235d5d678a6e085bc49cd9f71a52de551cd7a66e28128a0f9eb729ffe3e3 22:16:36 ce5c4a1c91eb: Download complete 22:16:36 52ebb69f0ebf: Verifying Checksum 22:16:37 $ docker rm -f --volumes c5f8235d5d678a6e085bc49cd9f71a52de551cd7a66e28128a0f9eb729ffe3e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:16:37 + docker inspect -f . ci-base-image-x86_64 22:16:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:16:38 prd-ubuntu20.04-docker-8c-8g-5307 does not seem to be running inside a container 22:16:38 $ 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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:16:38 $ docker top 48aa21473c143f68d5196ad3e171de644bcc22b5f7794295951a16a3b703a557 -eo pid,comm [Pipeline] { [Pipeline] sh 22:16:38 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-368 [Pipeline] fileExists [Pipeline] sh 22:16:39 + make test 22:16:39 go test ./... -coverprofile=coverage.out 22:16:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:16:48 ce5c4a1c91eb: Pull complete 22:16:48 169dfbe0d373: Pull complete 22:16:48 e1ff8fa3b103: Pull complete 22:16:55 52ebb69f0ebf: Pull complete 22:16:56 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:16:56 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.041s coverage: 65.7% of statements 22:16:57 5abe8eddf0d5: Pull complete 22:16:57 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 22:16:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:16:57 ---> 6cb57ee374ae 22:16:57 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:16:59 ---> Running in ab661efedbfe 22:17:01 Removing intermediate container ab661efedbfe 22:17:01 ---> 7890b66ac6ac 22:17:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 22:17:01 ---> Running in ec6841b463a1 22:17:01 Removing intermediate container ec6841b463a1 22:17:01 ---> 5505d8101976 22:17:01 Step 5/12 : ARG ADD_BUILD_TAGS="" 22:17:01 ---> Running in 81de9a913682 22:17:01 Removing intermediate container 81de9a913682 22:17:01 ---> 5339c406d1c5 22:17:01 Step 6/12 : WORKDIR /device-virtual-go 22:17:01 ---> Running in 802e3c382a88 22:17:02 Removing intermediate container 802e3c382a88 22:17:02 ---> 953596119580 22:17:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:02 ---> Running in 31ad08570002 22:17:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:17:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:17:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 22:17:05 (2/4) Installing libedit (20221030.3.1-r0) 22:17:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 22:17:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 22:17:05 Executing busybox-1.35.0-r29.trigger 22:17:05 OK: 268 MiB in 57 packages 22:17:06 Removing intermediate container 31ad08570002 22:17:06 ---> befc16859f6f 22:17:06 Step 8/12 : COPY go.mod vendor* ./ 22:17:06 go vet ./... 22:17:07 ---> 2c0f35c39749 22:17:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:07 ---> Running in c22310e0e3cf 22:17:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:17:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:17:09 ./bin/test-attribution-txt.sh [Pipeline] echo 22:17:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:17:09 $ docker stop --time=1 48aa21473c143f68d5196ad3e171de644bcc22b5f7794295951a16a3b703a557 22:17:10 $ docker rm -f --volumes 48aa21473c143f68d5196ad3e171de644bcc22b5f7794295951a16a3b703a557 [Pipeline] // withDockerContainer [Pipeline] sh 22:17:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:17:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:17:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:17:12 + ls -al . 22:17:12 total 192 22:17:12 drwxrwxr-x 9 jenkins jenkins 4096 Mar 22 22:16 . 22:17:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:15 .. 22:17:12 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:15 .git 22:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:15 .github 22:17:12 -rw-rw-r-- 1 jenkins jenkins 337 Mar 22 22:15 .gitignore 22:17:12 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 22:15 .golangci.yml 22:17:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:15 .semver 22:17:12 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 22 22:15 Attribution.txt 22:17:12 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 22 22:15 CHANGELOG.md 22:17:12 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 22 22:15 Dockerfile 22:17:12 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:15 GOVERNANCE.md 22:17:12 -rw-rw-r-- 1 jenkins jenkins 660 Mar 22 22:15 Jenkinsfile 22:17:12 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 22:15 LICENSE 22:17:12 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 22 22:15 Makefile 22:17:12 -rw-rw-r-- 1 jenkins jenkins 623 Mar 22 22:15 OWNERS.md 22:17:12 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 22 22:15 README.md 22:17:12 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:15 VERSION 22:17:12 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:15 bin 22:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:15 cmd 22:17:12 -rw-r--r-- 1 jenkins jenkins 44311 Mar 22 22:16 coverage.out 22:17:12 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 22 22:15 go.mod 22:17:12 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 22 22:15 go.sum 22:17:12 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:15 internal 22:17:12 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:15 snap 22:17:12 -rw-rw-r-- 1 jenkins jenkins 235 Mar 22 22:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:12 + 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=9b001715682b89ce05f6197f4a31789827fe5e84 --label arch=amd64 --label version=0.0.0 . 22:17:12 Sending build context to Docker daemon 23.57MB 22:17:12 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:17:12 Step 2/25 : FROM ${BASE} AS builder 22:17:12 ---> 69f1000f3a0f 22:17:12 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:17:13 ---> Running in cfd7b253d390 22:17:13 Removing intermediate container cfd7b253d390 22:17:13 ---> 2d151ffccfff 22:17:13 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:17:13 ---> Running in 4c2fbf78afcd 22:17:13 Removing intermediate container 4c2fbf78afcd 22:17:13 ---> 2907431f22cb 22:17:13 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:17:13 ---> Running in 238fb915b3cc 22:17:13 Removing intermediate container 238fb915b3cc 22:17:13 ---> 68c65b784347 22:17:13 Step 6/25 : WORKDIR /device-virtual-go 22:17:13 ---> Running in 966794e2602e 22:17:13 Removing intermediate container 966794e2602e 22:17:13 ---> bd5f37df21d4 22:17:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:17:13 ---> Running in 8c1d96de804c 22:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:17:14 OK: 269 MiB in 57 packages 22:17:14 Removing intermediate container 8c1d96de804c 22:17:14 ---> f8998708da46 22:17:14 Step 8/25 : COPY go.mod vendor* ./ 22:17:14 ---> f675de70fb08 22:17:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:17:14 ---> Running in 789ac633ea99 22:17:15 Removing intermediate container 789ac633ea99 22:17:15 ---> 176d28ad57bf 22:17:15 Step 10/25 : COPY . . 22:17:16 ---> 949699eeefc0 22:17:16 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:17:16 ---> Running in 917d4cb289b0 22:17:16 Removing intermediate container 917d4cb289b0 22:17:16 ---> 54e6f5b67558 22:17:16 Step 12/25 : RUN $MAKE 22:17:16 ---> Running in 5e049955515c 22:17:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:17:38 Removing intermediate container 5e049955515c 22:17:38 ---> 1511856cf3d8 22:17:38 Step 13/25 : FROM alpine:3.17 22:17:38 3.17: Pulling from library/alpine 22:17:38 63b65145d645: Already exists 22:17:38 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:17:38 Status: Downloaded newer image for alpine:3.17 22:17:38 ---> b2aa39c304c2 22:17:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:17:38 ---> Running in 3428ab04f88d 22:17:38 Removing intermediate container 3428ab04f88d 22:17:38 ---> f53343bbf27f 22:17:38 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:17:38 ---> Running in 3fc318d47095 22:17:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:17:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:17:38 (1/1) Installing dumb-init (1.2.5-r2) 22:17:38 Executing busybox-1.35.0-r29.trigger 22:17:38 OK: 7 MiB in 16 packages 22:17:38 Removing intermediate container 3fc318d47095 22:17:38 ---> 61f8ad002814 22:17:38 Step 16/25 : WORKDIR / 22:17:38 ---> Running in 958c79ad3ff1 22:17:38 Removing intermediate container 958c79ad3ff1 22:17:38 ---> e803272fde1c 22:17:38 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:17:38 ---> adbf86e67009 22:17:38 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:17:38 ---> 12474aa47818 22:17:38 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:17:38 ---> d1c2501a81b5 22:17:38 Step 20/25 : EXPOSE 59900 22:17:38 ---> Running in 0196e88cd377 22:17:38 Removing intermediate container 0196e88cd377 22:17:38 ---> e539e8b7d75e 22:17:38 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:17:38 ---> Running in 95af967238aa 22:17:38 Removing intermediate container 95af967238aa 22:17:38 ---> 66936a8aeefc 22:17:38 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:17:38 ---> Running in 7bdfe484ceaf 22:17:39 Removing intermediate container 7bdfe484ceaf 22:17:39 ---> 84304d81e05c 22:17:39 Step 23/25 : LABEL arch=amd64 22:17:39 ---> Running in 7cfd87ab7179 22:17:39 Removing intermediate container 7cfd87ab7179 22:17:39 ---> 4dc71ed3088d 22:17:39 Step 24/25 : LABEL git_sha=9b001715682b89ce05f6197f4a31789827fe5e84 22:17:39 ---> Running in 98b406bee5c9 22:17:39 Removing intermediate container 98b406bee5c9 22:17:39 ---> 7ed8e7cdb264 22:17:39 Step 25/25 : LABEL version=0.0.0 22:17:39 ---> Running in c0a525d44106 22:17:39 Removing intermediate container c0a525d44106 22:17:39 ---> 920e0b3beec6 22:17:39 [Warning] One or more build-args [ARCH] were not consumed 22:17:39 Successfully built 920e0b3beec6 22:17:39 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 22:17:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:17:40 22:17:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:17:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:17:40 latest: Pulling from edgex-lftools-log-publisher 22:17:40 5eb5b503b376: Pulling fs layer 22:17:40 5c69ac0246d0: Pulling fs layer 22:17:40 ec43610c2a17: Pulling fs layer 22:17:40 3a2ae6a8a46f: Pulling fs layer 22:17:40 33b1e0a273af: Pulling fs layer 22:17:40 5d3b04190fa2: Pulling fs layer 22:17:40 2f39f015ded8: Pulling fs layer 22:17:40 3a2ae6a8a46f: Waiting 22:17:40 33b1e0a273af: Waiting 22:17:40 5d3b04190fa2: Waiting 22:17:40 2f39f015ded8: Waiting 22:17:40 5c69ac0246d0: Download complete 22:17:40 3a2ae6a8a46f: Download complete 22:17:40 ec43610c2a17: Verifying Checksum 22:17:40 ec43610c2a17: Download complete 22:17:40 5d3b04190fa2: Verifying Checksum 22:17:40 5d3b04190fa2: Download complete 22:17:40 33b1e0a273af: Verifying Checksum 22:17:40 33b1e0a273af: Download complete 22:17:40 5eb5b503b376: Verifying Checksum 22:17:40 5eb5b503b376: Download complete 22:17:41 2f39f015ded8: Verifying Checksum 22:17:41 2f39f015ded8: Download complete 22:17:42 5eb5b503b376: Pull complete 22:17:42 5c69ac0246d0: Pull complete 22:17:42 ec43610c2a17: Pull complete 22:17:42 3a2ae6a8a46f: Pull complete 22:17:43 33b1e0a273af: Pull complete 22:17:43 5d3b04190fa2: Pull complete 22:17:48 2f39f015ded8: Pull complete 22:17:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:17:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:17:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:17:48 prd-ubuntu20.04-docker-8c-8g-5307 does not seem to be running inside a container 22:17:48 $ 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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:17:51 $ docker top 39d80ecbc662607ea836b77a98ada6f44f60d6beca58b5f7205711fac8fdcc8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:17:52 ---> job-cost.sh 22:17:52 lf-activate-venv: SKIPPING 22:17:52 INFO: No Stack... 22:17:52 INFO: Retrieving Pricing Info for: v3-standard-8 22:17:52 INFO: Archiving Costs [Pipeline] sh 22:17:53 + cut -d, -f6 22:17:53 + cat /w/workspace/foundry_device-virtual-go_PR-368/archives/cost.csv [Pipeline] lock 22:17:53 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-1-stack-cost] 22:17:53 Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-1-stack-cost] did not exist. Created. 22:17:53 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:17:53 + echo total: 0.2199999988079071 [Pipeline] stash 22:17:53 Stashed 1 file(s) [Pipeline] } 22:17:53 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:17:53 $ docker stop --time=1 39d80ecbc662607ea836b77a98ada6f44f60d6beca58b5f7205711fac8fdcc8c 22:17:55 $ docker rm -f --volumes 39d80ecbc662607ea836b77a98ada6f44f60d6beca58b5f7205711fac8fdcc8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:18:28 Removing intermediate container c22310e0e3cf 22:18:28 ---> f4044c845fbd 22:18:28 Step 10/12 : COPY . . 22:18:28 ---> ab7d58c135fe 22:18:28 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:18:28 ---> Running in 1bafd6da5bc0 22:18:28 Removing intermediate container 1bafd6da5bc0 22:18:28 ---> 425c353ee424 22:18:28 Step 12/12 : RUN $MAKE 22:18:28 ---> Running in 6d68565c02d4 22:18:28 noop 22:18:28 Removing intermediate container 6d68565c02d4 22:18:28 ---> 21c565599720 22:18:28 Successfully built 21c565599720 22:18:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:29 + docker inspect -f . ci-base-image-arm64 22:18:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:29 prd-ubuntu20.04-docker-arm64-4c-16g-5312 does not seem to be running inside a container 22:18:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:18:31 $ docker top 278639709d7a952e8fcae66bf080bbb6b4d47295ffd1858148c2dbc7b68f4598 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:32 + go version 22:18:32 go version go1.20.2 linux/arm64 [Pipeline] } 22:18:32 $ docker stop --time=1 278639709d7a952e8fcae66bf080bbb6b4d47295ffd1858148c2dbc7b68f4598 22:18:33 $ docker rm -f --volumes 278639709d7a952e8fcae66bf080bbb6b4d47295ffd1858148c2dbc7b68f4598 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:18:34 + docker inspect -f . ci-base-image-arm64 22:18:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:18:35 prd-ubuntu20.04-docker-arm64-4c-16g-5312 does not seem to be running inside a container 22:18:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:18:36 $ docker top 95ef86f69d5e86a23f6748666f2280d63f853626041ef45db395477ec3868695 -eo pid,comm [Pipeline] { [Pipeline] sh 22:18:37 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 22:18:38 + make test 22:18:38 go test ./... -coverprofile=coverage.out 22:19:17 ? github.com/edgexfoundry/device-virtual-go [no test files] 22:21:38 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 22:21:38 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.138s coverage: 65.7% of statements 22:21:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:21:38 go vet ./... 22:21:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:21:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:21:54 ./bin/test-attribution-txt.sh [Pipeline] echo 22:21:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:21:54 $ docker stop --time=1 95ef86f69d5e86a23f6748666f2280d63f853626041ef45db395477ec3868695 22:21:56 $ docker rm -f --volumes 95ef86f69d5e86a23f6748666f2280d63f853626041ef45db395477ec3868695 [Pipeline] // withDockerContainer [Pipeline] sh 22:21:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:21:57 Warning: overwriting stash ‘coverage-report’ 22:21:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:21:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:21:59 + ls -al . 22:21:59 total 188 22:21:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:18 . 22:21:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:15 .. 22:21:59 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:16 .git 22:21:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:16 .github 22:21:59 -rw-rw-r-- 1 jenkins jenkins 337 Mar 22 22:16 .gitignore 22:21:59 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 22:16 .golangci.yml 22:21:59 -rw-rw-r-- 1 jenkins jenkins 8641 Mar 22 22:16 Attribution.txt 22:21:59 -rw-rw-r-- 1 jenkins jenkins 11367 Mar 22 22:16 CHANGELOG.md 22:21:59 -rw-rw-r-- 1 jenkins jenkins 1646 Mar 22 22:16 Dockerfile 22:21:59 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:16 GOVERNANCE.md 22:21:59 -rw-rw-r-- 1 jenkins jenkins 660 Mar 22 22:16 Jenkinsfile 22:21:59 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 22 22:16 LICENSE 22:21:59 -rw-rw-r-- 1 jenkins jenkins 1696 Mar 22 22:16 Makefile 22:21:59 -rw-rw-r-- 1 jenkins jenkins 623 Mar 22 22:16 OWNERS.md 22:21:59 -rw-rw-r-- 1 jenkins jenkins 3578 Mar 22 22:16 README.md 22:21:59 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:15 VERSION 22:21:59 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:16 bin 22:21:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:16 cmd 22:21:59 -rw-r--r-- 1 jenkins jenkins 44311 Mar 22 22:21 coverage.out 22:21:59 -rw-rw-r-- 1 jenkins jenkins 3254 Mar 22 22:16 go.mod 22:21:59 -rw-rw-r-- 1 jenkins jenkins 30610 Mar 22 22:16 go.sum 22:21:59 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:16 internal 22:21:59 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:16 snap 22:21:59 -rw-rw-r-- 1 jenkins jenkins 235 Mar 22 22:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:22:00 + 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=9b001715682b89ce05f6197f4a31789827fe5e84 --label arch=arm64 --label version=0.0.0 . 22:22:00 Sending build context to Docker daemon 11.98MB 22:22:00 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 22:22:00 Step 2/25 : FROM ${BASE} AS builder 22:22:00 ---> 21c565599720 22:22:00 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 22:22:00 ---> Running in 9b349f92d097 22:22:00 Removing intermediate container 9b349f92d097 22:22:00 ---> 7e5d8e0430ec 22:22:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 22:22:01 ---> Running in 8a32ed6f7713 22:22:01 Removing intermediate container 8a32ed6f7713 22:22:01 ---> 9a0e3c64a7a6 22:22:01 Step 5/25 : ARG ADD_BUILD_TAGS="" 22:22:01 ---> Running in b5ffeb25dbca 22:22:01 Removing intermediate container b5ffeb25dbca 22:22:01 ---> 46e1b8e5066b 22:22:01 Step 6/25 : WORKDIR /device-virtual-go 22:22:01 ---> Running in 2e0f627ae671 22:22:02 Removing intermediate container 2e0f627ae671 22:22:02 ---> af0c95c7e974 22:22:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:22:02 ---> Running in a13bcdbfea30 22:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:22:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:22:05 OK: 268 MiB in 57 packages 22:22:06 Removing intermediate container a13bcdbfea30 22:22:06 ---> 7360417cb433 22:22:06 Step 8/25 : COPY go.mod vendor* ./ 22:22:06 ---> 969b76bef20e 22:22:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:22:06 ---> Running in 70e57c3f4c5b 22:22:09 Removing intermediate container 70e57c3f4c5b 22:22:09 ---> 2803bb7c2779 22:22:09 Step 10/25 : COPY . . 22:22:10 ---> 7e16f7b00eb0 22:22:10 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:22:10 ---> Running in 532ace40ac18 22:22:10 Removing intermediate container 532ace40ac18 22:22:10 ---> e40d17583750 22:22:10 Step 12/25 : RUN $MAKE 22:22:10 ---> Running in 9e921e31b357 22:22:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 22:24:48 Removing intermediate container 9e921e31b357 22:24:48 ---> f81f16ee91db 22:24:48 Step 13/25 : FROM alpine:3.17 22:24:48 3.17: Pulling from library/alpine 22:24:48 af6eaf76a39c: Already exists 22:24:48 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 22:24:48 Status: Downloaded newer image for alpine:3.17 22:24:48 ---> d74e625d9115 22:24:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 22:24:48 ---> Running in 61f49223ad7b 22:24:48 Removing intermediate container 61f49223ad7b 22:24:48 ---> 22b50cf655da 22:24:48 Step 15/25 : RUN apk add --update --no-cache dumb-init 22:24:48 ---> Running in 65c5fd03eb01 22:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:24:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:24:48 (1/1) Installing dumb-init (1.2.5-r2) 22:24:48 Executing busybox-1.35.0-r29.trigger 22:24:48 OK: 8 MiB in 16 packages 22:24:48 Removing intermediate container 65c5fd03eb01 22:24:48 ---> b769cb81d216 22:24:48 Step 16/25 : WORKDIR / 22:24:48 ---> Running in b1d59ea6d10d 22:24:48 Removing intermediate container b1d59ea6d10d 22:24:48 ---> 1812db558623 22:24:48 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 22:24:48 ---> 789283e1acc3 22:24:48 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 22:24:48 ---> a4b68e87f196 22:24:48 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 22:24:48 ---> 462b06988ddb 22:24:48 Step 20/25 : EXPOSE 59900 22:24:48 ---> Running in 7717c126121b 22:24:48 Removing intermediate container 7717c126121b 22:24:48 ---> 73244ca149ab 22:24:48 Step 21/25 : ENTRYPOINT ["/device-virtual"] 22:24:48 ---> Running in d217dcc4b33f 22:24:48 Removing intermediate container d217dcc4b33f 22:24:48 ---> c3b2162a4506 22:24:48 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 22:24:48 ---> Running in 9d6431af9f8a 22:24:48 Removing intermediate container 9d6431af9f8a 22:24:48 ---> dfffe6091b76 22:24:48 Step 23/25 : LABEL arch=arm64 22:24:48 ---> Running in 61e2293fd47b 22:24:48 Removing intermediate container 61e2293fd47b 22:24:48 ---> 294bed5a0a0f 22:24:48 Step 24/25 : LABEL git_sha=9b001715682b89ce05f6197f4a31789827fe5e84 22:24:48 ---> Running in 5ba2026b9f1e 22:24:48 Removing intermediate container 5ba2026b9f1e 22:24:48 ---> 40381c91c1ca 22:24:48 Step 25/25 : LABEL version=0.0.0 22:24:48 ---> Running in 3411673a7b8b 22:24:48 Removing intermediate container 3411673a7b8b 22:24:48 ---> c7c9f2d8f7fc 22:24:48 [Warning] One or more build-args [ARCH] were not consumed 22:24:48 Successfully built c7c9f2d8f7fc 22:24:48 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 22:24:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:49 22:24:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:24:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:24:50 arm64: Pulling from edgex-lftools-log-publisher 22:24:50 8998bd30e6a1: Pulling fs layer 22:24:50 04944245beec: Pulling fs layer 22:24:50 699f458cf7ca: Pulling fs layer 22:24:50 765212b225bb: Pulling fs layer 22:24:50 f23df028b6ca: Pulling fs layer 22:24:50 d65c8cfc05b1: Pulling fs layer 22:24:50 2437ff75d9bd: Pulling fs layer 22:24:50 765212b225bb: Waiting 22:24:50 f23df028b6ca: Waiting 22:24:50 d65c8cfc05b1: Waiting 22:24:50 2437ff75d9bd: Waiting 22:24:50 04944245beec: Verifying Checksum 22:24:50 04944245beec: Download complete 22:24:50 765212b225bb: Verifying Checksum 22:24:50 765212b225bb: Download complete 22:24:50 f23df028b6ca: Verifying Checksum 22:24:50 f23df028b6ca: Download complete 22:24:50 699f458cf7ca: Verifying Checksum 22:24:50 d65c8cfc05b1: Verifying Checksum 22:24:50 d65c8cfc05b1: Download complete 22:24:50 699f458cf7ca: Download complete 22:24:52 8998bd30e6a1: Verifying Checksum 22:24:52 8998bd30e6a1: Download complete 22:24:52 2437ff75d9bd: Verifying Checksum 22:24:52 2437ff75d9bd: Download complete 22:24:57 8998bd30e6a1: Pull complete 22:24:57 04944245beec: Pull complete 22:24:58 699f458cf7ca: Pull complete 22:24:59 765212b225bb: Pull complete 22:25:00 f23df028b6ca: Pull complete 22:25:00 d65c8cfc05b1: Pull complete 22:25:15 2437ff75d9bd: Pull complete 22:25:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:25:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:15 prd-ubuntu20.04-docker-arm64-4c-16g-5312 does not seem to be running inside a container 22:25:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:25:18 $ docker top fd211117099252371e1758716d2f10ada82270dafd5abd771149d816ba45f598 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:25:19 ---> job-cost.sh 22:25:19 lf-activate-venv: SKIPPING 22:25:19 INFO: No Stack... 22:25:20 INFO: Retrieving Pricing Info for: v3-standard-4 22:25:21 INFO: Archiving Costs [Pipeline] sh 22:25:21 + + cutcat -d, /w/workspace/device-virtual-go/1/archives/cost.csv -f6 22:25:21 [Pipeline] lock 22:25:21 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-368-1-stack-cost] 22:25:21 Resource [jenkins-edgexfoundry-device-virtual-go-PR-368-1-stack-cost] did not exist. Created. 22:25:21 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-368-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:25:21 /w/workspace/device-virtual-go/1@tmp/durable-eac43b7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:25:22 + echo total: 0.10999999940395355 [Pipeline] stash 22:25:22 Warning: overwriting stash ‘stack-cost’ 22:25:22 Stashed 1 file(s) [Pipeline] } 22:25:22 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-368-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:25:22 $ docker stop --time=1 fd211117099252371e1758716d2f10ada82270dafd5abd771149d816ba45f598 22:25:24 $ docker rm -f --volumes fd211117099252371e1758716d2f10ada82270dafd5abd771149d816ba45f598 [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 22:25:25 provisioning config files... 22:25:25 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config12073199573292076910tmp [Pipeline] { [Pipeline] sh 22:25:25 + set +x 22:25:25 + bash -s -- 22:25:25 + curl -s https://codecov.io/bash 22:25:25 22:25:25 _____ _ 22:25:25 / ____| | | 22:25:25 | | ___ __| | ___ ___ _____ __ 22:25:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:25:25 | |___| (_) | (_| | __/ (_| (_) \ V / 22:25:25 \_____\___/ \__,_|\___|\___\___/ \_/ 22:25:25 Bash-1.0.6 22:25:25 22:25:25 22:25:25 ==> git version 2.25.1 found 22:25:25 ==> 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 22:25:25 Release-Date: 2020-01-08 22:25:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:25:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:25:25 ==> Jenkins CI detected. 22:25:25 current dir:  /w/workspace/foundry_device-virtual-go_PR-368 22:25:25 project root: . 22:25:25 --> token set from env 22:25:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:25:25 ==> Running gcov in . (disable via -X gcov) 22:25:25 ==> Python coveragepy not found 22:25:25 ==> Searching for coverage reports in: 22:25:25 + . 22:25:25 -> Found 1 reports 22:25:25 ==> Detecting git/mercurial file structure 22:25:25 ==> Reading reports 22:25:25 + ./coverage.out bytes=44311 22:25:25 ==> Appending adjustments 22:25:25 https://docs.codecov.io/docs/fixing-reports 22:25:25 + Found adjustments 22:25:25 ==> Gzipping contents 22:25:25 8.0K /tmp/codecov.ACvG2Z.gz 22:25:25 ==> Uploading reports 22:25:25 url: https://codecov.io 22:25:25 query: branch=PR-368&commit=9b001715682b89ce05f6197f4a31789827fe5e84&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= 22:25:25 -> Pinging Codecov 22:25:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-368&commit=9b001715682b89ce05f6197f4a31789827fe5e84&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-368%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=368&job=&cmd_args= 22:25:26 -> Uploading to 22:25:26 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/5E52B4B073DB2E39498172D8E973AA87/9b001715682b89ce05f6197f4a31789827fe5e84/870eaaee-4849-4492-8586-a5654f8286d5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T222525Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b53dc6dcf9a79281b88521db4fc30372bb69b25e9e67827b9594a3a9262ad0ad 22:25:26 % Total % Received % Xferd Average Speed Time Time Time Current 22:25:26 Dload Upload Total Spent Left Speed 22:25:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5413 0 0 100 5413 0 19471 --:--:-- --:--:-- --:--:-- 19471 22:25:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/9b001715682b89ce05f6197f4a31789827fe5e84 [Pipeline] } 22:25:26 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 22:25:28 + [ -d /w/workspace/foundry_device-virtual-go_PR-368/archives ] 22:25:28 + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives 22:25:28 total 16 22:25:28 drwxr-xr-x 3 root root 4096 Mar 22 22:17 . 22:25:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:17 .. 22:25:28 drwxr-xr-x 2 root root 4096 Mar 22 22:17 cost 22:25:28 -rw-r--r-- 1 root root 89 Mar 22 22:17 cost.csv 22:25:28 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-368/archives 22:25:28 + ls -al /w/workspace/foundry_device-virtual-go_PR-368/archives 22:25:28 total 16 22:25:28 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:17 . 22:25:28 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:17 .. 22:25:28 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 22:17 cost 22:25:28 -rw-r--r-- 1 jenkins jenkins 89 Mar 22 22:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:25:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:25:29 ---> package-listing.sh 22:25:29 ++ facter osfamily 22:25:29 ++ tr '[:upper:]' '[:lower:]' 22:25:29 + OS_FAMILY=debian 22:25:29 + workspace=/w/workspace/foundry_device-virtual-go_PR-368 22:25:29 + START_PACKAGES=/tmp/packages_start.txt 22:25:29 + END_PACKAGES=/tmp/packages_end.txt 22:25:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:25:29 + PACKAGES=/tmp/packages_start.txt 22:25:29 + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' 22:25:29 + PACKAGES=/tmp/packages_end.txt 22:25:29 + case "${OS_FAMILY}" in 22:25:29 + dpkg -l 22:25:29 + grep '^ii' 22:25:29 + '[' -f /tmp/packages_start.txt ']' 22:25:29 + '[' -f /tmp/packages_end.txt ']' 22:25:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:25:29 + '[' /w/workspace/foundry_device-virtual-go_PR-368 ']' 22:25:29 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-368/archives/ 22:25:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-368/archives/ [Pipeline] echo 22:25:29 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-368/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:25:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:25:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:25:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:25:30 prd-ubuntu20.04-docker-8c-8g-5307 does not seem to be running inside a container 22:25:30 $ 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-368/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-368 -v /w/workspace/foundry_device-virtual-go_PR-368:/w/workspace/foundry_device-virtual-go_PR-368:rw,z -v /w/workspace/foundry_device-virtual-go_PR-368@tmp:/w/workspace/foundry_device-virtual-go_PR-368@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:25:30 $ docker top 8c5a807939e816c35bf8ddd391cd38e099b100c311a1b82121c556d40128416d -eo pid,comm [Pipeline] { [Pipeline] sh 22:25:31 + touch /tmp/pre-build-complete [Pipeline] sh 22:25:31 + mkdir -p /var/log/sysstat [Pipeline] sh 22:25:31 + ls /var/log/sa-host 22:25:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:25:31 provisioning config files... 22:25:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-368@tmp/config13492149631564483421tmp [Pipeline] { [Pipeline] echo 22:25:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:25:32 ---> create-netrc.sh [Pipeline] } 22:25:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:25:32 ---> python-tools-install.sh [Pipeline] echo 22:25:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:25:33 ---> sudo-logs.sh 22:25:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:25:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:25:33 ---> job-cost.sh 22:25:33 lf-activate-venv: SKIPPING 22:25:33 DEBUG: total: 0.2199999988079071 22:25:33 INFO: Retrieving Stack Cost... 22:25:34 INFO: Retrieving Pricing Info for: v3-standard-8 22:25:34 INFO: Archiving Costs [Pipeline] echo 22:25:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:25:34 ---> logs-deploy.sh 22:25:34 lf-activate-venv: SKIPPING 22:25:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-368/1 22:25:34 INFO: archiving workspace using pattern(s): 22:25:35 Archives upload complete. 22:25:35 INFO: archiving logs to Nexus