Pull request #379 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476+626db8e9a2222f123adcb85f9e159bc679c0b5f7 (addd33bb4433e1108fbb3ffaa03631deca4eaaf1) 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-ssh14749612732603771493.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1958728434355512429.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-379/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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1557630631410917462.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-379/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14392794373940953368.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14039593418204321645.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-379/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-379/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8617658002400375080.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7553 in /w/workspace/foundry_device-virtual-go_PR-379 [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-379 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 Merge succeeded, producing ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 Checking out Revision ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 (PR-379) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a > git config core.sparsecheckout # timeout=10 > git checkout -f ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 # 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 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:58:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:58:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:58:33 ========================================================= 11:58:33 EdgeX Global Pipelines Version Info 11:58:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:58:33 ------------------- 11:58:33 stable info: 11:58:33 ------------------- 11:58:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:58:33 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 11:58:33 Message: update stable to v1.0.245 11:58:34 ------------------- 11:58:34 experimental info: 11:58:34 ------------------- 11:58:34 Commited By: **** collab-it+edgex@linuxfoundation.org 11:58:34 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 11:58:34 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:58:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:58:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:58:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:58:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:58:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:58:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:58:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-379 [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-379 [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-379 [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca8c965 [Pipeline] echo 11:58:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:58:36 provisioning config files... 11:58:36 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-379@tmp/config4744929038478350913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:58:36 ---> docker-login.sh 11:58:36 nexus3.edgexfoundry.org:10001 11:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:36 Configure a credential helper to remove this warning. See 11:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:36 11:58:36 Login Succeeded 11:58:36 nexus3.edgexfoundry.org:10002 11:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:36 Configure a credential helper to remove this warning. See 11:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:36 11:58:36 Login Succeeded 11:58:36 nexus3.edgexfoundry.org:10003 11:58:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:36 Configure a credential helper to remove this warning. See 11:58:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:36 11:58:36 Login Succeeded 11:58:36 nexus3.edgexfoundry.org:10004 11:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:37 Configure a credential helper to remove this warning. See 11:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:37 11:58:37 Login Succeeded 11:58:37 docker.io 11:58:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:37 Configure a credential helper to remove this warning. See 11:58:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:37 11:58:37 Login Succeeded 11:58:37 ---> docker-login.sh ends [Pipeline] } 11:58:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:58:38 + git rev-list -1 --merges ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476~1..ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] echo 11:58:38 -----------> git rev-list -1 --merges ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476~1..ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [false] [Pipeline] sh 11:58:38 + git log --format=format:%s -1 ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] echo 11:58:38 ========================================================= 11:58:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:58:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:58:39 + git log --format=format:%s -1 ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] echo 11:58:39 [semverPrep] GIT_COMMIT: ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:58:39 [semverPrep] This is not a build commit. [Pipeline] sh 11:58:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:58:39 + grep -v github /etc/ssh/ssh_known_hosts 11:58:39 + [ -e /tmp/ssh_known_hosts ] 11:58:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:58:39 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:58:39 sudo tee -a /etc/ssh/ssh_known_hosts 11:58:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:58:39 11:58:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:58:40 0.1.4: Pulling from edgex-devops/py-git-semver 11:58:40 b85a868b505f: Pulling fs layer 11:58:40 e2be974225ed: Pulling fs layer 11:58:40 339a4e72a1f5: Pulling fs layer 11:58:40 988bab9f4d93: Pulling fs layer 11:58:40 1469e6f7b9e6: Pulling fs layer 11:58:40 eaf3925da568: Pulling fs layer 11:58:40 bab4dde63d76: Pulling fs layer 11:58:40 bde34c3a00c8: Pulling fs layer 11:58:40 b352a97aabf1: Pulling fs layer 11:58:40 4872d77fe225: Pulling fs layer 11:58:40 5851b861e8e6: Pulling fs layer 11:58:40 bab4dde63d76: Waiting 11:58:40 bde34c3a00c8: Waiting 11:58:40 b352a97aabf1: Waiting 11:58:40 4872d77fe225: Waiting 11:58:40 5851b861e8e6: Waiting 11:58:40 988bab9f4d93: Waiting 11:58:40 1469e6f7b9e6: Waiting 11:58:40 eaf3925da568: Waiting 11:58:40 e2be974225ed: Verifying Checksum 11:58:40 e2be974225ed: Download complete 11:58:40 988bab9f4d93: Download complete 11:58:40 339a4e72a1f5: Verifying Checksum 11:58:40 339a4e72a1f5: Download complete 11:58:40 1469e6f7b9e6: Verifying Checksum 11:58:40 1469e6f7b9e6: Download complete 11:58:40 eaf3925da568: Verifying Checksum 11:58:40 eaf3925da568: Download complete 11:58:40 b352a97aabf1: Download complete 11:58:40 4872d77fe225: Verifying Checksum 11:58:40 4872d77fe225: Download complete 11:58:40 5851b861e8e6: Verifying Checksum 11:58:40 5851b861e8e6: Download complete 11:58:40 b85a868b505f: Verifying Checksum 11:58:40 b85a868b505f: Download complete 11:58:40 bab4dde63d76: Verifying Checksum 11:58:40 bab4dde63d76: Download complete 11:58:42 b85a868b505f: Pull complete 11:58:42 e2be974225ed: Pull complete 11:58:42 339a4e72a1f5: Pull complete 11:58:42 988bab9f4d93: Pull complete 11:58:43 1469e6f7b9e6: Pull complete 11:58:43 eaf3925da568: Pull complete 11:58:44 bab4dde63d76: Pull complete 11:58:44 bde34c3a00c8: Pull complete 11:58:44 b352a97aabf1: Pull complete 11:58:45 4872d77fe225: Pull complete 11:58:45 5851b861e8e6: Pull complete 11:58:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:58:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:58:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:58:45 prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container 11:58:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:58:47 $ docker top caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 -eo pid,comm 11:58:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:58:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:58:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:58:47 [ssh-agent] Looking for ssh-agent implementation... 11:58:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:58:47 $ docker exec caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 ssh-agent 11:58:47 SSH_AUTH_SOCK=/tmp/ssh-fZG0j9KS1rD0/agent.35 11:58:47 SSH_AGENT_PID=41 11:58:47 Running ssh-add (command line suppressed) 11:58:47 Identity added: /w/workspace/foundry_device-virtual-go_PR-379@tmp/private_key_10968967917722327724.key (/w/workspace/foundry_device-virtual-go_PR-379@tmp/private_key_10968967917722327724.key) 11:58:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:58:47 + git tag --points-at HEAD [Pipeline] } 11:58:47 $ docker exec --env ******** --env ******** caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 ssh-agent -k 11:58:47 unset SSH_AUTH_SOCK; 11:58:47 unset SSH_AGENT_PID; 11:58:47 echo Agent pid 41 killed; 11:58:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:58:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:58:48 [ssh-agent] Looking for ssh-agent implementation... 11:58:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:58:48 $ docker exec caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 ssh-agent 11:58:48 SSH_AUTH_SOCK=/tmp/ssh-RCEyXqFaJj9Q/agent.74 11:58:48 SSH_AGENT_PID=81 11:58:48 Running ssh-add (command line suppressed) 11:58:48 Identity added: /w/workspace/foundry_device-virtual-go_PR-379@tmp/private_key_16667451822059812911.key (/w/workspace/foundry_device-virtual-go_PR-379@tmp/private_key_16667451822059812911.key) 11:58:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:58:48 + git semver init 11:58:49 2023-04-12 11:58:48,954 [run_init] DEBUG init version:0.0.0 force:False 11:58:49 2023-04-12 11:58:48,954 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-379/.semver 11:58:49 2023-04-12 11:58:48,955 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-379/.semver 11:58:49 2023-04-12 11:58:48,955 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-379/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-379, universal_newlines=False, shell=None, istream=None) 11:58:50 2023-04-12 11:58:50,033 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-379/.git/info/exclude 11:58:50 2023-04-12 11:58:50,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-379/.semver/PR-379 with force:False 11:58:50 2023-04-12 11:58:50,034 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-379/.semver/PR-379 11:58:50 2023-04-12 11:58:50,038 [execute] INFO git cat-file --batch-check 11:58:50 2023-04-12 11:58:50,039 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) 11:58:50 2023-04-12 11:58:50,046 [execute] INFO git cat-file --batch 11:58:50 2023-04-12 11:58:50,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-379/.semver, universal_newlines=False, shell=None, istream=) 11:58:50 2023-04-12 11:58:50,052 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-379/.semver/PR-379 11:58:50 0.0.0 [Pipeline] } 11:58:50 $ docker exec --env ******** --env ******** caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 ssh-agent -k 11:58:50 unset SSH_AUTH_SOCK; 11:58:50 unset SSH_AGENT_PID; 11:58:50 echo Agent pid 81 killed; 11:58:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:58:50 + git semver [Pipeline] } 11:58:51 $ docker stop --time=1 caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 11:58:52 $ docker rm -f --volumes caeebd172c8f68b1150d57fe676d26fdabb2609f35a894df7a1eebfa50ce7a73 [Pipeline] // withDockerContainer [Pipeline] sh 11:58:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:58:53 Stashed 1 file(s) [Pipeline] echo 11:58:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:58:53 provisioning config files... 11:58:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-379@tmp/config17002059823976785389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:58:54 ---> docker-login.sh 11:58:54 nexus3.edgexfoundry.org:10001 11:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:54 Configure a credential helper to remove this warning. See 11:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:54 11:58:54 Login Succeeded 11:58:54 nexus3.edgexfoundry.org:10002 11:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:54 Configure a credential helper to remove this warning. See 11:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:54 11:58:54 Login Succeeded 11:58:54 nexus3.edgexfoundry.org:10003 11:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:54 Configure a credential helper to remove this warning. See 11:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:54 11:58:54 Login Succeeded 11:58:54 nexus3.edgexfoundry.org:10004 11:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:54 Configure a credential helper to remove this warning. See 11:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:54 11:58:54 Login Succeeded 11:58:54 docker.io 11:58:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:58:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:58:54 Configure a credential helper to remove this warning. See 11:58:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:58:54 11:58:54 Login Succeeded 11:58:54 ---> docker-login.sh ends [Pipeline] } 11:58:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:58:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:58:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:58:55 ========================================================= 11:58:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:58:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:58:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:58:55 Sending build context to Docker daemon 23.54MB 11:58:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:58:55 Step 2/12 : FROM ${BASE} AS builder 11:58:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:58:55 63b65145d645: Pulling fs layer 11:58:55 a2d21d5440eb: Pulling fs layer 11:58:55 935e6c44a52c: Pulling fs layer 11:58:55 94cc34f8dd06: Pulling fs layer 11:58:55 30dea6a524f1: Pulling fs layer 11:58:55 a2aff8979fd8: Pulling fs layer 11:58:55 6808be2612f2: Pulling fs layer 11:58:55 f25807f1079a: Pulling fs layer 11:58:55 a2aff8979fd8: Waiting 11:58:55 94cc34f8dd06: Waiting 11:58:55 f25807f1079a: Waiting 11:58:55 6808be2612f2: Waiting 11:58:55 a2d21d5440eb: Download complete 11:58:55 94cc34f8dd06: Verifying Checksum 11:58:55 94cc34f8dd06: Download complete 11:58:55 30dea6a524f1: Verifying Checksum 11:58:55 30dea6a524f1: Download complete 11:58:55 63b65145d645: Verifying Checksum 11:58:55 63b65145d645: Download complete 11:58:55 a2aff8979fd8: Verifying Checksum 11:58:55 a2aff8979fd8: Download complete 11:58:55 63b65145d645: Pull complete 11:58:56 a2d21d5440eb: Pull complete 11:58:56 f25807f1079a: Verifying Checksum 11:58:56 f25807f1079a: Download complete 11:58:56 935e6c44a52c: Verifying Checksum 11:58:56 935e6c44a52c: Download complete 11:58:56 6808be2612f2: Verifying Checksum 11:58:56 6808be2612f2: Download complete 11:59:00 935e6c44a52c: Pull complete 11:59:00 94cc34f8dd06: Pull complete 11:59:00 30dea6a524f1: Pull complete 11:59:00 a2aff8979fd8: Pull complete 11:59:02 6808be2612f2: Pull complete 11:59:03 f25807f1079a: Pull complete 11:59:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 11:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:59:03 ---> 3b553350e43f 11:59:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:59:04 ---> Running in 47f402e5073e 11:59:04 Removing intermediate container 47f402e5073e 11:59:04 ---> b31602a49a7d 11:59:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:59:04 ---> Running in 79f83eb460f0 11:59:05 Removing intermediate container 79f83eb460f0 11:59:05 ---> d4b2422af220 11:59:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:59:05 ---> Running in d2ed39c6cfa7 11:59:05 Removing intermediate container d2ed39c6cfa7 11:59:05 ---> 6dd6e2fe1d35 11:59:05 Step 6/12 : WORKDIR /device-virtual-go 11:59:05 ---> Running in 4b16f01514e2 11:59:05 Removing intermediate container 4b16f01514e2 11:59:05 ---> 7bfa8ced8414 11:59:05 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:59:05 ---> Running in ca5f9cbed06e 11:59:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:59:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:59:06 (1/4) Installing openssh-keygen (9.1_p1-r2) 11:59:06 (2/4) Installing libedit (20221030.3.1-r0) 11:59:06 (3/4) Installing openssh-client-common (9.1_p1-r2) 11:59:06 (4/4) Installing openssh-client-default (9.1_p1-r2) 11:59:06 Executing busybox-1.35.0-r29.trigger 11:59:06 OK: 269 MiB in 57 packages 11:59:06 Removing intermediate container ca5f9cbed06e 11:59:06 ---> 8eda1284c922 11:59:06 Step 8/12 : COPY go.mod vendor* ./ 11:59:06 ---> ec137c4d502e 11:59:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:59:06 ---> Running in 28c2cf20ed91 11:59:08 Still waiting to schedule task 11:59:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:59:28 Removing intermediate container 28c2cf20ed91 11:59:28 ---> f247b8617ddb 11:59:28 Step 10/12 : COPY . . 11:59:29 ---> 15d8056503b7 11:59:29 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:59:29 ---> Running in b516297ed96e 11:59:29 Removing intermediate container b516297ed96e 11:59:29 ---> 8dcdec9428f0 11:59:29 Step 12/12 : RUN $MAKE 11:59:29 ---> Running in abef5a9945be 11:59:29 noop 11:59:29 Removing intermediate container abef5a9945be 11:59:29 ---> bf2d4c677f6f 11:59:29 Successfully built bf2d4c677f6f 11:59:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:30 + docker inspect -f . ci-base-image-x86_64 11:59:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:59:30 prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container 11:59:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:59:30 $ docker top 2bf7a0701d948ec989a1644b1c7f113e8c347f339bb7bb95ffedff3c44d3a80c -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:31 + go version 11:59:31 go version go1.20.2 linux/amd64 [Pipeline] } 11:59:31 $ docker stop --time=1 2bf7a0701d948ec989a1644b1c7f113e8c347f339bb7bb95ffedff3c44d3a80c 11:59:32 $ docker rm -f --volumes 2bf7a0701d948ec989a1644b1c7f113e8c347f339bb7bb95ffedff3c44d3a80c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:59:33 + docker inspect -f . ci-base-image-x86_64 11:59:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:59:33 prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container 11:59:33 $ 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-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:59:33 $ docker top 07a270220436ea13e8bec140a8895a19fd889b0c3124b312c5621a51d83e2894 -eo pid,comm [Pipeline] { [Pipeline] sh 11:59:33 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-379 [Pipeline] fileExists [Pipeline] sh 11:59:34 + make test 11:59:34 go test ./... -coverprofile=coverage.out 11:59:38 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:59:48 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:59:48 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.021s coverage: 58.7% of statements 11:59:53 go vet ./... 11:59:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:59:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:59:57 ./bin/test-attribution-txt.sh 11:59:57 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 11:59:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:59:58 $ docker stop --time=1 07a270220436ea13e8bec140a8895a19fd889b0c3124b312c5621a51d83e2894 12:00:00 $ docker rm -f --volumes 07a270220436ea13e8bec140a8895a19fd889b0c3124b312c5621a51d83e2894 [Pipeline] // withDockerContainer [Pipeline] sh 12:00:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:00:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:00:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:00:01 + ls -al . 12:00:01 total 192 12:00:01 drwxrwxr-x 9 jenkins jenkins 4096 Apr 12 11:59 . 12:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 11:58 .. 12:00:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 11:58 .git 12:00:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 11:58 .github 12:00:01 -rw-rw-r-- 1 jenkins jenkins 337 Apr 12 11:58 .gitignore 12:00:01 -rw-rw-r-- 1 jenkins jenkins 41 Apr 12 11:58 .golangci.yml 12:00:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 11:58 .semver 12:00:01 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 12 11:58 Attribution.txt 12:00:01 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 12 11:58 CHANGELOG.md 12:00:01 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 12 11:58 Dockerfile 12:00:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 11:58 GOVERNANCE.md 12:00:01 -rw-rw-r-- 1 jenkins jenkins 660 Apr 12 11:58 Jenkinsfile 12:00:01 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 11:58 LICENSE 12:00:01 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 12 11:58 Makefile 12:00:01 -rw-rw-r-- 1 jenkins jenkins 623 Apr 12 11:58 OWNERS.md 12:00:01 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 12 11:58 README.md 12:00:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 11:58 VERSION 12:00:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 11:58 bin 12:00:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 11:58 cmd 12:00:01 -rw-r--r-- 1 jenkins jenkins 42970 Apr 12 11:59 coverage.out 12:00:01 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 12 11:58 go.mod 12:00:01 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 12 11:58 go.sum 12:00:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 11:58 internal 12:00:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 11:58 snap 12:00:01 -rw-rw-r-- 1 jenkins jenkins 235 Apr 12 11:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:02 + 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=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 --label arch=amd64 --label version=0.0.0 . 12:00:02 Sending build context to Docker daemon 23.58MB 12:00:02 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 12:00:02 Step 2/25 : FROM ${BASE} AS builder 12:00:02 ---> bf2d4c677f6f 12:00:02 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:00:02 ---> Running in 0c9782bab811 12:00:02 Removing intermediate container 0c9782bab811 12:00:02 ---> e930fc7cd5c6 12:00:02 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:00:02 ---> Running in 0d89fdcf5e6e 12:00:02 Removing intermediate container 0d89fdcf5e6e 12:00:02 ---> 5626b1fca135 12:00:02 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:00:02 ---> Running in 9f7e5bd9268f 12:00:02 Removing intermediate container 9f7e5bd9268f 12:00:02 ---> d6e3718c3912 12:00:02 Step 6/25 : WORKDIR /device-virtual-go 12:00:02 ---> Running in 7779b064c0c4 12:00:02 Removing intermediate container 7779b064c0c4 12:00:02 ---> 698a937cd83e 12:00:02 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:00:02 ---> Running in 53a03bcb89ee 12:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:00:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:00:03 OK: 269 MiB in 57 packages 12:00:03 Removing intermediate container 53a03bcb89ee 12:00:03 ---> 53d7fced064c 12:00:03 Step 8/25 : COPY go.mod vendor* ./ 12:00:03 ---> cb985086e7b5 12:00:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:00:04 ---> Running in 5563069de366 12:00:04 Removing intermediate container 5563069de366 12:00:04 ---> 93a3fad059ae 12:00:04 Step 10/25 : COPY . . 12:00:05 ---> 1fc9cc5d76b8 12:00:05 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:00:05 ---> Running in 3575b86f87ae 12:00:05 Removing intermediate container 3575b86f87ae 12:00:05 ---> a0adaa9f9d6c 12:00:05 Step 12/25 : RUN $MAKE 12:00:05 ---> Running in 30d157e0fdc0 12:00:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:00:23 Removing intermediate container 30d157e0fdc0 12:00:23 ---> f8466c00599f 12:00:23 Step 13/25 : FROM alpine:3.17 12:00:23 3.17: Pulling from library/alpine 12:00:23 f56be85fc22e: Pulling fs layer 12:00:23 f56be85fc22e: Verifying Checksum 12:00:23 f56be85fc22e: Download complete 12:00:23 f56be85fc22e: Pull complete 12:00:23 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:00:23 Status: Downloaded newer image for alpine:3.17 12:00:23 ---> 9ed4aefc74f6 12:00:23 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:00:23 ---> Running in dd41c6528c32 12:00:23 Removing intermediate container dd41c6528c32 12:00:23 ---> 4745dc4e48f6 12:00:23 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:00:23 ---> Running in 5bef8e173b8b 12:00:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 12:00:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 12:00:23 (1/1) Installing dumb-init (1.2.5-r2) 12:00:23 Executing busybox-1.35.0-r29.trigger 12:00:23 OK: 7 MiB in 16 packages 12:00:23 Removing intermediate container 5bef8e173b8b 12:00:23 ---> ba5d1729a372 12:00:23 Step 16/25 : WORKDIR / 12:00:23 ---> Running in 84dd08b8342e 12:00:23 Removing intermediate container 84dd08b8342e 12:00:23 ---> e055327ada89 12:00:23 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:00:23 ---> 48c219b0f7d9 12:00:23 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:00:23 ---> 364fd5318010 12:00:23 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:00:24 ---> e9b8461f6737 12:00:24 Step 20/25 : EXPOSE 59900 12:00:24 ---> Running in 7cdfe5af4f34 12:00:24 Removing intermediate container 7cdfe5af4f34 12:00:24 ---> d13dd85e839f 12:00:24 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:00:24 ---> Running in 2b3c25f86414 12:00:24 Removing intermediate container 2b3c25f86414 12:00:24 ---> a10b746bc01c 12:00:24 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:00:24 ---> Running in 3e65d23df0f7 12:00:24 Removing intermediate container 3e65d23df0f7 12:00:24 ---> 8f45a7f30b05 12:00:24 Step 23/25 : LABEL arch=amd64 12:00:24 ---> Running in 2ddc89629f69 12:00:24 Removing intermediate container 2ddc89629f69 12:00:24 ---> 35c059b4bb3e 12:00:24 Step 24/25 : LABEL git_sha=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 12:00:24 ---> Running in 5a58de06394c 12:00:24 Removing intermediate container 5a58de06394c 12:00:24 ---> d8030808b6e4 12:00:24 Step 25/25 : LABEL version=0.0.0 12:00:24 ---> Running in 8b60b23f63e8 12:00:25 Removing intermediate container 8b60b23f63e8 12:00:25 ---> c2c0ca1ba7de 12:00:25 [Warning] One or more build-args [ARCH] were not consumed 12:00:25 Successfully built c2c0ca1ba7de 12:00:25 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 12:00:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:26 12:00:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:00:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:26 latest: Pulling from edgex-lftools-log-publisher 12:00:26 5eb5b503b376: Pulling fs layer 12:00:26 5c69ac0246d0: Pulling fs layer 12:00:26 ec43610c2a17: Pulling fs layer 12:00:26 3a2ae6a8a46f: Pulling fs layer 12:00:26 33b1e0a273af: Pulling fs layer 12:00:26 5d3b04190fa2: Pulling fs layer 12:00:26 2f39f015ded8: Pulling fs layer 12:00:26 3a2ae6a8a46f: Waiting 12:00:26 33b1e0a273af: Waiting 12:00:26 5d3b04190fa2: Waiting 12:00:26 2f39f015ded8: Waiting 12:00:26 5c69ac0246d0: Download complete 12:00:26 3a2ae6a8a46f: Verifying Checksum 12:00:26 3a2ae6a8a46f: Download complete 12:00:26 ec43610c2a17: Verifying Checksum 12:00:26 ec43610c2a17: Download complete 12:00:26 33b1e0a273af: Verifying Checksum 12:00:26 33b1e0a273af: Download complete 12:00:26 5d3b04190fa2: Download complete 12:00:26 5eb5b503b376: Verifying Checksum 12:00:26 5eb5b503b376: Download complete 12:00:27 2f39f015ded8: Verifying Checksum 12:00:27 2f39f015ded8: Download complete 12:00:27 5eb5b503b376: Pull complete 12:00:28 5c69ac0246d0: Pull complete 12:00:28 ec43610c2a17: Pull complete 12:00:28 3a2ae6a8a46f: Pull complete 12:00:28 33b1e0a273af: Pull complete 12:00:28 5d3b04190fa2: Pull complete 12:00:32 2f39f015ded8: Pull complete 12:00:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:00:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:00:32 prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container 12:00:33 $ 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-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@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 12:00:34 $ docker top a661c74747d5d283e51b9ce624dcebebf544aeedd01eafa93dcd53ffd782009a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:00:35 ---> job-cost.sh 12:00:35 lf-activate-venv: SKIPPING 12:00:35 INFO: No Stack... 12:00:35 INFO: Retrieving Pricing Info for: v3-standard-8 12:00:35 INFO: Archiving Costs [Pipeline] sh 12:00:36 + cat /w/workspace/foundry_device-virtual-go_PR-379/archives/cost.csv 12:00:36 + cut -d, -f6 [Pipeline] lock 12:00:36 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] 12:00:36 Resource [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] did not exist. Created. 12:00:36 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:00:36 + echo total: 0.2199999988079071 [Pipeline] stash 12:00:36 Stashed 1 file(s) [Pipeline] } 12:00:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:00:36 $ docker stop --time=1 a661c74747d5d283e51b9ce624dcebebf544aeedd01eafa93dcd53ffd782009a 12:00:37 $ docker rm -f --volumes a661c74747d5d283e51b9ce624dcebebf544aeedd01eafa93dcd53ffd782009a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:00:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7554 in /w/workspace/foundry_device-virtual-go_PR-379 [Pipeline] { [Pipeline] ws 12:00:39 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 12:00:39 The recommended git tool is: git 12:00:44 using credential edgex-jenkins-ssh 12:00:44 Cloning the remote Git repository 12:00:44 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 12:00:44 > git init /w/workspace/device-virtual-go/1 # timeout=10 12:00:44 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:00:44 > git --version # timeout=10 12:00:44 > git --version # 'git version 2.25.1' 12:00:44 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:00:46 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:00:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:00:47 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 12:00:47 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 12:00:47 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/379/head:refs/remotes/origin/PR-379 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:00:48 Merging remotes/origin/main commit 626db8e9a2222f123adcb85f9e159bc679c0b5f7 into PR head commit ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 12:00:48 Merge succeeded, producing ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 12:00:48 Checking out Revision ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 (PR-379) 12:00:49 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 12:00:49 > git --version # timeout=10 12:00:49 > git --version # 'git version 2.25.1' 12:00:49 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 12:00:48 > git config core.sparsecheckout # timeout=10 12:00:48 > git checkout -f ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 # timeout=10 12:00:48 > git remote # timeout=10 12:00:48 > git config --get remote.origin.url # timeout=10 12:00:48 using GIT_SSH to set credentials SSH Credentials for GitHub 12:00:48 > git merge 626db8e9a2222f123adcb85f9e159bc679c0b5f7 # timeout=10 12:00:48 > git rev-parse HEAD^{commit} # timeout=10 12:00:48 > git config core.sparsecheckout # timeout=10 12:00:48 > git checkout -f ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 12:00:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:00:50 % Total % Received % Xferd Average Speed Time Time Time Current 12:00:50 Dload Upload Total Spent Left Speed 12:00:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 12:00:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:00:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:00:51 + sudo tee /etc/docker/daemon.new 12:00:51 { 12:00:51 "registry-mirrors": [ 12:00:51 "https://nexus3.edgexfoundry.org:10001" 12:00:51 ], 12:00:51 "bip": "10.250.0.254/24", 12:00:51 "hosts": [ 12:00:51 "tcp://0.0.0.0:5555", 12:00:51 "unix:///var/run/docker.sock" 12:00:51 ], 12:00:51 "mtu": 1458, 12:00:51 "selinux-enabled": true, 12:00:51 "seccomp-profile": "/etc/docker/seccomp.json" 12:00:51 } [Pipeline] sh 12:00:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:00:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:01:10 provisioning config files... 12:01:10 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config4949361875244897939tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:01:10 ---> docker-login.sh 12:01:10 nexus3.edgexfoundry.org:10001 12:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:11 Configure a credential helper to remove this warning. See 12:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:11 12:01:11 Login Succeeded 12:01:11 nexus3.edgexfoundry.org:10002 12:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:11 Configure a credential helper to remove this warning. See 12:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:11 12:01:11 Login Succeeded 12:01:11 nexus3.edgexfoundry.org:10003 12:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:12 Configure a credential helper to remove this warning. See 12:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:12 12:01:12 Login Succeeded 12:01:12 nexus3.edgexfoundry.org:10004 12:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:12 Configure a credential helper to remove this warning. See 12:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:12 12:01:12 Login Succeeded 12:01:12 docker.io 12:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:01:12 Configure a credential helper to remove this warning. See 12:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:01:12 12:01:12 Login Succeeded 12:01:12 ---> docker-login.sh ends [Pipeline] } 12:01:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:01:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:01:13 ========================================================= 12:01:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 12:01:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:01:13 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 12:01:14 Sending build context to Docker daemon 11.92MB 12:01:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 12:01:14 Step 2/12 : FROM ${BASE} AS builder 12:01:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:01:14 af6eaf76a39c: Pulling fs layer 12:01:14 55522c791124: Pulling fs layer 12:01:14 ce5c4a1c91eb: Pulling fs layer 12:01:14 169dfbe0d373: Pulling fs layer 12:01:14 e1ff8fa3b103: Pulling fs layer 12:01:14 52ebb69f0ebf: Pulling fs layer 12:01:14 5abe8eddf0d5: Pulling fs layer 12:01:14 169dfbe0d373: Waiting 12:01:14 e1ff8fa3b103: Waiting 12:01:14 5abe8eddf0d5: Waiting 12:01:14 52ebb69f0ebf: Waiting 12:01:14 55522c791124: Download complete 12:01:14 169dfbe0d373: Verifying Checksum 12:01:14 169dfbe0d373: Download complete 12:01:14 e1ff8fa3b103: Verifying Checksum 12:01:14 e1ff8fa3b103: Download complete 12:01:14 af6eaf76a39c: Verifying Checksum 12:01:14 af6eaf76a39c: Download complete 12:01:15 af6eaf76a39c: Pull complete 12:01:15 5abe8eddf0d5: Verifying Checksum 12:01:15 5abe8eddf0d5: Download complete 12:01:16 ce5c4a1c91eb: Verifying Checksum 12:01:16 ce5c4a1c91eb: Download complete 12:01:16 52ebb69f0ebf: Verifying Checksum 12:01:16 52ebb69f0ebf: Download complete 12:01:19 55522c791124: Pull complete 12:01:29 ce5c4a1c91eb: Pull complete 12:01:29 169dfbe0d373: Pull complete 12:01:29 e1ff8fa3b103: Pull complete 12:01:35 52ebb69f0ebf: Pull complete 12:01:36 5abe8eddf0d5: Pull complete 12:01:36 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 12:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 12:01:36 ---> 6cb57ee374ae 12:01:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:01:38 ---> Running in ea9f9c1f08a8 12:01:38 Removing intermediate container ea9f9c1f08a8 12:01:38 ---> 928ce11952f4 12:01:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:01:38 ---> Running in 9d76bb3c38b9 12:01:38 Removing intermediate container 9d76bb3c38b9 12:01:38 ---> c9091b008502 12:01:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 12:01:38 ---> Running in a619101ffb17 12:01:39 Removing intermediate container a619101ffb17 12:01:39 ---> 2ca629212415 12:01:39 Step 6/12 : WORKDIR /device-virtual-go 12:01:39 ---> Running in 5286ff7c4323 12:01:39 Removing intermediate container 5286ff7c4323 12:01:39 ---> 03ca09a69c48 12:01:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:01:39 ---> Running in 76e83b7b7fbb 12:01:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:01:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:01:42 (1/4) Installing openssh-keygen (9.1_p1-r2) 12:01:42 (2/4) Installing libedit (20221030.3.1-r0) 12:01:42 (3/4) Installing openssh-client-common (9.1_p1-r2) 12:01:42 (4/4) Installing openssh-client-default (9.1_p1-r2) 12:01:42 Executing busybox-1.35.0-r29.trigger 12:01:42 OK: 268 MiB in 57 packages 12:01:46 Removing intermediate container 76e83b7b7fbb 12:01:46 ---> 100894a4b2e3 12:01:46 Step 8/12 : COPY go.mod vendor* ./ 12:01:46 ---> a85f5388c1b1 12:01:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:01:46 ---> Running in e56599d8a5ae 12:02:54 Removing intermediate container e56599d8a5ae 12:02:54 ---> 2944e831d277 12:02:54 Step 10/12 : COPY . . 12:02:54 ---> ebc3ac93dac3 12:02:54 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:02:54 ---> Running in e5c63b40e63a 12:02:54 Removing intermediate container e5c63b40e63a 12:02:54 ---> 41da47ea4d04 12:02:54 Step 12/12 : RUN $MAKE 12:02:54 ---> Running in ca60e4e4a5f1 12:02:54 noop 12:02:54 Removing intermediate container ca60e4e4a5f1 12:02:54 ---> bfef2e66b0c0 12:02:54 Successfully built bfef2e66b0c0 12:02:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:55 + docker inspect -f . ci-base-image-arm64 12:02:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:02:55 prd-ubuntu20.04-docker-arm64-4c-16g-7554 does not seem to be running inside a container 12:02:55 $ 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 12:02:56 $ docker top 64fb1cf6103d91d0bc566282c7cb980ffc3d6401806a279059e351dc1342b3a0 -eo pid,comm [Pipeline] { [Pipeline] sh 12:02:57 + go version 12:02:57 go version go1.20.2 linux/arm64 [Pipeline] } 12:02:57 $ docker stop --time=1 64fb1cf6103d91d0bc566282c7cb980ffc3d6401806a279059e351dc1342b3a0 12:02:59 $ docker rm -f --volumes 64fb1cf6103d91d0bc566282c7cb980ffc3d6401806a279059e351dc1342b3a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:02:59 + docker inspect -f . ci-base-image-arm64 12:02:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:03:00 prd-ubuntu20.04-docker-arm64-4c-16g-7554 does not seem to be running inside a container 12:03:00 $ 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 12:03:01 $ docker top b2ece86888d158c3f07638729cdf1be2d1b9908af2485a64cbe51206734da724 -eo pid,comm [Pipeline] { [Pipeline] sh 12:03:01 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 12:03:02 + make test 12:03:02 go test ./... -coverprofile=coverage.out 12:03:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 12:05:11 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 12:05:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.101s coverage: 58.5% of statements 12:05:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:05:13 go vet ./... 12:05:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:05:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:05:46 ./bin/test-attribution-txt.sh 12:05:46 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 12:05:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:05:46 $ docker stop --time=1 b2ece86888d158c3f07638729cdf1be2d1b9908af2485a64cbe51206734da724 12:05:48 $ docker rm -f --volumes b2ece86888d158c3f07638729cdf1be2d1b9908af2485a64cbe51206734da724 [Pipeline] // withDockerContainer [Pipeline] sh 12:05:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:05:49 Warning: overwriting stash ‘coverage-report’ 12:05:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:05:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:05:51 + ls -al . 12:05:51 total 188 12:05:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 12:03 . 12:05:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 12:00 .. 12:05:51 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 12:00 .git 12:05:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 12:00 .github 12:05:51 -rw-rw-r-- 1 jenkins jenkins 337 Apr 12 12:00 .gitignore 12:05:51 -rw-rw-r-- 1 jenkins jenkins 41 Apr 12 12:00 .golangci.yml 12:05:51 -rw-rw-r-- 1 jenkins jenkins 8641 Apr 12 12:00 Attribution.txt 12:05:51 -rw-rw-r-- 1 jenkins jenkins 11367 Apr 12 12:00 CHANGELOG.md 12:05:51 -rw-rw-r-- 1 jenkins jenkins 1646 Apr 12 12:00 Dockerfile 12:05:51 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 12:00 GOVERNANCE.md 12:05:51 -rw-rw-r-- 1 jenkins jenkins 660 Apr 12 12:00 Jenkinsfile 12:05:51 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 12 12:00 LICENSE 12:05:51 -rw-rw-r-- 1 jenkins jenkins 1696 Apr 12 12:00 Makefile 12:05:51 -rw-rw-r-- 1 jenkins jenkins 623 Apr 12 12:00 OWNERS.md 12:05:51 -rw-rw-r-- 1 jenkins jenkins 3578 Apr 12 12:00 README.md 12:05:51 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 11:58 VERSION 12:05:51 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 12:00 bin 12:05:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 12:00 cmd 12:05:51 -rw-r--r-- 1 jenkins jenkins 42970 Apr 12 12:05 coverage.out 12:05:51 -rw-rw-r-- 1 jenkins jenkins 3209 Apr 12 12:00 go.mod 12:05:51 -rw-rw-r-- 1 jenkins jenkins 31219 Apr 12 12:00 go.sum 12:05:51 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 12:00 internal 12:05:51 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 12:00 snap 12:05:51 -rw-rw-r-- 1 jenkins jenkins 235 Apr 12 12:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:05:51 + 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=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 --label arch=arm64 --label version=0.0.0 . 12:05:52 Sending build context to Docker daemon 11.97MB 12:05:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 12:05:52 Step 2/25 : FROM ${BASE} AS builder 12:05:52 ---> bfef2e66b0c0 12:05:52 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 12:05:52 ---> Running in 82f691984774 12:05:52 Removing intermediate container 82f691984774 12:05:52 ---> dd4b1d7a0fad 12:05:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 12:05:52 ---> Running in 5d6955cc5838 12:05:53 Removing intermediate container 5d6955cc5838 12:05:53 ---> 30fb6fc8dede 12:05:53 Step 5/25 : ARG ADD_BUILD_TAGS="" 12:05:53 ---> Running in 12e0e989a43d 12:05:54 Removing intermediate container 12e0e989a43d 12:05:54 ---> 82635d79310e 12:05:54 Step 6/25 : WORKDIR /device-virtual-go 12:05:54 ---> Running in 2df2ac8ca93b 12:05:54 Removing intermediate container 2df2ac8ca93b 12:05:54 ---> 91b63b2a401c 12:05:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:05:54 ---> Running in 357ed9ccc2a7 12:05:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:05:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:05:58 OK: 268 MiB in 57 packages 12:05:59 Removing intermediate container 357ed9ccc2a7 12:05:59 ---> 031815e07fdc 12:05:59 Step 8/25 : COPY go.mod vendor* ./ 12:05:59 ---> 94eb41f04772 12:05:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:05:59 ---> Running in b35ee8662955 12:06:02 Removing intermediate container b35ee8662955 12:06:02 ---> 6e10badb85d0 12:06:02 Step 10/25 : COPY . . 12:06:03 ---> 556b36384dd5 12:06:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 12:06:03 ---> Running in ffd3de28842d 12:06:04 Removing intermediate container ffd3de28842d 12:06:04 ---> 58fe1c598089 12:06:04 Step 12/25 : RUN $MAKE 12:06:04 ---> Running in 7d3465393fbe 12:06:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 12:08:11 Removing intermediate container 7d3465393fbe 12:08:11 ---> 2b29b09aba16 12:08:11 Step 13/25 : FROM alpine:3.17 12:08:11 3.17: Pulling from library/alpine 12:08:11 c41833b44d91: Pulling fs layer 12:08:11 c41833b44d91: Verifying Checksum 12:08:11 c41833b44d91: Download complete 12:08:11 c41833b44d91: Pull complete 12:08:11 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 12:08:11 Status: Downloaded newer image for alpine:3.17 12:08:11 ---> 51e60588ff2c 12:08:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 12:08:11 ---> Running in 973d19e77cd5 12:08:11 Removing intermediate container 973d19e77cd5 12:08:11 ---> ffbcc3683f90 12:08:11 Step 15/25 : RUN apk add --update --no-cache dumb-init 12:08:11 ---> Running in 99663695182d 12:08:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 12:08:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 12:08:12 (1/1) Installing dumb-init (1.2.5-r2) 12:08:12 Executing busybox-1.35.0-r29.trigger 12:08:12 OK: 8 MiB in 16 packages 12:08:13 Removing intermediate container 99663695182d 12:08:13 ---> acd6c45cef98 12:08:13 Step 16/25 : WORKDIR / 12:08:13 ---> Running in a2744c6812b2 12:08:14 Removing intermediate container a2744c6812b2 12:08:14 ---> 1f764d8e5e8e 12:08:14 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 12:08:14 ---> a315b662d559 12:08:14 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 12:08:15 ---> 5016de907814 12:08:15 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 12:08:16 ---> e95279f7de3a 12:08:16 Step 20/25 : EXPOSE 59900 12:08:16 ---> Running in 7ee722f43835 12:08:16 Removing intermediate container 7ee722f43835 12:08:16 ---> 0382f32f3e2a 12:08:16 Step 21/25 : ENTRYPOINT ["/device-virtual"] 12:08:16 ---> Running in cbb805d6f603 12:08:17 Removing intermediate container cbb805d6f603 12:08:17 ---> 32585da870c8 12:08:17 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 12:08:17 ---> Running in 6f87d7171a80 12:08:17 Removing intermediate container 6f87d7171a80 12:08:17 ---> f1269721d7df 12:08:17 Step 23/25 : LABEL arch=arm64 12:08:17 ---> Running in 820dedabf58f 12:08:17 Removing intermediate container 820dedabf58f 12:08:17 ---> 6742f445bbf4 12:08:17 Step 24/25 : LABEL git_sha=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 12:08:17 ---> Running in 5fb048af30c0 12:08:18 Removing intermediate container 5fb048af30c0 12:08:18 ---> 5f5f27e7c511 12:08:18 Step 25/25 : LABEL version=0.0.0 12:08:18 ---> Running in fe2ff7f9bc1e 12:08:18 Removing intermediate container fe2ff7f9bc1e 12:08:18 ---> 0b719ae7b824 12:08:18 [Warning] One or more build-args [ARCH] were not consumed 12:08:18 Successfully built 0b719ae7b824 12:08:18 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:08:19 12:08:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:08:20 arm64: Pulling from edgex-lftools-log-publisher 12:08:20 8998bd30e6a1: Pulling fs layer 12:08:20 04944245beec: Pulling fs layer 12:08:20 699f458cf7ca: Pulling fs layer 12:08:20 765212b225bb: Pulling fs layer 12:08:20 f23df028b6ca: Pulling fs layer 12:08:20 d65c8cfc05b1: Pulling fs layer 12:08:20 2437ff75d9bd: Pulling fs layer 12:08:20 765212b225bb: Waiting 12:08:20 f23df028b6ca: Waiting 12:08:20 2437ff75d9bd: Waiting 12:08:20 d65c8cfc05b1: Waiting 12:08:20 04944245beec: Verifying Checksum 12:08:20 04944245beec: Download complete 12:08:20 765212b225bb: Download complete 12:08:20 f23df028b6ca: Verifying Checksum 12:08:20 f23df028b6ca: Download complete 12:08:20 d65c8cfc05b1: Verifying Checksum 12:08:20 d65c8cfc05b1: Download complete 12:08:20 699f458cf7ca: Verifying Checksum 12:08:20 699f458cf7ca: Download complete 12:08:20 8998bd30e6a1: Verifying Checksum 12:08:20 8998bd30e6a1: Download complete 12:08:22 2437ff75d9bd: Verifying Checksum 12:08:22 2437ff75d9bd: Download complete 12:08:24 8998bd30e6a1: Pull complete 12:08:27 04944245beec: Pull complete 12:08:28 699f458cf7ca: Pull complete 12:08:28 765212b225bb: Pull complete 12:08:29 f23df028b6ca: Pull complete 12:08:29 d65c8cfc05b1: Pull complete 12:08:44 2437ff75d9bd: Pull complete 12:08:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:08:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:08:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:44 prd-ubuntu20.04-docker-arm64-4c-16g-7554 does not seem to be running inside a container 12:08:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:08:47 $ docker top 61518845812c9e5173323bb02da901d6da008ce9f7528f8ee546c4686ddea60b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:08:47 ---> job-cost.sh 12:08:48 lf-activate-venv: SKIPPING 12:08:48 INFO: No Stack... 12:08:48 INFO: Retrieving Pricing Info for: v3-standard-4 12:08:49 INFO: Archiving Costs [Pipeline] sh 12:08:49 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 12:08:49 + cut -d, -f6 [Pipeline] lock 12:08:49 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] 12:08:49 Resource [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] did not exist. Created. 12:08:49 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:08:50 /w/workspace/device-virtual-go/1@tmp/durable-86e391a1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:08:50 + echo total: 0.10999999940395355 [Pipeline] stash 12:08:50 Warning: overwriting stash ‘stack-cost’ 12:08:50 Stashed 1 file(s) [Pipeline] } 12:08:50 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-379-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:08:51 $ docker stop --time=1 61518845812c9e5173323bb02da901d6da008ce9f7528f8ee546c4686ddea60b 12:08:52 $ docker rm -f --volumes 61518845812c9e5173323bb02da901d6da008ce9f7528f8ee546c4686ddea60b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:08:53 provisioning config files... 12:08:53 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-379@tmp/config3618624417365500867tmp [Pipeline] { [Pipeline] sh 12:08:54 + set +x 12:08:54 + curl -s https://codecov.io/bash 12:08:54 + bash -s -- 12:08:54 12:08:54 _____ _ 12:08:54 / ____| | | 12:08:54 | | ___ __| | ___ ___ _____ __ 12:08:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:08:54 | |___| (_) | (_| | __/ (_| (_) \ V / 12:08:54 \_____\___/ \__,_|\___|\___\___/ \_/ 12:08:54 Bash-1.0.6 12:08:54 12:08:54 12:08:54 ==> git version 2.25.1 found 12:08:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 12:08:54 Release-Date: 2020-01-08 12:08:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:08:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:08:54 ==> Jenkins CI detected. 12:08:54 current dir:  /w/workspace/foundry_device-virtual-go_PR-379 12:08:54 project root: . 12:08:54 --> token set from env 12:08:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:08:54 ==> Running gcov in . (disable via -X gcov) 12:08:54 ==> Python coveragepy not found 12:08:54 ==> Searching for coverage reports in: 12:08:54 + . 12:08:54 -> Found 1 reports 12:08:54 ==> Detecting git/mercurial file structure 12:08:54 ==> Reading reports 12:08:54 + ./coverage.out bytes=42970 12:08:54 ==> Appending adjustments 12:08:54 https://docs.codecov.io/docs/fixing-reports 12:08:54 + Found adjustments 12:08:54 ==> Gzipping contents 12:08:54 8.0K /tmp/codecov.NRAoqx.gz 12:08:54 ==> Uploading reports 12:08:54 url: https://codecov.io 12:08:54 query: branch=PR-379&commit=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=379&job=&cmd_args= 12:08:54 -> Pinging Codecov 12:08:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-379&commit=ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-379%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=379&job=&cmd_args= 12:08:54 -> Uploading to 12:08:54 https://storage.googleapis.com/codecov/v4/raw/2023-04-12/5E52B4B073DB2E39498172D8E973AA87/ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476/a32490b7-f241-404c-9db8-188429095f86.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230412T120854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=767dd28a6ed2b35413e4cf14d9d59da11d25986bdb0f53c63918b7b688128773 12:08:54 % Total % Received % Xferd Average Speed Time Time Time Current 12:08:54 Dload Upload Total Spent Left Speed 12:08:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5164 0 0 100 5164 0 23261 --:--:-- --:--:-- --:--:-- 23156 100 5164 0 0 100 5164 0 18915 --:--:-- --:--:-- --:--:-- 18846 12:08:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/ca8c9659eba22ed9a9b92c3f9ae84cdffdd57476 [Pipeline] } 12:08:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:08:56 + [ -d /w/workspace/foundry_device-virtual-go_PR-379/archives ] 12:08:56 + ls -al /w/workspace/foundry_device-virtual-go_PR-379/archives 12:08:56 total 16 12:08:56 drwxr-xr-x 3 root root 4096 Apr 12 12:00 . 12:08:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 12:00 .. 12:08:56 drwxr-xr-x 2 root root 4096 Apr 12 12:00 cost 12:08:56 -rw-r--r-- 1 root root 89 Apr 12 12:00 cost.csv 12:08:56 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-379/archives 12:08:56 + ls -al /w/workspace/foundry_device-virtual-go_PR-379/archives 12:08:56 total 16 12:08:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 12:00 . 12:08:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 12:00 .. 12:08:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 12:00 cost 12:08:56 -rw-r--r-- 1 jenkins jenkins 89 Apr 12 12:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:08:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:08:57 ---> package-listing.sh 12:08:57 ++ facter osfamily 12:08:57 ++ tr '[:upper:]' '[:lower:]' 12:08:58 + OS_FAMILY=debian 12:08:58 + workspace=/w/workspace/foundry_device-virtual-go_PR-379 12:08:58 + START_PACKAGES=/tmp/packages_start.txt 12:08:58 + END_PACKAGES=/tmp/packages_end.txt 12:08:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:08:58 + PACKAGES=/tmp/packages_start.txt 12:08:58 + '[' /w/workspace/foundry_device-virtual-go_PR-379 ']' 12:08:58 + PACKAGES=/tmp/packages_end.txt 12:08:58 + case "${OS_FAMILY}" in 12:08:58 + dpkg -l 12:08:58 + grep '^ii' 12:08:58 + '[' -f /tmp/packages_start.txt ']' 12:08:58 + '[' -f /tmp/packages_end.txt ']' 12:08:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:08:58 + '[' /w/workspace/foundry_device-virtual-go_PR-379 ']' 12:08:58 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-379/archives/ 12:08:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-379/archives/ [Pipeline] echo 12:08:58 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-379/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:08:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:08:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:08:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:08:59 prd-ubuntu20.04-docker-8c-8g-7553 does not seem to be running inside a container 12:08:59 $ 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-379/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-379 -v /w/workspace/foundry_device-virtual-go_PR-379:/w/workspace/foundry_device-virtual-go_PR-379:rw,z -v /w/workspace/foundry_device-virtual-go_PR-379@tmp:/w/workspace/foundry_device-virtual-go_PR-379@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:08:59 $ docker top c5ec008bf8042c332d9711cf16dc54b9ad1d54255a085665085d79344c8dad60 -eo pid,comm [Pipeline] { [Pipeline] sh 12:08:59 + touch /tmp/pre-build-complete [Pipeline] sh 12:09:00 + mkdir -p /var/log/sysstat [Pipeline] sh 12:09:00 + ls /var/log/sa-host 12:09:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:09:00 provisioning config files... 12:09:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-379@tmp/config4092836512688217057tmp [Pipeline] { [Pipeline] echo 12:09:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:09:00 ---> create-netrc.sh [Pipeline] } 12:09:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:09:01 ---> python-tools-install.sh [Pipeline] echo 12:09:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:09:01 ---> sudo-logs.sh 12:09:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:09:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:09:02 ---> job-cost.sh 12:09:02 lf-activate-venv: SKIPPING 12:09:02 DEBUG: total: 0.2199999988079071 12:09:02 INFO: Retrieving Stack Cost... 12:09:02 INFO: Retrieving Pricing Info for: v3-standard-8 12:09:02 INFO: Archiving Costs [Pipeline] echo 12:09:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:09:03 ---> logs-deploy.sh 12:09:03 lf-activate-venv: SKIPPING 12:09:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-379/1 12:09:03 INFO: archiving workspace using pattern(s): 12:09:04 Archives upload complete. 12:09:04 INFO: archiving logs to Nexus