Pull request #378 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 jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 2c827a9d98d942daa042874c4a261230ad0958f3+9e5ff16ea29b888a79edc386c2a8af4882824547 (be19fdc29e9996e7094a4d9c7a44d5a7cd38c6de) 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-ssh16883783276625709967.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh3017418657750591759.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-378/workspace@libs/edgex-global-pipelines/.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-mqtt-go/branches/PR-378/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8210630747088232026.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh4276191652634313148.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-378/workspace@libs/lf-pipelines/.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-mqtt-go/branches/PR-378/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6212102560565016433.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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-mqtt-go, buildSnap:false] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-44842’ Running on prd-ubuntu20.04-docker-8c-8g-44844 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-378 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9e5ff16ea29b888a79edc386c2a8af4882824547 into PR head commit 2c827a9d98d942daa042874c4a261230ad0958f3 Merge succeeded, producing 2c827a9d98d942daa042874c4a261230ad0958f3 Checking out Revision 2c827a9d98d942daa042874c4a261230ad0958f3 (PR-378) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c827a9d98d942daa042874c4a261230ad0958f3 # 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 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c827a9d98d942daa042874c4a261230ad0958f3 # timeout=10 Commit message: "docs: additions to CHANGELOG" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:27:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 2653758dea4219ff41005db205ea611b60315acb # timeout=10 [Pipeline] withCredentials 06:27:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:27:35 ========================================================= 06:27:35 EdgeX Global Pipelines Version Info 06:27:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:27:35 ------------------- 06:27:35 stable info: 06:27:35 ------------------- 06:27:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:27:35 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:27:35 Message: update stable to v1.0.227 06:27:36 ------------------- 06:27:36 experimental info: 06:27:36 ------------------- 06:27:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:27:36 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:27:36 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-378 [Pipeline] echo 06:27:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-378 [Pipeline] echo 06:27:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-378 [Pipeline] echo 06:27:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c827a9d98d942daa042874c4a261230ad0958f3 [Pipeline] echo 06:27:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c827a9 [Pipeline] echo 06:27:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:27:37 provisioning config files... 06:27:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config6436533804318202172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:37 ---> docker-login.sh 06:27:37 nexus3.edgexfoundry.org:10001 06:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:37 Configure a credential helper to remove this warning. See 06:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:37 06:27:37 Login Succeeded 06:27:37 nexus3.edgexfoundry.org:10002 06:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:37 Configure a credential helper to remove this warning. See 06:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:37 06:27:37 Login Succeeded 06:27:37 nexus3.edgexfoundry.org:10003 06:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:37 Configure a credential helper to remove this warning. See 06:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:37 06:27:37 Login Succeeded 06:27:37 nexus3.edgexfoundry.org:10004 06:27:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:38 Configure a credential helper to remove this warning. See 06:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:38 06:27:38 Login Succeeded 06:27:38 docker.io 06:27:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:38 Configure a credential helper to remove this warning. See 06:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:38 06:27:38 Login Succeeded 06:27:38 ---> docker-login.sh ends [Pipeline] } 06:27:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:27:39 + git rev-list -1 --merges 2c827a9d98d942daa042874c4a261230ad0958f3~1..2c827a9d98d942daa042874c4a261230ad0958f3 [Pipeline] echo 06:27:39 -----------> git rev-list -1 --merges 2c827a9d98d942daa042874c4a261230ad0958f3~1..2c827a9d98d942daa042874c4a261230ad0958f3 2c827a9d98d942daa042874c4a261230ad0958f3 [false] [Pipeline] sh 06:27:39 + git log --format=format:%s -1 2c827a9d98d942daa042874c4a261230ad0958f3 [Pipeline] echo 06:27:39 ========================================================= 06:27:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:27:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:27:39 + git log --format=format:%s -1 2c827a9d98d942daa042874c4a261230ad0958f3 [Pipeline] echo 06:27:39 [semverPrep] GIT_COMMIT: 2c827a9d98d942daa042874c4a261230ad0958f3, Commit Message: docs: additions to CHANGELOG [Pipeline] echo 06:27:39 [semverPrep] This is not a build commit. [Pipeline] sh 06:27:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:27:40 + grep -v github /etc/ssh/ssh_known_hosts 06:27:40 + [ -e /tmp/ssh_known_hosts ] 06:27:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:27:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:27:40 + sudo tee -a /etc/ssh/ssh_known_hosts 06:27:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:27:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:27:40 06:27:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:27:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:27:41 latest: Pulling from edgex-devops/py-git-semver 06:27:41 1fe172e4850f: Pulling fs layer 06:27:41 caf521ccaac6: Pulling fs layer 06:27:41 3ead6fa29328: Pulling fs layer 06:27:41 5c2a1cbceb83: Pulling fs layer 06:27:41 a8d5f1318db7: Pulling fs layer 06:27:41 c427282e49a2: Pulling fs layer 06:27:41 1827001aaf11: Pulling fs layer 06:27:41 0714d37db230: Pulling fs layer 06:27:41 ac28cf19c067: Pulling fs layer 06:27:41 ca983d60f3e2: Pulling fs layer 06:27:41 9f894cec8388: Pulling fs layer 06:27:41 5c2a1cbceb83: Waiting 06:27:41 a8d5f1318db7: Waiting 06:27:41 0714d37db230: Waiting 06:27:41 9f894cec8388: Waiting 06:27:41 c427282e49a2: Waiting 06:27:41 ac28cf19c067: Waiting 06:27:41 1827001aaf11: Waiting 06:27:41 ca983d60f3e2: Waiting 06:27:41 caf521ccaac6: Verifying Checksum 06:27:41 caf521ccaac6: Download complete 06:27:41 5c2a1cbceb83: Verifying Checksum 06:27:41 5c2a1cbceb83: Download complete 06:27:41 a8d5f1318db7: Verifying Checksum 06:27:41 a8d5f1318db7: Download complete 06:27:41 3ead6fa29328: Verifying Checksum 06:27:41 3ead6fa29328: Download complete 06:27:41 c427282e49a2: Verifying Checksum 06:27:41 0714d37db230: Download complete 06:27:41 ac28cf19c067: Download complete 06:27:41 ca983d60f3e2: Download complete 06:27:41 9f894cec8388: Download complete 06:27:41 1fe172e4850f: Download complete 06:27:41 1827001aaf11: Verifying Checksum 06:27:41 1827001aaf11: Download complete 06:27:43 1fe172e4850f: Pull complete 06:27:43 caf521ccaac6: Pull complete 06:27:43 3ead6fa29328: Pull complete 06:27:43 5c2a1cbceb83: Pull complete 06:27:44 a8d5f1318db7: Pull complete 06:27:44 c427282e49a2: Pull complete 06:27:46 1827001aaf11: Pull complete 06:27:46 0714d37db230: Pull complete 06:27:46 ac28cf19c067: Pull complete 06:27:46 ca983d60f3e2: Pull complete 06:27:46 9f894cec8388: Pull complete 06:27:46 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:27:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:27:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:27:46 prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container 06:27:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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-devops/py-git-semver:latest cat 06:27:50 $ docker top 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 -eo pid,comm 06:27:50 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:27:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:27:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:27:50 [ssh-agent] Looking for ssh-agent implementation... 06:27:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:27:50 $ docker exec 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 ssh-agent 06:27:50 SSH_AUTH_SOCK=/tmp/ssh-7687eUY7d3OZ/agent.34 06:27:50 SSH_AGENT_PID=40 06:27:50 Running ssh-add (command line suppressed) 06:27:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_2106486420154420255.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_2106486420154420255.key) 06:27:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:27:51 + git tag --points-at HEAD [Pipeline] } 06:27:51 $ docker exec --env ******** --env ******** 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 ssh-agent -k 06:27:51 unset SSH_AUTH_SOCK; 06:27:51 unset SSH_AGENT_PID; 06:27:51 echo Agent pid 40 killed; 06:27:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:27:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:27:51 [ssh-agent] Looking for ssh-agent implementation... 06:27:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:27:51 $ docker exec 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 ssh-agent 06:27:51 SSH_AUTH_SOCK=/tmp/ssh-ROaZyknkvbpg/agent.72 06:27:51 SSH_AGENT_PID=79 06:27:51 Running ssh-add (command line suppressed) 06:27:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_1960513198599897801.key (/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/private_key_1960513198599897801.key) 06:27:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:27:52 + git semver init 06:27:52 2022-05-10 06:27:52,358 [run_init] DEBUG init version:0.0.0 force:False 06:27:52 2022-05-10 06:27:52,359 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver 06:27:52 2022-05-10 06:27:52,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver 06:27:52 2022-05-10 06:27:52,360 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378, universal_newlines=False, shell=None, istream=None) 06:27:53 2022-05-10 06:27:53,169 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.git/info/exclude 06:27:53 2022-05-10 06:27:53,169 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 with force:False 06:27:53 2022-05-10 06:27:53,170 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 06:27:53 2022-05-10 06:27:53,174 [execute] INFO git cat-file --batch-check 06:27:53 2022-05-10 06:27:53,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 06:27:53 2022-05-10 06:27:53,180 [execute] INFO git cat-file --batch 06:27:53 2022-05-10 06:27:53,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver, universal_newlines=False, shell=None, istream=) 06:27:53 2022-05-10 06:27:53,186 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-378/.semver/PR-378 06:27:53 0.0.0 [Pipeline] } 06:27:53 $ docker exec --env ******** --env ******** 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 ssh-agent -k 06:27:53 unset SSH_AUTH_SOCK; 06:27:53 unset SSH_AGENT_PID; 06:27:53 echo Agent pid 79 killed; 06:27:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:27:53 + git semver [Pipeline] } 06:27:54 $ docker stop --time=1 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 06:27:55 $ docker rm -f 3cc7e0497a9da624d3e92763b3154691ce8f00cc14e93bac1efdc8f91ec06571 [Pipeline] // withDockerContainer [Pipeline] sh 06:27:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:27:56 Stashed 1 file(s) [Pipeline] echo 06:27:56 [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:27:56 provisioning config files... 06:27:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config4057720539823321930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:56 ---> docker-login.sh 06:27:56 nexus3.edgexfoundry.org:10001 06:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:56 Configure a credential helper to remove this warning. See 06:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:56 06:27:56 Login Succeeded 06:27:56 nexus3.edgexfoundry.org:10002 06:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:56 Configure a credential helper to remove this warning. See 06:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:56 06:27:56 Login Succeeded 06:27:56 nexus3.edgexfoundry.org:10003 06:27:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:56 Configure a credential helper to remove this warning. See 06:27:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:56 06:27:56 Login Succeeded 06:27:56 nexus3.edgexfoundry.org:10004 06:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:57 Configure a credential helper to remove this warning. See 06:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:57 06:27:57 Login Succeeded 06:27:57 docker.io 06:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:57 Configure a credential helper to remove this warning. See 06:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:57 06:27:57 Login Succeeded 06:27:57 ---> docker-login.sh ends [Pipeline] } 06:27:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:27:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:27:57 ========================================================= 06:27:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:27:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:27:57 + 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:27:57 Sending build context to Docker daemon 5.882MB 06:27:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:27:57 Step 2/12 : FROM ${BASE} AS builder 06:27:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:27:57 59bf1c3509f3: Pulling fs layer 06:27:57 666ba61612fd: Pulling fs layer 06:27:57 8ed8ca486205: Pulling fs layer 06:27:57 4fe6c5a15a65: Pulling fs layer 06:27:57 22a0e8bec74d: Pulling fs layer 06:27:57 ca2b28591e48: Pulling fs layer 06:27:57 a51346096db8: Pulling fs layer 06:27:57 daebc70d1ce1: Pulling fs layer 06:27:57 0e18a0eac166: Pulling fs layer 06:27:57 ca2b28591e48: Waiting 06:27:57 daebc70d1ce1: Waiting 06:27:57 a51346096db8: Waiting 06:27:57 0e18a0eac166: Waiting 06:27:57 4fe6c5a15a65: Waiting 06:27:57 22a0e8bec74d: Waiting 06:27:57 8ed8ca486205: Verifying Checksum 06:27:57 8ed8ca486205: Download complete 06:27:57 666ba61612fd: Download complete 06:27:58 22a0e8bec74d: Download complete 06:27:58 59bf1c3509f3: Download complete 06:27:58 ca2b28591e48: Verifying Checksum 06:27:58 ca2b28591e48: Download complete 06:27:58 a51346096db8: Verifying Checksum 06:27:58 a51346096db8: Download complete 06:27:58 daebc70d1ce1: Download complete 06:27:58 59bf1c3509f3: Pull complete 06:27:58 666ba61612fd: Pull complete 06:27:58 8ed8ca486205: Pull complete 06:27:58 0e18a0eac166: Verifying Checksum 06:27:58 0e18a0eac166: Download complete 06:27:58 4fe6c5a15a65: Verifying Checksum 06:27:58 4fe6c5a15a65: Download complete 06:28:03 4fe6c5a15a65: Pull complete 06:28:03 22a0e8bec74d: Pull complete 06:28:03 ca2b28591e48: Pull complete 06:28:03 a51346096db8: Pull complete 06:28:03 daebc70d1ce1: Pull complete 06:28:05 0e18a0eac166: Pull complete 06:28:05 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:28:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:28:05 ---> f018257e8ee9 06:28:05 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:28:07 ---> Running in 5c433a5b022d 06:28:07 Removing intermediate container 5c433a5b022d 06:28:07 ---> eaa64c501105 06:28:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:28:07 ---> Running in 4caf7eb0f884 06:28:07 Removing intermediate container 4caf7eb0f884 06:28:07 ---> 7b51b11a0639 06:28:07 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:28:07 ---> Running in 1ba944eb87b5 06:28:08 Removing intermediate container 1ba944eb87b5 06:28:08 ---> 95afa2bbeb93 06:28:08 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:28:08 ---> Running in 01f01837594b 06:28:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:28:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:28:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:28:09 (2/4) Installing libedit (20210910.3.1-r0) 06:28:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:28:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:28:09 Executing busybox-1.34.1-r3.trigger 06:28:09 OK: 224 MiB in 56 packages 06:28:10 Removing intermediate container 01f01837594b 06:28:10 ---> c1d7228cbf72 06:28:10 Step 7/12 : WORKDIR /device-mqtt-go 06:28:10 ---> Running in 656c07b506c6 06:28:10 Removing intermediate container 656c07b506c6 06:28:10 ---> 2f63fe385ae4 06:28:10 Step 8/12 : COPY go.mod vendor* ./ 06:28:10 ---> 425ff061920f 06:28:10 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:28:10 ---> Running in 9a505d851daf 06:28:11 Still waiting to schedule task 06:28:11 ‘prd-ubuntu20.04-docker-arm64-4c-16g-44843’ is offline 06:28:28 Removing intermediate container 9a505d851daf 06:28:28 ---> 8fb9440e4c2f 06:28:28 Step 10/12 : COPY . . 06:28:28 ---> 7c46fec9b0b8 06:28:28 Step 11/12 : ARG MAKE='make build' 06:28:28 ---> Running in 80ca99ac3fbc 06:28:28 Removing intermediate container 80ca99ac3fbc 06:28:28 ---> f4508755407a 06:28:28 Step 12/12 : RUN $MAKE 06:28:29 ---> Running in 1bec04d961ce 06:28:29 noop 06:28:29 Removing intermediate container 1bec04d961ce 06:28:29 ---> d9e5b8dc5f2b 06:28:29 Successfully built d9e5b8dc5f2b 06:28:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:28:29 + docker inspect -f . ci-base-image-x86_64 06:28:29 . [Pipeline] withDockerContainer 06:28:29 prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container 06:28:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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 ******** -e ******** ci-base-image-x86_64 cat 06:28:30 $ docker top 2bce63f8b56706996fb582970e645f26aa71dd7d2af83323bb7571fe9215629a -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:30 + go version 06:28:30 go version go1.17.6 linux/amd64 [Pipeline] } 06:28:30 $ docker stop --time=1 2bce63f8b56706996fb582970e645f26aa71dd7d2af83323bb7571fe9215629a 06:28:32 $ docker rm -f 2bce63f8b56706996fb582970e645f26aa71dd7d2af83323bb7571fe9215629a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:28:32 + docker inspect -f . ci-base-image-x86_64 06:28:32 . [Pipeline] withDockerContainer 06:28:32 prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container 06:28:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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 ******** -e ******** ci-base-image-x86_64 cat 06:28:33 $ docker top 31e2eb19acf3f0fa03a5a1a9208bbdc298fdb31d18441e969073f9b4e81e764d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:28:33 + make test 06:28:33 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:28:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:28:44 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:28:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 06:28:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:28:52 GCO_ENABLED=1 GO111MODULE=on go vet ./... 06:28:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:28:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:28:54 ./bin/test-attribution-txt.sh [Pipeline] echo 06:28:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:28:55 $ docker stop --time=1 31e2eb19acf3f0fa03a5a1a9208bbdc298fdb31d18441e969073f9b4e81e764d 06:28:57 $ docker rm -f 31e2eb19acf3f0fa03a5a1a9208bbdc298fdb31d18441e969073f9b4e81e764d [Pipeline] // withDockerContainer [Pipeline] sh 06:28:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:28:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:28:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:28:58 + ls -al . 06:28:58 total 180 06:28:58 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:28 . 06:28:58 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:27 .. 06:28:58 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:27 .dockerignore 06:28:58 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:27 .git 06:28:58 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:27 .github 06:28:58 -rw-rw-r-- 1 jenkins jenkins 329 May 10 06:27 .gitignore 06:28:58 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:27 .golangci.yml 06:28:58 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:27 .semver 06:28:58 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 06:27 Attribution.txt 06:28:58 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 06:27 CHANGELOG.md 06:28:58 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 06:27 Dockerfile 06:28:58 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:27 GOVERNANCE.md 06:28:58 -rw-rw-r-- 1 jenkins jenkins 678 May 10 06:27 Jenkinsfile 06:28:58 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:27 LICENSE 06:28:58 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 06:27 Makefile 06:28:58 -rw-rw-r-- 1 jenkins jenkins 620 May 10 06:27 OWNERS.md 06:28:58 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 06:27 README.md 06:28:58 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:27 VERSION 06:28:58 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:27 bin 06:28:58 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:27 cmd 06:28:58 -rw-r--r-- 1 jenkins jenkins 17887 May 10 06:28 coverage.out 06:28:58 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 06:27 go.mod 06:28:58 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 06:27 go.sum 06:28:58 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:27 internal 06:28:58 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:27 mock 06:28:58 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:27 snap 06:28:58 -rw-rw-r-- 1 jenkins jenkins 227 May 10 06:27 version.go [Pipeline] isUnix [Pipeline] sh 06:28:59 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2c827a9d98d942daa042874c4a261230ad0958f3 --label arch=amd64 --label version=0.0.0 . 06:28:59 Sending build context to Docker daemon 5.9MB 06:28:59 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:28:59 Step 2/24 : FROM ${BASE} AS builder 06:28:59 ---> d9e5b8dc5f2b 06:28:59 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:28:59 ---> Running in 6b91bc41514c 06:28:59 Removing intermediate container 6b91bc41514c 06:28:59 ---> 8537e4708324 06:28:59 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 06:28:59 ---> Running in 53dd3814caaf 06:28:59 Removing intermediate container 53dd3814caaf 06:28:59 ---> 90ca5a11aa3a 06:28:59 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:28:59 ---> Running in b9dc090547f0 06:29:00 Removing intermediate container b9dc090547f0 06:29:00 ---> c22eb481814e 06:29:00 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:29:00 ---> Running in 0be77c86dd39 06:29:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:29:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:29:01 OK: 224 MiB in 56 packages 06:29:02 Removing intermediate container 0be77c86dd39 06:29:02 ---> 7c9f5ec69935 06:29:02 Step 7/24 : WORKDIR /device-mqtt-go 06:29:02 ---> Running in c8ebe7dd82ee 06:29:02 Removing intermediate container c8ebe7dd82ee 06:29:02 ---> ce418b4c97ef 06:29:02 Step 8/24 : COPY go.mod vendor* ./ 06:29:02 ---> 27cb335d88ef 06:29:02 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:29:02 ---> Running in 2b30b6ae2eb1 06:29:03 Removing intermediate container 2b30b6ae2eb1 06:29:03 ---> 4d740357aaac 06:29:03 Step 10/24 : COPY . . 06:29:04 ---> f1df84ebef58 06:29:04 Step 11/24 : ARG MAKE='make build' 06:29:04 ---> Running in 4524f49bfbf9 06:29:04 Removing intermediate container 4524f49bfbf9 06:29:04 ---> 0ac983de352c 06:29:04 Step 12/24 : RUN $MAKE 06:29:04 ---> Running in e6ef7a6acfe9 06:29:04 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 06:29:26 Removing intermediate container e6ef7a6acfe9 06:29:26 ---> b6e7210d7e22 06:29:26 Step 13/24 : FROM alpine:3.14 06:29:26 3.14: Pulling from library/alpine 06:29:26 8663204ce13b: Pulling fs layer 06:29:26 error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/e0/e04c818066afe78a0c9379f62ec65aece28566024fd348242de92760293454b8/data?verify=1652167164-9p1lOmZqcuMCVVD9I%2BIjip%2BArgs%3D": dial tcp: lookup production.cloudflare.docker.com: device or resource busy [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:29:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:26 06:29:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:29:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:27 latest: Pulling from edgex-lftools-log-publisher 06:29:27 5eb5b503b376: Pulling fs layer 06:29:27 5c69ac0246d0: Pulling fs layer 06:29:27 ec43610c2a17: Pulling fs layer 06:29:27 3a2ae6a8a46f: Pulling fs layer 06:29:27 33b1e0a273af: Pulling fs layer 06:29:27 5d3b04190fa2: Pulling fs layer 06:29:27 2f39f015ded8: Pulling fs layer 06:29:27 5d3b04190fa2: Waiting 06:29:27 33b1e0a273af: Waiting 06:29:27 3a2ae6a8a46f: Waiting 06:29:27 2f39f015ded8: Waiting 06:29:27 5c69ac0246d0: Verifying Checksum 06:29:27 5c69ac0246d0: Download complete 06:29:27 3a2ae6a8a46f: Verifying Checksum 06:29:27 3a2ae6a8a46f: Download complete 06:29:27 33b1e0a273af: Verifying Checksum 06:29:27 33b1e0a273af: Download complete 06:29:27 ec43610c2a17: Verifying Checksum 06:29:27 ec43610c2a17: Download complete 06:29:27 5d3b04190fa2: Download complete 06:29:27 5eb5b503b376: Verifying Checksum 06:29:27 5eb5b503b376: Download complete 06:29:27 2f39f015ded8: Download complete 06:29:28 5eb5b503b376: Pull complete 06:29:28 5c69ac0246d0: Pull complete 06:29:29 ec43610c2a17: Pull complete 06:29:29 3a2ae6a8a46f: Pull complete 06:29:29 33b1e0a273af: Pull complete 06:29:29 5d3b04190fa2: Pull complete 06:29:34 2f39f015ded8: Pull complete 06:29:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:29:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:29:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:29:34 prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container 06:29:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:29:37 $ docker top 5488993eedc12aa51923b33bec2b7a6f1a9c10bdd90afba1c598fffd935dc9fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:29:37 ---> job-cost.sh 06:29:37 lf-activate-venv: SKIPPING 06:29:37 INFO: No Stack... 06:29:38 INFO: Retrieving Pricing Info for: v3-standard-8 06:29:38 INFO: Archiving Costs [Pipeline] sh 06:29:39 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/cost.csv 06:29:39 + cut -d, -f6 [Pipeline] lock 06:29:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] 06:29:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] did not exist. Created. 06:29:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:29:39 + echo total: 0.2199999988079071 [Pipeline] stash 06:29:39 Stashed 1 file(s) [Pipeline] } 06:29:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:29:39 $ docker stop --time=1 5488993eedc12aa51923b33bec2b7a6f1a9c10bdd90afba1c598fffd935dc9fa 06:29:40 $ docker rm -f 5488993eedc12aa51923b33bec2b7a6f1a9c10bdd90afba1c598fffd935dc9fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:29:40 Failed in branch amd64 06:29:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44848 in /w/workspace/gexfoundry_device-mqtt-go_PR-378 [Pipeline] { [Pipeline] ws 06:29:53 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 06:29:54 Selected Git installation does not exist. Using Default 06:29:54 The recommended git tool is: NONE 06:30:00 using credential edgex-jenkins-ssh 06:30:00 Cloning the remote Git repository 06:30:00 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 06:30:00 > git init /w/workspace/device-mqtt-go/4 # timeout=10 06:30:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:30:00 > git --version # timeout=10 06:30:00 > git --version # 'git version 2.25.1' 06:30:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:01 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:30:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:30:01 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 06:30:02 Merging remotes/origin/main commit 9e5ff16ea29b888a79edc386c2a8af4882824547 into PR head commit 2c827a9d98d942daa042874c4a261230ad0958f3 06:30:02 Merge succeeded, producing 2c827a9d98d942daa042874c4a261230ad0958f3 06:30:02 Checking out Revision 2c827a9d98d942daa042874c4a261230ad0958f3 (PR-378) 06:30:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 06:30:01 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/378/head:refs/remotes/origin/PR-378 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:30:02 > git config core.sparsecheckout # timeout=10 06:30:02 > git checkout -f 2c827a9d98d942daa042874c4a261230ad0958f3 # timeout=10 06:30:02 > git remote # timeout=10 06:30:02 > git config --get remote.origin.url # timeout=10 06:30:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:30:02 > git merge 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 06:30:02 > git rev-parse HEAD^{commit} # timeout=10 06:30:02 > git config core.sparsecheckout # timeout=10 06:30:02 > git checkout -f 2c827a9d98d942daa042874c4a261230ad0958f3 # timeout=10 06:30:06 Commit message: "docs: additions to CHANGELOG" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:30:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:30:07 % Total % Received % Xferd Average Speed Time Time Time Current 06:30:07 Dload Upload Total Spent Left Speed 06:30:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh 06:30:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:30:08 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 06:30:08 /etc/docker/daemon.new 06:30:08 { 06:30:08 "registry-mirrors": [ 06:30:08 "https://nexus3.edgexfoundry.org:10001" 06:30:08 ], 06:30:08 "bip": "10.250.0.254/24", 06:30:08 "hosts": [ 06:30:08 "tcp://0.0.0.0:5555", 06:30:08 "unix:///var/run/docker.sock" 06:30:08 ], 06:30:08 "mtu": 1458, 06:30:08 "selinux-enabled": true, 06:30:08 "seccomp-profile": "/etc/docker/seccomp.json" 06:30:08 } [Pipeline] sh 06:30:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:30:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:30:27 provisioning config files... 06:30:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config5156213153733092664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:28 ---> docker-login.sh 06:30:28 nexus3.edgexfoundry.org:10001 06:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:29 Configure a credential helper to remove this warning. See 06:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:29 06:30:29 Login Succeeded 06:30:29 nexus3.edgexfoundry.org:10002 06:30:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:29 Configure a credential helper to remove this warning. See 06:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:29 06:30:29 Login Succeeded 06:30:29 nexus3.edgexfoundry.org:10003 06:30:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:29 Configure a credential helper to remove this warning. See 06:30:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:29 06:30:29 Login Succeeded 06:30:29 nexus3.edgexfoundry.org:10004 06:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:30 Configure a credential helper to remove this warning. See 06:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:30 06:30:30 Login Succeeded 06:30:30 docker.io 06:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:31 Configure a credential helper to remove this warning. See 06:30:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:31 06:30:31 Login Succeeded 06:30:31 ---> docker-login.sh ends [Pipeline] } 06:30:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:30:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:30:31 ========================================================= 06:30:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:30:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:30:32 + 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:30:32 Sending build context to Docker daemon 3.057MB 06:30:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:30:32 Step 2/12 : FROM ${BASE} AS builder 06:30:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:30:32 9b3977197b4f: Pulling fs layer 06:30:32 1a89e8eeedd5: Pulling fs layer 06:30:32 94645a83ff95: Pulling fs layer 06:30:32 3f3a8bcf1eab: Pulling fs layer 06:30:32 0c92f367c5e7: Pulling fs layer 06:30:32 3096ccb668a1: Pulling fs layer 06:30:32 e8cf19c19ddd: Pulling fs layer 06:30:32 a4caa8a26152: Pulling fs layer 06:30:32 0c92f367c5e7: Waiting 06:30:32 3096ccb668a1: Waiting 06:30:32 a4caa8a26152: Waiting 06:30:32 e8cf19c19ddd: Waiting 06:30:32 3f3a8bcf1eab: Waiting 06:30:32 94645a83ff95: Verifying Checksum 06:30:32 94645a83ff95: Download complete 06:30:32 1a89e8eeedd5: Verifying Checksum 06:30:32 1a89e8eeedd5: Download complete 06:30:32 0c92f367c5e7: Verifying Checksum 06:30:32 0c92f367c5e7: Download complete 06:30:32 3096ccb668a1: Verifying Checksum 06:30:32 3096ccb668a1: Download complete 06:30:32 9b3977197b4f: Download complete 06:30:32 e8cf19c19ddd: Verifying Checksum 06:30:32 e8cf19c19ddd: Download complete 06:30:33 9b3977197b4f: Pull complete 06:30:34 1a89e8eeedd5: Pull complete 06:30:34 94645a83ff95: Pull complete 06:30:34 a4caa8a26152: Verifying Checksum 06:30:34 a4caa8a26152: Download complete 06:30:35 3f3a8bcf1eab: Verifying Checksum 06:30:35 3f3a8bcf1eab: Download complete 06:30:47 3f3a8bcf1eab: Pull complete 06:30:48 0c92f367c5e7: Pull complete 06:30:48 3096ccb668a1: Pull complete 06:30:48 e8cf19c19ddd: Pull complete 06:30:55 a4caa8a26152: Pull complete 06:30:55 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:30:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:30:55 ---> 725f1c02e7f9 06:30:55 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:30:56 ---> Running in acaff05eccb0 06:30:57 Removing intermediate container acaff05eccb0 06:30:57 ---> 5f32bf07cf77 06:30:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 06:30:57 ---> Running in 77c911eea37b 06:30:57 Removing intermediate container 77c911eea37b 06:30:57 ---> dd91f9a5acd5 06:30:57 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:30:57 ---> Running in 10618850d689 06:31:01 Removing intermediate container 10618850d689 06:31:01 ---> 4922174a2d12 06:31:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:31:01 ---> Running in 349bad3cf0ae 06:31:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:31:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:31:04 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:31:04 (2/4) Installing libedit (20210910.3.1-r0) 06:31:04 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:31:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:31:04 Executing busybox-1.34.1-r3.trigger 06:31:04 OK: 224 MiB in 56 packages 06:31:05 Removing intermediate container 349bad3cf0ae 06:31:05 ---> dd43b9f37bf5 06:31:05 Step 7/12 : WORKDIR /device-mqtt-go 06:31:05 ---> Running in 894e60497113 06:31:06 Removing intermediate container 894e60497113 06:31:06 ---> f1ceddcd47a8 06:31:06 Step 8/12 : COPY go.mod vendor* ./ 06:31:06 ---> 1c10c9ab18c5 06:31:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:06 ---> Running in 91f9b75ed983 06:31:53 Removing intermediate container 91f9b75ed983 06:31:53 ---> ce9480439e3b 06:31:53 Step 10/12 : COPY . . 06:31:53 ---> 1e1d1522802b 06:31:53 Step 11/12 : ARG MAKE='make build' 06:31:53 ---> Running in 2ea5b690e312 06:31:53 Removing intermediate container 2ea5b690e312 06:31:53 ---> 50323e4df294 06:31:53 Step 12/12 : RUN $MAKE 06:31:53 ---> Running in 585dee9642bb 06:31:54 noop 06:31:55 Removing intermediate container 585dee9642bb 06:31:55 ---> 7167f985dbde 06:31:55 Successfully built 7167f985dbde 06:31:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:31:56 + docker inspect -f . ci-base-image-arm64 06:31:56 . [Pipeline] withDockerContainer 06:31:56 prd-ubuntu20.04-docker-arm64-4c-16g-44848 does not seem to be running inside a container 06:31:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-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 ******** -e ******** ci-base-image-arm64 cat 06:31:58 $ docker top c653d00af3a2e8584be9e3e3655ed98bd65ff568a46b1ade1ac212ef19f2924b -eo pid,comm [Pipeline] { [Pipeline] sh 06:31:59 + go version 06:31:59 go version go1.17.6 linux/arm64 [Pipeline] } 06:31:59 $ docker stop --time=1 c653d00af3a2e8584be9e3e3655ed98bd65ff568a46b1ade1ac212ef19f2924b 06:32:00 $ docker rm -f c653d00af3a2e8584be9e3e3655ed98bd65ff568a46b1ade1ac212ef19f2924b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:32:01 + docker inspect -f . ci-base-image-arm64 06:32:01 . [Pipeline] withDockerContainer 06:32:01 prd-ubuntu20.04-docker-arm64-4c-16g-44848 does not seem to be running inside a container 06:32:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-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 ******** -e ******** ci-base-image-arm64 cat 06:32:03 $ docker top 04f862c59506b03ac1d0f3c6a6c76cab7bdee4dce25fea72f4d4095cfc0d05b4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:32:04 + make test 06:32:04 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:32:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 06:33:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 06:33:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 21.8% of statements 06:33:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 06:33:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:33:43 GCO_ENABLED=1 GO111MODULE=on go vet ./... 06:34:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:34:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:34:10 ./bin/test-attribution-txt.sh [Pipeline] echo 06:34:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:34:10 $ docker stop --time=1 04f862c59506b03ac1d0f3c6a6c76cab7bdee4dce25fea72f4d4095cfc0d05b4 06:34:11 $ docker rm -f 04f862c59506b03ac1d0f3c6a6c76cab7bdee4dce25fea72f4d4095cfc0d05b4 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:34:13 Warning: overwriting stash ‘coverage-report’ 06:34:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:34:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:34:14 + ls -al . 06:34:14 total 176 06:34:14 drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:34 . 06:34:14 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:30 .. 06:34:14 -rw-rw-r-- 1 jenkins jenkins 140 May 10 06:30 .dockerignore 06:34:14 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:30 .git 06:34:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:30 .github 06:34:14 -rw-rw-r-- 1 jenkins jenkins 329 May 10 06:30 .gitignore 06:34:14 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:30 .golangci.yml 06:34:14 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 06:30 Attribution.txt 06:34:14 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 06:30 CHANGELOG.md 06:34:14 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 06:30 Dockerfile 06:34:14 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:30 GOVERNANCE.md 06:34:14 -rw-rw-r-- 1 jenkins jenkins 678 May 10 06:30 Jenkinsfile 06:34:14 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:30 LICENSE 06:34:14 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 06:30 Makefile 06:34:14 -rw-rw-r-- 1 jenkins jenkins 620 May 10 06:30 OWNERS.md 06:34:14 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 06:30 README.md 06:34:14 -rw-rw-r-- 1 jenkins jenkins 5 May 10 06:27 VERSION 06:34:14 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:30 bin 06:34:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:30 cmd 06:34:14 -rw-r--r-- 1 jenkins jenkins 17887 May 10 06:33 coverage.out 06:34:14 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 06:30 go.mod 06:34:14 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 06:30 go.sum 06:34:14 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:30 internal 06:34:14 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:30 mock 06:34:14 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:30 snap 06:34:14 -rw-rw-r-- 1 jenkins jenkins 227 May 10 06:30 version.go [Pipeline] isUnix [Pipeline] sh 06:34:14 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=2c827a9d98d942daa042874c4a261230ad0958f3 --label arch=arm64 --label version=0.0.0 . 06:34:14 Sending build context to Docker daemon 3.076MB 06:34:15 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:34:15 Step 2/24 : FROM ${BASE} AS builder 06:34:15 ---> 7167f985dbde 06:34:15 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:34:15 ---> Running in f113f020de4b 06:34:15 Removing intermediate container f113f020de4b 06:34:15 ---> d05188595fe7 06:34:15 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 06:34:15 ---> Running in 89eddb38d602 06:34:16 Removing intermediate container 89eddb38d602 06:34:16 ---> 3f9060e3e52a 06:34:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:34:16 ---> Running in ad3a29279abb 06:34:18 Removing intermediate container ad3a29279abb 06:34:18 ---> bc2fd15743f1 06:34:18 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:34:18 ---> Running in 62f928c3eeee 06:34:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:34:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:34:21 OK: 224 MiB in 56 packages 06:34:21 Removing intermediate container 62f928c3eeee 06:34:21 ---> 6eb2830b2d4d 06:34:21 Step 7/24 : WORKDIR /device-mqtt-go 06:34:21 ---> Running in 9717a6a1882b 06:34:22 Removing intermediate container 9717a6a1882b 06:34:22 ---> 2f2f3f8453e0 06:34:22 Step 8/24 : COPY go.mod vendor* ./ 06:34:22 ---> 078e360ee2f0 06:34:22 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:22 ---> Running in acaa5a9aaf6a 06:34:24 Removing intermediate container acaa5a9aaf6a 06:34:24 ---> c2d70536efb4 06:34:24 Step 10/24 : COPY . . 06:34:25 ---> f5a2ac4e6cf0 06:34:25 Step 11/24 : ARG MAKE='make build' 06:34:25 ---> Running in 90e8a6ad64d4 06:34:25 Removing intermediate container 90e8a6ad64d4 06:34:25 ---> cd9cfd2e7e28 06:34:25 Step 12/24 : RUN $MAKE 06:34:25 ---> Running in 4117da1f0e1f 06:34:26 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 06:37:03 Removing intermediate container 4117da1f0e1f 06:37:03 ---> 13560f5664cb 06:37:03 Step 13/24 : FROM alpine:3.14 06:37:03 3.14: Pulling from library/alpine 06:37:03 455c02918c45: Pulling fs layer 06:37:03 455c02918c45: Verifying Checksum 06:37:03 455c02918c45: Download complete 06:37:03 455c02918c45: Pull complete 06:37:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:37:03 Status: Downloaded newer image for alpine:3.14 06:37:03 ---> ac73e934f311 06:37:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 06:37:03 ---> Running in 477ae76e8e64 06:37:03 Removing intermediate container 477ae76e8e64 06:37:03 ---> 87068f5d96f3 06:37:03 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 06:37:03 ---> Running in cedb64327994 06:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:37:03 (1/6) Installing dumb-init (1.2.5-r1) 06:37:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:37:03 (3/6) Installing libsodium (1.0.18-r0) 06:37:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:37:03 (5/6) Installing libzmq (4.3.4-r0) 06:37:03 (6/6) Installing zeromq (4.3.4-r0) 06:37:03 Executing busybox-1.33.1-r7.trigger 06:37:03 OK: 8 MiB in 20 packages 06:37:03 Removing intermediate container cedb64327994 06:37:03 ---> 656a9e82ed00 06:37:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 06:37:03 ---> 07f2d9a5d13b 06:37:03 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 06:37:03 ---> 5f6d7f76cfb9 06:37:03 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 06:37:03 ---> a214336e4968 06:37:03 Step 19/24 : EXPOSE 59982 06:37:03 ---> Running in 11eca6ad19bf 06:37:03 Removing intermediate container 11eca6ad19bf 06:37:03 ---> 4b25967b1dc8 06:37:03 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 06:37:03 ---> Running in 8a146438d7db 06:37:03 Removing intermediate container 8a146438d7db 06:37:03 ---> f180c82da643 06:37:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:37:03 ---> Running in e6843c4ab69e 06:37:03 Removing intermediate container e6843c4ab69e 06:37:03 ---> f347a3f3c450 06:37:03 Step 22/24 : LABEL arch=arm64 06:37:03 ---> Running in 08c9b44537da 06:37:03 Removing intermediate container 08c9b44537da 06:37:03 ---> 551f372a555f 06:37:03 Step 23/24 : LABEL git_sha=2c827a9d98d942daa042874c4a261230ad0958f3 06:37:03 ---> Running in 27b105556244 06:37:03 Removing intermediate container 27b105556244 06:37:03 ---> 6e389dc508f5 06:37:03 Step 24/24 : LABEL version=0.0.0 06:37:03 ---> Running in 29106ac4cc83 06:37:03 Removing intermediate container 29106ac4cc83 06:37:03 ---> b50ec462341c 06:37:03 [Warning] One or more build-args [ARCH] were not consumed 06:37:03 Successfully built b50ec462341c 06:37:03 Successfully tagged device-mqtt-arm64:latest [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] sh 06:37:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:37:04 06:37:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:37:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:37:05 arm64: Pulling from edgex-lftools-log-publisher 06:37:05 8998bd30e6a1: Pulling fs layer 06:37:05 04944245beec: Pulling fs layer 06:37:05 699f458cf7ca: Pulling fs layer 06:37:05 765212b225bb: Pulling fs layer 06:37:05 f23df028b6ca: Pulling fs layer 06:37:05 d65c8cfc05b1: Pulling fs layer 06:37:05 2437ff75d9bd: Pulling fs layer 06:37:05 765212b225bb: Waiting 06:37:05 f23df028b6ca: Waiting 06:37:05 2437ff75d9bd: Waiting 06:37:05 d65c8cfc05b1: Waiting 06:37:05 04944245beec: Verifying Checksum 06:37:05 04944245beec: Download complete 06:37:05 765212b225bb: Verifying Checksum 06:37:05 765212b225bb: Download complete 06:37:05 f23df028b6ca: Verifying Checksum 06:37:05 f23df028b6ca: Download complete 06:37:05 d65c8cfc05b1: Verifying Checksum 06:37:05 d65c8cfc05b1: Download complete 06:37:05 699f458cf7ca: Verifying Checksum 06:37:05 699f458cf7ca: Download complete 06:37:05 8998bd30e6a1: Verifying Checksum 06:37:05 8998bd30e6a1: Download complete 06:37:08 2437ff75d9bd: Verifying Checksum 06:37:08 2437ff75d9bd: Download complete 06:37:10 8998bd30e6a1: Pull complete 06:37:10 04944245beec: Pull complete 06:37:12 699f458cf7ca: Pull complete 06:37:12 765212b225bb: Pull complete 06:37:13 f23df028b6ca: Pull complete 06:37:13 d65c8cfc05b1: Pull complete 06:37:28 2437ff75d9bd: Pull complete 06:37:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:37:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:37:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:37:28 prd-ubuntu20.04-docker-arm64-4c-16g-44848 does not seem to be running inside a container 06:37:28 $ 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-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:37:31 $ docker top 945cadd9f410725c6899129ec6c8c818dfacfb7604d414610a41ccc3a2921e8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:37:32 ---> job-cost.sh 06:37:32 lf-activate-venv: SKIPPING 06:37:32 INFO: No Stack... 06:37:33 INFO: Retrieving Pricing Info for: v3-standard-4 06:37:33 INFO: Archiving Costs [Pipeline] sh 06:37:34 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv 06:37:34 + cut -d, -f6 [Pipeline] lock 06:37:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] 06:37:34 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] did not exist. Created. 06:37:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:37:35 /w/workspace/device-mqtt-go/4@tmp/durable-b763ba41/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:37:36 + echo total: 0.10999999940395355 [Pipeline] stash 06:37:36 Warning: overwriting stash ‘stack-cost’ 06:37:36 Stashed 1 file(s) [Pipeline] } 06:37:36 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-378-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:37:36 $ docker stop --time=1 945cadd9f410725c6899129ec6c8c818dfacfb7604d414610a41ccc3a2921e8c 06:37:37 $ docker rm -f 945cadd9f410725c6899129ec6c8c818dfacfb7604d414610a41ccc3a2921e8c [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:38 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives ] 06:37:38 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 06:37:38 total 16 06:37:38 drwxr-xr-x 3 root root 4096 May 10 06:29 . 06:37:38 drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:29 .. 06:37:38 drwxr-xr-x 2 root root 4096 May 10 06:29 cost 06:37:38 -rw-r--r-- 1 root root 85 May 10 06:29 cost.csv 06:37:38 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 06:37:38 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives 06:37:38 total 16 06:37:38 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:29 . 06:37:38 drwxrwxr-x 11 jenkins jenkins 4096 May 10 06:29 .. 06:37:38 drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:29 cost 06:37:38 -rw-r--r-- 1 jenkins jenkins 85 May 10 06:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:37:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:37:39 ---> package-listing.sh 06:37:39 ++ facter osfamily 06:37:39 ++ tr '[:upper:]' '[:lower:]' 06:37:40 + OS_FAMILY=debian 06:37:40 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-378 06:37:40 + START_PACKAGES=/tmp/packages_start.txt 06:37:40 + END_PACKAGES=/tmp/packages_end.txt 06:37:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:37:40 + PACKAGES=/tmp/packages_start.txt 06:37:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' 06:37:40 + PACKAGES=/tmp/packages_end.txt 06:37:40 + case "${OS_FAMILY}" in 06:37:40 + dpkg -l 06:37:40 + grep '^ii' 06:37:40 + '[' -f /tmp/packages_start.txt ']' 06:37:40 + '[' -f /tmp/packages_end.txt ']' 06:37:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:37:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-378 ']' 06:37:40 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ 06:37:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-378/archives/ [Pipeline] echo 06:37:40 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/gexfoundry_device-mqtt-go_PR-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:37:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:37:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:37:40 . [Pipeline] withDockerContainer 06:37:40 prd-ubuntu20.04-docker-8c-8g-44844 does not seem to be running inside a container 06:37:40 $ 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/gexfoundry_device-mqtt-go_PR-378/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-378 -v /w/workspace/gexfoundry_device-mqtt-go_PR-378:/w/workspace/gexfoundry_device-mqtt-go_PR-378:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-378@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:latest cat 06:37:41 $ docker top 2a297711e0c809034109524a9b274da5bb95e0d9dc5c0eee911e6b46d3aae26e -eo pid,comm [Pipeline] { [Pipeline] sh 06:37:41 + touch /tmp/pre-build-complete [Pipeline] sh 06:37:41 + mkdir -p /var/log/sysstat [Pipeline] sh 06:37:42 + ls /var/log/sa-host 06:37:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:37:42 provisioning config files... 06:37:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-378@tmp/config8007058073280558578tmp [Pipeline] { [Pipeline] echo 06:37:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:37:42 ---> create-netrc.sh [Pipeline] } 06:37:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:37:42 ---> python-tools-install.sh [Pipeline] echo 06:37:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:37:43 ---> sudo-logs.sh 06:37:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:37:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:37:43 ---> job-cost.sh 06:37:43 lf-activate-venv: SKIPPING 06:37:43 DEBUG: total: 0.2199999988079071 06:37:43 INFO: Retrieving Stack Cost... 06:37:44 INFO: Retrieving Pricing Info for: v3-standard-8 06:37:44 INFO: Archiving Costs [Pipeline] echo 06:37:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:37:44 ---> logs-deploy.sh 06:37:44 lf-activate-venv: SKIPPING 06:37:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-378/4 06:37:44 INFO: archiving workspace using pattern(s): 06:37:45 Archives upload complete. 06:37:45 INFO: archiving logs to Nexus