Pull request #287 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-virtual-go Loading trusted files from base branch main at 9cab87334a4d5affcc1b2c5c12d642008ef46c2d rather than 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 Obtained Jenkinsfile from 9cab87334a4d5affcc1b2c5c12d642008ef46c2d 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-ssh16078095996361578.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh6364872913414958746.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-287/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3377929618189285079.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 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-ssh14019521169725504204.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-287/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10706066790055175829.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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.17 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 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-632’ is offline Running on prd-ubuntu20.04-docker-8c-8g-634 in /w/workspace/foundry_device-virtual-go_PR-287 [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-287 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 Merge succeeded, producing 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 Checking out Revision 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 (PR-287) > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 # 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 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 # timeout=10 Commit message: "style(snap): go fmt" > git rev-list --no-walk a266ebd99d2e725a38e992c2b726a9db996e56be # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:29:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:29:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:29:01 ========================================================= 06:29:01 EdgeX Global Pipelines Version Info 06:29:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:29:01 ------------------- 06:29:01 stable info: 06:29:01 ------------------- 06:29:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:29:01 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 06:29:01 Message: update stable to v1.0.230 06:29:02 ------------------- 06:29:02 experimental info: 06:29:02 ------------------- 06:29:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:29:02 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 06:29:02 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:29:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:29:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-287 [Pipeline] echo 06:29:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-287 [Pipeline] echo 06:29:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-287 [Pipeline] echo 06:29:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 [Pipeline] echo 06:29:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7610bd3 [Pipeline] echo 06:29:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:29:03 provisioning config files... 06:29:03 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1016126348390236739tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:29:03 ---> docker-login.sh 06:29:03 nexus3.edgexfoundry.org:10001 06:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:03 Configure a credential helper to remove this warning. See 06:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:03 06:29:03 Login Succeeded 06:29:03 nexus3.edgexfoundry.org:10002 06:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:03 Configure a credential helper to remove this warning. See 06:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:03 06:29:03 Login Succeeded 06:29:03 nexus3.edgexfoundry.org:10003 06:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:04 Configure a credential helper to remove this warning. See 06:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:04 06:29:04 Login Succeeded 06:29:04 nexus3.edgexfoundry.org:10004 06:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:04 Configure a credential helper to remove this warning. See 06:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:04 06:29:04 Login Succeeded 06:29:04 docker.io 06:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:04 Configure a credential helper to remove this warning. See 06:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:04 06:29:04 Login Succeeded 06:29:04 ---> docker-login.sh ends [Pipeline] } 06:29:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:29:05 + git rev-list -1 --merges 7610bd31758b5291cc9dd72b5daef9e95b51cdc4~1..7610bd31758b5291cc9dd72b5daef9e95b51cdc4 [Pipeline] echo 06:29:05 -----------> git rev-list -1 --merges 7610bd31758b5291cc9dd72b5daef9e95b51cdc4~1..7610bd31758b5291cc9dd72b5daef9e95b51cdc4 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 [false] [Pipeline] sh 06:29:05 + git log --format=format:%s -1 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 [Pipeline] echo 06:29:05 ========================================================= 06:29:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:29:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:29:05 + git log --format=format:%s -1 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 [Pipeline] echo 06:29:05 [semverPrep] GIT_COMMIT: 7610bd31758b5291cc9dd72b5daef9e95b51cdc4, Commit Message: style(snap): go fmt [Pipeline] echo 06:29:05 [semverPrep] This is not a build commit. [Pipeline] sh 06:29:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:29:06 + grep -v github /etc/ssh/ssh_known_hosts 06:29:06 + [ -e /tmp/ssh_known_hosts ] 06:29:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:29:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:29:06 + sudo tee -a /etc/ssh/ssh_known_hosts 06:29:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:29:06 06:29:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:29:06 latest: Pulling from edgex-devops/py-git-semver 06:29:06 1fe172e4850f: Pulling fs layer 06:29:06 caf521ccaac6: Pulling fs layer 06:29:06 3ead6fa29328: Pulling fs layer 06:29:06 5c2a1cbceb83: Pulling fs layer 06:29:06 a8d5f1318db7: Pulling fs layer 06:29:06 c427282e49a2: Pulling fs layer 06:29:06 1827001aaf11: Pulling fs layer 06:29:06 0714d37db230: Pulling fs layer 06:29:06 ac28cf19c067: Pulling fs layer 06:29:06 ca983d60f3e2: Pulling fs layer 06:29:06 9f894cec8388: Pulling fs layer 06:29:06 5c2a1cbceb83: Waiting 06:29:06 a8d5f1318db7: Waiting 06:29:06 ca983d60f3e2: Waiting 06:29:06 ac28cf19c067: Waiting 06:29:06 0714d37db230: Waiting 06:29:06 9f894cec8388: Waiting 06:29:06 1827001aaf11: Waiting 06:29:06 c427282e49a2: Waiting 06:29:06 caf521ccaac6: Download complete 06:29:06 5c2a1cbceb83: Download complete 06:29:07 a8d5f1318db7: Verifying Checksum 06:29:07 a8d5f1318db7: Download complete 06:29:07 c427282e49a2: Download complete 06:29:07 3ead6fa29328: Verifying Checksum 06:29:07 3ead6fa29328: Download complete 06:29:07 0714d37db230: Verifying Checksum 06:29:07 0714d37db230: Download complete 06:29:07 ac28cf19c067: Verifying Checksum 06:29:07 ac28cf19c067: Download complete 06:29:07 ca983d60f3e2: Verifying Checksum 06:29:07 ca983d60f3e2: Download complete 06:29:07 9f894cec8388: Download complete 06:29:07 1fe172e4850f: Verifying Checksum 06:29:07 1fe172e4850f: Download complete 06:29:07 1827001aaf11: Verifying Checksum 06:29:07 1827001aaf11: Download complete 06:29:08 1fe172e4850f: Pull complete 06:29:08 caf521ccaac6: Pull complete 06:29:08 3ead6fa29328: Pull complete 06:29:08 5c2a1cbceb83: Pull complete 06:29:09 a8d5f1318db7: Pull complete 06:29:09 c427282e49a2: Pull complete 06:29:11 1827001aaf11: Pull complete 06:29:11 0714d37db230: Pull complete 06:29:11 ac28cf19c067: Pull complete 06:29:11 ca983d60f3e2: Pull complete 06:29:11 9f894cec8388: Pull complete 06:29:11 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:29:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:11 prd-ubuntu20.04-docker-8c-8g-634 does not seem to be running inside a container 06:29:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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-devops/py-git-semver:latest cat 06:29:13 $ docker top 311fb263e1a1baef79b1a82d02579696333a71549deecb01b27d94024abbc596 -eo pid,comm 06:29:13 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). 06:29:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:13 [ssh-agent] Looking for ssh-agent implementation... 06:29:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:13 $ docker exec 311fb263e1a1baef79b1a82d02579696333a71549deecb01b27d94024abbc596 ssh-agent 06:29:13 SSH_AUTH_SOCK=/tmp/ssh-8g50YuOWEj4y/agent.33 06:29:13 SSH_AGENT_PID=39 06:29:13 Running ssh-add (command line suppressed) 06:29:13 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_9162355294524285994.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_9162355294524285994.key) 06:29:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:14 + git tag --points-at HEAD [Pipeline] } 06:29:14 $ docker exec --env ******** --env ******** 311fb263e1a1baef79b1a82d02579696333a71549deecb01b27d94024abbc596 ssh-agent -k 06:29:14 unset SSH_AUTH_SOCK; 06:29:14 unset SSH_AGENT_PID; 06:29:14 echo Agent pid 39 killed; 06:29:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:29:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:14 [ssh-agent] Looking for ssh-agent implementation... 06:29:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:14 $ docker exec 311fb263e1a1baef79b1a82d02579696333a71549deecb01b27d94024abbc596 ssh-agent 06:29:14 SSH_AUTH_SOCK=/tmp/ssh-fSGeKY7cQNd5/agent.71 06:29:14 SSH_AGENT_PID=78 06:29:14 Running ssh-add (command line suppressed) 06:29:14 Identity added: /w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_3816390372601629343.key (/w/workspace/foundry_device-virtual-go_PR-287@tmp/private_key_3816390372601629343.key) 06:29:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:14 + git semver init 06:29:15 2022-06-02 06:29:15,112 [run_init] DEBUG init version:0.0.0 force:False 06:29:15 2022-06-02 06:29:15,113 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-virtual-go_PR-287/.semver 06:29:15 2022-06-02 06:29:15,114 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-virtual-go.git /w/workspace/foundry_device-virtual-go_PR-287/.semver 06:29:15 2022-06-02 06:29:15,114 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-virtual-go.git', '/w/workspace/foundry_device-virtual-go_PR-287/.semver'], cwd=/w/workspace/foundry_device-virtual-go_PR-287, universal_newlines=False, shell=None, istream=None) 06:29:16 2022-06-02 06:29:16,030 [append_file] DEBUG append to file:/w/workspace/foundry_device-virtual-go_PR-287/.git/info/exclude 06:29:16 2022-06-02 06:29:16,031 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 with force:False 06:29:16 2022-06-02 06:29:16,031 [write_file] DEBUG write to file:/w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 06:29:16 2022-06-02 06:29:16,035 [execute] INFO git cat-file --batch-check 06:29:16 2022-06-02 06:29:16,035 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 06:29:16 2022-06-02 06:29:16,043 [execute] INFO git cat-file --batch 06:29:16 2022-06-02 06:29:16,044 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-virtual-go_PR-287/.semver, universal_newlines=False, shell=None, istream=) 06:29:16 2022-06-02 06:29:16,050 [read_version] DEBUG read version from /w/workspace/foundry_device-virtual-go_PR-287/.semver/PR-287 06:29:16 0.0.0 [Pipeline] } 06:29:16 $ docker exec --env ******** --env ******** 311fb263e1a1baef79b1a82d02579696333a71549deecb01b27d94024abbc596 ssh-agent -k 06:29:16 unset SSH_AUTH_SOCK; 06:29:16 unset SSH_AGENT_PID; 06:29:16 echo Agent pid 78 killed; 06:29:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:16 + git semver [Pipeline] } 06:29:16 $ docker stop --time=1 311fb263e1a1baef79b1a82d02579696333a71549deecb01b27d94024abbc596 06:29:18 $ docker rm -f 311fb263e1a1baef79b1a82d02579696333a71549deecb01b27d94024abbc596 [Pipeline] // withDockerContainer [Pipeline] sh 06:29:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:29:18 Stashed 1 file(s) [Pipeline] echo 06:29:18 [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 06:29:18 provisioning config files... 06:29:18 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config6989048113335285326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:29:19 ---> docker-login.sh 06:29:19 nexus3.edgexfoundry.org:10001 06:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:19 Configure a credential helper to remove this warning. See 06:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:19 06:29:19 Login Succeeded 06:29:19 nexus3.edgexfoundry.org:10002 06:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:19 Configure a credential helper to remove this warning. See 06:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:19 06:29:19 Login Succeeded 06:29:19 nexus3.edgexfoundry.org:10003 06:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:19 Configure a credential helper to remove this warning. See 06:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:19 06:29:19 Login Succeeded 06:29:19 nexus3.edgexfoundry.org:10004 06:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:19 Configure a credential helper to remove this warning. See 06:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:19 06:29:19 Login Succeeded 06:29:19 docker.io 06:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:20 Configure a credential helper to remove this warning. See 06:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:20 06:29:20 Login Succeeded 06:29:20 ---> docker-login.sh ends [Pipeline] } 06:29:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:29:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:29:20 ========================================================= 06:29:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:29:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:29:20 Sending build context to Docker daemon 23.02MB 06:29:20 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:29:20 Step 2/12 : FROM ${BASE} AS builder 06:29:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:29:20 59bf1c3509f3: Pulling fs layer 06:29:20 666ba61612fd: Pulling fs layer 06:29:20 8ed8ca486205: Pulling fs layer 06:29:20 4fe6c5a15a65: Pulling fs layer 06:29:20 22a0e8bec74d: Pulling fs layer 06:29:20 ca2b28591e48: Pulling fs layer 06:29:20 a51346096db8: Pulling fs layer 06:29:20 daebc70d1ce1: Pulling fs layer 06:29:20 0e18a0eac166: Pulling fs layer 06:29:20 4fe6c5a15a65: Waiting 06:29:20 22a0e8bec74d: Waiting 06:29:20 ca2b28591e48: Waiting 06:29:20 a51346096db8: Waiting 06:29:20 daebc70d1ce1: Waiting 06:29:20 0e18a0eac166: Waiting 06:29:20 8ed8ca486205: Download complete 06:29:20 666ba61612fd: Download complete 06:29:20 22a0e8bec74d: Download complete 06:29:20 ca2b28591e48: Verifying Checksum 06:29:20 ca2b28591e48: Download complete 06:29:20 a51346096db8: Verifying Checksum 06:29:20 a51346096db8: Download complete 06:29:20 59bf1c3509f3: Verifying Checksum 06:29:20 59bf1c3509f3: Download complete 06:29:20 daebc70d1ce1: Download complete 06:29:20 59bf1c3509f3: Pull complete 06:29:20 666ba61612fd: Pull complete 06:29:20 8ed8ca486205: Pull complete 06:29:21 4fe6c5a15a65: Verifying Checksum 06:29:21 4fe6c5a15a65: Download complete 06:29:21 0e18a0eac166: Verifying Checksum 06:29:21 0e18a0eac166: Download complete 06:29:24 4fe6c5a15a65: Pull complete 06:29:24 22a0e8bec74d: Pull complete 06:29:24 ca2b28591e48: Pull complete 06:29:24 a51346096db8: Pull complete 06:29:25 daebc70d1ce1: Pull complete 06:29:27 0e18a0eac166: Pull complete 06:29:27 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:29:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:29:27 ---> f018257e8ee9 06:29:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:29:28 ---> Running in e654de3795d5 06:29:29 Removing intermediate container e654de3795d5 06:29:29 ---> 265a4a82d413 06:29:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:29:29 ---> Running in bed5201fa8bf 06:29:29 Removing intermediate container bed5201fa8bf 06:29:29 ---> aad905b450b3 06:29:29 Step 5/12 : WORKDIR /device-virtual-go 06:29:29 ---> Running in b904294d72a9 06:29:29 Removing intermediate container b904294d72a9 06:29:29 ---> dc8cbc34a297 06:29:29 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:29:29 ---> Running in 79251ccb04bc 06:29:30 Removing intermediate container 79251ccb04bc 06:29:30 ---> cab0474fec73 06:29:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:29:30 ---> Running in 151f77a8f801 06:29:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:29:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:29:31 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:29:31 (2/4) Installing libedit (20210910.3.1-r0) 06:29:31 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:29:31 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:29:31 Executing busybox-1.34.1-r3.trigger 06:29:31 OK: 224 MiB in 56 packages 06:29:32 Removing intermediate container 151f77a8f801 06:29:32 ---> cfbc576c8333 06:29:32 Step 8/12 : COPY go.mod vendor* ./ 06:29:32 ---> b5103e7821c8 06:29:32 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:29:32 ---> Running in fe51a7ab831e 06:29:33 Still waiting to schedule task 06:29:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-633’ is offline 06:29:47 Removing intermediate container fe51a7ab831e 06:29:47 ---> 8d1e50112099 06:29:47 Step 10/12 : COPY . . 06:29:47 ---> 855942018c9f 06:29:47 Step 11/12 : ARG MAKE='make build' 06:29:47 ---> Running in 5f168c3870a6 06:29:47 Removing intermediate container 5f168c3870a6 06:29:47 ---> aac9b2aaa63a 06:29:47 Step 12/12 : RUN $MAKE 06:29:47 ---> Running in 20ec6f45d9fb 06:29:47 noop 06:29:47 Removing intermediate container 20ec6f45d9fb 06:29:47 ---> c001c1e86f36 06:29:47 Successfully built c001c1e86f36 06:29:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:47 + docker inspect -f . ci-base-image-x86_64 06:29:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:47 prd-ubuntu20.04-docker-8c-8g-634 does not seem to be running inside a container 06:29:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:29:48 $ docker top 9f1263e3b2f077af825ae1d46b9027063643728eed99a43821b72677d0b59b8b -eo pid,comm [Pipeline] { [Pipeline] sh 06:29:48 + go version 06:29:48 go version go1.17.6 linux/amd64 [Pipeline] } 06:29:48 $ docker stop --time=1 9f1263e3b2f077af825ae1d46b9027063643728eed99a43821b72677d0b59b8b 06:29:49 $ docker rm -f 9f1263e3b2f077af825ae1d46b9027063643728eed99a43821b72677d0b59b8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:50 + docker inspect -f . ci-base-image-x86_64 06:29:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:50 prd-ubuntu20.04-docker-8c-8g-634 does not seem to be running inside a container 06:29:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:29:50 $ docker top 90ca65d997ef5bbbe10e771e67a1028ff969645a841edde598f5f7e1f1bbc654 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:29:51 + make test 06:29:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:29:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:30:01 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:30:01 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.040s coverage: 65.7% of statements 06:30:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:30:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:30:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:30:10 ./bin/test-attribution-txt.sh [Pipeline] echo 06:30:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:30:10 $ docker stop --time=1 90ca65d997ef5bbbe10e771e67a1028ff969645a841edde598f5f7e1f1bbc654 06:30:12 $ docker rm -f 90ca65d997ef5bbbe10e771e67a1028ff969645a841edde598f5f7e1f1bbc654 [Pipeline] // withDockerContainer [Pipeline] sh 06:30:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:30:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:30:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:30:14 + ls -al . 06:30:14 total 192 06:30:14 drwxrwxr-x 9 jenkins jenkins 4096 Jun 2 06:30 . 06:30:14 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 06:28 .. 06:30:14 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 06:29 .git 06:30:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 06:28 .github 06:30:14 -rw-rw-r-- 1 jenkins jenkins 337 Jun 2 06:28 .gitignore 06:30:14 -rw-rw-r-- 1 jenkins jenkins 41 Jun 2 06:28 .golangci.yml 06:30:14 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 06:29 .semver 06:30:14 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 2 06:28 Attribution.txt 06:30:14 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 2 06:28 CHANGELOG.md 06:30:14 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 2 06:28 Dockerfile 06:30:14 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 06:28 GOVERNANCE.md 06:30:14 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 06:28 Jenkinsfile 06:30:14 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 06:28 LICENSE 06:30:14 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 2 06:28 Makefile 06:30:14 -rw-rw-r-- 1 jenkins jenkins 623 Jun 2 06:28 OWNERS.md 06:30:14 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 2 06:28 README.md 06:30:14 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 06:29 VERSION 06:30:14 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 06:28 bin 06:30:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:28 cmd 06:30:14 -rw-r--r-- 1 jenkins jenkins 44128 Jun 2 06:30 coverage.out 06:30:14 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 2 06:28 go.mod 06:30:14 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 2 06:28 go.sum 06:30:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:28 internal 06:30:14 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:28 snap 06:30:14 -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 06:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:14 + 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=7610bd31758b5291cc9dd72b5daef9e95b51cdc4 --label arch=amd64 --label version=0.0.0 . 06:30:14 Sending build context to Docker daemon 23.06MB 06:30:14 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:30:14 Step 2/26 : FROM ${BASE} AS builder 06:30:14 ---> c001c1e86f36 06:30:14 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:30:14 ---> Running in a5eba07c781e 06:30:14 Removing intermediate container a5eba07c781e 06:30:14 ---> 60a898f85d48 06:30:14 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:30:14 ---> Running in 153c7da13552 06:30:14 Removing intermediate container 153c7da13552 06:30:14 ---> 09e0038ef333 06:30:14 Step 5/26 : WORKDIR /device-virtual-go 06:30:14 ---> Running in 709474600df6 06:30:14 Removing intermediate container 709474600df6 06:30:14 ---> 4c2c1ee16218 06:30:14 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:15 ---> Running in f5b3565d66ba 06:30:15 Removing intermediate container f5b3565d66ba 06:30:15 ---> 353482566bb5 06:30:15 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:30:15 ---> Running in fa5111208abe 06:30:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:30:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:30:17 OK: 224 MiB in 56 packages 06:30:17 Removing intermediate container fa5111208abe 06:30:17 ---> ebd4d73070bf 06:30:17 Step 8/26 : COPY go.mod vendor* ./ 06:30:17 ---> 96c9b9ace5ed 06:30:17 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:30:17 ---> Running in 0eb117dacfaa 06:30:18 Removing intermediate container 0eb117dacfaa 06:30:18 ---> 81b7fa8ad019 06:30:18 Step 10/26 : COPY . . 06:30:18 ---> 3cda43d85451 06:30:18 Step 11/26 : ARG MAKE='make build' 06:30:19 ---> Running in f675b24af9f5 06:30:19 Removing intermediate container f675b24af9f5 06:30:19 ---> c94a644fddff 06:30:19 Step 12/26 : RUN $MAKE 06:30:19 ---> Running in 21a48cb24720 06:30:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 06:30:41 Removing intermediate container 21a48cb24720 06:30:41 ---> f74ca19dca25 06:30:41 Step 13/26 : FROM alpine:3.14 06:30:41 3.14: Pulling from library/alpine 06:30:41 8663204ce13b: Pulling fs layer 06:30:41 8663204ce13b: Verifying Checksum 06:30:41 8663204ce13b: Download complete 06:30:41 8663204ce13b: Pull complete 06:30:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:30:41 Status: Downloaded newer image for alpine:3.14 06:30:41 ---> e04c818066af 06:30:41 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:30:41 ---> Running in bd79485f69d9 06:30:41 Removing intermediate container bd79485f69d9 06:30:41 ---> 9d6aecb8b6a5 06:30:41 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:41 ---> Running in 8c758618d36b 06:30:41 Removing intermediate container 8c758618d36b 06:30:41 ---> ebebb1c4b157 06:30:41 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:30:41 ---> Running in 6ac3e53b8f39 06:30:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:30:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:30:41 (1/6) Installing dumb-init (1.2.5-r1) 06:30:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:30:41 (3/6) Installing libsodium (1.0.18-r0) 06:30:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:30:42 (5/6) Installing libzmq (4.3.4-r0) 06:30:42 (6/6) Installing zeromq (4.3.4-r0) 06:30:42 Executing busybox-1.33.1-r7.trigger 06:30:42 OK: 8 MiB in 20 packages 06:30:42 Removing intermediate container 6ac3e53b8f39 06:30:42 ---> 08b693662d57 06:30:42 Step 17/26 : WORKDIR / 06:30:42 ---> Running in ef013b8b543c 06:30:42 Removing intermediate container ef013b8b543c 06:30:42 ---> a1319dbcb3fa 06:30:42 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:30:43 ---> 4a43eeed2e0a 06:30:43 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:30:43 ---> 9b17af684847 06:30:43 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:30:43 ---> a13be2dd68ad 06:30:43 Step 21/26 : EXPOSE 59900 06:30:43 ---> Running in ca90921f5df7 06:30:43 Removing intermediate container ca90921f5df7 06:30:43 ---> 4cfd0bbd47ce 06:30:43 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:30:43 ---> Running in bf2832e2ba71 06:30:44 Removing intermediate container bf2832e2ba71 06:30:44 ---> f89b77a58d01 06:30:44 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:30:44 ---> Running in f4a7064c4688 06:30:44 Removing intermediate container f4a7064c4688 06:30:44 ---> 2c6f8f06aacd 06:30:44 Step 24/26 : LABEL arch=amd64 06:30:44 ---> Running in e0215b0f7d69 06:30:44 Removing intermediate container e0215b0f7d69 06:30:44 ---> 251e8643793d 06:30:44 Step 25/26 : LABEL git_sha=7610bd31758b5291cc9dd72b5daef9e95b51cdc4 06:30:44 ---> Running in 99ec386f1a8f 06:30:44 Removing intermediate container 99ec386f1a8f 06:30:44 ---> d1509d8a8352 06:30:44 Step 26/26 : LABEL version=0.0.0 06:30:44 ---> Running in 7bd3d5229ef6 06:30:44 Removing intermediate container 7bd3d5229ef6 06:30:44 ---> c453e8f726f4 06:30:44 [Warning] One or more build-args [ARCH] were not consumed 06:30:44 Successfully built c453e8f726f4 06:30:44 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 06:30:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:45 06:30:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:45 latest: Pulling from edgex-lftools-log-publisher 06:30:45 5eb5b503b376: Pulling fs layer 06:30:45 5c69ac0246d0: Pulling fs layer 06:30:45 ec43610c2a17: Pulling fs layer 06:30:45 3a2ae6a8a46f: Pulling fs layer 06:30:45 33b1e0a273af: Pulling fs layer 06:30:45 5d3b04190fa2: Pulling fs layer 06:30:45 2f39f015ded8: Pulling fs layer 06:30:45 33b1e0a273af: Waiting 06:30:45 5d3b04190fa2: Waiting 06:30:45 3a2ae6a8a46f: Waiting 06:30:45 2f39f015ded8: Waiting 06:30:45 5c69ac0246d0: Download complete 06:30:45 3a2ae6a8a46f: Download complete 06:30:45 33b1e0a273af: Verifying Checksum 06:30:45 33b1e0a273af: Download complete 06:30:45 5d3b04190fa2: Download complete 06:30:45 ec43610c2a17: Verifying Checksum 06:30:45 ec43610c2a17: Download complete 06:30:45 5eb5b503b376: Verifying Checksum 06:30:45 5eb5b503b376: Download complete 06:30:46 2f39f015ded8: Verifying Checksum 06:30:46 2f39f015ded8: Download complete 06:30:47 5eb5b503b376: Pull complete 06:30:47 5c69ac0246d0: Pull complete 06:30:47 ec43610c2a17: Pull complete 06:30:47 3a2ae6a8a46f: Pull complete 06:30:47 33b1e0a273af: Pull complete 06:30:47 5d3b04190fa2: Pull complete 06:30:53 2f39f015ded8: Pull complete 06:30:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:30:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:30:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:53 prd-ubuntu20.04-docker-8c-8g-634 does not seem to be running inside a container 06:30:53 $ 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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:30:55 $ docker top 9f0311463d2edd41f5b4d75bfbf6725dfcf1a4defd369d725ce7c2df7da09fb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:55 ---> job-cost.sh 06:30:55 lf-activate-venv: SKIPPING 06:30:55 INFO: No Stack... 06:30:56 INFO: Retrieving Pricing Info for: v3-standard-8 06:30:56 INFO: Archiving Costs [Pipeline] sh 06:30:56 + cat /w/workspace/foundry_device-virtual-go_PR-287/archives/cost.csv 06:30:56 + cut -d, -f6 [Pipeline] lock 06:30:56 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-4-stack-cost] 06:30:56 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-4-stack-cost] did not exist. Created. 06:30:56 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:30:57 + echo total: 0.2199999988079071 [Pipeline] stash 06:30:57 Stashed 1 file(s) [Pipeline] } 06:30:57 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:30:57 $ docker stop --time=1 9f0311463d2edd41f5b4d75bfbf6725dfcf1a4defd369d725ce7c2df7da09fb4 06:30:58 $ docker rm -f 9f0311463d2edd41f5b4d75bfbf6725dfcf1a4defd369d725ce7c2df7da09fb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:31:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-635 in /w/workspace/foundry_device-virtual-go_PR-287 [Pipeline] { [Pipeline] ws 06:31:07 Running in /w/workspace/device-virtual-go/4 [Pipeline] { [Pipeline] checkout 06:31:07 The recommended git tool is: git 06:31:14 using credential edgex-jenkins-ssh 06:31:14 Cloning the remote Git repository 06:31:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 06:31:14 > git init /w/workspace/device-virtual-go/4 # timeout=10 06:31:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:31:14 > git --version # timeout=10 06:31:14 > git --version # 'git version 2.25.1' 06:31:14 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:17 Merging remotes/origin/main commit 9cab87334a4d5affcc1b2c5c12d642008ef46c2d into PR head commit 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 06:31:16 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:31:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:16 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 06:31:16 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 06:31:16 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/287/head:refs/remotes/origin/PR-287 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:31:17 > git config core.sparsecheckout # timeout=10 06:31:17 > git checkout -f 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 # timeout=10 06:31:17 > git remote # timeout=10 06:31:17 Merge succeeded, producing 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 06:31:17 Checking out Revision 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 (PR-287) 06:31:17 > git config --get remote.origin.url # timeout=10 06:31:17 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:17 > git merge 9cab87334a4d5affcc1b2c5c12d642008ef46c2d # timeout=10 06:31:17 > git rev-parse HEAD^{commit} # timeout=10 06:31:17 > git config core.sparsecheckout # timeout=10 06:31:17 > git checkout -f 7610bd31758b5291cc9dd72b5daef9e95b51cdc4 # timeout=10 06:31:21 Commit message: "style(snap): go fmt" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:31:22 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:22 Dload Upload Total Spent Left Speed 06:31:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 90095 0 --:--:-- --:--:-- --:--:-- 89437 [Pipeline] sh 06:31:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:31:23 + sudo tee /etc/docker/daemon.new 06:31:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:31:23 { 06:31:23 "registry-mirrors": [ 06:31:23 "https://nexus3.edgexfoundry.org:10001" 06:31:23 ], 06:31:23 "bip": "10.250.0.254/24", 06:31:23 "hosts": [ 06:31:23 "tcp://0.0.0.0:5555", 06:31:23 "unix:///var/run/docker.sock" 06:31:23 ], 06:31:23 "mtu": 1458, 06:31:23 "selinux-enabled": true, 06:31:23 "seccomp-profile": "/etc/docker/seccomp.json" 06:31:23 } [Pipeline] sh 06:31:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:31:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:31:42 provisioning config files... 06:31:42 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/4@tmp/config3587211775885844432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:42 ---> docker-login.sh 06:31:42 nexus3.edgexfoundry.org:10001 06:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:43 Configure a credential helper to remove this warning. See 06:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:43 06:31:43 Login Succeeded 06:31:43 nexus3.edgexfoundry.org:10002 06:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:44 Configure a credential helper to remove this warning. See 06:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:44 06:31:44 Login Succeeded 06:31:44 nexus3.edgexfoundry.org:10003 06:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:44 Configure a credential helper to remove this warning. See 06:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:44 06:31:44 Login Succeeded 06:31:44 nexus3.edgexfoundry.org:10004 06:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:44 Configure a credential helper to remove this warning. See 06:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:44 06:31:44 Login Succeeded 06:31:44 docker.io 06:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:45 Configure a credential helper to remove this warning. See 06:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:45 06:31:45 Login Succeeded 06:31:45 ---> docker-login.sh ends [Pipeline] } 06:31:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:31:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:31:46 ========================================================= 06:31:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:31:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:46 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:31:47 Sending build context to Docker daemon 11.67MB 06:31:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:31:47 Step 2/12 : FROM ${BASE} AS builder 06:31:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:31:47 9b3977197b4f: Pulling fs layer 06:31:47 1a89e8eeedd5: Pulling fs layer 06:31:47 94645a83ff95: Pulling fs layer 06:31:47 3f3a8bcf1eab: Pulling fs layer 06:31:47 0c92f367c5e7: Pulling fs layer 06:31:47 3096ccb668a1: Pulling fs layer 06:31:47 e8cf19c19ddd: Pulling fs layer 06:31:47 a4caa8a26152: Pulling fs layer 06:31:47 3f3a8bcf1eab: Waiting 06:31:47 0c92f367c5e7: Waiting 06:31:47 3096ccb668a1: Waiting 06:31:47 e8cf19c19ddd: Waiting 06:31:47 a4caa8a26152: Waiting 06:31:47 94645a83ff95: Verifying Checksum 06:31:47 94645a83ff95: Download complete 06:31:47 1a89e8eeedd5: Verifying Checksum 06:31:47 1a89e8eeedd5: Download complete 06:31:47 0c92f367c5e7: Download complete 06:31:47 3096ccb668a1: Verifying Checksum 06:31:47 3096ccb668a1: Download complete 06:31:47 9b3977197b4f: Verifying Checksum 06:31:47 9b3977197b4f: Download complete 06:31:47 e8cf19c19ddd: Verifying Checksum 06:31:47 e8cf19c19ddd: Download complete 06:31:48 9b3977197b4f: Pull complete 06:31:48 1a89e8eeedd5: Pull complete 06:31:49 94645a83ff95: Pull complete 06:31:49 a4caa8a26152: Verifying Checksum 06:31:49 a4caa8a26152: Download complete 06:31:50 3f3a8bcf1eab: Download complete 06:32:02 3f3a8bcf1eab: Pull complete 06:32:02 0c92f367c5e7: Pull complete 06:32:02 3096ccb668a1: Pull complete 06:32:02 e8cf19c19ddd: Pull complete 06:32:09 a4caa8a26152: Pull complete 06:32:09 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:32:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:32:09 ---> 725f1c02e7f9 06:32:09 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:32:09 ---> Running in 426768bbb55c 06:32:10 Removing intermediate container 426768bbb55c 06:32:10 ---> 6f2bb228fe1f 06:32:10 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:32:10 ---> Running in 0691532c53be 06:32:10 Removing intermediate container 0691532c53be 06:32:10 ---> 7d652cdfbf21 06:32:10 Step 5/12 : WORKDIR /device-virtual-go 06:32:10 ---> Running in f849ac7c53ee 06:32:10 Removing intermediate container f849ac7c53ee 06:32:10 ---> 9357d4198504 06:32:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:32:10 ---> Running in 1809cde1d3b3 06:32:12 Removing intermediate container 1809cde1d3b3 06:32:12 ---> 5d76d8d60483 06:32:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:32:12 ---> Running in 181332c755b2 06:32:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:32:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:32:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:32:16 (2/4) Installing libedit (20210910.3.1-r0) 06:32:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:32:16 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:32:16 Executing busybox-1.34.1-r3.trigger 06:32:16 OK: 224 MiB in 56 packages 06:32:17 Removing intermediate container 181332c755b2 06:32:17 ---> e416728adfda 06:32:17 Step 8/12 : COPY go.mod vendor* ./ 06:32:18 ---> fd8dd0f7dcf4 06:32:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:32:18 ---> Running in 6231bf28e1c2 06:33:05 Removing intermediate container 6231bf28e1c2 06:33:05 ---> f5583c4b5a40 06:33:05 Step 10/12 : COPY . . 06:33:05 ---> 25cc0007d92b 06:33:05 Step 11/12 : ARG MAKE='make build' 06:33:05 ---> Running in 53d1d35b0745 06:33:05 Removing intermediate container 53d1d35b0745 06:33:05 ---> 156b3742e2bd 06:33:05 Step 12/12 : RUN $MAKE 06:33:05 ---> Running in 825708fd2e7b 06:33:05 noop 06:33:05 Removing intermediate container 825708fd2e7b 06:33:05 ---> 438f2057a8c9 06:33:05 Successfully built 438f2057a8c9 06:33:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:05 + docker inspect -f . ci-base-image-arm64 06:33:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:06 prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container 06:33:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:33:07 $ docker top 90e141f83b0ab0ca4f162591e755bb8df8af380259ac56d0f9b40f2c748499db -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:08 + go version 06:33:08 go version go1.17.6 linux/arm64 [Pipeline] } 06:33:08 $ docker stop --time=1 90e141f83b0ab0ca4f162591e755bb8df8af380259ac56d0f9b40f2c748499db 06:33:10 $ docker rm -f 90e141f83b0ab0ca4f162591e755bb8df8af380259ac56d0f9b40f2c748499db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:10 + docker inspect -f . ci-base-image-arm64 06:33:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:11 prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container 06:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:33:12 $ docker top 6350c42e2d3857ff0fe8211436f36bcf586f66597da1816d5d9dd25b98d2c017 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:33:13 + make test 06:33:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:33:14 ? github.com/edgexfoundry/device-virtual-go [no test files] 06:34:36 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 06:34:36 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.136s coverage: 65.7% of statements 06:34:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:34:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:34:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:34:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:34:55 ./bin/test-attribution-txt.sh [Pipeline] echo 06:34:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:34:57 $ docker stop --time=1 6350c42e2d3857ff0fe8211436f36bcf586f66597da1816d5d9dd25b98d2c017 06:34:58 $ docker rm -f 6350c42e2d3857ff0fe8211436f36bcf586f66597da1816d5d9dd25b98d2c017 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:34:59 Warning: overwriting stash ‘coverage-report’ 06:35:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:35:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:01 + ls -al . 06:35:01 total 188 06:35:01 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 06:34 . 06:35:01 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 06:31 .. 06:35:01 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 06:31 .git 06:35:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 06:31 .github 06:35:01 -rw-rw-r-- 1 jenkins jenkins 337 Jun 2 06:31 .gitignore 06:35:01 -rw-rw-r-- 1 jenkins jenkins 41 Jun 2 06:31 .golangci.yml 06:35:01 -rw-rw-r-- 1 jenkins jenkins 8026 Jun 2 06:31 Attribution.txt 06:35:01 -rw-rw-r-- 1 jenkins jenkins 9649 Jun 2 06:31 CHANGELOG.md 06:35:01 -rw-rw-r-- 1 jenkins jenkins 1974 Jun 2 06:31 Dockerfile 06:35:01 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 06:31 GOVERNANCE.md 06:35:01 -rw-rw-r-- 1 jenkins jenkins 660 Jun 2 06:31 Jenkinsfile 06:35:01 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 2 06:31 LICENSE 06:35:01 -rw-rw-r-- 1 jenkins jenkins 2248 Jun 2 06:31 Makefile 06:35:01 -rw-rw-r-- 1 jenkins jenkins 623 Jun 2 06:31 OWNERS.md 06:35:01 -rw-rw-r-- 1 jenkins jenkins 2914 Jun 2 06:31 README.md 06:35:01 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 06:29 VERSION 06:35:01 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 06:31 bin 06:35:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:31 cmd 06:35:01 -rw-r--r-- 1 jenkins jenkins 44128 Jun 2 06:34 coverage.out 06:35:01 -rw-rw-r-- 1 jenkins jenkins 3139 Jun 2 06:31 go.mod 06:35:01 -rw-rw-r-- 1 jenkins jenkins 35006 Jun 2 06:31 go.sum 06:35:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:31 internal 06:35:01 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 06:31 snap 06:35:01 -rw-rw-r-- 1 jenkins jenkins 235 Jun 2 06:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:01 + 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=7610bd31758b5291cc9dd72b5daef9e95b51cdc4 --label arch=arm64 --label version=0.0.0 . 06:35:01 Sending build context to Docker daemon 11.71MB 06:35:01 Step 1/26 : ARG BASE=golang:1.17-alpine3.15 06:35:01 Step 2/26 : FROM ${BASE} AS builder 06:35:01 ---> 438f2057a8c9 06:35:01 Step 3/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:35:01 ---> Running in 65a49bbb9110 06:35:02 Removing intermediate container 65a49bbb9110 06:35:02 ---> 09ddb3c1bdb9 06:35:02 Step 4/26 : ARG ALPINE_PKG_EXTRA="" 06:35:02 ---> Running in 2278f1e9b73d 06:35:02 Removing intermediate container 2278f1e9b73d 06:35:02 ---> 1bf038a38862 06:35:02 Step 5/26 : WORKDIR /device-virtual-go 06:35:02 ---> Running in 3e79ab7b93d3 06:35:03 Removing intermediate container 3e79ab7b93d3 06:35:03 ---> bf2665276623 06:35:03 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:03 ---> Running in c306857acb11 06:35:04 Removing intermediate container c306857acb11 06:35:04 ---> 060d0101f44f 06:35:04 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:35:04 ---> Running in 3d8280593e3c 06:35:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:35:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:35:07 OK: 224 MiB in 56 packages 06:35:08 Removing intermediate container 3d8280593e3c 06:35:08 ---> 50249305a17f 06:35:08 Step 8/26 : COPY go.mod vendor* ./ 06:35:08 ---> 101969ebde5e 06:35:08 Step 9/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:08 ---> Running in 4b63345911fa 06:35:10 Removing intermediate container 4b63345911fa 06:35:10 ---> 559dffd4fe23 06:35:10 Step 10/26 : COPY . . 06:35:11 ---> c42fbe083999 06:35:11 Step 11/26 : ARG MAKE='make build' 06:35:11 ---> Running in 88064ae3ab2b 06:35:12 Removing intermediate container 88064ae3ab2b 06:35:12 ---> 70cd41896528 06:35:12 Step 12/26 : RUN $MAKE 06:35:12 ---> Running in 71861f73a7ec 06:35:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-virtual ./cmd 06:37:20 Removing intermediate container 71861f73a7ec 06:37:20 ---> f0504c3c4cc4 06:37:20 Step 13/26 : FROM alpine:3.14 06:37:20 3.14: Pulling from library/alpine 06:37:20 455c02918c45: Pulling fs layer 06:37:20 455c02918c45: Verifying Checksum 06:37:20 455c02918c45: Download complete 06:37:20 455c02918c45: Pull complete 06:37:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:37:20 Status: Downloaded newer image for alpine:3.14 06:37:20 ---> ac73e934f311 06:37:20 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IOTech' 06:37:20 ---> Running in 27f35a37cadd 06:37:20 Removing intermediate container 27f35a37cadd 06:37:20 ---> eb6cfd23266e 06:37:20 Step 15/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:37:20 ---> Running in 72c5d77316ec 06:37:20 Removing intermediate container 72c5d77316ec 06:37:20 ---> 483f5d24abf5 06:37:20 Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init 06:37:20 ---> Running in 503efb2fb759 06:37:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:37:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:37:20 (1/6) Installing dumb-init (1.2.5-r1) 06:37:20 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:37:20 (3/6) Installing libsodium (1.0.18-r0) 06:37:20 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:37:20 (5/6) Installing libzmq (4.3.4-r0) 06:37:20 (6/6) Installing zeromq (4.3.4-r0) 06:37:20 Executing busybox-1.33.1-r7.trigger 06:37:20 OK: 8 MiB in 20 packages 06:37:20 Removing intermediate container 503efb2fb759 06:37:20 ---> c0dd043eb3a7 06:37:20 Step 17/26 : WORKDIR / 06:37:20 ---> Running in 47bdd265f990 06:37:20 Removing intermediate container 47bdd265f990 06:37:20 ---> 36c539c0ae7f 06:37:20 Step 18/26 : COPY --from=builder /device-virtual-go/Attribution.txt / 06:37:20 ---> 2aef881aea5c 06:37:20 Step 19/26 : COPY --from=builder /device-virtual-go/LICENSE / 06:37:20 ---> 9ec665f71a79 06:37:20 Step 20/26 : COPY --from=builder /device-virtual-go/cmd / 06:37:20 ---> 6b6799dcf522 06:37:20 Step 21/26 : EXPOSE 59900 06:37:20 ---> Running in 6aa7f5b27284 06:37:20 Removing intermediate container 6aa7f5b27284 06:37:20 ---> 8e6d580db47e 06:37:20 Step 22/26 : ENTRYPOINT ["/device-virtual"] 06:37:20 ---> Running in f0a8ede10d7b 06:37:20 Removing intermediate container f0a8ede10d7b 06:37:20 ---> f54a38856df8 06:37:20 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:37:20 ---> Running in 55fb5c3c60af 06:37:20 Removing intermediate container 55fb5c3c60af 06:37:20 ---> aee66457ecb5 06:37:20 Step 24/26 : LABEL arch=arm64 06:37:20 ---> Running in 17c27da2e888 06:37:20 Removing intermediate container 17c27da2e888 06:37:20 ---> e00adcc27b3d 06:37:20 Step 25/26 : LABEL git_sha=7610bd31758b5291cc9dd72b5daef9e95b51cdc4 06:37:20 ---> Running in 3ddad5dae973 06:37:21 Removing intermediate container 3ddad5dae973 06:37:21 ---> 81a48adfadea 06:37:21 Step 26/26 : LABEL version=0.0.0 06:37:21 ---> Running in 44f98ee14baf 06:37:21 Removing intermediate container 44f98ee14baf 06:37:21 ---> f55ac5916771 06:37:21 [Warning] One or more build-args [ARCH] were not consumed 06:37:21 Successfully built f55ac5916771 06:37:21 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 06:37:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:37:22 06:37:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:37:22 arm64: Pulling from edgex-lftools-log-publisher 06:37:22 8998bd30e6a1: Pulling fs layer 06:37:22 04944245beec: Pulling fs layer 06:37:22 699f458cf7ca: Pulling fs layer 06:37:22 765212b225bb: Pulling fs layer 06:37:22 f23df028b6ca: Pulling fs layer 06:37:22 d65c8cfc05b1: Pulling fs layer 06:37:22 2437ff75d9bd: Pulling fs layer 06:37:22 f23df028b6ca: Waiting 06:37:22 d65c8cfc05b1: Waiting 06:37:22 2437ff75d9bd: Waiting 06:37:22 765212b225bb: Waiting 06:37:22 04944245beec: Verifying Checksum 06:37:22 04944245beec: Download complete 06:37:22 765212b225bb: Verifying Checksum 06:37:22 765212b225bb: Download complete 06:37:22 f23df028b6ca: Download complete 06:37:22 d65c8cfc05b1: Verifying Checksum 06:37:22 d65c8cfc05b1: Download complete 06:37:23 699f458cf7ca: Verifying Checksum 06:37:23 699f458cf7ca: Download complete 06:37:23 8998bd30e6a1: Verifying Checksum 06:37:23 8998bd30e6a1: Download complete 06:37:25 2437ff75d9bd: Verifying Checksum 06:37:25 2437ff75d9bd: Download complete 06:37:27 8998bd30e6a1: Pull complete 06:37:27 04944245beec: Pull complete 06:37:29 699f458cf7ca: Pull complete 06:37:29 765212b225bb: Pull complete 06:37:30 f23df028b6ca: Pull complete 06:37:30 d65c8cfc05b1: Pull complete 06:37:45 2437ff75d9bd: Pull complete 06:37:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:37:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:37:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:45 prd-ubuntu20.04-docker-arm64-4c-16g-635 does not seem to be running inside a container 06:37:45 $ 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/4 -v /w/workspace/device-virtual-go/4:/w/workspace/device-virtual-go/4:rw,z -v /w/workspace/device-virtual-go/4@tmp:/w/workspace/device-virtual-go/4@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 ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:37:48 $ docker top db13719367cdc06c8f246641a921bd21d20205dad3c6e219d2b1390359d2f5d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:49 ---> job-cost.sh 06:37:49 lf-activate-venv: SKIPPING 06:37:49 INFO: No Stack... 06:37:49 INFO: Retrieving Pricing Info for: v3-standard-4 06:37:50 INFO: Archiving Costs [Pipeline] sh 06:37:51 + cut -d, -f6 06:37:51 + cat /w/workspace/device-virtual-go/4/archives/cost.csv [Pipeline] lock 06:37:51 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-287-4-stack-cost] 06:37:51 Resource [jenkins-edgexfoundry-device-virtual-go-PR-287-4-stack-cost] did not exist. Created. 06:37:51 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-287-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:37:52 /w/workspace/device-virtual-go/4@tmp/durable-3f9d4bfb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:37:52 + echo total: 0.10999999940395355 [Pipeline] stash 06:37:52 Warning: overwriting stash ‘stack-cost’ 06:37:52 Stashed 1 file(s) [Pipeline] } 06:37:52 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-287-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:37:52 $ docker stop --time=1 db13719367cdc06c8f246641a921bd21d20205dad3c6e219d2b1390359d2f5d8 06:37:54 $ docker rm -f db13719367cdc06c8f246641a921bd21d20205dad3c6e219d2b1390359d2f5d8 [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 06:37:54 provisioning config files... 06:37:55 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config1455792030954276797tmp [Pipeline] { [Pipeline] sh 06:37:55 + set +x 06:37:55 + curl -s https://codecov.io/bash 06:37:55 + bash -s -- 06:37:55 06:37:55 _____ _ 06:37:55 / ____| | | 06:37:55 | | ___ __| | ___ ___ _____ __ 06:37:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:37:55 | |___| (_) | (_| | __/ (_| (_) \ V / 06:37:55 \_____\___/ \__,_|\___|\___\___/ \_/ 06:37:55 Bash-1.0.6 06:37:55 06:37:55 06:37:55 ==> git version 2.25.1 found 06:37:55 ==> 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 06:37:55 Release-Date: 2020-01-08 06:37:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:37:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:37:55 ==> Jenkins CI detected. 06:37:55 current dir:  /w/workspace/foundry_device-virtual-go_PR-287 06:37:55 project root: . 06:37:55 --> token set from env 06:37:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:37:55 ==> Running gcov in . (disable via -X gcov) 06:37:55 ==> Python coveragepy not found 06:37:55 ==> Searching for coverage reports in: 06:37:55 + . 06:37:55 -> Found 1 reports 06:37:55 ==> Detecting git/mercurial file structure 06:37:55 ==> Reading reports 06:37:55 + ./coverage.out bytes=44128 06:37:55 ==> Appending adjustments 06:37:55 https://docs.codecov.io/docs/fixing-reports 06:37:55 + Found adjustments 06:37:55 ==> Gzipping contents 06:37:55 8.0K /tmp/codecov.wqL5tm.gz 06:37:55 ==> Uploading reports 06:37:55 url: https://codecov.io 06:37:55 query: branch=PR-287&commit=7610bd31758b5291cc9dd72b5daef9e95b51cdc4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 06:37:55 -> Pinging Codecov 06:37:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=a35e349c-7876-4d48-9269-e9fc36774240&branch=PR-287&commit=7610bd31758b5291cc9dd72b5daef9e95b51cdc4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-287%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=287&job=&cmd_args= 06:37:55 -> Uploading to 06:37:55 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/5E52B4B073DB2E39498172D8E973AA87/7610bd31758b5291cc9dd72b5daef9e95b51cdc4/e5c80086-a3a2-437a-8f4b-b2f2a66f3714.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T063755Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3df2ec17dd8dbfa51c25d035de2a3f703705739dbfd7b2ae9494362a2e67a20 06:37:55 % Total % Received % Xferd Average Speed Time Time Time Current 06:37:55 Dload Upload Total Spent Left Speed 06:37:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5473 0 0 100 5473 0 24653 --:--:-- --:--:-- --:--:-- 24542 100 5473 0 0 100 5473 0 21632 --:--:-- --:--:-- --:--:-- 21547 06:37:56 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/7610bd31758b5291cc9dd72b5daef9e95b51cdc4 [Pipeline] } 06:37:56 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 06:37:56 + [ -d /w/workspace/foundry_device-virtual-go_PR-287/archives ] 06:37:56 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 06:37:56 total 16 06:37:56 drwxr-xr-x 3 root root 4096 Jun 2 06:30 . 06:37:56 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 06:30 .. 06:37:56 drwxr-xr-x 2 root root 4096 Jun 2 06:30 cost 06:37:56 -rw-r--r-- 1 root root 88 Jun 2 06:30 cost.csv 06:37:56 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-287/archives 06:37:56 + ls -al /w/workspace/foundry_device-virtual-go_PR-287/archives 06:37:56 total 16 06:37:56 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 06:30 . 06:37:56 drwxrwxr-x 10 jenkins jenkins 4096 Jun 2 06:30 .. 06:37:56 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 06:30 cost 06:37:56 -rw-r--r-- 1 jenkins jenkins 88 Jun 2 06:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:37:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:37:58 ---> package-listing.sh 06:37:58 ++ tr '[:upper:]' '[:lower:]' 06:37:58 ++ facter osfamily 06:37:58 + OS_FAMILY=debian 06:37:58 + workspace=/w/workspace/foundry_device-virtual-go_PR-287 06:37:58 + START_PACKAGES=/tmp/packages_start.txt 06:37:58 + END_PACKAGES=/tmp/packages_end.txt 06:37:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:37:58 + PACKAGES=/tmp/packages_start.txt 06:37:58 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 06:37:58 + PACKAGES=/tmp/packages_end.txt 06:37:58 + case "${OS_FAMILY}" in 06:37:58 + dpkg -l 06:37:58 + grep '^ii' 06:37:58 + '[' -f /tmp/packages_start.txt ']' 06:37:58 + '[' -f /tmp/packages_end.txt ']' 06:37:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:37:58 + '[' /w/workspace/foundry_device-virtual-go_PR-287 ']' 06:37:58 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-287/archives/ 06:37:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-287/archives/ [Pipeline] echo 06:37:58 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:37:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:37:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:37:59 prd-ubuntu20.04-docker-8c-8g-634 does not seem to be running inside a container 06:37:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-287/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-287 -v /w/workspace/foundry_device-virtual-go_PR-287:/w/workspace/foundry_device-virtual-go_PR-287:rw,z -v /w/workspace/foundry_device-virtual-go_PR-287@tmp:/w/workspace/foundry_device-virtual-go_PR-287@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:37:59 $ docker top e634315ca0ed62085e293fde2ef66b34e197d52a313c26a6f1e4e96fc6735998 -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:59 + touch /tmp/pre-build-complete [Pipeline] sh 06:38:00 + mkdir -p /var/log/sysstat [Pipeline] sh 06:38:00 + ls /var/log/sa-host 06:38:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:00 provisioning config files... 06:38:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-287@tmp/config2594729003138993209tmp [Pipeline] { [Pipeline] echo 06:38:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:38:00 ---> create-netrc.sh [Pipeline] } 06:38:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:38:01 ---> python-tools-install.sh [Pipeline] echo 06:38:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:38:01 ---> sudo-logs.sh 06:38:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:38:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:38:01 ---> job-cost.sh 06:38:01 lf-activate-venv: SKIPPING 06:38:01 DEBUG: total: 0.2199999988079071 06:38:01 INFO: Retrieving Stack Cost... 06:38:02 INFO: Retrieving Pricing Info for: v3-standard-8 06:38:02 INFO: Archiving Costs [Pipeline] echo 06:38:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:38:02 ---> logs-deploy.sh 06:38:02 lf-activate-venv: SKIPPING 06:38:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-287/4 06:38:02 INFO: archiving workspace using pattern(s): 06:38:03 Archives upload complete. 06:38:03 INFO: archiving logs to Nexus