Pull request #380 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f rather than 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d Obtained Jenkinsfile from ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 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-ssh13078389974464641658.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-ssh12183244267081668078.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-380/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-380/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10617824024900626619.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-ssh12424454441941728344.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-380/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-380/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5423207848136150547.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 Running on prd-ubuntu20.04-docker-8c-8g-47179 in /w/workspace/gexfoundry_device-mqtt-go_PR-380 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-380 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f into PR head commit 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d Merge succeeded, producing 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d Checking out Revision 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d (PR-380) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d # timeout=10 Commit message: "build(deps): go mod tidy" > git rev-list --no-walk 5146f07a7e4aea3a50b663a0541c825f3751f5f6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:26:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:26:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:26:38 ========================================================= 10:26:38 EdgeX Global Pipelines Version Info 10:26:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:26:39 ------------------- 10:26:39 stable info: 10:26:39 ------------------- 10:26:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:26:39 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 10:26:39 Message: update stable to v1.0.227 10:26:40 ------------------- 10:26:40 experimental info: 10:26:40 ------------------- 10:26:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:26:40 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 10:26:40 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 11f89c5 [Pipeline] echo 10:26:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:40 provisioning config files... 10:26:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config4466620453462967300tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:41 ---> docker-login.sh 10:26:41 nexus3.edgexfoundry.org:10001 10:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:41 Configure a credential helper to remove this warning. See 10:26:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:41 10:26:41 Login Succeeded 10:26:41 nexus3.edgexfoundry.org:10002 10:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:41 Configure a credential helper to remove this warning. See 10:26:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:41 10:26:41 Login Succeeded 10:26:41 nexus3.edgexfoundry.org:10003 10:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:41 Configure a credential helper to remove this warning. See 10:26:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:41 10:26:41 Login Succeeded 10:26:41 nexus3.edgexfoundry.org:10004 10:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:41 Configure a credential helper to remove this warning. See 10:26:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:41 10:26:41 Login Succeeded 10:26:41 docker.io 10:26:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:42 Configure a credential helper to remove this warning. See 10:26:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:42 10:26:42 Login Succeeded 10:26:42 ---> docker-login.sh ends [Pipeline] } 10:26:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:26:42 + git rev-list -1 --merges 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d~1..11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d [Pipeline] echo 10:26:42 -----------> git rev-list -1 --merges 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d~1..11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d [false] [Pipeline] sh 10:26:42 + git log --format=format:%s -1 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d [Pipeline] echo 10:26:42 ========================================================= 10:26:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:26:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:26:43 + git log --format=format:%s -1 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d [Pipeline] echo 10:26:43 [semverPrep] GIT_COMMIT: 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d, Commit Message: build(deps): go mod tidy [Pipeline] echo 10:26:43 [semverPrep] This is not a build commit. [Pipeline] sh 10:26:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:26:43 + grep -v github /etc/ssh/ssh_known_hosts 10:26:43 + [ -e /tmp/ssh_known_hosts ] 10:26:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:26:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:26:43 + sudo tee -a /etc/ssh/ssh_known_hosts 10:26:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:26:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:26:43 10:26:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:26:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:26:44 latest: Pulling from edgex-devops/py-git-semver 10:26:44 1fe172e4850f: Pulling fs layer 10:26:44 caf521ccaac6: Pulling fs layer 10:26:44 3ead6fa29328: Pulling fs layer 10:26:44 5c2a1cbceb83: Pulling fs layer 10:26:44 a8d5f1318db7: Pulling fs layer 10:26:44 c427282e49a2: Pulling fs layer 10:26:44 1827001aaf11: Pulling fs layer 10:26:44 0714d37db230: Pulling fs layer 10:26:44 ac28cf19c067: Pulling fs layer 10:26:44 ca983d60f3e2: Pulling fs layer 10:26:44 9f894cec8388: Pulling fs layer 10:26:44 1827001aaf11: Waiting 10:26:44 0714d37db230: Waiting 10:26:44 ac28cf19c067: Waiting 10:26:44 ca983d60f3e2: Waiting 10:26:44 a8d5f1318db7: Waiting 10:26:44 c427282e49a2: Waiting 10:26:44 caf521ccaac6: Verifying Checksum 10:26:44 caf521ccaac6: Download complete 10:26:44 5c2a1cbceb83: Verifying Checksum 10:26:44 5c2a1cbceb83: Download complete 10:26:44 a8d5f1318db7: Verifying Checksum 10:26:44 a8d5f1318db7: Download complete 10:26:44 c427282e49a2: Verifying Checksum 10:26:44 3ead6fa29328: Verifying Checksum 10:26:44 3ead6fa29328: Download complete 10:26:44 0714d37db230: Verifying Checksum 10:26:44 0714d37db230: Download complete 10:26:44 ac28cf19c067: Verifying Checksum 10:26:44 ac28cf19c067: Download complete 10:26:44 ca983d60f3e2: Verifying Checksum 10:26:44 ca983d60f3e2: Download complete 10:26:44 9f894cec8388: Verifying Checksum 10:26:44 9f894cec8388: Download complete 10:26:44 1fe172e4850f: Download complete 10:26:44 1827001aaf11: Verifying Checksum 10:26:44 1827001aaf11: Download complete 10:26:45 1fe172e4850f: Pull complete 10:26:45 caf521ccaac6: Pull complete 10:26:46 3ead6fa29328: Pull complete 10:26:46 5c2a1cbceb83: Pull complete 10:26:46 a8d5f1318db7: Pull complete 10:26:46 c427282e49a2: Pull complete 10:26:48 1827001aaf11: Pull complete 10:26:48 0714d37db230: Pull complete 10:26:48 ac28cf19c067: Pull complete 10:26:48 ca983d60f3e2: Pull complete 10:26:48 9f894cec8388: Pull complete 10:26:48 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:26:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:26:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 10:26:48 prd-ubuntu20.04-docker-8c-8g-47179 does not seem to be running inside a container 10:26:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 10:26:49 $ docker top 723d86139fada72a3970d8f81e63165c47a5aade95c66de1759c9fb7f707f0aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:26:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:50 [ssh-agent] Looking for ssh-agent implementation... 10:26:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:50 $ docker exec 723d86139fada72a3970d8f81e63165c47a5aade95c66de1759c9fb7f707f0aa ssh-agent 10:26:50 SSH_AUTH_SOCK=/tmp/ssh-Gx6g2uvgcrpf/agent.33 10:26:50 SSH_AGENT_PID=39 10:26:50 Running ssh-add (command line suppressed) 10:26:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_1453425304344802451.key (/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_1453425304344802451.key) 10:26:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:50 + git tag --points-at HEAD [Pipeline] } 10:26:50 $ docker exec --env ******** --env ******** 723d86139fada72a3970d8f81e63165c47a5aade95c66de1759c9fb7f707f0aa ssh-agent -k 10:26:50 unset SSH_AUTH_SOCK; 10:26:50 unset SSH_AGENT_PID; 10:26:50 echo Agent pid 39 killed; 10:26:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:26:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:26:50 [ssh-agent] Looking for ssh-agent implementation... 10:26:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:26:51 $ docker exec 723d86139fada72a3970d8f81e63165c47a5aade95c66de1759c9fb7f707f0aa ssh-agent 10:26:51 SSH_AUTH_SOCK=/tmp/ssh-WjE7kPfaCYJQ/agent.71 10:26:51 SSH_AGENT_PID=78 10:26:51 Running ssh-add (command line suppressed) 10:26:51 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_9143445210400185983.key (/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_9143445210400185983.key) 10:26:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:26:51 + git semver init 10:26:51 2022-05-10 10:26:51,752 [run_init] DEBUG init version:0.0.0 force:False 10:26:51 2022-05-10 10:26:51,753 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver 10:26:51 2022-05-10 10:26:51,753 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver 10:26:51 2022-05-10 10:26:51,754 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380, universal_newlines=False, shell=None, istream=None) 10:26:52 2022-05-10 10:26:52,539 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.git/info/exclude 10:26:52 2022-05-10 10:26:52,540 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 with force:False 10:26:52 2022-05-10 10:26:52,540 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 10:26:52 2022-05-10 10:26:52,544 [execute] INFO git cat-file --batch-check 10:26:52 2022-05-10 10:26:52,545 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 10:26:52 2022-05-10 10:26:52,551 [execute] INFO git cat-file --batch 10:26:52 2022-05-10 10:26:52,552 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 10:26:52 2022-05-10 10:26:52,557 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 10:26:52 0.0.0 [Pipeline] } 10:26:52 $ docker exec --env ******** --env ******** 723d86139fada72a3970d8f81e63165c47a5aade95c66de1759c9fb7f707f0aa ssh-agent -k 10:26:52 unset SSH_AUTH_SOCK; 10:26:52 unset SSH_AGENT_PID; 10:26:52 echo Agent pid 78 killed; 10:26:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:26:53 + git semver [Pipeline] } 10:26:53 $ docker stop --time=1 723d86139fada72a3970d8f81e63165c47a5aade95c66de1759c9fb7f707f0aa 10:26:54 $ docker rm -f 723d86139fada72a3970d8f81e63165c47a5aade95c66de1759c9fb7f707f0aa [Pipeline] // withDockerContainer [Pipeline] sh 10:26:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:26:55 Stashed 1 file(s) [Pipeline] echo 10:26:55 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:26:55 provisioning config files... 10:26:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config3767814276498402996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:26:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47519 in /w/workspace/gexfoundry_device-mqtt-go_PR-380 [Pipeline] { [Pipeline] ws 10:26:55 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 10:26:55 ---> docker-login.sh 10:26:55 nexus3.edgexfoundry.org:10001 10:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:55 Configure a credential helper to remove this warning. See 10:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:55 10:26:55 Login Succeeded 10:26:55 nexus3.edgexfoundry.org:10002 10:26:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:55 Selected Git installation does not exist. Using Default 10:26:55 The recommended git tool is: NONE 10:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:56 Configure a credential helper to remove this warning. See 10:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:56 10:26:56 Login Succeeded 10:26:56 nexus3.edgexfoundry.org:10003 10:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:56 Configure a credential helper to remove this warning. See 10:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:56 10:26:56 Login Succeeded 10:26:56 nexus3.edgexfoundry.org:10004 10:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:56 Configure a credential helper to remove this warning. See 10:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:56 10:26:56 Login Succeeded 10:26:56 docker.io 10:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:26:56 Configure a credential helper to remove this warning. See 10:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:26:56 10:26:56 Login Succeeded 10:26:56 ---> docker-login.sh ends [Pipeline] } 10:26:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:26:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:26:56 ========================================================= 10:26:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:26:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:26: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 . 10:26:57 Sending build context to Docker daemon 5.928MB 10:26:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:26:57 Step 2/12 : FROM ${BASE} AS builder 10:26:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:26:57 59bf1c3509f3: Pulling fs layer 10:26:57 666ba61612fd: Pulling fs layer 10:26:57 8ed8ca486205: Pulling fs layer 10:26:57 4fe6c5a15a65: Pulling fs layer 10:26:57 22a0e8bec74d: Pulling fs layer 10:26:57 ca2b28591e48: Pulling fs layer 10:26:57 a51346096db8: Pulling fs layer 10:26:57 daebc70d1ce1: Pulling fs layer 10:26:57 0e18a0eac166: Pulling fs layer 10:26:57 4fe6c5a15a65: Waiting 10:26:57 a51346096db8: Waiting 10:26:57 daebc70d1ce1: Waiting 10:26:57 0e18a0eac166: Waiting 10:26:57 22a0e8bec74d: Waiting 10:26:57 ca2b28591e48: Waiting 10:26:57 8ed8ca486205: Verifying Checksum 10:26:57 8ed8ca486205: Download complete 10:26:57 666ba61612fd: Verifying Checksum 10:26:57 666ba61612fd: Download complete 10:26:57 22a0e8bec74d: Download complete 10:26:57 ca2b28591e48: Verifying Checksum 10:26:57 ca2b28591e48: Download complete 10:26:57 a51346096db8: Verifying Checksum 10:26:57 a51346096db8: Download complete 10:26:57 59bf1c3509f3: Verifying Checksum 10:26:57 59bf1c3509f3: Download complete 10:26:57 daebc70d1ce1: Verifying Checksum 10:26:57 daebc70d1ce1: Download complete 10:26:57 59bf1c3509f3: Pull complete 10:26:57 666ba61612fd: Pull complete 10:26:57 8ed8ca486205: Pull complete 10:26:57 4fe6c5a15a65: Verifying Checksum 10:26:57 4fe6c5a15a65: Download complete 10:26:57 0e18a0eac166: Verifying Checksum 10:26:57 0e18a0eac166: Download complete 10:27:00 using credential edgex-jenkins-ssh 10:27:00 Cloning the remote Git repository 10:27:00 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 10:27:02 4fe6c5a15a65: Pull complete 10:27:02 22a0e8bec74d: Pull complete 10:27:02 ca2b28591e48: Pull complete 10:27:02 a51346096db8: Pull complete 10:27:02 daebc70d1ce1: Pull complete 10:27:01 > git init /w/workspace/device-mqtt-go/2 # timeout=10 10:27:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:27:01 > git --version # timeout=10 10:27:01 > git --version # 'git version 2.25.1' 10:27:01 using GIT_SSH to set credentials SSH Credentials for GitHub 10:27:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:27:03 Merging remotes/origin/main commit ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f into PR head commit 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d 10:27:03 Merge succeeded, producing 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d 10:27:03 Checking out Revision 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d (PR-380) 10:27:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:27:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:27:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:27:02 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:27:02 using GIT_SSH to set credentials SSH Credentials for GitHub 10:27:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:27:03 > git config core.sparsecheckout # timeout=10 10:27:03 > git checkout -f 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d # timeout=10 10:27:03 > git remote # timeout=10 10:27:03 > git config --get remote.origin.url # timeout=10 10:27:03 using GIT_SSH to set credentials SSH Credentials for GitHub 10:27:03 > git merge ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 10:27:03 > git rev-parse HEAD^{commit} # timeout=10 10:27:03 > git config core.sparsecheckout # timeout=10 10:27:03 > git checkout -f 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d # timeout=10 10:27:03 0e18a0eac166: Pull complete 10:27:03 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:27:03 ---> f018257e8ee9 10:27:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:27:04 ---> Running in 356d94356075 10:27:04 Removing intermediate container 356d94356075 10:27:04 ---> 16782db17308 10:27:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:27:04 ---> Running in 32976532232a 10:27:05 Removing intermediate container 32976532232a 10:27:05 ---> fc499fbe5452 10:27:05 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:27:05 ---> Running in dd48babe7114 10:27:05 Removing intermediate container dd48babe7114 10:27:05 ---> d3bf460b366c 10:27:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:05 ---> Running in 09866711128f 10:27:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:27:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:27:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:27:07 (2/4) Installing libedit (20210910.3.1-r0) 10:27:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:27:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:27:07 Executing busybox-1.34.1-r3.trigger 10:27:07 OK: 224 MiB in 56 packages 10:27:07 Commit message: "build(deps): go mod tidy" 10:27:08 Removing intermediate container 09866711128f 10:27:08 ---> 946474e77cb8 10:27:08 Step 7/12 : WORKDIR /device-mqtt-go 10:27:08 ---> Running in 51e9e1a070b2 10:27:08 Removing intermediate container 51e9e1a070b2 10:27:08 ---> ca4d4e47b339 10:27:08 Step 8/12 : COPY go.mod vendor* ./ 10:27:08 ---> ecf6fcde913d 10:27:08 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:27:08 ---> Running in 6336e6047fe6 10:27:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:27:08 % Total % Received % Xferd Average Speed Time Time Time Current 10:27:08 Dload Upload Total Spent Left Speed 10:27:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 10:27:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:27:09 + sudo tee /etc/docker/daemon.new 10:27:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:27:09 { 10:27:09 "registry-mirrors": [ 10:27:09 "https://nexus3.edgexfoundry.org:10001" 10:27:09 ], 10:27:09 "bip": "10.250.0.254/24", 10:27:09 "hosts": [ 10:27:09 "tcp://0.0.0.0:5555", 10:27:09 "unix:///var/run/docker.sock" 10:27:09 ], 10:27:09 "mtu": 1458, 10:27:09 "selinux-enabled": true, 10:27:09 "seccomp-profile": "/etc/docker/seccomp.json" 10:27:09 } [Pipeline] sh 10:27:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:27:10 + sudo service docker restart 10:27:23 Removing intermediate container 6336e6047fe6 10:27:23 ---> 495a1708ecfc 10:27:23 Step 10/12 : COPY . . 10:27:23 ---> 782b2d580142 10:27:23 Step 11/12 : ARG MAKE='make build' 10:27:23 ---> Running in d2fa315965f0 10:27:23 Removing intermediate container d2fa315965f0 10:27:23 ---> bc5e90743bfd 10:27:23 Step 12/12 : RUN $MAKE 10:27:23 ---> Running in 656689bacb84 10:27:23 noop 10:27:23 Removing intermediate container 656689bacb84 10:27:23 ---> b289482e7269 10:27:23 Successfully built b289482e7269 10:27:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:27:23 + docker inspect -f . ci-base-image-x86_64 10:27:23 . [Pipeline] withDockerContainer 10:27:23 prd-ubuntu20.04-docker-8c-8g-47179 does not seem to be running inside a container 10:27:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:27:23 $ docker top 1572203e9f6c80fc90675f52039e207469747afaa0e64c2c82b7a39fa009e72f -eo pid,comm [Pipeline] { [Pipeline] sh 10:27:24 + go version 10:27:24 go version go1.17.6 linux/amd64 [Pipeline] } 10:27:24 $ docker stop --time=1 1572203e9f6c80fc90675f52039e207469747afaa0e64c2c82b7a39fa009e72f 10:27:25 $ docker rm -f 1572203e9f6c80fc90675f52039e207469747afaa0e64c2c82b7a39fa009e72f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:27:25 + docker inspect -f . ci-base-image-x86_64 10:27:25 . [Pipeline] withDockerContainer 10:27:26 prd-ubuntu20.04-docker-8c-8g-47179 does not seem to be running inside a container 10:27:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:27:26 $ docker top 40b4fe7a87d1215b2be38c2b14df61013c0007d270fda015a89402c9c22bf4b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:27:26 + make test 10:27:26 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:27:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:27:28 provisioning config files... 10:27:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config2935286428190335405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:27:28 ---> docker-login.sh 10:27:28 nexus3.edgexfoundry.org:10001 10:27:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:29 Configure a credential helper to remove this warning. See 10:27:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:29 10:27:29 Login Succeeded 10:27:29 nexus3.edgexfoundry.org:10002 10:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:30 Configure a credential helper to remove this warning. See 10:27:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:30 10:27:30 Login Succeeded 10:27:30 nexus3.edgexfoundry.org:10003 10:27:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:31 Configure a credential helper to remove this warning. See 10:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:31 10:27:31 Login Succeeded 10:27:31 nexus3.edgexfoundry.org:10004 10:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:31 Configure a credential helper to remove this warning. See 10:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:31 10:27:31 Login Succeeded 10:27:31 docker.io 10:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:27:32 Configure a credential helper to remove this warning. See 10:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:27:32 10:27:32 Login Succeeded 10:27:32 ---> docker-login.sh ends [Pipeline] } 10:27:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:27:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:27:32 ========================================================= 10:27:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:27:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:27:33 + 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 . 10:27:33 Sending build context to Docker daemon 3.086MB 10:27:33 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:27:33 Step 2/12 : FROM ${BASE} AS builder 10:27:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:27:33 9b3977197b4f: Pulling fs layer 10:27:33 1a89e8eeedd5: Pulling fs layer 10:27:33 94645a83ff95: Pulling fs layer 10:27:33 3f3a8bcf1eab: Pulling fs layer 10:27:33 0c92f367c5e7: Pulling fs layer 10:27:33 3096ccb668a1: Pulling fs layer 10:27:33 e8cf19c19ddd: Pulling fs layer 10:27:33 a4caa8a26152: Pulling fs layer 10:27:33 3f3a8bcf1eab: Waiting 10:27:33 e8cf19c19ddd: Waiting 10:27:33 0c92f367c5e7: Waiting 10:27:33 a4caa8a26152: Waiting 10:27:33 3096ccb668a1: Waiting 10:27:33 94645a83ff95: Verifying Checksum 10:27:33 94645a83ff95: Download complete 10:27:33 1a89e8eeedd5: Verifying Checksum 10:27:33 1a89e8eeedd5: Download complete 10:27:33 0c92f367c5e7: Verifying Checksum 10:27:33 0c92f367c5e7: Download complete 10:27:34 3096ccb668a1: Download complete 10:27:34 9b3977197b4f: Download complete 10:27:34 e8cf19c19ddd: Verifying Checksum 10:27:34 e8cf19c19ddd: Download complete 10:27:34 9b3977197b4f: Pull complete 10:27:35 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:27:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 10:27:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:27:35 1a89e8eeedd5: Pull complete 10:27:35 94645a83ff95: Pull complete 10:27:36 a4caa8a26152: Verifying Checksum 10:27:36 a4caa8a26152: Download complete 10:27:36 3f3a8bcf1eab: Verifying Checksum 10:27:36 3f3a8bcf1eab: Download complete 10:27:41 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:27:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:27:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:27:46 ./bin/test-attribution-txt.sh [Pipeline] echo 10:27:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:27:46 $ docker stop --time=1 40b4fe7a87d1215b2be38c2b14df61013c0007d270fda015a89402c9c22bf4b9 10:27:48 $ docker rm -f 40b4fe7a87d1215b2be38c2b14df61013c0007d270fda015a89402c9c22bf4b9 [Pipeline] // withDockerContainer [Pipeline] sh 10:27:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:27:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:27:49 3f3a8bcf1eab: Pull complete 10:27:49 0c92f367c5e7: Pull complete 10:27:49 3096ccb668a1: Pull complete 10:27:49 e8cf19c19ddd: Pull complete 10:27:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:27:49 + ls -al . 10:27:49 total 180 10:27:49 drwxrwxr-x 10 jenkins jenkins 4096 May 10 10:27 . 10:27:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 10:26 .. 10:27:49 -rw-rw-r-- 1 jenkins jenkins 140 May 10 10:26 .dockerignore 10:27:49 drwxrwxr-x 8 jenkins jenkins 4096 May 10 10:26 .git 10:27:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:26 .github 10:27:49 -rw-rw-r-- 1 jenkins jenkins 329 May 10 10:26 .gitignore 10:27:49 -rw-rw-r-- 1 jenkins jenkins 41 May 10 10:26 .golangci.yml 10:27:49 drwxr-xr-x 3 jenkins jenkins 4096 May 10 10:26 .semver 10:27:49 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 10:26 Attribution.txt 10:27:49 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 10:26 CHANGELOG.md 10:27:49 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 10:26 Dockerfile 10:27:49 -rw-rw-r-- 1 jenkins jenkins 677 May 10 10:26 GOVERNANCE.md 10:27:49 -rw-rw-r-- 1 jenkins jenkins 678 May 10 10:26 Jenkinsfile 10:27:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 10:26 LICENSE 10:27:49 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 10:26 Makefile 10:27:49 -rw-rw-r-- 1 jenkins jenkins 620 May 10 10:26 OWNERS.md 10:27:49 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 10:26 README.md 10:27:49 -rw-rw-r-- 1 jenkins jenkins 5 May 10 10:26 VERSION 10:27:49 drwxrwxr-x 2 jenkins jenkins 4096 May 10 10:26 bin 10:27:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:26 cmd 10:27:49 -rw-r--r-- 1 jenkins jenkins 17887 May 10 10:27 coverage.out 10:27:49 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 10:26 go.mod 10:27:49 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 10:26 go.sum 10:27:49 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:26 internal 10:27:49 drwxrwxr-x 2 jenkins jenkins 4096 May 10 10:26 mock 10:27:49 drwxrwxr-x 4 jenkins jenkins 4096 May 10 10:26 snap 10:27:49 -rw-rw-r-- 1 jenkins jenkins 227 May 10 10:26 version.go [Pipeline] isUnix [Pipeline] sh 10:27:50 + 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=11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d --label arch=amd64 --label version=0.0.0 . 10:27:50 Sending build context to Docker daemon 5.947MB 10:27:50 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 10:27:50 Step 2/24 : FROM ${BASE} AS builder 10:27:50 ---> b289482e7269 10:27:50 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:27:50 ---> Running in 7610beb5d6a9 10:27:50 Removing intermediate container 7610beb5d6a9 10:27:50 ---> c986355494a9 10:27:50 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 10:27:50 ---> Running in 90301a46925e 10:27:50 Removing intermediate container 90301a46925e 10:27:50 ---> 1a43caf4a492 10:27:50 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:27:50 ---> Running in 52cc3e9ef8ec 10:27:51 Removing intermediate container 52cc3e9ef8ec 10:27:51 ---> 706956905687 10:27:51 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:51 ---> Running in 135b4373da3d 10:27:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:27:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:27:52 OK: 224 MiB in 56 packages 10:27:53 Removing intermediate container 135b4373da3d 10:27:53 ---> ab8208445363 10:27:53 Step 7/24 : WORKDIR /device-mqtt-go 10:27:53 ---> Running in 6afac8fb722e 10:27:53 Removing intermediate container 6afac8fb722e 10:27:53 ---> 10671b843242 10:27:53 Step 8/24 : COPY go.mod vendor* ./ 10:27:53 ---> e4ed3e3d3bdb 10:27:53 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:27:53 ---> Running in fffdb523352b 10:27:53 Removing intermediate container fffdb523352b 10:27:53 ---> 135db6ba4bc5 10:27:53 Step 10/24 : COPY . . 10:27:54 ---> 81d3a1eab938 10:27:54 Step 11/24 : ARG MAKE='make build' 10:27:54 ---> Running in 7a43d39b6dfd 10:27:54 Removing intermediate container 7a43d39b6dfd 10:27:54 ---> b90ddb74f5f2 10:27:54 Step 12/24 : RUN $MAKE 10:27:54 ---> Running in 6b22c1d6310b 10:27:54 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 10:27:56 a4caa8a26152: Pull complete 10:27:56 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:27:56 ---> 725f1c02e7f9 10:27:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:27:56 ---> Running in a6e4c4c0b611 10:27:56 Removing intermediate container a6e4c4c0b611 10:27:56 ---> fee9ab424c9c 10:27:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:27:56 ---> Running in 0e3b02d12801 10:27:57 Removing intermediate container 0e3b02d12801 10:27:57 ---> b15404fb60cc 10:27:57 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:27:57 ---> Running in 4aeefddde0b6 10:27:59 Removing intermediate container 4aeefddde0b6 10:27:59 ---> 82d7bf278a37 10:27:59 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:27:59 ---> Running in 053ef3bfb4b1 10:28:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:28:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:28:02 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:28:02 (2/4) Installing libedit (20210910.3.1-r0) 10:28:02 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:28:02 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:28:02 Executing busybox-1.34.1-r3.trigger 10:28:02 OK: 224 MiB in 56 packages 10:28:03 Removing intermediate container 053ef3bfb4b1 10:28:03 ---> 7b50626b734d 10:28:03 Step 7/12 : WORKDIR /device-mqtt-go 10:28:03 ---> Running in cf71d1bdc750 10:28:04 Removing intermediate container cf71d1bdc750 10:28:04 ---> 9c4093233c47 10:28:04 Step 8/12 : COPY go.mod vendor* ./ 10:28:04 ---> cb4dada8bb91 10:28:04 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:28:04 ---> Running in 26e53f32f419 10:28:16 Removing intermediate container 6b22c1d6310b 10:28:16 ---> 2f96b42664c5 10:28:16 Step 13/24 : FROM alpine:3.14 10:28:16 3.14: Pulling from library/alpine 10:28:16 8663204ce13b: Pulling fs layer 10:28:16 8663204ce13b: Verifying Checksum 10:28:16 8663204ce13b: Download complete 10:28:16 8663204ce13b: Pull complete 10:28:16 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:28:16 Status: Downloaded newer image for alpine:3.14 10:28:16 ---> e04c818066af 10:28:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:28:16 ---> Running in 013ed85c00ed 10:28:16 Removing intermediate container 013ed85c00ed 10:28:16 ---> 006b7cd30718 10:28:16 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:28:16 ---> Running in af8c34e67850 10:28:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:28:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:28:16 (1/6) Installing dumb-init (1.2.5-r1) 10:28:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:28:16 (3/6) Installing libsodium (1.0.18-r0) 10:28:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:28:16 (5/6) Installing libzmq (4.3.4-r0) 10:28:16 (6/6) Installing zeromq (4.3.4-r0) 10:28:16 Executing busybox-1.33.1-r7.trigger 10:28:16 OK: 8 MiB in 20 packages 10:28:16 Removing intermediate container af8c34e67850 10:28:16 ---> 318e1c8f022b 10:28:16 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:28:16 ---> bb1551ef1775 10:28:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:28:16 ---> 660dce6bb4ba 10:28:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:28:16 ---> 0b1bc08aac07 10:28:16 Step 19/24 : EXPOSE 59982 10:28:16 ---> Running in 21ca04fa575d 10:28:16 Removing intermediate container 21ca04fa575d 10:28:16 ---> 379ad8df9b15 10:28:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:28:16 ---> Running in 4aa8348768a1 10:28:16 Removing intermediate container 4aa8348768a1 10:28:16 ---> 91871cee3352 10:28:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:28:16 ---> Running in e0aed4566fbd 10:28:16 Removing intermediate container e0aed4566fbd 10:28:16 ---> 1b41c44d7a44 10:28:16 Step 22/24 : LABEL arch=amd64 10:28:16 ---> Running in dc7fb290516e 10:28:16 Removing intermediate container dc7fb290516e 10:28:16 ---> f592f02abf67 10:28:16 Step 23/24 : LABEL git_sha=11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d 10:28:16 ---> Running in 3e90ec361c75 10:28:16 Removing intermediate container 3e90ec361c75 10:28:16 ---> 01ab3810c8e6 10:28:16 Step 24/24 : LABEL version=0.0.0 10:28:16 ---> Running in 6c12b0987b55 10:28:16 Removing intermediate container 6c12b0987b55 10:28:16 ---> 30acc572eaa3 10:28:16 [Warning] One or more build-args [ARCH] were not consumed 10:28:16 Successfully built 30acc572eaa3 10:28:16 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:28:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:17 10:28:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:28:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:17 latest: Pulling from edgex-lftools-log-publisher 10:28:17 5eb5b503b376: Pulling fs layer 10:28:17 5c69ac0246d0: Pulling fs layer 10:28:17 ec43610c2a17: Pulling fs layer 10:28:17 3a2ae6a8a46f: Pulling fs layer 10:28:17 33b1e0a273af: Pulling fs layer 10:28:17 5d3b04190fa2: Pulling fs layer 10:28:17 2f39f015ded8: Pulling fs layer 10:28:17 33b1e0a273af: Waiting 10:28:17 5d3b04190fa2: Waiting 10:28:17 3a2ae6a8a46f: Waiting 10:28:17 5c69ac0246d0: Download complete 10:28:17 3a2ae6a8a46f: Download complete 10:28:17 ec43610c2a17: Verifying Checksum 10:28:17 ec43610c2a17: Download complete 10:28:17 33b1e0a273af: Verifying Checksum 10:28:17 33b1e0a273af: Download complete 10:28:17 5d3b04190fa2: Download complete 10:28:17 5eb5b503b376: Verifying Checksum 10:28:17 5eb5b503b376: Download complete 10:28:18 2f39f015ded8: Download complete 10:28:18 5eb5b503b376: Pull complete 10:28:18 5c69ac0246d0: Pull complete 10:28:19 ec43610c2a17: Pull complete 10:28:19 3a2ae6a8a46f: Pull complete 10:28:19 33b1e0a273af: Pull complete 10:28:19 5d3b04190fa2: Pull complete 10:28:23 2f39f015ded8: Pull complete 10:28:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:28:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:28:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:28:24 prd-ubuntu20.04-docker-8c-8g-47179 does not seem to be running inside a container 10:28:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:28:25 $ docker top cdf5c92bd1b578648c4ef1b2edd9f300c44f90b823849b5782def9937da6f84d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:28:25 ---> job-cost.sh 10:28:25 lf-activate-venv: SKIPPING 10:28:25 INFO: No Stack... 10:28:26 INFO: Retrieving Pricing Info for: v3-standard-8 10:28:27 INFO: Archiving Costs [Pipeline] sh 10:28:27 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/cost.csv 10:28:27 + cut -d, -f6 [Pipeline] lock 10:28:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-380-2-stack-cost] 10:28:27 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-2-stack-cost] did not exist. Created. 10:28:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-380-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:28:27 + echo total: 0.2199999988079071 [Pipeline] stash 10:28:27 Stashed 1 file(s) [Pipeline] } 10:28:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:28:27 $ docker stop --time=1 cdf5c92bd1b578648c4ef1b2edd9f300c44f90b823849b5782def9937da6f84d 10:28:28 $ docker rm -f cdf5c92bd1b578648c4ef1b2edd9f300c44f90b823849b5782def9937da6f84d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:28:51 Removing intermediate container 26e53f32f419 10:28:51 ---> ee719db7c26e 10:28:51 Step 10/12 : COPY . . 10:28:51 ---> 3e97fdf54f43 10:28:51 Step 11/12 : ARG MAKE='make build' 10:28:51 ---> Running in 9b0b81fa947a 10:28:52 Removing intermediate container 9b0b81fa947a 10:28:52 ---> 90988994d77b 10:28:52 Step 12/12 : RUN $MAKE 10:28:52 ---> Running in 50de00be9f3c 10:28:53 noop 10:28:54 Removing intermediate container 50de00be9f3c 10:28:54 ---> 1574d453d051 10:28:54 Successfully built 1574d453d051 10:28:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:28:54 + docker inspect -f . ci-base-image-arm64 10:28:54 . [Pipeline] withDockerContainer 10:28:54 prd-ubuntu20.04-docker-arm64-4c-16g-47519 does not seem to be running inside a container 10:28:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:28:56 $ docker top 599bfbb571fe02671b483961cb9b3548617998f69eb78a72fe2c2b8e099caea8 -eo pid,comm [Pipeline] { [Pipeline] sh 10:28:57 + go version 10:28:57 go version go1.17.6 linux/arm64 [Pipeline] } 10:28:57 $ docker stop --time=1 599bfbb571fe02671b483961cb9b3548617998f69eb78a72fe2c2b8e099caea8 10:28:58 $ docker rm -f 599bfbb571fe02671b483961cb9b3548617998f69eb78a72fe2c2b8e099caea8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:28:59 + docker inspect -f . ci-base-image-arm64 10:28:59 . [Pipeline] withDockerContainer 10:28:59 prd-ubuntu20.04-docker-arm64-4c-16g-47519 does not seem to be running inside a container 10:28:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:29:01 $ docker top d054801970ead45a72f6cab590925a83b4b95934777b83b513eec81a6f910d54 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:29:02 + make test 10:29:02 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:29:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:30:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:30:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 21.8% of statements 10:30:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:30:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:30:41 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:30:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:30:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:30:59 ./bin/test-attribution-txt.sh [Pipeline] echo 10:31:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:31:02 $ docker stop --time=1 d054801970ead45a72f6cab590925a83b4b95934777b83b513eec81a6f910d54 10:31:03 $ docker rm -f d054801970ead45a72f6cab590925a83b4b95934777b83b513eec81a6f910d54 [Pipeline] // withDockerContainer [Pipeline] sh 10:31:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:31:04 Warning: overwriting stash ‘coverage-report’ 10:31:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:31:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:31:06 + ls -al . 10:31:06 total 176 10:31:06 drwxrwxr-x 9 jenkins jenkins 4096 May 10 10:31 . 10:31:06 drwxrwxr-x 4 jenkins jenkins 4096 May 10 10:27 .. 10:31:06 -rw-rw-r-- 1 jenkins jenkins 140 May 10 10:27 .dockerignore 10:31:06 drwxrwxr-x 8 jenkins jenkins 4096 May 10 10:27 .git 10:31:06 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:27 .github 10:31:06 -rw-rw-r-- 1 jenkins jenkins 329 May 10 10:27 .gitignore 10:31:06 -rw-rw-r-- 1 jenkins jenkins 41 May 10 10:27 .golangci.yml 10:31:06 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 10:27 Attribution.txt 10:31:06 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 10:27 CHANGELOG.md 10:31:06 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 10:27 Dockerfile 10:31:06 -rw-rw-r-- 1 jenkins jenkins 677 May 10 10:27 GOVERNANCE.md 10:31:06 -rw-rw-r-- 1 jenkins jenkins 678 May 10 10:27 Jenkinsfile 10:31:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 10:27 LICENSE 10:31:06 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 10:27 Makefile 10:31:06 -rw-rw-r-- 1 jenkins jenkins 620 May 10 10:27 OWNERS.md 10:31:06 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 10:27 README.md 10:31:06 -rw-rw-r-- 1 jenkins jenkins 5 May 10 10:26 VERSION 10:31:06 drwxrwxr-x 2 jenkins jenkins 4096 May 10 10:27 bin 10:31:06 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:27 cmd 10:31:06 -rw-r--r-- 1 jenkins jenkins 17887 May 10 10:30 coverage.out 10:31:06 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 10:27 go.mod 10:31:06 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 10:27 go.sum 10:31:06 drwxrwxr-x 3 jenkins jenkins 4096 May 10 10:27 internal 10:31:06 drwxrwxr-x 2 jenkins jenkins 4096 May 10 10:27 mock 10:31:06 drwxrwxr-x 4 jenkins jenkins 4096 May 10 10:27 snap 10:31:06 -rw-rw-r-- 1 jenkins jenkins 227 May 10 10:27 version.go [Pipeline] isUnix [Pipeline] sh 10:31:06 + 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=11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d --label arch=arm64 --label version=0.0.0 . 10:31:07 Sending build context to Docker daemon 3.104MB 10:31:07 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 10:31:07 Step 2/24 : FROM ${BASE} AS builder 10:31:07 ---> 1574d453d051 10:31:07 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:31:07 ---> Running in 437e89668bc2 10:31:08 Removing intermediate container 437e89668bc2 10:31:08 ---> fc92d7550ac2 10:31:08 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 10:31:08 ---> Running in 2230432a08c8 10:31:08 Removing intermediate container 2230432a08c8 10:31:08 ---> 569a9469e199 10:31:08 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:31:08 ---> Running in e88bccd18213 10:31:10 Removing intermediate container e88bccd18213 10:31:10 ---> b68db80db06b 10:31:10 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:31:10 ---> Running in 1ef22eb127e5 10:31:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:31:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:31:12 OK: 224 MiB in 56 packages 10:31:13 Removing intermediate container 1ef22eb127e5 10:31:13 ---> c04bcef73487 10:31:13 Step 7/24 : WORKDIR /device-mqtt-go 10:31:13 ---> Running in f5e2e1f5ae41 10:31:14 Removing intermediate container f5e2e1f5ae41 10:31:14 ---> 7633c63a3766 10:31:14 Step 8/24 : COPY go.mod vendor* ./ 10:31:14 ---> 9c4447bcad26 10:31:14 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:31:14 ---> Running in 1d0235b93b31 10:31:16 Removing intermediate container 1d0235b93b31 10:31:16 ---> 79c9e7a38a39 10:31:16 Step 10/24 : COPY . . 10:31:17 ---> 7e9239c40187 10:31:17 Step 11/24 : ARG MAKE='make build' 10:31:17 ---> Running in bfa618c849b3 10:31:17 Removing intermediate container bfa618c849b3 10:31:17 ---> f6dff24d5c8b 10:31:17 Step 12/24 : RUN $MAKE 10:31:18 ---> Running in caf1aafdab4b 10:31:19 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 10:33:26 Removing intermediate container caf1aafdab4b 10:33:26 ---> c931bfd7a471 10:33:26 Step 13/24 : FROM alpine:3.14 10:33:26 3.14: Pulling from library/alpine 10:33:26 455c02918c45: Pulling fs layer 10:33:26 455c02918c45: Verifying Checksum 10:33:26 455c02918c45: Download complete 10:33:26 455c02918c45: Pull complete 10:33:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:33:26 Status: Downloaded newer image for alpine:3.14 10:33:26 ---> ac73e934f311 10:33:26 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:33:26 ---> Running in 40d3948345de 10:33:26 Removing intermediate container 40d3948345de 10:33:26 ---> 57cce5c23917 10:33:26 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:33:26 ---> Running in 2267f67fb48b 10:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:33:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:33:26 (1/6) Installing dumb-init (1.2.5-r1) 10:33:26 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:33:26 (3/6) Installing libsodium (1.0.18-r0) 10:33:26 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:33:26 (5/6) Installing libzmq (4.3.4-r0) 10:33:26 (6/6) Installing zeromq (4.3.4-r0) 10:33:26 Executing busybox-1.33.1-r7.trigger 10:33:26 OK: 8 MiB in 20 packages 10:33:27 Removing intermediate container 2267f67fb48b 10:33:27 ---> 4df6dd068ae1 10:33:27 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:33:28 ---> d4403e4346e0 10:33:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:33:29 ---> e295ee9178a4 10:33:29 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:33:29 ---> febb61979e52 10:33:29 Step 19/24 : EXPOSE 59982 10:33:29 ---> Running in e23729a78725 10:33:30 Removing intermediate container e23729a78725 10:33:30 ---> b010f2b3aac1 10:33:30 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:33:30 ---> Running in 41a5722b4969 10:33:30 Removing intermediate container 41a5722b4969 10:33:30 ---> a7075a18a44c 10:33:30 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:33:30 ---> Running in 7eb9cf84a09d 10:33:31 Removing intermediate container 7eb9cf84a09d 10:33:31 ---> 65acc76e24f1 10:33:31 Step 22/24 : LABEL arch=arm64 10:33:31 ---> Running in 614b10bb3f54 10:33:31 Removing intermediate container 614b10bb3f54 10:33:31 ---> 3763e735fee3 10:33:31 Step 23/24 : LABEL git_sha=11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d 10:33:31 ---> Running in 487a358a8a72 10:33:31 Removing intermediate container 487a358a8a72 10:33:31 ---> a8aebbd319a9 10:33:31 Step 24/24 : LABEL version=0.0.0 10:33:31 ---> Running in 6e515e7a1c96 10:33:32 Removing intermediate container 6e515e7a1c96 10:33:32 ---> f2079007dbdf 10:33:32 [Warning] One or more build-args [ARCH] were not consumed 10:33:32 Successfully built f2079007dbdf 10:33:32 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:33:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:32 10:33:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:33:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:33 arm64: Pulling from edgex-lftools-log-publisher 10:33:33 8998bd30e6a1: Pulling fs layer 10:33:33 04944245beec: Pulling fs layer 10:33:33 699f458cf7ca: Pulling fs layer 10:33:33 765212b225bb: Pulling fs layer 10:33:33 f23df028b6ca: Pulling fs layer 10:33:33 d65c8cfc05b1: Pulling fs layer 10:33:33 2437ff75d9bd: Pulling fs layer 10:33:33 765212b225bb: Waiting 10:33:33 f23df028b6ca: Waiting 10:33:33 d65c8cfc05b1: Waiting 10:33:33 2437ff75d9bd: Waiting 10:33:33 04944245beec: Verifying Checksum 10:33:33 04944245beec: Download complete 10:33:33 765212b225bb: Verifying Checksum 10:33:33 765212b225bb: Download complete 10:33:33 f23df028b6ca: Download complete 10:33:33 d65c8cfc05b1: Verifying Checksum 10:33:33 d65c8cfc05b1: Download complete 10:33:33 699f458cf7ca: Verifying Checksum 10:33:33 699f458cf7ca: Download complete 10:33:33 8998bd30e6a1: Verifying Checksum 10:33:33 8998bd30e6a1: Download complete 10:33:36 2437ff75d9bd: Verifying Checksum 10:33:38 8998bd30e6a1: Pull complete 10:33:38 04944245beec: Pull complete 10:33:40 699f458cf7ca: Pull complete 10:33:40 765212b225bb: Pull complete 10:33:41 f23df028b6ca: Pull complete 10:33:41 d65c8cfc05b1: Pull complete 10:33:56 2437ff75d9bd: Pull complete 10:33:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:33:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:33:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:33:56 prd-ubuntu20.04-docker-arm64-4c-16g-47519 does not seem to be running inside a container 10:33:57 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:33:59 $ docker top 3ffed6825fa0857d52dacf07d236d69d040e4faf6b95d8fa5ce2959f7b869089 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:34:00 ---> job-cost.sh 10:34:00 lf-activate-venv: SKIPPING 10:34:00 INFO: No Stack... 10:34:01 INFO: Retrieving Pricing Info for: v3-standard-4 10:34:01 INFO: Archiving Costs [Pipeline] sh 10:34:02 + cut -d, -f6 10:34:02 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock 10:34:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-380-2-stack-cost] 10:34:02 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-2-stack-cost] did not exist. Created. 10:34:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-380-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:34:03 /w/workspace/device-mqtt-go/2@tmp/durable-088cdd1a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:34:04 + echo total: 0.10999999940395355 [Pipeline] stash 10:34:04 Warning: overwriting stash ‘stack-cost’ 10:34:04 Stashed 1 file(s) [Pipeline] } 10:34:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:34:04 $ docker stop --time=1 3ffed6825fa0857d52dacf07d236d69d040e4faf6b95d8fa5ce2959f7b869089 10:34:06 $ docker rm -f 3ffed6825fa0857d52dacf07d236d69d040e4faf6b95d8fa5ce2959f7b869089 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 10:34:06 provisioning config files... 10:34:06 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config3779964575956180267tmp [Pipeline] { [Pipeline] sh 10:34:06 + set +x 10:34:06 + curl -s https://codecov.io/bash 10:34:06 + bash -s -- 10:34:06 10:34:06 _____ _ 10:34:06 / ____| | | 10:34:06 | | ___ __| | ___ ___ _____ __ 10:34:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:34:06 | |___| (_) | (_| | __/ (_| (_) \ V / 10:34:06 \_____\___/ \__,_|\___|\___\___/ \_/ 10:34:06 Bash-1.0.6 10:34:06 10:34:06 10:34:06 ==> git version 2.25.1 found 10:34:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:34:06 Release-Date: 2020-01-08 10:34:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:34:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:34:06 ==> Jenkins CI detected. 10:34:06 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-380 10:34:06 project root: . 10:34:06 --> token set from env 10:34:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:34:06 ==> Running gcov in . (disable via -X gcov) 10:34:06 ==> Python coveragepy not found 10:34:06 ==> Searching for coverage reports in: 10:34:06 + . 10:34:06 -> Found 1 reports 10:34:06 ==> Detecting git/mercurial file structure 10:34:06 ==> Reading reports 10:34:06 + ./coverage.out bytes=17887 10:34:06 ==> Appending adjustments 10:34:06 https://docs.codecov.io/docs/fixing-reports 10:34:06 + Found adjustments 10:34:06 ==> Gzipping contents 10:34:06 4.0K /tmp/codecov.Cjp2jp.gz 10:34:06 ==> Uploading reports 10:34:06 url: https://codecov.io 10:34:06 query: branch=PR-380&commit=11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-380%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=380&job=&cmd_args= 10:34:06 -> Pinging Codecov 10:34:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-380&commit=11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-380%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=380&job=&cmd_args= 10:34:07 -> Uploading to 10:34:07 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7D719EC7BBE17E464838252E33014C33/11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d/119d0689-79a0-4417-ba50-8a2200602178.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T103407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fdf57b8a883ce8fc14d61627885639e80e32ae502b264899b6be48a38e93cbdd 10:34:07 % Total % Received % Xferd Average Speed Time Time Time Current 10:34:07 Dload Upload Total Spent Left Speed 10:34:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 13944 --:--:-- --:--:-- --:--:-- 13944 10:34:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d [Pipeline] } 10:34:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:34:08 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives ] 10:34:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 10:34:08 total 16 10:34:08 drwxr-xr-x 3 root root 4096 May 10 10:28 . 10:34:08 drwxrwxr-x 11 jenkins jenkins 4096 May 10 10:28 .. 10:34:08 drwxr-xr-x 2 root root 4096 May 10 10:28 cost 10:34:08 -rw-r--r-- 1 root root 86 May 10 10:28 cost.csv 10:34:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 10:34:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 10:34:08 total 16 10:34:08 drwxr-xr-x 3 jenkins jenkins 4096 May 10 10:28 . 10:34:08 drwxrwxr-x 11 jenkins jenkins 4096 May 10 10:28 .. 10:34:08 drwxr-xr-x 2 jenkins jenkins 4096 May 10 10:28 cost 10:34:08 -rw-r--r-- 1 jenkins jenkins 86 May 10 10:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:34:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:34:09 ---> package-listing.sh 10:34:09 ++ facter osfamily 10:34:09 ++ tr '[:upper:]' '[:lower:]' 10:34:09 + OS_FAMILY=debian 10:34:09 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-380 10:34:09 + START_PACKAGES=/tmp/packages_start.txt 10:34:09 + END_PACKAGES=/tmp/packages_end.txt 10:34:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:34:09 + PACKAGES=/tmp/packages_start.txt 10:34:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-380 ']' 10:34:09 + PACKAGES=/tmp/packages_end.txt 10:34:09 + case "${OS_FAMILY}" in 10:34:09 + dpkg -l 10:34:09 + grep '^ii' 10:34:09 + '[' -f /tmp/packages_start.txt ']' 10:34:09 + '[' -f /tmp/packages_end.txt ']' 10:34:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:34:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-380 ']' 10:34:09 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/ 10:34:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/ [Pipeline] echo 10:34:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:34:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:34:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:34:10 . [Pipeline] withDockerContainer 10:34:10 prd-ubuntu20.04-docker-8c-8g-47179 does not seem to be running inside a container 10:34:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:34:10 $ docker top bebc9bc1ef3e08a0210c3a4b0486d3cf5572e90d0a9414ffc390f0a2e43b1c04 -eo pid,comm [Pipeline] { [Pipeline] sh 10:34:11 + touch /tmp/pre-build-complete [Pipeline] sh 10:34:11 + mkdir -p /var/log/sysstat [Pipeline] sh 10:34:11 + ls /var/log/sa-host 10:34:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:34:11 provisioning config files... 10:34:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config4012766035799635975tmp [Pipeline] { [Pipeline] echo 10:34:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:34:12 ---> create-netrc.sh [Pipeline] } 10:34:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:34:12 ---> python-tools-install.sh [Pipeline] echo 10:34:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:34:12 ---> sudo-logs.sh 10:34:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:34:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:34:13 ---> job-cost.sh 10:34:13 lf-activate-venv: SKIPPING 10:34:13 DEBUG: total: 0.2199999988079071 10:34:13 INFO: Retrieving Stack Cost... 10:34:13 INFO: Retrieving Pricing Info for: v3-standard-8 10:34:13 INFO: Archiving Costs [Pipeline] echo 10:34:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:34:14 ---> logs-deploy.sh 10:34:14 lf-activate-venv: SKIPPING 10:34:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-380/2 10:34:14 INFO: archiving workspace using pattern(s): 10:34:15 Archives upload complete. 10:34:15 INFO: archiving logs to Nexus