Pull request #414 event 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 cloudxxx8 for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 36b00301aac3e42689ed6b5e98d723939d553e06+c7e78e6532bae73b7c555e394d1391f1597ad588 (0b2b66fb578f6dfa45726be9f517f5f970a20cbc) 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-ssh7809544326803861499.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh9726716505458462231.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6915754906311161881.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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15587275288107506398.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh7976480901905429277.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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15435150999108819522.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17246’ Running on prd-ubuntu20.04-docker-8c-8g-17250 in /w/workspace/foundry_device-virtual-go_PR-414 [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-414 # 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/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c7e78e6532bae73b7c555e394d1391f1597ad588 into PR head commit 36b00301aac3e42689ed6b5e98d723939d553e06 Merge succeeded, producing 36b00301aac3e42689ed6b5e98d723939d553e06 Checking out Revision 36b00301aac3e42689ed6b5e98d723939d553e06 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 36b00301aac3e42689ed6b5e98d723939d553e06 # 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 c7e78e6532bae73b7c555e394d1391f1597ad588 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 36b00301aac3e42689ed6b5e98d723939d553e06 # timeout=10 Commit message: "docs: Update changelog for 3.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:16:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:16:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:16:36 ========================================================= 03:16:36 EdgeX Global Pipelines Version Info 03:16:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:16:36 ------------------- 03:16:36 stable info: 03:16:36 ------------------- 03:16:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:16:36 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 03:16:36 Message: update stable to v1.0.249 03:16:37 ------------------- 03:16:37 experimental info: 03:16:37 ------------------- 03:16:37 Commited By: **** collab-it+edgex@linuxfoundation.org 03:16:37 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 03:16:37 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:16:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 03:16:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 03:16:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:16:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:16:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:16:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 03:16:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 03:16:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 03:16:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 36b00301aac3e42689ed6b5e98d723939d553e06 [Pipeline] echo 03:16:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 36b0030 [Pipeline] echo 03:16:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:39 provisioning config files... 03:16:39 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-414@tmp/config2088602295549342753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:39 ---> docker-login.sh 03:16:39 nexus3.edgexfoundry.org:10001 03:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:39 Configure a credential helper to remove this warning. See 03:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:39 03:16:39 Login Succeeded 03:16:39 nexus3.edgexfoundry.org:10002 03:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:40 Configure a credential helper to remove this warning. See 03:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:40 03:16:40 Login Succeeded 03:16:40 nexus3.edgexfoundry.org:10003 03:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:40 Configure a credential helper to remove this warning. See 03:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:40 03:16:40 Login Succeeded 03:16:40 nexus3.edgexfoundry.org:10004 03:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:40 Configure a credential helper to remove this warning. See 03:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:40 03:16:40 Login Succeeded 03:16:40 docker.io 03:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:40 Configure a credential helper to remove this warning. See 03:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:40 03:16:40 Login Succeeded 03:16:40 ---> docker-login.sh ends [Pipeline] } 03:16:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:16:41 + git rev-list -1 --merges 36b00301aac3e42689ed6b5e98d723939d553e06~1..36b00301aac3e42689ed6b5e98d723939d553e06 [Pipeline] echo 03:16:41 -----------> git rev-list -1 --merges 36b00301aac3e42689ed6b5e98d723939d553e06~1..36b00301aac3e42689ed6b5e98d723939d553e06 36b00301aac3e42689ed6b5e98d723939d553e06 [false] [Pipeline] sh 03:16:41 + git log --format=format:%s -1 36b00301aac3e42689ed6b5e98d723939d553e06 [Pipeline] echo 03:16:41 ========================================================= 03:16:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:16:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:16:41 + git log --format=format:%s -1 36b00301aac3e42689ed6b5e98d723939d553e06 [Pipeline] echo 03:16:41 [semverPrep] GIT_COMMIT: 36b00301aac3e42689ed6b5e98d723939d553e06, Commit Message: docs: Update changelog for 3.0 [Pipeline] echo 03:16:41 [semverPrep] This is not a build commit. [Pipeline] sh 03:16:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:16:42 + grep -v github /etc/ssh/ssh_known_hosts 03:16:42 + [ -e /tmp/ssh_known_hosts ] 03:16:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:16:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:16:42 + sudo tee -a /etc/ssh/ssh_known_hosts 03:16:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:42 03:16:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:43 0.1.4: Pulling from edgex-devops/py-git-semver 03:16:43 b85a868b505f: Pulling fs layer 03:16:43 e2be974225ed: Pulling fs layer 03:16:43 339a4e72a1f5: Pulling fs layer 03:16:43 988bab9f4d93: Pulling fs layer 03:16:43 1469e6f7b9e6: Pulling fs layer 03:16:43 eaf3925da568: Pulling fs layer 03:16:43 bab4dde63d76: Pulling fs layer 03:16:43 bde34c3a00c8: Pulling fs layer 03:16:43 b352a97aabf1: Pulling fs layer 03:16:43 4872d77fe225: Pulling fs layer 03:16:43 5851b861e8e6: Pulling fs layer 03:16:43 eaf3925da568: Waiting 03:16:43 5851b861e8e6: Waiting 03:16:43 bab4dde63d76: Waiting 03:16:43 bde34c3a00c8: Waiting 03:16:43 988bab9f4d93: Waiting 03:16:43 4872d77fe225: Waiting 03:16:43 1469e6f7b9e6: Waiting 03:16:43 b352a97aabf1: Waiting 03:16:43 e2be974225ed: Download complete 03:16:43 988bab9f4d93: Verifying Checksum 03:16:43 988bab9f4d93: Download complete 03:16:43 339a4e72a1f5: Verifying Checksum 03:16:43 339a4e72a1f5: Download complete 03:16:43 1469e6f7b9e6: Verifying Checksum 03:16:43 1469e6f7b9e6: Download complete 03:16:43 eaf3925da568: Verifying Checksum 03:16:43 eaf3925da568: Download complete 03:16:43 bde34c3a00c8: Verifying Checksum 03:16:43 bde34c3a00c8: Download complete 03:16:43 b352a97aabf1: Verifying Checksum 03:16:43 b352a97aabf1: Download complete 03:16:43 4872d77fe225: Verifying Checksum 03:16:43 4872d77fe225: Download complete 03:16:43 5851b861e8e6: Verifying Checksum 03:16:43 b85a868b505f: Verifying Checksum 03:16:43 b85a868b505f: Download complete 03:16:44 bab4dde63d76: Verifying Checksum 03:16:44 bab4dde63d76: Download complete 03:16:44 b85a868b505f: Pull complete 03:16:44 e2be974225ed: Pull complete 03:16:45 339a4e72a1f5: Pull complete 03:16:45 988bab9f4d93: Pull complete 03:16:45 1469e6f7b9e6: Pull complete 03:16:45 eaf3925da568: Pull complete 03:16:47 bab4dde63d76: Pull complete 03:16:47 bde34c3a00c8: Pull complete 03:16:47 b352a97aabf1: Pull complete 03:16:47 4872d77fe225: Pull complete 03:16:47 5851b861e8e6: Pull complete 03:16:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:16:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:16:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:47 prd-ubuntu20.04-docker-8c-8g-17250 does not seem to be running inside a container 03:16:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-414 -v /w/workspace/foundry_device-virtual-go_PR-414:/w/workspace/foundry_device-virtual-go_PR-414:rw,z -v /w/workspace/foundry_device-virtual-go_PR-414@tmp:/w/workspace/foundry_device-virtual-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:16:51 $ docker top 0fed00ed22d699b08975a0a6df33d4d38ca76638f93249ec84ba9938ba946989 -eo pid,comm 03:16:51 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). 03:16:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:16:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:51 [ssh-agent] Looking for ssh-agent implementation... 03:16:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:51 $ docker exec 0fed00ed22d699b08975a0a6df33d4d38ca76638f93249ec84ba9938ba946989 ssh-agent 03:16:51 SSH_AUTH_SOCK=/tmp/ssh-Sz82ucYQpwus/agent.34 03:16:51 SSH_AGENT_PID=40 03:16:51 Running ssh-add (command line suppressed) 03:16:51 Identity added: /w/workspace/foundry_device-virtual-go_PR-414@tmp/private_key_2266269957899370323.key (/w/workspace/foundry_device-virtual-go_PR-414@tmp/private_key_2266269957899370323.key) 03:16:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:52 + git tag --points-at HEAD [Pipeline] } 03:16:52 $ docker exec --env ******** --env ******** 0fed00ed22d699b08975a0a6df33d4d38ca76638f93249ec84ba9938ba946989 ssh-agent -k 03:16:52 unset SSH_AUTH_SOCK; 03:16:52 unset SSH_AGENT_PID; 03:16:52 echo Agent pid 40 killed; 03:16:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:16:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:16:52 [ssh-agent] Looking for ssh-agent implementation... 03:16:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:16:52 $ docker exec 0fed00ed22d699b08975a0a6df33d4d38ca76638f93249ec84ba9938ba946989 ssh-agent 03:16:52 SSH_AUTH_SOCK=/tmp/ssh-UBkoFa1HJLvx/agent.72 03:16:52 SSH_AGENT_PID=78 03:16:52 Running ssh-add (command line suppressed) 03:16:52 Identity added: /w/workspace/foundry_device-virtual-go_PR-414@tmp/private_key_16202396675865070738.key (/w/workspace/foundry_device-virtual-go_PR-414@tmp/private_key_16202396675865070738.key) 03:16:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:16:53 + git semver init 03:16:53 2023-05-30 03:16:53,288 [run_init] DEBUG init version:0.0.0 force:False 03:16:53 2023-05-30 03:16:53,289 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-414/.semver 03:16:53 2023-05-30 03:16:53,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-414/.semver 03:16:53 2023-05-30 03:16:53,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-414/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-414, universal_newlines=False, shell=None, istream=None) 03:16:54 2023-05-30 03:16:54,492 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-414/.git/info/exclude 03:16:54 2023-05-30 03:16:54,493 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-414/.semver/PR-414 with force:False 03:16:54 2023-05-30 03:16:54,493 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-414/.semver/PR-414 03:16:54 2023-05-30 03:16:54,497 [execute] INFO git cat-file --batch-check 03:16:54 2023-05-30 03:16:54,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 03:16:54 2023-05-30 03:16:54,504 [execute] INFO git cat-file --batch 03:16:54 2023-05-30 03:16:54,504 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 03:16:54 2023-05-30 03:16:54,508 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-414/.semver/PR-414 03:16:54 0.0.0 [Pipeline] } 03:16:54 $ docker exec --env ******** --env ******** 0fed00ed22d699b08975a0a6df33d4d38ca76638f93249ec84ba9938ba946989 ssh-agent -k 03:16:54 unset SSH_AUTH_SOCK; 03:16:54 unset SSH_AGENT_PID; 03:16:54 echo Agent pid 78 killed; 03:16:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:16:55 + git semver [Pipeline] } 03:16:55 $ docker stop --time=1 0fed00ed22d699b08975a0a6df33d4d38ca76638f93249ec84ba9938ba946989 03:16:56 $ docker rm -f --volumes 0fed00ed22d699b08975a0a6df33d4d38ca76638f93249ec84ba9938ba946989 [Pipeline] // withDockerContainer [Pipeline] sh 03:16:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:16:57 Stashed 1 file(s) [Pipeline] echo 03:16:57 [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 03:16:58 provisioning config files... 03:16:58 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-414@tmp/config11275122588033428166tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:58 ---> docker-login.sh 03:16:58 nexus3.edgexfoundry.org:10001 03:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:58 Configure a credential helper to remove this warning. See 03:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:58 03:16:58 Login Succeeded 03:16:58 nexus3.edgexfoundry.org:10002 03:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:58 Configure a credential helper to remove this warning. See 03:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:58 03:16:58 Login Succeeded 03:16:58 nexus3.edgexfoundry.org:10003 03:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:58 Configure a credential helper to remove this warning. See 03:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:58 03:16:58 Login Succeeded 03:16:58 nexus3.edgexfoundry.org:10004 03:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:58 Configure a credential helper to remove this warning. See 03:16:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:58 03:16:58 Login Succeeded 03:16:58 docker.io 03:16:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:16:59 Configure a credential helper to remove this warning. See 03:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:16:59 03:16:59 Login Succeeded 03:16:59 ---> docker-login.sh ends [Pipeline] } 03:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:16:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:16:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:16:59 ========================================================= 03:16:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:16:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:59 + 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 . 03:16:59 Sending build context to Docker daemon 23.69MB 03:16:59 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:16:59 Step 2/12 : FROM ${BASE} AS builder 03:17:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:17:00 f56be85fc22e: Pulling fs layer 03:17:00 85791d961cd3: Pulling fs layer 03:17:00 d694b5ae8c79: Pulling fs layer 03:17:00 9f32a84ed3da: Pulling fs layer 03:17:00 4d19c01a9841: Pulling fs layer 03:17:00 9325e15d5711: Pulling fs layer 03:17:00 556b6ee489ea: Pulling fs layer 03:17:00 c5a4b2cf53e6: Pulling fs layer 03:17:00 9f32a84ed3da: Waiting 03:17:00 4d19c01a9841: Waiting 03:17:00 9325e15d5711: Waiting 03:17:00 556b6ee489ea: Waiting 03:17:00 c5a4b2cf53e6: Waiting 03:17:00 85791d961cd3: Verifying Checksum 03:17:00 85791d961cd3: Download complete 03:17:00 9f32a84ed3da: Verifying Checksum 03:17:00 9f32a84ed3da: Download complete 03:17:00 f56be85fc22e: Verifying Checksum 03:17:00 f56be85fc22e: Download complete 03:17:00 4d19c01a9841: Verifying Checksum 03:17:00 4d19c01a9841: Download complete 03:17:00 9325e15d5711: Verifying Checksum 03:17:00 9325e15d5711: Download complete 03:17:00 f56be85fc22e: Pull complete 03:17:00 85791d961cd3: Pull complete 03:17:00 c5a4b2cf53e6: Verifying Checksum 03:17:00 c5a4b2cf53e6: Download complete 03:17:00 d694b5ae8c79: Verifying Checksum 03:17:00 d694b5ae8c79: Download complete 03:17:00 556b6ee489ea: Verifying Checksum 03:17:00 556b6ee489ea: Download complete 03:17:04 d694b5ae8c79: Pull complete 03:17:04 9f32a84ed3da: Pull complete 03:17:04 4d19c01a9841: Pull complete 03:17:04 9325e15d5711: Pull complete 03:17:06 556b6ee489ea: Pull complete 03:17:06 c5a4b2cf53e6: Pull complete 03:17:06 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 03:17:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:17:07 ---> c4be618373d6 03:17:07 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:17:13 Still waiting to schedule task 03:17:13 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17247’ 03:17:13 ---> Running in 8d290a2ef31d 03:17:13 Removing intermediate container 8d290a2ef31d 03:17:13 ---> 2ddaabe9a250 03:17:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:17:13 ---> Running in 0e6ededa5948 03:17:13 Removing intermediate container 0e6ededa5948 03:17:13 ---> 5a93dfc9d24c 03:17:13 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:17:13 ---> Running in af0253d44016 03:17:13 Removing intermediate container af0253d44016 03:17:13 ---> bed56ba06b7d 03:17:13 Step 6/12 : WORKDIR /device-virtual-go 03:17:13 ---> Running in f789e6f5497b 03:17:13 Removing intermediate container f789e6f5497b 03:17:13 ---> 356127339eaf 03:17:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:13 ---> Running in 2355fd5cd429 03:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:17:13 (1/4) Installing openssh-keygen (9.1_p1-r3) 03:17:13 (2/4) Installing libedit (20221030.3.1-r0) 03:17:13 (3/4) Installing openssh-client-common (9.1_p1-r3) 03:17:13 (4/4) Installing openssh-client-default (9.1_p1-r3) 03:17:13 Executing busybox-1.35.0-r29.trigger 03:17:13 OK: 269 MiB in 57 packages 03:17:14 Removing intermediate container 2355fd5cd429 03:17:14 ---> d68ce74cca22 03:17:14 Step 8/12 : COPY go.mod vendor* ./ 03:17:14 ---> 8fb38eeb5c19 03:17:14 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:14 ---> Running in 491d259bb65d 03:18:01 Removing intermediate container 491d259bb65d 03:18:01 ---> 1aee2fefb103 03:18:01 Step 10/12 : COPY . . 03:18:01 ---> dd7245f87fa1 03:18:01 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:18:01 ---> Running in 9372b410f2fd 03:18:01 Removing intermediate container 9372b410f2fd 03:18:01 ---> 07a5a528acc6 03:18:01 Step 12/12 : RUN $MAKE 03:18:01 ---> Running in 30b180d243b3 03:18:01 noop 03:18:01 Removing intermediate container 30b180d243b3 03:18:01 ---> fea297b649e3 03:18:01 Successfully built fea297b649e3 03:18:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:01 + docker inspect -f . ci-base-image-x86_64 03:18:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:01 prd-ubuntu20.04-docker-8c-8g-17250 does not seem to be running inside a container 03:18:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-414 -v /w/workspace/foundry_device-virtual-go_PR-414:/w/workspace/foundry_device-virtual-go_PR-414:rw,z -v /w/workspace/foundry_device-virtual-go_PR-414@tmp:/w/workspace/foundry_device-virtual-go_PR-414@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 ******** ci-base-image-x86_64 cat 03:18:02 $ docker top 72a76f373acfdacb4d0a4b878f094404d3a7285c5054f6ef77ef946201ca0f03 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:02 + go version 03:18:02 go version go1.20.2 linux/amd64 [Pipeline] } 03:18:02 $ docker stop --time=1 72a76f373acfdacb4d0a4b878f094404d3a7285c5054f6ef77ef946201ca0f03 03:18:04 $ docker rm -f --volumes 72a76f373acfdacb4d0a4b878f094404d3a7285c5054f6ef77ef946201ca0f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:04 + docker inspect -f . ci-base-image-x86_64 03:18:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:04 prd-ubuntu20.04-docker-8c-8g-17250 does not seem to be running inside a container 03:18:04 $ 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-414 -v /w/workspace/foundry_device-virtual-go_PR-414:/w/workspace/foundry_device-virtual-go_PR-414:rw,z -v /w/workspace/foundry_device-virtual-go_PR-414@tmp:/w/workspace/foundry_device-virtual-go_PR-414@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 ******** ci-base-image-x86_64 cat 03:18:05 $ docker top 7cdd72026daccd96f39c2c1a0b98f29a53180ed77614ed4c87b1e073d693f5f7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:05 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-414 [Pipeline] fileExists [Pipeline] sh 03:18:05 + make test 03:18:05 go test ./... -coverprofile=coverage.out 03:18:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:18:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:18:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.017s coverage: 58.6% of statements 03:18:24 go vet ./... 03:18:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:18:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:18:27 ./bin/test-attribution-txt.sh [Pipeline] echo 03:18:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:18:27 $ docker stop --time=1 7cdd72026daccd96f39c2c1a0b98f29a53180ed77614ed4c87b1e073d693f5f7 03:18:30 $ docker rm -f --volumes 7cdd72026daccd96f39c2c1a0b98f29a53180ed77614ed4c87b1e073d693f5f7 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:18:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:18:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:18:32 + ls -al . 03:18:32 total 200 03:18:32 drwxrwxr-x 9 jenkins jenkins 4096 May 30 03:18 . 03:18:32 drwxrwxr-x 4 jenkins jenkins 4096 May 30 03:16 .. 03:18:32 drwxrwxr-x 8 jenkins jenkins 4096 May 30 03:16 .git 03:18:32 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:16 .github 03:18:32 -rw-rw-r-- 1 jenkins jenkins 337 May 30 03:16 .gitignore 03:18:32 -rw-rw-r-- 1 jenkins jenkins 41 May 30 03:16 .golangci.yml 03:18:32 drwxr-xr-x 3 jenkins jenkins 4096 May 30 03:16 .semver 03:18:32 -rw-rw-r-- 1 jenkins jenkins 8652 May 30 03:16 Attribution.txt 03:18:32 -rw-rw-r-- 1 jenkins jenkins 14372 May 30 03:16 CHANGELOG.md 03:18:32 -rw-rw-r-- 1 jenkins jenkins 1646 May 30 03:16 Dockerfile 03:18:32 -rw-rw-r-- 1 jenkins jenkins 677 May 30 03:16 GOVERNANCE.md 03:18:32 -rw-rw-r-- 1 jenkins jenkins 660 May 30 03:16 Jenkinsfile 03:18:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 03:16 LICENSE 03:18:32 -rw-rw-r-- 1 jenkins jenkins 1696 May 30 03:16 Makefile 03:18:32 -rw-rw-r-- 1 jenkins jenkins 623 May 30 03:16 OWNERS.md 03:18:32 -rw-rw-r-- 1 jenkins jenkins 4111 May 30 03:16 README.md 03:18:32 -rw-rw-r-- 1 jenkins jenkins 5 May 30 03:16 VERSION 03:18:32 drwxrwxr-x 2 jenkins jenkins 4096 May 30 03:16 bin 03:18:32 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:16 cmd 03:18:32 -rw-r--r-- 1 jenkins jenkins 43063 May 30 03:18 coverage.out 03:18:32 -rw-rw-r-- 1 jenkins jenkins 3161 May 30 03:16 go.mod 03:18:32 -rw-rw-r-- 1 jenkins jenkins 30898 May 30 03:16 go.sum 03:18:32 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:16 internal 03:18:32 drwxrwxr-x 4 jenkins jenkins 4096 May 30 03:16 snap 03:18:32 -rw-rw-r-- 1 jenkins jenkins 235 May 30 03:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:32 + 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=36b00301aac3e42689ed6b5e98d723939d553e06 --label arch=amd64 --label version=0.0.0 . 03:18:32 Sending build context to Docker daemon 23.74MB 03:18:32 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:18:32 Step 2/25 : FROM ${BASE} AS builder 03:18:32 ---> fea297b649e3 03:18:32 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:18:33 ---> Running in d36a5b392d18 03:18:33 Removing intermediate container d36a5b392d18 03:18:33 ---> eab2f2a82f7e 03:18:33 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:18:33 ---> Running in b989d1471413 03:18:33 Removing intermediate container b989d1471413 03:18:33 ---> 2ca7f7eb0d12 03:18:33 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:18:33 ---> Running in afbdda585ae5 03:18:33 Removing intermediate container afbdda585ae5 03:18:33 ---> e003e8d590b5 03:18:33 Step 6/25 : WORKDIR /device-virtual-go 03:18:33 ---> Running in 54bc7a16a497 03:18:33 Removing intermediate container 54bc7a16a497 03:18:33 ---> 97d18a008dce 03:18:33 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:33 ---> Running in 28d687c7f29b 03:18:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:18:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:18:34 OK: 269 MiB in 57 packages 03:18:34 Removing intermediate container 28d687c7f29b 03:18:34 ---> 346416cb170e 03:18:34 Step 8/25 : COPY go.mod vendor* ./ 03:18:34 ---> e60f2a7ef885 03:18:34 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:34 ---> Running in aa7214b99a71 03:18:35 Removing intermediate container aa7214b99a71 03:18:35 ---> 4e48f181326f 03:18:35 Step 10/25 : COPY . . 03:18:36 ---> 6030790829da 03:18:36 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:18:36 ---> Running in bc0e191f0620 03:18:36 Removing intermediate container bc0e191f0620 03:18:36 ---> 2126f6cab275 03:18:36 Step 12/25 : RUN $MAKE 03:18:36 ---> Running in 8dad352ac777 03:18:36 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 03:18:54 Removing intermediate container 8dad352ac777 03:18:54 ---> a34ff2865440 03:18:54 Step 13/25 : FROM alpine:3.17 03:18:54 3.17: Pulling from library/alpine 03:18:54 f56be85fc22e: Already exists 03:18:54 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:18:54 Status: Downloaded newer image for alpine:3.17 03:18:54 ---> 9ed4aefc74f6 03:18:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:18:54 ---> Running in d3d3b2f9b25b 03:18:54 Removing intermediate container d3d3b2f9b25b 03:18:54 ---> c6d50013c6e9 03:18:54 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:18:54 ---> Running in 1c1a3af97c96 03:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:18:55 (1/1) Installing dumb-init (1.2.5-r2) 03:18:55 Executing busybox-1.35.0-r29.trigger 03:18:55 OK: 7 MiB in 16 packages 03:18:55 Removing intermediate container 1c1a3af97c96 03:18:55 ---> 34f9da20aaf4 03:18:55 Step 16/25 : WORKDIR / 03:18:55 ---> Running in 08218afe23bd 03:18:55 Removing intermediate container 08218afe23bd 03:18:55 ---> a41a38625465 03:18:55 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:18:55 ---> 25edd3c7f92c 03:18:55 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 03:18:55 ---> db0b8f895855 03:18:55 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 03:18:56 ---> 1960bc71873b 03:18:56 Step 20/25 : EXPOSE 59900 03:18:56 ---> Running in 6fc84586a19d 03:18:56 Removing intermediate container 6fc84586a19d 03:18:56 ---> a27b79cd8c0e 03:18:56 Step 21/25 : ENTRYPOINT ["/device-virtual"] 03:18:56 ---> Running in ea4958df725e 03:18:56 Removing intermediate container ea4958df725e 03:18:56 ---> 46aa56fb5821 03:18:56 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:18:56 ---> Running in 646b891a6a18 03:18:56 Removing intermediate container 646b891a6a18 03:18:56 ---> 89ade1d8da81 03:18:56 Step 23/25 : LABEL arch=amd64 03:18:56 ---> Running in bb1e593f56ff 03:18:56 Removing intermediate container bb1e593f56ff 03:18:56 ---> e122e77027cc 03:18:56 Step 24/25 : LABEL git_sha=36b00301aac3e42689ed6b5e98d723939d553e06 03:18:56 ---> Running in ec92680d251a 03:18:57 Removing intermediate container ec92680d251a 03:18:57 ---> 1c5233d3f0df 03:18:57 Step 25/25 : LABEL version=0.0.0 03:18:57 ---> Running in f83a376c284f 03:18:57 Removing intermediate container f83a376c284f 03:18:57 ---> ffd8f4f97a38 03:18:57 [Warning] One or more build-args [ARCH] were not consumed 03:18:57 Successfully built ffd8f4f97a38 03:18:57 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 03:18:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:57 03:18:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:18:58 latest: Pulling from edgex-lftools-log-publisher 03:18:58 5eb5b503b376: Pulling fs layer 03:18:58 5c69ac0246d0: Pulling fs layer 03:18:58 ec43610c2a17: Pulling fs layer 03:18:58 3a2ae6a8a46f: Pulling fs layer 03:18:58 33b1e0a273af: Pulling fs layer 03:18:58 5d3b04190fa2: Pulling fs layer 03:18:58 2f39f015ded8: Pulling fs layer 03:18:58 33b1e0a273af: Waiting 03:18:58 5d3b04190fa2: Waiting 03:18:58 2f39f015ded8: Waiting 03:18:58 3a2ae6a8a46f: Waiting 03:18:58 5c69ac0246d0: Verifying Checksum 03:18:58 5c69ac0246d0: Download complete 03:18:58 3a2ae6a8a46f: Verifying Checksum 03:18:58 3a2ae6a8a46f: Download complete 03:18:58 33b1e0a273af: Verifying Checksum 03:18:58 33b1e0a273af: Download complete 03:18:58 5d3b04190fa2: Verifying Checksum 03:18:58 5d3b04190fa2: Download complete 03:18:58 ec43610c2a17: Verifying Checksum 03:18:58 ec43610c2a17: Download complete 03:18:58 5eb5b503b376: Verifying Checksum 03:18:58 5eb5b503b376: Download complete 03:18:59 2f39f015ded8: Download complete 03:18:59 5eb5b503b376: Pull complete 03:19:00 5c69ac0246d0: Pull complete 03:19:00 ec43610c2a17: Pull complete 03:19:00 3a2ae6a8a46f: Pull complete 03:19:00 33b1e0a273af: Pull complete 03:19:00 5d3b04190fa2: Pull complete 03:19:05 2f39f015ded8: Pull complete 03:19:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:19:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:05 prd-ubuntu20.04-docker-8c-8g-17250 does not seem to be running inside a container 03:19:05 $ 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-414 -v /w/workspace/foundry_device-virtual-go_PR-414:/w/workspace/foundry_device-virtual-go_PR-414:rw,z -v /w/workspace/foundry_device-virtual-go_PR-414@tmp:/w/workspace/foundry_device-virtual-go_PR-414@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 03:19:10 $ docker top 9febb89276f0834ed9419db4d8e484477714a6a1c183f7f0ca5fe7837b7f80f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:10 ---> job-cost.sh 03:19:10 lf-activate-venv: SKIPPING 03:19:10 INFO: No Stack... 03:19:10 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:11 INFO: Archiving Costs [Pipeline] sh 03:19:11 + cat /w/workspace/foundry_device-virtual-go_PR-414/archives/cost.csv 03:19:11 + cut -d, -f6 [Pipeline] lock 03:19:11 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-414-1-stack-cost] 03:19:11 Resource [jenkins-edgexfoundry-device-virtual-go-PR-414-1-stack-cost] did not exist. Created. 03:19:11 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:12 + echo total: 0.2199999988079071 [Pipeline] stash 03:19:12 Stashed 1 file(s) [Pipeline] } 03:19:12 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:12 $ docker stop --time=1 9febb89276f0834ed9419db4d8e484477714a6a1c183f7f0ca5fe7837b7f80f1 03:19:13 $ docker rm -f --volumes 9febb89276f0834ed9419db4d8e484477714a6a1c183f7f0ca5fe7837b7f80f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:20:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17251 in /w/workspace/foundry_device-virtual-go_PR-414 [Pipeline] { [Pipeline] ws 03:20:46 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 03:20:46 The recommended git tool is: git 03:20:51 using credential edgex-jenkins-ssh 03:20:51 Cloning the remote Git repository 03:20:52 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 03:20:52 > git init /w/workspace/device-virtual-go/1 # timeout=10 03:20:52 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:20:52 > git --version # timeout=10 03:20:52 > git --version # 'git version 2.25.1' 03:20:52 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:20:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:20:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:20:56 Merging remotes/origin/main commit c7e78e6532bae73b7c555e394d1391f1597ad588 into PR head commit 36b00301aac3e42689ed6b5e98d723939d553e06 03:20:55 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 03:20:55 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 03:20:55 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:20:56 > git config core.sparsecheckout # timeout=10 03:20:56 > git checkout -f 36b00301aac3e42689ed6b5e98d723939d553e06 # timeout=10 03:20:56 Merge succeeded, producing 36b00301aac3e42689ed6b5e98d723939d553e06 03:20:56 Checking out Revision 36b00301aac3e42689ed6b5e98d723939d553e06 (PR-414) 03:20:56 > git remote # timeout=10 03:20:56 > git config --get remote.origin.url # timeout=10 03:20:56 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:56 > git merge c7e78e6532bae73b7c555e394d1391f1597ad588 # timeout=10 03:20:56 > git rev-parse HEAD^{commit} # timeout=10 03:20:56 > git config core.sparsecheckout # timeout=10 03:20:56 > git checkout -f 36b00301aac3e42689ed6b5e98d723939d553e06 # timeout=10 03:21:00 Commit message: "docs: Update changelog for 3.0" 03:21:00 > git --version # timeout=10 03:21:00 > git --version # 'git version 2.25.1' 03:21:00 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:21:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:21:01 % Total % Received % Xferd Average Speed Time Time Time Current 03:21:01 Dload Upload Total Spent Left Speed 03:21:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 61009 0 --:--:-- --:--:-- --:--:-- 61302 [Pipeline] sh 03:21:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:21:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:21:02 + sudo tee /etc/docker/daemon.new 03:21:02 { 03:21:02 "registry-mirrors": [ 03:21:02 "https://nexus3.edgexfoundry.org:10001" 03:21:02 ], 03:21:02 "bip": "10.250.0.254/24", 03:21:02 "hosts": [ 03:21:02 "tcp://0.0.0.0:5555", 03:21:02 "unix:///var/run/docker.sock" 03:21:02 ], 03:21:02 "mtu": 1458, 03:21:02 "selinux-enabled": true, 03:21:02 "seccomp-profile": "/etc/docker/seccomp.json" 03:21:02 } [Pipeline] sh 03:21:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:21:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:21:21 provisioning config files... 03:21:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config11835263927925110011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:21:22 ---> docker-login.sh 03:21:22 nexus3.edgexfoundry.org:10001 03:21:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:22 Configure a credential helper to remove this warning. See 03:21:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:22 03:21:22 Login Succeeded 03:21:22 nexus3.edgexfoundry.org:10002 03:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:23 Configure a credential helper to remove this warning. See 03:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:23 03:21:23 Login Succeeded 03:21:23 nexus3.edgexfoundry.org:10003 03:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:23 Configure a credential helper to remove this warning. See 03:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:23 03:21:23 Login Succeeded 03:21:23 nexus3.edgexfoundry.org:10004 03:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:23 Configure a credential helper to remove this warning. See 03:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:23 03:21:23 Login Succeeded 03:21:23 docker.io 03:21:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:21:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:21:24 Configure a credential helper to remove this warning. See 03:21:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:21:24 03:21:24 Login Succeeded 03:21:24 ---> docker-login.sh ends [Pipeline] } 03:21:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:21:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:21:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:21:24 ========================================================= 03:21:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:21:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:21:25 + 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 . 03:21:26 Sending build context to Docker daemon 12.02MB 03:21:26 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 03:21:26 Step 2/12 : FROM ${BASE} AS builder 03:21:26 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:21:26 c41833b44d91: Pulling fs layer 03:21:26 ed15518f5707: Pulling fs layer 03:21:26 feae8fd75edb: Pulling fs layer 03:21:26 242c74f7c9fa: Pulling fs layer 03:21:26 3cdef696dda3: Pulling fs layer 03:21:26 2ced38df9373: Pulling fs layer 03:21:26 58f1dce35555: Pulling fs layer 03:21:26 3cdef696dda3: Waiting 03:21:26 2ced38df9373: Waiting 03:21:26 58f1dce35555: Waiting 03:21:26 242c74f7c9fa: Waiting 03:21:26 ed15518f5707: Verifying Checksum 03:21:26 ed15518f5707: Download complete 03:21:26 242c74f7c9fa: Verifying Checksum 03:21:26 242c74f7c9fa: Download complete 03:21:26 3cdef696dda3: Verifying Checksum 03:21:26 3cdef696dda3: Download complete 03:21:26 c41833b44d91: Download complete 03:21:28 c41833b44d91: Pull complete 03:21:28 58f1dce35555: Verifying Checksum 03:21:28 58f1dce35555: Download complete 03:21:28 ed15518f5707: Pull complete 03:21:29 feae8fd75edb: Verifying Checksum 03:21:29 feae8fd75edb: Download complete 03:21:29 2ced38df9373: Verifying Checksum 03:21:29 2ced38df9373: Download complete 03:21:41 feae8fd75edb: Pull complete 03:21:41 242c74f7c9fa: Pull complete 03:21:41 3cdef696dda3: Pull complete 03:21:47 2ced38df9373: Pull complete 03:21:53 58f1dce35555: Pull complete 03:21:53 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 03:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:21:53 ---> fadd8f120f05 03:21:53 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:21:55 ---> Running in d0979e0db2e4 03:21:55 Removing intermediate container d0979e0db2e4 03:21:55 ---> a6c1fabd8c52 03:21:55 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:21:55 ---> Running in ca8b1712a1db 03:21:55 Removing intermediate container ca8b1712a1db 03:21:55 ---> 1c70d35da732 03:21:55 Step 5/12 : ARG ADD_BUILD_TAGS="" 03:21:56 ---> Running in dafc9ad15538 03:21:56 Removing intermediate container dafc9ad15538 03:21:56 ---> 2f3ee0f835fb 03:21:56 Step 6/12 : WORKDIR /device-virtual-go 03:21:56 ---> Running in 2a7e73dda3a5 03:21:56 Removing intermediate container 2a7e73dda3a5 03:21:56 ---> 43c76d1caa85 03:21:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:56 ---> Running in bd11c7cdb43b 03:21:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:21:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:21:59 (1/4) Installing openssh-keygen (9.1_p1-r3) 03:21:59 (2/4) Installing libedit (20221030.3.1-r0) 03:21:59 (3/4) Installing openssh-client-common (9.1_p1-r3) 03:21:59 (4/4) Installing openssh-client-default (9.1_p1-r3) 03:21:59 Executing busybox-1.35.0-r29.trigger 03:21:59 OK: 268 MiB in 57 packages 03:22:01 Removing intermediate container bd11c7cdb43b 03:22:01 ---> 302bf5a50c92 03:22:01 Step 8/12 : COPY go.mod vendor* ./ 03:22:01 ---> 065b4eb7c410 03:22:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:22:01 ---> Running in d9957ed27150 03:23:09 Removing intermediate container d9957ed27150 03:23:09 ---> f19de939789b 03:23:09 Step 10/12 : COPY . . 03:23:09 ---> 74e3b4ae396d 03:23:09 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:23:09 ---> Running in 5b50a2d56797 03:23:09 Removing intermediate container 5b50a2d56797 03:23:09 ---> 7b0128a73c42 03:23:09 Step 12/12 : RUN $MAKE 03:23:09 ---> Running in c26fdda3e05d 03:23:09 noop 03:23:09 Removing intermediate container c26fdda3e05d 03:23:09 ---> 730804138dc7 03:23:09 Successfully built 730804138dc7 03:23:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:09 + docker inspect -f . ci-base-image-arm64 03:23:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:10 prd-ubuntu20.04-docker-arm64-4c-16g-17251 does not seem to be running inside a container 03:23:10 $ 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 03:23:11 $ docker top 574ca218ad1769d8682eb51589687e32b2fe567d87137d96926f823edf213542 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:12 + go version 03:23:12 go version go1.20.2 linux/arm64 [Pipeline] } 03:23:12 $ docker stop --time=1 574ca218ad1769d8682eb51589687e32b2fe567d87137d96926f823edf213542 03:23:14 $ docker rm -f --volumes 574ca218ad1769d8682eb51589687e32b2fe567d87137d96926f823edf213542 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:15 + docker inspect -f . ci-base-image-arm64 03:23:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:15 prd-ubuntu20.04-docker-arm64-4c-16g-17251 does not seem to be running inside a container 03:23:15 $ 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 03:23:18 $ docker top 8209b9921e8aef23ace98b33aa55c47277e3b23fccd78744be424aa22141b7c9 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:19 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 03:23:19 + make test 03:23:19 go test ./... -coverprofile=coverage.out 03:23:58 ? github.com/edgexfoundry/device-virtual-go [no test files] 03:26:05 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 03:26:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.103s coverage: 58.4% of statements 03:26:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:26:07 go vet ./... 03:26:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:26:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:26:39 ./bin/test-attribution-txt.sh [Pipeline] echo 03:26:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:26:39 $ docker stop --time=1 8209b9921e8aef23ace98b33aa55c47277e3b23fccd78744be424aa22141b7c9 03:26:42 $ docker rm -f --volumes 8209b9921e8aef23ace98b33aa55c47277e3b23fccd78744be424aa22141b7c9 [Pipeline] // withDockerContainer [Pipeline] sh 03:26:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:26:43 Warning: overwriting stash ‘coverage-report’ 03:26:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:26:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:26:44 + ls -al . 03:26:44 total 196 03:26:44 drwxrwxr-x 8 jenkins jenkins 4096 May 30 03:23 . 03:26:44 drwxrwxr-x 4 jenkins jenkins 4096 May 30 03:20 .. 03:26:44 drwxrwxr-x 8 jenkins jenkins 4096 May 30 03:20 .git 03:26:44 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:20 .github 03:26:44 -rw-rw-r-- 1 jenkins jenkins 337 May 30 03:20 .gitignore 03:26:44 -rw-rw-r-- 1 jenkins jenkins 41 May 30 03:20 .golangci.yml 03:26:44 -rw-rw-r-- 1 jenkins jenkins 8652 May 30 03:20 Attribution.txt 03:26:44 -rw-rw-r-- 1 jenkins jenkins 14372 May 30 03:20 CHANGELOG.md 03:26:44 -rw-rw-r-- 1 jenkins jenkins 1646 May 30 03:20 Dockerfile 03:26:44 -rw-rw-r-- 1 jenkins jenkins 677 May 30 03:20 GOVERNANCE.md 03:26:44 -rw-rw-r-- 1 jenkins jenkins 660 May 30 03:20 Jenkinsfile 03:26:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 03:20 LICENSE 03:26:44 -rw-rw-r-- 1 jenkins jenkins 1696 May 30 03:20 Makefile 03:26:44 -rw-rw-r-- 1 jenkins jenkins 623 May 30 03:20 OWNERS.md 03:26:44 -rw-rw-r-- 1 jenkins jenkins 4111 May 30 03:20 README.md 03:26:44 -rw-rw-r-- 1 jenkins jenkins 5 May 30 03:16 VERSION 03:26:44 drwxrwxr-x 2 jenkins jenkins 4096 May 30 03:20 bin 03:26:44 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:20 cmd 03:26:44 -rw-r--r-- 1 jenkins jenkins 43063 May 30 03:26 coverage.out 03:26:44 -rw-rw-r-- 1 jenkins jenkins 3161 May 30 03:20 go.mod 03:26:44 -rw-rw-r-- 1 jenkins jenkins 30898 May 30 03:20 go.sum 03:26:44 drwxrwxr-x 3 jenkins jenkins 4096 May 30 03:20 internal 03:26:44 drwxrwxr-x 4 jenkins jenkins 4096 May 30 03:20 snap 03:26:44 -rw-rw-r-- 1 jenkins jenkins 235 May 30 03:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:45 + 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=36b00301aac3e42689ed6b5e98d723939d553e06 --label arch=arm64 --label version=0.0.0 . 03:26:45 Sending build context to Docker daemon 12.07MB 03:26:45 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 03:26:45 Step 2/25 : FROM ${BASE} AS builder 03:26:45 ---> 730804138dc7 03:26:45 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:26:45 ---> Running in 3cd887e51881 03:26:46 Removing intermediate container 3cd887e51881 03:26:46 ---> 6d8630cd673e 03:26:46 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 03:26:46 ---> Running in c43fc75b197d 03:26:46 Removing intermediate container c43fc75b197d 03:26:46 ---> 0fa952da0e94 03:26:46 Step 5/25 : ARG ADD_BUILD_TAGS="" 03:26:46 ---> Running in d3d63a958bae 03:26:47 Removing intermediate container d3d63a958bae 03:26:47 ---> c4d2bf631319 03:26:47 Step 6/25 : WORKDIR /device-virtual-go 03:26:47 ---> Running in 8419d744a185 03:26:47 Removing intermediate container 8419d744a185 03:26:47 ---> d9c0cb640a43 03:26:47 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:26:47 ---> Running in 581280e8a60b 03:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:26:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:26:49 OK: 268 MiB in 57 packages 03:26:50 Removing intermediate container 581280e8a60b 03:26:50 ---> acec9bce0ba4 03:26:50 Step 8/25 : COPY go.mod vendor* ./ 03:26:51 ---> 18270abcae2f 03:26:51 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:26:51 ---> Running in c4c77fc3942c 03:26:55 Removing intermediate container c4c77fc3942c 03:26:55 ---> 2626b89477fc 03:26:55 Step 10/25 : COPY . . 03:26:56 ---> 7ae29c750aa4 03:26:56 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:26:57 ---> Running in 1f6e7c08082e 03:26:57 Removing intermediate container 1f6e7c08082e 03:26:57 ---> 5cd88015c0a5 03:26:57 Step 12/25 : RUN $MAKE 03:26:57 ---> Running in c9362c23e1aa 03:26:58 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 03:29:19 Removing intermediate container c9362c23e1aa 03:29:19 ---> 75f0072f3e9f 03:29:19 Step 13/25 : FROM alpine:3.17 03:29:19 3.17: Pulling from library/alpine 03:29:19 c41833b44d91: Already exists 03:29:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 03:29:19 Status: Downloaded newer image for alpine:3.17 03:29:19 ---> 51e60588ff2c 03:29:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 03:29:19 ---> Running in b73f1413ba91 03:29:19 Removing intermediate container b73f1413ba91 03:29:19 ---> b68cea2d0120 03:29:19 Step 15/25 : RUN apk add --update --no-cache dumb-init 03:29:19 ---> Running in 816cb3ee9049 03:29:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:29:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:29:19 (1/1) Installing dumb-init (1.2.5-r2) 03:29:19 Executing busybox-1.35.0-r29.trigger 03:29:19 OK: 8 MiB in 16 packages 03:29:19 Removing intermediate container 816cb3ee9049 03:29:19 ---> 915f3d5a5152 03:29:19 Step 16/25 : WORKDIR / 03:29:19 ---> Running in c3e71f8810b7 03:29:19 Removing intermediate container c3e71f8810b7 03:29:19 ---> 67de12540458 03:29:19 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 03:29:19 ---> 62e66c1d5b91 03:29:19 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 03:29:19 ---> 6f7062f0711b 03:29:19 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 03:29:19 ---> 883b5a28fc70 03:29:19 Step 20/25 : EXPOSE 59900 03:29:19 ---> Running in ea4b5bd7dc6e 03:29:19 Removing intermediate container ea4b5bd7dc6e 03:29:19 ---> 09ad509256d1 03:29:19 Step 21/25 : ENTRYPOINT ["/device-virtual"] 03:29:19 ---> Running in c78d1e15a454 03:29:19 Removing intermediate container c78d1e15a454 03:29:19 ---> 0fe741463ff9 03:29:19 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 03:29:19 ---> Running in 656c3346d14a 03:29:19 Removing intermediate container 656c3346d14a 03:29:19 ---> 39d56015d013 03:29:19 Step 23/25 : LABEL arch=arm64 03:29:19 ---> Running in 87d49e7a3aaa 03:29:19 Removing intermediate container 87d49e7a3aaa 03:29:19 ---> 37bba1f5fa1c 03:29:19 Step 24/25 : LABEL git_sha=36b00301aac3e42689ed6b5e98d723939d553e06 03:29:19 ---> Running in ac1d0a0b3c29 03:29:20 Removing intermediate container ac1d0a0b3c29 03:29:20 ---> 8e4cd5092a10 03:29:20 Step 25/25 : LABEL version=0.0.0 03:29:20 ---> Running in 58bede9f941d 03:29:20 Removing intermediate container 58bede9f941d 03:29:20 ---> 9993ebb066d1 03:29:20 [Warning] One or more build-args [ARCH] were not consumed 03:29:20 Successfully built 9993ebb066d1 03:29:20 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 03:29:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:29:21 03:29:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:29:22 arm64: Pulling from edgex-lftools-log-publisher 03:29:22 8998bd30e6a1: Pulling fs layer 03:29:22 04944245beec: Pulling fs layer 03:29:22 699f458cf7ca: Pulling fs layer 03:29:22 765212b225bb: Pulling fs layer 03:29:22 f23df028b6ca: Pulling fs layer 03:29:22 d65c8cfc05b1: Pulling fs layer 03:29:22 2437ff75d9bd: Pulling fs layer 03:29:22 f23df028b6ca: Waiting 03:29:22 765212b225bb: Waiting 03:29:22 d65c8cfc05b1: Waiting 03:29:22 2437ff75d9bd: Waiting 03:29:22 04944245beec: Verifying Checksum 03:29:22 04944245beec: Download complete 03:29:22 765212b225bb: Verifying Checksum 03:29:22 765212b225bb: Download complete 03:29:22 f23df028b6ca: Verifying Checksum 03:29:22 f23df028b6ca: Download complete 03:29:22 d65c8cfc05b1: Verifying Checksum 03:29:22 d65c8cfc05b1: Download complete 03:29:22 699f458cf7ca: Verifying Checksum 03:29:22 699f458cf7ca: Download complete 03:29:23 8998bd30e6a1: Verifying Checksum 03:29:23 8998bd30e6a1: Download complete 03:29:25 2437ff75d9bd: Verifying Checksum 03:29:25 2437ff75d9bd: Download complete 03:29:27 8998bd30e6a1: Pull complete 03:29:27 04944245beec: Pull complete 03:29:28 699f458cf7ca: Pull complete 03:29:28 765212b225bb: Pull complete 03:29:29 f23df028b6ca: Pull complete 03:29:29 d65c8cfc05b1: Pull complete 03:29:44 2437ff75d9bd: Pull complete 03:29:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:29:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:29:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:45 prd-ubuntu20.04-docker-arm64-4c-16g-17251 does not seem to be running inside a container 03:29:45 $ 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 03:29:48 $ docker top c4a204b0ced738246b41191b3558a16c43c960605f074b506623861ac9b19888 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:49 ---> job-cost.sh 03:29:49 lf-activate-venv: SKIPPING 03:29:49 INFO: No Stack... 03:29:49 INFO: Retrieving Pricing Info for: v3-standard-4 03:29:50 INFO: Archiving Costs [Pipeline] sh 03:29:50 + cut -d, -f6 03:29:50 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 03:29:50 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-414-1-stack-cost] 03:29:50 Resource [jenkins-edgexfoundry-device-virtual-go-PR-414-1-stack-cost] did not exist. Created. 03:29:50 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:29:51 /w/workspace/device-virtual-go/1@tmp/durable-866e0fbf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:29:51 + echo total: 0.10999999940395355 [Pipeline] stash 03:29:52 Warning: overwriting stash ‘stack-cost’ 03:29:52 Stashed 1 file(s) [Pipeline] } 03:29:52 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:29:52 $ docker stop --time=1 c4a204b0ced738246b41191b3558a16c43c960605f074b506623861ac9b19888 03:29:53 $ docker rm -f --volumes c4a204b0ced738246b41191b3558a16c43c960605f074b506623861ac9b19888 [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 03:29:54 provisioning config files... 03:29:54 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-414@tmp/config14959931871055314686tmp [Pipeline] { [Pipeline] sh 03:29:55 + set +x 03:29:55 + curl -s https://codecov.io/bash 03:29:55 + bash -s -- 03:29:55 03:29:55 _____ _ 03:29:55 / ____| | | 03:29:55 | | ___ __| | ___ ___ _____ __ 03:29:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:29:55 | |___| (_) | (_| | __/ (_| (_) \ V / 03:29:55 \_____\___/ \__,_|\___|\___\___/ \_/ 03:29:55 Bash-1.0.6 03:29:55 03:29:55 03:29:55 ==> git version 2.25.1 found 03:29:55 ==> 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 03:29:55 Release-Date: 2020-01-08 03:29:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:29:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:29:55 ==> Jenkins CI detected. 03:29:55 current dir:  /w/workspace/foundry_device-virtual-go_PR-414 03:29:55 project root: . 03:29:55 --> token set from env 03:29:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:29:55 ==> Running gcov in . (disable via -X gcov) 03:29:55 ==> Python coveragepy not found 03:29:55 ==> Searching for coverage reports in: 03:29:55 + . 03:29:55 -> Found 1 reports 03:29:55 ==> Detecting git/mercurial file structure 03:29:55 ==> Reading reports 03:29:55 + ./coverage.out bytes=43063 03:29:55 ==> Appending adjustments 03:29:55 https://docs.codecov.io/docs/fixing-reports 03:29:55 + Found adjustments 03:29:55 ==> Gzipping contents 03:29:55 8.0K /tmp/codecov.4Z0MCR.gz 03:29:55 ==> Uploading reports 03:29:55 url: https://codecov.io 03:29:55 query: branch=PR-414&commit=36b00301aac3e42689ed6b5e98d723939d553e06&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=414&job=&cmd_args= 03:29:55 -> Pinging Codecov 03:29:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-414&commit=36b00301aac3e42689ed6b5e98d723939d553e06&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-414%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=414&job=&cmd_args= 03:29:55 -> Uploading to 03:29:55 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/5E52B4B073DB2E39498172D8E973AA87/36b00301aac3e42689ed6b5e98d723939d553e06/e4192019-defd-4b83-bfe0-7020555fa153.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T032955Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b6c5f02fd4603c8e1084b6d04838aa0179bd9b9c38184df389d98c4d89eaf3c 03:29:55 % Total % Received % Xferd Average Speed Time Time Time Current 03:29:55 Dload Upload Total Spent Left Speed 03:29:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 21690 --:--:-- --:--:-- --:--:-- 21600 100 5184 0 0 100 5184 0 21690 --:--:-- --:--:-- --:--:-- 21600 03:29:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/36b00301aac3e42689ed6b5e98d723939d553e06 [Pipeline] } 03:29:55 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 03:29:57 + [ -d /w/workspace/foundry_device-virtual-go_PR-414/archives ] 03:29:57 + ls -al /w/workspace/foundry_device-virtual-go_PR-414/archives 03:29:57 total 16 03:29:57 drwxr-xr-x 3 root root 4096 May 30 03:19 . 03:29:57 drwxrwxr-x 10 jenkins jenkins 4096 May 30 03:19 .. 03:29:57 drwxr-xr-x 2 root root 4096 May 30 03:19 cost 03:29:57 -rw-r--r-- 1 root root 89 May 30 03:19 cost.csv 03:29:57 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-414/archives 03:29:57 + ls -al /w/workspace/foundry_device-virtual-go_PR-414/archives 03:29:57 total 16 03:29:57 drwxr-xr-x 3 jenkins jenkins 4096 May 30 03:19 . 03:29:57 drwxrwxr-x 10 jenkins jenkins 4096 May 30 03:19 .. 03:29:57 drwxr-xr-x 2 jenkins jenkins 4096 May 30 03:19 cost 03:29:57 -rw-r--r-- 1 jenkins jenkins 89 May 30 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:29:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:29:58 ---> package-listing.sh 03:29:58 ++ facter osfamily 03:29:58 ++ tr '[:upper:]' '[:lower:]' 03:29:59 + OS_FAMILY=debian 03:29:59 + workspace=/w/workspace/foundry_device-virtual-go_PR-414 03:29:59 + START_PACKAGES=/tmp/packages_start.txt 03:29:59 + END_PACKAGES=/tmp/packages_end.txt 03:29:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:29:59 + PACKAGES=/tmp/packages_start.txt 03:29:59 + '[' /w/workspace/foundry_device-virtual-go_PR-414 ']' 03:29:59 + PACKAGES=/tmp/packages_end.txt 03:29:59 + case "${OS_FAMILY}" in 03:29:59 + dpkg -l 03:29:59 + grep '^ii' 03:29:59 + '[' -f /tmp/packages_start.txt ']' 03:29:59 + '[' -f /tmp/packages_end.txt ']' 03:29:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:29:59 + '[' /w/workspace/foundry_device-virtual-go_PR-414 ']' 03:29:59 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-414/archives/ 03:29:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-414/archives/ [Pipeline] echo 03:29:59 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:29:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:30:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:30:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:30:00 prd-ubuntu20.04-docker-8c-8g-17250 does not seem to be running inside a container 03:30:00 $ 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-414/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-414 -v /w/workspace/foundry_device-virtual-go_PR-414:/w/workspace/foundry_device-virtual-go_PR-414:rw,z -v /w/workspace/foundry_device-virtual-go_PR-414@tmp:/w/workspace/foundry_device-virtual-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:30:00 $ docker top 4ccb3f86eba0754b46e08eab66e980b71ddcf85b7fa820c9fa4f5c0353340b30 -eo pid,comm [Pipeline] { [Pipeline] sh 03:30:00 + touch /tmp/pre-build-complete [Pipeline] sh 03:30:01 + mkdir -p /var/log/sysstat [Pipeline] sh 03:30:01 + ls /var/log/sa-host 03:30:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:01 provisioning config files... 03:30:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-414@tmp/config8075694734618470228tmp [Pipeline] { [Pipeline] echo 03:30:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:30:02 ---> create-netrc.sh [Pipeline] } 03:30:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:30:02 ---> python-tools-install.sh [Pipeline] echo 03:30:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:30:02 ---> sudo-logs.sh 03:30:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:30:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:30:03 ---> job-cost.sh 03:30:03 lf-activate-venv: SKIPPING 03:30:03 DEBUG: total: 0.2199999988079071 03:30:03 INFO: Retrieving Stack Cost... 03:30:03 INFO: Retrieving Pricing Info for: v3-standard-8 03:30:04 INFO: Archiving Costs [Pipeline] echo 03:30:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:30:04 ---> logs-deploy.sh 03:30:04 lf-activate-venv: SKIPPING 03:30:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-414/1 03:30:04 INFO: archiving workspace using pattern(s): 03:30:05 Archives upload complete. 03:30:05 INFO: archiving logs to Nexus