Pull request #456 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6a047e2993f1ab3d2fb46426ec47863613966ff2+fb1784cb48d67777d6d76d542ae5273b128f716d (7b1c2066148d4be665ad255c779a5bebd4ad1897) 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-ssh5337711920978044389.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh1776392145221548515.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-456/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-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6537888637172241029.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-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12070569544533730326.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh5042176996982963797.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-456/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-456/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8667606744183554506.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-25347 in /w/workspace/foundry_device-virtual-go_PR-456 [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-456 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fb1784cb48d67777d6d76d542ae5273b128f716d into PR head commit 6a047e2993f1ab3d2fb46426ec47863613966ff2 Merge succeeded, producing 6a047e2993f1ab3d2fb46426ec47863613966ff2 Checking out Revision 6a047e2993f1ab3d2fb46426ec47863613966ff2 (PR-456) Commit message: "build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/456/head:refs/remotes/origin/PR-456 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a047e2993f1ab3d2fb46426ec47863613966ff2 # 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 fb1784cb48d67777d6d76d542ae5273b128f716d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a047e2993f1ab3d2fb46426ec47863613966ff2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:37:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:37:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:37:31 ========================================================= 23:37:31 EdgeX Global Pipelines Version Info 23:37:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:37:32 ------------------- 23:37:32 stable info: 23:37:32 ------------------- 23:37:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:37:32 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:37:32 Message: update stable to v1.0.258 23:37:33 ------------------- 23:37:33 experimental info: 23:37:33 ------------------- 23:37:33 Commited By: **** collab-it+edgex@linuxfoundation.org 23:37:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:37:33 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:37:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:37:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:37:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:37:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-456 [Pipeline] echo 23:37:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-456 [Pipeline] echo 23:37:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-456 [Pipeline] echo 23:37:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a047e2993f1ab3d2fb46426ec47863613966ff2 [Pipeline] echo 23:37:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a047e2 [Pipeline] echo 23:37:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:35 provisioning config files... 23:37:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-456@tmp/config2877432070376445621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:36 ---> ****-login.sh 23:37:36 nexus3.edgexfoundry.org:10001 23:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:36 Configure a credential helper to remove this warning. See 23:37:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:36 23:37:36 Login Succeeded 23:37:36 nexus3.edgexfoundry.org:10002 23:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:36 Configure a credential helper to remove this warning. See 23:37:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:36 23:37:36 Login Succeeded 23:37:36 nexus3.edgexfoundry.org:10003 23:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:36 Configure a credential helper to remove this warning. See 23:37:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:36 23:37:36 Login Succeeded 23:37:36 nexus3.edgexfoundry.org:10004 23:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:36 Configure a credential helper to remove this warning. See 23:37:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:36 23:37:36 Login Succeeded 23:37:36 ****.io 23:37:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:36 Configure a credential helper to remove this warning. See 23:37:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:36 23:37:36 Login Succeeded 23:37:36 ---> ****-login.sh ends [Pipeline] } 23:37:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:37:37 + git rev-list -1 --merges 6a047e2993f1ab3d2fb46426ec47863613966ff2~1..6a047e2993f1ab3d2fb46426ec47863613966ff2 [Pipeline] echo 23:37:37 -----------> git rev-list -1 --merges 6a047e2993f1ab3d2fb46426ec47863613966ff2~1..6a047e2993f1ab3d2fb46426ec47863613966ff2 6a047e2993f1ab3d2fb46426ec47863613966ff2 [false] [Pipeline] sh 23:37:38 + git log --format=format:%s -1 6a047e2993f1ab3d2fb46426ec47863613966ff2 [Pipeline] echo 23:37:38 ========================================================= 23:37:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:37:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:38 + git log --format=format:%s -1 6a047e2993f1ab3d2fb46426ec47863613966ff2 [Pipeline] echo 23:37:38 [semverPrep] GIT_COMMIT: 6a047e2993f1ab3d2fb46426ec47863613966ff2, Commit Message: build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0 [Pipeline] echo 23:37:38 [semverPrep] This is not a build commit. [Pipeline] sh 23:37:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:37:39 + grep -v github /etc/ssh/ssh_known_hosts 23:37:39 + [ -e /tmp/ssh_known_hosts ] 23:37:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:37:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:37:39 + sudo tee -a /etc/ssh/ssh_known_hosts 23:37:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:39 23:37:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:40 0.1.4: Pulling from edgex-devops/py-git-semver 23:37:40 b85a868b505f: Pulling fs layer 23:37:40 e2be974225ed: Pulling fs layer 23:37:40 339a4e72a1f5: Pulling fs layer 23:37:40 988bab9f4d93: Pulling fs layer 23:37:40 1469e6f7b9e6: Pulling fs layer 23:37:40 eaf3925da568: Pulling fs layer 23:37:40 bab4dde63d76: Pulling fs layer 23:37:40 bde34c3a00c8: Pulling fs layer 23:37:40 b352a97aabf1: Pulling fs layer 23:37:40 4872d77fe225: Pulling fs layer 23:37:40 5851b861e8e6: Pulling fs layer 23:37:40 1469e6f7b9e6: Waiting 23:37:40 eaf3925da568: Waiting 23:37:40 bab4dde63d76: Waiting 23:37:40 bde34c3a00c8: Waiting 23:37:40 988bab9f4d93: Waiting 23:37:40 b352a97aabf1: Waiting 23:37:40 5851b861e8e6: Waiting 23:37:40 4872d77fe225: Waiting 23:37:40 e2be974225ed: Verifying Checksum 23:37:40 e2be974225ed: Download complete 23:37:40 988bab9f4d93: Download complete 23:37:40 1469e6f7b9e6: Verifying Checksum 23:37:40 1469e6f7b9e6: Download complete 23:37:40 eaf3925da568: Download complete 23:37:40 339a4e72a1f5: Verifying Checksum 23:37:40 339a4e72a1f5: Download complete 23:37:40 bde34c3a00c8: Verifying Checksum 23:37:40 bde34c3a00c8: Download complete 23:37:40 b352a97aabf1: Download complete 23:37:40 4872d77fe225: Verifying Checksum 23:37:40 4872d77fe225: Download complete 23:37:40 5851b861e8e6: Download complete 23:37:40 b85a868b505f: Verifying Checksum 23:37:40 b85a868b505f: Download complete 23:37:40 bab4dde63d76: Verifying Checksum 23:37:40 bab4dde63d76: Download complete 23:37:41 b85a868b505f: Pull complete 23:37:42 e2be974225ed: Pull complete 23:37:42 339a4e72a1f5: Pull complete 23:37:42 988bab9f4d93: Pull complete 23:37:42 1469e6f7b9e6: Pull complete 23:37:42 eaf3925da568: Pull complete 23:37:44 bab4dde63d76: Pull complete 23:37:44 bde34c3a00c8: Pull complete 23:37:45 b352a97aabf1: Pull complete 23:37:45 4872d77fe225: Pull complete 23:37:45 5851b861e8e6: Pull complete 23:37:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:37:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:37:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:37:45 prd-ubuntu20.04-docker-8c-8g-25347 does not seem to be running inside a container 23:37:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-456 -v /w/workspace/foundry_device-virtual-go_PR-456:/w/workspace/foundry_device-virtual-go_PR-456:rw,z -v /w/workspace/foundry_device-virtual-go_PR-456@tmp:/w/workspace/foundry_device-virtual-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:37:48 $ docker top 52a72cc12a8417020605625bbc86542d8140e1a3f6839130a9eeaac96e9ef087 -eo pid,comm 23:37:48 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). 23:37:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:37:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:48 [ssh-agent] Looking for ssh-agent implementation... 23:37:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:48 $ docker exec 52a72cc12a8417020605625bbc86542d8140e1a3f6839130a9eeaac96e9ef087 ssh-agent 23:37:48 SSH_AUTH_SOCK=/tmp/ssh-MmeyhpnBsBmp/agent.32 23:37:48 SSH_AGENT_PID=38 23:37:48 Running ssh-add (command line suppressed) 23:37:49 Identity added: /w/workspace/foundry_device-virtual-go_PR-456@tmp/private_key_17047021534170402489.key (/w/workspace/foundry_device-virtual-go_PR-456@tmp/private_key_17047021534170402489.key) 23:37:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:49 + git tag --points-at HEAD [Pipeline] } 23:37:49 $ docker exec --env ******** --env ******** 52a72cc12a8417020605625bbc86542d8140e1a3f6839130a9eeaac96e9ef087 ssh-agent -k 23:37:49 unset SSH_AUTH_SOCK; 23:37:49 unset SSH_AGENT_PID; 23:37:49 echo Agent pid 38 killed; 23:37:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:37:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:37:49 [ssh-agent] Looking for ssh-agent implementation... 23:37:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:37:49 $ docker exec 52a72cc12a8417020605625bbc86542d8140e1a3f6839130a9eeaac96e9ef087 ssh-agent 23:37:49 SSH_AUTH_SOCK=/tmp/ssh-TzXBPuUeX3Fk/agent.69 23:37:49 SSH_AGENT_PID=75 23:37:49 Running ssh-add (command line suppressed) 23:37:50 Identity added: /w/workspace/foundry_device-virtual-go_PR-456@tmp/private_key_1332181238878862522.key (/w/workspace/foundry_device-virtual-go_PR-456@tmp/private_key_1332181238878862522.key) 23:37:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:37:50 + git semver init 23:37:50 2023-12-18 23:37:50,639 [run_init] DEBUG init version:0.0.0 force:False 23:37:50 2023-12-18 23:37:50,640 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-456/.semver 23:37:50 2023-12-18 23:37:50,640 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-456/.semver 23:37:50 2023-12-18 23:37:50,640 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-456/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-456, universal_newlines=False, shell=None, istream=None) 23:37:52 2023-12-18 23:37:51,975 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-456/.git/info/exclude 23:37:52 2023-12-18 23:37:51,976 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-456/.semver/PR-456 with force:False 23:37:52 2023-12-18 23:37:51,976 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-456/.semver/PR-456 23:37:52 2023-12-18 23:37:51,981 [execute] INFO git cat-file --batch-check 23:37:52 2023-12-18 23:37:51,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-456/.semver, universal_newlines=False, shell=None, istream=) 23:37:52 2023-12-18 23:37:51,988 [execute] INFO git cat-file --batch 23:37:52 2023-12-18 23:37:51,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-456/.semver, universal_newlines=False, shell=None, istream=) 23:37:52 2023-12-18 23:37:51,994 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-456/.semver/PR-456 23:37:52 0.0.0 [Pipeline] } 23:37:52 $ docker exec --env ******** --env ******** 52a72cc12a8417020605625bbc86542d8140e1a3f6839130a9eeaac96e9ef087 ssh-agent -k 23:37:52 unset SSH_AUTH_SOCK; 23:37:52 unset SSH_AGENT_PID; 23:37:52 echo Agent pid 75 killed; 23:37:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:37:52 + git semver [Pipeline] } 23:37:53 $ docker stop --time=1 52a72cc12a8417020605625bbc86542d8140e1a3f6839130a9eeaac96e9ef087 23:37:54 $ docker rm -f --volumes 52a72cc12a8417020605625bbc86542d8140e1a3f6839130a9eeaac96e9ef087 [Pipeline] // withDockerContainer [Pipeline] sh 23:37:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:37:55 Stashed 1 file(s) [Pipeline] echo 23:37:55 [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 23:37:56 provisioning config files... 23:37:56 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-456@tmp/config10085159597424581205tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:56 ---> ****-login.sh 23:37:56 nexus3.edgexfoundry.org:10001 23:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:56 Configure a credential helper to remove this warning. See 23:37:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:56 23:37:56 Login Succeeded 23:37:56 nexus3.edgexfoundry.org:10002 23:37:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:56 Configure a credential helper to remove this warning. See 23:37:56 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:56 23:37:56 Login Succeeded 23:37:56 nexus3.edgexfoundry.org:10003 23:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:57 Configure a credential helper to remove this warning. See 23:37:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:57 23:37:57 Login Succeeded 23:37:57 nexus3.edgexfoundry.org:10004 23:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:57 Configure a credential helper to remove this warning. See 23:37:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:57 23:37:57 Login Succeeded 23:37:57 ****.io 23:37:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:37:57 Configure a credential helper to remove this warning. See 23:37:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:37:57 23:37:57 Login Succeeded 23:37:57 ---> ****-login.sh ends [Pipeline] } 23:37:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:37:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:37:58 ========================================================= 23:37:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:37:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:37:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:37:58 Sending build context to Docker daemon 31.59MB 23:37:58 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:37:58 Step 2/12 : FROM ${BASE} AS builder 23:37:58 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:37:58 7264a8db6415: Pulling fs layer 23:37:58 c4d48a809fc2: Pulling fs layer 23:37:58 4f1c88b9dad5: Pulling fs layer 23:37:58 ad3a456e5733: Pulling fs layer 23:37:58 69c7f0334f64: Pulling fs layer 23:37:58 1f1c1a5573a3: Pulling fs layer 23:37:58 ce7588e14bc9: Pulling fs layer 23:37:58 b5e4710f87ac: Pulling fs layer 23:37:58 ad3a456e5733: Waiting 23:37:58 1f1c1a5573a3: Waiting 23:37:58 69c7f0334f64: Waiting 23:37:58 b5e4710f87ac: Waiting 23:37:58 ce7588e14bc9: Waiting 23:37:58 c4d48a809fc2: Download complete 23:37:58 ad3a456e5733: Verifying Checksum 23:37:58 ad3a456e5733: Download complete 23:37:58 69c7f0334f64: Verifying Checksum 23:37:58 69c7f0334f64: Download complete 23:37:58 7264a8db6415: Verifying Checksum 23:37:58 7264a8db6415: Download complete 23:37:58 1f1c1a5573a3: Verifying Checksum 23:37:58 1f1c1a5573a3: Download complete 23:37:59 7264a8db6415: Pull complete 23:37:59 c4d48a809fc2: Pull complete 23:37:59 b5e4710f87ac: Verifying Checksum 23:37:59 b5e4710f87ac: Download complete 23:37:59 4f1c88b9dad5: Verifying Checksum 23:37:59 4f1c88b9dad5: Download complete 23:38:00 ce7588e14bc9: Verifying Checksum 23:38:00 ce7588e14bc9: Download complete 23:38:03 4f1c88b9dad5: Pull complete 23:38:03 ad3a456e5733: Pull complete 23:38:03 69c7f0334f64: Pull complete 23:38:03 1f1c1a5573a3: Pull complete 23:38:05 ce7588e14bc9: Pull complete 23:38:06 b5e4710f87ac: Pull complete 23:38:06 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 23:38:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:38:06 ---> 88b5674ff536 23:38:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:38:10 ---> Running in 8c947f3bddc5 23:38:10 Removing intermediate container 8c947f3bddc5 23:38:10 ---> be9f478b53d4 23:38:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:38:10 ---> Running in 801dbddf6515 23:38:10 Removing intermediate container 801dbddf6515 23:38:10 ---> b9fc692c9bae 23:38:10 Step 5/12 : ARG ADD_BUILD_TAGS="" 23:38:10 ---> Running in 622229b1c3e4 23:38:10 Removing intermediate container 622229b1c3e4 23:38:10 ---> 99e34efb1b9a 23:38:10 Step 6/12 : WORKDIR /device-virtual-go 23:38:10 ---> Running in ac70ff273491 23:38:10 Removing intermediate container ac70ff273491 23:38:10 ---> 53c521e1e247 23:38:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:10 ---> Running in 4b0f99ef0b83 23:38:11 Still waiting to schedule task 23:38:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:38:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:38:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:38:11 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:38:11 (2/4) Installing libedit (20221030.3.1-r1) 23:38:11 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:38:11 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:38:11 Executing busybox-1.36.1-r5.trigger 23:38:11 OK: 268 MiB in 56 packages 23:38:11 Removing intermediate container 4b0f99ef0b83 23:38:11 ---> b1ac4cefc49e 23:38:11 Step 8/12 : COPY go.mod vendor* ./ 23:38:12 ---> 7842852aed13 23:38:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:12 ---> Running in 45f8abf714c3 23:38:50 Removing intermediate container 45f8abf714c3 23:38:50 ---> a20819c3602d 23:38:50 Step 10/12 : COPY . . 23:38:50 ---> b103276403d0 23:38:50 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:38:50 ---> Running in 9868a232d368 23:38:50 Removing intermediate container 9868a232d368 23:38:50 ---> 569a1d9b5c7a 23:38:50 Step 12/12 : RUN $MAKE 23:38:50 ---> Running in cb819d73f6cc 23:38:50 noop 23:38:50 Removing intermediate container cb819d73f6cc 23:38:50 ---> 9b20f415629d 23:38:50 Successfully built 9b20f415629d 23:38:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:51 + docker inspect -f . ci-base-image-x86_64 23:38:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:51 prd-ubuntu20.04-docker-8c-8g-25347 does not seem to be running inside a container 23:38:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-456 -v /w/workspace/foundry_device-virtual-go_PR-456:/w/workspace/foundry_device-virtual-go_PR-456:rw,z -v /w/workspace/foundry_device-virtual-go_PR-456@tmp:/w/workspace/foundry_device-virtual-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:38:52 $ docker top dd3c8fadf0582c01846553a27a3a87a59be3f758449ae39bb15dce376c91a813 -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:52 + go version 23:38:52 go version go1.21.0 linux/amd64 [Pipeline] } 23:38:52 $ docker stop --time=1 dd3c8fadf0582c01846553a27a3a87a59be3f758449ae39bb15dce376c91a813 23:38:53 $ docker rm -f --volumes dd3c8fadf0582c01846553a27a3a87a59be3f758449ae39bb15dce376c91a813 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:54 + docker inspect -f . ci-base-image-x86_64 23:38:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:55 prd-ubuntu20.04-docker-8c-8g-25347 does not seem to be running inside a container 23:38:55 $ 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-456 -v /w/workspace/foundry_device-virtual-go_PR-456:/w/workspace/foundry_device-virtual-go_PR-456:rw,z -v /w/workspace/foundry_device-virtual-go_PR-456@tmp:/w/workspace/foundry_device-virtual-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:38:55 $ docker top dd8601da807548d9b7f222e008d254ec6e4d1b179ffceb3e7068184a4cfe4357 -eo pid,comm [Pipeline] { [Pipeline] sh 23:38:55 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-456 [Pipeline] fileExists [Pipeline] sh 23:38:56 + make test 23:38:56 go test ./... -coverprofile=coverage.out 23:38:57 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:39:07 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:39:07 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements 23:39:14 go vet ./... 23:39:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:39:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:39:17 ./bin/test-attribution-txt.sh [Pipeline] echo 23:39:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:39:17 $ docker stop --time=1 dd8601da807548d9b7f222e008d254ec6e4d1b179ffceb3e7068184a4cfe4357 23:39:21 $ docker rm -f --volumes dd8601da807548d9b7f222e008d254ec6e4d1b179ffceb3e7068184a4cfe4357 [Pipeline] // withDockerContainer [Pipeline] sh 23:39:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:39:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:39:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:39:22 + ls -al . 23:39:22 total 200 23:39:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:38 . 23:39:22 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:37 .. 23:39:22 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:39 .git 23:39:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 .github 23:39:22 -rw-rw-r-- 1 jenkins jenkins 272 Dec 18 23:37 .gitignore 23:39:22 -rw-rw-r-- 1 jenkins jenkins 41 Dec 18 23:37 .golangci.yml 23:39:22 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:37 .semver 23:39:22 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 18 23:37 Attribution.txt 23:39:22 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 18 23:37 CHANGELOG.md 23:39:22 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 18 23:37 Dockerfile 23:39:22 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:37 GOVERNANCE.md 23:39:22 -rw-rw-r-- 1 jenkins jenkins 660 Dec 18 23:37 Jenkinsfile 23:39:22 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 23:37 LICENSE 23:39:22 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 18 23:37 Makefile 23:39:22 -rw-rw-r-- 1 jenkins jenkins 623 Dec 18 23:37 OWNERS.md 23:39:22 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 18 23:37 README.md 23:39:22 -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:37 VERSION 23:39:22 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:37 bin 23:39:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 cmd 23:39:22 -rw-r--r-- 1 jenkins jenkins 43063 Dec 18 23:39 coverage.out 23:39:22 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 18 23:37 go.mod 23:39:22 -rw-rw-r-- 1 jenkins jenkins 34480 Dec 18 23:37 go.sum 23:39:22 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:37 internal 23:39:22 -rw-rw-r-- 1 jenkins jenkins 235 Dec 18 23:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:23 + 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=6a047e2993f1ab3d2fb46426ec47863613966ff2 --label arch=amd64 --label version=0.0.0 . 23:39:23 Sending build context to Docker daemon 31.63MB 23:39:23 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 23:39:23 Step 2/26 : FROM ${BASE} AS builder 23:39:23 ---> 9b20f415629d 23:39:23 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:39:23 ---> Running in 862bb53381f6 23:39:23 Removing intermediate container 862bb53381f6 23:39:23 ---> 275b66cf0194 23:39:23 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 23:39:23 ---> Running in ee0a8fa5fa92 23:39:23 Removing intermediate container ee0a8fa5fa92 23:39:23 ---> 7a824a6b002e 23:39:23 Step 5/26 : ARG ADD_BUILD_TAGS="" 23:39:23 ---> Running in 10d3c9e8ba5c 23:39:23 Removing intermediate container 10d3c9e8ba5c 23:39:23 ---> f438cd1560f7 23:39:23 Step 6/26 : WORKDIR /device-virtual-go 23:39:23 ---> Running in cda00128c150 23:39:24 Removing intermediate container cda00128c150 23:39:24 ---> 5a49b60dd880 23:39:24 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:39:24 ---> Running in bf9ad4704698 23:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:39:24 OK: 268 MiB in 56 packages 23:39:24 Removing intermediate container bf9ad4704698 23:39:24 ---> 63f670db763f 23:39:24 Step 8/26 : COPY go.mod vendor* ./ 23:39:25 ---> e0fea14583cb 23:39:25 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:39:25 ---> Running in 830cf7a96feb 23:39:25 Removing intermediate container 830cf7a96feb 23:39:25 ---> 84a1d83ed33a 23:39:25 Step 10/26 : COPY . . 23:39:26 ---> a3206a885d57 23:39:26 Step 11/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:39:26 ---> Running in 3f00069b1b21 23:39:26 Removing intermediate container 3f00069b1b21 23:39:26 ---> ae30169f7b7b 23:39:26 Step 12/26 : RUN $MAKE 23:39:26 ---> Running in 7c22327fd92e 23:39:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 23:39:45 Removing intermediate container 7c22327fd92e 23:39:45 ---> 4ff8423859dd 23:39:45 Step 13/26 : FROM alpine:3.18 23:39:45 3.18: Pulling from library/alpine 23:39:45 c926b61bad3b: Pulling fs layer 23:39:45 c926b61bad3b: Verifying Checksum 23:39:45 c926b61bad3b: Download complete 23:39:45 c926b61bad3b: Pull complete 23:39:45 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:39:45 Status: Downloaded newer image for alpine:3.18 23:39:45 ---> b541f2080109 23:39:45 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 23:39:45 ---> Running in bc15bbed9a12 23:39:45 Removing intermediate container bc15bbed9a12 23:39:45 ---> 9f8705dea2ac 23:39:45 Step 15/26 : RUN apk add --update --no-cache dumb-init 23:39:45 ---> Running in 7292aeb2b6b3 23:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:39:46 (1/1) Installing dumb-init (1.2.5-r2) 23:39:46 Executing busybox-1.36.1-r5.trigger 23:39:46 OK: 7 MiB in 16 packages 23:39:46 Removing intermediate container 7292aeb2b6b3 23:39:46 ---> 4fcda24f7b5a 23:39:46 Step 16/26 : RUN apk --no-cache upgrade 23:39:46 ---> Running in 42d9a8c5a4be 23:39:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:39:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:39:47 OK: 7 MiB in 16 packages 23:39:47 Removing intermediate container 42d9a8c5a4be 23:39:47 ---> 88cc54925f6b 23:39:47 Step 17/26 : WORKDIR / 23:39:47 ---> Running in 9653d379187d 23:39:47 Removing intermediate container 9653d379187d 23:39:47 ---> 0ca660a9556b 23:39:47 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 23:39:47 ---> 886ce25ba46d 23:39:47 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 23:39:47 ---> 5a5649e1d9e6 23:39:47 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 23:39:48 ---> 0b39ce0d86cf 23:39:48 Step 21/26 : EXPOSE 59900 23:39:48 ---> Running in 5f88d8cabb19 23:39:48 Removing intermediate container 5f88d8cabb19 23:39:48 ---> f29803db8612 23:39:48 Step 22/26 : ENTRYPOINT ["/device-virtual"] 23:39:48 ---> Running in 88bae17f50e0 23:39:48 Removing intermediate container 88bae17f50e0 23:39:48 ---> db255926be03 23:39:48 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 23:39:48 ---> Running in 2a36200e9d54 23:39:48 Removing intermediate container 2a36200e9d54 23:39:48 ---> 5ab03145c59d 23:39:48 Step 24/26 : LABEL arch=amd64 23:39:48 ---> Running in 65e4a559dd8a 23:39:48 Removing intermediate container 65e4a559dd8a 23:39:48 ---> 1786f519ee9c 23:39:48 Step 25/26 : LABEL git_sha=6a047e2993f1ab3d2fb46426ec47863613966ff2 23:39:48 ---> Running in 1fe678349d2e 23:39:48 Removing intermediate container 1fe678349d2e 23:39:48 ---> 076fb91d474a 23:39:48 Step 26/26 : LABEL version=0.0.0 23:39:48 ---> Running in a34b82b87bc4 23:39:49 Removing intermediate container a34b82b87bc4 23:39:49 ---> 8851db487277 23:39:49 [Warning] One or more build-args [ARCH] were not consumed 23:39:49 Successfully built 8851db487277 23:39:49 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 23:39:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:50 23:39:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:50 latest: Pulling from edgex-lftools-log-publisher 23:39:50 5eb5b503b376: Pulling fs layer 23:39:50 5c69ac0246d0: Pulling fs layer 23:39:50 ec43610c2a17: Pulling fs layer 23:39:50 3a2ae6a8a46f: Pulling fs layer 23:39:50 33b1e0a273af: Pulling fs layer 23:39:50 5d3b04190fa2: Pulling fs layer 23:39:50 2f39f015ded8: Pulling fs layer 23:39:50 3a2ae6a8a46f: Waiting 23:39:50 33b1e0a273af: Waiting 23:39:50 2f39f015ded8: Waiting 23:39:50 5c69ac0246d0: Verifying Checksum 23:39:50 5c69ac0246d0: Download complete 23:39:50 3a2ae6a8a46f: Verifying Checksum 23:39:50 3a2ae6a8a46f: Download complete 23:39:50 33b1e0a273af: Verifying Checksum 23:39:50 33b1e0a273af: Download complete 23:39:50 5d3b04190fa2: Verifying Checksum 23:39:50 5d3b04190fa2: Download complete 23:39:50 ec43610c2a17: Verifying Checksum 23:39:50 ec43610c2a17: Download complete 23:39:50 5eb5b503b376: Verifying Checksum 23:39:50 5eb5b503b376: Download complete 23:39:52 5eb5b503b376: Pull complete 23:39:52 5c69ac0246d0: Pull complete 23:39:52 ec43610c2a17: Pull complete 23:39:52 3a2ae6a8a46f: Pull complete 23:39:52 2f39f015ded8: Download complete 23:39:53 33b1e0a273af: Pull complete 23:39:53 5d3b04190fa2: Pull complete 23:39:57 2f39f015ded8: Pull complete 23:39:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:39:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:39:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:57 prd-ubuntu20.04-docker-8c-8g-25347 does not seem to be running inside a container 23:39:57 $ 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-456 -v /w/workspace/foundry_device-virtual-go_PR-456:/w/workspace/foundry_device-virtual-go_PR-456:rw,z -v /w/workspace/foundry_device-virtual-go_PR-456@tmp:/w/workspace/foundry_device-virtual-go_PR-456@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 23:40:02 $ docker top c6ac0ccdab07e0bda23baa39b0329a6226be914c3c0b1f6808ded9b3b54b0028 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:03 ---> job-cost.sh 23:40:03 lf-activate-venv: SKIPPING 23:40:03 INFO: No Stack... 23:40:04 INFO: Retrieving Pricing Info for: v3-standard-8 23:40:04 INFO: Archiving Costs [Pipeline] sh 23:40:04 + cat /w/workspace/foundry_device-virtual-go_PR-456/archives/cost.csv 23:40:04 + cut -d, -f6 [Pipeline] lock 23:40:04 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-456-1-stack-cost] 23:40:04 Resource [jenkins-edgexfoundry-device-virtual-go-PR-456-1-stack-cost] did not exist. Created. 23:40:04 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-456-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:05 + echo total: 0.2199999988079071 [Pipeline] stash 23:40:05 Stashed 1 file(s) [Pipeline] } 23:40:05 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-456-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:05 $ docker stop --time=1 c6ac0ccdab07e0bda23baa39b0329a6226be914c3c0b1f6808ded9b3b54b0028 23:40:06 $ docker rm -f --volumes c6ac0ccdab07e0bda23baa39b0329a6226be914c3c0b1f6808ded9b3b54b0028 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:47:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25567 in /w/workspace/foundry_device-virtual-go_PR-456 [Pipeline] { [Pipeline] ws 23:47:14 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 23:47:18 The recommended git tool is: git 23:47:25 using credential edgex-jenkins-ssh 23:47:25 Cloning the remote Git repository 23:47:25 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:47:25 > git init /w/workspace/device-virtual-go/1 # timeout=10 23:47:25 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:47:25 > git --version # timeout=10 23:47:25 > git --version # 'git version 2.25.1' 23:47:25 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:47:28 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:47:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:47:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:47:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:47:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/456/head:refs/remotes/origin/PR-456 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:47:30 Merging remotes/origin/main commit fb1784cb48d67777d6d76d542ae5273b128f716d into PR head commit 6a047e2993f1ab3d2fb46426ec47863613966ff2 23:47:30 Merge succeeded, producing 6a047e2993f1ab3d2fb46426ec47863613966ff2 23:47:30 Checking out Revision 6a047e2993f1ab3d2fb46426ec47863613966ff2 (PR-456) 23:47:31 Commit message: "build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0" 23:47:31 > git --version # timeout=10 23:47:31 > git --version # 'git version 2.25.1' 23:47:31 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:47:30 > git config core.sparsecheckout # timeout=10 23:47:30 > git checkout -f 6a047e2993f1ab3d2fb46426ec47863613966ff2 # timeout=10 23:47:30 > git remote # timeout=10 23:47:30 > git config --get remote.origin.url # timeout=10 23:47:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:47:30 > git merge fb1784cb48d67777d6d76d542ae5273b128f716d # timeout=10 23:47:30 > git rev-parse HEAD^{commit} # timeout=10 23:47:30 > git config core.sparsecheckout # timeout=10 23:47:30 > git checkout -f 6a047e2993f1ab3d2fb46426ec47863613966ff2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:47:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:47:32 % Total % Received % Xferd Average Speed Time Time Time Current 23:47:32 Dload Upload Total Spent Left Speed 23:47:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 213k 0 --:--:-- --:--:-- --:--:-- 213k [Pipeline] sh 23:47:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:47:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:47:33 + sudo tee /etc/docker/daemon.new 23:47:33 { 23:47:33 "registry-mirrors": [ 23:47:33 "https://nexus3.edgexfoundry.org:10001" 23:47:33 ], 23:47:33 "bip": "10.250.0.254/24", 23:47:33 "hosts": [ 23:47:33 "tcp://0.0.0.0:5555", 23:47:33 "unix:///var/run/docker.sock" 23:47:33 ], 23:47:33 "mtu": 1458, 23:47:33 "selinux-enabled": true, 23:47:33 "seccomp-profile": "/etc/docker/seccomp.json" 23:47:33 } [Pipeline] sh 23:47:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:47:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:47:52 provisioning config files... 23:47:52 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config3932100108992645331tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:52 ---> ****-login.sh 23:47:52 nexus3.edgexfoundry.org:10001 23:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:53 Configure a credential helper to remove this warning. See 23:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:53 23:47:53 Login Succeeded 23:47:53 nexus3.edgexfoundry.org:10002 23:47:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:53 Configure a credential helper to remove this warning. See 23:47:53 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:53 23:47:53 Login Succeeded 23:47:53 nexus3.edgexfoundry.org:10003 23:47:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:54 Configure a credential helper to remove this warning. See 23:47:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:54 23:47:54 Login Succeeded 23:47:54 nexus3.edgexfoundry.org:10004 23:47:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:54 Configure a credential helper to remove this warning. See 23:47:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:54 23:47:54 Login Succeeded 23:47:54 ****.io 23:47:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:47:54 Configure a credential helper to remove this warning. See 23:47:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:47:54 23:47:54 Login Succeeded 23:47:54 ---> ****-login.sh ends [Pipeline] } 23:47:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:47:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:47:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:47:55 ========================================================= 23:47:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:47:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:47:57 #0 building with "default" instance using docker driver 23:47:57 23:47:57 #1 [internal] load .dockerignore 23:47:57 #1 transferring context: 2B done 23:47:57 #1 DONE 0.1s 23:47:57 23:47:57 #2 [internal] load build definition from Dockerfile 23:47:57 #2 transferring dockerfile: 1.79kB 0.0s done 23:48:03 #2 DONE 4.8s 23:48:03 23:48:03 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:48:03 #3 DONE 0.2s 23:48:03 23:48:03 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:48:03 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 23:48:03 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s 23:48:03 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 23:48:03 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 23:48:03 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 23:48:03 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 23:48:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.2s 23:48:03 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 23:48:03 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.3s done 23:48:03 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 23:48:03 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.3s done 23:48:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.4s 23:48:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.4s 23:48:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.5s 23:48:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.05MB / 11.40MB 0.5s 23:48:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.6s 23:48:03 #4 ... 23:48:03 23:48:03 #5 [internal] load build context 23:48:03 #5 transferring context: 15.81MB 0.6s done 23:48:03 #5 DONE 0.7s 23:48:03 23:48:03 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:48:03 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 23:48:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 4.19MB / 11.40MB 0.7s 23:48:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.9s 23:48:03 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.24MB / 97.63MB 0.9s 23:48:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.9s 23:48:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 1.0s 23:48:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 8.39MB / 11.40MB 1.1s 23:48:03 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 23:48:03 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 1.2s 23:48:03 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 1.2s 23:48:03 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 23:48:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 10.49MB / 97.63MB 1.4s 23:48:04 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 1.4s 23:48:04 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 1.4s done 23:48:04 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.87MB / 63.99MB 1.8s 23:48:04 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 1.9s 23:48:05 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 2.2s 23:48:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 2.2s 23:48:05 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 2.4s 23:48:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 29.36MB / 97.63MB 2.5s 23:48:05 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 2.7s 23:48:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 34.60MB / 97.63MB 2.8s 23:48:05 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 40.89MB / 63.99MB 3.0s 23:48:05 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.04MB / 97.63MB 3.2s 23:48:05 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 3.3s 23:48:06 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 49.28MB / 97.63MB 3.4s 23:48:06 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 52.43MB / 63.99MB 3.7s 23:48:06 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 55.57MB / 97.63MB 3.7s 23:48:06 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.82MB / 63.99MB 4.1s 23:48:06 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 63.47MB / 97.63MB 4.1s 23:48:06 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 69.21MB / 97.63MB 4.3s 23:48:07 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 4.3s done 23:48:07 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23:48:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 76.55MB / 97.63MB 4.5s 23:48:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 84.38MB / 97.63MB 4.7s 23:48:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 96.47MB / 97.63MB 5.0s 23:48:08 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.2s done 23:48:13 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.2s 23:48:18 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.3s 23:48:25 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.2s done 23:48:26 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 23:48:27 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 23:48:27 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 23:48:27 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23:48:32 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 23:48:35 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.7s done 23:48:36 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 23:48:38 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 23:48:38 #4 DONE 35.4s 23:48:38 23:48:38 #6 [builder 2/7] WORKDIR /device-virtual-go 23:48:40 #6 DONE 2.4s 23:48:40 23:48:40 #7 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 23:48:41 #7 0.875 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:48:41 #7 1.247 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:48:43 #7 2.423 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:48:43 #7 2.453 (2/4) Installing libedit (20221030.3.1-r1) 23:48:43 #7 2.467 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:48:43 #7 2.546 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:48:43 #7 2.582 Executing busybox-1.36.1-r5.trigger 23:48:43 #7 2.627 OK: 271 MiB in 56 packages 23:48:43 #7 DONE 3.0s 23:48:43 23:48:43 #8 [builder 4/7] COPY go.mod vendor* ./ 23:48:43 #8 DONE 0.2s 23:48:43 23:48:43 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:49:10 #9 DONE 26.5s 23:49:10 23:49:10 #10 [builder 6/7] COPY . . 23:49:10 #10 DONE 0.4s 23:49:10 23:49:10 #11 [builder 7/7] RUN echo noop 23:49:11 #11 0.722 noop 23:49:11 #11 DONE 0.8s 23:49:11 23:49:11 #12 exporting to image 23:49:11 #12 exporting layers 23:49:38 #12 exporting layers 23.1s done 23:49:38 #12 writing image sha256:5cca8852c030a14a4e27f0e0f1c943c4a7f404950863d02b5e7014464f06aecd 0.0s done 23:49:38 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 23:49:38 #12 DONE 23.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:38 + docker inspect -f . ci-base-image-arm64 23:49:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:39 prd-ubuntu20.04-docker-arm64-4c-16g-25567 does not seem to be running inside a container 23:49:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:49:40 $ docker top ddf3720b7826a2d9086cc8a0b957da747d09d7129d6fdf51117e0b47bfbe71d3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:41 + go version 23:49:41 go version go1.21.0 linux/arm64 [Pipeline] } 23:49:41 $ docker stop --time=1 ddf3720b7826a2d9086cc8a0b957da747d09d7129d6fdf51117e0b47bfbe71d3 23:49:46 $ docker rm -f --volumes ddf3720b7826a2d9086cc8a0b957da747d09d7129d6fdf51117e0b47bfbe71d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:47 + docker inspect -f . ci-base-image-arm64 23:49:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:48 prd-ubuntu20.04-docker-arm64-4c-16g-25567 does not seem to be running inside a container 23:49:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:49:49 $ docker top 8c3a67cf1b702648cff968634871ec472a29596a40af97d94ff588e7a7039493 -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:50 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 23:49:50 + make test 23:49:51 go test ./... -coverprofile=coverage.out 23:49:56 ? github.com/edgexfoundry/device-virtual-go [no test files] 23:51:04 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 23:51:04 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.073s coverage: 58.4% of statements 23:51:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:51:04 go vet ./... 23:51:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:51:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:51:19 ./bin/test-attribution-txt.sh [Pipeline] echo 23:51:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:51:19 $ docker stop --time=1 8c3a67cf1b702648cff968634871ec472a29596a40af97d94ff588e7a7039493 23:51:21 $ docker rm -f --volumes 8c3a67cf1b702648cff968634871ec472a29596a40af97d94ff588e7a7039493 [Pipeline] // withDockerContainer [Pipeline] sh 23:51:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:51:23 Warning: overwriting stash ‘coverage-report’ 23:51:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:51:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:51:25 + ls -al . 23:51:25 total 196 23:51:25 drwxrwxr-x 7 jenkins jenkins 4096 Dec 18 23:49 . 23:51:25 drwxrwxr-x 4 jenkins jenkins 4096 Dec 18 23:47 .. 23:51:25 drwxrwxr-x 8 jenkins jenkins 4096 Dec 18 23:47 .git 23:51:25 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 .github 23:51:25 -rw-rw-r-- 1 jenkins jenkins 272 Dec 18 23:47 .gitignore 23:51:25 -rw-rw-r-- 1 jenkins jenkins 41 Dec 18 23:47 .golangci.yml 23:51:25 -rw-rw-r-- 1 jenkins jenkins 9708 Dec 18 23:47 Attribution.txt 23:51:25 -rw-rw-r-- 1 jenkins jenkins 15941 Dec 18 23:47 CHANGELOG.md 23:51:25 -rw-rw-r-- 1 jenkins jenkins 1755 Dec 18 23:47 Dockerfile 23:51:25 -rw-rw-r-- 1 jenkins jenkins 677 Dec 18 23:47 GOVERNANCE.md 23:51:25 -rw-rw-r-- 1 jenkins jenkins 660 Dec 18 23:47 Jenkinsfile 23:51:25 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 18 23:47 LICENSE 23:51:25 -rw-rw-r-- 1 jenkins jenkins 1953 Dec 18 23:47 Makefile 23:51:25 -rw-rw-r-- 1 jenkins jenkins 623 Dec 18 23:47 OWNERS.md 23:51:25 -rw-rw-r-- 1 jenkins jenkins 4103 Dec 18 23:47 README.md 23:51:25 -rw-rw-r-- 1 jenkins jenkins 5 Dec 18 23:37 VERSION 23:51:25 drwxrwxr-x 2 jenkins jenkins 4096 Dec 18 23:47 bin 23:51:25 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 cmd 23:51:25 -rw-r--r-- 1 jenkins jenkins 43063 Dec 18 23:51 coverage.out 23:51:25 -rw-rw-r-- 1 jenkins jenkins 3633 Dec 18 23:47 go.mod 23:51:25 -rw-rw-r-- 1 jenkins jenkins 34480 Dec 18 23:47 go.sum 23:51:25 drwxrwxr-x 3 jenkins jenkins 4096 Dec 18 23:47 internal 23:51:25 -rw-rw-r-- 1 jenkins jenkins 235 Dec 18 23:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:25 + 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=6a047e2993f1ab3d2fb46426ec47863613966ff2 --label arch=arm64 --label version=0.0.0 . 23:51:26 #0 building with "default" instance using docker driver 23:51:26 23:51:26 #1 [internal] load .dockerignore 23:51:26 #1 transferring context: 2B 0.0s done 23:51:26 #1 DONE 0.0s 23:51:26 23:51:26 #2 [internal] load build definition from Dockerfile 23:51:26 #2 transferring dockerfile: 1.79kB 0.0s done 23:51:26 #2 DONE 0.1s 23:51:26 23:51:26 #3 [internal] load metadata for docker.io/library/alpine:3.18 23:51:26 #3 ... 23:51:26 23:51:26 #4 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 23:51:26 #4 DONE 0.0s 23:51:27 23:51:27 #3 [internal] load metadata for docker.io/library/alpine:3.18 23:51:27 #3 DONE 0.3s 23:51:27 23:51:27 #5 [internal] load build context 23:51:27 #5 transferring context: 50.81kB 0.1s done 23:51:27 #5 DONE 0.1s 23:51:27 23:51:27 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:51:27 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 23:51:27 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 23:51:27 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 23:51:27 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 23:51:27 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 1.05MB / 3.33MB 0.1s 23:51:27 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s 23:51:27 #6 ... 23:51:27 23:51:27 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 23:51:27 #7 DONE 0.3s 23:51:27 23:51:27 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:51:27 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 23:51:27 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 23:51:27 #6 ... 23:51:27 23:51:27 #8 [builder 2/7] WORKDIR /device-virtual-go 23:51:27 #8 DONE 0.1s 23:51:27 23:51:27 #6 [stage-1 1/7] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 23:51:28 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.7s done 23:51:28 #6 DONE 1.3s 23:51:28 23:51:28 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 23:51:29 #9 0.952 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:51:30 #9 1.431 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:51:31 #9 ... 23:51:31 23:51:31 #10 [builder 3/7] RUN apk add --update --no-cache make git openssh-client 23:51:31 #10 0.936 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:51:31 #10 1.470 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:51:31 #10 3.191 OK: 271 MiB in 56 packages 23:51:31 #10 DONE 3.6s 23:51:31 23:51:31 #11 [builder 4/7] COPY go.mod vendor* ./ 23:51:31 #11 DONE 0.2s 23:51:31 23:51:31 #9 [stage-1 2/7] RUN apk add --update --no-cache dumb-init 23:51:31 #9 3.009 (1/1) Installing dumb-init (1.2.5-r2) 23:51:31 #9 3.022 Executing busybox-1.36.1-r5.trigger 23:51:31 #9 3.053 OK: 8 MiB in 16 packages 23:51:32 #9 DONE 3.5s 23:51:32 23:51:32 #12 [stage-1 3/7] RUN apk --no-cache upgrade 23:51:34 #12 2.151 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:51:34 #12 2.631 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:51:35 #12 ... 23:51:35 23:51:35 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:51:35 #13 DONE 4.0s 23:51:35 23:51:35 #14 [builder 6/7] COPY . . 23:51:35 #14 DONE 0.5s 23:51:35 23:51:35 #15 [builder 7/7] RUN make build 23:51:36 #15 ... 23:51:36 23:51:36 #12 [stage-1 3/7] RUN apk --no-cache upgrade 23:51:36 #12 4.173 OK: 8 MiB in 16 packages 23:51:36 #12 DONE 4.5s 23:51:36 23:51:36 #15 [builder 7/7] RUN make build 23:51:37 #15 1.010 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.4" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 23:53:13 #15 DONE 89.5s 23:53:13 23:53:13 #16 [stage-1 4/7] COPY --from=builder /device-virtual-go/Attribution.txt / 23:53:13 #16 DONE 0.2s 23:53:13 23:53:13 #17 [stage-1 5/7] COPY --from=builder /device-virtual-go/LICENSE / 23:53:13 #17 DONE 0.1s 23:53:13 23:53:13 #18 [stage-1 6/7] COPY --from=builder /device-virtual-go/cmd / 23:53:13 #18 DONE 0.3s 23:53:13 23:53:13 #19 exporting to image 23:53:13 #19 exporting layers 23:53:13 #19 exporting layers 0.2s done 23:53:13 #19 writing image sha256:d35cf3844ad13a8b1b91d9d327f27aa65eb9a610ea474673f0c864100b18c95f done 23:53:13 #19 naming to docker.io/library/device-virtual-arm64 done 23:53:13 #19 DONE 0.3s [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 23:53:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:15 23:53:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:16 arm64: Pulling from edgex-lftools-log-publisher 23:53:16 8998bd30e6a1: Pulling fs layer 23:53:16 04944245beec: Pulling fs layer 23:53:16 699f458cf7ca: Pulling fs layer 23:53:16 765212b225bb: Pulling fs layer 23:53:16 f23df028b6ca: Pulling fs layer 23:53:16 d65c8cfc05b1: Pulling fs layer 23:53:16 2437ff75d9bd: Pulling fs layer 23:53:16 f23df028b6ca: Waiting 23:53:16 765212b225bb: Waiting 23:53:16 d65c8cfc05b1: Waiting 23:53:16 2437ff75d9bd: Waiting 23:53:16 04944245beec: Verifying Checksum 23:53:16 04944245beec: Download complete 23:53:16 765212b225bb: Verifying Checksum 23:53:16 f23df028b6ca: Verifying Checksum 23:53:16 f23df028b6ca: Download complete 23:53:16 d65c8cfc05b1: Verifying Checksum 23:53:16 d65c8cfc05b1: Download complete 23:53:16 699f458cf7ca: Verifying Checksum 23:53:16 699f458cf7ca: Download complete 23:53:16 8998bd30e6a1: Verifying Checksum 23:53:16 8998bd30e6a1: Download complete 23:53:19 2437ff75d9bd: Verifying Checksum 23:53:19 2437ff75d9bd: Download complete 23:53:23 8998bd30e6a1: Pull complete 23:53:23 04944245beec: Pull complete 23:53:29 699f458cf7ca: Pull complete 23:53:29 765212b225bb: Pull complete 23:53:30 f23df028b6ca: Pull complete 23:53:30 d65c8cfc05b1: Pull complete 23:53:57 2437ff75d9bd: Pull complete 23:53:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:53:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:53:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:57 prd-ubuntu20.04-docker-arm64-4c-16g-25567 does not seem to be running inside a container 23:53:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:54:00 $ docker top dd31fab1b8562234734e26fb235ccd45573632aba4eae0fb23815bb1826aedb3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:01 ---> job-cost.sh 23:54:01 lf-activate-venv: SKIPPING 23:54:01 INFO: No Stack... 23:54:01 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:02 INFO: Archiving Costs [Pipeline] sh 23:54:02 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 23:54:02 + cut -d, -f6 [Pipeline] lock 23:54:03 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-456-1-stack-cost] 23:54:03 Resource [jenkins-edgexfoundry-device-virtual-go-PR-456-1-stack-cost] did not exist. Created. 23:54:03 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-456-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:54:03 /w/workspace/device-virtual-go/1@tmp/durable-380e6a9e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:54:03 + echo total: 0.2199999988079071 [Pipeline] stash 23:54:03 Warning: overwriting stash ‘stack-cost’ 23:54:04 Stashed 1 file(s) [Pipeline] } 23:54:04 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-456-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:04 $ docker stop --time=1 dd31fab1b8562234734e26fb235ccd45573632aba4eae0fb23815bb1826aedb3 23:54:05 $ docker rm -f --volumes dd31fab1b8562234734e26fb235ccd45573632aba4eae0fb23815bb1826aedb3 [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 23:54:07 provisioning config files... 23:54:07 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-456@tmp/config399314090448288246tmp [Pipeline] { [Pipeline] sh 23:54:08 + set +x 23:54:08 + bash -s -- 23:54:08 + curl -s https://codecov.io/bash 23:54:08 23:54:08 _____ _ 23:54:08 / ____| | | 23:54:08 | | ___ __| | ___ ___ _____ __ 23:54:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:54:08 | |___| (_) | (_| | __/ (_| (_) \ V / 23:54:08 \_____\___/ \__,_|\___|\___\___/ \_/ 23:54:08 Bash-1.0.6 23:54:08 23:54:08 23:54:08 ==> git version 2.25.1 found 23:54:08 ==> 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 23:54:08 Release-Date: 2020-01-08 23:54:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:54:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:54:08 ==> Jenkins CI detected. 23:54:08 current dir:  /w/workspace/foundry_device-virtual-go_PR-456 23:54:08 project root: . 23:54:08 --> token set from env 23:54:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:54:08 ==> Running gcov in . (disable via -X gcov) 23:54:08 ==> Python coveragepy not found 23:54:08 ==> Searching for coverage reports in: 23:54:08 + . 23:54:08 -> Found 1 reports 23:54:08 ==> Detecting git/mercurial file structure 23:54:08 ==> Reading reports 23:54:08 + ./coverage.out bytes=43063 23:54:08 ==> Appending adjustments 23:54:08 https://docs.codecov.io/docs/fixing-reports 23:54:08 + Found adjustments 23:54:08 ==> Gzipping contents 23:54:08 8.0K /tmp/codecov.nDt6IO.gz 23:54:08 ==> Uploading reports 23:54:08 url: https://codecov.io 23:54:08 query: branch=PR-456&commit=6a047e2993f1ab3d2fb46426ec47863613966ff2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-456%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=456&job=&cmd_args= 23:54:08 -> Pinging Codecov 23:54:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-456&commit=6a047e2993f1ab3d2fb46426ec47863613966ff2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-456%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=456&job=&cmd_args= 23:54:08 -> Uploading to 23:54:08 https://storage.googleapis.com/codecov/v4/raw/2023-12-18/5E52B4B073DB2E39498172D8E973AA87/6a047e2993f1ab3d2fb46426ec47863613966ff2/c766854b-c65e-462b-94ab-b4a5fc98a8a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231218T235408Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fc1ed08ec923a43a80bb34fe319974838bf3e195f19489c28b61358e2b421dba 23:54:08 % Total % Received % Xferd Average Speed Time Time Time Current 23:54:08 Dload Upload Total Spent Left Speed 23:54:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 19677 --:--:-- --:--:-- --:--:-- 19677 23:54:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/6a047e2993f1ab3d2fb46426ec47863613966ff2 [Pipeline] } 23:54:09 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 23:54:12 + [ -d /w/workspace/foundry_device-virtual-go_PR-456/archives ] 23:54:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-456/archives 23:54:12 total 16 23:54:12 drwxr-xr-x 3 root root 4096 Dec 18 23:40 . 23:54:12 drwxrwxr-x 9 jenkins jenkins 4096 Dec 18 23:40 .. 23:54:12 drwxr-xr-x 2 root root 4096 Dec 18 23:40 cost 23:54:12 -rw-r--r-- 1 root root 89 Dec 18 23:40 cost.csv 23:54:12 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-456/archives 23:54:12 + ls -al /w/workspace/foundry_device-virtual-go_PR-456/archives 23:54:12 total 16 23:54:12 drwxr-xr-x 3 jenkins jenkins 4096 Dec 18 23:40 . 23:54:12 drwxrwxr-x 9 jenkins jenkins 4096 Dec 18 23:40 .. 23:54:12 drwxr-xr-x 2 jenkins jenkins 4096 Dec 18 23:40 cost 23:54:12 -rw-r--r-- 1 jenkins jenkins 89 Dec 18 23:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:54:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:54:13 ---> package-listing.sh 23:54:13 ++ facter osfamily 23:54:13 ++ tr '[:upper:]' '[:lower:]' 23:54:14 + OS_FAMILY=debian 23:54:14 + workspace=/w/workspace/foundry_device-virtual-go_PR-456 23:54:14 + START_PACKAGES=/tmp/packages_start.txt 23:54:14 + END_PACKAGES=/tmp/packages_end.txt 23:54:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:54:14 + PACKAGES=/tmp/packages_start.txt 23:54:14 + '[' /w/workspace/foundry_device-virtual-go_PR-456 ']' 23:54:14 + PACKAGES=/tmp/packages_end.txt 23:54:14 + case "${OS_FAMILY}" in 23:54:14 + dpkg -l 23:54:14 + grep '^ii' 23:54:14 + '[' -f /tmp/packages_start.txt ']' 23:54:14 + '[' -f /tmp/packages_end.txt ']' 23:54:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:54:14 + '[' /w/workspace/foundry_device-virtual-go_PR-456 ']' 23:54:14 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-456/archives/ 23:54:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-456/archives/ [Pipeline] echo 23:54:14 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-456/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:54:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:15 prd-ubuntu20.04-docker-8c-8g-25347 does not seem to be running inside a container 23:54:15 $ 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-456/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-456 -v /w/workspace/foundry_device-virtual-go_PR-456:/w/workspace/foundry_device-virtual-go_PR-456:rw,z -v /w/workspace/foundry_device-virtual-go_PR-456@tmp:/w/workspace/foundry_device-virtual-go_PR-456@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:15 $ docker top 71e41753c0790d51cd9c6be01aa6c48328ff4375f18a78c193ace7dbae7c55cf -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:16 + touch /tmp/pre-build-complete [Pipeline] sh 23:54:16 + mkdir -p /var/log/sysstat [Pipeline] sh 23:54:16 + ls /var/log/sa-host 23:54:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:16 provisioning config files... 23:54:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-456@tmp/config10383820787272007293tmp [Pipeline] { [Pipeline] echo 23:54:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:54:17 ---> create-netrc.sh [Pipeline] } 23:54:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:54:17 ---> python-tools-install.sh [Pipeline] echo 23:54:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:54:18 ---> sudo-logs.sh 23:54:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:54:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:54:18 ---> job-cost.sh 23:54:18 lf-activate-venv: SKIPPING 23:54:18 DEBUG: total: 0.2199999988079071 23:54:18 INFO: Retrieving Stack Cost... 23:54:19 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:19 INFO: Archiving Costs [Pipeline] echo 23:54:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:54:19 ---> logs-deploy.sh 23:54:19 lf-activate-venv: SKIPPING 23:54:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-456/1 23:54:19 INFO: archiving workspace using pattern(s): 23:54:20 Archives upload complete. 23:54:20 INFO: archiving logs to Nexus