Pull request #445 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 038e89b4e44e5f381de3838a9ad88629a5e0e9c2+a4fb408bd6b294fc41552c8711cc9fe432fefed6 (ad5d3719e732c90ce5f665295224ea058b3ed7d2) 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-ssh14535860524041476687.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-ssh4305126888016250761.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-445/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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7115839236252837348.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-445/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh925779964443348779.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-ssh3732611728244044017.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-445/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-445/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13286479792752042331.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-15629’ Running on prd-ubuntu20.04-docker-8c-8g-15634 in /w/workspace/foundry_device-virtual-go_PR-445 [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-445 # 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 Merging remotes/origin/main commit a4fb408bd6b294fc41552c8711cc9fe432fefed6 into PR head commit 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 Merge succeeded, producing 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 Checking out Revision 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 (PR-445) Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" 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 > 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/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 # 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 a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 # timeout=10 [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:36:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:40 ========================================================= 21:36:40 EdgeX Global Pipelines Version Info 21:36:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:41 ------------------- 21:36:41 stable info: 21:36:41 ------------------- 21:36:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:41 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:36:41 Message: update stable to v1.0.254 21:36:41 ------------------- 21:36:41 experimental info: 21:36:41 ------------------- 21:36:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:41 Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 21:36:41 Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-445 [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-445 [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-445 [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 038e89b [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:43 provisioning config files... 21:36:43 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-445@tmp/config1638654261402953374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:43 ---> docker-login.sh 21:36:43 nexus3.edgexfoundry.org:10001 21:36:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:45 Configure a credential helper to remove this warning. See 21:36:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:45 21:36:45 Login Succeeded 21:36:45 nexus3.edgexfoundry.org:10002 21:36:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:45 Configure a credential helper to remove this warning. See 21:36:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:45 21:36:45 Login Succeeded 21:36:45 nexus3.edgexfoundry.org:10003 21:36:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:45 Configure a credential helper to remove this warning. See 21:36:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:45 21:36:45 Login Succeeded 21:36:45 nexus3.edgexfoundry.org:10004 21:36:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:46 Configure a credential helper to remove this warning. See 21:36:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:46 21:36:46 Login Succeeded 21:36:46 docker.io 21:36:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:46 Configure a credential helper to remove this warning. See 21:36:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:46 21:36:46 Login Succeeded 21:36:46 ---> docker-login.sh ends [Pipeline] } 21:36:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:36:47 + git rev-list -1 --merges 038e89b4e44e5f381de3838a9ad88629a5e0e9c2~1..038e89b4e44e5f381de3838a9ad88629a5e0e9c2 [Pipeline] echo 21:36:47 -----------> git rev-list -1 --merges 038e89b4e44e5f381de3838a9ad88629a5e0e9c2~1..038e89b4e44e5f381de3838a9ad88629a5e0e9c2 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 [false] [Pipeline] sh 21:36:47 + git log --format=format:%s -1 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 [Pipeline] echo 21:36:47 ========================================================= 21:36:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:36:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:47 + git log --format=format:%s -1 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 [Pipeline] echo 21:36:48 [semverPrep] GIT_COMMIT: 038e89b4e44e5f381de3838a9ad88629a5e0e9c2, Commit Message: build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6 [Pipeline] echo 21:36:48 [semverPrep] This is not a build commit. [Pipeline] sh 21:36:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:48 + grep -v github /etc/ssh/ssh_known_hosts 21:36:48 + [ -e /tmp/ssh_known_hosts ] 21:36:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:36:48 + sudo tee -a /etc/ssh/ssh_known_hosts 21:36:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:48 21:36:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:49 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:49 b85a868b505f: Pulling fs layer 21:36:49 e2be974225ed: Pulling fs layer 21:36:49 339a4e72a1f5: Pulling fs layer 21:36:49 988bab9f4d93: Pulling fs layer 21:36:49 1469e6f7b9e6: Pulling fs layer 21:36:49 eaf3925da568: Pulling fs layer 21:36:49 bab4dde63d76: Pulling fs layer 21:36:49 bde34c3a00c8: Pulling fs layer 21:36:49 b352a97aabf1: Pulling fs layer 21:36:49 4872d77fe225: Pulling fs layer 21:36:49 5851b861e8e6: Pulling fs layer 21:36:49 bab4dde63d76: Waiting 21:36:49 b352a97aabf1: Waiting 21:36:49 988bab9f4d93: Waiting 21:36:49 eaf3925da568: Waiting 21:36:49 bde34c3a00c8: Waiting 21:36:49 4872d77fe225: Waiting 21:36:49 1469e6f7b9e6: Waiting 21:36:49 5851b861e8e6: Waiting 21:36:49 e2be974225ed: Verifying Checksum 21:36:49 e2be974225ed: Download complete 21:36:49 988bab9f4d93: Verifying Checksum 21:36:49 988bab9f4d93: Download complete 21:36:49 339a4e72a1f5: Verifying Checksum 21:36:49 339a4e72a1f5: Download complete 21:36:49 1469e6f7b9e6: Verifying Checksum 21:36:49 1469e6f7b9e6: Download complete 21:36:49 eaf3925da568: Verifying Checksum 21:36:49 eaf3925da568: Download complete 21:36:49 bde34c3a00c8: Verifying Checksum 21:36:49 bde34c3a00c8: Download complete 21:36:49 b352a97aabf1: Download complete 21:36:49 4872d77fe225: Verifying Checksum 21:36:49 4872d77fe225: Download complete 21:36:49 5851b861e8e6: Download complete 21:36:49 b85a868b505f: Verifying Checksum 21:36:49 b85a868b505f: Download complete 21:36:50 bab4dde63d76: Download complete 21:36:50 b85a868b505f: Pull complete 21:36:50 e2be974225ed: Pull complete 21:36:51 339a4e72a1f5: Pull complete 21:36:51 988bab9f4d93: Pull complete 21:36:51 1469e6f7b9e6: Pull complete 21:36:51 eaf3925da568: Pull complete 21:36:53 bab4dde63d76: Pull complete 21:36:53 bde34c3a00c8: Pull complete 21:36:53 b352a97aabf1: Pull complete 21:36:53 4872d77fe225: Pull complete 21:36:53 5851b861e8e6: Pull complete 21:36:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:36:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:53 prd-ubuntu20.04-docker-8c-8g-15634 does not seem to be running inside a container 21:36:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-445 -v /w/workspace/foundry_device-virtual-go_PR-445:/w/workspace/foundry_device-virtual-go_PR-445:rw,z -v /w/workspace/foundry_device-virtual-go_PR-445@tmp:/w/workspace/foundry_device-virtual-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:36:57 $ docker top 1cbe69ea896d47ee13ba2595a156f92bb98f9355713a4b500a34f2d962a2d6c0 -eo pid,comm 21:36:57 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). 21:36:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:57 [ssh-agent] Looking for ssh-agent implementation... 21:36:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:57 $ docker exec 1cbe69ea896d47ee13ba2595a156f92bb98f9355713a4b500a34f2d962a2d6c0 ssh-agent 21:36:57 SSH_AUTH_SOCK=/tmp/ssh-wVrWdhPqChL9/agent.32 21:36:57 SSH_AGENT_PID=38 21:36:57 Running ssh-add (command line suppressed) 21:36:57 Identity added: /w/workspace/foundry_device-virtual-go_PR-445@tmp/private_key_2757326693592719946.key (/w/workspace/foundry_device-virtual-go_PR-445@tmp/private_key_2757326693592719946.key) 21:36:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:58 + git tag --points-at HEAD [Pipeline] } 21:36:58 $ docker exec --env ******** --env ******** 1cbe69ea896d47ee13ba2595a156f92bb98f9355713a4b500a34f2d962a2d6c0 ssh-agent -k 21:36:58 unset SSH_AUTH_SOCK; 21:36:58 unset SSH_AGENT_PID; 21:36:58 echo Agent pid 38 killed; 21:36:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:36:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:58 [ssh-agent] Looking for ssh-agent implementation... 21:36:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:58 $ docker exec 1cbe69ea896d47ee13ba2595a156f92bb98f9355713a4b500a34f2d962a2d6c0 ssh-agent 21:36:58 SSH_AUTH_SOCK=/tmp/ssh-rjxau02ZBIxP/agent.69 21:36:58 SSH_AGENT_PID=76 21:36:58 Running ssh-add (command line suppressed) 21:36:58 Identity added: /w/workspace/foundry_device-virtual-go_PR-445@tmp/private_key_8514031134010011572.key (/w/workspace/foundry_device-virtual-go_PR-445@tmp/private_key_8514031134010011572.key) 21:36:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:59 + git semver init 21:36:59 2023-10-31 21:36:59,384 [run_init] DEBUG init version:0.0.0 force:False 21:36:59 2023-10-31 21:36:59,385 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-445/.semver 21:36:59 2023-10-31 21:36:59,385 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-445/.semver 21:36:59 2023-10-31 21:36:59,385 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-445/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-445, universal_newlines=False, shell=None, istream=None) 21:37:01 2023-10-31 21:37:01,258 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-445/.git/info/exclude 21:37:01 2023-10-31 21:37:01,259 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-445/.semver/PR-445 with force:False 21:37:01 2023-10-31 21:37:01,259 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-445/.semver/PR-445 21:37:01 2023-10-31 21:37:01,261 [execute] INFO git cat-file --batch-check 21:37:01 2023-10-31 21:37:01,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 21:37:01 2023-10-31 21:37:01,267 [execute] INFO git cat-file --batch 21:37:01 2023-10-31 21:37:01,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-445/.semver, universal_newlines=False, shell=None, istream=) 21:37:01 2023-10-31 21:37:01,272 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-445/.semver/PR-445 21:37:01 0.0.0 [Pipeline] } 21:37:01 $ docker exec --env ******** --env ******** 1cbe69ea896d47ee13ba2595a156f92bb98f9355713a4b500a34f2d962a2d6c0 ssh-agent -k 21:37:01 unset SSH_AUTH_SOCK; 21:37:01 unset SSH_AGENT_PID; 21:37:01 echo Agent pid 76 killed; 21:37:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:37:02 + git semver [Pipeline] } 21:37:02 $ docker stop --time=1 1cbe69ea896d47ee13ba2595a156f92bb98f9355713a4b500a34f2d962a2d6c0 21:37:03 $ docker rm -f --volumes 1cbe69ea896d47ee13ba2595a156f92bb98f9355713a4b500a34f2d962a2d6c0 [Pipeline] // withDockerContainer [Pipeline] sh 21:37:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:37:04 Stashed 1 file(s) [Pipeline] echo 21:37:04 [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 21:37:05 provisioning config files... 21:37:05 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-445@tmp/config9249481804343683192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:05 ---> docker-login.sh 21:37:05 nexus3.edgexfoundry.org:10001 21:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:05 Configure a credential helper to remove this warning. See 21:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:05 21:37:05 Login Succeeded 21:37:05 nexus3.edgexfoundry.org:10002 21:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:05 Configure a credential helper to remove this warning. See 21:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:05 21:37:05 Login Succeeded 21:37:05 nexus3.edgexfoundry.org:10003 21:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:05 Configure a credential helper to remove this warning. See 21:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:05 21:37:05 Login Succeeded 21:37:05 nexus3.edgexfoundry.org:10004 21:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:05 Configure a credential helper to remove this warning. See 21:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:05 21:37:05 Login Succeeded 21:37:05 docker.io 21:37:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:05 Configure a credential helper to remove this warning. See 21:37:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:05 21:37:05 Login Succeeded 21:37:06 ---> docker-login.sh ends [Pipeline] } 21:37:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:37:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:06 ========================================================= 21:37:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:37:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:06 + 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 . 21:37:06 Sending build context to Docker daemon 23.69MB 21:37:06 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:37:06 Step 2/12 : FROM ${BASE} AS builder 21:37:06 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:37:06 7264a8db6415: Pulling fs layer 21:37:06 c4d48a809fc2: Pulling fs layer 21:37:06 4f1c88b9dad5: Pulling fs layer 21:37:06 ad3a456e5733: Pulling fs layer 21:37:06 33e27b845d1e: Pulling fs layer 21:37:06 c68163c4e522: Pulling fs layer 21:37:06 50da416c3ac9: Pulling fs layer 21:37:06 23d2d4c4bb30: Pulling fs layer 21:37:06 ad3a456e5733: Waiting 21:37:06 33e27b845d1e: Waiting 21:37:06 c68163c4e522: Waiting 21:37:06 50da416c3ac9: Waiting 21:37:06 23d2d4c4bb30: Waiting 21:37:07 c4d48a809fc2: Download complete 21:37:07 ad3a456e5733: Verifying Checksum 21:37:07 ad3a456e5733: Download complete 21:37:07 33e27b845d1e: Verifying Checksum 21:37:07 33e27b845d1e: Download complete 21:37:07 7264a8db6415: Verifying Checksum 21:37:07 7264a8db6415: Download complete 21:37:07 c68163c4e522: Verifying Checksum 21:37:07 c68163c4e522: Download complete 21:37:07 7264a8db6415: Pull complete 21:37:07 c4d48a809fc2: Pull complete 21:37:07 23d2d4c4bb30: Download complete 21:37:07 4f1c88b9dad5: Verifying Checksum 21:37:07 4f1c88b9dad5: Download complete 21:37:08 50da416c3ac9: Verifying Checksum 21:37:08 50da416c3ac9: Download complete 21:37:11 4f1c88b9dad5: Pull complete 21:37:11 ad3a456e5733: Pull complete 21:37:11 33e27b845d1e: Pull complete 21:37:11 c68163c4e522: Pull complete 21:37:13 50da416c3ac9: Pull complete 21:37:13 23d2d4c4bb30: Pull complete 21:37:13 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:37:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:37:13 ---> 0786185ac409 21:37:13 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:37:19 Still waiting to schedule task 21:37:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-15630’ 21:37:22 ---> Running in 2861cbb4996a 21:37:22 Removing intermediate container 2861cbb4996a 21:37:22 ---> 48545b86527f 21:37:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:37:22 ---> Running in c7b9ac914890 21:37:22 Removing intermediate container c7b9ac914890 21:37:22 ---> 90b2e288894b 21:37:22 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:37:22 ---> Running in f3ca655bb838 21:37:22 Removing intermediate container f3ca655bb838 21:37:22 ---> d2e12b9e464a 21:37:22 Step 6/12 : WORKDIR /device-virtual-go 21:37:22 ---> Running in 3fadadd5f8e8 21:37:22 Removing intermediate container 3fadadd5f8e8 21:37:22 ---> 1b738e5dc2ac 21:37:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:22 ---> Running in 1253aef7085e 21:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:37:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:37:22 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:37:22 (2/4) Installing libedit (20221030.3.1-r1) 21:37:22 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:37:22 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:37:22 Executing busybox-1.36.1-r2.trigger 21:37:22 OK: 268 MiB in 56 packages 21:37:23 Removing intermediate container 1253aef7085e 21:37:23 ---> f7dfa83ad46c 21:37:23 Step 8/12 : COPY go.mod vendor* ./ 21:37:23 ---> ac97cd14ccd7 21:37:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:23 ---> Running in 3931f4b46888 21:38:02 Removing intermediate container 3931f4b46888 21:38:02 ---> 40a6ee6aa1c0 21:38:02 Step 10/12 : COPY . . 21:38:03 ---> 214cde08e712 21:38:03 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:38:03 ---> Running in 0e0586efd7de 21:38:03 Removing intermediate container 0e0586efd7de 21:38:03 ---> e0b580527a52 21:38:03 Step 12/12 : RUN $MAKE 21:38:03 ---> Running in 900dc61c1d97 21:38:03 noop 21:38:04 Removing intermediate container 900dc61c1d97 21:38:04 ---> 884e90dd52ca 21:38:04 Successfully built 884e90dd52ca 21:38:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:04 + docker inspect -f . ci-base-image-x86_64 21:38:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:04 prd-ubuntu20.04-docker-8c-8g-15634 does not seem to be running inside a container 21:38:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-445 -v /w/workspace/foundry_device-virtual-go_PR-445:/w/workspace/foundry_device-virtual-go_PR-445:rw,z -v /w/workspace/foundry_device-virtual-go_PR-445@tmp:/w/workspace/foundry_device-virtual-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:38:05 $ docker top dc4dbcfb978a62e7831d3d06a4732e13be02ba89d6cb92cad7396fbbe642a9cb -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:05 + go version 21:38:05 go version go1.21.0 linux/amd64 [Pipeline] } 21:38:05 $ docker stop --time=1 dc4dbcfb978a62e7831d3d06a4732e13be02ba89d6cb92cad7396fbbe642a9cb 21:38:06 $ docker rm -f --volumes dc4dbcfb978a62e7831d3d06a4732e13be02ba89d6cb92cad7396fbbe642a9cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:07 + docker inspect -f . ci-base-image-x86_64 21:38:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:07 prd-ubuntu20.04-docker-8c-8g-15634 does not seem to be running inside a container 21:38:07 $ 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-445 -v /w/workspace/foundry_device-virtual-go_PR-445:/w/workspace/foundry_device-virtual-go_PR-445:rw,z -v /w/workspace/foundry_device-virtual-go_PR-445@tmp:/w/workspace/foundry_device-virtual-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:38:08 $ docker top 4472a866eb9f9c21fd722137726123ad6a358eeff16d8a1162474e2e811e8f50 -eo pid,comm [Pipeline] { [Pipeline] sh 21:38:08 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-445 [Pipeline] fileExists [Pipeline] sh 21:38:08 + make test 21:38:08 go test ./... -coverprofile=coverage.out 21:38:10 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:38:20 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:38:20 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.019s coverage: 58.6% of statements 21:38:27 go vet ./... 21:38:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:38:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:38:30 ./bin/test-attribution-txt.sh [Pipeline] echo 21:38:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:38:30 $ docker stop --time=1 4472a866eb9f9c21fd722137726123ad6a358eeff16d8a1162474e2e811e8f50 21:38:34 $ docker rm -f --volumes 4472a866eb9f9c21fd722137726123ad6a358eeff16d8a1162474e2e811e8f50 [Pipeline] // withDockerContainer [Pipeline] sh 21:38:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:38:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:38:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:38:36 + ls -al . 21:38:36 total 200 21:38:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:38 . 21:38:36 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:36 .. 21:38:36 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:38 .git 21:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 .github 21:38:36 -rw-rw-r-- 1 jenkins jenkins 272 Oct 31 21:36 .gitignore 21:38:36 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:36 .golangci.yml 21:38:36 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:37 .semver 21:38:36 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 31 21:36 Attribution.txt 21:38:36 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 31 21:36 CHANGELOG.md 21:38:36 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 31 21:36 Dockerfile 21:38:36 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:36 GOVERNANCE.md 21:38:36 -rw-rw-r-- 1 jenkins jenkins 660 Oct 31 21:36 Jenkinsfile 21:38:36 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:36 LICENSE 21:38:36 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 31 21:36 Makefile 21:38:36 -rw-rw-r-- 1 jenkins jenkins 623 Oct 31 21:36 OWNERS.md 21:38:36 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 31 21:36 README.md 21:38:36 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:37 VERSION 21:38:36 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:36 bin 21:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 cmd 21:38:36 -rw-r--r-- 1 jenkins jenkins 43063 Oct 31 21:38 coverage.out 21:38:36 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 31 21:36 go.mod 21:38:36 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 31 21:36 go.sum 21:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:36 internal 21:38:36 -rw-rw-r-- 1 jenkins jenkins 235 Oct 31 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:36 + 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=038e89b4e44e5f381de3838a9ad88629a5e0e9c2 --label arch=amd64 --label version=0.0.0 . 21:38:36 Sending build context to Docker daemon 23.74MB 21:38:36 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:38:36 Step 2/25 : FROM ${BASE} AS builder 21:38:36 ---> 884e90dd52ca 21:38:36 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:38:37 ---> Running in 8dce30deea46 21:38:37 Removing intermediate container 8dce30deea46 21:38:37 ---> b805aa91395d 21:38:37 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:38:37 ---> Running in 57145a0529bb 21:38:37 Removing intermediate container 57145a0529bb 21:38:37 ---> 7f92ececf711 21:38:37 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:38:37 ---> Running in 97116bfe81fa 21:38:37 Removing intermediate container 97116bfe81fa 21:38:37 ---> 4c2813065126 21:38:37 Step 6/25 : WORKDIR /device-virtual-go 21:38:37 ---> Running in e2b1e2423744 21:38:37 Removing intermediate container e2b1e2423744 21:38:37 ---> 04a4c8bc7793 21:38:37 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:38:37 ---> Running in faec9b9753b2 21:38:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:38:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:38:38 OK: 268 MiB in 56 packages 21:38:38 Removing intermediate container faec9b9753b2 21:38:38 ---> 196fac2497bb 21:38:38 Step 8/25 : COPY go.mod vendor* ./ 21:38:38 ---> c727e70531e7 21:38:38 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:38 ---> Running in 142ea4cc53e9 21:38:39 Removing intermediate container 142ea4cc53e9 21:38:39 ---> fab183257795 21:38:39 Step 10/25 : COPY . . 21:38:40 ---> 8fa5fd464edd 21:38:40 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:38:40 ---> Running in f5f98c813197 21:38:40 Removing intermediate container f5f98c813197 21:38:40 ---> 8041749fccc0 21:38:40 Step 12/25 : RUN $MAKE 21:38:40 ---> Running in 38c3ebcffd9f 21:38:40 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.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:39:07 Removing intermediate container 38c3ebcffd9f 21:39:07 ---> fb5537cc3ba1 21:39:07 Step 13/25 : FROM alpine:3.18 21:39:07 3.18: Pulling from library/alpine 21:39:07 96526aa774ef: Pulling fs layer 21:39:07 96526aa774ef: Verifying Checksum 21:39:07 96526aa774ef: Download complete 21:39:07 96526aa774ef: Pull complete 21:39:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:39:07 Status: Downloaded newer image for alpine:3.18 21:39:07 ---> 8ca4688f4f35 21:39:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:39:07 ---> Running in f2577490e00f 21:39:07 Removing intermediate container f2577490e00f 21:39:07 ---> 1422e9f77f6a 21:39:07 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:39:07 ---> Running in ce8a98b7f8b2 21:39:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:39:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:39:07 (1/1) Installing dumb-init (1.2.5-r2) 21:39:07 Executing busybox-1.36.1-r2.trigger 21:39:07 OK: 7 MiB in 16 packages 21:39:07 Removing intermediate container ce8a98b7f8b2 21:39:07 ---> b25f5a52d742 21:39:07 Step 16/25 : WORKDIR / 21:39:07 ---> Running in e13695f38872 21:39:07 Removing intermediate container e13695f38872 21:39:07 ---> 6360127ff113 21:39:07 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:39:07 ---> 1eb0b2633993 21:39:07 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:39:07 ---> b53e2b0b044c 21:39:07 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:39:07 ---> fd176bcbcc76 21:39:07 Step 20/25 : EXPOSE 59900 21:39:07 ---> Running in d56e1627cbb3 21:39:07 Removing intermediate container d56e1627cbb3 21:39:07 ---> 1c720281a90b 21:39:07 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:39:07 ---> Running in 18d8e2dfcc29 21:39:07 Removing intermediate container 18d8e2dfcc29 21:39:07 ---> e44dfb28c3f0 21:39:07 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:39:07 ---> Running in e995851589b4 21:39:07 Removing intermediate container e995851589b4 21:39:07 ---> 9fe9b7c9030f 21:39:07 Step 23/25 : LABEL arch=amd64 21:39:07 ---> Running in 9fc412d17b32 21:39:07 Removing intermediate container 9fc412d17b32 21:39:07 ---> 9cb056f5d1ef 21:39:07 Step 24/25 : LABEL git_sha=038e89b4e44e5f381de3838a9ad88629a5e0e9c2 21:39:07 ---> Running in 98c877234d47 21:39:08 Removing intermediate container 98c877234d47 21:39:08 ---> c153a7e4a5ce 21:39:08 Step 25/25 : LABEL version=0.0.0 21:39:08 ---> Running in 3d7814b00820 21:39:08 Removing intermediate container 3d7814b00820 21:39:08 ---> 9b137c246941 21:39:08 [Warning] One or more build-args [ARCH] were not consumed 21:39:08 Successfully built 9b137c246941 21:39:08 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 21:39:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:09 21:39:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:09 latest: Pulling from edgex-lftools-log-publisher 21:39:09 5eb5b503b376: Pulling fs layer 21:39:09 5c69ac0246d0: Pulling fs layer 21:39:09 ec43610c2a17: Pulling fs layer 21:39:09 3a2ae6a8a46f: Pulling fs layer 21:39:09 33b1e0a273af: Pulling fs layer 21:39:09 5d3b04190fa2: Pulling fs layer 21:39:09 2f39f015ded8: Pulling fs layer 21:39:09 3a2ae6a8a46f: Waiting 21:39:09 33b1e0a273af: Waiting 21:39:09 5d3b04190fa2: Waiting 21:39:09 2f39f015ded8: Waiting 21:39:09 5c69ac0246d0: Download complete 21:39:09 3a2ae6a8a46f: Verifying Checksum 21:39:09 3a2ae6a8a46f: Download complete 21:39:09 33b1e0a273af: Verifying Checksum 21:39:09 33b1e0a273af: Download complete 21:39:09 5d3b04190fa2: Verifying Checksum 21:39:09 5d3b04190fa2: Download complete 21:39:09 ec43610c2a17: Verifying Checksum 21:39:09 ec43610c2a17: Download complete 21:39:09 5eb5b503b376: Verifying Checksum 21:39:09 5eb5b503b376: Download complete 21:39:10 2f39f015ded8: Download complete 21:39:10 5eb5b503b376: Pull complete 21:39:11 5c69ac0246d0: Pull complete 21:39:11 ec43610c2a17: Pull complete 21:39:11 3a2ae6a8a46f: Pull complete 21:39:11 33b1e0a273af: Pull complete 21:39:11 5d3b04190fa2: Pull complete 21:39:16 2f39f015ded8: Pull complete 21:39:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:39:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:39:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:39:16 prd-ubuntu20.04-docker-8c-8g-15634 does not seem to be running inside a container 21:39:16 $ 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-445 -v /w/workspace/foundry_device-virtual-go_PR-445:/w/workspace/foundry_device-virtual-go_PR-445:rw,z -v /w/workspace/foundry_device-virtual-go_PR-445@tmp:/w/workspace/foundry_device-virtual-go_PR-445@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:39:23 $ docker top d183b2a18c34b5de493761c14d66608198f4da243c1e65b3e60bf4a07e1cd02e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:23 ---> job-cost.sh 21:39:23 lf-activate-venv: SKIPPING 21:39:23 INFO: No Stack... 21:39:24 INFO: Retrieving Pricing Info for: v3-standard-8 21:39:24 INFO: Archiving Costs [Pipeline] sh 21:39:24 + cat /w/workspace/foundry_device-virtual-go_PR-445/archives/cost.csv 21:39:24 + cut -d, -f6 [Pipeline] lock 21:39:24 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-445-1-stack-cost] 21:39:24 Resource [jenkins-edgexfoundry-device-virtual-go-PR-445-1-stack-cost] did not exist. Created. 21:39:24 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:39:25 + echo total: 0.2199999988079071 [Pipeline] stash 21:39:25 Stashed 1 file(s) [Pipeline] } 21:39:25 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:39:25 $ docker stop --time=1 d183b2a18c34b5de493761c14d66608198f4da243c1e65b3e60bf4a07e1cd02e 21:39:26 $ docker rm -f --volumes d183b2a18c34b5de493761c14d66608198f4da243c1e65b3e60bf4a07e1cd02e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:40:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15661 in /w/workspace/foundry_device-virtual-go_PR-445 [Pipeline] { [Pipeline] ws 21:40:49 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 21:40:49 The recommended git tool is: git 21:40:56 using credential edgex-jenkins-ssh 21:40:56 Cloning the remote Git repository 21:40:57 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 21:40:57 > git init /w/workspace/device-virtual-go/1 # timeout=10 21:40:57 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:40:57 > git --version # timeout=10 21:40:57 > git --version # 'git version 2.25.1' 21:40:57 using GIT_SSH to set credentials SSH Credentials for GitHub 21:40:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:41:00 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:41:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:41:02 Merging remotes/origin/main commit a4fb408bd6b294fc41552c8711cc9fe432fefed6 into PR head commit 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 21:41:02 Merge succeeded, producing 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 21:41:02 Checking out Revision 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 (PR-445) 21:41:01 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 21:41:01 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 21:41:01 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/445/head:refs/remotes/origin/PR-445 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:41:02 > git config core.sparsecheckout # timeout=10 21:41:02 > git checkout -f 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 # timeout=10 21:41:02 > git remote # timeout=10 21:41:02 > git config --get remote.origin.url # timeout=10 21:41:02 using GIT_SSH to set credentials SSH Credentials for GitHub 21:41:02 > git merge a4fb408bd6b294fc41552c8711cc9fe432fefed6 # timeout=10 21:41:02 > git rev-parse HEAD^{commit} # timeout=10 21:41:02 > git config core.sparsecheckout # timeout=10 21:41:02 > git checkout -f 038e89b4e44e5f381de3838a9ad88629a5e0e9c2 # timeout=10 21:41:03 Commit message: "build(deps): Bump github.com/nats-io/nkeys from 0.4.5 to 0.4.6" 21:41:03 > git --version # timeout=10 21:41:03 > git --version # 'git version 2.25.1' 21:41:03 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:41:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:41:04 % Total % Received % Xferd Average Speed Time Time Time Current 21:41:04 Dload Upload Total Spent Left Speed 21:41:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh 21:41:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:41:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:41:05 + sudo tee /etc/docker/daemon.new 21:41:05 { 21:41:05 "registry-mirrors": [ 21:41:05 "https://nexus3.edgexfoundry.org:10001" 21:41:05 ], 21:41:05 "bip": "10.250.0.254/24", 21:41:05 "hosts": [ 21:41:05 "tcp://0.0.0.0:5555", 21:41:05 "unix:///var/run/docker.sock" 21:41:05 ], 21:41:05 "mtu": 1458, 21:41:05 "selinux-enabled": true, 21:41:05 "seccomp-profile": "/etc/docker/seccomp.json" 21:41:05 } [Pipeline] sh 21:41:05 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:41:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:41:24 provisioning config files... 21:41:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8967968080393408367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:25 ---> docker-login.sh 21:41:25 nexus3.edgexfoundry.org:10001 21:41:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:26 Configure a credential helper to remove this warning. See 21:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:26 21:41:26 Login Succeeded 21:41:26 nexus3.edgexfoundry.org:10002 21:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:26 Configure a credential helper to remove this warning. See 21:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:26 21:41:26 Login Succeeded 21:41:26 nexus3.edgexfoundry.org:10003 21:41:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:26 Configure a credential helper to remove this warning. See 21:41:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:26 21:41:26 Login Succeeded 21:41:26 nexus3.edgexfoundry.org:10004 21:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:27 Configure a credential helper to remove this warning. See 21:41:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:27 21:41:27 Login Succeeded 21:41:27 docker.io 21:41:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:28 Configure a credential helper to remove this warning. See 21:41:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:28 21:41:28 Login Succeeded 21:41:28 ---> docker-login.sh ends [Pipeline] } 21:41:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:41:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:28 ========================================================= 21:41:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:41:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:29 + 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 . 21:41:29 Sending build context to Docker daemon 11.98MB 21:41:29 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:41:29 Step 2/12 : FROM ${BASE} AS builder 21:41:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:41:30 9fda8d8052c6: Pulling fs layer 21:41:30 5d54e960e981: Pulling fs layer 21:41:30 c4a7e357bf2a: Pulling fs layer 21:41:30 f0e02332f6b5: Pulling fs layer 21:41:30 cefa15bbcfad: Pulling fs layer 21:41:30 17808c966233: Pulling fs layer 21:41:30 f4c1fc716caa: Pulling fs layer 21:41:30 f0e02332f6b5: Waiting 21:41:30 cefa15bbcfad: Waiting 21:41:30 17808c966233: Waiting 21:41:30 f4c1fc716caa: Waiting 21:41:30 5d54e960e981: Verifying Checksum 21:41:30 5d54e960e981: Download complete 21:41:30 f0e02332f6b5: Download complete 21:41:30 cefa15bbcfad: Verifying Checksum 21:41:30 cefa15bbcfad: Download complete 21:41:30 9fda8d8052c6: Verifying Checksum 21:41:30 9fda8d8052c6: Download complete 21:41:30 f4c1fc716caa: Verifying Checksum 21:41:30 f4c1fc716caa: Download complete 21:41:31 9fda8d8052c6: Pull complete 21:41:32 5d54e960e981: Pull complete 21:41:32 c4a7e357bf2a: Verifying Checksum 21:41:32 c4a7e357bf2a: Download complete 21:41:33 17808c966233: Verifying Checksum 21:41:33 17808c966233: Download complete 21:41:46 c4a7e357bf2a: Pull complete 21:41:46 f0e02332f6b5: Pull complete 21:41:46 cefa15bbcfad: Pull complete 21:41:54 17808c966233: Pull complete 21:41:56 f4c1fc716caa: Pull complete 21:41:56 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:41:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:41:56 ---> ea914061e18c 21:41:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:41:57 ---> Running in e8b403676533 21:41:57 Removing intermediate container e8b403676533 21:41:57 ---> 029a35b43931 21:41:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 21:41:57 ---> Running in 52b4db41965b 21:41:57 Removing intermediate container 52b4db41965b 21:41:57 ---> 9ddd078788b6 21:41:57 Step 5/12 : ARG ADD_BUILD_TAGS="" 21:41:57 ---> Running in 39b5ff6458da 21:41:58 Removing intermediate container 39b5ff6458da 21:41:58 ---> f275c5e0195e 21:41:58 Step 6/12 : WORKDIR /device-virtual-go 21:41:58 ---> Running in 176faf74f736 21:41:58 Removing intermediate container 176faf74f736 21:41:58 ---> 5008dd9c566d 21:41:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:41:58 ---> Running in d54252f2d516 21:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:42:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:42:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:42:02 (2/4) Installing libedit (20221030.3.1-r1) 21:42:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:42:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:42:02 Executing busybox-1.36.1-r2.trigger 21:42:02 OK: 270 MiB in 56 packages 21:42:03 Removing intermediate container d54252f2d516 21:42:03 ---> 694ba2ef336a 21:42:03 Step 8/12 : COPY go.mod vendor* ./ 21:42:04 ---> b6aec02d631b 21:42:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:42:04 ---> Running in 6e0f45246383 21:43:26 Removing intermediate container 6e0f45246383 21:43:26 ---> 87b1370e7c2a 21:43:26 Step 10/12 : COPY . . 21:43:26 ---> 29f2f5422b20 21:43:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:43:26 ---> Running in bff368e197ba 21:43:26 Removing intermediate container bff368e197ba 21:43:26 ---> b9e321d06eba 21:43:26 Step 12/12 : RUN $MAKE 21:43:26 ---> Running in 4c2731e272eb 21:43:26 noop 21:43:26 Removing intermediate container 4c2731e272eb 21:43:26 ---> 927d2b284302 21:43:26 Successfully built 927d2b284302 21:43:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:26 + docker inspect -f . ci-base-image-arm64 21:43:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:27 prd-ubuntu20.04-docker-arm64-4c-16g-15661 does not seem to be running inside a container 21:43:27 $ 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 21:43:31 $ docker top f58ae5fb3f59c80344d771c84b23aa146b9c0be032043ecc0f578595bf81deb6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:32 + go version 21:43:32 go version go1.21.0 linux/arm64 [Pipeline] } 21:43:32 $ docker stop --time=1 f58ae5fb3f59c80344d771c84b23aa146b9c0be032043ecc0f578595bf81deb6 21:43:34 $ docker rm -f --volumes f58ae5fb3f59c80344d771c84b23aa146b9c0be032043ecc0f578595bf81deb6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:43:35 + docker inspect -f . ci-base-image-arm64 21:43:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:43:35 prd-ubuntu20.04-docker-arm64-4c-16g-15661 does not seem to be running inside a container 21:43:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:43:37 $ docker top 47b9b8e6243dfa9d519a6056f95970419c00ca0e1966e0aa4be5db552242ea10 -eo pid,comm [Pipeline] { [Pipeline] sh 21:43:38 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 21:43:38 + make test 21:43:38 go test ./... -coverprofile=coverage.out 21:43:44 ? github.com/edgexfoundry/device-virtual-go [no test files] 21:46:06 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 21:46:06 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.084s coverage: 58.4% of statements 21:46:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:46:06 go vet ./... 21:46:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:46:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:46:45 ./bin/test-attribution-txt.sh [Pipeline] echo 21:46:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:46:45 $ docker stop --time=1 47b9b8e6243dfa9d519a6056f95970419c00ca0e1966e0aa4be5db552242ea10 21:46:47 $ docker rm -f --volumes 47b9b8e6243dfa9d519a6056f95970419c00ca0e1966e0aa4be5db552242ea10 [Pipeline] // withDockerContainer [Pipeline] sh 21:46:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:46:48 Warning: overwriting stash ‘coverage-report’ 21:46:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:46:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:46:50 + ls -al . 21:46:50 total 196 21:46:50 drwxrwxr-x 7 jenkins jenkins 4096 Oct 31 21:43 . 21:46:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 31 21:40 .. 21:46:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 31 21:41 .git 21:46:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:41 .github 21:46:50 -rw-rw-r-- 1 jenkins jenkins 272 Oct 31 21:41 .gitignore 21:46:50 -rw-rw-r-- 1 jenkins jenkins 41 Oct 31 21:41 .golangci.yml 21:46:50 -rw-rw-r-- 1 jenkins jenkins 9708 Oct 31 21:41 Attribution.txt 21:46:50 -rw-rw-r-- 1 jenkins jenkins 14372 Oct 31 21:41 CHANGELOG.md 21:46:50 -rw-rw-r-- 1 jenkins jenkins 1646 Oct 31 21:41 Dockerfile 21:46:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 31 21:41 GOVERNANCE.md 21:46:50 -rw-rw-r-- 1 jenkins jenkins 660 Oct 31 21:41 Jenkinsfile 21:46:50 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 31 21:41 LICENSE 21:46:50 -rw-rw-r-- 1 jenkins jenkins 1947 Oct 31 21:41 Makefile 21:46:50 -rw-rw-r-- 1 jenkins jenkins 623 Oct 31 21:41 OWNERS.md 21:46:50 -rw-rw-r-- 1 jenkins jenkins 4103 Oct 31 21:41 README.md 21:46:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 31 21:37 VERSION 21:46:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 31 21:41 bin 21:46:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:41 cmd 21:46:50 -rw-r--r-- 1 jenkins jenkins 43063 Oct 31 21:46 coverage.out 21:46:50 -rw-rw-r-- 1 jenkins jenkins 3638 Oct 31 21:41 go.mod 21:46:50 -rw-rw-r-- 1 jenkins jenkins 34490 Oct 31 21:41 go.sum 21:46:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 31 21:41 internal 21:46:50 -rw-rw-r-- 1 jenkins jenkins 235 Oct 31 21:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:50 + 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=038e89b4e44e5f381de3838a9ad88629a5e0e9c2 --label arch=arm64 --label version=0.0.0 . 21:46:51 Sending build context to Docker daemon 12.02MB 21:46:51 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:46:51 Step 2/25 : FROM ${BASE} AS builder 21:46:51 ---> 927d2b284302 21:46:51 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:46:51 ---> Running in ea76e8a1311c 21:46:52 Removing intermediate container ea76e8a1311c 21:46:52 ---> 9a4d8e433d85 21:46:52 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 21:46:52 ---> Running in 3fad34dc448b 21:46:52 Removing intermediate container 3fad34dc448b 21:46:52 ---> 77ad05681cb8 21:46:52 Step 5/25 : ARG ADD_BUILD_TAGS="" 21:46:52 ---> Running in bdf750c08b57 21:46:52 Removing intermediate container bdf750c08b57 21:46:52 ---> fa843ccaf44b 21:46:52 Step 6/25 : WORKDIR /device-virtual-go 21:46:52 ---> Running in 0af0f19b9ddd 21:46:53 Removing intermediate container 0af0f19b9ddd 21:46:53 ---> 3a723bf0c4b3 21:46:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:46:53 ---> Running in b2e44cb4b180 21:46:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:46:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:46:56 OK: 270 MiB in 56 packages 21:46:58 Removing intermediate container b2e44cb4b180 21:46:58 ---> 67cfe58c592e 21:46:58 Step 8/25 : COPY go.mod vendor* ./ 21:46:59 ---> d168ee3515db 21:46:59 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:46:59 ---> Running in 3ed5064b4024 21:47:02 Removing intermediate container 3ed5064b4024 21:47:02 ---> e3ffbcf3af15 21:47:02 Step 10/25 : COPY . . 21:47:03 ---> 46a374ba4f78 21:47:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:47:03 ---> Running in 0ae8de6f3186 21:47:03 Removing intermediate container 0ae8de6f3186 21:47:03 ---> 361c51ec051a 21:47:03 Step 12/25 : RUN $MAKE 21:47:04 ---> Running in 65f70b86c86c 21:47:05 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.37" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 21:49:26 Removing intermediate container 65f70b86c86c 21:49:26 ---> 8aabad8afc04 21:49:26 Step 13/25 : FROM alpine:3.18 21:49:26 3.18: Pulling from library/alpine 21:49:26 579b34f0a95b: Pulling fs layer 21:49:26 579b34f0a95b: Verifying Checksum 21:49:26 579b34f0a95b: Download complete 21:49:26 579b34f0a95b: Pull complete 21:49:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 21:49:26 Status: Downloaded newer image for alpine:3.18 21:49:26 ---> 3cc203321400 21:49:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 21:49:26 ---> Running in 8e56bab776fe 21:49:26 Removing intermediate container 8e56bab776fe 21:49:26 ---> 0c8f5f0e5430 21:49:26 Step 15/25 : RUN apk add --update --no-cache dumb-init 21:49:26 ---> Running in 22a36d075802 21:49:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:49:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:49:29 (1/1) Installing dumb-init (1.2.5-r2) 21:49:29 Executing busybox-1.36.1-r2.trigger 21:49:29 OK: 8 MiB in 16 packages 21:49:30 Removing intermediate container 22a36d075802 21:49:30 ---> 976645a25d3f 21:49:30 Step 16/25 : WORKDIR / 21:49:30 ---> Running in fa1f51b4a89e 21:49:31 Removing intermediate container fa1f51b4a89e 21:49:31 ---> 2075ddd35678 21:49:31 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 21:49:31 ---> 19bc7fa8e7fb 21:49:31 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 21:49:32 ---> d31c7b42c8a7 21:49:32 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 21:49:34 ---> 5ff0d01ab64d 21:49:34 Step 20/25 : EXPOSE 59900 21:49:34 ---> Running in 50b8a5d3d407 21:49:34 Removing intermediate container 50b8a5d3d407 21:49:34 ---> a99ad1bcd6d4 21:49:34 Step 21/25 : ENTRYPOINT ["/device-virtual"] 21:49:34 ---> Running in 327886500eaf 21:49:34 Removing intermediate container 327886500eaf 21:49:34 ---> e17227447786 21:49:34 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 21:49:34 ---> Running in d61d10217724 21:49:35 Removing intermediate container d61d10217724 21:49:35 ---> 213b5b63c5a5 21:49:35 Step 23/25 : LABEL arch=arm64 21:49:35 ---> Running in c3ed29bd5ea3 21:49:35 Removing intermediate container c3ed29bd5ea3 21:49:35 ---> 28782fcd5aba 21:49:35 Step 24/25 : LABEL git_sha=038e89b4e44e5f381de3838a9ad88629a5e0e9c2 21:49:35 ---> Running in 391c3ca997dd 21:49:36 Removing intermediate container 391c3ca997dd 21:49:36 ---> d030a3e65b46 21:49:36 Step 25/25 : LABEL version=0.0.0 21:49:36 ---> Running in 7c5da85e7324 21:49:36 Removing intermediate container 7c5da85e7324 21:49:36 ---> 18166c30080f 21:49:36 [Warning] One or more build-args [ARCH] were not consumed 21:49:36 Successfully built 18166c30080f 21:49:36 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 21:49:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:37 21:49:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:49:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:49:38 arm64: Pulling from edgex-lftools-log-publisher 21:49:38 8998bd30e6a1: Pulling fs layer 21:49:38 04944245beec: Pulling fs layer 21:49:38 699f458cf7ca: Pulling fs layer 21:49:38 765212b225bb: Pulling fs layer 21:49:38 f23df028b6ca: Pulling fs layer 21:49:38 d65c8cfc05b1: Pulling fs layer 21:49:38 2437ff75d9bd: Pulling fs layer 21:49:38 765212b225bb: Waiting 21:49:38 f23df028b6ca: Waiting 21:49:38 d65c8cfc05b1: Waiting 21:49:38 2437ff75d9bd: Waiting 21:49:38 04944245beec: Verifying Checksum 21:49:38 04944245beec: Download complete 21:49:38 765212b225bb: Verifying Checksum 21:49:38 765212b225bb: Download complete 21:49:38 f23df028b6ca: Verifying Checksum 21:49:38 f23df028b6ca: Download complete 21:49:38 d65c8cfc05b1: Verifying Checksum 21:49:38 d65c8cfc05b1: Download complete 21:49:38 699f458cf7ca: Verifying Checksum 21:49:38 699f458cf7ca: Download complete 21:49:39 8998bd30e6a1: Verifying Checksum 21:49:39 8998bd30e6a1: Download complete 21:49:41 2437ff75d9bd: Verifying Checksum 21:49:41 2437ff75d9bd: Download complete 21:49:44 8998bd30e6a1: Pull complete 21:49:44 04944245beec: Pull complete 21:49:46 699f458cf7ca: Pull complete 21:49:46 765212b225bb: Pull complete 21:49:47 f23df028b6ca: Pull complete 21:49:47 d65c8cfc05b1: Pull complete 21:50:05 2437ff75d9bd: Pull complete 21:50:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:50:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:50:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:06 prd-ubuntu20.04-docker-arm64-4c-16g-15661 does not seem to be running inside a container 21:50:06 $ 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 21:50:09 $ docker top 4c33feff74de9c705e40741fa1410292263009e434460a21e4ca4a844d274e49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:50:10 ---> job-cost.sh 21:50:10 lf-activate-venv: SKIPPING 21:50:10 INFO: No Stack... 21:50:10 INFO: Retrieving Pricing Info for: v3-standard-4 21:50:11 INFO: Archiving Costs [Pipeline] sh 21:50:12 + cut -d, -f6 21:50:12 + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 21:50:12 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-445-1-stack-cost] 21:50:12 Resource [jenkins-edgexfoundry-device-virtual-go-PR-445-1-stack-cost] did not exist. Created. 21:50:12 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-445-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:50:13 /w/workspace/device-virtual-go/1@tmp/durable-74e8edb4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:50:13 + echo total: 0.10999999940395355 [Pipeline] stash 21:50:13 Warning: overwriting stash ‘stack-cost’ 21:50:13 Stashed 1 file(s) [Pipeline] } 21:50:13 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-445-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:50:14 $ docker stop --time=1 4c33feff74de9c705e40741fa1410292263009e434460a21e4ca4a844d274e49 21:50:15 $ docker rm -f --volumes 4c33feff74de9c705e40741fa1410292263009e434460a21e4ca4a844d274e49 [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 21:50:16 provisioning config files... 21:50:16 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-445@tmp/config3621338214475715635tmp [Pipeline] { [Pipeline] sh 21:50:17 + set +x 21:50:17 + curl -s https://codecov.io/bash 21:50:17 + bash -s -- 21:50:17 21:50:17 _____ _ 21:50:17 / ____| | | 21:50:17 | | ___ __| | ___ ___ _____ __ 21:50:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:50:17 | |___| (_) | (_| | __/ (_| (_) \ V / 21:50:17 \_____\___/ \__,_|\___|\___\___/ \_/ 21:50:17 Bash-1.0.6 21:50:17 21:50:17 21:50:17 ==> git version 2.25.1 found 21:50:17 ==> 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 21:50:17 Release-Date: 2020-01-08 21:50:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:50:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:50:17 ==> Jenkins CI detected. 21:50:17 current dir:  /w/workspace/foundry_device-virtual-go_PR-445 21:50:17 project root: . 21:50:17 --> token set from env 21:50:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:50:17 ==> Running gcov in . (disable via -X gcov) 21:50:17 ==> Python coveragepy not found 21:50:17 ==> Searching for coverage reports in: 21:50:17 + . 21:50:17 -> Found 1 reports 21:50:17 ==> Detecting git/mercurial file structure 21:50:17 ==> Reading reports 21:50:17 + ./coverage.out bytes=43063 21:50:17 ==> Appending adjustments 21:50:17 https://docs.codecov.io/docs/fixing-reports 21:50:17 + Found adjustments 21:50:17 ==> Gzipping contents 21:50:17 8.0K /tmp/codecov.fMIT3h.gz 21:50:17 ==> Uploading reports 21:50:17 url: https://codecov.io 21:50:17 query: branch=PR-445&commit=038e89b4e44e5f381de3838a9ad88629a5e0e9c2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=445&job=&cmd_args= 21:50:17 -> Pinging Codecov 21:50:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-445&commit=038e89b4e44e5f381de3838a9ad88629a5e0e9c2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-445%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=445&job=&cmd_args= 21:50:17 -> Uploading to 21:50:17 https://storage.googleapis.com/codecov/v4/raw/2023-10-31/5E52B4B073DB2E39498172D8E973AA87/038e89b4e44e5f381de3838a9ad88629a5e0e9c2/061f903c-1522-43c1-bcc1-6ab462683d5a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231031%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231031T215017Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16e9ccfba8e575bde458040d35ad455081133c74d1ceab6bf437880f293d901c 21:50:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:50:17 Dload Upload Total Spent Left Speed 21:50:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4998 0 0 100 4998 0 20652 --:--:-- --:--:-- --:--:-- 20652 21:50:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/038e89b4e44e5f381de3838a9ad88629a5e0e9c2 [Pipeline] } 21:50:17 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 21:50:19 + [ -d /w/workspace/foundry_device-virtual-go_PR-445/archives ] 21:50:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-445/archives 21:50:19 total 16 21:50:19 drwxr-xr-x 3 root root 4096 Oct 31 21:39 . 21:50:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:39 .. 21:50:19 drwxr-xr-x 2 root root 4096 Oct 31 21:39 cost 21:50:19 -rw-r--r-- 1 root root 89 Oct 31 21:39 cost.csv 21:50:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-445/archives 21:50:19 + ls -al /w/workspace/foundry_device-virtual-go_PR-445/archives 21:50:19 total 16 21:50:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 31 21:39 . 21:50:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 31 21:39 .. 21:50:19 drwxr-xr-x 2 jenkins jenkins 4096 Oct 31 21:39 cost 21:50:19 -rw-r--r-- 1 jenkins jenkins 89 Oct 31 21:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:50:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:50:20 ---> package-listing.sh 21:50:20 ++ facter osfamily 21:50:20 ++ tr '[:upper:]' '[:lower:]' 21:50:21 + OS_FAMILY=debian 21:50:21 + workspace=/w/workspace/foundry_device-virtual-go_PR-445 21:50:21 + START_PACKAGES=/tmp/packages_start.txt 21:50:21 + END_PACKAGES=/tmp/packages_end.txt 21:50:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:50:21 + PACKAGES=/tmp/packages_start.txt 21:50:21 + '[' /w/workspace/foundry_device-virtual-go_PR-445 ']' 21:50:21 + PACKAGES=/tmp/packages_end.txt 21:50:21 + case "${OS_FAMILY}" in 21:50:21 + dpkg -l 21:50:21 + grep '^ii' 21:50:21 + '[' -f /tmp/packages_start.txt ']' 21:50:21 + '[' -f /tmp/packages_end.txt ']' 21:50:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:50:21 + '[' /w/workspace/foundry_device-virtual-go_PR-445 ']' 21:50:21 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-445/archives/ 21:50:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-445/archives/ [Pipeline] echo 21:50:21 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-445/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:50:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:50:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:50:22 prd-ubuntu20.04-docker-8c-8g-15634 does not seem to be running inside a container 21:50:22 $ 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-445/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-445 -v /w/workspace/foundry_device-virtual-go_PR-445:/w/workspace/foundry_device-virtual-go_PR-445:rw,z -v /w/workspace/foundry_device-virtual-go_PR-445@tmp:/w/workspace/foundry_device-virtual-go_PR-445@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 21:50:22 $ docker top d591314cec482ae169e88385630418f31d843c44b7fe265ff62b61523e4888e9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:50:22 + touch /tmp/pre-build-complete [Pipeline] sh 21:50:23 + mkdir -p /var/log/sysstat [Pipeline] sh 21:50:24 + ls /var/log/sa-host 21:50:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:50:25 provisioning config files... 21:50:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-445@tmp/config12754224470663042724tmp [Pipeline] { [Pipeline] echo 21:50:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:50:25 ---> create-netrc.sh [Pipeline] } 21:50:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:50:25 ---> python-tools-install.sh [Pipeline] echo 21:50:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:50:26 ---> sudo-logs.sh 21:50:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:50:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:50:26 ---> job-cost.sh 21:50:26 lf-activate-venv: SKIPPING 21:50:26 DEBUG: total: 0.2199999988079071 21:50:26 INFO: Retrieving Stack Cost... 21:50:26 INFO: Retrieving Pricing Info for: v3-standard-8 21:50:27 INFO: Archiving Costs [Pipeline] echo 21:50:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:50:27 ---> logs-deploy.sh 21:50:27 lf-activate-venv: SKIPPING 21:50:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-445/1 21:50:27 INFO: archiving workspace using pattern(s): 21:50:28 Archives upload complete. 21:50:28 INFO: archiving logs to Nexus