Pull request #416 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 09faa117c8254007babb991fd9012251a5e15fa1+8bac9b22eb31fd3371358eef67a168645ee27d12 (9b5731f73ec41a2662debaf6209a787dd794e023) 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-ssh5631185041401909943.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh9868292445059175989.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-416/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-416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16329466123249888143.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-416/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16671291645248525177.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh16921222843712103151.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-416/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-416/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9098886759172543127.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1655 in /w/workspace/foundry_device-virtual-go_PR-416 [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-416 # 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 8bac9b22eb31fd3371358eef67a168645ee27d12 into PR head commit 09faa117c8254007babb991fd9012251a5e15fa1 Merge succeeded, producing 09faa117c8254007babb991fd9012251a5e15fa1 Checking out Revision 09faa117c8254007babb991fd9012251a5e15fa1 (PR-416) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 > 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/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09faa117c8254007babb991fd9012251a5e15fa1 # 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 8bac9b22eb31fd3371358eef67a168645ee27d12 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 09faa117c8254007babb991fd9012251a5e15fa1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:31:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:31:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:31:59 ========================================================= 11:31:59 EdgeX Global Pipelines Version Info 11:31:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:32:00 ------------------- 11:32:00 stable info: 11:32:00 ------------------- 11:32:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:32:00 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 11:32:00 Message: update stable to v1.0.250 11:32:00 ------------------- 11:32:00 experimental info: 11:32:00 ------------------- 11:32:00 Commited By: **** collab-it+edgex@linuxfoundation.org 11:32:00 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 11:32:00 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:32:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-416 [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-416 [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-416 [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09faa117c8254007babb991fd9012251a5e15fa1 [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09faa11 [Pipeline] echo 11:32:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:32:02 provisioning config files... 11:32:02 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-416@tmp/config9805619966771753736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:32:03 ---> docker-login.sh 11:32:03 nexus3.edgexfoundry.org:10001 11:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:03 Configure a credential helper to remove this warning. See 11:32:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:03 11:32:03 Login Succeeded 11:32:03 nexus3.edgexfoundry.org:10002 11:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:03 Configure a credential helper to remove this warning. See 11:32:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:03 11:32:03 Login Succeeded 11:32:03 nexus3.edgexfoundry.org:10003 11:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:03 Configure a credential helper to remove this warning. See 11:32:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:03 11:32:03 Login Succeeded 11:32:03 nexus3.edgexfoundry.org:10004 11:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:03 Configure a credential helper to remove this warning. See 11:32:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:03 11:32:03 Login Succeeded 11:32:03 docker.io 11:32:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:04 Configure a credential helper to remove this warning. See 11:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:04 11:32:04 Login Succeeded 11:32:04 ---> docker-login.sh ends [Pipeline] } 11:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:32:04 + git rev-list -1 --merges 09faa117c8254007babb991fd9012251a5e15fa1~1..09faa117c8254007babb991fd9012251a5e15fa1 [Pipeline] echo 11:32:04 -----------> git rev-list -1 --merges 09faa117c8254007babb991fd9012251a5e15fa1~1..09faa117c8254007babb991fd9012251a5e15fa1 09faa117c8254007babb991fd9012251a5e15fa1 [false] [Pipeline] sh 11:32:05 + git log --format=format:%s -1 09faa117c8254007babb991fd9012251a5e15fa1 [Pipeline] echo 11:32:05 ========================================================= 11:32:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:32:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:32:05 + git log --format=format:%s -1 09faa117c8254007babb991fd9012251a5e15fa1 [Pipeline] echo 11:32:05 [semverPrep] GIT_COMMIT: 09faa117c8254007babb991fd9012251a5e15fa1, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 11:32:05 [semverPrep] This is not a build commit. [Pipeline] sh 11:32:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:32:06 + grep -v github /etc/ssh/ssh_known_hosts 11:32:06 + [ -e /tmp/ssh_known_hosts ] 11:32:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:32:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:32:06 + sudo tee -a /etc/ssh/ssh_known_hosts 11:32:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:06 11:32:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:07 0.1.4: Pulling from edgex-devops/py-git-semver 11:32:07 b85a868b505f: Pulling fs layer 11:32:07 e2be974225ed: Pulling fs layer 11:32:07 339a4e72a1f5: Pulling fs layer 11:32:07 988bab9f4d93: Pulling fs layer 11:32:07 1469e6f7b9e6: Pulling fs layer 11:32:07 eaf3925da568: Pulling fs layer 11:32:07 bab4dde63d76: Pulling fs layer 11:32:07 bde34c3a00c8: Pulling fs layer 11:32:07 b352a97aabf1: Pulling fs layer 11:32:07 4872d77fe225: Pulling fs layer 11:32:07 5851b861e8e6: Pulling fs layer 11:32:07 1469e6f7b9e6: Waiting 11:32:07 b352a97aabf1: Waiting 11:32:07 4872d77fe225: Waiting 11:32:07 5851b861e8e6: Waiting 11:32:07 eaf3925da568: Waiting 11:32:07 bde34c3a00c8: Waiting 11:32:07 bab4dde63d76: Waiting 11:32:07 988bab9f4d93: Waiting 11:32:07 e2be974225ed: Verifying Checksum 11:32:07 e2be974225ed: Download complete 11:32:07 988bab9f4d93: Verifying Checksum 11:32:07 988bab9f4d93: Download complete 11:32:07 1469e6f7b9e6: Verifying Checksum 11:32:07 1469e6f7b9e6: Download complete 11:32:07 eaf3925da568: Download complete 11:32:07 339a4e72a1f5: Verifying Checksum 11:32:07 339a4e72a1f5: Download complete 11:32:07 bde34c3a00c8: Verifying Checksum 11:32:07 bde34c3a00c8: Download complete 11:32:07 b352a97aabf1: Verifying Checksum 11:32:07 b352a97aabf1: Download complete 11:32:07 4872d77fe225: Verifying Checksum 11:32:07 4872d77fe225: Download complete 11:32:07 5851b861e8e6: Download complete 11:32:07 b85a868b505f: Verifying Checksum 11:32:07 b85a868b505f: Download complete 11:32:07 bab4dde63d76: Verifying Checksum 11:32:07 bab4dde63d76: Download complete 11:32:08 b85a868b505f: Pull complete 11:32:08 e2be974225ed: Pull complete 11:32:09 339a4e72a1f5: Pull complete 11:32:09 988bab9f4d93: Pull complete 11:32:09 1469e6f7b9e6: Pull complete 11:32:09 eaf3925da568: Pull complete 11:32:11 bab4dde63d76: Pull complete 11:32:11 bde34c3a00c8: Pull complete 11:32:11 b352a97aabf1: Pull complete 11:32:11 4872d77fe225: Pull complete 11:32:11 5851b861e8e6: Pull complete 11:32:11 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:32:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:32:12 prd-ubuntu20.04-docker-8c-8g-1655 does not seem to be running inside a container 11:32:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-416 -v /w/workspace/foundry_device-virtual-go_PR-416:/w/workspace/foundry_device-virtual-go_PR-416:rw,z -v /w/workspace/foundry_device-virtual-go_PR-416@tmp:/w/workspace/foundry_device-virtual-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 11:32:16 $ docker top 45ee9fafe884392c0925818089318699372a56def22039dc5e0504fcc49eca35 -eo pid,comm 11:32:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:32:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:32:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:32:17 [ssh-agent] Looking for ssh-agent implementation... 11:32:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:32:17 $ docker exec 45ee9fafe884392c0925818089318699372a56def22039dc5e0504fcc49eca35 ssh-agent 11:32:17 SSH_AUTH_SOCK=/tmp/ssh-Ap2nAVXt3qNT/agent.31 11:32:17 SSH_AGENT_PID=37 11:32:17 Running ssh-add (command line suppressed) 11:32:17 Identity added: /w/workspace/foundry_device-virtual-go_PR-416@tmp/private_key_5180666231430240086.key (/w/workspace/foundry_device-virtual-go_PR-416@tmp/private_key_5180666231430240086.key) 11:32:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:32:17 + git tag --points-at HEAD [Pipeline] } 11:32:17 $ docker exec --env ******** --env ******** 45ee9fafe884392c0925818089318699372a56def22039dc5e0504fcc49eca35 ssh-agent -k 11:32:17 unset SSH_AUTH_SOCK; 11:32:17 unset SSH_AGENT_PID; 11:32:17 echo Agent pid 37 killed; 11:32:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:32:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:32:18 [ssh-agent] Looking for ssh-agent implementation... 11:32:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:32:18 $ docker exec 45ee9fafe884392c0925818089318699372a56def22039dc5e0504fcc49eca35 ssh-agent 11:32:18 SSH_AUTH_SOCK=/tmp/ssh-uVgyHVUibn0F/agent.69 11:32:18 SSH_AGENT_PID=75 11:32:18 Running ssh-add (command line suppressed) 11:32:18 Identity added: /w/workspace/foundry_device-virtual-go_PR-416@tmp/private_key_7373218550258422815.key (/w/workspace/foundry_device-virtual-go_PR-416@tmp/private_key_7373218550258422815.key) 11:32:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:32:18 + git semver init 11:32:19 2023-07-20 11:32:18,993 [run_init] DEBUG init version:0.0.0 force:False 11:32:19 2023-07-20 11:32:18,994 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-416/.semver 11:32:19 2023-07-20 11:32:18,995 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-416/.semver 11:32:19 2023-07-20 11:32:18,995 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-416/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-416, universal_newlines=False, shell=None, istream=None) 11:32:20 2023-07-20 11:32:20,045 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-416/.git/info/exclude 11:32:20 2023-07-20 11:32:20,046 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-416/.semver/PR-416 with force:False 11:32:20 2023-07-20 11:32:20,046 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-416/.semver/PR-416 11:32:20 2023-07-20 11:32:20,049 [execute] INFO git cat-file --batch-check 11:32:20 2023-07-20 11:32:20,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-416/.semver, universal_newlines=False, shell=None, istream=) 11:32:20 2023-07-20 11:32:20,054 [execute] INFO git cat-file --batch 11:32:20 2023-07-20 11:32:20,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-416/.semver, universal_newlines=False, shell=None, istream=) 11:32:20 2023-07-20 11:32:20,060 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-416/.semver/PR-416 11:32:20 0.0.0 [Pipeline] } 11:32:20 $ docker exec --env ******** --env ******** 45ee9fafe884392c0925818089318699372a56def22039dc5e0504fcc49eca35 ssh-agent -k 11:32:20 unset SSH_AUTH_SOCK; 11:32:20 unset SSH_AGENT_PID; 11:32:20 echo Agent pid 75 killed; 11:32:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:32:21 + git semver [Pipeline] } 11:32:21 $ docker stop --time=1 45ee9fafe884392c0925818089318699372a56def22039dc5e0504fcc49eca35 11:32:22 $ docker rm -f --volumes 45ee9fafe884392c0925818089318699372a56def22039dc5e0504fcc49eca35 [Pipeline] // withDockerContainer [Pipeline] sh 11:32:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:32:23 Stashed 1 file(s) [Pipeline] echo 11:32:23 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:32:23 provisioning config files... 11:32:23 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-416@tmp/config16146214639345814133tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:32:24 ---> docker-login.sh 11:32:24 nexus3.edgexfoundry.org:10001 11:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:24 Configure a credential helper to remove this warning. See 11:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:24 11:32:24 Login Succeeded 11:32:24 nexus3.edgexfoundry.org:10002 11:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:24 Configure a credential helper to remove this warning. See 11:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:24 11:32:24 Login Succeeded 11:32:24 nexus3.edgexfoundry.org:10003 11:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:24 Configure a credential helper to remove this warning. See 11:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:24 11:32:24 Login Succeeded 11:32:24 nexus3.edgexfoundry.org:10004 11:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:24 Configure a credential helper to remove this warning. See 11:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:24 11:32:24 Login Succeeded 11:32:24 docker.io 11:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:32:24 Configure a credential helper to remove this warning. See 11:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:32:24 11:32:24 Login Succeeded 11:32:24 ---> docker-login.sh ends [Pipeline] } 11:32:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:32:25 ========================================================= 11:32:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:32:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:32:25 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:32:25 Sending build context to Docker daemon 23.53MB 11:32:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:32:25 Step 2/12 : FROM ${BASE} AS builder 11:32:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:32:25 4db1b89c0bd1: Pulling fs layer 11:32:25 6911f1a30b25: Pulling fs layer 11:32:25 e194b8c5c2a9: Pulling fs layer 11:32:25 6863d3e3a2b1: Pulling fs layer 11:32:25 ec0bb842ea78: Pulling fs layer 11:32:25 40a00589a448: Pulling fs layer 11:32:25 6c08303d61cc: Pulling fs layer 11:32:25 798269fcf238: Pulling fs layer 11:32:25 798269fcf238: Waiting 11:32:25 40a00589a448: Waiting 11:32:25 6c08303d61cc: Waiting 11:32:25 6863d3e3a2b1: Waiting 11:32:25 ec0bb842ea78: Waiting 11:32:25 6911f1a30b25: Download complete 11:32:25 6863d3e3a2b1: Download complete 11:32:25 ec0bb842ea78: Download complete 11:32:25 4db1b89c0bd1: Verifying Checksum 11:32:25 4db1b89c0bd1: Download complete 11:32:25 40a00589a448: Verifying Checksum 11:32:25 40a00589a448: Download complete 11:32:25 4db1b89c0bd1: Pull complete 11:32:26 6911f1a30b25: Pull complete 11:32:26 e194b8c5c2a9: Verifying Checksum 11:32:26 e194b8c5c2a9: Download complete 11:32:26 798269fcf238: Verifying Checksum 11:32:26 798269fcf238: Download complete 11:32:26 6c08303d61cc: Verifying Checksum 11:32:26 6c08303d61cc: Download complete 11:32:29 e194b8c5c2a9: Pull complete 11:32:29 6863d3e3a2b1: Pull complete 11:32:29 ec0bb842ea78: Pull complete 11:32:29 40a00589a448: Pull complete 11:32:32 6c08303d61cc: Pull complete 11:32:32 798269fcf238: Pull complete 11:32:32 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 11:32:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:32:32 ---> ec979cd7f677 11:32:32 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:32:38 ---> Running in 02b30b304948 11:32:38 Removing intermediate container 02b30b304948 11:32:38 ---> deac1f25459c 11:32:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:32:38 ---> Running in 4a7190dad5d5 11:32:38 Removing intermediate container 4a7190dad5d5 11:32:38 ---> 08bcc26129d2 11:32:38 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:32:38 ---> Running in c37ae11c9805 11:32:38 Removing intermediate container c37ae11c9805 11:32:38 ---> edf7d587d071 11:32:38 Step 6/12 : WORKDIR /device-virtual-go 11:32:38 ---> Running in b518ac18fae0 11:32:38 Removing intermediate container b518ac18fae0 11:32:38 ---> caf1cbbe1101 11:32:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:32:38 ---> Running in 1fa08d0812a2 11:32:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:32:38 Still waiting to schedule task 11:32:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 11:32:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:32:39 (1/4) Installing openssh-keygen (9.1_p1-r4) 11:32:39 (2/4) Installing libedit (20221030.3.1-r0) 11:32:39 (3/4) Installing openssh-client-common (9.1_p1-r4) 11:32:39 (4/4) Installing openssh-client-default (9.1_p1-r4) 11:32:39 Executing busybox-1.35.0-r29.trigger 11:32:39 OK: 269 MiB in 57 packages 11:32:39 Removing intermediate container 1fa08d0812a2 11:32:39 ---> e86f2e50db56 11:32:39 Step 8/12 : COPY go.mod vendor* ./ 11:32:39 ---> 1a0075a91eab 11:32:39 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:32:39 ---> Running in 1d014b0b17a6 11:33:26 Removing intermediate container 1d014b0b17a6 11:33:26 ---> f5f3d84b5ec8 11:33:26 Step 10/12 : COPY . . 11:33:26 ---> 705a935b188d 11:33:26 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:33:26 ---> Running in 5e89b5bbd861 11:33:26 Removing intermediate container 5e89b5bbd861 11:33:26 ---> 301c9578199d 11:33:26 Step 12/12 : RUN $MAKE 11:33:26 ---> Running in ffe566977193 11:33:26 noop 11:33:26 Removing intermediate container ffe566977193 11:33:26 ---> 979ca28764af 11:33:26 Successfully built 979ca28764af 11:33:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:27 + docker inspect -f . ci-base-image-x86_64 11:33:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:27 prd-ubuntu20.04-docker-8c-8g-1655 does not seem to be running inside a container 11:33:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-416 -v /w/workspace/foundry_device-virtual-go_PR-416:/w/workspace/foundry_device-virtual-go_PR-416:rw,z -v /w/workspace/foundry_device-virtual-go_PR-416@tmp:/w/workspace/foundry_device-virtual-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:33:27 $ docker top 08fab77995b6aca1d8a94c8b6041c021dfe82e56859949ccd0a5ad71b87fe0cb -eo pid,comm [Pipeline] { [Pipeline] sh 11:33:27 + go version 11:33:27 go version go1.20.6 linux/amd64 [Pipeline] } 11:33:27 $ docker stop --time=1 08fab77995b6aca1d8a94c8b6041c021dfe82e56859949ccd0a5ad71b87fe0cb 11:33:29 $ docker rm -f --volumes 08fab77995b6aca1d8a94c8b6041c021dfe82e56859949ccd0a5ad71b87fe0cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:29 + docker inspect -f . ci-base-image-x86_64 11:33:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:33:30 prd-ubuntu20.04-docker-8c-8g-1655 does not seem to be running inside a container 11:33:30 $ 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-416 -v /w/workspace/foundry_device-virtual-go_PR-416:/w/workspace/foundry_device-virtual-go_PR-416:rw,z -v /w/workspace/foundry_device-virtual-go_PR-416@tmp:/w/workspace/foundry_device-virtual-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:33:30 $ docker top 8567173ffc75b49720f53a73a3ec58df5421926c721198991c7adfe120b73974 -eo pid,comm [Pipeline] { [Pipeline] sh 11:33:30 + git config --global --add safe.directory /w/workspace/foundry_device-virtual-go_PR-416 [Pipeline] fileExists [Pipeline] sh 11:33:31 + make test 11:33:31 go test ./... -coverprofile=coverage.out 11:33:35 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:33:45 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:33:45 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.020s coverage: 58.6% of statements 11:33:50 go vet ./... 11:33:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:33:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:33:53 ./bin/test-attribution-txt.sh [Pipeline] echo 11:33:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:33:53 $ docker stop --time=1 8567173ffc75b49720f53a73a3ec58df5421926c721198991c7adfe120b73974 11:33:57 $ docker rm -f --volumes 8567173ffc75b49720f53a73a3ec58df5421926c721198991c7adfe120b73974 [Pipeline] // withDockerContainer [Pipeline] sh 11:33:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:33:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:33:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:33:59 + ls -al . 11:33:59 total 200 11:33:59 drwxrwxr-x 9 jenkins jenkins 4096 Jul 20 11:33 . 11:33:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 11:31 .. 11:33:59 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 11:32 .git 11:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 11:31 .github 11:33:59 -rw-rw-r-- 1 jenkins jenkins 337 Jul 20 11:31 .gitignore 11:33:59 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 11:31 .golangci.yml 11:33:59 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 11:32 .semver 11:33:59 -rw-rw-r-- 1 jenkins jenkins 9050 Jul 20 11:31 Attribution.txt 11:33:59 -rw-rw-r-- 1 jenkins jenkins 14372 Jul 20 11:31 CHANGELOG.md 11:33:59 -rw-rw-r-- 1 jenkins jenkins 1646 Jul 20 11:31 Dockerfile 11:33:59 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 11:31 GOVERNANCE.md 11:33:59 -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 11:31 Jenkinsfile 11:33:59 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 11:31 LICENSE 11:33:59 -rw-rw-r-- 1 jenkins jenkins 1947 Jul 20 11:31 Makefile 11:33:59 -rw-rw-r-- 1 jenkins jenkins 623 Jul 20 11:31 OWNERS.md 11:33:59 -rw-rw-r-- 1 jenkins jenkins 4111 Jul 20 11:31 README.md 11:33:59 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 11:32 VERSION 11:33:59 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 11:31 bin 11:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 11:31 cmd 11:33:59 -rw-r--r-- 1 jenkins jenkins 43063 Jul 20 11:33 coverage.out 11:33:59 -rw-rw-r-- 1 jenkins jenkins 3375 Jul 20 11:31 go.mod 11:33:59 -rw-rw-r-- 1 jenkins jenkins 32023 Jul 20 11:31 go.sum 11:33:59 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 11:31 internal 11:33:59 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 11:31 snap 11:33:59 -rw-rw-r-- 1 jenkins jenkins 235 Jul 20 11:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:33:59 + 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=09faa117c8254007babb991fd9012251a5e15fa1 --label arch=amd64 --label version=0.0.0 . 11:33:59 Sending build context to Docker daemon 23.57MB 11:33:59 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 11:33:59 Step 2/25 : FROM ${BASE} AS builder 11:33:59 ---> 979ca28764af 11:33:59 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:34:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1656 in /w/workspace/foundry_device-virtual-go_PR-416 [Pipeline] { 11:34:00 ---> Running in 6ba9271ad87a 11:34:00 Removing intermediate container 6ba9271ad87a 11:34:00 ---> 7a98bcd8deff 11:34:00 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:34:00 ---> Running in 24924685b4ff 11:34:00 Removing intermediate container 24924685b4ff 11:34:00 ---> 3f64cfd984b0 11:34:00 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:34:00 ---> Running in f63671e89db1 [Pipeline] ws 11:34:00 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 11:34:00 The recommended git tool is: git 11:34:00 Removing intermediate container f63671e89db1 11:34:00 ---> ae9f7763a9be 11:34:00 Step 6/25 : WORKDIR /device-virtual-go 11:34:00 ---> Running in 18af4f58c5fb 11:34:00 Removing intermediate container 18af4f58c5fb 11:34:00 ---> 0e29c8d306fc 11:34:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:34:00 ---> Running in c67a58ca5dfd 11:34:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:34:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:34:01 OK: 269 MiB in 57 packages 11:34:01 Removing intermediate container c67a58ca5dfd 11:34:01 ---> 419415c29c48 11:34:01 Step 8/25 : COPY go.mod vendor* ./ 11:34:01 ---> e9f383fa9df5 11:34:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:34:01 ---> Running in 84e89acf5740 11:34:02 Removing intermediate container 84e89acf5740 11:34:02 ---> b268858c800e 11:34:02 Step 10/25 : COPY . . 11:34:03 ---> 99d8900c7f13 11:34:03 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:34:03 ---> Running in fae3ec9f944f 11:34:03 Removing intermediate container fae3ec9f944f 11:34:03 ---> 8deedb93b325 11:34:03 Step 12/25 : RUN $MAKE 11:34:03 ---> Running in aa5c9eeca9fa 11:34:03 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.8" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:34:05 using credential edgex-jenkins-ssh 11:34:05 Cloning the remote Git repository 11:34:05 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 11:34:05 > git init /w/workspace/device-virtual-go/1 # timeout=10 11:34:05 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:34:05 > git --version # timeout=10 11:34:05 > git --version # 'git version 2.25.1' 11:34:05 using GIT_SSH to set credentials SSH Credentials for GitHub 11:34:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:34:07 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:34:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:34:09 Merging remotes/origin/main commit 8bac9b22eb31fd3371358eef67a168645ee27d12 into PR head commit 09faa117c8254007babb991fd9012251a5e15fa1 11:34:08 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 11:34:08 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 11:34:08 using GIT_SSH to set credentials SSH Credentials for GitHub 11:34:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/416/head:refs/remotes/origin/PR-416 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:34:09 > git config core.sparsecheckout # timeout=10 11:34:09 Merge succeeded, producing 09faa117c8254007babb991fd9012251a5e15fa1 11:34:09 Checking out Revision 09faa117c8254007babb991fd9012251a5e15fa1 (PR-416) 11:34:09 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 11:34:09 > git --version # timeout=10 11:34:09 > git --version # 'git version 2.25.1' 11:34:09 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:34:09 > git checkout -f 09faa117c8254007babb991fd9012251a5e15fa1 # timeout=10 11:34:09 > git remote # timeout=10 11:34:09 > git config --get remote.origin.url # timeout=10 11:34:09 using GIT_SSH to set credentials SSH Credentials for GitHub 11:34:09 > git merge 8bac9b22eb31fd3371358eef67a168645ee27d12 # timeout=10 11:34:09 > git rev-parse HEAD^{commit} # timeout=10 11:34:09 > git config core.sparsecheckout # timeout=10 11:34:09 > git checkout -f 09faa117c8254007babb991fd9012251a5e15fa1 # timeout=10 11:34:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:34:10 % Total % Received % Xferd Average Speed Time Time Time Current 11:34:10 Dload Upload Total Spent Left Speed 11:34:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 86155 [Pipeline] sh 11:34:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:34:11 + sudo tee /etc/docker/daemon.new 11:34:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:34:11 { 11:34:11 "registry-mirrors": [ 11:34:11 "https://nexus3.edgexfoundry.org:10001" 11:34:11 ], 11:34:11 "bip": "10.250.0.254/24", 11:34:11 "hosts": [ 11:34:11 "tcp://0.0.0.0:5555", 11:34:11 "unix:///var/run/docker.sock" 11:34:11 ], 11:34:11 "mtu": 1458, 11:34:11 "selinux-enabled": true, 11:34:11 "seccomp-profile": "/etc/docker/seccomp.json" 11:34:11 } [Pipeline] sh 11:34:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:34:12 + sudo service docker restart 11:34:25 Removing intermediate container aa5c9eeca9fa 11:34:25 ---> af85d4d91af7 11:34:25 Step 13/25 : FROM alpine:3.17 11:34:25 3.17: Pulling from library/alpine 11:34:25 4db1b89c0bd1: Already exists 11:34:25 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 11:34:25 Status: Downloaded newer image for alpine:3.17 11:34:25 ---> 1f73a9d63274 11:34:25 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:34:25 ---> Running in 71f01521ce38 11:34:25 Removing intermediate container 71f01521ce38 11:34:25 ---> 4aec31e889f4 11:34:25 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:34:25 ---> Running in 43d7c4dd1b9e 11:34:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:34:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:34:25 (1/1) Installing dumb-init (1.2.5-r2) 11:34:25 Executing busybox-1.35.0-r29.trigger 11:34:25 OK: 7 MiB in 16 packages 11:34:25 Removing intermediate container 43d7c4dd1b9e 11:34:25 ---> c0746606e1de 11:34:25 Step 16/25 : WORKDIR / 11:34:25 ---> Running in 2f04c65a41dc 11:34:25 Removing intermediate container 2f04c65a41dc 11:34:25 ---> 12a57ee57800 11:34:25 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:34:25 ---> f443f38c41c1 11:34:25 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:34:25 ---> f2e50d5c66e4 11:34:25 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:34:25 ---> 253fcb01cda3 11:34:25 Step 20/25 : EXPOSE 59900 11:34:25 ---> Running in 92f9042b6b2f 11:34:25 Removing intermediate container 92f9042b6b2f 11:34:25 ---> 91d9def61e7d 11:34:25 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:34:25 ---> Running in 3803fd3ef176 11:34:25 Removing intermediate container 3803fd3ef176 11:34:25 ---> 4568c7de6454 11:34:25 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:34:26 ---> Running in 10bfc1d6fb41 11:34:26 Removing intermediate container 10bfc1d6fb41 11:34:26 ---> 28ae06f4c0da 11:34:26 Step 23/25 : LABEL arch=amd64 11:34:26 ---> Running in 754c44222d0a 11:34:26 Removing intermediate container 754c44222d0a 11:34:26 ---> 18b2c738fae5 11:34:26 Step 24/25 : LABEL git_sha=09faa117c8254007babb991fd9012251a5e15fa1 11:34:26 ---> Running in cd4adb10cc5c 11:34:26 Removing intermediate container cd4adb10cc5c 11:34:26 ---> 2a1ca8882120 11:34:26 Step 25/25 : LABEL version=0.0.0 11:34:26 ---> Running in 8663270be113 11:34:26 Removing intermediate container 8663270be113 11:34:26 ---> a0845188e9f6 11:34:26 [Warning] One or more build-args [ARCH] were not consumed 11:34:26 Successfully built a0845188e9f6 11:34:26 Successfully tagged device-virtual:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:34:27 11:34:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:34:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:34:27 latest: Pulling from edgex-lftools-log-publisher 11:34:27 5eb5b503b376: Pulling fs layer 11:34:27 5c69ac0246d0: Pulling fs layer 11:34:27 ec43610c2a17: Pulling fs layer 11:34:27 3a2ae6a8a46f: Pulling fs layer 11:34:27 33b1e0a273af: Pulling fs layer 11:34:27 5d3b04190fa2: Pulling fs layer 11:34:27 2f39f015ded8: Pulling fs layer 11:34:27 33b1e0a273af: Waiting 11:34:27 5d3b04190fa2: Waiting 11:34:27 2f39f015ded8: Waiting 11:34:27 3a2ae6a8a46f: Waiting 11:34:27 5c69ac0246d0: Verifying Checksum 11:34:27 5c69ac0246d0: Download complete 11:34:27 3a2ae6a8a46f: Verifying Checksum 11:34:27 3a2ae6a8a46f: Download complete 11:34:27 ec43610c2a17: Verifying Checksum 11:34:27 ec43610c2a17: Download complete 11:34:27 33b1e0a273af: Verifying Checksum 11:34:27 33b1e0a273af: Download complete 11:34:27 5d3b04190fa2: Download complete 11:34:27 5eb5b503b376: Verifying Checksum 11:34:27 5eb5b503b376: Download complete 11:34:28 2f39f015ded8: Download complete 11:34:29 5eb5b503b376: Pull complete 11:34:29 5c69ac0246d0: Pull complete 11:34:29 ec43610c2a17: Pull complete 11:34:29 3a2ae6a8a46f: Pull complete 11:34:29 33b1e0a273af: Pull complete 11:34:30 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:34:31 provisioning config files... 11:34:31 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config913505032387260749tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:34:31 ---> docker-login.sh 11:34:31 nexus3.edgexfoundry.org:10001 11:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:32 Configure a credential helper to remove this warning. See 11:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:32 11:34:32 Login Succeeded 11:34:32 nexus3.edgexfoundry.org:10002 11:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:32 Configure a credential helper to remove this warning. See 11:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:32 11:34:32 Login Succeeded 11:34:32 nexus3.edgexfoundry.org:10003 11:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:32 Configure a credential helper to remove this warning. See 11:34:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:32 11:34:32 Login Succeeded 11:34:32 nexus3.edgexfoundry.org:10004 11:34:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:33 Configure a credential helper to remove this warning. See 11:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:33 11:34:33 Login Succeeded 11:34:33 docker.io 11:34:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:34:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:34:33 Configure a credential helper to remove this warning. See 11:34:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:34:33 11:34:33 Login Succeeded 11:34:33 ---> docker-login.sh ends [Pipeline] } 11:34:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:34:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:34:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:34:34 ========================================================= 11:34:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:34:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 11:34:34 2f39f015ded8: Pull complete 11:34:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:34:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:34:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:34:34 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 11:34:34 prd-ubuntu20.04-docker-8c-8g-1655 does not seem to be running inside a container 11:34:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-416 -v /w/workspace/foundry_device-virtual-go_PR-416:/w/workspace/foundry_device-virtual-go_PR-416:rw,z -v /w/workspace/foundry_device-virtual-go_PR-416@tmp:/w/workspace/foundry_device-virtual-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:34:34 Sending build context to Docker daemon 11.89MB 11:34:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:34:34 Step 2/12 : FROM ${BASE} AS builder 11:34:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:34:35 edb6bdbacee9: Pulling fs layer 11:34:35 5f9638ab2659: Pulling fs layer 11:34:35 8d51d6327a98: Pulling fs layer 11:34:35 8b374f2dd631: Pulling fs layer 11:34:35 ec14aa9079de: Pulling fs layer 11:34:35 2f466654f4bb: Pulling fs layer 11:34:35 554e91adad29: Pulling fs layer 11:34:35 ec14aa9079de: Waiting 11:34:35 2f466654f4bb: Waiting 11:34:35 554e91adad29: Waiting 11:34:35 8b374f2dd631: Waiting 11:34:35 5f9638ab2659: Verifying Checksum 11:34:35 5f9638ab2659: Download complete 11:34:35 8b374f2dd631: Verifying Checksum 11:34:35 8b374f2dd631: Download complete 11:34:35 ec14aa9079de: Verifying Checksum 11:34:35 ec14aa9079de: Download complete 11:34:35 edb6bdbacee9: Verifying Checksum 11:34:35 edb6bdbacee9: Download complete 11:34:36 edb6bdbacee9: Pull complete 11:34:36 554e91adad29: Verifying Checksum 11:34:36 554e91adad29: Download complete 11:34:38 8d51d6327a98: Verifying Checksum 11:34:38 8d51d6327a98: Download complete 11:34:38 2f466654f4bb: Verifying Checksum 11:34:38 2f466654f4bb: Download complete 11:34:39 5f9638ab2659: Pull complete 11:34:43 $ docker top 4ef5a0926b6848ed75bea5eec2fc355ebf12af25911ba52c9c631ec193eb1f68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:34:43 ---> job-cost.sh 11:34:43 lf-activate-venv: SKIPPING 11:34:43 INFO: No Stack... 11:34:44 INFO: Retrieving Pricing Info for: v3-standard-8 11:34:44 INFO: Archiving Costs [Pipeline] sh 11:34:44 + cat /w/workspace/foundry_device-virtual-go_PR-416/archives/cost.csv 11:34:44 + cut -d, -f6 [Pipeline] lock 11:34:44 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-416-1-stack-cost] 11:34:44 Resource [jenkins-edgexfoundry-device-virtual-go-PR-416-1-stack-cost] did not exist. Created. 11:34:44 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:34:45 + echo total: 0.2199999988079071 [Pipeline] stash 11:34:45 Stashed 1 file(s) [Pipeline] } 11:34:45 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-416-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:34:45 $ docker stop --time=1 4ef5a0926b6848ed75bea5eec2fc355ebf12af25911ba52c9c631ec193eb1f68 11:34:46 $ docker rm -f --volumes 4ef5a0926b6848ed75bea5eec2fc355ebf12af25911ba52c9c631ec193eb1f68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:34:54 8d51d6327a98: Pull complete 11:34:54 8b374f2dd631: Pull complete 11:34:54 ec14aa9079de: Pull complete 11:35:01 2f466654f4bb: Pull complete 11:35:03 554e91adad29: Pull complete 11:35:03 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 11:35:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:35:03 ---> 1e15ea492957 11:35:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:35:05 ---> Running in 1caec413230d 11:35:05 Removing intermediate container 1caec413230d 11:35:05 ---> 2f2b21f99fa0 11:35:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:35:05 ---> Running in 933a005d3ccf 11:35:05 Removing intermediate container 933a005d3ccf 11:35:05 ---> d0babc702f54 11:35:05 Step 5/12 : ARG ADD_BUILD_TAGS="" 11:35:05 ---> Running in 04e689c3378a 11:35:05 Removing intermediate container 04e689c3378a 11:35:05 ---> 0cc89a091b79 11:35:05 Step 6/12 : WORKDIR /device-virtual-go 11:35:05 ---> Running in 2ab2c35493a6 11:35:06 Removing intermediate container 2ab2c35493a6 11:35:06 ---> e8f948dfccf1 11:35:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:35:06 ---> Running in 4f9b93ac4a4d 11:35:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:35:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:35:08 (1/4) Installing openssh-keygen (9.1_p1-r4) 11:35:08 (2/4) Installing libedit (20221030.3.1-r0) 11:35:08 (3/4) Installing openssh-client-common (9.1_p1-r4) 11:35:08 (4/4) Installing openssh-client-default (9.1_p1-r4) 11:35:09 Executing busybox-1.35.0-r29.trigger 11:35:09 OK: 268 MiB in 57 packages 11:35:09 Removing intermediate container 4f9b93ac4a4d 11:35:09 ---> 7c91f2117022 11:35:09 Step 8/12 : COPY go.mod vendor* ./ 11:35:10 ---> af5048e28564 11:35:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:35:10 ---> Running in aba3c29d954f 11:36:18 Removing intermediate container aba3c29d954f 11:36:18 ---> 20da0e96b386 11:36:18 Step 10/12 : COPY . . 11:36:18 ---> f5acfeaf8e68 11:36:18 Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:36:18 ---> Running in ee845d1bdbec 11:36:18 Removing intermediate container ee845d1bdbec 11:36:18 ---> fcb7f691853c 11:36:18 Step 12/12 : RUN $MAKE 11:36:18 ---> Running in a51b77dc7ee7 11:36:19 noop 11:36:19 Removing intermediate container a51b77dc7ee7 11:36:19 ---> a4ce724b2884 11:36:19 Successfully built a4ce724b2884 11:36:19 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:20 + docker inspect -f . ci-base-image-arm64 11:36:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:20 prd-ubuntu20.04-docker-arm64-4c-16g-1656 does not seem to be running inside a container 11:36:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:36:21 $ docker top 428064dd83b6ac59af978cfbcb088f30e3dc9db8d6247f9ffdb60dbe71afa7ae -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:22 + go version 11:36:22 go version go1.20.6 linux/arm64 [Pipeline] } 11:36:22 $ docker stop --time=1 428064dd83b6ac59af978cfbcb088f30e3dc9db8d6247f9ffdb60dbe71afa7ae 11:36:24 $ docker rm -f --volumes 428064dd83b6ac59af978cfbcb088f30e3dc9db8d6247f9ffdb60dbe71afa7ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:36:24 + docker inspect -f . ci-base-image-arm64 11:36:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:36:25 prd-ubuntu20.04-docker-arm64-4c-16g-1656 does not seem to be running inside a container 11:36:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:36:26 $ docker top 882615d177c915c6985675f0e79fe23eb7949bf2c0b636ed471d5780eeabecfe -eo pid,comm [Pipeline] { [Pipeline] sh 11:36:26 + git config --global --add safe.directory /w/workspace/device-virtual-go/1 [Pipeline] fileExists [Pipeline] sh 11:36:27 + make test 11:36:27 go test ./... -coverprofile=coverage.out 11:36:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 11:38:51 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 11:38:51 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.088s coverage: 58.4% of statements 11:38:51 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:38:51 go vet ./... 11:39:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:39:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:39:18 ./bin/test-attribution-txt.sh [Pipeline] echo 11:39:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:39:18 $ docker stop --time=1 882615d177c915c6985675f0e79fe23eb7949bf2c0b636ed471d5780eeabecfe 11:39:20 $ docker rm -f --volumes 882615d177c915c6985675f0e79fe23eb7949bf2c0b636ed471d5780eeabecfe [Pipeline] // withDockerContainer [Pipeline] sh 11:39:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:39:21 Warning: overwriting stash ‘coverage-report’ 11:39:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:39:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:39:22 + ls -al . 11:39:22 total 196 11:39:22 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 11:36 . 11:39:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 11:34 .. 11:39:22 drwxrwxr-x 8 jenkins jenkins 4096 Jul 20 11:34 .git 11:39:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 11:34 .github 11:39:22 -rw-rw-r-- 1 jenkins jenkins 337 Jul 20 11:34 .gitignore 11:39:22 -rw-rw-r-- 1 jenkins jenkins 41 Jul 20 11:34 .golangci.yml 11:39:22 -rw-rw-r-- 1 jenkins jenkins 9050 Jul 20 11:34 Attribution.txt 11:39:22 -rw-rw-r-- 1 jenkins jenkins 14372 Jul 20 11:34 CHANGELOG.md 11:39:22 -rw-rw-r-- 1 jenkins jenkins 1646 Jul 20 11:34 Dockerfile 11:39:22 -rw-rw-r-- 1 jenkins jenkins 677 Jul 20 11:34 GOVERNANCE.md 11:39:22 -rw-rw-r-- 1 jenkins jenkins 660 Jul 20 11:34 Jenkinsfile 11:39:22 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 20 11:34 LICENSE 11:39:22 -rw-rw-r-- 1 jenkins jenkins 1947 Jul 20 11:34 Makefile 11:39:22 -rw-rw-r-- 1 jenkins jenkins 623 Jul 20 11:34 OWNERS.md 11:39:22 -rw-rw-r-- 1 jenkins jenkins 4111 Jul 20 11:34 README.md 11:39:22 -rw-rw-r-- 1 jenkins jenkins 5 Jul 20 11:32 VERSION 11:39:22 drwxrwxr-x 2 jenkins jenkins 4096 Jul 20 11:34 bin 11:39:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 11:34 cmd 11:39:22 -rw-r--r-- 1 jenkins jenkins 43063 Jul 20 11:38 coverage.out 11:39:22 -rw-rw-r-- 1 jenkins jenkins 3375 Jul 20 11:34 go.mod 11:39:22 -rw-rw-r-- 1 jenkins jenkins 32023 Jul 20 11:34 go.sum 11:39:22 drwxrwxr-x 3 jenkins jenkins 4096 Jul 20 11:34 internal 11:39:22 drwxrwxr-x 4 jenkins jenkins 4096 Jul 20 11:34 snap 11:39:22 -rw-rw-r-- 1 jenkins jenkins 235 Jul 20 11:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:39:23 + 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=09faa117c8254007babb991fd9012251a5e15fa1 --label arch=arm64 --label version=0.0.0 . 11:39:24 Sending build context to Docker daemon 11.94MB 11:39:24 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 11:39:24 Step 2/25 : FROM ${BASE} AS builder 11:39:24 ---> a4ce724b2884 11:39:24 Step 3/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 11:39:24 ---> Running in 0b5aa28a4cce 11:39:25 Removing intermediate container 0b5aa28a4cce 11:39:25 ---> 93dcc36c65b9 11:39:25 Step 4/25 : ARG ALPINE_PKG_EXTRA="" 11:39:25 ---> Running in 47a8aa3152ed 11:39:25 Removing intermediate container 47a8aa3152ed 11:39:25 ---> 033606266cca 11:39:25 Step 5/25 : ARG ADD_BUILD_TAGS="" 11:39:25 ---> Running in 4e545f1c403a 11:39:26 Removing intermediate container 4e545f1c403a 11:39:26 ---> 3e1c0efae35d 11:39:26 Step 6/25 : WORKDIR /device-virtual-go 11:39:26 ---> Running in 41dbb1898a70 11:39:26 Removing intermediate container 41dbb1898a70 11:39:26 ---> 886e87d7c5c8 11:39:26 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:39:26 ---> Running in b81b115a0403 11:39:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:39:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:39:29 OK: 268 MiB in 57 packages 11:39:32 Removing intermediate container b81b115a0403 11:39:32 ---> 726693a958f4 11:39:32 Step 8/25 : COPY go.mod vendor* ./ 11:39:32 ---> d04f44578d28 11:39:32 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:39:32 ---> Running in 27a0553f09dd 11:39:36 Removing intermediate container 27a0553f09dd 11:39:36 ---> feb6568abbc0 11:39:36 Step 10/25 : COPY . . 11:39:36 ---> fc9ca0cebf6c 11:39:36 Step 11/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:39:36 ---> Running in c4c8b710f4d4 11:39:36 Removing intermediate container c4c8b710f4d4 11:39:36 ---> f6482ee2d6c1 11:39:36 Step 12/25 : RUN $MAKE 11:39:37 ---> Running in 388bf8d70bcf 11:39:38 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.8" -trimpath -mod=readonly -o cmd/device-virtual ./cmd 11:41:44 Removing intermediate container 388bf8d70bcf 11:41:44 ---> e2f4111c79dd 11:41:44 Step 13/25 : FROM alpine:3.17 11:41:44 3.17: Pulling from library/alpine 11:41:44 edb6bdbacee9: Already exists 11:41:44 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 11:41:44 Status: Downloaded newer image for alpine:3.17 11:41:44 ---> 779605e5fbc0 11:41:44 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 11:41:44 ---> Running in c48ef930c8b9 11:41:44 Removing intermediate container c48ef930c8b9 11:41:44 ---> 72086f373243 11:41:44 Step 15/25 : RUN apk add --update --no-cache dumb-init 11:41:44 ---> Running in 8214cee524d0 11:41:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:41:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:41:44 (1/1) Installing dumb-init (1.2.5-r2) 11:41:44 Executing busybox-1.35.0-r29.trigger 11:41:44 OK: 8 MiB in 16 packages 11:41:44 Removing intermediate container 8214cee524d0 11:41:44 ---> 953a7c1fc06b 11:41:44 Step 16/25 : WORKDIR / 11:41:44 ---> Running in 1795f6810f0c 11:41:45 Removing intermediate container 1795f6810f0c 11:41:45 ---> 19f50e96819a 11:41:45 Step 17/25 : COPY --from=builder /device-virtual-go/Attribution.txt / 11:41:45 ---> f4f7e0ff483d 11:41:45 Step 18/25 : COPY --from=builder /device-virtual-go/LICENSE / 11:41:45 ---> b4c84e9e4030 11:41:45 Step 19/25 : COPY --from=builder /device-virtual-go/cmd / 11:41:47 ---> 40b304cc1da0 11:41:47 Step 20/25 : EXPOSE 59900 11:41:47 ---> Running in a28b3486f93e 11:41:47 Removing intermediate container a28b3486f93e 11:41:47 ---> 7603b93ac820 11:41:47 Step 21/25 : ENTRYPOINT ["/device-virtual"] 11:41:47 ---> Running in d62faab5bb66 11:41:47 Removing intermediate container d62faab5bb66 11:41:47 ---> fd17acd7839f 11:41:47 Step 22/25 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 11:41:47 ---> Running in c32260747369 11:41:48 Removing intermediate container c32260747369 11:41:48 ---> 028ac5166167 11:41:48 Step 23/25 : LABEL arch=arm64 11:41:48 ---> Running in 3b853581fe03 11:41:48 Removing intermediate container 3b853581fe03 11:41:48 ---> 96dbef08fcfe 11:41:48 Step 24/25 : LABEL git_sha=09faa117c8254007babb991fd9012251a5e15fa1 11:41:48 ---> Running in 209a8f08a7b2 11:41:48 Removing intermediate container 209a8f08a7b2 11:41:48 ---> fd4d8283a63b 11:41:48 Step 25/25 : LABEL version=0.0.0 11:41:48 ---> Running in cfee01f90c93 11:41:49 Removing intermediate container cfee01f90c93 11:41:49 ---> 01c4fe71727c 11:41:49 [Warning] One or more build-args [ARCH] were not consumed 11:41:49 Successfully built 01c4fe71727c 11:41:49 Successfully tagged device-virtual-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:41:50 11:41:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:41:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:41:50 arm64: Pulling from edgex-lftools-log-publisher 11:41:50 8998bd30e6a1: Pulling fs layer 11:41:50 04944245beec: Pulling fs layer 11:41:50 699f458cf7ca: Pulling fs layer 11:41:50 765212b225bb: Pulling fs layer 11:41:50 f23df028b6ca: Pulling fs layer 11:41:50 d65c8cfc05b1: Pulling fs layer 11:41:50 2437ff75d9bd: Pulling fs layer 11:41:50 765212b225bb: Waiting 11:41:50 f23df028b6ca: Waiting 11:41:50 d65c8cfc05b1: Waiting 11:41:50 2437ff75d9bd: Waiting 11:41:50 04944245beec: Verifying Checksum 11:41:50 04944245beec: Download complete 11:41:50 765212b225bb: Verifying Checksum 11:41:50 765212b225bb: Download complete 11:41:50 f23df028b6ca: Verifying Checksum 11:41:50 f23df028b6ca: Download complete 11:41:50 d65c8cfc05b1: Verifying Checksum 11:41:50 d65c8cfc05b1: Download complete 11:41:50 699f458cf7ca: Verifying Checksum 11:41:50 699f458cf7ca: Download complete 11:41:51 8998bd30e6a1: Download complete 11:41:53 2437ff75d9bd: Verifying Checksum 11:41:53 2437ff75d9bd: Download complete 11:41:55 8998bd30e6a1: Pull complete 11:41:57 04944245beec: Pull complete 11:41:58 699f458cf7ca: Pull complete 11:41:58 765212b225bb: Pull complete 11:41:59 f23df028b6ca: Pull complete 11:41:59 d65c8cfc05b1: Pull complete 11:42:14 2437ff75d9bd: Pull complete 11:42:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:42:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:42:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:14 prd-ubuntu20.04-docker-arm64-4c-16g-1656 does not seem to be running inside a container 11:42:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:42:17 $ docker top 0622d2a2ad7feb1d89b898857e44ad56d7198cc5f24667e27b9bcc5600ee9e5e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:42:18 ---> job-cost.sh 11:42:18 lf-activate-venv: SKIPPING 11:42:18 INFO: No Stack... 11:42:18 INFO: Retrieving Pricing Info for: v3-standard-4 11:42:19 INFO: Archiving Costs [Pipeline] sh 11:42:19 + cut -d,+ -f6 11:42:19 cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock 11:42:19 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-416-1-stack-cost] 11:42:19 Resource [jenkins-edgexfoundry-device-virtual-go-PR-416-1-stack-cost] did not exist. Created. 11:42:19 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-416-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:42:20 /w/workspace/device-virtual-go/1@tmp/durable-0bd30c2c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:42:20 + echo total: 0.10999999940395355 [Pipeline] stash 11:42:20 Warning: overwriting stash ‘stack-cost’ 11:42:20 Stashed 1 file(s) [Pipeline] } 11:42:20 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-416-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:42:20 $ docker stop --time=1 0622d2a2ad7feb1d89b898857e44ad56d7198cc5f24667e27b9bcc5600ee9e5e 11:42:22 $ docker rm -f --volumes 0622d2a2ad7feb1d89b898857e44ad56d7198cc5f24667e27b9bcc5600ee9e5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:42:23 provisioning config files... 11:42:23 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-416@tmp/config12178335776650064370tmp [Pipeline] { [Pipeline] sh 11:42:24 + set +x 11:42:24 + curl -s https://codecov.io/bash 11:42:24 + bash -s -- 11:42:24 11:42:24 _____ _ 11:42:24 / ____| | | 11:42:24 | | ___ __| | ___ ___ _____ __ 11:42:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:42:24 | |___| (_) | (_| | __/ (_| (_) \ V / 11:42:24 \_____\___/ \__,_|\___|\___\___/ \_/ 11:42:24 Bash-1.0.6 11:42:24 11:42:24 11:42:24 ==> git version 2.25.1 found 11:42:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 11:42:24 Release-Date: 2020-01-08 11:42:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:42:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:42:24 ==> Jenkins CI detected. 11:42:24 current dir:  /w/workspace/foundry_device-virtual-go_PR-416 11:42:24 project root: . 11:42:24 --> token set from env 11:42:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:42:24 ==> Running gcov in . (disable via -X gcov) 11:42:24 ==> Python coveragepy not found 11:42:24 ==> Searching for coverage reports in: 11:42:24 + . 11:42:24 -> Found 1 reports 11:42:24 ==> Detecting git/mercurial file structure 11:42:24 ==> Reading reports 11:42:24 + ./coverage.out bytes=43063 11:42:24 ==> Appending adjustments 11:42:24 https://docs.codecov.io/docs/fixing-reports 11:42:24 + Found adjustments 11:42:24 ==> Gzipping contents 11:42:24 8.0K /tmp/codecov.mCXvml.gz 11:42:24 ==> Uploading reports 11:42:24 url: https://codecov.io 11:42:24 query: branch=PR-416&commit=09faa117c8254007babb991fd9012251a5e15fa1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=416&job=&cmd_args= 11:42:24 -> Pinging Codecov 11:42:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-416&commit=09faa117c8254007babb991fd9012251a5e15fa1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-416%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=416&job=&cmd_args= 11:42:24 -> Uploading to 11:42:24 https://storage.googleapis.com/codecov/v4/raw/2023-07-20/5E52B4B073DB2E39498172D8E973AA87/09faa117c8254007babb991fd9012251a5e15fa1/026b074e-b915-40ec-bca9-01565a1ceeb1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230720%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230720T114224Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d59695d553878144ecda4a098663fc6ede63a1926ec5dcf96b344f00707f853 11:42:24 % Total % Received % Xferd Average Speed Time Time Time Current 11:42:24 Dload Upload Total Spent Left Speed 11:42:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5184 0 0 100 5184 0 26448 --:--:-- --:--:-- --:--:-- 26314 100 5184 0 0 100 5184 0 26448 --:--:-- --:--:-- --:--:-- 26314 11:42:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-virtual-go/commit/09faa117c8254007babb991fd9012251a5e15fa1 [Pipeline] } 11:42:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:42:26 + [ -d /w/workspace/foundry_device-virtual-go_PR-416/archives ] 11:42:26 + ls -al /w/workspace/foundry_device-virtual-go_PR-416/archives 11:42:26 total 16 11:42:26 drwxr-xr-x 3 root root 4096 Jul 20 11:34 . 11:42:26 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 11:34 .. 11:42:26 drwxr-xr-x 2 root root 4096 Jul 20 11:34 cost 11:42:26 -rw-r--r-- 1 root root 89 Jul 20 11:34 cost.csv 11:42:26 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-416/archives 11:42:26 + ls -al /w/workspace/foundry_device-virtual-go_PR-416/archives 11:42:26 total 16 11:42:26 drwxr-xr-x 3 jenkins jenkins 4096 Jul 20 11:34 . 11:42:26 drwxrwxr-x 10 jenkins jenkins 4096 Jul 20 11:34 .. 11:42:26 drwxr-xr-x 2 jenkins jenkins 4096 Jul 20 11:34 cost 11:42:26 -rw-r--r-- 1 jenkins jenkins 89 Jul 20 11:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:42:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:42:27 ---> package-listing.sh 11:42:27 ++ tr '[:upper:]' '[:lower:]' 11:42:27 ++ facter osfamily 11:42:28 + OS_FAMILY=debian 11:42:28 + workspace=/w/workspace/foundry_device-virtual-go_PR-416 11:42:28 + START_PACKAGES=/tmp/packages_start.txt 11:42:28 + END_PACKAGES=/tmp/packages_end.txt 11:42:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:42:28 + PACKAGES=/tmp/packages_start.txt 11:42:28 + '[' /w/workspace/foundry_device-virtual-go_PR-416 ']' 11:42:28 + PACKAGES=/tmp/packages_end.txt 11:42:28 + case "${OS_FAMILY}" in 11:42:28 + dpkg -l 11:42:28 + grep '^ii' 11:42:28 + '[' -f /tmp/packages_start.txt ']' 11:42:28 + '[' -f /tmp/packages_end.txt ']' 11:42:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:42:28 + '[' /w/workspace/foundry_device-virtual-go_PR-416 ']' 11:42:28 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-416/archives/ 11:42:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-416/archives/ [Pipeline] echo 11:42:28 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-416/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:42:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:42:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:42:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:42:29 prd-ubuntu20.04-docker-8c-8g-1655 does not seem to be running inside a container 11:42:29 $ 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-416/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-416 -v /w/workspace/foundry_device-virtual-go_PR-416:/w/workspace/foundry_device-virtual-go_PR-416:rw,z -v /w/workspace/foundry_device-virtual-go_PR-416@tmp:/w/workspace/foundry_device-virtual-go_PR-416@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:42:29 $ docker top 65eccc9935cfe1beb741ca2d8dcc96cfcea1ff42208435585ef126955210d370 -eo pid,comm [Pipeline] { [Pipeline] sh 11:42:29 + touch /tmp/pre-build-complete [Pipeline] sh 11:42:30 + mkdir -p /var/log/sysstat [Pipeline] sh 11:42:30 + ls /var/log/sa-host 11:42:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:42:30 provisioning config files... 11:42:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-416@tmp/config7654862202895488289tmp [Pipeline] { [Pipeline] echo 11:42:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:42:31 ---> create-netrc.sh [Pipeline] } 11:42:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:42:31 ---> python-tools-install.sh [Pipeline] echo 11:42:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:42:31 ---> sudo-logs.sh 11:42:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:42:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:42:32 ---> job-cost.sh 11:42:32 lf-activate-venv: SKIPPING 11:42:32 DEBUG: total: 0.2199999988079071 11:42:32 INFO: Retrieving Stack Cost... 11:42:32 INFO: Retrieving Pricing Info for: v3-standard-8 11:42:33 INFO: Archiving Costs [Pipeline] echo 11:42:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:42:33 ---> logs-deploy.sh 11:42:33 lf-activate-venv: SKIPPING 11:42:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-416/1 11:42:33 INFO: archiving workspace using pattern(s): 11:42:34 Archives upload complete. 11:42:34 INFO: archiving logs to Nexus