Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8a3b8b69e8592b451639ad65dda00efb90da788d 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-ssh6370170342349080776.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-ssh2653550784932693344.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1746363010192737542.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-ssh12558755482520409898.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17303561225599718733.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40573 in /w/workspace/edgexfoundry_device-mqtt-go_main [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/edgexfoundry_device-mqtt-go_main # 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 Avoid second fetch Checking out Revision 8a3b8b69e8592b451639ad65dda00efb90da788d (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 8a3b8b69e8592b451639ad65dda00efb90da788d # timeout=10 Commit message: "docs(snap): Move usage instructions to docs (#377)" > git rev-list --no-walk 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:07:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:07:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:07:38 ========================================================= 13:07:38 EdgeX Global Pipelines Version Info 13:07:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:07:39 ------------------- 13:07:39 stable info: 13:07:39 ------------------- 13:07:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:07:39 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 13:07:39 Message: update stable to v1.0.227 13:07:39 ------------------- 13:07:39 experimental info: 13:07:39 ------------------- 13:07:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:07:39 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 13:07:39 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:07:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8a3b8b69e8592b451639ad65dda00efb90da788d [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8a3b8b6 [Pipeline] echo 13:07:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:07:40 provisioning config files... 13:07:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5903735286559463172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:07:40 ---> docker-login.sh 13:07:40 nexus3.edgexfoundry.org:10001 13:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:41 Configure a credential helper to remove this warning. See 13:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:41 13:07:41 Login Succeeded 13:07:41 nexus3.edgexfoundry.org:10002 13:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:41 Configure a credential helper to remove this warning. See 13:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:41 13:07:41 Login Succeeded 13:07:41 nexus3.edgexfoundry.org:10003 13:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:41 Configure a credential helper to remove this warning. See 13:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:41 13:07:41 Login Succeeded 13:07:41 nexus3.edgexfoundry.org:10004 13:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:41 Configure a credential helper to remove this warning. See 13:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:41 13:07:41 Login Succeeded 13:07:41 docker.io 13:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:41 Configure a credential helper to remove this warning. See 13:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:41 13:07:41 Login Succeeded 13:07:41 ---> docker-login.sh ends [Pipeline] } 13:07:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:07:42 + git rev-list -1 --merges 8a3b8b69e8592b451639ad65dda00efb90da788d~1..8a3b8b69e8592b451639ad65dda00efb90da788d [Pipeline] echo 13:07:42 -----------> git rev-list -1 --merges 8a3b8b69e8592b451639ad65dda00efb90da788d~1..8a3b8b69e8592b451639ad65dda00efb90da788d 8a3b8b69e8592b451639ad65dda00efb90da788d [false] [Pipeline] sh 13:07:42 + git log --format=format:%s -1 8a3b8b69e8592b451639ad65dda00efb90da788d [Pipeline] echo 13:07:42 ========================================================= 13:07:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:07:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:07:42 + git log --format=format:%s -1 8a3b8b69e8592b451639ad65dda00efb90da788d [Pipeline] echo 13:07:42 [semverPrep] GIT_COMMIT: 8a3b8b69e8592b451639ad65dda00efb90da788d, Commit Message: docs(snap): Move usage instructions to docs (#377) [Pipeline] echo 13:07:42 [semverPrep] This is not a build commit. [Pipeline] sh 13:07:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:07:43 + grep -v github /etc/ssh/ssh_known_hosts 13:07:43 + [ -e /tmp/ssh_known_hosts ] 13:07:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:07:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:07:43 + sudo tee -a /etc/ssh/ssh_known_hosts 13:07:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:07:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:07:43 13:07:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:07:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:07:44 latest: Pulling from edgex-devops/py-git-semver 13:07:44 1fe172e4850f: Pulling fs layer 13:07:44 caf521ccaac6: Pulling fs layer 13:07:44 3ead6fa29328: Pulling fs layer 13:07:44 5c2a1cbceb83: Pulling fs layer 13:07:44 a8d5f1318db7: Pulling fs layer 13:07:44 c427282e49a2: Pulling fs layer 13:07:44 1827001aaf11: Pulling fs layer 13:07:44 0714d37db230: Pulling fs layer 13:07:44 ac28cf19c067: Pulling fs layer 13:07:44 ca983d60f3e2: Pulling fs layer 13:07:44 9f894cec8388: Pulling fs layer 13:07:44 5c2a1cbceb83: Waiting 13:07:44 a8d5f1318db7: Waiting 13:07:44 c427282e49a2: Waiting 13:07:44 ac28cf19c067: Waiting 13:07:44 1827001aaf11: Waiting 13:07:44 0714d37db230: Waiting 13:07:44 ca983d60f3e2: Waiting 13:07:44 9f894cec8388: Waiting 13:07:44 caf521ccaac6: Download complete 13:07:44 5c2a1cbceb83: Download complete 13:07:44 a8d5f1318db7: Verifying Checksum 13:07:44 a8d5f1318db7: Download complete 13:07:44 3ead6fa29328: Verifying Checksum 13:07:44 3ead6fa29328: Download complete 13:07:44 c427282e49a2: Verifying Checksum 13:07:44 c427282e49a2: Download complete 13:07:44 0714d37db230: Verifying Checksum 13:07:44 0714d37db230: Download complete 13:07:44 ac28cf19c067: Verifying Checksum 13:07:44 ac28cf19c067: Download complete 13:07:44 ca983d60f3e2: Verifying Checksum 13:07:44 ca983d60f3e2: Download complete 13:07:44 9f894cec8388: Verifying Checksum 13:07:44 9f894cec8388: Download complete 13:07:44 1fe172e4850f: Verifying Checksum 13:07:44 1fe172e4850f: Download complete 13:07:44 1827001aaf11: Verifying Checksum 13:07:44 1827001aaf11: Download complete 13:07:45 1fe172e4850f: Pull complete 13:07:45 caf521ccaac6: Pull complete 13:07:45 3ead6fa29328: Pull complete 13:07:46 5c2a1cbceb83: Pull complete 13:07:46 a8d5f1318db7: Pull complete 13:07:46 c427282e49a2: Pull complete 13:07:48 1827001aaf11: Pull complete 13:07:48 0714d37db230: Pull complete 13:07:48 ac28cf19c067: Pull complete 13:07:48 ca983d60f3e2: Pull complete 13:07:48 9f894cec8388: Pull complete 13:07:48 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:07:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:07:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:07:48 prd-ubuntu20.04-docker-8c-8g-40573 does not seem to be running inside a container 13:07:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:07:50 $ docker top 9dfbcdf8b2af20ec6952af38a68368f39e3ee2cab5bb9ec8de2a2ad0395aaf43 -eo pid,comm 13:07: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). 13:07:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:07:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:07:50 [ssh-agent] Looking for ssh-agent implementation... 13:07:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:07:50 $ docker exec 9dfbcdf8b2af20ec6952af38a68368f39e3ee2cab5bb9ec8de2a2ad0395aaf43 ssh-agent 13:07:50 SSH_AUTH_SOCK=/tmp/ssh-IgaWaULlhrJ7/agent.32 13:07:50 SSH_AGENT_PID=38 13:07:50 Running ssh-add (command line suppressed) 13:07:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4696069486642535487.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4696069486642535487.key) 13:07:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:07:50 + git tag --points-at HEAD [Pipeline] } 13:07:50 $ docker exec --env ******** --env ******** 9dfbcdf8b2af20ec6952af38a68368f39e3ee2cab5bb9ec8de2a2ad0395aaf43 ssh-agent -k 13:07:50 unset SSH_AUTH_SOCK; 13:07:50 unset SSH_AGENT_PID; 13:07:50 echo Agent pid 38 killed; 13:07:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:07:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:07:51 [ssh-agent] Looking for ssh-agent implementation... 13:07:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:07:51 $ docker exec 9dfbcdf8b2af20ec6952af38a68368f39e3ee2cab5bb9ec8de2a2ad0395aaf43 ssh-agent 13:07:51 SSH_AUTH_SOCK=/tmp/ssh-jZtkeHpYftlR/agent.70 13:07:51 SSH_AGENT_PID=76 13:07:51 Running ssh-add (command line suppressed) 13:07:51 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2573684220787651885.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2573684220787651885.key) 13:07:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:07:51 + git semver init 13:07:51 2022-05-06 13:07:51,836 [run_init] DEBUG init version:0.0.0 force:False 13:07:51 2022-05-06 13:07:51,837 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 13:07:51 2022-05-06 13:07:51,838 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 13:07:51 2022-05-06 13:07:51,838 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 13:07:52 2022-05-06 13:07:52,667 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 13:07:52 2022-05-06 13:07:52,668 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 13:07:52 2022-05-06 13:07:52,668 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:07:52 2022-05-06 13:07:52,668 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 13:07:52 2.2.0-dev.20 [Pipeline] } 13:07:52 $ docker exec --env ******** --env ******** 9dfbcdf8b2af20ec6952af38a68368f39e3ee2cab5bb9ec8de2a2ad0395aaf43 ssh-agent -k 13:07:52 unset SSH_AUTH_SOCK; 13:07:52 unset SSH_AGENT_PID; 13:07:52 echo Agent pid 76 killed; 13:07:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:07:53 + git semver [Pipeline] } 13:07:53 $ docker stop --time=1 9dfbcdf8b2af20ec6952af38a68368f39e3ee2cab5bb9ec8de2a2ad0395aaf43 13:07:54 $ docker rm -f 9dfbcdf8b2af20ec6952af38a68368f39e3ee2cab5bb9ec8de2a2ad0395aaf43 [Pipeline] // withDockerContainer [Pipeline] sh 13:07:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:07:55 Stashed 1 file(s) [Pipeline] echo 13:07:55 [edgeXSemver]: initialized semver on version 2.2.0-dev.20 [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 13:07:55 provisioning config files... 13:07:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config322217704078263429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:07:56 ---> docker-login.sh 13:07:56 nexus3.edgexfoundry.org:10001 13:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:56 Configure a credential helper to remove this warning. See 13:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:56 13:07:56 Login Succeeded 13:07:56 nexus3.edgexfoundry.org:10002 13:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:56 Configure a credential helper to remove this warning. See 13:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:56 13:07:56 Login Succeeded 13:07:56 nexus3.edgexfoundry.org:10003 13:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:56 Configure a credential helper to remove this warning. See 13:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:56 13:07:56 Login Succeeded 13:07:56 nexus3.edgexfoundry.org:10004 13:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:56 Configure a credential helper to remove this warning. See 13:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:56 13:07:56 Login Succeeded 13:07:56 docker.io 13:07:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:07:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:07:56 Configure a credential helper to remove this warning. See 13:07:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:07:56 13:07:56 Login Succeeded 13:07:56 ---> docker-login.sh ends [Pipeline] } 13:07:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:07:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:07:56 ========================================================= 13:07:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:07:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:07: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 . 13:07:57 Sending build context to Docker daemon 5.848MB 13:07:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:07:57 Step 2/12 : FROM ${BASE} AS builder 13:07:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:07:57 59bf1c3509f3: Pulling fs layer 13:07:57 666ba61612fd: Pulling fs layer 13:07:57 8ed8ca486205: Pulling fs layer 13:07:57 4fe6c5a15a65: Pulling fs layer 13:07:57 22a0e8bec74d: Pulling fs layer 13:07:57 ca2b28591e48: Pulling fs layer 13:07:57 a51346096db8: Pulling fs layer 13:07:57 daebc70d1ce1: Pulling fs layer 13:07:57 0e18a0eac166: Pulling fs layer 13:07:57 4fe6c5a15a65: Waiting 13:07:57 22a0e8bec74d: Waiting 13:07:57 ca2b28591e48: Waiting 13:07:57 a51346096db8: Waiting 13:07:57 daebc70d1ce1: Waiting 13:07:57 0e18a0eac166: Waiting 13:07:57 8ed8ca486205: Verifying Checksum 13:07:57 8ed8ca486205: Download complete 13:07:57 666ba61612fd: Download complete 13:07:57 22a0e8bec74d: Download complete 13:07:57 ca2b28591e48: Verifying Checksum 13:07:57 ca2b28591e48: Download complete 13:07:57 59bf1c3509f3: Verifying Checksum 13:07:57 59bf1c3509f3: Download complete 13:07:57 a51346096db8: Verifying Checksum 13:07:57 a51346096db8: Download complete 13:07:57 daebc70d1ce1: Verifying Checksum 13:07:57 daebc70d1ce1: Download complete 13:07:57 59bf1c3509f3: Pull complete 13:07:57 666ba61612fd: Pull complete 13:07:57 8ed8ca486205: Pull complete 13:07:58 0e18a0eac166: Verifying Checksum 13:07:58 0e18a0eac166: Download complete 13:07:58 4fe6c5a15a65: Verifying Checksum 13:07:58 4fe6c5a15a65: Download complete 13:08:02 4fe6c5a15a65: Pull complete 13:08:02 22a0e8bec74d: Pull complete 13:08:02 ca2b28591e48: Pull complete 13:08:02 a51346096db8: Pull complete 13:08:02 daebc70d1ce1: Pull complete 13:08:04 0e18a0eac166: Pull complete 13:08:04 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:08:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:08:04 ---> f018257e8ee9 13:08:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:08:05 ---> Running in a6304dc0fa25 13:08:05 Removing intermediate container a6304dc0fa25 13:08:05 ---> 201ccf710f19 13:08:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:08:05 ---> Running in a3c691f59473 13:08:05 Removing intermediate container a3c691f59473 13:08:05 ---> 846133d911f0 13:08:05 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:08:05 ---> Running in cafd1ba165e6 13:08:05 Removing intermediate container cafd1ba165e6 13:08:05 ---> dfce9c63b404 13:08:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:05 ---> Running in 03fbaf162d3a 13:08:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:08:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:08:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:08:07 (2/4) Installing libedit (20210910.3.1-r0) 13:08:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:08:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:08:07 Executing busybox-1.34.1-r3.trigger 13:08:07 OK: 224 MiB in 56 packages 13:08:08 Removing intermediate container 03fbaf162d3a 13:08:08 ---> 5178632f13ac 13:08:08 Step 7/12 : WORKDIR /device-mqtt-go 13:08:08 ---> Running in f64a0f660daf 13:08:08 Removing intermediate container f64a0f660daf 13:08:08 ---> 6bf66ca98f8d 13:08:08 Step 8/12 : COPY go.mod vendor* ./ 13:08:08 ---> c5f8113fbc17 13:08:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:08 ---> Running in 6ffe744ef194 13:08:10 Still waiting to schedule task 13:08:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:08:26 Removing intermediate container 6ffe744ef194 13:08:26 ---> 1fb3e151961f 13:08:26 Step 10/12 : COPY . . 13:08:26 ---> 21980b8a1373 13:08:26 Step 11/12 : ARG MAKE='make build' 13:08:26 ---> Running in 6c9a915f226c 13:08:26 Removing intermediate container 6c9a915f226c 13:08:26 ---> 6c21633c036f 13:08:26 Step 12/12 : RUN $MAKE 13:08:26 ---> Running in 3b258238bab6 13:08:26 noop 13:08:26 Removing intermediate container 3b258238bab6 13:08:26 ---> 3f22ca6098bb 13:08:26 Successfully built 3f22ca6098bb 13:08:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:08:26 + docker inspect -f . ci-base-image-x86_64 13:08:26 . [Pipeline] withDockerContainer 13:08:27 prd-ubuntu20.04-docker-8c-8g-40573 does not seem to be running inside a container 13:08:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat 13:08:27 $ docker top bad2f5fb25a9767401c3d46d9b2522f072e65d4a80b9c76ab6afdeefb7f60dcc -eo pid,comm [Pipeline] { [Pipeline] sh 13:08:27 + go version 13:08:27 go version go1.17.6 linux/amd64 [Pipeline] } 13:08:27 $ docker stop --time=1 bad2f5fb25a9767401c3d46d9b2522f072e65d4a80b9c76ab6afdeefb7f60dcc 13:08:29 $ docker rm -f bad2f5fb25a9767401c3d46d9b2522f072e65d4a80b9c76ab6afdeefb7f60dcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:08:29 + docker inspect -f . ci-base-image-x86_64 13:08:29 . [Pipeline] withDockerContainer 13:08:29 prd-ubuntu20.04-docker-8c-8g-40573 does not seem to be running inside a container 13:08:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat 13:08:29 $ docker top b4a41bc142f83cc134f093878a256a5e1e64079db8bbcc9f388c8e34c170efdf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:08:30 + make test 13:08:30 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:08:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 13:08:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 13:08:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 13:08:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 13:08:45 GCO_ENABLED=1 GO111MODULE=on go vet ./... 13:08:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:08:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:08:49 ./bin/test-attribution-txt.sh [Pipeline] echo 13:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:08:49 $ docker stop --time=1 b4a41bc142f83cc134f093878a256a5e1e64079db8bbcc9f388c8e34c170efdf 13:08:50 $ docker rm -f b4a41bc142f83cc134f093878a256a5e1e64079db8bbcc9f388c8e34c170efdf [Pipeline] // withDockerContainer [Pipeline] sh 13:08:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:08:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:08:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:08:52 + ls -al . 13:08:52 total 176 13:08:52 drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:08 . 13:08:52 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:07 .. 13:08:52 -rw-rw-r-- 1 jenkins jenkins 140 May 6 13:07 .dockerignore 13:08:52 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:07 .git 13:08:52 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:07 .github 13:08:52 -rw-rw-r-- 1 jenkins jenkins 329 May 6 13:07 .gitignore 13:08:52 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:07 .golangci.yml 13:08:52 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:07 .semver 13:08:52 -rw-rw-r-- 1 jenkins jenkins 8656 May 6 13:07 Attribution.txt 13:08:52 -rw-rw-r-- 1 jenkins jenkins 7447 May 6 13:07 CHANGELOG.md 13:08:52 -rw-rw-r-- 1 jenkins jenkins 1930 May 6 13:07 Dockerfile 13:08:52 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:07 GOVERNANCE.md 13:08:52 -rw-rw-r-- 1 jenkins jenkins 678 May 6 13:07 Jenkinsfile 13:08:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:07 LICENSE 13:08:52 -rw-rw-r-- 1 jenkins jenkins 1930 May 6 13:07 Makefile 13:08:52 -rw-rw-r-- 1 jenkins jenkins 620 May 6 13:07 OWNERS.md 13:08:52 -rw-rw-r-- 1 jenkins jenkins 2501 May 6 13:07 README.md 13:08:52 -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:07 VERSION 13:08:52 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:07 bin 13:08:52 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:07 cmd 13:08:52 -rw-r--r-- 1 jenkins jenkins 17887 May 6 13:08 coverage.out 13:08:52 -rw-rw-r-- 1 jenkins jenkins 3309 May 6 13:07 go.mod 13:08:52 -rw-rw-r-- 1 jenkins jenkins 35490 May 6 13:07 go.sum 13:08:52 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:07 internal 13:08:52 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:07 mock 13:08:52 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:07 snap 13:08:52 -rw-rw-r-- 1 jenkins jenkins 227 May 6 13:07 version.go [Pipeline] isUnix [Pipeline] sh 13:08:52 + 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=8a3b8b69e8592b451639ad65dda00efb90da788d --label arch=amd64 --label version=2.2.0-dev.20 . 13:08:52 Sending build context to Docker daemon 5.866MB 13:08:52 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 13:08:52 Step 2/24 : FROM ${BASE} AS builder 13:08:52 ---> 3f22ca6098bb 13:08:52 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:08:52 ---> Running in 50526b9dd679 13:08:52 Removing intermediate container 50526b9dd679 13:08:52 ---> 65945fcf78b4 13:08:52 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 13:08:52 ---> Running in ccd57cd2da6f 13:08:52 Removing intermediate container ccd57cd2da6f 13:08:52 ---> f6dfa156055c 13:08:52 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:08:52 ---> Running in 61842f855ab0 13:08:53 Removing intermediate container 61842f855ab0 13:08:53 ---> 895a1249767d 13:08:53 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:08:53 ---> Running in 95fdc4061321 13:08:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:08:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:08:54 OK: 224 MiB in 56 packages 13:08:55 Removing intermediate container 95fdc4061321 13:08:55 ---> f6b661a09904 13:08:55 Step 7/24 : WORKDIR /device-mqtt-go 13:08:55 ---> Running in 342003f4383e 13:08:55 Removing intermediate container 342003f4383e 13:08:55 ---> 3b8b00691a51 13:08:55 Step 8/24 : COPY go.mod vendor* ./ 13:08:55 ---> 07e0ca73bff6 13:08:55 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:55 ---> Running in a8b34691004f 13:08:55 Removing intermediate container a8b34691004f 13:08:55 ---> da0ac28a4e28 13:08:55 Step 10/24 : COPY . . 13:08:56 ---> 453a4b7beb3b 13:08:56 Step 11/24 : ARG MAKE='make build' 13:08:56 ---> Running in 90221b2c3e2b 13:08:56 Removing intermediate container 90221b2c3e2b 13:08:56 ---> 6ab30e05a322 13:08:56 Step 12/24 : RUN $MAKE 13:08:56 ---> Running in 79242923b06e 13:08:56 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 13:09:18 Removing intermediate container 79242923b06e 13:09:18 ---> 27cc1ebff3e8 13:09:18 Step 13/24 : FROM alpine:3.14 13:09:18 3.14: Pulling from library/alpine 13:09:18 8663204ce13b: Pulling fs layer 13:09:18 8663204ce13b: Verifying Checksum 13:09:18 8663204ce13b: Download complete 13:09:18 8663204ce13b: Pull complete 13:09:18 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:09:18 Status: Downloaded newer image for alpine:3.14 13:09:18 ---> e04c818066af 13:09:18 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 13:09:18 ---> Running in 62914283765c 13:09:18 Removing intermediate container 62914283765c 13:09:18 ---> ce6c12669a4c 13:09:18 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 13:09:18 ---> Running in 6d23f5225b79 13:09:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:09:21 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) 13:09:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:09:27 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) 13:09:27 ERROR: unable to select packages: 13:09:27  dumb-init (no such package): 13:09:27 required by: world[dumb-init] 13:09:27 zeromq (no such package): 13:09:27 required by: world[zeromq] 13:09:27 The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [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 13:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:09:27 13:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:09:27 latest: Pulling from edgex-lftools-log-publisher 13:09:27 5eb5b503b376: Pulling fs layer 13:09:27 5c69ac0246d0: Pulling fs layer 13:09:27 ec43610c2a17: Pulling fs layer 13:09:27 3a2ae6a8a46f: Pulling fs layer 13:09:27 33b1e0a273af: Pulling fs layer 13:09:27 5d3b04190fa2: Pulling fs layer 13:09:27 2f39f015ded8: Pulling fs layer 13:09:27 33b1e0a273af: Waiting 13:09:27 5d3b04190fa2: Waiting 13:09:27 2f39f015ded8: Waiting 13:09:27 3a2ae6a8a46f: Waiting 13:09:27 5c69ac0246d0: Verifying Checksum 13:09:27 5c69ac0246d0: Download complete 13:09:27 3a2ae6a8a46f: Verifying Checksum 13:09:27 3a2ae6a8a46f: Download complete 13:09:27 33b1e0a273af: Verifying Checksum 13:09:27 33b1e0a273af: Download complete 13:09:27 5d3b04190fa2: Verifying Checksum 13:09:27 5d3b04190fa2: Download complete 13:09:27 ec43610c2a17: Verifying Checksum 13:09:27 ec43610c2a17: Download complete 13:09:28 5eb5b503b376: Verifying Checksum 13:09:28 5eb5b503b376: Download complete 13:09:28 2f39f015ded8: Verifying Checksum 13:09:28 2f39f015ded8: Download complete 13:09:29 5eb5b503b376: Pull complete 13:09:29 5c69ac0246d0: Pull complete 13:09:29 ec43610c2a17: Pull complete 13:09:30 3a2ae6a8a46f: Pull complete 13:09:30 33b1e0a273af: Pull complete 13:09:30 5d3b04190fa2: Pull complete 13:09:34 2f39f015ded8: Pull complete 13:09:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:09:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:09:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:09:34 prd-ubuntu20.04-docker-8c-8g-40573 does not seem to be running inside a container 13:09: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/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:09:36 $ docker top 80512782d5cda09a98bd6a7a7b6389a968ffa087c8d883ce58e37434f3c17dca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:09:36 ---> job-cost.sh 13:09:36 lf-activate-venv: SKIPPING 13:09:36 INFO: No Stack... 13:09:37 INFO: Retrieving Pricing Info for: v3-standard-8 13:09:37 INFO: Archiving Costs [Pipeline] sh 13:09:37 + cut -d, -f6 13:09:37 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [Pipeline] lock 13:09:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-41-stack-cost] 13:09:37 Resource [jenkins-edgexfoundry-device-mqtt-go-main-41-stack-cost] did not exist. Created. 13:09:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:09:38 + echo total: 0.2199999988079071 [Pipeline] stash 13:09:38 Stashed 1 file(s) [Pipeline] } 13:09:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 13:09:38 $ docker stop --time=1 80512782d5cda09a98bd6a7a7b6389a968ffa087c8d883ce58e37434f3c17dca 13:09:39 $ docker rm -f 80512782d5cda09a98bd6a7a7b6389a968ffa087c8d883ce58e37434f3c17dca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:09:39 Failed in branch amd64 13:09:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40574 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 13:09:52 Running in /w/workspace/device-mqtt-go/41 [Pipeline] { [Pipeline] checkout 13:09:53 Selected Git installation does not exist. Using Default 13:09:53 The recommended git tool is: NONE 13:09:58 using credential edgex-jenkins-ssh 13:09:58 Cloning the remote Git repository 13:09:58 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 13:09:58 > git init /w/workspace/device-mqtt-go/41 # timeout=10 13:09:58 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 13:09:58 > git --version # timeout=10 13:09:58 > git --version # 'git version 2.25.1' 13:09:58 using GIT_SSH to set credentials SSH Credentials for GitHub 13:09:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:10:00 Avoid second fetch 13:10:00 Checking out Revision 8a3b8b69e8592b451639ad65dda00efb90da788d (main) 13:10:00 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 13:10:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:10:00 > git config core.sparsecheckout # timeout=10 13:10:00 > git checkout -f 8a3b8b69e8592b451639ad65dda00efb90da788d # timeout=10 13:10:04 Commit message: "docs(snap): Move usage instructions to docs (#377)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:10:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:10:05 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:05 Dload Upload Total Spent Left Speed 13:10:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 58339 0 --:--:-- --:--:-- --:--:-- 58053 100 11843 100 11843 0 0 57770 0 --:--:-- --:--:-- --:--:-- 57490 [Pipeline] sh 13:10:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:10:05 + + sudo tee /etc/docker/daemon.new 13:10:05 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:10:05 { 13:10:05 "registry-mirrors": [ 13:10:05 "https://nexus3.edgexfoundry.org:10001" 13:10:05 ], 13:10:05 "bip": "10.250.0.254/24", 13:10:05 "hosts": [ 13:10:05 "tcp://0.0.0.0:5555", 13:10:05 "unix:///var/run/docker.sock" 13:10:05 ], 13:10:05 "mtu": 1458, 13:10:05 "selinux-enabled": true, 13:10:05 "seccomp-profile": "/etc/docker/seccomp.json" 13:10:05 } [Pipeline] sh 13:10:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:10:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:25 provisioning config files... 13:10:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/41@tmp/config8843712704581864116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:25 ---> docker-login.sh 13:10:25 nexus3.edgexfoundry.org:10001 13:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:26 Configure a credential helper to remove this warning. See 13:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:26 13:10:26 Login Succeeded 13:10:26 nexus3.edgexfoundry.org:10002 13:10:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:26 Configure a credential helper to remove this warning. See 13:10:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:26 13:10:26 Login Succeeded 13:10:26 nexus3.edgexfoundry.org:10003 13:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:27 Configure a credential helper to remove this warning. See 13:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:27 13:10:27 Login Succeeded 13:10:27 nexus3.edgexfoundry.org:10004 13:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:27 Configure a credential helper to remove this warning. See 13:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:27 13:10:27 Login Succeeded 13:10:27 docker.io 13:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:28 Configure a credential helper to remove this warning. See 13:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:28 13:10:28 Login Succeeded 13:10:28 ---> docker-login.sh ends [Pipeline] } 13:10:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:10:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:10:29 ========================================================= 13:10:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:10:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:10:29 + 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 . 13:10:29 Sending build context to Docker daemon 3.031MB 13:10:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:10:30 Step 2/12 : FROM ${BASE} AS builder 13:10:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:10:30 9b3977197b4f: Pulling fs layer 13:10:30 1a89e8eeedd5: Pulling fs layer 13:10:30 94645a83ff95: Pulling fs layer 13:10:30 3f3a8bcf1eab: Pulling fs layer 13:10:30 0c92f367c5e7: Pulling fs layer 13:10:30 3096ccb668a1: Pulling fs layer 13:10:30 e8cf19c19ddd: Pulling fs layer 13:10:30 a4caa8a26152: Pulling fs layer 13:10:30 3f3a8bcf1eab: Waiting 13:10:30 0c92f367c5e7: Waiting 13:10:30 3096ccb668a1: Waiting 13:10:30 a4caa8a26152: Waiting 13:10:30 e8cf19c19ddd: Waiting 13:10:30 94645a83ff95: Verifying Checksum 13:10:30 94645a83ff95: Download complete 13:10:30 1a89e8eeedd5: Download complete 13:10:30 0c92f367c5e7: Verifying Checksum 13:10:30 0c92f367c5e7: Download complete 13:10:30 3096ccb668a1: Download complete 13:10:30 9b3977197b4f: Verifying Checksum 13:10:30 9b3977197b4f: Download complete 13:10:30 e8cf19c19ddd: Verifying Checksum 13:10:30 e8cf19c19ddd: Download complete 13:10:30 9b3977197b4f: Pull complete 13:10:31 1a89e8eeedd5: Pull complete 13:10:31 94645a83ff95: Pull complete 13:10:32 a4caa8a26152: Verifying Checksum 13:10:32 3f3a8bcf1eab: Verifying Checksum 13:10:32 3f3a8bcf1eab: Download complete 13:10:45 3f3a8bcf1eab: Pull complete 13:10:45 0c92f367c5e7: Pull complete 13:10:45 3096ccb668a1: Pull complete 13:10:45 e8cf19c19ddd: Pull complete 13:10:52 a4caa8a26152: Pull complete 13:10:52 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:10:52 ---> 725f1c02e7f9 13:10:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:10:53 ---> Running in f25569c4308a 13:10:53 Removing intermediate container f25569c4308a 13:10:53 ---> d9ddca883afb 13:10:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 13:10:53 ---> Running in 3a02a810d6d3 13:10:53 Removing intermediate container 3a02a810d6d3 13:10:53 ---> 2a5792a5da20 13:10:53 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:53 ---> Running in eeaed8ca389d 13:10:55 Removing intermediate container eeaed8ca389d 13:10:55 ---> 168ac9f59a44 13:10:55 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:10:55 ---> Running in 2108efd6bf9d 13:10:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:10:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:10:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:10:58 (2/4) Installing libedit (20210910.3.1-r0) 13:10:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:10:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:10:58 Executing busybox-1.34.1-r3.trigger 13:10:58 OK: 224 MiB in 56 packages 13:10:59 Removing intermediate container 2108efd6bf9d 13:10:59 ---> 486852c6bddd 13:10:59 Step 7/12 : WORKDIR /device-mqtt-go 13:10:59 ---> Running in 5955858b5077 13:10:59 Removing intermediate container 5955858b5077 13:10:59 ---> 3dcf1ebacdcf 13:10:59 Step 8/12 : COPY go.mod vendor* ./ 13:11:00 ---> edacb70faf3b 13:11:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:11:00 ---> Running in f3f387229097 13:11:47 Removing intermediate container f3f387229097 13:11:47 ---> 6390b023c358 13:11:47 Step 10/12 : COPY . . 13:11:47 ---> d5f67132485e 13:11:47 Step 11/12 : ARG MAKE='make build' 13:11:47 ---> Running in 463421d74e5f 13:11:47 Removing intermediate container 463421d74e5f 13:11:47 ---> 909a2977b4d6 13:11:47 Step 12/12 : RUN $MAKE 13:11:47 ---> Running in ae2098705481 13:11:47 noop 13:11:47 Removing intermediate container ae2098705481 13:11:47 ---> 38c757b68911 13:11:47 Successfully built 38c757b68911 13:11:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:11:47 + docker inspect -f . ci-base-image-arm64 13:11:47 . [Pipeline] withDockerContainer 13:11:48 prd-ubuntu20.04-docker-arm64-4c-16g-40574 does not seem to be running inside a container 13:11:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/41 -v /w/workspace/device-mqtt-go/41:/w/workspace/device-mqtt-go/41:rw,z -v /w/workspace/device-mqtt-go/41@tmp:/w/workspace/device-mqtt-go/41@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 ******** ci-base-image-arm64 cat 13:11:49 $ docker top c9d5952accd1016d4f71393f2306749731dc2d2ee3158112eac39988b6753c65 -eo pid,comm [Pipeline] { [Pipeline] sh 13:11:50 + go version 13:11:50 go version go1.17.6 linux/arm64 [Pipeline] } 13:11:50 $ docker stop --time=1 c9d5952accd1016d4f71393f2306749731dc2d2ee3158112eac39988b6753c65 13:11:52 $ docker rm -f c9d5952accd1016d4f71393f2306749731dc2d2ee3158112eac39988b6753c65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:11:52 + docker inspect -f . ci-base-image-arm64 13:11:52 . [Pipeline] withDockerContainer 13:11:53 prd-ubuntu20.04-docker-arm64-4c-16g-40574 does not seem to be running inside a container 13:11:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/41 -v /w/workspace/device-mqtt-go/41:/w/workspace/device-mqtt-go/41:rw,z -v /w/workspace/device-mqtt-go/41@tmp:/w/workspace/device-mqtt-go/41@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 ******** ci-base-image-arm64 cat 13:11:54 $ docker top 332fa896d9f7bb24837f46ecfda9466929b89e4ba8d201bbefe34c7d1538b0f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:11:55 + make test 13:11:55 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 13:11:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 13:13:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 13:13:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements 13:13:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 13:13:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:13:34 GCO_ENABLED=1 GO111MODULE=on go vet ./... 13:13:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:13:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:13:52 ./bin/test-attribution-txt.sh [Pipeline] echo 13:13:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:13:54 $ docker stop --time=1 332fa896d9f7bb24837f46ecfda9466929b89e4ba8d201bbefe34c7d1538b0f1 13:13:56 $ docker rm -f 332fa896d9f7bb24837f46ecfda9466929b89e4ba8d201bbefe34c7d1538b0f1 [Pipeline] // withDockerContainer [Pipeline] sh 13:13:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:13:57 Warning: overwriting stash ‘coverage-report’ 13:13:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:13:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:13:58 + ls -al . 13:13:58 total 172 13:13:58 drwxrwxr-x 9 jenkins jenkins 4096 May 6 13:13 . 13:13:58 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:09 .. 13:13:58 -rw-rw-r-- 1 jenkins jenkins 140 May 6 13:10 .dockerignore 13:13:58 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:10 .git 13:13:58 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:10 .github 13:13:58 -rw-rw-r-- 1 jenkins jenkins 329 May 6 13:10 .gitignore 13:13:58 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:10 .golangci.yml 13:13:58 -rw-rw-r-- 1 jenkins jenkins 8656 May 6 13:10 Attribution.txt 13:13:58 -rw-rw-r-- 1 jenkins jenkins 7447 May 6 13:10 CHANGELOG.md 13:13:58 -rw-rw-r-- 1 jenkins jenkins 1930 May 6 13:10 Dockerfile 13:13:58 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:10 GOVERNANCE.md 13:13:58 -rw-rw-r-- 1 jenkins jenkins 678 May 6 13:10 Jenkinsfile 13:13:58 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:10 LICENSE 13:13:58 -rw-rw-r-- 1 jenkins jenkins 1930 May 6 13:10 Makefile 13:13:58 -rw-rw-r-- 1 jenkins jenkins 620 May 6 13:10 OWNERS.md 13:13:58 -rw-rw-r-- 1 jenkins jenkins 2501 May 6 13:10 README.md 13:13:58 -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:07 VERSION 13:13:58 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:10 bin 13:13:58 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:10 cmd 13:13:58 -rw-r--r-- 1 jenkins jenkins 17887 May 6 13:13 coverage.out 13:13:58 -rw-rw-r-- 1 jenkins jenkins 3309 May 6 13:10 go.mod 13:13:58 -rw-rw-r-- 1 jenkins jenkins 35490 May 6 13:10 go.sum 13:13:58 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:10 internal 13:13:58 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:10 mock 13:13:58 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:10 snap 13:13:58 -rw-rw-r-- 1 jenkins jenkins 227 May 6 13:10 version.go [Pipeline] isUnix [Pipeline] sh 13:13:59 + 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=8a3b8b69e8592b451639ad65dda00efb90da788d --label arch=arm64 --label version=2.2.0-dev.20 . 13:13:59 Sending build context to Docker daemon 3.049MB 13:13:59 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 13:13:59 Step 2/24 : FROM ${BASE} AS builder 13:13:59 ---> 38c757b68911 13:13:59 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:13:59 ---> Running in 74d8e017d866 13:14:00 Removing intermediate container 74d8e017d866 13:14:00 ---> 6fc573846c80 13:14:00 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 13:14:00 ---> Running in 1794e2c2b59a 13:14:00 Removing intermediate container 1794e2c2b59a 13:14:00 ---> 04e37cbb6a31 13:14:00 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:00 ---> Running in 21ecc40d9e7d 13:14:02 Removing intermediate container 21ecc40d9e7d 13:14:02 ---> 370e7669aa1b 13:14:02 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:14:02 ---> Running in 9a8c6f7e1695 13:14:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:14:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:14:05 OK: 224 MiB in 56 packages 13:14:06 Removing intermediate container 9a8c6f7e1695 13:14:06 ---> 7fea99a4e1a5 13:14:06 Step 7/24 : WORKDIR /device-mqtt-go 13:14:06 ---> Running in 966f0cbaf6ea 13:14:06 Removing intermediate container 966f0cbaf6ea 13:14:06 ---> 5a459b2fac60 13:14:06 Step 8/24 : COPY go.mod vendor* ./ 13:14:07 ---> db2d1d73c711 13:14:07 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:07 ---> Running in a76bb4f3efeb 13:14:09 Removing intermediate container a76bb4f3efeb 13:14:09 ---> fa9110539a7f 13:14:09 Step 10/24 : COPY . . 13:14:10 ---> a576a8329756 13:14:10 Step 11/24 : ARG MAKE='make build' 13:14:10 ---> Running in ee7acf7ec015 13:14:10 Removing intermediate container ee7acf7ec015 13:14:10 ---> bc0daf34fc22 13:14:10 Step 12/24 : RUN $MAKE 13:14:10 ---> Running in ab1c3ba7e06e 13:14:11 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 13:16:33 Removing intermediate container ab1c3ba7e06e 13:16:33 ---> 64f6a31771e4 13:16:33 Step 13/24 : FROM alpine:3.14 13:16:33 3.14: Pulling from library/alpine 13:16:33 455c02918c45: Pulling fs layer 13:16:33 455c02918c45: Verifying Checksum 13:16:33 455c02918c45: Download complete 13:16:33 455c02918c45: Pull complete 13:16:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:16:33 Status: Downloaded newer image for alpine:3.14 13:16:33 ---> ac73e934f311 13:16:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 13:16:33 ---> Running in c450aeb482b0 13:16:33 Removing intermediate container c450aeb482b0 13:16:33 ---> 9735194ce722 13:16:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 13:16:33 ---> Running in f49e3c99a2c9 13:16:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:16:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:16:33 (1/6) Installing dumb-init (1.2.5-r1) 13:16:33 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:16:33 (3/6) Installing libsodium (1.0.18-r0) 13:16:33 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:16:33 (5/6) Installing libzmq (4.3.4-r0) 13:16:33 (6/6) Installing zeromq (4.3.4-r0) 13:16:33 Executing busybox-1.33.1-r7.trigger 13:16:33 OK: 8 MiB in 20 packages 13:16:33 Removing intermediate container f49e3c99a2c9 13:16:33 ---> 955930cbfe5b 13:16:33 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 13:16:33 ---> 9980e6978f43 13:16:33 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 13:16:33 ---> 77a66822e643 13:16:33 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 13:16:33 ---> e726d69da0a1 13:16:33 Step 19/24 : EXPOSE 59982 13:16:33 ---> Running in fc2ae5681354 13:16:33 Removing intermediate container fc2ae5681354 13:16:33 ---> afd55daefc53 13:16:33 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 13:16:33 ---> Running in 38d884ee77ab 13:16:33 Removing intermediate container 38d884ee77ab 13:16:33 ---> 3362021108f4 13:16:33 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:16:33 ---> Running in 9a6b67b7edaf 13:16:33 Removing intermediate container 9a6b67b7edaf 13:16:33 ---> 6063743b2461 13:16:33 Step 22/24 : LABEL arch=arm64 13:16:33 ---> Running in 9c74c0342bd6 13:16:33 Removing intermediate container 9c74c0342bd6 13:16:33 ---> c8afea692c32 13:16:33 Step 23/24 : LABEL git_sha=8a3b8b69e8592b451639ad65dda00efb90da788d 13:16:33 ---> Running in bda2f166c98d 13:16:33 Removing intermediate container bda2f166c98d 13:16:33 ---> 37a5fe56e40b 13:16:33 Step 24/24 : LABEL version=2.2.0-dev.20 13:16:33 ---> Running in ab833c4bfe99 13:16:33 Removing intermediate container ab833c4bfe99 13:16:33 ---> 94ea2e1a0dd8 13:16:33 [Warning] One or more build-args [ARCH] were not consumed 13:16:33 Successfully built 94ea2e1a0dd8 13:16:33 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:33 provisioning config files... 13:16:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/41@tmp/config7664054198099175113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:33 ---> docker-login.sh 13:16:33 nexus3.edgexfoundry.org:10001 13:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:34 Configure a credential helper to remove this warning. See 13:16:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:34 13:16:34 Login Succeeded 13:16:34 nexus3.edgexfoundry.org:10002 13:16:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:34 Configure a credential helper to remove this warning. See 13:16:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:34 13:16:34 Login Succeeded 13:16:34 nexus3.edgexfoundry.org:10003 13:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:35 Configure a credential helper to remove this warning. See 13:16:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:35 13:16:35 Login Succeeded 13:16:35 nexus3.edgexfoundry.org:10004 13:16:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:35 Configure a credential helper to remove this warning. See 13:16:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:35 13:16:35 Login Succeeded 13:16:35 docker.io 13:16:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:36 Configure a credential helper to remove this warning. See 13:16:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:36 13:16:36 Login Succeeded 13:16:36 ---> docker-login.sh ends [Pipeline] } 13:16:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:16:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:16:36 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 13:16:36 8a3b8b69e8592b451639ad65dda00efb90da788d 13:16:36 latest 13:16:36 2.2.0-dev.20 13:16:36 8a3b8b69e8592b451639ad65dda00efb90da788d-2.2.0-dev.20 13:16:36 main 13:16:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:16:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8a3b8b69e8592b451639ad65dda00efb90da788d [Pipeline] isUnix [Pipeline] sh 13:16:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8a3b8b69e8592b451639ad65dda00efb90da788d 13:16:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:16:37 e2b943d8c1ec: Preparing 13:16:37 b5ad41359c35: Preparing 13:16:37 2e70f95d1e1e: Preparing 13:16:37 ae756d1afee3: Preparing 13:16:37 f73e7dbfee58: Preparing 13:16:37 f73e7dbfee58: Layer already exists 13:16:37 e2b943d8c1ec: Pushed 13:16:37 b5ad41359c35: Pushed 13:16:38 ae756d1afee3: Pushed 13:16:43 2e70f95d1e1e: Pushed 13:16:43 8a3b8b69e8592b451639ad65dda00efb90da788d: digest: sha256:473924b13b7c7adddc40dac8596557ea21d6820dcfa8394e35435daf9b8eb9f7 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:16:44 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:16:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 13:16:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:16:44 e2b943d8c1ec: Preparing 13:16:44 b5ad41359c35: Preparing 13:16:44 2e70f95d1e1e: Preparing 13:16:44 ae756d1afee3: Preparing 13:16:44 f73e7dbfee58: Preparing 13:16:44 e2b943d8c1ec: Layer already exists 13:16:44 ae756d1afee3: Layer already exists 13:16:44 f73e7dbfee58: Layer already exists 13:16:44 2e70f95d1e1e: Layer already exists 13:16:44 b5ad41359c35: Layer already exists 13:16:44 latest: digest: sha256:473924b13b7c7adddc40dac8596557ea21d6820dcfa8394e35435daf9b8eb9f7 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:16:45 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 13:16:45 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 13:16:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:16:45 e2b943d8c1ec: Preparing 13:16:45 b5ad41359c35: Preparing 13:16:45 2e70f95d1e1e: Preparing 13:16:45 ae756d1afee3: Preparing 13:16:45 f73e7dbfee58: Preparing 13:16:45 2e70f95d1e1e: Layer already exists 13:16:45 ae756d1afee3: Layer already exists 13:16:45 b5ad41359c35: Layer already exists 13:16:45 f73e7dbfee58: Layer already exists 13:16:45 e2b943d8c1ec: Layer already exists 13:16:45 2.2.0-dev.20: digest: sha256:473924b13b7c7adddc40dac8596557ea21d6820dcfa8394e35435daf9b8eb9f7 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:16:46 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8a3b8b69e8592b451639ad65dda00efb90da788d-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 13:16:46 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8a3b8b69e8592b451639ad65dda00efb90da788d-2.2.0-dev.20 13:16:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:16:46 e2b943d8c1ec: Preparing 13:16:46 b5ad41359c35: Preparing 13:16:46 2e70f95d1e1e: Preparing 13:16:46 ae756d1afee3: Preparing 13:16:46 f73e7dbfee58: Preparing 13:16:46 f73e7dbfee58: Layer already exists 13:16:46 b5ad41359c35: Layer already exists 13:16:46 ae756d1afee3: Layer already exists 13:16:46 2e70f95d1e1e: Layer already exists 13:16:46 e2b943d8c1ec: Layer already exists 13:16:46 8a3b8b69e8592b451639ad65dda00efb90da788d-2.2.0-dev.20: digest: sha256:473924b13b7c7adddc40dac8596557ea21d6820dcfa8394e35435daf9b8eb9f7 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:16:47 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 13:16:47 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 13:16:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 13:16:47 e2b943d8c1ec: Preparing 13:16:47 b5ad41359c35: Preparing 13:16:47 2e70f95d1e1e: Preparing 13:16:47 ae756d1afee3: Preparing 13:16:47 f73e7dbfee58: Preparing 13:16:47 f73e7dbfee58: Layer already exists 13:16:47 ae756d1afee3: Layer already exists 13:16:47 e2b943d8c1ec: Layer already exists 13:16:47 b5ad41359c35: Layer already exists 13:16:47 2e70f95d1e1e: Layer already exists 13:16:47 main: digest: sha256:473924b13b7c7adddc40dac8596557ea21d6820dcfa8394e35435daf9b8eb9f7 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:16:47 ===================================================== [Pipeline] echo 13:16:47 taggedImages: 13:16:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8a3b8b69e8592b451639ad65dda00efb90da788d 13:16:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 13:16:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 13:16:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8a3b8b69e8592b451639ad65dda00efb90da788d-2.2.0-dev.20 13:16:47 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:16:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:16:48 13:16:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:16:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:16:48 arm64: Pulling from edgex-lftools-log-publisher 13:16:48 8998bd30e6a1: Pulling fs layer 13:16:48 04944245beec: Pulling fs layer 13:16:48 699f458cf7ca: Pulling fs layer 13:16:48 765212b225bb: Pulling fs layer 13:16:48 f23df028b6ca: Pulling fs layer 13:16:48 d65c8cfc05b1: Pulling fs layer 13:16:48 2437ff75d9bd: Pulling fs layer 13:16:48 765212b225bb: Waiting 13:16:48 f23df028b6ca: Waiting 13:16:48 d65c8cfc05b1: Waiting 13:16:48 2437ff75d9bd: Waiting 13:16:48 04944245beec: Verifying Checksum 13:16:48 04944245beec: Download complete 13:16:48 765212b225bb: Verifying Checksum 13:16:48 765212b225bb: Download complete 13:16:48 f23df028b6ca: Download complete 13:16:49 d65c8cfc05b1: Verifying Checksum 13:16:49 d65c8cfc05b1: Download complete 13:16:49 699f458cf7ca: Verifying Checksum 13:16:49 699f458cf7ca: Download complete 13:16:49 8998bd30e6a1: Verifying Checksum 13:16:49 8998bd30e6a1: Download complete 13:16:51 2437ff75d9bd: Verifying Checksum 13:16:51 2437ff75d9bd: Download complete 13:16:54 8998bd30e6a1: Pull complete 13:16:54 04944245beec: Pull complete 13:16:56 699f458cf7ca: Pull complete 13:16:56 765212b225bb: Pull complete 13:16:57 f23df028b6ca: Pull complete 13:16:57 d65c8cfc05b1: Pull complete 13:17:12 2437ff75d9bd: Pull complete 13:17:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:17:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:17:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:17:12 prd-ubuntu20.04-docker-arm64-4c-16g-40574 does not seem to be running inside a container 13:17:12 $ 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/41 -v /w/workspace/device-mqtt-go/41:/w/workspace/device-mqtt-go/41:rw,z -v /w/workspace/device-mqtt-go/41@tmp:/w/workspace/device-mqtt-go/41@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:17:15 $ docker top 98eb11bacb4ee48a2824cbc611c7b7f713d501f8059afb0e722f12f056489287 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:16 ---> job-cost.sh 13:17:16 lf-activate-venv: SKIPPING 13:17:16 INFO: No Stack... 13:17:17 INFO: Retrieving Pricing Info for: v3-standard-4 13:17:18 INFO: Archiving Costs [Pipeline] sh 13:17:18 + cat /w/workspace/device-mqtt-go/41/archives/cost.csv 13:17:18 + cut -d, -f6 [Pipeline] lock 13:17:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-41-stack-cost] 13:17:18 Resource [jenkins-edgexfoundry-device-mqtt-go-main-41-stack-cost] did not exist. Created. 13:17:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:17:19 /w/workspace/device-mqtt-go/41@tmp/durable-c4bfe31c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:17:20 + echo total: 0.10999999940395355 [Pipeline] stash 13:17:20 Warning: overwriting stash ‘stack-cost’ 13:17:20 Stashed 1 file(s) [Pipeline] } 13:17:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 13:17:20 $ docker stop --time=1 98eb11bacb4ee48a2824cbc611c7b7f713d501f8059afb0e722f12f056489287 13:17:21 $ docker rm -f 98eb11bacb4ee48a2824cbc611c7b7f713d501f8059afb0e722f12f056489287 [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 13:17:22 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 13:17:22 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:17:22 total 16 13:17:22 drwxr-xr-x 3 root root 4096 May 6 13:09 . 13:17:22 drwxrwxr-x 11 jenkins jenkins 4096 May 6 13:09 .. 13:17:22 drwxr-xr-x 2 root root 4096 May 6 13:09 cost 13:17:22 -rw-r--r-- 1 root root 84 May 6 13:09 cost.csv 13:17:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:17:22 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 13:17:22 total 16 13:17:22 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:09 . 13:17:22 drwxrwxr-x 11 jenkins jenkins 4096 May 6 13:09 .. 13:17:22 drwxr-xr-x 2 jenkins jenkins 4096 May 6 13:09 cost 13:17:22 -rw-r--r-- 1 jenkins jenkins 84 May 6 13:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:17:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:17:24 ---> package-listing.sh 13:17:24 ++ facter osfamily 13:17:24 ++ tr '[:upper:]' '[:lower:]' 13:17:24 + OS_FAMILY=debian 13:17:24 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 13:17:24 + START_PACKAGES=/tmp/packages_start.txt 13:17:24 + END_PACKAGES=/tmp/packages_end.txt 13:17:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:17:24 + PACKAGES=/tmp/packages_start.txt 13:17:24 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 13:17:24 + PACKAGES=/tmp/packages_end.txt 13:17:24 + case "${OS_FAMILY}" in 13:17:24 + grep '^ii' 13:17:24 + dpkg -l 13:17:24 + '[' -f /tmp/packages_start.txt ']' 13:17:24 + '[' -f /tmp/packages_end.txt ']' 13:17:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:17:24 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 13:17:24 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 13:17:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 13:17:24 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:17:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:25 . [Pipeline] withDockerContainer 13:17:25 prd-ubuntu20.04-docker-8c-8g-40573 does not seem to be running inside a container 13:17:25 $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:17:25 $ docker top 6e84604008c2bef0af69cb558361fc3f160f1f9dd32219a6a845ad0e74dc9ac4 -eo pid,comm [Pipeline] { [Pipeline] sh 13:17:25 + touch /tmp/pre-build-complete [Pipeline] sh 13:17:26 + mkdir -p /var/log/sysstat [Pipeline] sh 13:17:26 + ls /var/log/sa-host 13:17:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:26 provisioning config files... 13:17:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7826541959469478696tmp [Pipeline] { [Pipeline] echo 13:17:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:17:26 ---> create-netrc.sh [Pipeline] } 13:17:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:17:27 ---> python-tools-install.sh [Pipeline] echo 13:17:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:17:27 ---> sudo-logs.sh 13:17:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:17:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:17:27 ---> job-cost.sh 13:17:27 lf-activate-venv: SKIPPING 13:17:27 DEBUG: total: 0.2199999988079071 13:17:27 INFO: Retrieving Stack Cost... 13:17:28 INFO: Retrieving Pricing Info for: v3-standard-8 13:17:28 INFO: Archiving Costs [Pipeline] echo 13:17:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:17:29 ---> logs-deploy.sh 13:17:29 lf-activate-venv: SKIPPING 13:17:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/41 13:17:29 INFO: archiving workspace using pattern(s): 13:17:29 Archives upload complete. 13:17:29 INFO: archiving logs to Nexus