Pull request #434 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e+b6817069b5a51f00109e4d74960f23ef1aea0426 (11250d9370fa4e95c7d1ae88c3ebf71a7f210d59) 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-ssh8347525894476509376.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4288931134289900282.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-434/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-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15199933022344370522.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-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3842646626796798794.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5904146895461800531.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-434/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-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13803172728969724703.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8025 in /w/workspace/foundry_device-virtual-go_PR-434 [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-434 # 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/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b6817069b5a51f00109e4d74960f23ef1aea0426 into PR head commit a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e Merge succeeded, producing a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e Checking out Revision a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e (PR-434) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:33:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e # 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 b6817069b5a51f00109e4d74960f23ef1aea0426 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:33:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:33:57 ========================================================= 11:33:57 EdgeX Global Pipelines Version Info 11:33:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:33:58 ------------------- 11:33:58 stable info: 11:33:58 ------------------- 11:33:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:33:58 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:33:58 Message: update stable to v1.0.254 11:33:58 ------------------- 11:33:58 experimental info: 11:33:58 ------------------- 11:33:58 Commited By: **** collab-it+edgex@linuxfoundation.org 11:33:58 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 11:33:58 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:33:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7d15fe [Pipeline] echo 11:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:34:00 provisioning config files... 11:34:00 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-434@tmp/config18346266046833966793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:34:01 ---> docker-login.sh 11:34:01 nexus3.edgexfoundry.org:10001 11:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:01 Configure a credential helper to remove this warning. See 11:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:01 11:34:01 Login Succeeded 11:34:01 nexus3.edgexfoundry.org:10002 11:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:01 Configure a credential helper to remove this warning. See 11:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:01 11:34:01 Login Succeeded 11:34:01 nexus3.edgexfoundry.org:10003 11:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:01 Configure a credential helper to remove this warning. See 11:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:01 11:34:01 Login Succeeded 11:34:01 nexus3.edgexfoundry.org:10004 11:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:01 Configure a credential helper to remove this warning. See 11:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:01 11:34:01 Login Succeeded 11:34:01 docker.io 11:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:02 Configure a credential helper to remove this warning. See 11:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:02 11:34:02 Login Succeeded 11:34:02 ---> docker-login.sh ends [Pipeline] } 11:34:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:34:02 + git rev-list -1 --merges a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e~1..a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e [Pipeline] echo 11:34:02 -----------> git rev-list -1 --merges a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e~1..a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e [false] [Pipeline] sh 11:34:03 + git log --format=format:%s -1 a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e [Pipeline] echo 11:34:03 ========================================================= 11:34:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:34:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:34:03 + git log --format=format:%s -1 a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e [Pipeline] echo 11:34:03 [semverPrep] GIT_COMMIT: a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:34:03 [semverPrep] This is not a build commit. [Pipeline] sh 11:34:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:34:04 + grep -v github /etc/ssh/ssh_known_hosts 11:34:04 + [ -e /tmp/ssh_known_hosts ] 11:34:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:34:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:34:04 + sudo tee -a /etc/ssh/ssh_known_hosts 11:34:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:34:04 11:34:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:34:05 0.1.4: Pulling from edgex-devops/py-git-semver 11:34:05 b85a868b505f: Pulling fs layer 11:34:05 e2be974225ed: Pulling fs layer 11:34:05 339a4e72a1f5: Pulling fs layer 11:34:05 988bab9f4d93: Pulling fs layer 11:34:05 1469e6f7b9e6: Pulling fs layer 11:34:05 eaf3925da568: Pulling fs layer 11:34:05 bab4dde63d76: Pulling fs layer 11:34:05 bde34c3a00c8: Pulling fs layer 11:34:05 b352a97aabf1: Pulling fs layer 11:34:05 4872d77fe225: Pulling fs layer 11:34:05 5851b861e8e6: Pulling fs layer 11:34:05 1469e6f7b9e6: Waiting 11:34:05 eaf3925da568: Waiting 11:34:05 bab4dde63d76: Waiting 11:34:05 4872d77fe225: Waiting 11:34:05 5851b861e8e6: Waiting 11:34:05 988bab9f4d93: Waiting 11:34:05 bde34c3a00c8: Waiting 11:34:05 b352a97aabf1: Waiting 11:34:05 e2be974225ed: Verifying Checksum 11:34:05 e2be974225ed: Download complete 11:34:05 988bab9f4d93: Download complete 11:34:05 1469e6f7b9e6: Verifying Checksum 11:34:05 1469e6f7b9e6: Download complete 11:34:05 339a4e72a1f5: Verifying Checksum 11:34:05 339a4e72a1f5: Download complete 11:34:05 eaf3925da568: Verifying Checksum 11:34:05 eaf3925da568: Download complete 11:34:05 bde34c3a00c8: Verifying Checksum 11:34:05 bde34c3a00c8: Download complete 11:34:05 b352a97aabf1: Download complete 11:34:05 4872d77fe225: Verifying Checksum 11:34:05 4872d77fe225: Download complete 11:34:05 5851b861e8e6: Verifying Checksum 11:34:05 5851b861e8e6: Download complete 11:34:05 b85a868b505f: Verifying Checksum 11:34:05 b85a868b505f: Download complete 11:34:05 bab4dde63d76: Verifying Checksum 11:34:05 bab4dde63d76: Download complete 11:34:06 b85a868b505f: Pull complete 11:34:06 e2be974225ed: Pull complete 11:34:07 339a4e72a1f5: Pull complete 11:34:07 988bab9f4d93: Pull complete 11:34:07 1469e6f7b9e6: Pull complete 11:34:07 eaf3925da568: Pull complete 11:34:09 bab4dde63d76: Pull complete 11:34:09 bde34c3a00c8: Pull complete 11:34:09 b352a97aabf1: Pull complete 11:34:09 4872d77fe225: Pull complete 11:34:09 5851b861e8e6: Pull complete 11:34:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:34:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:34:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:10 prd-ubuntu20.04-docker-8c-8g-8025 does not seem to be running inside a container 11:34:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-434 -v /w/workspace/foundry_device-virtual-go_PR-434:/w/workspace/foundry_device-virtual-go_PR-434:rw,z -v /w/workspace/foundry_device-virtual-go_PR-434@tmp:/w/workspace/foundry_device-virtual-go_PR-434@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:34:14 $ docker top 051fc258317012e444eac8841f1d5fce9d76510a57258d3ddaa44a2b3503ab1d -eo pid,comm 11:34:14 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:34:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:34:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:34:14 [ssh-agent] Looking for ssh-agent implementation... 11:34:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:34:14 $ docker exec 051fc258317012e444eac8841f1d5fce9d76510a57258d3ddaa44a2b3503ab1d ssh-agent 11:34:15 SSH_AUTH_SOCK=/tmp/ssh-FpUnvHjYGtmC/agent.32 11:34:15 SSH_AGENT_PID=38 11:34:15 Running ssh-add (command line suppressed) 11:34:15 Identity added: /w/workspace/foundry_device-virtual-go_PR-434@tmp/private_key_6475847916386226102.key (/w/workspace/foundry_device-virtual-go_PR-434@tmp/private_key_6475847916386226102.key) 11:34:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:34:15 + git tag --points-at HEAD [Pipeline] } 11:34:15 $ docker exec --env ******** --env ******** 051fc258317012e444eac8841f1d5fce9d76510a57258d3ddaa44a2b3503ab1d ssh-agent -k 11:34:15 unset SSH_AUTH_SOCK; 11:34:15 unset SSH_AGENT_PID; 11:34:15 echo Agent pid 38 killed; 11:34:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:34:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:34:15 [ssh-agent] Looking for ssh-agent implementation... 11:34:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:34:15 $ docker exec 051fc258317012e444eac8841f1d5fce9d76510a57258d3ddaa44a2b3503ab1d ssh-agent 11:34:15 SSH_AUTH_SOCK=/tmp/ssh-8O7KJUxlf6i6/agent.70 11:34:15 SSH_AGENT_PID=76 11:34:15 Running ssh-add (command line suppressed) 11:34:16 Identity added: /w/workspace/foundry_device-virtual-go_PR-434@tmp/private_key_7960299351201258561.key (/w/workspace/foundry_device-virtual-go_PR-434@tmp/private_key_7960299351201258561.key) 11:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:34:16 + git semver init 11:34:16 2023-09-27 11:34:16,567 [run_init] DEBUG init version:0.0.0 force:False 11:34:16 2023-09-27 11:34:16,568 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-434/.semver 11:34:16 2023-09-27 11:34:16,568 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-434/.semver 11:34:16 2023-09-27 11:34:16,568 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-434/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-434, universal_newlines=False, shell=None, istream=None) 11:34:18 2023-09-27 11:34:17,722 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-434/.git/info/exclude 11:34:18 2023-09-27 11:34:17,723 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-434/.semver/PR-434 with force:False 11:34:18 2023-09-27 11:34:17,723 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-434/.semver/PR-434 11:34:18 2023-09-27 11:34:17,727 [execute] INFO git cat-file --batch-check 11:34:18 2023-09-27 11:34:17,727 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) 11:34:18 2023-09-27 11:34:17,732 [execute] INFO git cat-file --batch 11:34:18 2023-09-27 11:34:17,732 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) 11:34:18 2023-09-27 11:34:17,736 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-434/.semver/PR-434 11:34:18 0.0.0 [Pipeline] } 11:34:18 $ docker exec --env ******** --env ******** 051fc258317012e444eac8841f1d5fce9d76510a57258d3ddaa44a2b3503ab1d ssh-agent -k 11:34:18 unset SSH_AUTH_SOCK; 11:34:18 unset SSH_AGENT_PID; 11:34:18 echo Agent pid 76 killed; 11:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:34:18 + git semver [Pipeline] } 11:34:18 $ docker stop --time=1 051fc258317012e444eac8841f1d5fce9d76510a57258d3ddaa44a2b3503ab1d 11:34:20 $ docker rm -f --volumes 051fc258317012e444eac8841f1d5fce9d76510a57258d3ddaa44a2b3503ab1d [Pipeline] // withDockerContainer [Pipeline] sh 11:34:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:34:20 Stashed 1 file(s) [Pipeline] echo 11:34:20 [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:34:21 provisioning config files... 11:34:21 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-434@tmp/config10961563297322369464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:34:21 ---> docker-login.sh 11:34:21 nexus3.edgexfoundry.org:10001 11:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:21 Configure a credential helper to remove this warning. See 11:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:21 11:34:21 Login Succeeded 11:34:21 nexus3.edgexfoundry.org:10002 11:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:21 Configure a credential helper to remove this warning. See 11:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:21 11:34:21 Login Succeeded 11:34:21 nexus3.edgexfoundry.org:10003 11:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:22 Configure a credential helper to remove this warning. See 11:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:22 11:34:22 Login Succeeded 11:34:22 nexus3.edgexfoundry.org:10004 11:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:22 Configure a credential helper to remove this warning. See 11:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:22 11:34:22 Login Succeeded 11:34:22 docker.io 11:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:22 Configure a credential helper to remove this warning. See 11:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:22 11:34:22 Login Succeeded 11:34:22 ---> docker-login.sh ends [Pipeline] } 11:34:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:34:22 ========================================================= 11:34:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 11:34:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:23 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:34:23 Sending build context to Docker daemon 23.66MB 11:34:23 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:34:23 Step 2/12 : FROM ${BASE} AS builder 11:34:23 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 11:34:23 7264a8db6415: Pulling fs layer 11:34:23 c4d48a809fc2: Pulling fs layer 11:34:23 4f1c88b9dad5: Pulling fs layer 11:34:23 ad3a456e5733: Pulling fs layer 11:34:23 33e27b845d1e: Pulling fs layer 11:34:23 c68163c4e522: Pulling fs layer 11:34:23 50da416c3ac9: Pulling fs layer 11:34:23 23d2d4c4bb30: Pulling fs layer 11:34:23 50da416c3ac9: Waiting 11:34:23 c68163c4e522: Waiting 11:34:23 23d2d4c4bb30: Waiting 11:34:23 ad3a456e5733: Waiting 11:34:23 c4d48a809fc2: Download complete 11:34:23 ad3a456e5733: Verifying Checksum 11:34:23 ad3a456e5733: Download complete 11:34:23 33e27b845d1e: Verifying Checksum 11:34:23 33e27b845d1e: Download complete 11:34:23 7264a8db6415: Verifying Checksum 11:34:23 7264a8db6415: Download complete 11:34:23 c68163c4e522: Verifying Checksum 11:34:23 c68163c4e522: Download complete 11:34:23 7264a8db6415: Pull complete 11:34:23 c4d48a809fc2: Pull complete 11:34:23 23d2d4c4bb30: Verifying Checksum 11:34:23 23d2d4c4bb30: Download complete 11:34:24 4f1c88b9dad5: Verifying Checksum 11:34:24 4f1c88b9dad5: Download complete 11:34:24 50da416c3ac9: Verifying Checksum 11:34:24 50da416c3ac9: Download complete 11:34:26 4f1c88b9dad5: Pull complete 11:34:26 ad3a456e5733: Pull complete 11:34:27 33e27b845d1e: Pull complete 11:34:27 c68163c4e522: Pull complete 11:34:29 50da416c3ac9: Pull complete 11:34:29 23d2d4c4bb30: Pull complete 11:34:29 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 11:34:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 11:34:29 ---> 0786185ac409 11:34:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:34:36 ---> Running in 0e4cf6a0eb7f 11:34:36 Removing intermediate container 0e4cf6a0eb7f 11:34:36 ---> 3c1f8a27043b 11:34:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:34:36 ---> Running in 02e0b213ee90 11:34:36 Still waiting to schedule task 11:34:36 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:34:36 Removing intermediate container 02e0b213ee90 11:34:36 ---> b655aff6df76 11:34:36 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:34:36 ---> Running in 6b59d570b752 11:34:36 Removing intermediate container 6b59d570b752 11:34:36 ---> e497cd038c44 11:34:36 Step 6/12 : WORKDIR /device-virtual-go 11:34:36 ---> Running in 142e99e981ae 11:34:36 Removing intermediate container 142e99e981ae 11:34:36 ---> 44f4777051c5 11:34:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:34:36 ---> Running in 33bc4e7ac2fd 11:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:34:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:34:37 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:34:37 (2/4) Installing libedit (20221030.3.1-r1) 11:34:37 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:34:37 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:34:37 Executing busybox-1.36.1-r2.trigger 11:34:37 OK: 268 MiB in 56 packages 11:34:38 Removing intermediate container 33bc4e7ac2fd 11:34:38 ---> 8a1a6011e188 11:34:38 Step 8/12 : COPY go.mod vendor* ./ 11:34:38 ---> 0d33c719ed85 11:34:38 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:34:38 ---> Running in 3182e6616170 11:35:25 Removing intermediate container 3182e6616170 11:35:25 ---> 4dc4b4b52008 11:35:25 Step 10/12 : COPY . . 11:35:25 ---> aa01f20741eb 11:35:25 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:35:25 ---> Running in d3c4ecf27e26 11:35:25 Removing intermediate container d3c4ecf27e26 11:35:25 ---> c196c612aa3c 11:35:25 Step 12/12 : RUN $MAKE 11:35:25 ---> Running in f588be4ea09f 11:35:25 noop 11:35:25 Removing intermediate container f588be4ea09f 11:35:25 ---> 0bf8c526e937 11:35:25 Successfully built 0bf8c526e937 11:35:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:25 + docker inspect -f . ci-base-image-x86_64 11:35:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:35:25 prd-ubuntu20.04-docker-8c-8g-8025 does not seem to be running inside a container 11:35:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-434 -v /w/workspace/foundry_device-virtual-go_PR-434:/w/workspace/foundry_device-virtual-go_PR-434:rw,z -v /w/workspace/foundry_device-virtual-go_PR-434@tmp:/w/workspace/foundry_device-virtual-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:35:26 $ docker top 1891b5ade5d941119ff7d959b2759b36214198a84e4e8fa17036960cd2a7a7ae -eo pid,comm [Pipeline] { [Pipeline] sh 11:35:26 + go version 11:35:26 go version go1.21.0 linux/amd64 [Pipeline] } 11:35:26 $ docker stop --time=1 1891b5ade5d941119ff7d959b2759b36214198a84e4e8fa17036960cd2a7a7ae 11:35:27 $ docker rm -f --volumes 1891b5ade5d941119ff7d959b2759b36214198a84e4e8fa17036960cd2a7a7ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:28 + docker inspect -f . ci-base-image-x86_64 11:35:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:35:28 prd-ubuntu20.04-docker-8c-8g-8025 does not seem to be running inside a container 11:35:28 $ 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-434 -v /w/workspace/foundry_device-virtual-go_PR-434:/w/workspace/foundry_device-virtual-go_PR-434:rw,z -v /w/workspace/foundry_device-virtual-go_PR-434@tmp:/w/workspace/foundry_device-virtual-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:35:28 $ docker top 8abc7eb05398c9ab5df309470ce40061823c2d5e7cbe6027a840d39384788408 -eo pid,comm [Pipeline] { [Pipeline] sh 11:35:29 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-434 [Pipeline] fileExists [Pipeline] sh 11:35:29 + make test 11:35:29 go test ./... -coverprofile=coverage.out 11:35:31 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:35:41 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:35:41 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.018s coverage: 58.6% of statements 11:35:46 go vet ./... 11:35:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:35:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:35:49 ./bin/test-attribution-txt.sh [Pipeline] echo 11:35:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:35:49 $ docker stop --time=1 8abc7eb05398c9ab5df309470ce40061823c2d5e7cbe6027a840d39384788408 11:35:53 $ docker rm -f --volumes 8abc7eb05398c9ab5df309470ce40061823c2d5e7cbe6027a840d39384788408 [Pipeline] // withDockerContainer [Pipeline] sh 11:35:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:35:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:35:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:35:54 + ls -al . 11:35:54 total 204 11:35:54 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 11:35 . 11:35:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 11:33 .. 11:35:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 11:35 .git 11:35:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:33 .github 11:35:54 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 11:33 .gitignore 11:35:54 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 11:33 .golangci.yml 11:35:54 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 11:34 .semver 11:35:54 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 27 11:33 Attribution.txt 11:35:54 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 27 11:33 CHANGELOG.md 11:35:54 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 27 11:33 Dockerfile 11:35:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 11:33 GOVERNANCE.md 11:35:54 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 11:33 Jenkinsfile 11:35:54 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 11:33 LICENSE 11:35:54 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 27 11:33 Makefile 11:35:54 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 11:33 OWNERS.md 11:35:54 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 27 11:33 README.md 11:35:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 11:34 VERSION 11:35:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 11:33 bin 11:35:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:33 cmd 11:35:54 -rw-r--r-- 1 jenkins jenkins 43063 Sep 27 11:35 coverage.out 11:35:54 -rw-rw-r-- 1 jenkins jenkins 3637 Sep 27 11:33 go.mod 11:35:54 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 27 11:33 go.sum 11:35:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:33 internal 11:35:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 11:33 snap 11:35:54 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 11:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:35:55 + 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=a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e --label arch=amd64 --label version=0.0.0 . 11:35:55 Sending build context to Docker daemon 23.7MB 11:35:55 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:35:55 Step 2/25 : FROM ${BASE} AS builder 11:35:55 ---> 0bf8c526e937 11:35:55 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:35:55 ---> Running in 04991232b5dc 11:35:55 Removing intermediate container 04991232b5dc 11:35:55 ---> 5ef0a66e91cb 11:35:55 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:35:55 ---> Running in 8197380df551 11:35:56 Removing intermediate container 8197380df551 11:35:56 ---> 9c5c82c53a9d 11:35:56 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:35:56 ---> Running in 32e937ae84a9 11:35:56 Removing intermediate container 32e937ae84a9 11:35:56 ---> f2029dd76c30 11:35:56 Step 6/25 : WORKDIR /device-virtual-go 11:35:56 ---> Running in 05a58fb990f2 11:35:56 Removing intermediate container 05a58fb990f2 11:35:56 ---> 6588d24bd77d 11:35:56 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:35:56 ---> Running in 7b15efd9897b 11:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:35:56 OK: 268 MiB in 56 packages 11:35:57 Removing intermediate container 7b15efd9897b 11:35:57 ---> c87f98ff4e35 11:35:57 Step 8/25 : COPY go.mod vendor* ./ 11:35:57 ---> 6bd4ac5aa262 11:35:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:35:57 ---> Running in 60a87702bcbe 11:35:58 Removing intermediate container 60a87702bcbe 11:35:58 ---> 94c99caacb6f 11:35:58 Step 10/25 : COPY . . 11:35:58 ---> b9535480f702 11:35:58 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:35:58 ---> Running in f5de5e5be49f 11:35:58 Removing intermediate container f5de5e5be49f 11:35:58 ---> 27bddb89aa29 11:35:58 Step 12/25 : RUN $MAKE 11:35:58 ---> Running in 18c350110913 11:35:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.31" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:36:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8026 in /w/workspace/foundry_device-virtual-go_PR-434 [Pipeline] { [Pipeline] ws 11:36:04 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:36:04 The recommended git tool is: git 11:36:09 using credential edgex-jenkins-ssh 11:36:09 Cloning the remote Git repository 11:36:09 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:36:09 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:36:09 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:36:09 > git --version # timeout=10 11:36:09 > git --version # 'git version 2.25.1' 11:36:09 using GIT_SSH to set credentials SSH Credentials for GitHub 11:36:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:36:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:36:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:36:12 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:36:12 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:36:12 using GIT_SSH to set credentials SSH Credentials for GitHub 11:36:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:36:13 Merging remotes/origin/main commit b6817069b5a51f00109e4d74960f23ef1aea0426 into PR head commit a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e 11:36:13 Merge succeeded, producing a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e 11:36:13 Checking out Revision a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e (PR-434) 11:36:14 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:36:14 > git --version # timeout=10 11:36:14 > git --version # 'git version 2.25.1' 11:36:14 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 11:36:13 > git config core.sparsecheckout # timeout=10 11:36:13 > git checkout -f a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e # timeout=10 11:36:13 > git remote # timeout=10 11:36:13 > git config --get remote.origin.url # timeout=10 11:36:13 using GIT_SSH to set credentials SSH Credentials for GitHub 11:36:13 > git merge b6817069b5a51f00109e4d74960f23ef1aea0426 # timeout=10 11:36:13 > git rev-parse HEAD^{commit} # timeout=10 11:36:13 > git config core.sparsecheckout # timeout=10 11:36:13 > git checkout -f a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:36:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:36:15 % Total % Received % Xferd Average Speed Time Time Time Current 11:36:15 Dload Upload Total Spent Left Speed 11:36:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 11:36:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:36:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:36:16 + sudo tee /etc/docker/daemon.new 11:36:16 { 11:36:16 "registry-mirrors": [ 11:36:16 "https://nexus3.edgexfoundry.org:10001" 11:36:16 ], 11:36:16 "bip": "10.250.0.254/24", 11:36:16 "hosts": [ 11:36:16 "tcp://0.0.0.0:5555", 11:36:16 "unix:///var/run/docker.sock" 11:36:16 ], 11:36:16 "mtu": 1458, 11:36:16 "selinux-enabled": true, 11:36:16 "seccomp-profile": "/etc/docker/seccomp.json" 11:36:16 } [Pipeline] sh 11:36:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:36:17 + sudo service docker restart 11:36:17 Removing intermediate container 18c350110913 11:36:17 ---> e91711b7a238 11:36:17 Step 13/25 : FROM alpine:3.18 11:36:17 3.18: Pulling from library/alpine 11:36:17 7264a8db6415: Already exists 11:36:17 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 11:36:17 Status: Downloaded newer image for alpine:3.18 11:36:17 ---> 7e01a0d0a1dc 11:36:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:36:18 ---> Running in 9de5fc9aeeef 11:36:18 Removing intermediate container 9de5fc9aeeef 11:36:18 ---> aede4d589397 11:36:18 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:36:18 ---> Running in 5e40b8bba640 11:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 11:36:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 11:36:18 (1/1) Installing dumb-init (1.2.5-r2) 11:36:18 Executing busybox-1.36.1-r2.trigger 11:36:18 OK: 7 MiB in 16 packages 11:36:19 Removing intermediate container 5e40b8bba640 11:36:19 ---> e7d858204a85 11:36:19 Step 16/25 : WORKDIR / 11:36:19 ---> Running in 04df11104b49 11:36:19 Removing intermediate container 04df11104b49 11:36:19 ---> 64f16c44c1af 11:36:19 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:36:19 ---> b8412dac0fb7 11:36:19 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:36:19 ---> ad927cf95fe4 11:36:19 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:36:20 ---> 394b402c923a 11:36:20 Step 20/25 : EXPOSE 59900 11:36:20 ---> Running in a3843f54bdb3 11:36:20 Removing intermediate container a3843f54bdb3 11:36:20 ---> 5ea27ad63b85 11:36:20 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:36:20 ---> Running in 4c958c46f29c 11:36:20 Removing intermediate container 4c958c46f29c 11:36:20 ---> c21ffe681a21 11:36:20 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:36:20 ---> Running in 7a1d5d10b953 11:36:20 Removing intermediate container 7a1d5d10b953 11:36:20 ---> b1e01132ecbc 11:36:20 Step 23/25 : LABEL arch=amd64 11:36:20 ---> Running in 5befa5cc93c1 11:36:20 Removing intermediate container 5befa5cc93c1 11:36:20 ---> 950112a1ce60 11:36:20 Step 24/25 : LABEL git_sha=a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e 11:36:20 ---> Running in b5fb8479ff41 11:36:20 Removing intermediate container b5fb8479ff41 11:36:20 ---> c22e273703b3 11:36:20 Step 25/25 : LABEL version=0.0.0 11:36:20 ---> Running in deeb7afce449 11:36:20 Removing intermediate container deeb7afce449 11:36:20 ---> ae1e066bb34d 11:36:20 [Warning] One or more build-args [ARCH] were not consumed 11:36:20 Successfully built ae1e066bb34d 11:36:20 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:21 11:36:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:22 latest: Pulling from edgex-lftools-log-publisher 11:36:22 5eb5b503b376: Pulling fs layer 11:36:22 5c69ac0246d0: Pulling fs layer 11:36:22 ec43610c2a17: Pulling fs layer 11:36:22 3a2ae6a8a46f: Pulling fs layer 11:36:22 33b1e0a273af: Pulling fs layer 11:36:22 5d3b04190fa2: Pulling fs layer 11:36:22 2f39f015ded8: Pulling fs layer 11:36:22 3a2ae6a8a46f: Waiting 11:36:22 5d3b04190fa2: Waiting 11:36:22 33b1e0a273af: Waiting 11:36:22 2f39f015ded8: Waiting 11:36:22 5c69ac0246d0: Verifying Checksum 11:36:22 5c69ac0246d0: Download complete 11:36:22 3a2ae6a8a46f: Verifying Checksum 11:36:22 3a2ae6a8a46f: Download complete 11:36:22 33b1e0a273af: Verifying Checksum 11:36:22 33b1e0a273af: Download complete 11:36:22 5d3b04190fa2: Download complete 11:36:22 ec43610c2a17: Download complete 11:36:22 5eb5b503b376: Verifying Checksum 11:36:22 5eb5b503b376: Download complete 11:36:23 2f39f015ded8: Download complete 11:36:23 5eb5b503b376: Pull complete 11:36:23 5c69ac0246d0: Pull complete 11:36:24 ec43610c2a17: Pull complete 11:36:24 3a2ae6a8a46f: Pull complete 11:36:24 33b1e0a273af: Pull complete 11:36:24 5d3b04190fa2: Pull complete 11:36:28 2f39f015ded8: Pull complete 11:36:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:36:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:36:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:29 prd-ubuntu20.04-docker-8c-8g-8025 does not seem to be running inside a container 11:36:29 $ 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-434 -v /w/workspace/foundry_device-virtual-go_PR-434:/w/workspace/foundry_device-virtual-go_PR-434:rw,z -v /w/workspace/foundry_device-virtual-go_PR-434@tmp:/w/workspace/foundry_device-virtual-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:36:34 $ docker top c1b0f42afb1bff43ffe7947a95633c87e0d95c7feb7f725b0639b175e8939599 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:36:34 ---> job-cost.sh 11:36:34 lf-activate-venv: SKIPPING 11:36:34 INFO: No Stack... 11:36:35 INFO: Retrieving Pricing Info for: v3-standard-8 11:36:35 INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:36:35 provisioning config files... 11:36:35 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7286611384805046941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:36:35 + cat /w/workspace/foundry_device-virtual-go_PR-434/archives/cost.csv 11:36:35 + cut -d, -f6 [Pipeline] lock 11:36:35 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-434-1-stack-cost] 11:36:35 Resource [jenkins-edgexfoundry-device-virtual-go-PR-434-1-stack-cost] did not exist. Created. 11:36:35 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:36:35 ---> docker-login.sh 11:36:35 nexus3.edgexfoundry.org:10001 11:36:36 + echo total: 0.2199999988079071 [Pipeline] stash 11:36:36 Stashed 1 file(s) 11:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] } 11:36:36 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-434-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:36:36 $ docker stop --time=1 c1b0f42afb1bff43ffe7947a95633c87e0d95c7feb7f725b0639b175e8939599 11:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:36:36 Configure a credential helper to remove this warning. See 11:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:36:36 11:36:36 Login Succeeded 11:36:36 nexus3.edgexfoundry.org:10002 11:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:36:36 Configure a credential helper to remove this warning. See 11:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:36:36 11:36:36 Login Succeeded 11:36:37 nexus3.edgexfoundry.org:10003 11:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:36:37 Configure a credential helper to remove this warning. See 11:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:36:37 11:36:37 Login Succeeded 11:36:37 nexus3.edgexfoundry.org:10004 11:36:37 $ docker rm -f --volumes c1b0f42afb1bff43ffe7947a95633c87e0d95c7feb7f725b0639b175e8939599 11:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:36:37 Configure a credential helper to remove this warning. See 11:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:36:37 11:36:37 Login Succeeded 11:36:37 docker.io [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 11:36:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // stage [Pipeline] } 11:36:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:36:38 Configure a credential helper to remove this warning. See 11:36:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:36:38 11:36:38 Login Succeeded 11:36:38 ---> docker-login.sh ends [Pipeline] } 11:36:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:36:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:36:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:36:38 ========================================================= 11:36:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 11:36:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:39 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 11:36:39 Sending build context to Docker daemon 11.97MB 11:36:39 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 11:36:39 Step 2/12 : FROM ${BASE} AS builder 11:36:39 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:36:39 9fda8d8052c6: Pulling fs layer 11:36:39 5d54e960e981: Pulling fs layer 11:36:39 c4a7e357bf2a: Pulling fs layer 11:36:39 f0e02332f6b5: Pulling fs layer 11:36:39 cefa15bbcfad: Pulling fs layer 11:36:39 17808c966233: Pulling fs layer 11:36:39 f4c1fc716caa: Pulling fs layer 11:36:39 f0e02332f6b5: Waiting 11:36:39 cefa15bbcfad: Waiting 11:36:39 17808c966233: Waiting 11:36:39 f4c1fc716caa: Waiting 11:36:39 5d54e960e981: Verifying Checksum 11:36:39 5d54e960e981: Download complete 11:36:39 f0e02332f6b5: Verifying Checksum 11:36:39 f0e02332f6b5: Download complete 11:36:39 cefa15bbcfad: Verifying Checksum 11:36:39 cefa15bbcfad: Download complete 11:36:39 9fda8d8052c6: Verifying Checksum 11:36:39 9fda8d8052c6: Download complete 11:36:40 f4c1fc716caa: Verifying Checksum 11:36:40 f4c1fc716caa: Download complete 11:36:40 9fda8d8052c6: Pull complete 11:36:41 c4a7e357bf2a: Verifying Checksum 11:36:41 c4a7e357bf2a: Download complete 11:36:42 17808c966233: Verifying Checksum 11:36:42 17808c966233: Download complete 11:36:43 5d54e960e981: Pull complete 11:36:58 c4a7e357bf2a: Pull complete 11:36:58 f0e02332f6b5: Pull complete 11:36:58 cefa15bbcfad: Pull complete 11:37:05 17808c966233: Pull complete 11:37:06 f4c1fc716caa: Pull complete 11:37:06 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 11:37:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 11:37:06 ---> ea914061e18c 11:37:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:37:07 ---> Running in 55016a5638c8 11:37:07 Removing intermediate container 55016a5638c8 11:37:07 ---> e144f3528b61 11:37:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:37:08 ---> Running in 4f726075eeca 11:37:08 Removing intermediate container 4f726075eeca 11:37:08 ---> cdb53dc12636 11:37:08 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:37:08 ---> Running in 07c64f30d4c7 11:37:08 Removing intermediate container 07c64f30d4c7 11:37:08 ---> b6eb84b668af 11:37:08 Step 6/12 : WORKDIR /device-virtual-go 11:37:08 ---> Running in 23ae79e91c47 11:37:08 Removing intermediate container 23ae79e91c47 11:37:08 ---> 8d760565ed58 11:37:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:37:09 ---> Running in 922f83d63a91 11:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:37:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:37:11 (1/4) Installing openssh-keygen (9.3_p2-r0) 11:37:11 (2/4) Installing libedit (20221030.3.1-r1) 11:37:11 (3/4) Installing openssh-client-common (9.3_p2-r0) 11:37:11 (4/4) Installing openssh-client-default (9.3_p2-r0) 11:37:11 Executing busybox-1.36.1-r2.trigger 11:37:11 OK: 270 MiB in 56 packages 11:37:12 Removing intermediate container 922f83d63a91 11:37:12 ---> 8f8b360c7911 11:37:12 Step 8/12 : COPY go.mod vendor* ./ 11:37:13 ---> 0355cebb52a9 11:37:13 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:37:13 ---> Running in f828825b3db3 11:38:49 Removing intermediate container f828825b3db3 11:38:49 ---> 0537c1bc6488 11:38:49 Step 10/12 : COPY . . 11:38:49 ---> aea98c6882ad 11:38:49 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:38:49 ---> Running in cb0343a5248e 11:38:49 Removing intermediate container cb0343a5248e 11:38:49 ---> 82b17d3480d7 11:38:49 Step 12/12 : RUN $MAKE 11:38:49 ---> Running in 1fd49f3eaa64 11:38:49 noop 11:38:49 Removing intermediate container 1fd49f3eaa64 11:38:49 ---> 6dfdf47a382e 11:38:49 Successfully built 6dfdf47a382e 11:38:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:50 + docker inspect -f . ci-base-image-arm64 11:38:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:38:50 prd-ubuntu20.04-docker-arm64-4c-16g-8026 does not seem to be running inside a container 11:38:50 $ 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 11:38:51 $ docker top ac698560398d7d56962f9e8999910f827aec3d4f45f6a4274aa1348af52d029e -eo pid,comm [Pipeline] { [Pipeline] sh 11:38:52 + go version 11:38:52 go version go1.21.0 linux/arm64 [Pipeline] } 11:38:52 $ docker stop --time=1 ac698560398d7d56962f9e8999910f827aec3d4f45f6a4274aa1348af52d029e 11:38:54 $ docker rm -f --volumes ac698560398d7d56962f9e8999910f827aec3d4f45f6a4274aa1348af52d029e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:38:55 + docker inspect -f . ci-base-image-arm64 11:38:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:38:55 prd-ubuntu20.04-docker-arm64-4c-16g-8026 does not seem to be running inside a container 11:38:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/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 11:38:56 $ docker top aaa97279635d4dc2eeae604aad1c521c985da880becd942e5563526ff43fa5ae -eo pid,comm [Pipeline] { [Pipeline] sh 11:38:57 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:38:57 + make test 11:38:57 go test ./... -coverprofile=coverage.out 11:39:03 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:40:39 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:40:39 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.081s coverage: 58.4% of statements 11:40:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:40:39 go vet ./... 11:40:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:40:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:40:58 ./bin/test-attribution-txt.sh [Pipeline] echo 11:40:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:40:58 $ docker stop --time=1 aaa97279635d4dc2eeae604aad1c521c985da880becd942e5563526ff43fa5ae 11:41:00 $ docker rm -f --volumes aaa97279635d4dc2eeae604aad1c521c985da880becd942e5563526ff43fa5ae [Pipeline] // withDockerContainer [Pipeline] sh 11:41:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:41:01 Warning: overwriting stash ‘coverage-report’ 11:41:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:41:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:41:03 + ls -al . 11:41:03 total 200 11:41:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 11:39 . 11:41:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 11:36 .. 11:41:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 11:36 .git 11:41:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:36 .github 11:41:03 -rw-rw-r-- 1 jenkins jenkins 337 Sep 27 11:36 .gitignore 11:41:03 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 11:36 .golangci.yml 11:41:03 -rw-rw-r-- 1 jenkins jenkins 9708 Sep 27 11:36 Attribution.txt 11:41:03 -rw-rw-r-- 1 jenkins jenkins 14372 Sep 27 11:36 CHANGELOG.md 11:41:03 -rw-rw-r-- 1 jenkins jenkins 1646 Sep 27 11:36 Dockerfile 11:41:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 11:36 GOVERNANCE.md 11:41:03 -rw-rw-r-- 1 jenkins jenkins 660 Sep 27 11:36 Jenkinsfile 11:41:03 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 11:36 LICENSE 11:41:03 -rw-rw-r-- 1 jenkins jenkins 1947 Sep 27 11:36 Makefile 11:41:03 -rw-rw-r-- 1 jenkins jenkins 623 Sep 27 11:36 OWNERS.md 11:41:03 -rw-rw-r-- 1 jenkins jenkins 4111 Sep 27 11:36 README.md 11:41:03 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 11:34 VERSION 11:41:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 11:36 bin 11:41:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:36 cmd 11:41:03 -rw-r--r-- 1 jenkins jenkins 43063 Sep 27 11:40 coverage.out 11:41:03 -rw-rw-r-- 1 jenkins jenkins 3637 Sep 27 11:36 go.mod 11:41:03 -rw-rw-r-- 1 jenkins jenkins 35019 Sep 27 11:36 go.sum 11:41:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 11:36 internal 11:41:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 11:36 snap 11:41:03 -rw-rw-r-- 1 jenkins jenkins 235 Sep 27 11:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:03 + 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=a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e --label arch=arm64 --label version=0.0.0 . 11:41:04 Sending build context to Docker daemon 12.01MB 11:41:04 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 11:41:04 Step 2/25 : FROM ${BASE} AS builder 11:41:04 ---> 6dfdf47a382e 11:41:04 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:41:04 ---> Running in 19e7f67e42f3 11:41:04 Removing intermediate container 19e7f67e42f3 11:41:04 ---> 6e74c5338bd3 11:41:04 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:41:04 ---> Running in edee8cc99a00 11:41:05 Removing intermediate container edee8cc99a00 11:41:05 ---> 961d2024b852 11:41:05 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:41:05 ---> Running in 67293b1b1fbb 11:41:06 Removing intermediate container 67293b1b1fbb 11:41:06 ---> 6ce0e067bae5 11:41:06 Step 6/25 : WORKDIR /device-virtual-go 11:41:06 ---> Running in a0400f835d46 11:41:07 Removing intermediate container a0400f835d46 11:41:07 ---> cd01859dec56 11:41:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:41:07 ---> Running in 02d2ea3c9e59 11:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:41:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:41:10 OK: 270 MiB in 56 packages 11:41:12 Removing intermediate container 02d2ea3c9e59 11:41:12 ---> 1c0d3954f319 11:41:12 Step 8/25 : COPY go.mod vendor* ./ 11:41:13 ---> 56fe040a41ed 11:41:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:41:13 ---> Running in 822e5a1b67ed 11:41:17 Removing intermediate container 822e5a1b67ed 11:41:17 ---> ae6791653d9a 11:41:17 Step 10/25 : COPY . . 11:41:18 ---> 0bb6fafea0c6 11:41:18 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:41:18 ---> Running in d9849405d7ae 11:41:18 Removing intermediate container d9849405d7ae 11:41:18 ---> cb9667678b2b 11:41:18 Step 12/25 : RUN $MAKE 11:41:18 ---> Running in 8b3417208319 11:41:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.31" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:42:58 Removing intermediate container 8b3417208319 11:42:58 ---> ece805f0a0d8 11:42:58 Step 13/25 : FROM alpine:3.18 11:42:58 3.18: Pulling from library/alpine 11:42:58 9fda8d8052c6: Already exists 11:42:58 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 11:42:58 Status: Downloaded newer image for alpine:3.18 11:42:58 ---> f6648c04cd6c 11:42:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:42:58 ---> Running in e3b43bbd954b 11:42:58 Removing intermediate container e3b43bbd954b 11:42:58 ---> a81a7e7e9cb0 11:42:58 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:42:58 ---> Running in b28bca9552ab 11:42:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 11:43:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 11:43:01 (1/1) Installing dumb-init (1.2.5-r2) 11:43:01 Executing busybox-1.36.1-r2.trigger 11:43:01 OK: 8 MiB in 16 packages 11:43:03 Removing intermediate container b28bca9552ab 11:43:03 ---> cddf3466720d 11:43:03 Step 16/25 : WORKDIR / 11:43:03 ---> Running in 20bd285cbc91 11:43:03 Removing intermediate container 20bd285cbc91 11:43:03 ---> 817afdc6b8af 11:43:03 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:43:04 ---> 2efbba1b27e7 11:43:04 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:43:04 ---> 5032438e286b 11:43:04 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:43:06 ---> 1eb54d7ca63b 11:43:06 Step 20/25 : EXPOSE 59900 11:43:06 ---> Running in 2b3089c97e3c 11:43:06 Removing intermediate container 2b3089c97e3c 11:43:06 ---> 89dabd4800eb 11:43:06 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:43:06 ---> Running in 981ad4ba3a68 11:43:06 Removing intermediate container 981ad4ba3a68 11:43:06 ---> aa09c727da73 11:43:06 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:43:06 ---> Running in efee3b8387c9 11:43:06 Removing intermediate container efee3b8387c9 11:43:06 ---> d0a83cacab46 11:43:06 Step 23/25 : LABEL arch=arm64 11:43:07 ---> Running in 96cc8539b953 11:43:07 Removing intermediate container 96cc8539b953 11:43:07 ---> fada0129fbcf 11:43:07 Step 24/25 : LABEL git_sha=a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e 11:43:07 ---> Running in fe046333ec2f 11:43:07 Removing intermediate container fe046333ec2f 11:43:07 ---> c97c4fbf6b85 11:43:07 Step 25/25 : LABEL version=0.0.0 11:43:07 ---> Running in 592834cc21d8 11:43:08 Removing intermediate container 592834cc21d8 11:43:08 ---> d662e359d9b1 11:43:08 [Warning] One or more build-args [ARCH] were not consumed 11:43:08 Successfully built d662e359d9b1 11:43:08 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:43:08 11:43:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:43:09 arm64: Pulling from edgex-lftools-log-publisher 11:43:09 8998bd30e6a1: Pulling fs layer 11:43:09 04944245beec: Pulling fs layer 11:43:09 699f458cf7ca: Pulling fs layer 11:43:09 765212b225bb: Pulling fs layer 11:43:09 f23df028b6ca: Pulling fs layer 11:43:09 d65c8cfc05b1: Pulling fs layer 11:43:09 765212b225bb: Waiting 11:43:09 2437ff75d9bd: Pulling fs layer 11:43:09 f23df028b6ca: Waiting 11:43:09 2437ff75d9bd: Waiting 11:43:09 d65c8cfc05b1: Waiting 11:43:09 04944245beec: Verifying Checksum 11:43:09 04944245beec: Download complete 11:43:09 765212b225bb: Verifying Checksum 11:43:09 765212b225bb: Download complete 11:43:09 f23df028b6ca: Verifying Checksum 11:43:09 f23df028b6ca: Download complete 11:43:09 d65c8cfc05b1: Verifying Checksum 11:43:09 d65c8cfc05b1: Download complete 11:43:09 699f458cf7ca: Verifying Checksum 11:43:09 699f458cf7ca: Download complete 11:43:10 8998bd30e6a1: Download complete 11:43:12 2437ff75d9bd: Verifying Checksum 11:43:12 2437ff75d9bd: Download complete 11:43:16 8998bd30e6a1: Pull complete 11:43:16 04944245beec: Pull complete 11:43:18 699f458cf7ca: Pull complete 11:43:18 765212b225bb: Pull complete 11:43:19 f23df028b6ca: Pull complete 11:43:19 d65c8cfc05b1: Pull complete 11:43:34 2437ff75d9bd: Pull complete 11:43:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:43:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:43:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:34 prd-ubuntu20.04-docker-arm64-4c-16g-8026 does not seem to be running inside a container 11:43:34 $ 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 11:43:37 $ docker top c239318815a59cd460dd58bc1f0698cc5a106cb278a5ad309c4f0d6f17f4508d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:43:37 ---> job-cost.sh 11:43:38 lf-activate-venv: SKIPPING 11:43:38 INFO: No Stack... 11:43:38 INFO: Retrieving Pricing Info for: v3-standard-4 11:43:39 INFO: Archiving Costs [Pipeline] sh 11:43:39 + + cutcat -d, /w/workspace/device-virtual-go/1/archives/cost.csv -f6 11:43:39 [Pipeline] lock 11:43:39 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-434-1-stack-cost] 11:43:39 Resource [jenkins-edgexfoundry-device-virtual-go-PR-434-1-stack-cost] did not exist. Created. 11:43:39 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-434-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:43:40 /w/workspace/device-virtual-go/1@tmp/durable-1fa5e76f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:43:41 + echo total: 0.10999999940395355 [Pipeline] stash 11:43:41 Warning: overwriting stash ‘stack-cost’ 11:43:41 Stashed 1 file(s) [Pipeline] } 11:43:41 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-434-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:43:41 $ docker stop --time=1 c239318815a59cd460dd58bc1f0698cc5a106cb278a5ad309c4f0d6f17f4508d 11:43:43 $ docker rm -f --volumes c239318815a59cd460dd58bc1f0698cc5a106cb278a5ad309c4f0d6f17f4508d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:43:44 provisioning config files... 11:43:44 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-434@tmp/config9745824742716451839tmp [Pipeline] { [Pipeline] sh 11:43:45 + set +x 11:43:45 + curl -s https://codecov.io/bash 11:43:45 + bash -s -- 11:43:45 11:43:45 _____ _ 11:43:45 / ____| | | 11:43:45 | | ___ __| | ___ ___ _____ __ 11:43:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:43:45 | |___| (_) | (_| | __/ (_| (_) \ V / 11:43:45 \_____\___/ \__,_|\___|\___\___/ \_/ 11:43:45 Bash-1.0.6 11:43:45 11:43:45 11:43:45 ==> git version 2.25.1 found 11:43:45 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:43:45 Release-Date: 2020-01-08 11:43:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:43:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:43:45 ==> Jenkins CI detected. 11:43:45 current dir:  /w/workspace/foundry_device-virtual-go_PR-434 11:43:45 project root: . 11:43:45 --> token set from env 11:43:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:43:45 ==> Running gcov in . (disable via -X gcov) 11:43:45 ==> Python coveragepy not found 11:43:45 ==> Searching for coverage reports in: 11:43:45 + . 11:43:45 -> Found 1 reports 11:43:45 ==> Detecting git/mercurial file structure 11:43:45 ==> Reading reports 11:43:45 + ./coverage.out bytes=43063 11:43:45 ==> Appending adjustments 11:43:45 https://docs.codecov.io/docs/fixing-reports 11:43:45 + Found adjustments 11:43:45 ==> Gzipping contents 11:43:45 8.0K /tmp/codecov.n9WmOs.gz 11:43:45 ==> Uploading reports 11:43:45 url: https://codecov.io 11:43:45 query: branch=PR-434&commit=a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-434%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=434&job=&cmd_args= 11:43:45 -> Pinging Codecov 11:43:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-434&commit=a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-434%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=434&job=&cmd_args= 11:43:45 -> Uploading to 11:43:45 https://storage.googleapis.com/codecov/v4/raw/2023-09-27/5E52B4B073DB2E39498172D8E973AA87/a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e/6be3b9c9-7d88-42dd-95f2-a67231a1d76c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T114345Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a42a15e752d11f65b36588b652d32d3f7d6e87fc2bcfcb54c3361d2b9993c50 11:43:45 % Total % Received % Xferd Average Speed Time Time Time Current 11:43:45 Dload Upload Total Spent Left Speed 11:43:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 25411 --:--:-- --:--:-- --:--:-- 25287 100 5184 0 0 100 5184 0 20571 --:--:-- --:--:-- --:--:-- 20490 11:43:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/a7d15fe4edbf91dc8c8a0644d66b67d4f9f5780e [Pipeline] } 11:43:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:43:47 + [ -d /w/workspace/foundry_device-virtual-go_PR-434/archives ] 11:43:47 + ls -al /w/workspace/foundry_device-virtual-go_PR-434/archives 11:43:47 total 16 11:43:47 drwxr-xr-x 3 root root 4096 Sep 27 11:36 . 11:43:47 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 11:36 .. 11:43:47 drwxr-xr-x 2 root root 4096 Sep 27 11:36 cost 11:43:47 -rw-r--r-- 1 root root 89 Sep 27 11:36 cost.csv 11:43:47 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-434/archives 11:43:47 + ls -al /w/workspace/foundry_device-virtual-go_PR-434/archives 11:43:47 total 16 11:43:47 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 11:36 . 11:43:47 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 11:36 .. 11:43:47 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 11:36 cost 11:43:47 -rw-r--r-- 1 jenkins jenkins 89 Sep 27 11:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:43:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:43:48 ---> package-listing.sh 11:43:48 ++ tr '[:upper:]' '[:lower:]' 11:43:48 ++ facter osfamily 11:43:48 + OS_FAMILY=debian 11:43:48 + workspace=/w/workspace/foundry_device-virtual-go_PR-434 11:43:48 + START_PACKAGES=/tmp/packages_start.txt 11:43:48 + END_PACKAGES=/tmp/packages_end.txt 11:43:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:43:48 + PACKAGES=/tmp/packages_start.txt 11:43:48 + '[' /w/workspace/foundry_device-virtual-go_PR-434 ']' 11:43:48 + PACKAGES=/tmp/packages_end.txt 11:43:48 + case "${OS_FAMILY}" in 11:43:48 + dpkg -l 11:43:48 + grep '^ii' 11:43:48 + '[' -f /tmp/packages_start.txt ']' 11:43:48 + '[' -f /tmp/packages_end.txt ']' 11:43:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:43:48 + '[' /w/workspace/foundry_device-virtual-go_PR-434 ']' 11:43:48 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-434/archives/ 11:43:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-434/archives/ [Pipeline] echo 11:43:48 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-434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:43:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:43:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:43:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:43:49 prd-ubuntu20.04-docker-8c-8g-8025 does not seem to be running inside a container 11:43:49 $ 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-434/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-434 -v /w/workspace/foundry_device-virtual-go_PR-434:/w/workspace/foundry_device-virtual-go_PR-434:rw,z -v /w/workspace/foundry_device-virtual-go_PR-434@tmp:/w/workspace/foundry_device-virtual-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:43:50 $ docker top b71638a559a42defdef6538f219a0bfca7f0d20575aa54e418b5683c5aa3dae6 -eo pid,comm [Pipeline] { [Pipeline] sh 11:43:50 + touch /tmp/pre-build-complete [Pipeline] sh 11:43:50 + mkdir -p /var/log/sysstat [Pipeline] sh 11:43:51 + ls /var/log/sa-host 11:43:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:43:51 provisioning config files... 11:43:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-434@tmp/config8528999608032193599tmp [Pipeline] { [Pipeline] echo 11:43:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:43:51 ---> create-netrc.sh [Pipeline] } 11:43:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:43:52 ---> python-tools-install.sh [Pipeline] echo 11:43:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:43:52 ---> sudo-logs.sh 11:43:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:43:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:43:52 ---> job-cost.sh 11:43:52 lf-activate-venv: SKIPPING 11:43:52 DEBUG: total: 0.2199999988079071 11:43:52 INFO: Retrieving Stack Cost... 11:43:53 INFO: Retrieving Pricing Info for: v3-standard-8 11:43:53 INFO: Archiving Costs [Pipeline] echo 11:43:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:43:54 ---> logs-deploy.sh 11:43:54 lf-activate-venv: SKIPPING 11:43:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-434/1 11:43:54 INFO: archiving workspace using pattern(s): 11:43:55 Archives upload complete. 11:43:55 INFO: archiving logs to Nexus