Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 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-ssh11429844079900259785.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-ssh6804599803486136809.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11772525836170022589.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-ssh6977830676811967672.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6523165849256370299.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-builder-2c-1g-47539’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-47533’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47534’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47537’ is offline ‘prd-ubuntu20.04-docker-8c-8g-47542’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-47535’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-47536’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-47538’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-47541’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47543 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#380)" > git rev-list --no-walk ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:10:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:10:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:10:10 ========================================================= 12:10:10 EdgeX Global Pipelines Version Info 12:10:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:10:11 ------------------- 12:10:11 stable info: 12:10:11 ------------------- 12:10:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:10:11 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:10:11 Message: update stable to v1.0.227 12:10:11 ------------------- 12:10:11 experimental info: 12:10:11 ------------------- 12:10:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:10:11 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 12:10:11 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:10:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 12:10:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 12:10:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:10:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:10:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c32965 [Pipeline] echo 12:10:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:10:12 provisioning config files... 12:10:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7491249144905247016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:12 ---> docker-login.sh 12:10:12 nexus3.edgexfoundry.org:10001 12:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:13 Configure a credential helper to remove this warning. See 12:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:13 12:10:13 Login Succeeded 12:10:13 nexus3.edgexfoundry.org:10002 12:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:13 Configure a credential helper to remove this warning. See 12:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:13 12:10:13 Login Succeeded 12:10:13 nexus3.edgexfoundry.org:10003 12:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:13 Configure a credential helper to remove this warning. See 12:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:13 12:10:13 Login Succeeded 12:10:13 nexus3.edgexfoundry.org:10004 12:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:13 Configure a credential helper to remove this warning. See 12:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:13 12:10:13 Login Succeeded 12:10:13 docker.io 12:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:14 Configure a credential helper to remove this warning. See 12:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:14 12:10:14 Login Succeeded 12:10:14 ---> docker-login.sh ends [Pipeline] } 12:10:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:10:14 + git rev-list -1 --merges 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2~1..5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] echo 12:10:14 -----------> git rev-list -1 --merges 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2~1..5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [false] [Pipeline] sh 12:10:14 + git log --format=format:%s -1 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] echo 12:10:14 ========================================================= 12:10:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:10:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:10:15 + git log --format=format:%s -1 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] echo 12:10:15 [semverPrep] GIT_COMMIT: 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#380) [Pipeline] echo 12:10:15 [semverPrep] This is not a build commit. [Pipeline] sh 12:10:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:10:15 + grep -v github /etc/ssh/ssh_known_hosts 12:10:15 + [ -e /tmp/ssh_known_hosts ] 12:10:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:10:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:10:15 + sudo tee -a /etc/ssh/ssh_known_hosts 12:10:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:10:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:10:16 12:10:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:10:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:10:16 latest: Pulling from edgex-devops/py-git-semver 12:10:16 1fe172e4850f: Pulling fs layer 12:10:16 caf521ccaac6: Pulling fs layer 12:10:16 3ead6fa29328: Pulling fs layer 12:10:16 5c2a1cbceb83: Pulling fs layer 12:10:16 a8d5f1318db7: Pulling fs layer 12:10:16 c427282e49a2: Pulling fs layer 12:10:16 1827001aaf11: Pulling fs layer 12:10:16 0714d37db230: Pulling fs layer 12:10:16 ac28cf19c067: Pulling fs layer 12:10:16 ca983d60f3e2: Pulling fs layer 12:10:16 9f894cec8388: Pulling fs layer 12:10:16 a8d5f1318db7: Waiting 12:10:16 c427282e49a2: Waiting 12:10:16 1827001aaf11: Waiting 12:10:16 0714d37db230: Waiting 12:10:16 5c2a1cbceb83: Waiting 12:10:16 ac28cf19c067: Waiting 12:10:16 9f894cec8388: Waiting 12:10:16 ca983d60f3e2: Waiting 12:10:16 caf521ccaac6: Download complete 12:10:16 5c2a1cbceb83: Download complete 12:10:16 a8d5f1318db7: Verifying Checksum 12:10:16 a8d5f1318db7: Download complete 12:10:16 3ead6fa29328: Verifying Checksum 12:10:16 3ead6fa29328: Download complete 12:10:16 c427282e49a2: Download complete 12:10:16 0714d37db230: Download complete 12:10:16 ac28cf19c067: Verifying Checksum 12:10:16 ac28cf19c067: Download complete 12:10:16 ca983d60f3e2: Verifying Checksum 12:10:16 ca983d60f3e2: Download complete 12:10:16 9f894cec8388: Download complete 12:10:16 1fe172e4850f: Verifying Checksum 12:10:16 1fe172e4850f: Download complete 12:10:16 1827001aaf11: Verifying Checksum 12:10:16 1827001aaf11: Download complete 12:10:17 1fe172e4850f: Pull complete 12:10:17 caf521ccaac6: Pull complete 12:10:18 3ead6fa29328: Pull complete 12:10:18 5c2a1cbceb83: Pull complete 12:10:18 a8d5f1318db7: Pull complete 12:10:18 c427282e49a2: Pull complete 12:10:20 1827001aaf11: Pull complete 12:10:20 0714d37db230: Pull complete 12:10:21 ac28cf19c067: Pull complete 12:10:21 ca983d60f3e2: Pull complete 12:10:21 9f894cec8388: Pull complete 12:10:21 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:10:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:10:21 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:10:21 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:10:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 12:10:23 $ docker top 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 -eo pid,comm 12:10:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 12:10:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:10:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:10:23 [ssh-agent] Looking for ssh-agent implementation... 12:10:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:10:23 $ docker exec 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 ssh-agent 12:10:23 SSH_AUTH_SOCK=/tmp/ssh-4Irj6Uy7Ouvc/agent.33 12:10:23 SSH_AGENT_PID=39 12:10:23 Running ssh-add (command line suppressed) 12:10:23 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_514361661706425345.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_514361661706425345.key) 12:10:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:10:24 + git tag --points-at HEAD [Pipeline] } 12:10:24 $ docker exec --env ******** --env ******** 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 ssh-agent -k 12:10:24 unset SSH_AUTH_SOCK; 12:10:24 unset SSH_AGENT_PID; 12:10:24 echo Agent pid 39 killed; 12:10:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:10:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:10:24 [ssh-agent] Looking for ssh-agent implementation... 12:10:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:10:24 $ docker exec 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 ssh-agent 12:10:24 SSH_AUTH_SOCK=/tmp/ssh-vBk59YAC8YCm/agent.73 12:10:24 SSH_AGENT_PID=79 12:10:24 Running ssh-add (command line suppressed) 12:10:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4098475028244575320.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4098475028244575320.key) 12:10:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:10:25 + git semver init 12:10:25 2022-05-10 12:10:25,276 [run_init] DEBUG init version:0.0.0 force:False 12:10:25 2022-05-10 12:10:25,276 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 12:10:25 2022-05-10 12:10:25,277 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 12:10:25 2022-05-10 12:10:25,277 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 12:10:26 2022-05-10 12:10:26,118 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 12:10:26 2022-05-10 12:10:26,118 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 12:10:26 2022-05-10 12:10:26,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:10:26 2022-05-10 12:10:26,119 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:10:26 2.2.0-dev.22 [Pipeline] } 12:10:26 $ docker exec --env ******** --env ******** 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 ssh-agent -k 12:10:26 unset SSH_AUTH_SOCK; 12:10:26 unset SSH_AGENT_PID; 12:10:26 echo Agent pid 79 killed; 12:10:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:10:26 + git semver [Pipeline] } 12:10:26 $ docker stop --time=1 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 12:10:28 $ docker rm -f 6cfdd1f360f419bbe89794cdce7036aaad32379c213153400d502ff693b2e769 [Pipeline] // withDockerContainer [Pipeline] sh 12:10:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:10:28 Stashed 1 file(s) [Pipeline] echo 12:10:28 [edgeXSemver]: initialized semver on version 2.2.0-dev.22 [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 12:10:29 provisioning config files... 12:10:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4882631585270001392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:10:29 ---> docker-login.sh 12:10:29 nexus3.edgexfoundry.org:10001 12:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:29 Configure a credential helper to remove this warning. See 12:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:29 12:10:29 Login Succeeded 12:10:29 nexus3.edgexfoundry.org:10002 12:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:29 Configure a credential helper to remove this warning. See 12:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:29 12:10:29 Login Succeeded 12:10:29 nexus3.edgexfoundry.org:10003 12:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:29 Configure a credential helper to remove this warning. See 12:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:29 12:10:29 Login Succeeded 12:10:29 nexus3.edgexfoundry.org:10004 12:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:29 Configure a credential helper to remove this warning. See 12:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:29 12:10:29 Login Succeeded 12:10:29 docker.io 12:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:10:30 Configure a credential helper to remove this warning. See 12:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:10:30 12:10:30 Login Succeeded 12:10:30 ---> docker-login.sh ends [Pipeline] } 12:10:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:10:30 ========================================================= 12:10:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:10:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:10:30 + 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 . 12:10:30 Sending build context to Docker daemon 5.905MB 12:10:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:10:30 Step 2/12 : FROM ${BASE} AS builder 12:10:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:10:30 59bf1c3509f3: Pulling fs layer 12:10:30 666ba61612fd: Pulling fs layer 12:10:30 8ed8ca486205: Pulling fs layer 12:10:30 4fe6c5a15a65: Pulling fs layer 12:10:30 22a0e8bec74d: Pulling fs layer 12:10:30 ca2b28591e48: Pulling fs layer 12:10:30 a51346096db8: Pulling fs layer 12:10:30 daebc70d1ce1: Pulling fs layer 12:10:30 0e18a0eac166: Pulling fs layer 12:10:30 4fe6c5a15a65: Waiting 12:10:30 a51346096db8: Waiting 12:10:30 22a0e8bec74d: Waiting 12:10:30 daebc70d1ce1: Waiting 12:10:30 ca2b28591e48: Waiting 12:10:30 0e18a0eac166: Waiting 12:10:30 8ed8ca486205: Verifying Checksum 12:10:30 8ed8ca486205: Download complete 12:10:30 666ba61612fd: Download complete 12:10:30 22a0e8bec74d: Verifying Checksum 12:10:30 22a0e8bec74d: Download complete 12:10:30 ca2b28591e48: Download complete 12:10:30 a51346096db8: Verifying Checksum 12:10:30 a51346096db8: Download complete 12:10:30 59bf1c3509f3: Verifying Checksum 12:10:30 59bf1c3509f3: Download complete 12:10:30 daebc70d1ce1: Verifying Checksum 12:10:30 daebc70d1ce1: Download complete 12:10:30 59bf1c3509f3: Pull complete 12:10:31 666ba61612fd: Pull complete 12:10:31 8ed8ca486205: Pull complete 12:10:31 0e18a0eac166: Verifying Checksum 12:10:31 0e18a0eac166: Download complete 12:10:31 4fe6c5a15a65: Download complete 12:10:35 4fe6c5a15a65: Pull complete 12:10:35 22a0e8bec74d: Pull complete 12:10:35 ca2b28591e48: Pull complete 12:10:35 a51346096db8: Pull complete 12:10:35 daebc70d1ce1: Pull complete 12:10:37 0e18a0eac166: Pull complete 12:10:37 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:10:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:10:37 ---> f018257e8ee9 12:10:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:10:40 ---> Running in 8576e56fbeec 12:10:40 Removing intermediate container 8576e56fbeec 12:10:40 ---> 702c416cafa1 12:10:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:10:40 ---> Running in c88696ceabf1 12:10:40 Removing intermediate container c88696ceabf1 12:10:40 ---> d7640d32a481 12:10:40 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:10:40 ---> Running in f0db5bafdff3 12:10:40 Removing intermediate container f0db5bafdff3 12:10:40 ---> a0e61b12d80d 12:10:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:10:40 ---> Running in d4df53872ae3 12:10:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:10:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:10:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:10:42 (2/4) Installing libedit (20210910.3.1-r0) 12:10:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:10:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:10:42 Executing busybox-1.34.1-r3.trigger 12:10:42 OK: 224 MiB in 56 packages 12:10:43 Removing intermediate container d4df53872ae3 12:10:43 ---> 6d26ef70317b 12:10:43 Step 7/12 : WORKDIR /device-mqtt-go 12:10:43 ---> Running in fa89438ffb7d 12:10:43 Removing intermediate container fa89438ffb7d 12:10:43 ---> eac4a1327db7 12:10:43 Step 8/12 : COPY go.mod vendor* ./ 12:10:43 ---> 8df11f2c94b6 12:10:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:10:43 ---> Running in 09b4998fb4b9 12:10:44 Still waiting to schedule task 12:10:44 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 12:10:58 Removing intermediate container 09b4998fb4b9 12:10:58 ---> 22360a8c0667 12:10:58 Step 10/12 : COPY . . 12:10:58 ---> 93796658bf34 12:10:58 Step 11/12 : ARG MAKE='make build' 12:10:58 ---> Running in 673f378e4ad2 12:10:58 Removing intermediate container 673f378e4ad2 12:10:58 ---> 113635900145 12:10:58 Step 12/12 : RUN $MAKE 12:10:58 ---> Running in 18f71e0942c4 12:10:58 noop 12:10:58 Removing intermediate container 18f71e0942c4 12:10:58 ---> 44738304e61c 12:10:58 Successfully built 44738304e61c 12:10:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:10:58 + docker inspect -f . ci-base-image-x86_64 12:10:58 . [Pipeline] withDockerContainer 12:10:58 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:10:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:10:59 $ docker top cb999e787a2e70aec93a082246cad174f0cba6d90916eedbeba7902d69ecd111 -eo pid,comm [Pipeline] { [Pipeline] sh 12:10:59 + go version 12:10:59 go version go1.17.6 linux/amd64 [Pipeline] } 12:10:59 $ docker stop --time=1 cb999e787a2e70aec93a082246cad174f0cba6d90916eedbeba7902d69ecd111 12:11:01 $ docker rm -f cb999e787a2e70aec93a082246cad174f0cba6d90916eedbeba7902d69ecd111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:11:01 + docker inspect -f . ci-base-image-x86_64 12:11:01 . [Pipeline] withDockerContainer 12:11:01 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:11:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:11:02 $ docker top 780d6bcea66f1cbcb1cc730c67f22208aba2b2b42fd0533212c19ad94429f00a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:11:02 + make test 12:11:02 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:11:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:11:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:11:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 12:11:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:11:18 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:11:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:11:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:11:22 ./bin/test-attribution-txt.sh [Pipeline] echo 12:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:11:22 $ docker stop --time=1 780d6bcea66f1cbcb1cc730c67f22208aba2b2b42fd0533212c19ad94429f00a 12:11:24 $ docker rm -f 780d6bcea66f1cbcb1cc730c67f22208aba2b2b42fd0533212c19ad94429f00a [Pipeline] // withDockerContainer [Pipeline] sh 12:11:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:11:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:11:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:11:26 + ls -al . 12:11:26 total 180 12:11:26 drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:11 . 12:11:26 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:10 .. 12:11:26 -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:10 .dockerignore 12:11:26 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:10 .git 12:11:26 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:10 .github 12:11:26 -rw-rw-r-- 1 jenkins jenkins 329 May 10 12:10 .gitignore 12:11:26 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:10 .golangci.yml 12:11:26 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:10 .semver 12:11:26 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 12:10 Attribution.txt 12:11:26 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 12:10 CHANGELOG.md 12:11:26 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 12:10 Dockerfile 12:11:26 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:10 GOVERNANCE.md 12:11:26 -rw-rw-r-- 1 jenkins jenkins 678 May 10 12:10 Jenkinsfile 12:11:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:10 LICENSE 12:11:26 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 12:10 Makefile 12:11:26 -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:10 OWNERS.md 12:11:26 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 12:10 README.md 12:11:26 -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:10 VERSION 12:11:26 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:10 bin 12:11:26 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:10 cmd 12:11:26 -rw-r--r-- 1 jenkins jenkins 17887 May 10 12:11 coverage.out 12:11:26 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 12:10 go.mod 12:11:26 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 12:10 go.sum 12:11:26 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:10 internal 12:11:26 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:10 mock 12:11:26 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:10 snap 12:11:26 -rw-rw-r-- 1 jenkins jenkins 227 May 10 12:10 version.go [Pipeline] isUnix [Pipeline] sh 12:11:26 + 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=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 --label arch=amd64 --label version=2.2.0-dev.22 . 12:11:26 Sending build context to Docker daemon 5.923MB 12:11:26 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:11:26 Step 2/24 : FROM ${BASE} AS builder 12:11:26 ---> 44738304e61c 12:11:26 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:11:26 ---> Running in e7dd56cb1d91 12:11:26 Removing intermediate container e7dd56cb1d91 12:11:26 ---> c11bbe5b1540 12:11:26 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:11:26 ---> Running in ae76593242de 12:11:26 Removing intermediate container ae76593242de 12:11:26 ---> 6d3ba71902d4 12:11:26 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:11:26 ---> Running in dd2e2122aca8 12:11:27 Removing intermediate container dd2e2122aca8 12:11:27 ---> d487d067b620 12:11:27 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:11:27 ---> Running in 2e7deabc1f2f 12:11:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:11:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:11:28 OK: 224 MiB in 56 packages 12:11:28 Removing intermediate container 2e7deabc1f2f 12:11:28 ---> bff9738a17dc 12:11:28 Step 7/24 : WORKDIR /device-mqtt-go 12:11:28 ---> Running in bef675e6a972 12:11:29 Removing intermediate container bef675e6a972 12:11:29 ---> 53c9d3af9e28 12:11:29 Step 8/24 : COPY go.mod vendor* ./ 12:11:29 ---> 889686e41c58 12:11:29 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:11:29 ---> Running in 0d9e9b4ecc30 12:11:30 Removing intermediate container 0d9e9b4ecc30 12:11:30 ---> d2cd4fec11e1 12:11:30 Step 10/24 : COPY . . 12:11:30 ---> d4b1da22f27b 12:11:30 Step 11/24 : ARG MAKE='make build' 12:11:30 ---> Running in 352ef2ab71dd 12:11:30 Removing intermediate container 352ef2ab71dd 12:11:30 ---> 9ff525f77028 12:11:30 Step 12/24 : RUN $MAKE 12:11:30 ---> Running in 1b9c1145e68d 12:11:30 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 12:11:52 Removing intermediate container 1b9c1145e68d 12:11:52 ---> c28c1932d844 12:11:52 Step 13/24 : FROM alpine:3.14 12:11:52 3.14: Pulling from library/alpine 12:11:52 8663204ce13b: Pulling fs layer 12:11:52 8663204ce13b: Verifying Checksum 12:11:52 8663204ce13b: Download complete 12:11:52 8663204ce13b: Pull complete 12:11:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:11:52 Status: Downloaded newer image for alpine:3.14 12:11:52 ---> e04c818066af 12:11:52 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:11:52 ---> Running in 62cadcf2c158 12:11:52 Removing intermediate container 62cadcf2c158 12:11:52 ---> 4187da80d6fa 12:11:52 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:11:52 ---> Running in 402f24a47ed6 12:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:11:52 (1/6) Installing dumb-init (1.2.5-r1) 12:11:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:11:52 (3/6) Installing libsodium (1.0.18-r0) 12:11:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:11:52 (5/6) Installing libzmq (4.3.4-r0) 12:11:52 (6/6) Installing zeromq (4.3.4-r0) 12:11:52 Executing busybox-1.33.1-r7.trigger 12:11:52 OK: 8 MiB in 20 packages 12:11:53 Removing intermediate container 402f24a47ed6 12:11:53 ---> 98bd164aaafc 12:11:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:11:54 ---> 3716b46c2c6b 12:11:54 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:11:54 ---> 3a9d37833ee1 12:11:54 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:11:54 ---> c32569a04c0b 12:11:54 Step 19/24 : EXPOSE 59982 12:11:54 ---> Running in c3e8a76b284c 12:11:54 Removing intermediate container c3e8a76b284c 12:11:54 ---> 9da2f2282f23 12:11:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:11:54 ---> Running in 1135e3908975 12:11:54 Removing intermediate container 1135e3908975 12:11:54 ---> c7087a0aa66e 12:11:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:11:54 ---> Running in b0b5392f33b4 12:11:54 Removing intermediate container b0b5392f33b4 12:11:54 ---> 8af7e41021c1 12:11:54 Step 22/24 : LABEL arch=amd64 12:11:54 ---> Running in 020e537ccfc4 12:11:54 Removing intermediate container 020e537ccfc4 12:11:54 ---> cd9e59f59296 12:11:54 Step 23/24 : LABEL git_sha=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 12:11:54 ---> Running in acee95b11d10 12:11:54 Removing intermediate container acee95b11d10 12:11:54 ---> 8302e3f68e86 12:11:54 Step 24/24 : LABEL version=2.2.0-dev.22 12:11:55 ---> Running in ec8f891b4ed4 12:11:55 Removing intermediate container ec8f891b4ed4 12:11:55 ---> c7bd21bf4bb1 12:11:55 [Warning] One or more build-args [ARCH] were not consumed 12:11:55 Successfully built c7bd21bf4bb1 12:11:55 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:11:55 provisioning config files... 12:11:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9209101806306579145tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:11:55 ---> docker-login.sh 12:11:55 nexus3.edgexfoundry.org:10001 12:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:55 Configure a credential helper to remove this warning. See 12:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:55 12:11:55 Login Succeeded 12:11:55 nexus3.edgexfoundry.org:10002 12:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:55 Configure a credential helper to remove this warning. See 12:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:55 12:11:55 Login Succeeded 12:11:55 nexus3.edgexfoundry.org:10003 12:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:55 Configure a credential helper to remove this warning. See 12:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:55 12:11:55 Login Succeeded 12:11:55 nexus3.edgexfoundry.org:10004 12:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:55 Configure a credential helper to remove this warning. See 12:11:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:55 12:11:55 Login Succeeded 12:11:55 docker.io 12:11:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:11:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:11:56 Configure a credential helper to remove this warning. See 12:11:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:11:56 12:11:56 Login Succeeded 12:11:56 ---> docker-login.sh ends [Pipeline] } 12:11:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:11:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:11:56 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 12:11:56 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 12:11:56 latest 12:11:56 2.2.0-dev.22 12:11:56 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 12:11:56 main 12:11:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:11:56 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] isUnix [Pipeline] sh 12:11:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 12:11:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:11:57 10bb5d3f4ae1: Preparing 12:11:57 f9438490287b: Preparing 12:11:57 2eb50b7d6620: Preparing 12:11:57 ded6675d5921: Preparing 12:11:57 b541d28bf3b4: Preparing 12:11:57 b541d28bf3b4: Layer already exists 12:11:57 f9438490287b: Pushed 12:11:57 10bb5d3f4ae1: Pushed 12:11:57 ded6675d5921: Pushed 12:12:00 2eb50b7d6620: Pushed 12:12:00 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] isUnix [Pipeline] sh 12:12:01 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 12:12:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 12:12:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:12:01 10bb5d3f4ae1: Preparing 12:12:01 f9438490287b: Preparing 12:12:01 2eb50b7d6620: Preparing 12:12:01 ded6675d5921: Preparing 12:12:01 b541d28bf3b4: Preparing 12:12:01 f9438490287b: Layer already exists 12:12:01 10bb5d3f4ae1: Layer already exists 12:12:01 b541d28bf3b4: Layer already exists 12:12:01 ded6675d5921: Layer already exists 12:12:01 2eb50b7d6620: Layer already exists 12:12:01 latest: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] isUnix [Pipeline] sh 12:12:01 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.22 [Pipeline] isUnix [Pipeline] sh 12:12:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.22 12:12:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:12:01 10bb5d3f4ae1: Preparing 12:12:01 f9438490287b: Preparing 12:12:01 2eb50b7d6620: Preparing 12:12:01 ded6675d5921: Preparing 12:12:01 b541d28bf3b4: Preparing 12:12:01 10bb5d3f4ae1: Layer already exists 12:12:01 b541d28bf3b4: Layer already exists 12:12:01 2eb50b7d6620: Layer already exists 12:12:01 f9438490287b: Layer already exists 12:12:01 ded6675d5921: Layer already exists 12:12:01 2.2.0-dev.22: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] isUnix [Pipeline] sh 12:12:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [Pipeline] isUnix [Pipeline] sh 12:12:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 12:12:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:12:02 10bb5d3f4ae1: Preparing 12:12:02 f9438490287b: Preparing 12:12:02 2eb50b7d6620: Preparing 12:12:02 ded6675d5921: Preparing 12:12:02 b541d28bf3b4: Preparing 12:12:02 ded6675d5921: Layer already exists 12:12:02 b541d28bf3b4: Layer already exists 12:12:02 2eb50b7d6620: Layer already exists 12:12:02 f9438490287b: Layer already exists 12:12:02 10bb5d3f4ae1: Layer already exists 12:12:02 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] isUnix [Pipeline] sh 12:12:02 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 12:12:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 12:12:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:12:03 10bb5d3f4ae1: Preparing 12:12:03 f9438490287b: Preparing 12:12:03 2eb50b7d6620: Preparing 12:12:03 ded6675d5921: Preparing 12:12:03 b541d28bf3b4: Preparing 12:12:03 2eb50b7d6620: Layer already exists 12:12:03 10bb5d3f4ae1: Layer already exists 12:12:03 b541d28bf3b4: Layer already exists 12:12:03 f9438490287b: Layer already exists 12:12:03 ded6675d5921: Layer already exists 12:12:03 main: digest: sha256:86fe04818434acd59dacf263c2a6f01d0f3b710037e5a0d24f7627c1871fcd71 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:12:03 ===================================================== [Pipeline] echo 12:12:03 taggedImages: 12:12:03 - nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 12:12:03 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 12:12:03 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.22 12:12:03 - nexus3.edgexfoundry.org:10004/device-mqtt:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 12:12:03 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [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 12:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:03 12:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:03 latest: Pulling from edgex-lftools-log-publisher 12:12:03 5eb5b503b376: Pulling fs layer 12:12:03 5c69ac0246d0: Pulling fs layer 12:12:03 ec43610c2a17: Pulling fs layer 12:12:03 3a2ae6a8a46f: Pulling fs layer 12:12:03 33b1e0a273af: Pulling fs layer 12:12:03 5d3b04190fa2: Pulling fs layer 12:12:03 2f39f015ded8: Pulling fs layer 12:12:03 33b1e0a273af: Waiting 12:12:03 3a2ae6a8a46f: Waiting 12:12:03 5d3b04190fa2: Waiting 12:12:03 2f39f015ded8: Waiting 12:12:03 5c69ac0246d0: Download complete 12:12:03 3a2ae6a8a46f: Verifying Checksum 12:12:03 3a2ae6a8a46f: Download complete 12:12:03 33b1e0a273af: Verifying Checksum 12:12:03 33b1e0a273af: Download complete 12:12:03 5d3b04190fa2: Verifying Checksum 12:12:03 5d3b04190fa2: Download complete 12:12:04 ec43610c2a17: Verifying Checksum 12:12:04 ec43610c2a17: Download complete 12:12:04 5eb5b503b376: Verifying Checksum 12:12:04 5eb5b503b376: Download complete 12:12:04 2f39f015ded8: Download complete 12:12:05 5eb5b503b376: Pull complete 12:12:05 5c69ac0246d0: Pull complete 12:12:06 ec43610c2a17: Pull complete 12:12:06 3a2ae6a8a46f: Pull complete 12:12:06 33b1e0a273af: Pull complete 12:12:06 5d3b04190fa2: Pull complete 12:12:12 2f39f015ded8: Pull complete 12:12:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:12:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:12:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:12:12 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:12:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:12:13 $ docker top 0806dc15f39b52564468156ce5ee6c3e3265b1abf824d3347a0f4bc7be271ea2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:12:14 ---> job-cost.sh 12:12:14 lf-activate-venv: SKIPPING 12:12:14 INFO: No Stack... 12:12:14 INFO: Retrieving Pricing Info for: v3-standard-8 12:12:15 INFO: Archiving Costs [Pipeline] sh 12:12:15 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 12:12:15 + cut -d, -f6 [Pipeline] lock 12:12:15 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] 12:12:15 Resource [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] did not exist. Created. 12:12:15 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:12:15 + echo total: 0.2199999988079071 [Pipeline] stash 12:12:15 Stashed 1 file(s) [Pipeline] } 12:12:15 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } 12:12:15 $ docker stop --time=1 0806dc15f39b52564468156ce5ee6c3e3265b1abf824d3347a0f4bc7be271ea2 12:12:16 $ docker rm -f 0806dc15f39b52564468156ce5ee6c3e3265b1abf824d3347a0f4bc7be271ea2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:14:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47567 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 12:14:48 Running in /w/workspace/device-mqtt-go/44 [Pipeline] { [Pipeline] checkout 12:14:49 Selected Git installation does not exist. Using Default 12:14:49 The recommended git tool is: NONE 12:14:56 using credential edgex-jenkins-ssh 12:14:56 Cloning the remote Git repository 12:14:56 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 12:14:56 > git init /w/workspace/device-mqtt-go/44 # timeout=10 12:14:56 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 12:14:56 > git --version # timeout=10 12:14:56 > git --version # 'git version 2.25.1' 12:14:56 using GIT_SSH to set credentials SSH Credentials for GitHub 12:14:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:14:58 Avoid second fetch 12:14:58 Checking out Revision 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 (main) 12:14:58 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 12:14:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:14:58 > git config core.sparsecheckout # timeout=10 12:14:58 > git checkout -f 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 # timeout=10 12:15:02 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#380)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:15:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:15:03 % Total % Received % Xferd Average Speed Time Time Time Current 12:15:03 Dload Upload Total Spent Left Speed 12:15:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 77914 0 --:--:-- --:--:-- --:--:-- 77914 [Pipeline] sh 12:15:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:15:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:15:04 + sudo tee /etc/docker/daemon.new 12:15:04 { 12:15:04 "registry-mirrors": [ 12:15:04 "https://nexus3.edgexfoundry.org:10001" 12:15:04 ], 12:15:04 "bip": "10.250.0.254/24", 12:15:04 "hosts": [ 12:15:04 "tcp://0.0.0.0:5555", 12:15:04 "unix:///var/run/docker.sock" 12:15:04 ], 12:15:04 "mtu": 1458, 12:15:04 "selinux-enabled": true, 12:15:04 "seccomp-profile": "/etc/docker/seccomp.json" 12:15:04 } [Pipeline] sh 12:15:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:15:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:15:23 provisioning config files... 12:15:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config4782984698922343844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:15:23 ---> docker-login.sh 12:15:23 nexus3.edgexfoundry.org:10001 12:15:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:24 Configure a credential helper to remove this warning. See 12:15:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:24 12:15:24 Login Succeeded 12:15:24 nexus3.edgexfoundry.org:10002 12:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:25 Configure a credential helper to remove this warning. See 12:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:25 12:15:25 Login Succeeded 12:15:25 nexus3.edgexfoundry.org:10003 12:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:25 Configure a credential helper to remove this warning. See 12:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:25 12:15:25 Login Succeeded 12:15:25 nexus3.edgexfoundry.org:10004 12:15:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:25 Configure a credential helper to remove this warning. See 12:15:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:25 12:15:25 Login Succeeded 12:15:26 docker.io 12:15:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:15:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:15:26 Configure a credential helper to remove this warning. See 12:15:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:15:26 12:15:26 Login Succeeded 12:15:26 ---> docker-login.sh ends [Pipeline] } 12:15:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:15:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:15:27 ========================================================= 12:15:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:15:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:15:27 + 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 . 12:15:28 Sending build context to Docker daemon 3.061MB 12:15:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:15:28 Step 2/12 : FROM ${BASE} AS builder 12:15:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:15:28 9b3977197b4f: Pulling fs layer 12:15:28 1a89e8eeedd5: Pulling fs layer 12:15:28 94645a83ff95: Pulling fs layer 12:15:28 3f3a8bcf1eab: Pulling fs layer 12:15:28 0c92f367c5e7: Pulling fs layer 12:15:28 3096ccb668a1: Pulling fs layer 12:15:28 e8cf19c19ddd: Pulling fs layer 12:15:28 a4caa8a26152: Pulling fs layer 12:15:28 3f3a8bcf1eab: Waiting 12:15:28 0c92f367c5e7: Waiting 12:15:28 3096ccb668a1: Waiting 12:15:28 e8cf19c19ddd: Waiting 12:15:28 a4caa8a26152: Waiting 12:15:28 94645a83ff95: Verifying Checksum 12:15:28 94645a83ff95: Download complete 12:15:28 1a89e8eeedd5: Verifying Checksum 12:15:28 1a89e8eeedd5: Download complete 12:15:28 0c92f367c5e7: Download complete 12:15:28 3096ccb668a1: Verifying Checksum 12:15:28 3096ccb668a1: Download complete 12:15:28 9b3977197b4f: Download complete 12:15:28 e8cf19c19ddd: Verifying Checksum 12:15:28 e8cf19c19ddd: Download complete 12:15:29 9b3977197b4f: Pull complete 12:15:29 1a89e8eeedd5: Pull complete 12:15:30 94645a83ff95: Pull complete 12:15:30 a4caa8a26152: Verifying Checksum 12:15:30 a4caa8a26152: Download complete 12:15:31 3f3a8bcf1eab: Verifying Checksum 12:15:31 3f3a8bcf1eab: Download complete 12:15:43 3f3a8bcf1eab: Pull complete 12:15:43 0c92f367c5e7: Pull complete 12:15:43 3096ccb668a1: Pull complete 12:15:44 e8cf19c19ddd: Pull complete 12:15:50 a4caa8a26152: Pull complete 12:15:50 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:15:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:15:50 ---> 725f1c02e7f9 12:15:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:15:51 ---> Running in f01d8f5fe85f 12:15:51 Removing intermediate container f01d8f5fe85f 12:15:51 ---> cd99ccd1523f 12:15:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:15:52 ---> Running in 8de2ec178829 12:15:52 Removing intermediate container 8de2ec178829 12:15:52 ---> 2987a25638b4 12:15:52 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:15:52 ---> Running in 98eff28b6fcb 12:15:54 Removing intermediate container 98eff28b6fcb 12:15:54 ---> 0df51402e320 12:15:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:15:54 ---> Running in 365dc7fe07d0 12:15:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:15:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:15:57 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:15:57 (2/4) Installing libedit (20210910.3.1-r0) 12:15:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:15:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:15:57 Executing busybox-1.34.1-r3.trigger 12:15:57 OK: 224 MiB in 56 packages 12:16:00 Removing intermediate container 365dc7fe07d0 12:16:00 ---> f05e1c018ebf 12:16:00 Step 7/12 : WORKDIR /device-mqtt-go 12:16:00 ---> Running in ec8aa75f1041 12:16:00 Removing intermediate container ec8aa75f1041 12:16:00 ---> b59bb3dcb7de 12:16:00 Step 8/12 : COPY go.mod vendor* ./ 12:16:01 ---> 5aeac8a17b44 12:16:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:16:01 ---> Running in b4a546d75f59 12:16:48 Removing intermediate container b4a546d75f59 12:16:48 ---> c5c1e21cf8c4 12:16:48 Step 10/12 : COPY . . 12:16:48 ---> af6101ab06f5 12:16:48 Step 11/12 : ARG MAKE='make build' 12:16:48 ---> Running in 151079036b91 12:16:48 Removing intermediate container 151079036b91 12:16:48 ---> 00fbdd98ee11 12:16:48 Step 12/12 : RUN $MAKE 12:16:48 ---> Running in 6e3848f181bd 12:16:48 noop 12:16:49 Removing intermediate container 6e3848f181bd 12:16:49 ---> 5a9bfb1b4794 12:16:49 Successfully built 5a9bfb1b4794 12:16:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:16:49 + docker inspect -f . ci-base-image-arm64 12:16:49 . [Pipeline] withDockerContainer 12:16:49 prd-ubuntu20.04-docker-arm64-4c-16g-47567 does not seem to be running inside a container 12:16:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@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 ******** ci-base-image-arm64 cat 12:16:51 $ docker top e53c7ad0c60954c849f314db237a9f39ba7aab89eb853596d87439556ded99d1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:16:52 + go version 12:16:52 go version go1.17.6 linux/arm64 [Pipeline] } 12:16:52 $ docker stop --time=1 e53c7ad0c60954c849f314db237a9f39ba7aab89eb853596d87439556ded99d1 12:16:53 $ docker rm -f e53c7ad0c60954c849f314db237a9f39ba7aab89eb853596d87439556ded99d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:16:54 + docker inspect -f . ci-base-image-arm64 12:16:54 . [Pipeline] withDockerContainer 12:16:54 prd-ubuntu20.04-docker-arm64-4c-16g-47567 does not seem to be running inside a container 12:16:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@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 ******** ci-base-image-arm64 cat 12:16:55 $ docker top 247b1501e00c0063e7097c7ada4e77cca422c17dc5ff7d1b6d3b22e362a4d178 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:16:56 + make test 12:16:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:16:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:18:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:18:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 12:18:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:18:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:18:20 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:18:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:18:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:18:52 ./bin/test-attribution-txt.sh [Pipeline] echo 12:18:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:18:52 $ docker stop --time=1 247b1501e00c0063e7097c7ada4e77cca422c17dc5ff7d1b6d3b22e362a4d178 12:18:54 $ docker rm -f 247b1501e00c0063e7097c7ada4e77cca422c17dc5ff7d1b6d3b22e362a4d178 [Pipeline] // withDockerContainer [Pipeline] sh 12:18:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:18:55 Warning: overwriting stash ‘coverage-report’ 12:18:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:18:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:18:56 + ls -al . 12:18:56 total 176 12:18:56 drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:18 . 12:18:56 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:14 .. 12:18:56 -rw-rw-r-- 1 jenkins jenkins 140 May 10 12:14 .dockerignore 12:18:56 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:15 .git 12:18:56 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 .github 12:18:56 -rw-rw-r-- 1 jenkins jenkins 329 May 10 12:14 .gitignore 12:18:56 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:14 .golangci.yml 12:18:56 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 12:14 Attribution.txt 12:18:56 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 12:14 CHANGELOG.md 12:18:56 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 12:14 Dockerfile 12:18:56 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:14 GOVERNANCE.md 12:18:56 -rw-rw-r-- 1 jenkins jenkins 678 May 10 12:14 Jenkinsfile 12:18:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:14 LICENSE 12:18:56 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 12:14 Makefile 12:18:56 -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:14 OWNERS.md 12:18:56 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 12:14 README.md 12:18:56 -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:10 VERSION 12:18:56 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:14 bin 12:18:56 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 cmd 12:18:56 -rw-r--r-- 1 jenkins jenkins 17887 May 10 12:18 coverage.out 12:18:56 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 12:14 go.mod 12:18:56 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 12:14 go.sum 12:18:56 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:14 internal 12:18:56 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:14 mock 12:18:56 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:14 snap 12:18:56 -rw-rw-r-- 1 jenkins jenkins 227 May 10 12:14 version.go [Pipeline] isUnix [Pipeline] sh 12:18:56 + 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=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 --label arch=arm64 --label version=2.2.0-dev.22 . 12:18:57 Sending build context to Docker daemon 3.079MB 12:18:57 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:18:57 Step 2/24 : FROM ${BASE} AS builder 12:18:57 ---> 5a9bfb1b4794 12:18:57 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:18:57 ---> Running in eba4c87e17bf 12:18:57 Removing intermediate container eba4c87e17bf 12:18:57 ---> 81fe3d91e5cb 12:18:57 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:18:57 ---> Running in 925acd1d4795 12:18:57 Removing intermediate container 925acd1d4795 12:18:57 ---> 59917f12271a 12:18:57 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:18:57 ---> Running in 57dc37c362f7 12:18:59 Removing intermediate container 57dc37c362f7 12:18:59 ---> 8f2abe869e14 12:18:59 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:18:59 ---> Running in befb87dec594 12:19:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:19:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:19:02 OK: 224 MiB in 56 packages 12:19:02 Removing intermediate container befb87dec594 12:19:02 ---> d1096683cbc4 12:19:02 Step 7/24 : WORKDIR /device-mqtt-go 12:19:02 ---> Running in 5522d9f5323d 12:19:03 Removing intermediate container 5522d9f5323d 12:19:03 ---> 88c2463a0502 12:19:03 Step 8/24 : COPY go.mod vendor* ./ 12:19:03 ---> bacaffda4af5 12:19:03 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:19:04 ---> Running in 2b8174243ce0 12:19:06 Removing intermediate container 2b8174243ce0 12:19:06 ---> 2fb526154661 12:19:06 Step 10/24 : COPY . . 12:19:06 ---> 7da7e01ada2e 12:19:06 Step 11/24 : ARG MAKE='make build' 12:19:06 ---> Running in 743b1dcf1ed4 12:19:07 Removing intermediate container 743b1dcf1ed4 12:19:07 ---> 9690d98a3cc9 12:19:07 Step 12/24 : RUN $MAKE 12:19:07 ---> Running in 781fd897ea79 12:19:08 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.22" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 12:21:15 Removing intermediate container 781fd897ea79 12:21:15 ---> 4bd7ea4c50d4 12:21:15 Step 13/24 : FROM alpine:3.14 12:21:15 3.14: Pulling from library/alpine 12:21:15 455c02918c45: Pulling fs layer 12:21:15 455c02918c45: Download complete 12:21:15 455c02918c45: Pull complete 12:21:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:21:15 Status: Downloaded newer image for alpine:3.14 12:21:15 ---> ac73e934f311 12:21:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:21:15 ---> Running in 7de71ae507ab 12:21:15 Removing intermediate container 7de71ae507ab 12:21:15 ---> bead6943a92a 12:21:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:21:15 ---> Running in 3a3768d0d9ef 12:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:21:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:21:15 (1/6) Installing dumb-init (1.2.5-r1) 12:21:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:21:15 (3/6) Installing libsodium (1.0.18-r0) 12:21:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:21:15 (5/6) Installing libzmq (4.3.4-r0) 12:21:15 (6/6) Installing zeromq (4.3.4-r0) 12:21:15 Executing busybox-1.33.1-r7.trigger 12:21:15 OK: 8 MiB in 20 packages 12:21:15 Removing intermediate container 3a3768d0d9ef 12:21:15 ---> 1cc4db6165d0 12:21:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:21:15 ---> db0c27bd5677 12:21:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:21:15 ---> 84ebcc0d130c 12:21:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:21:15 ---> f9e02614870f 12:21:15 Step 19/24 : EXPOSE 59982 12:21:15 ---> Running in 372838bdf872 12:21:15 Removing intermediate container 372838bdf872 12:21:15 ---> 47e719720fb0 12:21:15 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:21:15 ---> Running in 513b16fd592b 12:21:15 Removing intermediate container 513b16fd592b 12:21:15 ---> 75d79ef9fa0a 12:21:15 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:21:15 ---> Running in 11f4092b47f1 12:21:15 Removing intermediate container 11f4092b47f1 12:21:15 ---> 41869be23d7e 12:21:15 Step 22/24 : LABEL arch=arm64 12:21:15 ---> Running in 61f98ad43fda 12:21:15 Removing intermediate container 61f98ad43fda 12:21:15 ---> df8d4eeff945 12:21:15 Step 23/24 : LABEL git_sha=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 12:21:15 ---> Running in 9ae672e09c32 12:21:15 Removing intermediate container 9ae672e09c32 12:21:15 ---> a1c7066151db 12:21:15 Step 24/24 : LABEL version=2.2.0-dev.22 12:21:15 ---> Running in 9fceffa9acd5 12:21:15 Removing intermediate container 9fceffa9acd5 12:21:15 ---> ba4e16b7f39b 12:21:15 [Warning] One or more build-args [ARCH] were not consumed 12:21:15 Successfully built ba4e16b7f39b 12:21:15 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:21:15 provisioning config files... 12:21:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/44@tmp/config9134182247118129138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:21:15 ---> docker-login.sh 12:21:15 nexus3.edgexfoundry.org:10001 12:21:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:15 Configure a credential helper to remove this warning. See 12:21:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:15 12:21:15 Login Succeeded 12:21:15 nexus3.edgexfoundry.org:10002 12:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:16 Configure a credential helper to remove this warning. See 12:21:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:16 12:21:16 Login Succeeded 12:21:16 nexus3.edgexfoundry.org:10003 12:21:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:17 Configure a credential helper to remove this warning. See 12:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:17 12:21:17 Login Succeeded 12:21:17 nexus3.edgexfoundry.org:10004 12:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:17 Configure a credential helper to remove this warning. See 12:21:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:17 12:21:17 Login Succeeded 12:21:17 docker.io 12:21:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:21:18 Configure a credential helper to remove this warning. See 12:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:21:18 12:21:18 Login Succeeded 12:21:18 ---> docker-login.sh ends [Pipeline] } 12:21:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:21:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:21:18 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 12:21:18 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 12:21:18 latest 12:21:18 2.2.0-dev.22 12:21:18 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 12:21:18 main 12:21:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:21:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] isUnix [Pipeline] sh 12:21:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 12:21:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:21:18 fb7a48b5d356: Preparing 12:21:18 71d3cc54911a: Preparing 12:21:18 1ed82d6085c7: Preparing 12:21:18 6965cbff6f94: Preparing 12:21:18 f73e7dbfee58: Preparing 12:21:18 f73e7dbfee58: Layer already exists 12:21:19 fb7a48b5d356: Pushed 12:21:19 71d3cc54911a: Pushed 12:21:19 6965cbff6f94: Pushed 12:21:25 1ed82d6085c7: Pushed 12:21:25 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:21:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:21:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 12:21:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:21:26 fb7a48b5d356: Preparing 12:21:26 71d3cc54911a: Preparing 12:21:26 1ed82d6085c7: Preparing 12:21:26 6965cbff6f94: Preparing 12:21:26 f73e7dbfee58: Preparing 12:21:26 fb7a48b5d356: Layer already exists 12:21:26 71d3cc54911a: Layer already exists 12:21:26 6965cbff6f94: Layer already exists 12:21:26 f73e7dbfee58: Layer already exists 12:21:26 1ed82d6085c7: Layer already exists 12:21:26 latest: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:21:26 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.22 [Pipeline] isUnix [Pipeline] sh 12:21:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.22 12:21:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:21:27 fb7a48b5d356: Preparing 12:21:27 71d3cc54911a: Preparing 12:21:27 1ed82d6085c7: Preparing 12:21:27 6965cbff6f94: Preparing 12:21:27 f73e7dbfee58: Preparing 12:21:27 f73e7dbfee58: Layer already exists 12:21:27 71d3cc54911a: Layer already exists 12:21:27 6965cbff6f94: Layer already exists 12:21:27 fb7a48b5d356: Layer already exists 12:21:27 1ed82d6085c7: Layer already exists 12:21:27 2.2.0-dev.22: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:21:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 [Pipeline] isUnix [Pipeline] sh 12:21:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 12:21:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:21:28 fb7a48b5d356: Preparing 12:21:28 71d3cc54911a: Preparing 12:21:28 1ed82d6085c7: Preparing 12:21:28 6965cbff6f94: Preparing 12:21:28 f73e7dbfee58: Preparing 12:21:28 1ed82d6085c7: Layer already exists 12:21:28 f73e7dbfee58: Layer already exists 12:21:28 71d3cc54911a: Layer already exists 12:21:28 fb7a48b5d356: Layer already exists 12:21:28 6965cbff6f94: Layer already exists 12:21:28 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:21:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 12:21:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 12:21:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:21:29 fb7a48b5d356: Preparing 12:21:29 71d3cc54911a: Preparing 12:21:29 1ed82d6085c7: Preparing 12:21:29 6965cbff6f94: Preparing 12:21:29 f73e7dbfee58: Preparing 12:21:29 f73e7dbfee58: Layer already exists 12:21:29 1ed82d6085c7: Layer already exists 12:21:29 6965cbff6f94: Layer already exists 12:21:29 71d3cc54911a: Layer already exists 12:21:29 fb7a48b5d356: Layer already exists 12:21:29 main: digest: sha256:81e6ad15455a9861f97069907ab601686801aeb2829cb91b1b54af1a77388598 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:21:29 ===================================================== [Pipeline] echo 12:21:29 taggedImages: 12:21:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 12:21:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 12:21:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.22 12:21:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5c329650b3b8c4054c8b30f4ef8297f0a786fcf2-2.2.0-dev.22 12:21:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:21:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:29 12:21:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:21:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:30 arm64: Pulling from edgex-lftools-log-publisher 12:21:30 8998bd30e6a1: Pulling fs layer 12:21:30 04944245beec: Pulling fs layer 12:21:30 699f458cf7ca: Pulling fs layer 12:21:30 765212b225bb: Pulling fs layer 12:21:30 f23df028b6ca: Pulling fs layer 12:21:30 d65c8cfc05b1: Pulling fs layer 12:21:30 2437ff75d9bd: Pulling fs layer 12:21:30 765212b225bb: Waiting 12:21:30 f23df028b6ca: Waiting 12:21:30 d65c8cfc05b1: Waiting 12:21:30 2437ff75d9bd: Waiting 12:21:30 04944245beec: Verifying Checksum 12:21:30 04944245beec: Download complete 12:21:30 765212b225bb: Verifying Checksum 12:21:30 765212b225bb: Download complete 12:21:30 f23df028b6ca: Download complete 12:21:30 d65c8cfc05b1: Verifying Checksum 12:21:30 d65c8cfc05b1: Download complete 12:21:30 699f458cf7ca: Verifying Checksum 12:21:30 699f458cf7ca: Download complete 12:21:30 8998bd30e6a1: Verifying Checksum 12:21:30 8998bd30e6a1: Download complete 12:21:32 2437ff75d9bd: Verifying Checksum 12:21:32 2437ff75d9bd: Download complete 12:21:34 8998bd30e6a1: Pull complete 12:21:35 04944245beec: Pull complete 12:21:36 699f458cf7ca: Pull complete 12:21:37 765212b225bb: Pull complete 12:21:38 f23df028b6ca: Pull complete 12:21:38 d65c8cfc05b1: Pull complete 12:21:53 2437ff75d9bd: Pull complete 12:21:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:21:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:21:53 prd-ubuntu20.04-docker-arm64-4c-16g-47567 does not seem to be running inside a container 12:21:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/44 -v /w/workspace/device-mqtt-go/44:/w/workspace/device-mqtt-go/44:rw,z -v /w/workspace/device-mqtt-go/44@tmp:/w/workspace/device-mqtt-go/44@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:21:56 $ docker top fde0ea622a06a0c5c8b0c4a0093a93f1813f6873b771c778e704ad2bc473569f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:21:57 ---> job-cost.sh 12:21:57 lf-activate-venv: SKIPPING 12:21:57 INFO: No Stack... 12:21:57 INFO: Retrieving Pricing Info for: v3-standard-4 12:21:58 INFO: Archiving Costs [Pipeline] sh 12:21:59 + cat /w/workspace/device-mqtt-go/44/archives/cost.csv 12:21:59 + cut -d, -f6 [Pipeline] lock 12:21:59 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] 12:21:59 Resource [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] did not exist. Created. 12:21:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:21:59 /w/workspace/device-mqtt-go/44@tmp/durable-eb0d8f27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:22:00 + echo total: 0.10999999940395355 [Pipeline] stash 12:22:00 Warning: overwriting stash ‘stack-cost’ 12:22:00 Stashed 1 file(s) [Pipeline] } 12:22:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } 12:22:00 $ docker stop --time=1 fde0ea622a06a0c5c8b0c4a0093a93f1813f6873b771c778e704ad2bc473569f 12:22:02 $ docker rm -f fde0ea622a06a0c5c8b0c4a0093a93f1813f6873b771c778e704ad2bc473569f [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 12:22:02 provisioning config files... 12:22:02 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config210013267912367293tmp [Pipeline] { [Pipeline] sh 12:22:02 + set +x 12:22:02 + curl -s https://codecov.io/bash 12:22:02 + bash -s -- 12:22:02 12:22:02 _____ _ 12:22:02 / ____| | | 12:22:02 | | ___ __| | ___ ___ _____ __ 12:22:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:22:02 | |___| (_) | (_| | __/ (_| (_) \ V / 12:22:02 \_____\___/ \__,_|\___|\___\___/ \_/ 12:22:02 Bash-1.0.6 12:22:02 12:22:02 12:22:02 ==> git version 2.25.1 found 12:22:02 ==> 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 12:22:02 Release-Date: 2020-01-08 12:22:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:22:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:22:02 ==> Jenkins CI detected. 12:22:02 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 12:22:02 project root: . 12:22:02 --> token set from env 12:22:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:22:02 ==> Running gcov in . (disable via -X gcov) 12:22:02 ==> Python coveragepy not found 12:22:02 ==> Searching for coverage reports in: 12:22:02 + . 12:22:02 -> Found 1 reports 12:22:02 ==> Detecting git/mercurial file structure 12:22:02 ==> Reading reports 12:22:02 + ./coverage.out bytes=17887 12:22:02 ==> Appending adjustments 12:22:02 https://docs.codecov.io/docs/fixing-reports 12:22:03 + Found adjustments 12:22:03 ==> Gzipping contents 12:22:03 4.0K /tmp/codecov.IGZbC8.gz 12:22:03 ==> Uploading reports 12:22:03 url: https://codecov.io 12:22:03 query: branch=main&commit=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:22:03 -> Pinging Codecov 12:22:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=5c329650b3b8c4054c8b30f4ef8297f0a786fcf2&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:22:03 -> Uploading to 12:22:03 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7D719EC7BBE17E464838252E33014C33/5c329650b3b8c4054c8b30f4ef8297f0a786fcf2/c60066a0-102b-4589-ad0f-46ea2c84312b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T122203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f0a011c9b324fc2d10b9ccbc063dfa2d075a0c2391695544bb29c2db59dbca0c 12:22:03 % Total % Received % Xferd Average Speed Time Time Time Current 12:22:03 Dload Upload Total Spent Left Speed 12:22:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3261 0 0 100 3261 0 13759 --:--:-- --:--:-- --:--:-- 13759 12:22:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] } 12:22:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:22:04 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:22:04 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:22:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:22:04 12:22:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 12:22:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:22:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:22:04 188c0c94c7c5: Pulling fs layer 12:22:04 0ef7d3d256c8: Pulling fs layer 12:22:04 de9db76c5a1d: Pulling fs layer 12:22:04 0eba1c9be4d2: Pulling fs layer 12:22:04 0d57e429df01: Pulling fs layer 12:22:04 4e4be7b47b0d: Pulling fs layer 12:22:04 e1f770b5df2f: Pulling fs layer 12:22:04 85a0685a4137: Pulling fs layer 12:22:04 4e4be7b47b0d: Waiting 12:22:04 0eba1c9be4d2: Waiting 12:22:04 0d57e429df01: Waiting 12:22:04 e1f770b5df2f: Waiting 12:22:04 85a0685a4137: Waiting 12:22:04 de9db76c5a1d: Verifying Checksum 12:22:04 de9db76c5a1d: Download complete 12:22:04 0ef7d3d256c8: Verifying Checksum 12:22:04 0ef7d3d256c8: Download complete 12:22:04 0d57e429df01: Verifying Checksum 12:22:04 0d57e429df01: Download complete 12:22:04 4e4be7b47b0d: Verifying Checksum 12:22:04 4e4be7b47b0d: Download complete 12:22:04 188c0c94c7c5: Verifying Checksum 12:22:04 188c0c94c7c5: Pull complete 12:22:04 e1f770b5df2f: Verifying Checksum 12:22:04 e1f770b5df2f: Download complete 12:22:04 0ef7d3d256c8: Pull complete 12:22:05 de9db76c5a1d: Pull complete 12:22:05 0eba1c9be4d2: Verifying Checksum 12:22:05 0eba1c9be4d2: Download complete 12:22:05 85a0685a4137: Verifying Checksum 12:22:05 85a0685a4137: Download complete 12:22:08 0eba1c9be4d2: Pull complete 12:22:09 0d57e429df01: Pull complete 12:22:09 4e4be7b47b0d: Pull complete 12:22:09 e1f770b5df2f: Pull complete 12:22:13 85a0685a4137: Pull complete 12:22:13 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 12:22:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:22:13 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 12:22:13 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:22:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 12:22:15 $ docker top 20a07da83964e2490f0528c3792aa7a7ad04968c27a3257b8525f1e342c69527 -eo pid,comm [Pipeline] { [Pipeline] echo 12:22:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 12:22:15 + set -o pipefail 12:22:15 + snyk monitor '--org=edgex-jenkins' 12:22:21 12:22:21 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 12:22:21 12:22:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/d7b13a78-f3b1-4742-8877-e6bfe96991c6 12:22:21 12:22:21 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 12:22:21 12:22:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:22:21 12:22:21 [Pipeline] } 12:22:21 $ docker stop --time=1 20a07da83964e2490f0528c3792aa7a7ad04968c27a3257b8525f1e342c69527 12:22:23 $ docker rm -f 20a07da83964e2490f0528c3792aa7a7ad04968c27a3257b8525f1e342c69527 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:22:24 + git log --format=format:%s -1 5c329650b3b8c4054c8b30f4ef8297f0a786fcf2 [Pipeline] sh 12:22:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:22:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:22:24 . [Pipeline] withDockerContainer 12:22:24 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:22:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 12:22:25 $ docker top aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:22:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:22:25 [ssh-agent] Looking for ssh-agent implementation... 12:22:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:22:25 $ docker exec aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 ssh-agent 12:22:25 SSH_AUTH_SOCK=/tmp/ssh-ui7cJeMo1Q56/agent.32 12:22:25 SSH_AGENT_PID=38 12:22:25 Running ssh-add (command line suppressed) 12:22:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2005314574448830965.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2005314574448830965.key) 12:22:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:22:26 + git semver tag 12:22:26 2022-05-10 12:22:26,343 [run_tag] DEBUG tag force:False 12:22:26 2022-05-10 12:22:26,343 [check_head_tag] DEBUG check head tag 12:22:26 2022-05-10 12:22:26,344 [execute] INFO git cat-file --batch-check 12:22:26 2022-05-10 12:22:26,345 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 12:22:26 2022-05-10 12:22:26,349 [execute] INFO git cat-file --batch 12:22:26 2022-05-10 12:22:26,349 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 12:22:26 2022-05-10 12:22:26,368 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:22:26 2022-05-10 12:22:26,368 [execute] INFO git tag -a v2.2.0-dev.22 -m v2.2.0-dev.22 12:22:26 2022-05-10 12:22:26,368 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.22', '-m', 'v2.2.0-dev.22'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 12:22:26 2022-05-10 12:22:26,374 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:22:26 2.2.0-dev.22 [Pipeline] } 12:22:26 $ docker exec --env ******** --env ******** aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 ssh-agent -k 12:22:26 unset SSH_AUTH_SOCK; 12:22:26 unset SSH_AGENT_PID; 12:22:26 echo Agent pid 38 killed; 12:22:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:22:26 + git semver [Pipeline] } 12:22:27 $ docker stop --time=1 aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 12:22:28 $ docker rm -f aa473b3572710ba76d9c603ef958fe535cae93fa87fe7d1b401e3d73598133b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 12:22:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:22:28 12:22:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 12:22:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:22:29 0.23.1-centos7: Pulling from edgex-lftools 12:22:29 ab5ef0e58194: Pulling fs layer 12:22:29 9712f1f96733: Pulling fs layer 12:22:29 63f879dbbcfc: Pulling fs layer 12:22:29 0d9ebad4ef96: Pulling fs layer 12:22:29 0d9ebad4ef96: Waiting 12:22:29 e9a5061849ea: Pulling fs layer 12:22:29 d747dcd14b5f: Pulling fs layer 12:22:29 2de7ff778b66: Pulling fs layer 12:22:29 e9a5061849ea: Waiting 12:22:29 d747dcd14b5f: Waiting 12:22:29 9712f1f96733: Download complete 12:22:29 63f879dbbcfc: Verifying Checksum 12:22:29 63f879dbbcfc: Download complete 12:22:29 0d9ebad4ef96: Verifying Checksum 12:22:29 0d9ebad4ef96: Download complete 12:22:29 d747dcd14b5f: Download complete 12:22:29 e9a5061849ea: Verifying Checksum 12:22:29 e9a5061849ea: Download complete 12:22:29 ab5ef0e58194: Download complete 12:22:29 2de7ff778b66: Verifying Checksum 12:22:33 ab5ef0e58194: Pull complete 12:22:33 9712f1f96733: Pull complete 12:22:33 63f879dbbcfc: Pull complete 12:22:37 0d9ebad4ef96: Pull complete 12:22:38 e9a5061849ea: Pull complete 12:22:38 d747dcd14b5f: Pull complete 12:22:39 2de7ff778b66: Pull complete 12:22:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:22:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:22:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 12:22:39 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:22:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 12:22:41 $ docker top b767c521c030d622e0a3f937c17dd27b87408e5bf489f1d357ddbbb8335d9021 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:22:42 provisioning config files... 12:22:42 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5725047504862908264tmp 12:22:42 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7310551621425388916tmp 12:22:42 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4716380973475621943tmp [Pipeline] { [Pipeline] echo 12:22:42 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:22:42 ---> sigul-configuration.sh 12:22:42 gpg: directory `/root/.gnupg' created 12:22:42 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:22:42 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:22:42 gpg: keyring `/root/.gnupg/secring.gpg' created 12:22:42 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:22:42 gpg: CAST5 encrypted data 12:22:42 gpg: encrypted with 1 passphrase 12:22:42 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:22:42 + mkdir /home/jenkins 12:22:42 + mkdir /home/jenkins/sigul [Pipeline] sh 12:22:42 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 12:22:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:22:43 ---> sigul-install.sh 12:22:43 Sigul already installed; skipping installation. [Pipeline] sh 12:22:43 + git tag --list 12:22:43 0.7.1 12:22:43 v1.0.0 12:22:43 v1.1.0 12:22:43 v1.1.1 12:22:43 v1.2.2 12:22:43 v1.3.0 12:22:43 v1.3.1 12:22:43 v2.0.0 12:22:43 v2.0.1-dev.1 12:22:43 v2.0.1-dev.10 12:22:43 v2.0.1-dev.11 12:22:43 v2.0.1-dev.12 12:22:43 v2.0.1-dev.13 12:22:43 v2.0.1-dev.14 12:22:43 v2.0.1-dev.15 12:22:43 v2.0.1-dev.16 12:22:43 v2.0.1-dev.17 12:22:43 v2.0.1-dev.2 12:22:43 v2.0.1-dev.3 12:22:43 v2.0.1-dev.4 12:22:43 v2.0.1-dev.5 12:22:43 v2.0.1-dev.6 12:22:43 v2.0.1-dev.7 12:22:43 v2.0.1-dev.8 12:22:43 v2.0.1-dev.9 12:22:43 v2.1.0 12:22:43 v2.2.0-dev.1 12:22:43 v2.2.0-dev.10 12:22:43 v2.2.0-dev.11 12:22:43 v2.2.0-dev.12 12:22:43 v2.2.0-dev.13 12:22:43 v2.2.0-dev.14 12:22:43 v2.2.0-dev.15 12:22:43 v2.2.0-dev.16 12:22:43 v2.2.0-dev.17 12:22:43 v2.2.0-dev.18 12:22:43 v2.2.0-dev.19 12:22:43 v2.2.0-dev.2 12:22:43 v2.2.0-dev.20 12:22:43 v2.2.0-dev.21 12:22:43 v2.2.0-dev.22 12:22:43 v2.2.0-dev.3 12:22:43 v2.2.0-dev.4 12:22:43 v2.2.0-dev.5 12:22:43 v2.2.0-dev.6 12:22:43 v2.2.0-dev.7 12:22:43 v2.2.0-dev.8 12:22:43 v2.2.0-dev.9 [Pipeline] sh 12:22:43 + lftools sign git-tag v2.2.0-dev.22 12:22:44 Signing Git tag with Sigul... 12:22:44 Signing v2.2.0-dev.22 [Pipeline] echo 12:22:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:22:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:22:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:22:45 $ docker stop --time=1 b767c521c030d622e0a3f937c17dd27b87408e5bf489f1d357ddbbb8335d9021 12:22:46 $ docker rm -f b767c521c030d622e0a3f937c17dd27b87408e5bf489f1d357ddbbb8335d9021 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:22:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:22:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:22:47 . [Pipeline] withDockerContainer 12:22:47 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:22:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 12:22:47 $ docker top a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:22:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:22:47 [ssh-agent] Looking for ssh-agent implementation... 12:22:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:22:48 $ docker exec a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 ssh-agent 12:22:48 SSH_AUTH_SOCK=/tmp/ssh-09Ipd9y2NDCv/agent.32 12:22:48 SSH_AGENT_PID=39 12:22:48 Running ssh-add (command line suppressed) 12:22:48 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3488820216090137380.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3488820216090137380.key) 12:22:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:22:48 + git semver bump pre 12:22:48 2022-05-10 12:22:48,909 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:22:48 2022-05-10 12:22:48,909 [bump_version] DEBUG bumping version:2.2.0-dev.22 on axis:pre with prefix:dev 12:22:48 2022-05-10 12:22:48,910 [bump_version] DEBUG bumped version:2.2.0-dev.23 12:22:48 2022-05-10 12:22:48,910 [write_version] DEBUG write version:2.2.0-dev.23 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 12:22:48 2022-05-10 12:22:48,910 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:22:48 2022-05-10 12:22:48,910 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:22:48 2022-05-10 12:22:48,912 [execute] INFO git cat-file --batch-check 12:22:48 2022-05-10 12:22:48,913 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:22:48 2022-05-10 12:22:48,919 [execute] INFO git cat-file --batch 12:22:48 2022-05-10 12:22:48,919 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:22:48 2022-05-10 12:22:48,926 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:22:48 2.2.0-dev.23 [Pipeline] } 12:22:48 $ docker exec --env ******** --env ******** a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 ssh-agent -k 12:22:49 unset SSH_AUTH_SOCK; 12:22:49 unset SSH_AGENT_PID; 12:22:49 echo Agent pid 39 killed; 12:22:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:22:49 + git semver [Pipeline] } 12:22:49 $ docker stop --time=1 a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 12:22:51 $ docker rm -f a7ae2da73125783850c1cb3e6a985867c92ded96bf7712edfb1e821d62010694 [Pipeline] // withDockerContainer [Pipeline] sh 12:22:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:22:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:22:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:22:51 . [Pipeline] withDockerContainer 12:22:51 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:22:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 12:22:52 $ docker top 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:22:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:22:52 [ssh-agent] Looking for ssh-agent implementation... 12:22:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:22:52 $ docker exec 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 ssh-agent 12:22:52 SSH_AUTH_SOCK=/tmp/ssh-wvGVciCoNZcs/agent.32 12:22:52 SSH_AGENT_PID=38 12:22:52 Running ssh-add (command line suppressed) 12:22:52 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4079602160284772430.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4079602160284772430.key) 12:22:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:22:53 + git semver push 12:22:53 2022-05-10 12:22:53,305 [run_push] DEBUG push 12:22:53 2022-05-10 12:22:53,305 [execute] INFO git push origin semver 12:22:53 2022-05-10 12:22:53,306 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:22:54 2022-05-10 12:22:54,027 [run_push] DEBUG push all version tags 12:22:54 2022-05-10 12:22:54,028 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:22:54 2022-05-10 12:22:54,028 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 12:22:54 2022-05-10 12:22:54,753 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:22:54 2.2.0-dev.23 [Pipeline] } 12:22:54 $ docker exec --env ******** --env ******** 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 ssh-agent -k 12:22:55 unset SSH_AUTH_SOCK; 12:22:55 unset SSH_AGENT_PID; 12:22:55 echo Agent pid 38 killed; 12:22:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:22:55 + git semver [Pipeline] } 12:22:55 $ docker stop --time=1 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 12:22:56 $ docker rm -f 263b0a9defaa61f1cba7e693d17ce0ba6c1c6c1bd9d37c87d30627c1cc4b7ec2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 12:22:57 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 12:22:57 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:22:57 total 16 12:22:57 drwxr-xr-x 3 root root 4096 May 10 12:12 . 12:22:57 drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:22 .. 12:22:57 drwxr-xr-x 2 root root 4096 May 10 12:12 cost 12:22:57 -rw-r--r-- 1 root root 84 May 10 12:12 cost.csv 12:22:57 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:22:57 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:22:57 total 16 12:22:57 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:12 . 12:22:57 drwxrwxr-x 11 jenkins jenkins 4096 May 10 12:22 .. 12:22:57 drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:12 cost 12:22:57 -rw-r--r-- 1 jenkins jenkins 84 May 10 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:22:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:22:58 ---> package-listing.sh 12:22:58 ++ facter osfamily 12:22:58 ++ tr '[:upper:]' '[:lower:]' 12:22:59 + OS_FAMILY=debian 12:22:59 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 12:22:59 + START_PACKAGES=/tmp/packages_start.txt 12:22:59 + END_PACKAGES=/tmp/packages_end.txt 12:22:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:22:59 + PACKAGES=/tmp/packages_start.txt 12:22:59 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 12:22:59 + PACKAGES=/tmp/packages_end.txt 12:22:59 + case "${OS_FAMILY}" in 12:22:59 + dpkg -l 12:22:59 + grep '^ii' 12:22:59 + '[' -f /tmp/packages_start.txt ']' 12:22:59 + '[' -f /tmp/packages_end.txt ']' 12:22:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:22:59 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 12:22:59 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 12:22:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 12:22:59 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:22:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:22:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:22:59 . [Pipeline] withDockerContainer 12:22:59 prd-ubuntu20.04-docker-8c-8g-47543 does not seem to be running inside a container 12:22:59 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:23:00 $ docker top 0dee18b53aa2911142351473f2386b6e663ac40f2569ce34ecd61b3826d62329 -eo pid,comm [Pipeline] { [Pipeline] sh 12:23:00 + touch /tmp/pre-build-complete [Pipeline] sh 12:23:00 + mkdir -p /var/log/sysstat [Pipeline] sh 12:23:01 + ls /var/log/sa-host 12:23:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:23:01 provisioning config files... 12:23:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7382174358302198840tmp [Pipeline] { [Pipeline] echo 12:23:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:23:01 ---> create-netrc.sh [Pipeline] } 12:23:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:23:01 ---> python-tools-install.sh [Pipeline] echo 12:23:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:23:02 ---> sudo-logs.sh 12:23:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:23:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:23:02 ---> job-cost.sh 12:23:02 lf-activate-venv: SKIPPING 12:23:02 DEBUG: total: 0.2199999988079071 12:23:02 INFO: Retrieving Stack Cost... 12:23:03 INFO: Retrieving Pricing Info for: v3-standard-8 12:23:03 INFO: Archiving Costs [Pipeline] echo 12:23:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:23:03 ---> logs-deploy.sh 12:23:03 lf-activate-venv: SKIPPING 12:23:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/44 12:23:03 INFO: archiving workspace using pattern(s): 12:23:04 Archives upload complete. 12:23:04 INFO: archiving logs to Nexus