Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e5ff16ea29b888a79edc386c2a8af4882824547 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-ssh13647288258761145810.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-ssh3312383122899542121.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-ssh4096602274992332419.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-ssh18040621903539561212.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-ssh12507481613726213253.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-ubuntu20.04-docker-8c-8g-41791’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41792 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 9e5ff16ea29b888a79edc386c2a8af4882824547 (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 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 Commit message: "Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" > git rev-list --no-walk 8a3b8b69e8592b451639ad65dda00efb90da788d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:55:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:55:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:55:00 ========================================================= 10:55:00 EdgeX Global Pipelines Version Info 10:55:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:55:00 ------------------- 10:55:00 stable info: 10:55:00 ------------------- 10:55:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:55:00 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 10:55:00 Message: update stable to v1.0.227 10:55:01 ------------------- 10:55:01 experimental info: 10:55:01 ------------------- 10:55:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:55:01 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 10:55:01 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:55:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:55:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:55:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:55:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 10:55:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 10:55:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 10:55:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] echo 10:55:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e5ff16 [Pipeline] echo 10:55:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:55:02 provisioning config files... 10:55:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6428868985330961611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:02 ---> docker-login.sh 10:55:02 nexus3.edgexfoundry.org:10001 10:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:02 Configure a credential helper to remove this warning. See 10:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:02 10:55:02 Login Succeeded 10:55:02 nexus3.edgexfoundry.org:10002 10:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:02 Configure a credential helper to remove this warning. See 10:55:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:02 10:55:02 Login Succeeded 10:55:02 nexus3.edgexfoundry.org:10003 10:55:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:03 Configure a credential helper to remove this warning. See 10:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:03 10:55:03 Login Succeeded 10:55:03 nexus3.edgexfoundry.org:10004 10:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:03 Configure a credential helper to remove this warning. See 10:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:03 10:55:03 Login Succeeded 10:55:03 docker.io 10:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:03 Configure a credential helper to remove this warning. See 10:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:03 10:55:03 Login Succeeded 10:55:03 ---> docker-login.sh ends [Pipeline] } 10:55:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:55:04 + git rev-list -1 --merges 9e5ff16ea29b888a79edc386c2a8af4882824547~1..9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] echo 10:55:04 -----------> git rev-list -1 --merges 9e5ff16ea29b888a79edc386c2a8af4882824547~1..9e5ff16ea29b888a79edc386c2a8af4882824547 9e5ff16ea29b888a79edc386c2a8af4882824547 10:55:04 9e5ff16ea29b888a79edc386c2a8af4882824547 [false] [Pipeline] sh 10:55:04 + git log --format=format:%s -1 9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] echo 10:55:04 ========================================================= 10:55:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:55:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:55:04 + git log --format=format:%s -1 9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] echo 10:55:04 [semverPrep] GIT_COMMIT: 9e5ff16ea29b888a79edc386c2a8af4882824547, Commit Message: Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37 [Pipeline] echo 10:55:04 [semverPrep] This is not a build commit. [Pipeline] sh 10:55:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:55:05 + grep -v github /etc/ssh/ssh_known_hosts 10:55:05 + [ -e /tmp/ssh_known_hosts ] 10:55:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:55:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:55:05 + sudo tee -a /etc/ssh/ssh_known_hosts 10:55:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:55:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:55:05 10:55:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:55:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:55:06 latest: Pulling from edgex-devops/py-git-semver 10:55:06 1fe172e4850f: Pulling fs layer 10:55:06 caf521ccaac6: Pulling fs layer 10:55:06 3ead6fa29328: Pulling fs layer 10:55:06 5c2a1cbceb83: Pulling fs layer 10:55:06 a8d5f1318db7: Pulling fs layer 10:55:06 5c2a1cbceb83: Waiting 10:55:06 c427282e49a2: Pulling fs layer 10:55:06 1827001aaf11: Pulling fs layer 10:55:06 0714d37db230: Pulling fs layer 10:55:06 ac28cf19c067: Pulling fs layer 10:55:06 ca983d60f3e2: Pulling fs layer 10:55:06 9f894cec8388: Pulling fs layer 10:55:06 c427282e49a2: Waiting 10:55:06 1827001aaf11: Waiting 10:55:06 a8d5f1318db7: Waiting 10:55:06 0714d37db230: Waiting 10:55:06 ac28cf19c067: Waiting 10:55:06 9f894cec8388: Waiting 10:55:06 caf521ccaac6: Download complete 10:55:06 5c2a1cbceb83: Download complete 10:55:06 a8d5f1318db7: Verifying Checksum 10:55:06 a8d5f1318db7: Download complete 10:55:06 c427282e49a2: Verifying Checksum 10:55:06 c427282e49a2: Download complete 10:55:06 3ead6fa29328: Verifying Checksum 10:55:06 3ead6fa29328: Download complete 10:55:06 0714d37db230: Download complete 10:55:06 ac28cf19c067: Verifying Checksum 10:55:06 ac28cf19c067: Download complete 10:55:06 ca983d60f3e2: Download complete 10:55:06 9f894cec8388: Download complete 10:55:06 1fe172e4850f: Verifying Checksum 10:55:06 1fe172e4850f: Download complete 10:55:06 1827001aaf11: Verifying Checksum 10:55:06 1827001aaf11: Download complete 10:55:07 1fe172e4850f: Pull complete 10:55:07 caf521ccaac6: Pull complete 10:55:08 3ead6fa29328: Pull complete 10:55:08 5c2a1cbceb83: Pull complete 10:55:08 a8d5f1318db7: Pull complete 10:55:08 c427282e49a2: Pull complete 10:55:10 1827001aaf11: Pull complete 10:55:10 0714d37db230: Pull complete 10:55:10 ac28cf19c067: Pull complete 10:55:11 ca983d60f3e2: Pull complete 10:55:11 9f894cec8388: Pull complete 10:55:11 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 10:55:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 10:55:11 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 10:55:11 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 10:55:11 $ 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 10:55:13 $ docker top 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af -eo pid,comm 10:55:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 10:55:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:55:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:55:13 [ssh-agent] Looking for ssh-agent implementation... 10:55:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:55:13 $ docker exec 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af ssh-agent 10:55:13 SSH_AUTH_SOCK=/tmp/ssh-YRjCGufICeFu/agent.33 10:55:13 SSH_AGENT_PID=39 10:55:13 Running ssh-add (command line suppressed) 10:55:13 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7840442063596840053.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7840442063596840053.key) 10:55:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:55:14 + git tag --points-at HEAD [Pipeline] } 10:55:14 $ docker exec --env ******** --env ******** 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af ssh-agent -k 10:55:14 unset SSH_AUTH_SOCK; 10:55:14 unset SSH_AGENT_PID; 10:55:14 echo Agent pid 39 killed; 10:55:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:55:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:55:14 [ssh-agent] Looking for ssh-agent implementation... 10:55:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:55:14 $ docker exec 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af ssh-agent 10:55:14 SSH_AUTH_SOCK=/tmp/ssh-tCbGg6PfAb9c/agent.73 10:55:14 SSH_AGENT_PID=79 10:55:14 Running ssh-add (command line suppressed) 10:55:14 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9084080865192408400.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9084080865192408400.key) 10:55:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:55:14 + git semver init 10:55:15 2022-05-09 10:55:15,153 [run_init] DEBUG init version:0.0.0 force:False 10:55:15 2022-05-09 10:55:15,154 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 10:55:15 2022-05-09 10:55:15,154 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 10:55:15 2022-05-09 10:55:15,155 [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) 10:55:16 2022-05-09 10:55:16,062 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 10:55:16 2022-05-09 10:55:16,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 10:55:16 2022-05-09 10:55:16,063 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:55:16 2022-05-09 10:55:16,063 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 10:55:16 2.2.0-dev.20 [Pipeline] } 10:55:16 $ docker exec --env ******** --env ******** 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af ssh-agent -k 10:55:16 unset SSH_AUTH_SOCK; 10:55:16 unset SSH_AGENT_PID; 10:55:16 echo Agent pid 79 killed; 10:55:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:55:16 + git semver [Pipeline] } 10:55:16 $ docker stop --time=1 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af 10:55:18 $ docker rm -f 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af [Pipeline] // withDockerContainer [Pipeline] sh 10:55:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:55:18 Stashed 1 file(s) [Pipeline] echo 10:55:18 [edgeXSemver]: initialized semver on version 2.2.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:55:19 provisioning config files... 10:55:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8479121864458880573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:19 ---> docker-login.sh 10:55:19 nexus3.edgexfoundry.org:10001 10:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:19 Configure a credential helper to remove this warning. See 10:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:19 10:55:19 Login Succeeded 10:55:19 nexus3.edgexfoundry.org:10002 10:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:19 Configure a credential helper to remove this warning. See 10:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:19 10:55:19 Login Succeeded 10:55:19 nexus3.edgexfoundry.org:10003 10:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:19 Configure a credential helper to remove this warning. See 10:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:19 10:55:19 Login Succeeded 10:55:19 nexus3.edgexfoundry.org:10004 10:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:19 Configure a credential helper to remove this warning. See 10:55:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:19 10:55:19 Login Succeeded 10:55:19 docker.io 10:55:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:20 Configure a credential helper to remove this warning. See 10:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:20 10:55:20 Login Succeeded 10:55:20 ---> docker-login.sh ends [Pipeline] } 10:55:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:55:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:55:20 ========================================================= 10:55:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:55:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:55:20 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 10:55:20 Sending build context to Docker daemon 5.852MB 10:55:20 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:55:20 Step 2/12 : FROM ${BASE} AS builder 10:55:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:55:20 59bf1c3509f3: Pulling fs layer 10:55:20 666ba61612fd: Pulling fs layer 10:55:20 8ed8ca486205: Pulling fs layer 10:55:20 4fe6c5a15a65: Pulling fs layer 10:55:20 22a0e8bec74d: Pulling fs layer 10:55:20 ca2b28591e48: Pulling fs layer 10:55:20 a51346096db8: Pulling fs layer 10:55:20 daebc70d1ce1: Pulling fs layer 10:55:20 0e18a0eac166: Pulling fs layer 10:55:20 22a0e8bec74d: Waiting 10:55:20 ca2b28591e48: Waiting 10:55:20 a51346096db8: Waiting 10:55:20 4fe6c5a15a65: Waiting 10:55:20 0e18a0eac166: Waiting 10:55:20 8ed8ca486205: Verifying Checksum 10:55:20 8ed8ca486205: Download complete 10:55:20 666ba61612fd: Download complete 10:55:20 22a0e8bec74d: Download complete 10:55:20 ca2b28591e48: Verifying Checksum 10:55:20 ca2b28591e48: Download complete 10:55:20 59bf1c3509f3: Verifying Checksum 10:55:20 59bf1c3509f3: Download complete 10:55:20 a51346096db8: Verifying Checksum 10:55:20 a51346096db8: Download complete 10:55:20 daebc70d1ce1: Verifying Checksum 10:55:20 daebc70d1ce1: Download complete 10:55:20 59bf1c3509f3: Pull complete 10:55:21 666ba61612fd: Pull complete 10:55:21 8ed8ca486205: Pull complete 10:55:21 0e18a0eac166: Verifying Checksum 10:55:21 0e18a0eac166: Download complete 10:55:21 4fe6c5a15a65: Verifying Checksum 10:55:21 4fe6c5a15a65: Download complete 10:55:25 4fe6c5a15a65: Pull complete 10:55:25 22a0e8bec74d: Pull complete 10:55:25 ca2b28591e48: Pull complete 10:55:25 a51346096db8: Pull complete 10:55:25 daebc70d1ce1: Pull complete 10:55:27 0e18a0eac166: Pull complete 10:55:27 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:55:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:55:27 ---> f018257e8ee9 10:55:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:55:29 ---> Running in b5691ae5b50b 10:55:29 Removing intermediate container b5691ae5b50b 10:55:29 ---> b85d39045079 10:55:29 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:55:29 ---> Running in c41b267202f0 10:55:29 Removing intermediate container c41b267202f0 10:55:29 ---> 65e05d77b11e 10:55:29 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:55:29 ---> Running in 555437f6be78 10:55:30 Removing intermediate container 555437f6be78 10:55:30 ---> e12137f4df09 10:55:30 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:55:30 ---> Running in e4e637f34511 10:55:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:55:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:55:31 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:55:32 (2/4) Installing libedit (20210910.3.1-r0) 10:55:32 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:55:32 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:55:32 Executing busybox-1.34.1-r3.trigger 10:55:32 OK: 224 MiB in 56 packages 10:55:32 Removing intermediate container e4e637f34511 10:55:32 ---> 04ebe636d335 10:55:32 Step 7/12 : WORKDIR /device-mqtt-go 10:55:32 ---> Running in 67816595ba9e 10:55:32 Removing intermediate container 67816595ba9e 10:55:32 ---> 19cdc5a988cf 10:55:32 Step 8/12 : COPY go.mod vendor* ./ 10:55:33 ---> c27fb6ca7877 10:55:33 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:55:33 ---> Running in ecda129211c0 10:55:33 Still waiting to schedule task 10:55:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-41793’ is offline 10:55:48 Removing intermediate container ecda129211c0 10:55:48 ---> a7de4032455f 10:55:48 Step 10/12 : COPY . . 10:55:48 ---> 443400a924b9 10:55:48 Step 11/12 : ARG MAKE='make build' 10:55:48 ---> Running in 10657be60e29 10:55:48 Removing intermediate container 10657be60e29 10:55:48 ---> 59b611ea94c3 10:55:48 Step 12/12 : RUN $MAKE 10:55:48 ---> Running in 3a2d17738402 10:55:48 noop 10:55:48 Removing intermediate container 3a2d17738402 10:55:48 ---> 159d172d0633 10:55:48 Successfully built 159d172d0633 10:55:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:55:48 + docker inspect -f . ci-base-image-x86_64 10:55:48 . [Pipeline] withDockerContainer 10:55:48 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 10:55:48 $ 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 10:55:48 $ docker top b1c4faaa2b4594e71886527bb146d8aa55e3777eb3925f84046a749d26923d5d -eo pid,comm [Pipeline] { [Pipeline] sh 10:55:49 + go version 10:55:49 go version go1.17.6 linux/amd64 [Pipeline] } 10:55:49 $ docker stop --time=1 b1c4faaa2b4594e71886527bb146d8aa55e3777eb3925f84046a749d26923d5d 10:55:50 $ docker rm -f b1c4faaa2b4594e71886527bb146d8aa55e3777eb3925f84046a749d26923d5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:55:51 + docker inspect -f . ci-base-image-x86_64 10:55:51 . [Pipeline] withDockerContainer 10:55:51 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 10:55:51 $ 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 10:55:51 $ docker top b4e9123af3772951db8dce8a3c33ce37deac17f76b13756e877d3865df3efd22 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:55:51 + make test 10:55:51 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:55:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:56:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:56:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements 10:56:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:56:07 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:56:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:56:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:56:10 ./bin/test-attribution-txt.sh [Pipeline] echo 10:56:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:56:11 $ docker stop --time=1 b4e9123af3772951db8dce8a3c33ce37deac17f76b13756e877d3865df3efd22 10:56:14 $ docker rm -f b4e9123af3772951db8dce8a3c33ce37deac17f76b13756e877d3865df3efd22 [Pipeline] // withDockerContainer [Pipeline] sh 10:56:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:56:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:56:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:56:15 + ls -al . 10:56:15 total 176 10:56:15 drwxrwxr-x 10 jenkins jenkins 4096 May 9 10:56 . 10:56:15 drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:54 .. 10:56:15 -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:54 .dockerignore 10:56:15 drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:55 .git 10:56:15 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:54 .github 10:56:15 -rw-rw-r-- 1 jenkins jenkins 329 May 9 10:54 .gitignore 10:56:15 -rw-rw-r-- 1 jenkins jenkins 41 May 9 10:54 .golangci.yml 10:56:15 drwxr-xr-x 3 jenkins jenkins 4096 May 9 10:55 .semver 10:56:15 -rw-rw-r-- 1 jenkins jenkins 8656 May 9 10:54 Attribution.txt 10:56:15 -rw-rw-r-- 1 jenkins jenkins 7447 May 9 10:54 CHANGELOG.md 10:56:15 -rw-rw-r-- 1 jenkins jenkins 1930 May 9 10:54 Dockerfile 10:56:15 -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:54 GOVERNANCE.md 10:56:15 -rw-rw-r-- 1 jenkins jenkins 678 May 9 10:54 Jenkinsfile 10:56:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:54 LICENSE 10:56:15 -rw-rw-r-- 1 jenkins jenkins 1930 May 9 10:54 Makefile 10:56:15 -rw-rw-r-- 1 jenkins jenkins 620 May 9 10:54 OWNERS.md 10:56:15 -rw-rw-r-- 1 jenkins jenkins 2501 May 9 10:54 README.md 10:56:15 -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:55 VERSION 10:56:15 drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:54 bin 10:56:15 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:54 cmd 10:56:15 -rw-r--r-- 1 jenkins jenkins 17887 May 9 10:56 coverage.out 10:56:15 -rw-rw-r-- 1 jenkins jenkins 3309 May 9 10:54 go.mod 10:56:15 -rw-rw-r-- 1 jenkins jenkins 35490 May 9 10:54 go.sum 10:56:15 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:54 internal 10:56:15 drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:54 mock 10:56:15 drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:54 snap 10:56:15 -rw-rw-r-- 1 jenkins jenkins 227 May 9 10:54 version.go [Pipeline] isUnix [Pipeline] sh 10:56:15 + 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=9e5ff16ea29b888a79edc386c2a8af4882824547 --label arch=amd64 --label version=2.2.0-dev.20 . 10:56:15 Sending build context to Docker daemon 5.87MB 10:56:15 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 10:56:15 Step 2/24 : FROM ${BASE} AS builder 10:56:15 ---> 159d172d0633 10:56:15 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:56:16 ---> Running in d1adaf579442 10:56:16 Removing intermediate container d1adaf579442 10:56:16 ---> f619afc958b2 10:56:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 10:56:16 ---> Running in 664ba4827ab4 10:56:16 Removing intermediate container 664ba4827ab4 10:56:16 ---> 687184ab8131 10:56:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:56:17 ---> Running in 0b4696cf8c77 10:56:18 Removing intermediate container 0b4696cf8c77 10:56:18 ---> 29d7e0e7de7c 10:56:18 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:56:18 ---> Running in 5326187798cf 10:56:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:56:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:56:20 OK: 224 MiB in 56 packages 10:56:20 Removing intermediate container 5326187798cf 10:56:20 ---> a812c5ccaec0 10:56:20 Step 7/24 : WORKDIR /device-mqtt-go 10:56:21 ---> Running in 4f275233c7c5 10:56:21 Removing intermediate container 4f275233c7c5 10:56:21 ---> 76f53fc178e2 10:56:21 Step 8/24 : COPY go.mod vendor* ./ 10:56:21 ---> 918f72a3a909 10:56:21 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:56:22 ---> Running in 7e1b786eb672 10:56:23 Removing intermediate container 7e1b786eb672 10:56:23 ---> 7179c50007f5 10:56:23 Step 10/24 : COPY . . 10:56:25 ---> 6177322c007a 10:56:25 Step 11/24 : ARG MAKE='make build' 10:56:26 ---> Running in 1c2711b69e34 10:56:34 Removing intermediate container 1c2711b69e34 10:56:34 ---> 1f5172f93993 10:56:34 Step 12/24 : RUN $MAKE 10:56:34 ---> Running in 59e0712f4a01 10:56:34 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 10:56:56 Removing intermediate container 59e0712f4a01 10:56:56 ---> 42469335204f 10:56:56 Step 13/24 : FROM alpine:3.14 10:56:56 3.14: Pulling from library/alpine 10:56:56 8663204ce13b: Pulling fs layer 10:56:56 8663204ce13b: Download complete 10:56:56 8663204ce13b: Pull complete 10:56:56 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:56:56 Status: Downloaded newer image for alpine:3.14 10:56:56 ---> e04c818066af 10:56:56 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:56:56 ---> Running in d23eaeccdc3c 10:56:56 Removing intermediate container d23eaeccdc3c 10:56:56 ---> efddee8bfab4 10:56:56 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:56:56 ---> Running in 876117a95c43 10:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:56:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:56:56 (1/6) Installing dumb-init (1.2.5-r1) 10:56:56 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:56:56 (3/6) Installing libsodium (1.0.18-r0) 10:56:56 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:56:56 (5/6) Installing libzmq (4.3.4-r0) 10:56:56 (6/6) Installing zeromq (4.3.4-r0) 10:56:56 Executing busybox-1.33.1-r7.trigger 10:56:56 OK: 8 MiB in 20 packages 10:56:56 Removing intermediate container 876117a95c43 10:56:56 ---> 896202f2ce32 10:56:56 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:56:57 ---> ff7500fa5250 10:56:57 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:56:57 ---> 79f9e26f5c76 10:56:57 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:56:57 ---> 344d13daf47b 10:56:57 Step 19/24 : EXPOSE 59982 10:56:57 ---> Running in c4311ade7c4e 10:56:57 Removing intermediate container c4311ade7c4e 10:56:57 ---> 01400ba8e5de 10:56:57 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:56:57 ---> Running in 4ecaa13eae52 10:56:57 Removing intermediate container 4ecaa13eae52 10:56:57 ---> ff348be2b8dd 10:56:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:56:57 ---> Running in 9a8d1258d6c1 10:56:57 Removing intermediate container 9a8d1258d6c1 10:56:57 ---> 64ca764dc6cd 10:56:57 Step 22/24 : LABEL arch=amd64 10:56:57 ---> Running in 27326593a685 10:56:58 Removing intermediate container 27326593a685 10:56:58 ---> a637ac1545e3 10:56:58 Step 23/24 : LABEL git_sha=9e5ff16ea29b888a79edc386c2a8af4882824547 10:56:58 ---> Running in 0f0895dc501a 10:56:58 Removing intermediate container 0f0895dc501a 10:56:58 ---> 4175df6c4563 10:56:58 Step 24/24 : LABEL version=2.2.0-dev.20 10:56:58 ---> Running in 5a69b12f5bd8 10:56:58 Removing intermediate container 5a69b12f5bd8 10:56:58 ---> 6a8ab91f8f54 10:56:58 [Warning] One or more build-args [ARCH] were not consumed 10:56:58 Successfully built 6a8ab91f8f54 10:56:58 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:56:58 provisioning config files... 10:56:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8628605116945648705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:56:58 ---> docker-login.sh 10:56:58 nexus3.edgexfoundry.org:10001 10:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:58 Configure a credential helper to remove this warning. See 10:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:58 10:56:58 Login Succeeded 10:56:58 nexus3.edgexfoundry.org:10002 10:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:59 Configure a credential helper to remove this warning. See 10:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:59 10:56:59 Login Succeeded 10:56:59 nexus3.edgexfoundry.org:10003 10:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:59 Configure a credential helper to remove this warning. See 10:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:59 10:56:59 Login Succeeded 10:56:59 nexus3.edgexfoundry.org:10004 10:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:59 Configure a credential helper to remove this warning. See 10:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:59 10:56:59 Login Succeeded 10:56:59 docker.io 10:56:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:56:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:56:59 Configure a credential helper to remove this warning. See 10:56:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:56:59 10:56:59 Login Succeeded 10:56:59 ---> docker-login.sh ends [Pipeline] } 10:56:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:56:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:56:59 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 10:56:59 9e5ff16ea29b888a79edc386c2a8af4882824547 10:56:59 latest 10:56:59 2.2.0-dev.20 10:56:59 9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 10:56:59 main 10:56:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:57:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] isUnix [Pipeline] sh 10:57:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547 10:57:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:57:00 c19f00dcd9d3: Preparing 10:57:00 c1963b7a5170: Preparing 10:57:00 2fa28349c45e: Preparing 10:57:00 ac62b161033c: Preparing 10:57:00 b541d28bf3b4: Preparing 10:57:00 b541d28bf3b4: Layer already exists 10:57:00 c19f00dcd9d3: Pushed 10:57:00 c1963b7a5170: Pushed 10:57:00 ac62b161033c: Pushed 10:57:03 2fa28349c45e: Pushed 10:57:03 9e5ff16ea29b888a79edc386c2a8af4882824547: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] isUnix [Pipeline] sh 10:57:03 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 10:57:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 10:57:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:57:03 c19f00dcd9d3: Preparing 10:57:03 c1963b7a5170: Preparing 10:57:03 2fa28349c45e: Preparing 10:57:03 ac62b161033c: Preparing 10:57:03 b541d28bf3b4: Preparing 10:57:03 b541d28bf3b4: Layer already exists 10:57:03 2fa28349c45e: Layer already exists 10:57:03 c1963b7a5170: Layer already exists 10:57:03 ac62b161033c: Layer already exists 10:57:03 c19f00dcd9d3: Layer already exists 10:57:03 latest: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] isUnix [Pipeline] sh 10:57:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 10:57:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.20 10:57:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:57:04 c19f00dcd9d3: Preparing 10:57:04 c1963b7a5170: Preparing 10:57:04 2fa28349c45e: Preparing 10:57:04 ac62b161033c: Preparing 10:57:04 b541d28bf3b4: Preparing 10:57:04 c19f00dcd9d3: Layer already exists 10:57:04 b541d28bf3b4: Layer already exists 10:57:04 ac62b161033c: Layer already exists 10:57:04 2fa28349c45e: Layer already exists 10:57:04 c1963b7a5170: Layer already exists 10:57:04 2.2.0-dev.20: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] isUnix [Pipeline] sh 10:57:04 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 10:57:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 10:57:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:57:04 c19f00dcd9d3: Preparing 10:57:04 c1963b7a5170: Preparing 10:57:04 2fa28349c45e: Preparing 10:57:04 ac62b161033c: Preparing 10:57:04 b541d28bf3b4: Preparing 10:57:04 c1963b7a5170: Layer already exists 10:57:04 ac62b161033c: Layer already exists 10:57:04 2fa28349c45e: Layer already exists 10:57:04 b541d28bf3b4: Layer already exists 10:57:04 c19f00dcd9d3: Layer already exists 10:57:04 9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] isUnix [Pipeline] sh 10:57:05 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 10:57:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 10:57:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 10:57:05 c19f00dcd9d3: Preparing 10:57:05 c1963b7a5170: Preparing 10:57:05 2fa28349c45e: Preparing 10:57:05 ac62b161033c: Preparing 10:57:05 b541d28bf3b4: Preparing 10:57:05 ac62b161033c: Layer already exists 10:57:05 2fa28349c45e: Layer already exists 10:57:05 c19f00dcd9d3: Layer already exists 10:57:05 b541d28bf3b4: Layer already exists 10:57:05 c1963b7a5170: Layer already exists 10:57:05 main: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 10:57:05 ===================================================== [Pipeline] echo 10:57:05 taggedImages: 10:57:05 - nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547 10:57:05 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 10:57:05 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.20 10:57:05 - nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 10:57:05 - 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 10:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:57:06 10:57:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:57:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:57:06 latest: Pulling from edgex-lftools-log-publisher 10:57:06 5eb5b503b376: Pulling fs layer 10:57:06 5c69ac0246d0: Pulling fs layer 10:57:06 ec43610c2a17: Pulling fs layer 10:57:06 3a2ae6a8a46f: Pulling fs layer 10:57:06 33b1e0a273af: Pulling fs layer 10:57:06 5d3b04190fa2: Pulling fs layer 10:57:06 2f39f015ded8: Pulling fs layer 10:57:06 33b1e0a273af: Waiting 10:57:06 5d3b04190fa2: Waiting 10:57:06 2f39f015ded8: Waiting 10:57:06 3a2ae6a8a46f: Waiting 10:57:06 5c69ac0246d0: Verifying Checksum 10:57:06 5c69ac0246d0: Download complete 10:57:06 3a2ae6a8a46f: Verifying Checksum 10:57:06 3a2ae6a8a46f: Download complete 10:57:06 33b1e0a273af: Verifying Checksum 10:57:06 33b1e0a273af: Download complete 10:57:06 5d3b04190fa2: Verifying Checksum 10:57:06 5d3b04190fa2: Download complete 10:57:06 ec43610c2a17: Verifying Checksum 10:57:06 5eb5b503b376: Verifying Checksum 10:57:06 5eb5b503b376: Download complete 10:57:07 2f39f015ded8: Download complete 10:57:07 5eb5b503b376: Pull complete 10:57:08 5c69ac0246d0: Pull complete 10:57:08 ec43610c2a17: Pull complete 10:57:08 3a2ae6a8a46f: Pull complete 10:57:08 33b1e0a273af: Pull complete 10:57:08 5d3b04190fa2: Pull complete 10:57:13 2f39f015ded8: Pull complete 10:57:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:57:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:57:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:57:13 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 10:57:13 $ 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 10:57:17 $ docker top d550af1627d03ed46a8ca0b6423161ac212d1664138fcb4f21c243eb4aa38f0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:57:17 ---> job-cost.sh 10:57:17 lf-activate-venv: SKIPPING 10:57:17 INFO: No Stack... 10:57:18 INFO: Retrieving Pricing Info for: v3-standard-8 10:57:18 INFO: Archiving Costs [Pipeline] sh 10:57:18 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 10:57:18 + cut -d, -f6 [Pipeline] lock 10:57:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] 10:57:18 Resource [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] did not exist. Created. 10:57:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:57:19 + echo total: 0.2199999988079071 [Pipeline] stash 10:57:19 Stashed 1 file(s) [Pipeline] } 10:57:19 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 10:57:19 $ docker stop --time=1 d550af1627d03ed46a8ca0b6423161ac212d1664138fcb4f21c243eb4aa38f0a 10:57:20 $ docker rm -f d550af1627d03ed46a8ca0b6423161ac212d1664138fcb4f21c243eb4aa38f0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:57:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41796 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 10:57:47 Running in /w/workspace/device-mqtt-go/42 [Pipeline] { [Pipeline] checkout 10:57:48 Selected Git installation does not exist. Using Default 10:57:48 The recommended git tool is: NONE 10:57:55 using credential edgex-jenkins-ssh 10:57:55 Cloning the remote Git repository 10:57:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 10:57:55 > git init /w/workspace/device-mqtt-go/42 # timeout=10 10:57:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:57:55 > git --version # timeout=10 10:57:55 > git --version # 'git version 2.25.1' 10:57:55 using GIT_SSH to set credentials SSH Credentials for GitHub 10:57:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:57:57 Avoid second fetch 10:57:57 Checking out Revision 9e5ff16ea29b888a79edc386c2a8af4882824547 (main) 10:57:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:57:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:57:57 > git config core.sparsecheckout # timeout=10 10:57:57 > git checkout -f 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 10:58:01 Commit message: "Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:58:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:58:02 % Total % Received % Xferd Average Speed Time Time Time Current 10:58:02 Dload Upload Total Spent Left Speed 10:58:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 10:58:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:58:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:58:03 + sudo tee /etc/docker/daemon.new 10:58:03 { 10:58:03 "registry-mirrors": [ 10:58:03 "https://nexus3.edgexfoundry.org:10001" 10:58:03 ], 10:58:03 "bip": "10.250.0.254/24", 10:58:03 "hosts": [ 10:58:03 "tcp://0.0.0.0:5555", 10:58:03 "unix:///var/run/docker.sock" 10:58:03 ], 10:58:03 "mtu": 1458, 10:58:03 "selinux-enabled": true, 10:58:03 "seccomp-profile": "/etc/docker/seccomp.json" 10:58:03 } [Pipeline] sh 10:58:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:58:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:58:22 provisioning config files... 10:58:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/42@tmp/config3252940659292294132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:58:23 ---> docker-login.sh 10:58:23 nexus3.edgexfoundry.org:10001 10:58:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:24 Configure a credential helper to remove this warning. See 10:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:24 10:58:24 Login Succeeded 10:58:24 nexus3.edgexfoundry.org:10002 10:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:24 Configure a credential helper to remove this warning. See 10:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:24 10:58:24 Login Succeeded 10:58:24 nexus3.edgexfoundry.org:10003 10:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:25 Configure a credential helper to remove this warning. See 10:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:25 10:58:25 Login Succeeded 10:58:25 nexus3.edgexfoundry.org:10004 10:58:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:25 Configure a credential helper to remove this warning. See 10:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:25 10:58:25 Login Succeeded 10:58:25 docker.io 10:58:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:58:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:58:26 Configure a credential helper to remove this warning. See 10:58:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:58:26 10:58:26 Login Succeeded 10:58:26 ---> docker-login.sh ends [Pipeline] } 10:58:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:58:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:58:27 ========================================================= 10:58:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:58:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:58: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 . 10:58:27 Sending build context to Docker daemon 3.033MB 10:58:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:58:28 Step 2/12 : FROM ${BASE} AS builder 10:58:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:58:28 9b3977197b4f: Pulling fs layer 10:58:28 1a89e8eeedd5: Pulling fs layer 10:58:28 94645a83ff95: Pulling fs layer 10:58:28 3f3a8bcf1eab: Pulling fs layer 10:58:28 0c92f367c5e7: Pulling fs layer 10:58:28 3096ccb668a1: Pulling fs layer 10:58:28 e8cf19c19ddd: Pulling fs layer 10:58:28 a4caa8a26152: Pulling fs layer 10:58:28 3f3a8bcf1eab: Waiting 10:58:28 0c92f367c5e7: Waiting 10:58:28 a4caa8a26152: Waiting 10:58:28 e8cf19c19ddd: Waiting 10:58:28 3096ccb668a1: Waiting 10:58:28 94645a83ff95: Download complete 10:58:28 1a89e8eeedd5: Download complete 10:58:28 0c92f367c5e7: Verifying Checksum 10:58:28 0c92f367c5e7: Download complete 10:58:28 3096ccb668a1: Verifying Checksum 10:58:28 3096ccb668a1: Download complete 10:58:28 9b3977197b4f: Verifying Checksum 10:58:28 9b3977197b4f: Download complete 10:58:28 e8cf19c19ddd: Verifying Checksum 10:58:28 e8cf19c19ddd: Download complete 10:58:29 9b3977197b4f: Pull complete 10:58:29 1a89e8eeedd5: Pull complete 10:58:29 94645a83ff95: Pull complete 10:58:30 a4caa8a26152: Verifying Checksum 10:58:30 a4caa8a26152: Download complete 10:58:30 3f3a8bcf1eab: Verifying Checksum 10:58:30 3f3a8bcf1eab: Download complete 10:58:43 3f3a8bcf1eab: Pull complete 10:58:43 0c92f367c5e7: Pull complete 10:58:43 3096ccb668a1: Pull complete 10:58:43 e8cf19c19ddd: Pull complete 10:58:48 a4caa8a26152: Pull complete 10:58:48 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:58:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:58:48 ---> 725f1c02e7f9 10:58:48 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:58:50 ---> Running in 48f4724fd1a1 10:58:50 Removing intermediate container 48f4724fd1a1 10:58:50 ---> 3fa779cb6807 10:58:50 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:58:50 ---> Running in 30146b4f8a01 10:58:50 Removing intermediate container 30146b4f8a01 10:58:50 ---> fbfb17453dae 10:58:50 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:58:50 ---> Running in ceac2473fddf 10:58:54 Removing intermediate container ceac2473fddf 10:58:54 ---> fc2a20f95740 10:58:54 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:58:54 ---> Running in d30d0f61dd99 10:58:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:58:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:58:57 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:58:57 (2/4) Installing libedit (20210910.3.1-r0) 10:58:57 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:58:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:58:57 Executing busybox-1.34.1-r3.trigger 10:58:57 OK: 224 MiB in 56 packages 10:58:58 Removing intermediate container d30d0f61dd99 10:58:58 ---> 83bc08a2b17d 10:58:58 Step 7/12 : WORKDIR /device-mqtt-go 10:58:58 ---> Running in 38552588c109 10:58:58 Removing intermediate container 38552588c109 10:58:58 ---> a0eeb20eace9 10:58:58 Step 8/12 : COPY go.mod vendor* ./ 10:58:59 ---> 863559d1cd64 10:58:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:58:59 ---> Running in 9be245b1cacb 10:59:46 Removing intermediate container 9be245b1cacb 10:59:46 ---> d0cc33db9902 10:59:46 Step 10/12 : COPY . . 10:59:46 ---> ac1f84d74261 10:59:46 Step 11/12 : ARG MAKE='make build' 10:59:46 ---> Running in 0e966e30c0f9 10:59:46 Removing intermediate container 0e966e30c0f9 10:59:46 ---> 1ed60627984b 10:59:46 Step 12/12 : RUN $MAKE 10:59:46 ---> Running in 7177f43ffd26 10:59:47 noop 10:59:48 Removing intermediate container 7177f43ffd26 10:59:48 ---> 0f27c4c76b55 10:59:48 Successfully built 0f27c4c76b55 10:59:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:59:48 + docker inspect -f . ci-base-image-arm64 10:59:48 . [Pipeline] withDockerContainer 10:59:48 prd-ubuntu20.04-docker-arm64-4c-16g-41796 does not seem to be running inside a container 10:59:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@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 10:59:50 $ docker top 408dc3f0ac6678b44d748842ea16b4310a6d6d9d3a09775fc0951afe10d2a4c2 -eo pid,comm [Pipeline] { [Pipeline] sh 10:59:50 + go version 10:59:50 go version go1.17.6 linux/arm64 [Pipeline] } 10:59:50 $ docker stop --time=1 408dc3f0ac6678b44d748842ea16b4310a6d6d9d3a09775fc0951afe10d2a4c2 10:59:52 $ docker rm -f 408dc3f0ac6678b44d748842ea16b4310a6d6d9d3a09775fc0951afe10d2a4c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:59:53 + docker inspect -f . ci-base-image-arm64 10:59:53 . [Pipeline] withDockerContainer 10:59:53 prd-ubuntu20.04-docker-arm64-4c-16g-41796 does not seem to be running inside a container 10:59:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@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 10:59:54 $ docker top 8089300374f4c56c840d9932df6e924b3286a846d92c516714dd6997ee743146 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:59:55 + make test 10:59:55 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:59:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:01:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:01:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements 11:01:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:01:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:01:34 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:01:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:01:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:01:56 ./bin/test-attribution-txt.sh [Pipeline] echo 11:01:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:01:58 $ docker stop --time=1 8089300374f4c56c840d9932df6e924b3286a846d92c516714dd6997ee743146 11:02:00 $ docker rm -f 8089300374f4c56c840d9932df6e924b3286a846d92c516714dd6997ee743146 [Pipeline] // withDockerContainer [Pipeline] sh 11:02:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:02:01 Warning: overwriting stash ‘coverage-report’ 11:02:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:02:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:02:03 + ls -al . 11:02:03 total 172 11:02:03 drwxrwxr-x 9 jenkins jenkins 4096 May 9 11:01 . 11:02:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:57 .. 11:02:03 -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:57 .dockerignore 11:02:03 drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:58 .git 11:02:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:57 .github 11:02:03 -rw-rw-r-- 1 jenkins jenkins 329 May 9 10:57 .gitignore 11:02:03 -rw-rw-r-- 1 jenkins jenkins 41 May 9 10:57 .golangci.yml 11:02:03 -rw-rw-r-- 1 jenkins jenkins 8656 May 9 10:57 Attribution.txt 11:02:03 -rw-rw-r-- 1 jenkins jenkins 7447 May 9 10:57 CHANGELOG.md 11:02:03 -rw-rw-r-- 1 jenkins jenkins 1930 May 9 10:57 Dockerfile 11:02:03 -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:57 GOVERNANCE.md 11:02:03 -rw-rw-r-- 1 jenkins jenkins 678 May 9 10:57 Jenkinsfile 11:02:03 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:57 LICENSE 11:02:03 -rw-rw-r-- 1 jenkins jenkins 1930 May 9 10:57 Makefile 11:02:03 -rw-rw-r-- 1 jenkins jenkins 620 May 9 10:57 OWNERS.md 11:02:03 -rw-rw-r-- 1 jenkins jenkins 2501 May 9 10:57 README.md 11:02:03 -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:55 VERSION 11:02:03 drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:57 bin 11:02:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:57 cmd 11:02:03 -rw-r--r-- 1 jenkins jenkins 17887 May 9 11:01 coverage.out 11:02:03 -rw-rw-r-- 1 jenkins jenkins 3309 May 9 10:57 go.mod 11:02:03 -rw-rw-r-- 1 jenkins jenkins 35490 May 9 10:57 go.sum 11:02:03 drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:57 internal 11:02:03 drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:57 mock 11:02:03 drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:57 snap 11:02:03 -rw-rw-r-- 1 jenkins jenkins 227 May 9 10:57 version.go [Pipeline] isUnix [Pipeline] sh 11:02:03 + 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=9e5ff16ea29b888a79edc386c2a8af4882824547 --label arch=arm64 --label version=2.2.0-dev.20 . 11:02:03 Sending build context to Docker daemon 3.051MB 11:02:03 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 11:02:03 Step 2/24 : FROM ${BASE} AS builder 11:02:03 ---> 0f27c4c76b55 11:02:03 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:02:03 ---> Running in 809c53e491b1 11:02:04 Removing intermediate container 809c53e491b1 11:02:04 ---> 4a08c114dc7c 11:02:04 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 11:02:04 ---> Running in fb3068ec6448 11:02:04 Removing intermediate container fb3068ec6448 11:02:04 ---> 22b2a8089b4e 11:02:04 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:02:04 ---> Running in 86bc13df12d4 11:02:06 Removing intermediate container 86bc13df12d4 11:02:06 ---> 196ffe94d475 11:02:06 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:02:06 ---> Running in 937f51f5b189 11:02:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:02:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:02:09 OK: 224 MiB in 56 packages 11:02:10 Removing intermediate container 937f51f5b189 11:02:10 ---> cab982111bf2 11:02:10 Step 7/24 : WORKDIR /device-mqtt-go 11:02:10 ---> Running in 9c76ab7dbe86 11:02:10 Removing intermediate container 9c76ab7dbe86 11:02:10 ---> ecd8c67d6ba9 11:02:10 Step 8/24 : COPY go.mod vendor* ./ 11:02:10 ---> 13ac64c4ad7a 11:02:10 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:02:10 ---> Running in e63c750e47e2 11:02:12 Removing intermediate container e63c750e47e2 11:02:12 ---> 6612306ae939 11:02:12 Step 10/24 : COPY . . 11:02:13 ---> 07ffb481832f 11:02:13 Step 11/24 : ARG MAKE='make build' 11:02:13 ---> Running in e89aeaddb8fe 11:02:14 Removing intermediate container e89aeaddb8fe 11:02:14 ---> 2ca8b5d9a687 11:02:14 Step 12/24 : RUN $MAKE 11:02:14 ---> Running in 4bc70a32afd5 11:02:15 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 11:04:37 Removing intermediate container 4bc70a32afd5 11:04:37 ---> 9905798f01ba 11:04:37 Step 13/24 : FROM alpine:3.14 11:04:37 3.14: Pulling from library/alpine 11:04:37 455c02918c45: Pulling fs layer 11:04:37 455c02918c45: Download complete 11:04:37 455c02918c45: Pull complete 11:04:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:04:37 Status: Downloaded newer image for alpine:3.14 11:04:37 ---> ac73e934f311 11:04:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:04:37 ---> Running in 77b296cbf36c 11:04:37 Removing intermediate container 77b296cbf36c 11:04:37 ---> c56ae03f0a14 11:04:37 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:04:37 ---> Running in d6a7a16a78c5 11:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:04:37 (1/6) Installing dumb-init (1.2.5-r1) 11:04:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:04:37 (3/6) Installing libsodium (1.0.18-r0) 11:04:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:04:37 (5/6) Installing libzmq (4.3.4-r0) 11:04:37 (6/6) Installing zeromq (4.3.4-r0) 11:04:37 Executing busybox-1.33.1-r7.trigger 11:04:37 OK: 8 MiB in 20 packages 11:04:37 Removing intermediate container d6a7a16a78c5 11:04:37 ---> d7cb41ffee44 11:04:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 11:04:37 ---> 8b3d3f97b31c 11:04:37 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 11:04:37 ---> 4f7f61445586 11:04:37 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:04:37 ---> 01e6e8866c28 11:04:37 Step 19/24 : EXPOSE 59982 11:04:37 ---> Running in 2ec58c587316 11:04:37 Removing intermediate container 2ec58c587316 11:04:37 ---> 032591c57a50 11:04:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 11:04:37 ---> Running in b4eb514d13ab 11:04:37 Removing intermediate container b4eb514d13ab 11:04:37 ---> 0e9504b57b63 11:04:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:04:37 ---> Running in 8e3d7340657c 11:04:37 Removing intermediate container 8e3d7340657c 11:04:37 ---> 4a844a109e47 11:04:37 Step 22/24 : LABEL arch=arm64 11:04:37 ---> Running in 4ab56065e18b 11:04:37 Removing intermediate container 4ab56065e18b 11:04:37 ---> afdd4329fda8 11:04:37 Step 23/24 : LABEL git_sha=9e5ff16ea29b888a79edc386c2a8af4882824547 11:04:37 ---> Running in 33d897d29ef8 11:04:37 Removing intermediate container 33d897d29ef8 11:04:37 ---> ef8f4566ff82 11:04:37 Step 24/24 : LABEL version=2.2.0-dev.20 11:04:37 ---> Running in 18fafc579491 11:04:37 Removing intermediate container 18fafc579491 11:04:37 ---> 63bdaae95bee 11:04:37 [Warning] One or more build-args [ARCH] were not consumed 11:04:37 Successfully built 63bdaae95bee 11:04:37 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 11:04:37 provisioning config files... 11:04:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/42@tmp/config6374898128392379671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:38 ---> docker-login.sh 11:04:38 nexus3.edgexfoundry.org:10001 11:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:38 Configure a credential helper to remove this warning. See 11:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:38 11:04:38 Login Succeeded 11:04:38 nexus3.edgexfoundry.org:10002 11:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:38 Configure a credential helper to remove this warning. See 11:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:38 11:04:38 Login Succeeded 11:04:38 nexus3.edgexfoundry.org:10003 11:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:39 Configure a credential helper to remove this warning. See 11:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:39 11:04:39 Login Succeeded 11:04:39 nexus3.edgexfoundry.org:10004 11:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:39 Configure a credential helper to remove this warning. See 11:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:39 11:04:39 Login Succeeded 11:04:39 docker.io 11:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:04:40 Configure a credential helper to remove this warning. See 11:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:04:40 11:04:40 Login Succeeded 11:04:40 ---> docker-login.sh ends [Pipeline] } 11:04:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:04:40 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 11:04:40 9e5ff16ea29b888a79edc386c2a8af4882824547 11:04:40 latest 11:04:40 2.2.0-dev.20 11:04:40 9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 11:04:40 main 11:04:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:04:41 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] isUnix [Pipeline] sh 11:04:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547 11:04:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:04:41 960fcb169a59: Preparing 11:04:41 9a7e4063f53a: Preparing 11:04:41 de41ed06e64b: Preparing 11:04:41 234fbc4131d6: Preparing 11:04:41 f73e7dbfee58: Preparing 11:04:41 f73e7dbfee58: Layer already exists 11:04:41 9a7e4063f53a: Pushed 11:04:41 960fcb169a59: Pushed 11:04:42 234fbc4131d6: Pushed 11:04:49 de41ed06e64b: Pushed 11:04:49 9e5ff16ea29b888a79edc386c2a8af4882824547: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:04:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:04:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:04:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:04:49 960fcb169a59: Preparing 11:04:49 9a7e4063f53a: Preparing 11:04:49 de41ed06e64b: Preparing 11:04:49 234fbc4131d6: Preparing 11:04:49 f73e7dbfee58: Preparing 11:04:49 960fcb169a59: Layer already exists 11:04:49 9a7e4063f53a: Layer already exists 11:04:49 f73e7dbfee58: Layer already exists 11:04:49 de41ed06e64b: Layer already exists 11:04:49 234fbc4131d6: Layer already exists 11:04:50 latest: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:04:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 11:04:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 11:04:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:04:50 960fcb169a59: Preparing 11:04:50 9a7e4063f53a: Preparing 11:04:50 de41ed06e64b: Preparing 11:04:50 234fbc4131d6: Preparing 11:04:50 f73e7dbfee58: Preparing 11:04:50 234fbc4131d6: Layer already exists 11:04:50 de41ed06e64b: Layer already exists 11:04:50 9a7e4063f53a: Layer already exists 11:04:50 f73e7dbfee58: Layer already exists 11:04:50 960fcb169a59: Layer already exists 11:04:51 2.2.0-dev.20: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:04:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh 11:04:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 11:04:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:04:51 960fcb169a59: Preparing 11:04:51 9a7e4063f53a: Preparing 11:04:51 de41ed06e64b: Preparing 11:04:51 234fbc4131d6: Preparing 11:04:51 f73e7dbfee58: Preparing 11:04:51 234fbc4131d6: Layer already exists 11:04:51 f73e7dbfee58: Layer already exists 11:04:51 9a7e4063f53a: Layer already exists 11:04:51 de41ed06e64b: Layer already exists 11:04:51 960fcb169a59: Layer already exists 11:04:52 9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:04:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 11:04:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 11:04:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:04:52 960fcb169a59: Preparing 11:04:52 9a7e4063f53a: Preparing 11:04:52 de41ed06e64b: Preparing 11:04:52 234fbc4131d6: Preparing 11:04:52 f73e7dbfee58: Preparing 11:04:52 f73e7dbfee58: Layer already exists 11:04:52 9a7e4063f53a: Layer already exists 11:04:52 960fcb169a59: Layer already exists 11:04:52 de41ed06e64b: Layer already exists 11:04:52 234fbc4131d6: Layer already exists 11:04:52 main: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:04:53 ===================================================== [Pipeline] echo 11:04:53 taggedImages: 11:04:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547 11:04:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:04:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 11:04:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 11:04:53 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:04:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:04:53 11:04:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:04:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:04:54 arm64: Pulling from edgex-lftools-log-publisher 11:04:54 8998bd30e6a1: Pulling fs layer 11:04:54 04944245beec: Pulling fs layer 11:04:54 699f458cf7ca: Pulling fs layer 11:04:54 765212b225bb: Pulling fs layer 11:04:54 f23df028b6ca: Pulling fs layer 11:04:54 d65c8cfc05b1: Pulling fs layer 11:04:54 2437ff75d9bd: Pulling fs layer 11:04:54 f23df028b6ca: Waiting 11:04:54 d65c8cfc05b1: Waiting 11:04:54 765212b225bb: Waiting 11:04:54 2437ff75d9bd: Waiting 11:04:54 04944245beec: Verifying Checksum 11:04:54 04944245beec: Download complete 11:04:54 765212b225bb: Verifying Checksum 11:04:54 765212b225bb: Download complete 11:04:54 f23df028b6ca: Verifying Checksum 11:04:54 f23df028b6ca: Download complete 11:04:54 d65c8cfc05b1: Verifying Checksum 11:04:54 d65c8cfc05b1: Download complete 11:04:54 699f458cf7ca: Verifying Checksum 11:04:54 699f458cf7ca: Download complete 11:04:54 8998bd30e6a1: Verifying Checksum 11:04:54 8998bd30e6a1: Download complete 11:04:57 2437ff75d9bd: Verifying Checksum 11:04:57 2437ff75d9bd: Download complete 11:04:59 8998bd30e6a1: Pull complete 11:04:59 04944245beec: Pull complete 11:05:00 699f458cf7ca: Pull complete 11:05:01 765212b225bb: Pull complete 11:05:02 f23df028b6ca: Pull complete 11:05:02 d65c8cfc05b1: Pull complete 11:05:17 2437ff75d9bd: Pull complete 11:05:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:05:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:05:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:05:17 prd-ubuntu20.04-docker-arm64-4c-16g-41796 does not seem to be running inside a container 11:05:17 $ 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/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@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 11:05:20 $ docker top c46ebf09f8e6d623a67d15893a709fbe0ee1da8edb082a84fe673d5c7baa3f3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:05:21 ---> job-cost.sh 11:05:21 lf-activate-venv: SKIPPING 11:05:21 INFO: No Stack... 11:05:22 INFO: Retrieving Pricing Info for: v3-standard-4 11:05:22 INFO: Archiving Costs [Pipeline] sh 11:05:23 + cat /w/workspace/device-mqtt-go/42/archives/cost.csv 11:05:23 + cut -d, -f6 [Pipeline] lock 11:05:23 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] 11:05:23 Resource [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] did not exist. Created. 11:05:23 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:05:24 /w/workspace/device-mqtt-go/42@tmp/durable-66a1d7b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:05:24 + echo total: 0.10999999940395355 [Pipeline] stash 11:05:24 Warning: overwriting stash ‘stack-cost’ 11:05:24 Stashed 1 file(s) [Pipeline] } 11:05:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } 11:05:24 $ docker stop --time=1 c46ebf09f8e6d623a67d15893a709fbe0ee1da8edb082a84fe673d5c7baa3f3e 11:05:26 $ docker rm -f c46ebf09f8e6d623a67d15893a709fbe0ee1da8edb082a84fe673d5c7baa3f3e [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 11:05:26 provisioning config files... 11:05:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2495224043637692474tmp [Pipeline] { [Pipeline] sh 11:05:27 + set +x 11:05:27 + curl -s https://codecov.io/bash 11:05:27 + bash -s -- 11:05:27 11:05:27 _____ _ 11:05:27 / ____| | | 11:05:27 | | ___ __| | ___ ___ _____ __ 11:05:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:05:27 | |___| (_) | (_| | __/ (_| (_) \ V / 11:05:27 \_____\___/ \__,_|\___|\___\___/ \_/ 11:05:27 Bash-1.0.6 11:05:27 11:05:27 11:05:27 ==> git version 2.25.1 found 11:05:27 ==> 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 11:05:27 Release-Date: 2020-01-08 11:05:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:05:27 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:05:27 ==> Jenkins CI detected. 11:05:27 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 11:05:27 project root: . 11:05:27 --> token set from env 11:05:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:05:27 ==> Running gcov in . (disable via -X gcov) 11:05:27 ==> Python coveragepy not found 11:05:27 ==> Searching for coverage reports in: 11:05:27 + . 11:05:27 -> Found 1 reports 11:05:27 ==> Detecting git/mercurial file structure 11:05:27 ==> Reading reports 11:05:27 + ./coverage.out bytes=17887 11:05:27 ==> Appending adjustments 11:05:27 https://docs.codecov.io/docs/fixing-reports 11:05:27 + Found adjustments 11:05:27 ==> Gzipping contents 11:05:27 4.0K /tmp/codecov.0fczQq.gz 11:05:27 ==> Uploading reports 11:05:27 url: https://codecov.io 11:05:27 query: branch=main&commit=9e5ff16ea29b888a79edc386c2a8af4882824547&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:05:27 -> Pinging Codecov 11:05:27 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=9e5ff16ea29b888a79edc386c2a8af4882824547&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:05:27 -> Uploading to 11:05:27 https://storage.googleapis.com/codecov/v4/raw/2022-05-09/7D719EC7BBE17E464838252E33014C33/9e5ff16ea29b888a79edc386c2a8af4882824547/433edb22-95db-4e98-be2e-ceffdeeecdfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T110527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67b68c5c02e40a62bfeacb9223fc54fc4d310f17be6cb0068d1780e2c0742219 11:05:27 % Total % Received % Xferd Average Speed Time Time Time Current 11:05:27 Dload Upload Total Spent Left Speed 11:05:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 14751 --:--:-- --:--:-- --:--:-- 14684 100 3260 0 0 100 3260 0 11811 --:--:-- --:--:-- --:--:-- 11768 11:05:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] } 11:05:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:05:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:05:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:05:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:05:28 11:05:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:05:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:05:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:05:28 188c0c94c7c5: Pulling fs layer 11:05:28 0ef7d3d256c8: Pulling fs layer 11:05:28 de9db76c5a1d: Pulling fs layer 11:05:28 0eba1c9be4d2: Pulling fs layer 11:05:28 0d57e429df01: Pulling fs layer 11:05:28 4e4be7b47b0d: Pulling fs layer 11:05:28 e1f770b5df2f: Pulling fs layer 11:05:28 85a0685a4137: Pulling fs layer 11:05:28 0d57e429df01: Waiting 11:05:28 4e4be7b47b0d: Waiting 11:05:28 e1f770b5df2f: Waiting 11:05:28 85a0685a4137: Waiting 11:05:28 0eba1c9be4d2: Waiting 11:05:28 de9db76c5a1d: Verifying Checksum 11:05:28 de9db76c5a1d: Download complete 11:05:28 0ef7d3d256c8: Download complete 11:05:28 0d57e429df01: Download complete 11:05:28 4e4be7b47b0d: Verifying Checksum 11:05:28 4e4be7b47b0d: Download complete 11:05:28 188c0c94c7c5: Download complete 11:05:28 188c0c94c7c5: Pull complete 11:05:28 e1f770b5df2f: Verifying Checksum 11:05:28 e1f770b5df2f: Download complete 11:05:28 0ef7d3d256c8: Pull complete 11:05:28 de9db76c5a1d: Pull complete 11:05:29 0eba1c9be4d2: Verifying Checksum 11:05:29 0eba1c9be4d2: Download complete 11:05:29 85a0685a4137: Verifying Checksum 11:05:29 85a0685a4137: Download complete 11:05:32 0eba1c9be4d2: Pull complete 11:05:32 0d57e429df01: Pull complete 11:05:32 4e4be7b47b0d: Pull complete 11:05:32 e1f770b5df2f: Pull complete 11:05:36 85a0685a4137: Pull complete 11:05:36 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:05:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:05:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:05:36 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 11:05:36 $ 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 11:05:39 $ docker top de6a0e45d7a2ac6df20d382da0804dd5e47732d6099a67ad106815780d90b1d6 -eo pid,comm [Pipeline] { [Pipeline] echo 11:05:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:05:39 + set -o pipefail 11:05:39 + snyk monitor '--org=edgex-jenkins' 11:05:45 11:05:45 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 11:05:45 11:05:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/f1be4462-1991-4136-b99a-10383e06d6c4 11:05:45 11:05:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:05:45 11:05:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:05:45 11:05:45 [Pipeline] } 11:05:45 $ docker stop --time=1 de6a0e45d7a2ac6df20d382da0804dd5e47732d6099a67ad106815780d90b1d6 11:05:47 $ docker rm -f de6a0e45d7a2ac6df20d382da0804dd5e47732d6099a67ad106815780d90b1d6 [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 11:05:48 + git log --format=format:%s -1 9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] sh 11:05:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:05:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:05:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:05:49 . [Pipeline] withDockerContainer 11:05:49 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 11:05:49 $ 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 11:05:49 $ docker top ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:05:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:05:49 [ssh-agent] Looking for ssh-agent implementation... 11:05:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:05:49 $ docker exec ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc ssh-agent 11:05:49 SSH_AUTH_SOCK=/tmp/ssh-yZEsOZY8Uj0J/agent.32 11:05:49 SSH_AGENT_PID=39 11:05:49 Running ssh-add (command line suppressed) 11:05:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6364917897106343275.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6364917897106343275.key) 11:05:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:05:50 + git semver tag 11:05:50 2022-05-09 11:05:50,609 [run_tag] DEBUG tag force:False 11:05:50 2022-05-09 11:05:50,609 [check_head_tag] DEBUG check head tag 11:05:50 2022-05-09 11:05:50,611 [execute] INFO git cat-file --batch-check 11:05:50 2022-05-09 11:05:50,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 11:05:50 2022-05-09 11:05:50,614 [execute] INFO git cat-file --batch 11:05:50 2022-05-09 11:05:50,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 11:05:50 2022-05-09 11:05:50,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:05:50 2022-05-09 11:05:50,632 [execute] INFO git tag -a v2.2.0-dev.20 -m v2.2.0-dev.20 11:05:50 2022-05-09 11:05:50,632 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.20', '-m', 'v2.2.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 11:05:50 2022-05-09 11:05:50,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:05:50 2.2.0-dev.20 [Pipeline] } 11:05:50 $ docker exec --env ******** --env ******** ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc ssh-agent -k 11:05:50 unset SSH_AUTH_SOCK; 11:05:50 unset SSH_AGENT_PID; 11:05:50 echo Agent pid 39 killed; 11:05:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:05:51 + git semver [Pipeline] } 11:05:51 $ docker stop --time=1 ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc 11:05:52 $ docker rm -f ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:05:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:05:53 11:05:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:05:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:05:53 0.23.1-centos7: Pulling from edgex-lftools 11:05:53 ab5ef0e58194: Pulling fs layer 11:05:53 9712f1f96733: Pulling fs layer 11:05:53 63f879dbbcfc: Pulling fs layer 11:05:53 0d9ebad4ef96: Pulling fs layer 11:05:53 e9a5061849ea: Pulling fs layer 11:05:53 d747dcd14b5f: Pulling fs layer 11:05:53 2de7ff778b66: Pulling fs layer 11:05:53 0d9ebad4ef96: Waiting 11:05:53 e9a5061849ea: Waiting 11:05:53 2de7ff778b66: Waiting 11:05:53 d747dcd14b5f: Waiting 11:05:53 9712f1f96733: Download complete 11:05:54 63f879dbbcfc: Verifying Checksum 11:05:54 63f879dbbcfc: Download complete 11:05:54 e9a5061849ea: Verifying Checksum 11:05:54 ab5ef0e58194: Verifying Checksum 11:05:54 ab5ef0e58194: Download complete 11:05:54 d747dcd14b5f: Download complete 11:05:54 0d9ebad4ef96: Verifying Checksum 11:05:54 0d9ebad4ef96: Download complete 11:05:54 2de7ff778b66: Verifying Checksum 11:05:54 2de7ff778b66: Download complete 11:05:56 ab5ef0e58194: Pull complete 11:05:56 9712f1f96733: Pull complete 11:05:57 63f879dbbcfc: Pull complete 11:06:01 0d9ebad4ef96: Pull complete 11:06:01 e9a5061849ea: Pull complete 11:06:01 d747dcd14b5f: Pull complete 11:06:02 2de7ff778b66: Pull complete 11:06:02 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:06:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:06:02 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:06:02 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 11:06:02 $ 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 11:06:05 $ docker top fdf823c76a8a3711b5dffa09a6cb23cd2052dcaa7ae3be8b52428f18b508db0c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:06:05 provisioning config files... 11:06:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config122067487821184320tmp 11:06:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config421338575801727559tmp 11:06:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4217137212716332158tmp [Pipeline] { [Pipeline] echo 11:06:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:06:05 ---> sigul-configuration.sh 11:06:05 gpg: directory `/root/.gnupg' created 11:06:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:06:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:06:05 gpg: keyring `/root/.gnupg/secring.gpg' created 11:06:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:06:05 gpg: CAST5 encrypted data 11:06:05 gpg: encrypted with 1 passphrase 11:06:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:06:05 + mkdir /home/jenkins 11:06:05 + mkdir /home/jenkins/sigul [Pipeline] sh 11:06:06 + 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 11:06:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:06:06 ---> sigul-install.sh 11:06:06 Sigul already installed; skipping installation. [Pipeline] sh 11:06:06 + git tag --list 11:06:06 0.7.1 11:06:06 v1.0.0 11:06:06 v1.1.0 11:06:06 v1.1.1 11:06:06 v1.2.2 11:06:06 v1.3.0 11:06:06 v1.3.1 11:06:06 v2.0.0 11:06:06 v2.0.1-dev.1 11:06:06 v2.0.1-dev.10 11:06:06 v2.0.1-dev.11 11:06:06 v2.0.1-dev.12 11:06:06 v2.0.1-dev.13 11:06:06 v2.0.1-dev.14 11:06:06 v2.0.1-dev.15 11:06:06 v2.0.1-dev.16 11:06:06 v2.0.1-dev.17 11:06:06 v2.0.1-dev.2 11:06:06 v2.0.1-dev.3 11:06:06 v2.0.1-dev.4 11:06:06 v2.0.1-dev.5 11:06:06 v2.0.1-dev.6 11:06:06 v2.0.1-dev.7 11:06:06 v2.0.1-dev.8 11:06:06 v2.0.1-dev.9 11:06:06 v2.1.0 11:06:06 v2.2.0-dev.1 11:06:06 v2.2.0-dev.10 11:06:06 v2.2.0-dev.11 11:06:06 v2.2.0-dev.12 11:06:06 v2.2.0-dev.13 11:06:06 v2.2.0-dev.14 11:06:06 v2.2.0-dev.15 11:06:06 v2.2.0-dev.16 11:06:06 v2.2.0-dev.17 11:06:06 v2.2.0-dev.18 11:06:06 v2.2.0-dev.19 11:06:06 v2.2.0-dev.2 11:06:06 v2.2.0-dev.20 11:06:06 v2.2.0-dev.3 11:06:06 v2.2.0-dev.4 11:06:06 v2.2.0-dev.5 11:06:06 v2.2.0-dev.6 11:06:06 v2.2.0-dev.7 11:06:06 v2.2.0-dev.8 11:06:06 v2.2.0-dev.9 [Pipeline] sh 11:06:06 + lftools sign git-tag v2.2.0-dev.20 11:06:07 Signing Git tag with Sigul... 11:06:07 Signing v2.2.0-dev.20 [Pipeline] echo 11:06:07 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:06:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:06:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:06:08 $ docker stop --time=1 fdf823c76a8a3711b5dffa09a6cb23cd2052dcaa7ae3be8b52428f18b508db0c 11:06:09 $ docker rm -f fdf823c76a8a3711b5dffa09a6cb23cd2052dcaa7ae3be8b52428f18b508db0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:06:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:06:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:06:10 . [Pipeline] withDockerContainer 11:06:10 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 11:06:10 $ 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 11:06:10 $ docker top ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:10 [ssh-agent] Looking for ssh-agent implementation... 11:06:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:11 $ docker exec ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a ssh-agent 11:06:11 SSH_AUTH_SOCK=/tmp/ssh-CjONHt5PriAI/agent.32 11:06:11 SSH_AGENT_PID=38 11:06:11 Running ssh-add (command line suppressed) 11:06:11 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9172524813543044609.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9172524813543044609.key) 11:06:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:11 + git semver bump pre 11:06:11 2022-05-09 11:06:11,735 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:06:11 2022-05-09 11:06:11,735 [bump_version] DEBUG bumping version:2.2.0-dev.20 on axis:pre with prefix:dev 11:06:11 2022-05-09 11:06:11,735 [bump_version] DEBUG bumped version:2.2.0-dev.21 11:06:11 2022-05-09 11:06:11,735 [write_version] DEBUG write version:2.2.0-dev.21 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 11:06:11 2022-05-09 11:06:11,735 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:06:11 2022-05-09 11:06:11,735 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:06:11 2022-05-09 11:06:11,737 [execute] INFO git cat-file --batch-check 11:06:11 2022-05-09 11:06:11,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:06:11 2022-05-09 11:06:11,741 [execute] INFO git cat-file --batch 11:06:11 2022-05-09 11:06:11,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 11:06:11 2022-05-09 11:06:11,747 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:06:11 2.2.0-dev.21 [Pipeline] } 11:06:11 $ docker exec --env ******** --env ******** ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a ssh-agent -k 11:06:11 unset SSH_AUTH_SOCK; 11:06:11 unset SSH_AGENT_PID; 11:06:11 echo Agent pid 38 killed; 11:06:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:12 + git semver [Pipeline] } 11:06:12 $ docker stop --time=1 ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a 11:06:13 $ docker rm -f ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a [Pipeline] // withDockerContainer [Pipeline] sh 11:06:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:06:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:06:14 . [Pipeline] withDockerContainer 11:06:14 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 11:06:14 $ 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 11:06:14 $ docker top f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:15 [ssh-agent] Looking for ssh-agent implementation... 11:06:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:15 $ docker exec f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 ssh-agent 11:06:15 SSH_AUTH_SOCK=/tmp/ssh-rhHxLqus4dfu/agent.34 11:06:15 SSH_AGENT_PID=40 11:06:15 Running ssh-add (command line suppressed) 11:06:15 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4432590742733377272.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4432590742733377272.key) 11:06:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:15 + git semver push 11:06:16 2022-05-09 11:06:16,016 [run_push] DEBUG push 11:06:16 2022-05-09 11:06:16,016 [execute] INFO git push origin semver 11:06:16 2022-05-09 11:06:16,017 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 11:06:16 2022-05-09 11:06:16,777 [run_push] DEBUG push all version tags 11:06:16 2022-05-09 11:06:16,778 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 11:06:16 2022-05-09 11:06:16,778 [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) 11:06:17 2022-05-09 11:06:17,616 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 11:06:17 2.2.0-dev.21 [Pipeline] } 11:06:17 $ docker exec --env ******** --env ******** f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 ssh-agent -k 11:06:18 unset SSH_AUTH_SOCK; 11:06:18 unset SSH_AGENT_PID; 11:06:18 echo Agent pid 40 killed; 11:06:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:18 + git semver [Pipeline] } 11:06:18 $ docker stop --time=1 f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 11:06:19 $ docker rm -f f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 [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 11:06:20 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 11:06:20 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:06:20 total 16 11:06:20 drwxr-xr-x 3 root root 4096 May 9 10:57 . 11:06:20 drwxrwxr-x 11 jenkins jenkins 4096 May 9 11:06 .. 11:06:20 drwxr-xr-x 2 root root 4096 May 9 10:57 cost 11:06:20 -rw-r--r-- 1 root root 84 May 9 10:57 cost.csv 11:06:20 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:06:20 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:06:20 total 16 11:06:20 drwxr-xr-x 3 jenkins jenkins 4096 May 9 10:57 . 11:06:20 drwxrwxr-x 11 jenkins jenkins 4096 May 9 11:06 .. 11:06:20 drwxr-xr-x 2 jenkins jenkins 4096 May 9 10:57 cost 11:06:20 -rw-r--r-- 1 jenkins jenkins 84 May 9 10:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:06:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:06:21 ---> package-listing.sh 11:06:21 ++ tr '[:upper:]' '[:lower:]' 11:06:21 ++ facter osfamily 11:06:21 + OS_FAMILY=debian 11:06:21 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 11:06:21 + START_PACKAGES=/tmp/packages_start.txt 11:06:21 + END_PACKAGES=/tmp/packages_end.txt 11:06:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:06:21 + PACKAGES=/tmp/packages_start.txt 11:06:21 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:06:21 + PACKAGES=/tmp/packages_end.txt 11:06:21 + case "${OS_FAMILY}" in 11:06:21 + dpkg -l 11:06:21 + grep '^ii' 11:06:21 + '[' -f /tmp/packages_start.txt ']' 11:06:21 + '[' -f /tmp/packages_end.txt ']' 11:06:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:06:21 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:06:21 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 11:06:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 11:06:22 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 11:06:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:06:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:06:22 . [Pipeline] withDockerContainer 11:06:22 prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container 11:06:22 $ 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 11:06:23 $ docker top 05c78625cd7c27e5b0c6b653d19d8856c20b4eb2884264532bd2d01217eac607 -eo pid,comm [Pipeline] { [Pipeline] sh 11:06:23 + touch /tmp/pre-build-complete [Pipeline] sh 11:06:23 + mkdir -p /var/log/sysstat [Pipeline] sh 11:06:24 + ls /var/log/sa-host 11:06:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:24 provisioning config files... 11:06:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3207853195045560858tmp [Pipeline] { [Pipeline] echo 11:06:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:06:24 ---> create-netrc.sh [Pipeline] } 11:06:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:06:24 ---> python-tools-install.sh [Pipeline] echo 11:06:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:06:25 ---> sudo-logs.sh 11:06:25 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:06:25 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:06:25 ---> job-cost.sh 11:06:25 lf-activate-venv: SKIPPING 11:06:25 DEBUG: total: 0.2199999988079071 11:06:25 INFO: Retrieving Stack Cost... 11:06:26 INFO: Retrieving Pricing Info for: v3-standard-8 11:06:26 INFO: Archiving Costs [Pipeline] echo 11:06:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:06:26 ---> logs-deploy.sh 11:06:26 lf-activate-venv: SKIPPING 11:06:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/42 11:06:26 INFO: archiving workspace using pattern(s): 11:06:27 Archives upload complete. 11:06:27 INFO: archiving logs to Nexus