Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 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-ssh8332204707420449166.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-ssh10636796435138068198.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-ssh14813198758482626630.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-ssh4390615455966509992.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-ssh3428710689639316329.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-40355 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 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe (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 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe # timeout=10 Commit message: "Merge pull request #376 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.22" > git rev-list --no-walk d48f562ef729a2ec37fa97109bc6a87329b19a34 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:42:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:42:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:42:30 ========================================================= 04:42:30 EdgeX Global Pipelines Version Info 04:42:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:42:30 ------------------- 04:42:30 stable info: 04:42:30 ------------------- 04:42:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:42:30 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 04:42:30 Message: update stable to v1.0.227 04:42:31 ------------------- 04:42:31 experimental info: 04:42:31 ------------------- 04:42:31 Commited By: **** collab-it+edgex@linuxfoundation.org 04:42:31 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 04:42:31 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:42:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [Pipeline] echo 04:42:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d2f59d [Pipeline] echo 04:42:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:32 provisioning config files... 04:42:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config423791740394660919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:32 ---> docker-login.sh 04:42:32 nexus3.edgexfoundry.org:10001 04:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:32 Configure a credential helper to remove this warning. See 04:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:32 04:42:32 Login Succeeded 04:42:32 nexus3.edgexfoundry.org:10002 04:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:32 Configure a credential helper to remove this warning. See 04:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:32 04:42:32 Login Succeeded 04:42:32 nexus3.edgexfoundry.org:10003 04:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:32 Configure a credential helper to remove this warning. See 04:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:32 04:42:32 Login Succeeded 04:42:32 nexus3.edgexfoundry.org:10004 04:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:33 Configure a credential helper to remove this warning. See 04:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:33 04:42:33 Login Succeeded 04:42:33 docker.io 04:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:33 Configure a credential helper to remove this warning. See 04:42:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:33 04:42:33 Login Succeeded 04:42:33 ---> docker-login.sh ends [Pipeline] } 04:42:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:42:34 + git rev-list -1 --merges 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe~1..1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [Pipeline] echo 04:42:34 -----------> git rev-list -1 --merges 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe~1..1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:42:34 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [false] [Pipeline] sh 04:42:34 + git log --format=format:%s -1 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [Pipeline] echo 04:42:34 ========================================================= 04:42:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:42:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:34 + git log --format=format:%s -1 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [Pipeline] echo 04:42:34 [semverPrep] GIT_COMMIT: 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe, Commit Message: Merge pull request #376 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.22 [Pipeline] echo 04:42:34 [semverPrep] This is not a build commit. [Pipeline] sh 04:42:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:42:35 + grep -v github /etc/ssh/ssh_known_hosts 04:42:35 + [ -e /tmp/ssh_known_hosts ] 04:42:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:42:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:42:35 + sudo tee -a /etc/ssh/ssh_known_hosts 04:42:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:42:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:42:35 04:42:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:42:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:42:35 latest: Pulling from edgex-devops/py-git-semver 04:42:35 1fe172e4850f: Pulling fs layer 04:42:35 caf521ccaac6: Pulling fs layer 04:42:35 3ead6fa29328: Pulling fs layer 04:42:35 5c2a1cbceb83: Pulling fs layer 04:42:35 a8d5f1318db7: Pulling fs layer 04:42:35 c427282e49a2: Pulling fs layer 04:42:35 1827001aaf11: Pulling fs layer 04:42:35 0714d37db230: Pulling fs layer 04:42:35 ac28cf19c067: Pulling fs layer 04:42:35 ca983d60f3e2: Pulling fs layer 04:42:35 9f894cec8388: Pulling fs layer 04:42:35 5c2a1cbceb83: Waiting 04:42:35 a8d5f1318db7: Waiting 04:42:35 ac28cf19c067: Waiting 04:42:35 ca983d60f3e2: Waiting 04:42:35 c427282e49a2: Waiting 04:42:35 9f894cec8388: Waiting 04:42:35 0714d37db230: Waiting 04:42:35 1827001aaf11: Waiting 04:42:35 caf521ccaac6: Download complete 04:42:35 5c2a1cbceb83: Download complete 04:42:35 a8d5f1318db7: Verifying Checksum 04:42:35 a8d5f1318db7: Download complete 04:42:35 3ead6fa29328: Verifying Checksum 04:42:35 3ead6fa29328: Download complete 04:42:35 c427282e49a2: Verifying Checksum 04:42:35 c427282e49a2: Download complete 04:42:36 0714d37db230: Download complete 04:42:36 ac28cf19c067: Download complete 04:42:36 ca983d60f3e2: Verifying Checksum 04:42:36 ca983d60f3e2: Download complete 04:42:36 9f894cec8388: Verifying Checksum 04:42:36 9f894cec8388: Download complete 04:42:36 1fe172e4850f: Verifying Checksum 04:42:36 1fe172e4850f: Download complete 04:42:36 1827001aaf11: Verifying Checksum 04:42:36 1827001aaf11: Download complete 04:42:37 1fe172e4850f: Pull complete 04:42:37 caf521ccaac6: Pull complete 04:42:38 3ead6fa29328: Pull complete 04:42:38 5c2a1cbceb83: Pull complete 04:42:38 a8d5f1318db7: Pull complete 04:42:38 c427282e49a2: Pull complete 04:42:40 1827001aaf11: Pull complete 04:42:40 0714d37db230: Pull complete 04:42:40 ac28cf19c067: Pull complete 04:42:40 ca983d60f3e2: Pull complete 04:42:40 9f894cec8388: Pull complete 04:42:40 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 04:42:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:42:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 04:42:40 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:42:40 $ 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 04:42:41 $ docker top 3718204e42fc3b4a605aa793c62de2a47348b13e3502c21082690753d61d06a4 -eo pid,comm 04:42:42 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). 04:42:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:42 [ssh-agent] Looking for ssh-agent implementation... 04:42:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:42 $ docker exec 3718204e42fc3b4a605aa793c62de2a47348b13e3502c21082690753d61d06a4 ssh-agent 04:42:42 SSH_AUTH_SOCK=/tmp/ssh-EKDlVod9sJfj/agent.35 04:42:42 SSH_AGENT_PID=41 04:42:42 Running ssh-add (command line suppressed) 04:42:42 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4213172854122885071.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4213172854122885071.key) 04:42:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:42 + git tag --points-at HEAD [Pipeline] } 04:42:42 $ docker exec --env ******** --env ******** 3718204e42fc3b4a605aa793c62de2a47348b13e3502c21082690753d61d06a4 ssh-agent -k 04:42:42 unset SSH_AUTH_SOCK; 04:42:42 unset SSH_AGENT_PID; 04:42:42 echo Agent pid 41 killed; 04:42:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:42:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:42 [ssh-agent] Looking for ssh-agent implementation... 04:42:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:43 $ docker exec 3718204e42fc3b4a605aa793c62de2a47348b13e3502c21082690753d61d06a4 ssh-agent 04:42:43 SSH_AUTH_SOCK=/tmp/ssh-R57EPemfDgrB/agent.74 04:42:43 SSH_AGENT_PID=81 04:42:43 Running ssh-add (command line suppressed) 04:42:43 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2953033539321170892.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2953033539321170892.key) 04:42:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:43 + git semver init 04:42:43 2022-05-03 04:42:43,778 [run_init] DEBUG init version:0.0.0 force:False 04:42:43 2022-05-03 04:42:43,779 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:42:43 2022-05-03 04:42:43,779 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:42:43 2022-05-03 04:42:43,779 [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) 04:42:44 2022-05-03 04:42:44,590 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 04:42:44 2022-05-03 04:42:44,590 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 04:42:44 2022-05-03 04:42:44,590 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:42:44 2022-05-03 04:42:44,591 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:42:44 2.2.0-dev.19 [Pipeline] } 04:42:44 $ docker exec --env ******** --env ******** 3718204e42fc3b4a605aa793c62de2a47348b13e3502c21082690753d61d06a4 ssh-agent -k 04:42:44 unset SSH_AUTH_SOCK; 04:42:44 unset SSH_AGENT_PID; 04:42:44 echo Agent pid 81 killed; 04:42:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:42:45 + git semver [Pipeline] } 04:42:45 $ docker stop --time=1 3718204e42fc3b4a605aa793c62de2a47348b13e3502c21082690753d61d06a4 04:42:46 $ docker rm -f 3718204e42fc3b4a605aa793c62de2a47348b13e3502c21082690753d61d06a4 [Pipeline] // withDockerContainer [Pipeline] sh 04:42:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:42:47 Stashed 1 file(s) [Pipeline] echo 04:42:47 [edgeXSemver]: initialized semver on version 2.2.0-dev.19 [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 04:42:47 provisioning config files... 04:42:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8899084068177283335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:47 ---> docker-login.sh 04:42:47 nexus3.edgexfoundry.org:10001 04:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:47 Configure a credential helper to remove this warning. See 04:42:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:47 04:42:47 Login Succeeded 04:42:47 nexus3.edgexfoundry.org:10002 04:42:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:48 Configure a credential helper to remove this warning. See 04:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:48 04:42:48 Login Succeeded 04:42:48 nexus3.edgexfoundry.org:10003 04:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:48 Configure a credential helper to remove this warning. See 04:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:48 04:42:48 Login Succeeded 04:42:48 nexus3.edgexfoundry.org:10004 04:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:48 Configure a credential helper to remove this warning. See 04:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:48 04:42:48 Login Succeeded 04:42:48 docker.io 04:42:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:48 Configure a credential helper to remove this warning. See 04:42:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:48 04:42:48 Login Succeeded 04:42:48 ---> docker-login.sh ends [Pipeline] } 04:42:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:42:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:42:48 ========================================================= 04:42:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:42:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:42:49 + 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 . 04:42:49 Sending build context to Docker daemon 5.859MB 04:42:49 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:42:49 Step 2/12 : FROM ${BASE} AS builder 04:42:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:42:49 59bf1c3509f3: Pulling fs layer 04:42:49 666ba61612fd: Pulling fs layer 04:42:49 8ed8ca486205: Pulling fs layer 04:42:49 4fe6c5a15a65: Pulling fs layer 04:42:49 22a0e8bec74d: Pulling fs layer 04:42:49 ca2b28591e48: Pulling fs layer 04:42:49 a51346096db8: Pulling fs layer 04:42:49 daebc70d1ce1: Pulling fs layer 04:42:49 0e18a0eac166: Pulling fs layer 04:42:49 4fe6c5a15a65: Waiting 04:42:49 22a0e8bec74d: Waiting 04:42:49 daebc70d1ce1: Waiting 04:42:49 0e18a0eac166: Waiting 04:42:49 ca2b28591e48: Waiting 04:42:49 a51346096db8: Waiting 04:42:49 8ed8ca486205: Download complete 04:42:49 666ba61612fd: Download complete 04:42:49 22a0e8bec74d: Verifying Checksum 04:42:49 22a0e8bec74d: Download complete 04:42:49 ca2b28591e48: Verifying Checksum 04:42:49 ca2b28591e48: Download complete 04:42:49 59bf1c3509f3: Verifying Checksum 04:42:49 59bf1c3509f3: Download complete 04:42:49 a51346096db8: Verifying Checksum 04:42:49 a51346096db8: Download complete 04:42:49 daebc70d1ce1: Verifying Checksum 04:42:49 daebc70d1ce1: Download complete 04:42:49 59bf1c3509f3: Pull complete 04:42:49 666ba61612fd: Pull complete 04:42:49 8ed8ca486205: Pull complete 04:42:49 0e18a0eac166: Verifying Checksum 04:42:49 0e18a0eac166: Download complete 04:42:49 4fe6c5a15a65: Verifying Checksum 04:42:49 4fe6c5a15a65: Download complete 04:42:54 4fe6c5a15a65: Pull complete 04:42:54 22a0e8bec74d: Pull complete 04:42:54 ca2b28591e48: Pull complete 04:42:54 a51346096db8: Pull complete 04:42:54 daebc70d1ce1: Pull complete 04:42:56 0e18a0eac166: Pull complete 04:42:56 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:42:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:42:56 ---> f018257e8ee9 04:42:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:42:57 ---> Running in 6047c002eed5 04:42:57 Removing intermediate container 6047c002eed5 04:42:57 ---> e6391007d853 04:42:57 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:42:57 ---> Running in 4674f6c81b0b 04:42:57 Removing intermediate container 4674f6c81b0b 04:42:57 ---> 77ebb776f54e 04:42:57 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:42:57 ---> Running in 374d1c1c5d53 04:42:57 Removing intermediate container 374d1c1c5d53 04:42:57 ---> 5da57f88ad21 04:42:57 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:42:57 ---> Running in bf556905b46a 04:42:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:42:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:42:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 04:42:59 (2/4) Installing libedit (20210910.3.1-r0) 04:42:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 04:42:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 04:42:59 Executing busybox-1.34.1-r3.trigger 04:42:59 OK: 224 MiB in 56 packages 04:43:00 Removing intermediate container bf556905b46a 04:43:00 ---> f28678c94489 04:43:00 Step 7/12 : WORKDIR /device-mqtt-go 04:43:00 ---> Running in 9ad09f2b65f4 04:43:00 Removing intermediate container 9ad09f2b65f4 04:43:00 ---> 1dda5d675c13 04:43:00 Step 8/12 : COPY go.mod vendor* ./ 04:43:00 ---> 3386a8ec9b12 04:43:00 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:00 ---> Running in 75779d3802c7 04:43:02 Still waiting to schedule task 04:43:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:43:15 Removing intermediate container 75779d3802c7 04:43:15 ---> f1f08721d281 04:43:15 Step 10/12 : COPY . . 04:43:15 ---> f8bf0761fb74 04:43:15 Step 11/12 : ARG MAKE='make build' 04:43:15 ---> Running in a693cae0ce83 04:43:15 Removing intermediate container a693cae0ce83 04:43:15 ---> d6c28bb799e2 04:43:15 Step 12/12 : RUN $MAKE 04:43:15 ---> Running in 0a43a48331f1 04:43:15 noop 04:43:16 Removing intermediate container 0a43a48331f1 04:43:16 ---> dae6883f8bc8 04:43:16 Successfully built dae6883f8bc8 04:43:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:43:16 + docker inspect -f . ci-base-image-x86_64 04:43:16 . [Pipeline] withDockerContainer 04:43:16 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:43:16 $ 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 04:43:17 $ docker top 8a262b4285595f858d5b6ab0e4559827b8d3c381c97028738567f3b899b75938 -eo pid,comm [Pipeline] { [Pipeline] sh 04:43:17 + go version 04:43:17 go version go1.17.6 linux/amd64 [Pipeline] } 04:43:17 $ docker stop --time=1 8a262b4285595f858d5b6ab0e4559827b8d3c381c97028738567f3b899b75938 04:43:18 $ docker rm -f 8a262b4285595f858d5b6ab0e4559827b8d3c381c97028738567f3b899b75938 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:43:19 + docker inspect -f . ci-base-image-x86_64 04:43:19 . [Pipeline] withDockerContainer 04:43:19 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:43:19 $ 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 04:43:19 $ docker top 37d2926be7e679312edc61ca0774023ecdff084d2b81207bd109fe77c9996f5c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:43:19 + make test 04:43:19 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:43:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:43:28 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:43:28 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 04:43:28 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:43:35 GCO_ENABLED=1 GO111MODULE=on go vet ./... 04:43:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:43:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:43:39 ./bin/test-attribution-txt.sh [Pipeline] echo 04:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:43:39 $ docker stop --time=1 37d2926be7e679312edc61ca0774023ecdff084d2b81207bd109fe77c9996f5c 04:43:41 $ docker rm -f 37d2926be7e679312edc61ca0774023ecdff084d2b81207bd109fe77c9996f5c [Pipeline] // withDockerContainer [Pipeline] sh 04:43:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:43:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:43:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:43:42 + ls -al . 04:43:42 total 176 04:43:42 drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:43 . 04:43:42 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:42 .. 04:43:42 -rw-rw-r-- 1 jenkins jenkins 140 May 3 04:42 .dockerignore 04:43:42 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:42 .git 04:43:42 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:42 .github 04:43:42 -rw-rw-r-- 1 jenkins jenkins 329 May 3 04:42 .gitignore 04:43:42 -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:42 .golangci.yml 04:43:42 drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:42 .semver 04:43:42 -rw-rw-r-- 1 jenkins jenkins 8656 May 3 04:42 Attribution.txt 04:43:42 -rw-rw-r-- 1 jenkins jenkins 7447 May 3 04:42 CHANGELOG.md 04:43:42 -rw-rw-r-- 1 jenkins jenkins 1930 May 3 04:42 Dockerfile 04:43:42 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:42 GOVERNANCE.md 04:43:42 -rw-rw-r-- 1 jenkins jenkins 678 May 3 04:42 Jenkinsfile 04:43:42 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:42 LICENSE 04:43:42 -rw-rw-r-- 1 jenkins jenkins 1930 May 3 04:42 Makefile 04:43:42 -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:42 OWNERS.md 04:43:42 -rw-rw-r-- 1 jenkins jenkins 2643 May 3 04:42 README.md 04:43:42 -rw-rw-r-- 1 jenkins jenkins 12 May 3 04:42 VERSION 04:43:42 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:42 bin 04:43:42 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:42 cmd 04:43:42 -rw-r--r-- 1 jenkins jenkins 17887 May 3 04:43 coverage.out 04:43:42 -rw-rw-r-- 1 jenkins jenkins 3309 May 3 04:42 go.mod 04:43:42 -rw-rw-r-- 1 jenkins jenkins 35490 May 3 04:42 go.sum 04:43:42 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:42 internal 04:43:42 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:42 mock 04:43:42 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:42 snap 04:43:42 -rw-rw-r-- 1 jenkins jenkins 227 May 3 04:42 version.go [Pipeline] isUnix [Pipeline] sh 04:43:43 + 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=1d2f59dacf4fd36608b01d556a8e89d8457c2ffe --label arch=amd64 --label version=2.2.0-dev.19 . 04:43:43 Sending build context to Docker daemon 5.877MB 04:43:43 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 04:43:43 Step 2/24 : FROM ${BASE} AS builder 04:43:43 ---> dae6883f8bc8 04:43:43 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:43:43 ---> Running in 96bfb498aab0 04:43:43 Removing intermediate container 96bfb498aab0 04:43:43 ---> 9a6ea447e2b2 04:43:43 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 04:43:43 ---> Running in 4ad5cc554b9d 04:43:43 Removing intermediate container 4ad5cc554b9d 04:43:43 ---> 478efb724508 04:43:43 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:43:43 ---> Running in 828cec2286d4 04:43:43 Removing intermediate container 828cec2286d4 04:43:43 ---> f87ea5101a38 04:43:43 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:43:44 ---> Running in ac54ff0e8403 04:43:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:43:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:43:45 OK: 224 MiB in 56 packages 04:43:45 Removing intermediate container ac54ff0e8403 04:43:45 ---> 41300aadf90f 04:43:45 Step 7/24 : WORKDIR /device-mqtt-go 04:43:45 ---> Running in e1368a5d3772 04:43:45 Removing intermediate container e1368a5d3772 04:43:45 ---> 360ec86243ca 04:43:45 Step 8/24 : COPY go.mod vendor* ./ 04:43:46 ---> d06b49537ca0 04:43:46 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:46 ---> Running in 0338a9647414 04:43:46 Removing intermediate container 0338a9647414 04:43:46 ---> 5510ef20275c 04:43:46 Step 10/24 : COPY . . 04:43:47 ---> f3efc97015a6 04:43:47 Step 11/24 : ARG MAKE='make build' 04:43:47 ---> Running in 6c537c924cd7 04:43:47 Removing intermediate container 6c537c924cd7 04:43:47 ---> dd79ddf5d3cb 04:43:47 Step 12/24 : RUN $MAKE 04:43:47 ---> Running in c6819345f628 04:43:47 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 04:44:05 Removing intermediate container c6819345f628 04:44:05 ---> beb75617af46 04:44:05 Step 13/24 : FROM alpine:3.14 04:44:06 3.14: Pulling from library/alpine 04:44:06 8663204ce13b: Pulling fs layer 04:44:06 8663204ce13b: Download complete 04:44:06 8663204ce13b: Pull complete 04:44:06 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:44:06 Status: Downloaded newer image for alpine:3.14 04:44:06 ---> e04c818066af 04:44:06 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:44:06 ---> Running in 7f30172e637e 04:44:07 Removing intermediate container 7f30172e637e 04:44:07 ---> 18a4faea42bd 04:44:07 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 04:44:07 ---> Running in 9a7e1483ac95 04:44:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:44:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:44:07 (1/6) Installing dumb-init (1.2.5-r1) 04:44:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:44:07 (3/6) Installing libsodium (1.0.18-r0) 04:44:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:44:07 (5/6) Installing libzmq (4.3.4-r0) 04:44:07 (6/6) Installing zeromq (4.3.4-r0) 04:44:07 Executing busybox-1.33.1-r7.trigger 04:44:07 OK: 8 MiB in 20 packages 04:44:07 Removing intermediate container 9a7e1483ac95 04:44:07 ---> 06a0db1b1817 04:44:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:44:08 ---> dd27739ff5a3 04:44:08 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:44:08 ---> cc94091f5ea8 04:44:08 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:44:08 ---> 086289cd9c79 04:44:08 Step 19/24 : EXPOSE 59982 04:44:09 ---> Running in 1ff98ceb3061 04:44:09 Removing intermediate container 1ff98ceb3061 04:44:09 ---> 1974a8ff2b43 04:44:09 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:44:09 ---> Running in e31b0f03e9bc 04:44:09 Removing intermediate container e31b0f03e9bc 04:44:09 ---> 006550a6ca96 04:44:09 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:44:09 ---> Running in 97c8c78cf4fb 04:44:09 Removing intermediate container 97c8c78cf4fb 04:44:09 ---> 22903d0c6ea9 04:44:09 Step 22/24 : LABEL arch=amd64 04:44:09 ---> Running in 6137617ef9ec 04:44:09 Removing intermediate container 6137617ef9ec 04:44:09 ---> 52e3ef49e66f 04:44:09 Step 23/24 : LABEL git_sha=1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:44:09 ---> Running in 12d8eb7caec7 04:44:09 Removing intermediate container 12d8eb7caec7 04:44:09 ---> 6bb58408f928 04:44:09 Step 24/24 : LABEL version=2.2.0-dev.19 04:44:09 ---> Running in e93dd5153572 04:44:09 Removing intermediate container e93dd5153572 04:44:09 ---> 8f49fc1ae07c 04:44:09 [Warning] One or more build-args [ARCH] were not consumed 04:44:09 Successfully built 8f49fc1ae07c 04:44:09 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:44:09 provisioning config files... 04:44:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6785337899613223456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:09 ---> docker-login.sh 04:44:09 nexus3.edgexfoundry.org:10001 04:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:09 Configure a credential helper to remove this warning. See 04:44:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:09 04:44:09 Login Succeeded 04:44:09 nexus3.edgexfoundry.org:10002 04:44:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:10 Configure a credential helper to remove this warning. See 04:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:10 04:44:10 Login Succeeded 04:44:10 nexus3.edgexfoundry.org:10003 04:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:10 Configure a credential helper to remove this warning. See 04:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:10 04:44:10 Login Succeeded 04:44:10 nexus3.edgexfoundry.org:10004 04:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:10 Configure a credential helper to remove this warning. See 04:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:10 04:44:10 Login Succeeded 04:44:10 docker.io 04:44:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:44:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:44:10 Configure a credential helper to remove this warning. See 04:44:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:44:10 04:44:10 Login Succeeded 04:44:10 ---> docker-login.sh ends [Pipeline] } 04:44:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:44:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:44:10 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 04:44:10 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:44:10 latest 04:44:10 2.2.0-dev.19 04:44:10 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19 04:44:10 main 04:44:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:44:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [Pipeline] isUnix [Pipeline] sh 04:44:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:44:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:44:11 21b7b7754aaa: Preparing 04:44:11 4582373999d8: Preparing 04:44:11 5d7e4ce5786d: Preparing 04:44:11 51dcd612ef4b: Preparing 04:44:11 b541d28bf3b4: Preparing 04:44:11 b541d28bf3b4: Layer already exists 04:44:11 21b7b7754aaa: Pushed 04:44:11 4582373999d8: Pushed 04:44:11 51dcd612ef4b: Pushed 04:44:14 5d7e4ce5786d: Pushed 04:44:14 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe: digest: sha256:1a7db61e50ca96599af5652334c9798ff112c83ed1d7fee9a3d7c07710efcdfc size: 1367 [Pipeline] isUnix [Pipeline] sh 04:44:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 04:44:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:44:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:44:14 21b7b7754aaa: Preparing 04:44:14 4582373999d8: Preparing 04:44:14 5d7e4ce5786d: Preparing 04:44:14 51dcd612ef4b: Preparing 04:44:14 b541d28bf3b4: Preparing 04:44:14 21b7b7754aaa: Layer already exists 04:44:14 5d7e4ce5786d: Layer already exists 04:44:14 b541d28bf3b4: Layer already exists 04:44:14 51dcd612ef4b: Layer already exists 04:44:14 4582373999d8: Layer already exists 04:44:14 latest: digest: sha256:1a7db61e50ca96599af5652334c9798ff112c83ed1d7fee9a3d7c07710efcdfc size: 1367 [Pipeline] isUnix [Pipeline] sh 04:44:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 04:44:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.19 04:44:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:44:15 21b7b7754aaa: Preparing 04:44:15 4582373999d8: Preparing 04:44:15 5d7e4ce5786d: Preparing 04:44:15 51dcd612ef4b: Preparing 04:44:15 b541d28bf3b4: Preparing 04:44:15 5d7e4ce5786d: Layer already exists 04:44:15 21b7b7754aaa: Layer already exists 04:44:15 b541d28bf3b4: Layer already exists 04:44:15 4582373999d8: Layer already exists 04:44:15 51dcd612ef4b: Layer already exists 04:44:15 2.2.0-dev.19: digest: sha256:1a7db61e50ca96599af5652334c9798ff112c83ed1d7fee9a3d7c07710efcdfc size: 1367 [Pipeline] isUnix [Pipeline] sh 04:44:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 04:44:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19 04:44:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:44:15 21b7b7754aaa: Preparing 04:44:15 4582373999d8: Preparing 04:44:15 5d7e4ce5786d: Preparing 04:44:15 51dcd612ef4b: Preparing 04:44:15 b541d28bf3b4: Preparing 04:44:15 21b7b7754aaa: Layer already exists 04:44:15 4582373999d8: Layer already exists 04:44:15 51dcd612ef4b: Layer already exists 04:44:15 5d7e4ce5786d: Layer already exists 04:44:15 b541d28bf3b4: Layer already exists 04:44:15 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19: digest: sha256:1a7db61e50ca96599af5652334c9798ff112c83ed1d7fee9a3d7c07710efcdfc size: 1367 [Pipeline] isUnix [Pipeline] sh 04:44:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 04:44:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 04:44:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:44:16 21b7b7754aaa: Preparing 04:44:16 4582373999d8: Preparing 04:44:16 5d7e4ce5786d: Preparing 04:44:16 51dcd612ef4b: Preparing 04:44:16 b541d28bf3b4: Preparing 04:44:16 21b7b7754aaa: Layer already exists 04:44:16 5d7e4ce5786d: Layer already exists 04:44:16 b541d28bf3b4: Layer already exists 04:44:16 51dcd612ef4b: Layer already exists 04:44:16 4582373999d8: Layer already exists 04:44:16 main: digest: sha256:1a7db61e50ca96599af5652334c9798ff112c83ed1d7fee9a3d7c07710efcdfc size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:44:16 ===================================================== [Pipeline] echo 04:44:16 taggedImages: 04:44:16 - nexus3.edgexfoundry.org:10004/device-mqtt:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:44:16 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:44:16 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.19 04:44:16 - nexus3.edgexfoundry.org:10004/device-mqtt:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19 04:44:16 - 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 04:44:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:44:17 04:44:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:44:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:44:17 latest: Pulling from edgex-lftools-log-publisher 04:44:17 5eb5b503b376: Pulling fs layer 04:44:17 5c69ac0246d0: Pulling fs layer 04:44:17 ec43610c2a17: Pulling fs layer 04:44:17 3a2ae6a8a46f: Pulling fs layer 04:44:17 33b1e0a273af: Pulling fs layer 04:44:17 5d3b04190fa2: Pulling fs layer 04:44:17 2f39f015ded8: Pulling fs layer 04:44:17 3a2ae6a8a46f: Waiting 04:44:17 33b1e0a273af: Waiting 04:44:17 5d3b04190fa2: Waiting 04:44:17 2f39f015ded8: Waiting 04:44:17 5c69ac0246d0: Verifying Checksum 04:44:17 5c69ac0246d0: Download complete 04:44:17 3a2ae6a8a46f: Verifying Checksum 04:44:17 3a2ae6a8a46f: Download complete 04:44:17 33b1e0a273af: Verifying Checksum 04:44:17 33b1e0a273af: Download complete 04:44:17 ec43610c2a17: Verifying Checksum 04:44:17 ec43610c2a17: Download complete 04:44:17 5d3b04190fa2: Verifying Checksum 04:44:17 5d3b04190fa2: Download complete 04:44:17 5eb5b503b376: Verifying Checksum 04:44:17 5eb5b503b376: Download complete 04:44:18 2f39f015ded8: Download complete 04:44:18 5eb5b503b376: Pull complete 04:44:19 5c69ac0246d0: Pull complete 04:44:19 ec43610c2a17: Pull complete 04:44:19 3a2ae6a8a46f: Pull complete 04:44:19 33b1e0a273af: Pull complete 04:44:19 5d3b04190fa2: Pull complete 04:44:25 2f39f015ded8: Pull complete 04:44:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:44:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:44:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:44:25 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:44:25 $ 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 04:44:26 $ docker top 0e38c2047ade38396732e8d555af00c2ae42053f7784068a103f513c7603b8a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:44:27 ---> job-cost.sh 04:44:27 lf-activate-venv: SKIPPING 04:44:27 INFO: No Stack... 04:44:27 INFO: Retrieving Pricing Info for: v3-standard-8 04:44:28 INFO: Archiving Costs [Pipeline] sh 04:44:28 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 04:44:28 + cut -d, -f6 [Pipeline] lock 04:44:28 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-40-stack-cost] 04:44:28 Resource [jenkins-edgexfoundry-device-mqtt-go-main-40-stack-cost] did not exist. Created. 04:44:28 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:44:28 + echo total: 0.2199999988079071 [Pipeline] stash 04:44:28 Stashed 1 file(s) [Pipeline] } 04:44:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 04:44:28 $ docker stop --time=1 0e38c2047ade38396732e8d555af00c2ae42053f7784068a103f513c7603b8a6 04:44:29 $ docker rm -f 0e38c2047ade38396732e8d555af00c2ae42053f7784068a103f513c7603b8a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:44:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40356 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:44:38 Running in /w/workspace/device-mqtt-go/40 [Pipeline] { [Pipeline] checkout 04:44:38 Selected Git installation does not exist. Using Default 04:44:38 The recommended git tool is: NONE 04:44:45 using credential edgex-jenkins-ssh 04:44:45 Cloning the remote Git repository 04:44:45 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:44:45 > git init /w/workspace/device-mqtt-go/40 # timeout=10 04:44:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:44:45 > git --version # timeout=10 04:44:45 > git --version # 'git version 2.25.1' 04:44:45 using GIT_SSH to set credentials SSH Credentials for GitHub 04:44:46 Avoid second fetch 04:44:46 Checking out Revision 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe (main) 04:44:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:44:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:44:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:44:46 > git config core.sparsecheckout # timeout=10 04:44:46 > git checkout -f 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe # timeout=10 04:44:50 Commit message: "Merge pull request #376 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.22" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:44:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:44:51 % Total % Received % Xferd Average Speed Time Time Time Current 04:44:51 Dload Upload Total Spent Left Speed 04:44:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh 04:44:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:44:52 + + sudo tee /etc/docker/daemon.new 04:44:52 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:44:52 { 04:44:52 "registry-mirrors": [ 04:44:52 "https://nexus3.edgexfoundry.org:10001" 04:44:52 ], 04:44:52 "bip": "10.250.0.254/24", 04:44:52 "hosts": [ 04:44:52 "tcp://0.0.0.0:5555", 04:44:52 "unix:///var/run/docker.sock" 04:44:52 ], 04:44:52 "mtu": 1458, 04:44:52 "selinux-enabled": true, 04:44:52 "seccomp-profile": "/etc/docker/seccomp.json" 04:44:52 } [Pipeline] sh 04:44:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:44:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:11 provisioning config files... 04:45:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/40@tmp/config3870406615811948001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:12 ---> docker-login.sh 04:45:12 nexus3.edgexfoundry.org:10001 04:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:12 Configure a credential helper to remove this warning. See 04:45:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:12 04:45:12 Login Succeeded 04:45:12 nexus3.edgexfoundry.org:10002 04:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:13 Configure a credential helper to remove this warning. See 04:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:13 04:45:13 Login Succeeded 04:45:13 nexus3.edgexfoundry.org:10003 04:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:13 Configure a credential helper to remove this warning. See 04:45:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:13 04:45:13 Login Succeeded 04:45:13 nexus3.edgexfoundry.org:10004 04:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:14 Configure a credential helper to remove this warning. See 04:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:14 04:45:14 Login Succeeded 04:45:14 docker.io 04:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:14 Configure a credential helper to remove this warning. See 04:45:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:14 04:45:14 Login Succeeded 04:45:14 ---> docker-login.sh ends [Pipeline] } 04:45:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:45:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:45:15 ========================================================= 04:45:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:45:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:45:15 + 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 . 04:45:16 Sending build context to Docker daemon 3.034MB 04:45:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:45:16 Step 2/12 : FROM ${BASE} AS builder 04:45:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:45:16 9b3977197b4f: Pulling fs layer 04:45:16 1a89e8eeedd5: Pulling fs layer 04:45:16 94645a83ff95: Pulling fs layer 04:45:16 3f3a8bcf1eab: Pulling fs layer 04:45:16 0c92f367c5e7: Pulling fs layer 04:45:16 3096ccb668a1: Pulling fs layer 04:45:16 e8cf19c19ddd: Pulling fs layer 04:45:16 a4caa8a26152: Pulling fs layer 04:45:16 0c92f367c5e7: Waiting 04:45:16 3096ccb668a1: Waiting 04:45:16 e8cf19c19ddd: Waiting 04:45:16 3f3a8bcf1eab: Waiting 04:45:16 a4caa8a26152: Waiting 04:45:16 94645a83ff95: Download complete 04:45:16 1a89e8eeedd5: Verifying Checksum 04:45:16 1a89e8eeedd5: Download complete 04:45:16 0c92f367c5e7: Verifying Checksum 04:45:16 0c92f367c5e7: Download complete 04:45:16 3096ccb668a1: Verifying Checksum 04:45:16 3096ccb668a1: Download complete 04:45:16 9b3977197b4f: Verifying Checksum 04:45:16 e8cf19c19ddd: Verifying Checksum 04:45:16 e8cf19c19ddd: Download complete 04:45:17 9b3977197b4f: Pull complete 04:45:17 1a89e8eeedd5: Pull complete 04:45:18 94645a83ff95: Pull complete 04:45:18 a4caa8a26152: Verifying Checksum 04:45:18 a4caa8a26152: Download complete 04:45:19 3f3a8bcf1eab: Verifying Checksum 04:45:19 3f3a8bcf1eab: Download complete 04:45:31 3f3a8bcf1eab: Pull complete 04:45:31 0c92f367c5e7: Pull complete 04:45:31 3096ccb668a1: Pull complete 04:45:31 e8cf19c19ddd: Pull complete 04:45:38 a4caa8a26152: Pull complete 04:45:38 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:45:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:45:38 ---> 725f1c02e7f9 04:45:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:45:38 ---> Running in 90b1790072c2 04:45:38 Removing intermediate container 90b1790072c2 04:45:38 ---> 598dcb22d584 04:45:38 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 04:45:38 ---> Running in 8127fce0e3d3 04:45:38 Removing intermediate container 8127fce0e3d3 04:45:38 ---> 50b250ab472d 04:45:38 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:45:39 ---> Running in 65af2a54204f 04:45:41 Removing intermediate container 65af2a54204f 04:45:41 ---> 1c759a2b249d 04:45:41 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:45:41 ---> Running in d76ec1fa4aa8 04:45:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:45:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:45:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 04:45:43 (2/4) Installing libedit (20210910.3.1-r0) 04:45:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 04:45:44 (4/4) Installing openssh-client-default (8.8_p1-r1) 04:45:44 Executing busybox-1.34.1-r3.trigger 04:45:44 OK: 224 MiB in 56 packages 04:45:45 Removing intermediate container d76ec1fa4aa8 04:45:45 ---> 84fc1594ec1b 04:45:45 Step 7/12 : WORKDIR /device-mqtt-go 04:45:45 ---> Running in 46abc3e22b6e 04:45:45 Removing intermediate container 46abc3e22b6e 04:45:45 ---> d603606de37e 04:45:45 Step 8/12 : COPY go.mod vendor* ./ 04:45:47 ---> 2d9ff88584e5 04:45:47 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:45:47 ---> Running in 5720929ca943 04:46:34 Removing intermediate container 5720929ca943 04:46:34 ---> d7f7f976ed6c 04:46:34 Step 10/12 : COPY . . 04:46:34 ---> cea426080c05 04:46:34 Step 11/12 : ARG MAKE='make build' 04:46:34 ---> Running in ed9bbd5d0365 04:46:34 Removing intermediate container ed9bbd5d0365 04:46:34 ---> 75dae5ee04f0 04:46:34 Step 12/12 : RUN $MAKE 04:46:34 ---> Running in 49e3f1328644 04:46:34 noop 04:46:34 Removing intermediate container 49e3f1328644 04:46:34 ---> 920e65f6bf5a 04:46:34 Successfully built 920e65f6bf5a 04:46:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:46:34 + docker inspect -f . ci-base-image-arm64 04:46:34 . [Pipeline] withDockerContainer 04:46:35 prd-ubuntu20.04-docker-arm64-4c-16g-40356 does not seem to be running inside a container 04:46:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/40 -v /w/workspace/device-mqtt-go/40:/w/workspace/device-mqtt-go/40:rw,z -v /w/workspace/device-mqtt-go/40@tmp:/w/workspace/device-mqtt-go/40@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 04:46:36 $ docker top dda9c59584d8f60b694761abff04599deb7f286b023ee7e839c2246b5750db39 -eo pid,comm [Pipeline] { [Pipeline] sh 04:46:37 + go version 04:46:37 go version go1.17.6 linux/arm64 [Pipeline] } 04:46:37 $ docker stop --time=1 dda9c59584d8f60b694761abff04599deb7f286b023ee7e839c2246b5750db39 04:46:39 $ docker rm -f dda9c59584d8f60b694761abff04599deb7f286b023ee7e839c2246b5750db39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:46:39 + docker inspect -f . ci-base-image-arm64 04:46:39 . [Pipeline] withDockerContainer 04:46:40 prd-ubuntu20.04-docker-arm64-4c-16g-40356 does not seem to be running inside a container 04:46:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/40 -v /w/workspace/device-mqtt-go/40:/w/workspace/device-mqtt-go/40:rw,z -v /w/workspace/device-mqtt-go/40@tmp:/w/workspace/device-mqtt-go/40@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 04:46:41 $ docker top 1dd5ccb39a042fc1c58b57799bbf039fbd50b7192117a30d6264d4636d75aeb6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:46:42 + make test 04:46:42 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 04:46:43 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:48:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:48:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 04:48:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:48:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:48:05 GCO_ENABLED=1 GO111MODULE=on go vet ./... 04:48:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:48:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:48:27 ./bin/test-attribution-txt.sh [Pipeline] echo 04:48:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:48:29 $ docker stop --time=1 1dd5ccb39a042fc1c58b57799bbf039fbd50b7192117a30d6264d4636d75aeb6 04:48:31 $ docker rm -f 1dd5ccb39a042fc1c58b57799bbf039fbd50b7192117a30d6264d4636d75aeb6 [Pipeline] // withDockerContainer [Pipeline] sh 04:48:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:48:32 Warning: overwriting stash ‘coverage-report’ 04:48:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:48:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:48:33 + ls -al . 04:48:33 total 172 04:48:33 drwxrwxr-x 9 jenkins jenkins 4096 May 3 04:48 . 04:48:33 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:44 .. 04:48:33 -rw-rw-r-- 1 jenkins jenkins 140 May 3 04:44 .dockerignore 04:48:33 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:44 .git 04:48:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:44 .github 04:48:33 -rw-rw-r-- 1 jenkins jenkins 329 May 3 04:44 .gitignore 04:48:33 -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:44 .golangci.yml 04:48:33 -rw-rw-r-- 1 jenkins jenkins 8656 May 3 04:44 Attribution.txt 04:48:33 -rw-rw-r-- 1 jenkins jenkins 7447 May 3 04:44 CHANGELOG.md 04:48:33 -rw-rw-r-- 1 jenkins jenkins 1930 May 3 04:44 Dockerfile 04:48:33 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:44 GOVERNANCE.md 04:48:33 -rw-rw-r-- 1 jenkins jenkins 678 May 3 04:44 Jenkinsfile 04:48:33 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:44 LICENSE 04:48:33 -rw-rw-r-- 1 jenkins jenkins 1930 May 3 04:44 Makefile 04:48:33 -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:44 OWNERS.md 04:48:33 -rw-rw-r-- 1 jenkins jenkins 2643 May 3 04:44 README.md 04:48:33 -rw-rw-r-- 1 jenkins jenkins 12 May 3 04:42 VERSION 04:48:33 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:44 bin 04:48:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:44 cmd 04:48:33 -rw-r--r-- 1 jenkins jenkins 17887 May 3 04:48 coverage.out 04:48:33 -rw-rw-r-- 1 jenkins jenkins 3309 May 3 04:44 go.mod 04:48:33 -rw-rw-r-- 1 jenkins jenkins 35490 May 3 04:44 go.sum 04:48:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:44 internal 04:48:33 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:44 mock 04:48:33 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:44 snap 04:48:33 -rw-rw-r-- 1 jenkins jenkins 227 May 3 04:44 version.go [Pipeline] isUnix [Pipeline] sh 04:48:34 + 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=1d2f59dacf4fd36608b01d556a8e89d8457c2ffe --label arch=arm64 --label version=2.2.0-dev.19 . 04:48:34 Sending build context to Docker daemon 3.052MB 04:48:34 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 04:48:34 Step 2/24 : FROM ${BASE} AS builder 04:48:34 ---> 920e65f6bf5a 04:48:34 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:48:34 ---> Running in 5aaa2cbfb6fb 04:48:34 Removing intermediate container 5aaa2cbfb6fb 04:48:34 ---> b4e68a52f04f 04:48:34 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 04:48:34 ---> Running in 8dec580a132b 04:48:35 Removing intermediate container 8dec580a132b 04:48:35 ---> d62c824bc3cf 04:48:35 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:48:35 ---> Running in 468a84b9b475 04:48:37 Removing intermediate container 468a84b9b475 04:48:37 ---> 1823e42a4acc 04:48:37 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:48:37 ---> Running in 81ba99a5891f 04:48:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:48:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:48:39 OK: 224 MiB in 56 packages 04:48:40 Removing intermediate container 81ba99a5891f 04:48:40 ---> 762b9fe8c153 04:48:40 Step 7/24 : WORKDIR /device-mqtt-go 04:48:40 ---> Running in 0be49d0ef59c 04:48:40 Removing intermediate container 0be49d0ef59c 04:48:40 ---> f3edb6eff2b6 04:48:40 Step 8/24 : COPY go.mod vendor* ./ 04:48:41 ---> 0ed0f4bdce06 04:48:41 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:41 ---> Running in 43e5e6d59c6d 04:48:43 Removing intermediate container 43e5e6d59c6d 04:48:43 ---> 3ed2459cc295 04:48:43 Step 10/24 : COPY . . 04:48:44 ---> 748eeb768bf4 04:48:44 Step 11/24 : ARG MAKE='make build' 04:48:44 ---> Running in 686e3abfaece 04:48:44 Removing intermediate container 686e3abfaece 04:48:44 ---> 3170dd7cca6d 04:48:44 Step 12/24 : RUN $MAKE 04:48:44 ---> Running in b382e8104b77 04:48:45 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 04:50:52 Removing intermediate container b382e8104b77 04:50:52 ---> 1291a0afbdce 04:50:52 Step 13/24 : FROM alpine:3.14 04:50:52 3.14: Pulling from library/alpine 04:50:52 455c02918c45: Pulling fs layer 04:50:52 455c02918c45: Verifying Checksum 04:50:52 455c02918c45: Download complete 04:50:52 455c02918c45: Pull complete 04:50:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:50:52 Status: Downloaded newer image for alpine:3.14 04:50:52 ---> ac73e934f311 04:50:52 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:50:52 ---> Running in af7c35986a96 04:50:52 Removing intermediate container af7c35986a96 04:50:52 ---> ecd81d971399 04:50:52 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 04:50:52 ---> Running in daa20920155b 04:50:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:50:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:50:52 (1/6) Installing dumb-init (1.2.5-r1) 04:50:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:50:52 (3/6) Installing libsodium (1.0.18-r0) 04:50:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:50:52 (5/6) Installing libzmq (4.3.4-r0) 04:50:52 (6/6) Installing zeromq (4.3.4-r0) 04:50:52 Executing busybox-1.33.1-r7.trigger 04:50:52 OK: 8 MiB in 20 packages 04:50:52 Removing intermediate container daa20920155b 04:50:52 ---> b152649a0455 04:50:52 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:50:52 ---> 9d94c8846512 04:50:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:50:52 ---> 0b4206f39f82 04:50:52 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:50:52 ---> fa6026274bde 04:50:52 Step 19/24 : EXPOSE 59982 04:50:52 ---> Running in d1cd2d55d40a 04:50:52 Removing intermediate container d1cd2d55d40a 04:50:52 ---> d33d811d6c8c 04:50:52 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:50:52 ---> Running in 6a2ab9eb8b09 04:50:52 Removing intermediate container 6a2ab9eb8b09 04:50:52 ---> bfc0551db98d 04:50:52 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:50:52 ---> Running in 210b358cb654 04:50:52 Removing intermediate container 210b358cb654 04:50:52 ---> d2001d8b39b2 04:50:52 Step 22/24 : LABEL arch=arm64 04:50:52 ---> Running in 9f27279d433f 04:50:52 Removing intermediate container 9f27279d433f 04:50:52 ---> 0c1bfacbf75c 04:50:52 Step 23/24 : LABEL git_sha=1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:50:52 ---> Running in 5c99d3266624 04:50:52 Removing intermediate container 5c99d3266624 04:50:52 ---> 0f7111738356 04:50:52 Step 24/24 : LABEL version=2.2.0-dev.19 04:50:52 ---> Running in f068f858c25c 04:50:52 Removing intermediate container f068f858c25c 04:50:52 ---> 158d0da855d5 04:50:52 [Warning] One or more build-args [ARCH] were not consumed 04:50:52 Successfully built 158d0da855d5 04:50:52 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 04:50:52 provisioning config files... 04:50:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/40@tmp/config7722625224896207769tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:53 ---> docker-login.sh 04:50:53 nexus3.edgexfoundry.org:10001 04:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:53 Configure a credential helper to remove this warning. See 04:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:53 04:50:53 Login Succeeded 04:50:53 nexus3.edgexfoundry.org:10002 04:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:53 Configure a credential helper to remove this warning. See 04:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:53 04:50:53 Login Succeeded 04:50:53 nexus3.edgexfoundry.org:10003 04:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:54 Configure a credential helper to remove this warning. See 04:50:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:54 04:50:54 Login Succeeded 04:50:54 nexus3.edgexfoundry.org:10004 04:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:55 Configure a credential helper to remove this warning. See 04:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:55 04:50:55 Login Succeeded 04:50:55 docker.io 04:50:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:55 Configure a credential helper to remove this warning. See 04:50:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:55 04:50:55 Login Succeeded 04:50:55 ---> docker-login.sh ends [Pipeline] } 04:50:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:50:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:55 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 04:50:55 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:50:55 latest 04:50:55 2.2.0-dev.19 04:50:55 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19 04:50:55 main 04:50:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:50:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [Pipeline] isUnix [Pipeline] sh 04:50:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:50:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:50:56 32b5803b57d2: Preparing 04:50:56 6d0e318123bf: Preparing 04:50:56 660c73f54ea4: Preparing 04:50:56 c1b40ff97125: Preparing 04:50:56 f73e7dbfee58: Preparing 04:50:56 f73e7dbfee58: Layer already exists 04:50:56 6d0e318123bf: Pushed 04:50:56 32b5803b57d2: Pushed 04:50:57 c1b40ff97125: Pushed 04:51:02 660c73f54ea4: Pushed 04:51:02 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe: digest: sha256:e41879086ea844e52e8b5560c432eff82b450a20aafd5e8f0b195574c2a70a4d size: 1366 [Pipeline] isUnix [Pipeline] sh 04:51:02 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:51:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:51:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:51:03 32b5803b57d2: Preparing 04:51:03 6d0e318123bf: Preparing 04:51:03 660c73f54ea4: Preparing 04:51:03 c1b40ff97125: Preparing 04:51:03 f73e7dbfee58: Preparing 04:51:03 f73e7dbfee58: Layer already exists 04:51:03 32b5803b57d2: Layer already exists 04:51:03 660c73f54ea4: Layer already exists 04:51:03 6d0e318123bf: Layer already exists 04:51:03 c1b40ff97125: Layer already exists 04:51:03 latest: digest: sha256:e41879086ea844e52e8b5560c432eff82b450a20aafd5e8f0b195574c2a70a4d size: 1366 [Pipeline] isUnix [Pipeline] sh 04:51:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 04:51:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.19 04:51:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:51:04 32b5803b57d2: Preparing 04:51:04 6d0e318123bf: Preparing 04:51:04 660c73f54ea4: Preparing 04:51:04 c1b40ff97125: Preparing 04:51:04 f73e7dbfee58: Preparing 04:51:04 660c73f54ea4: Layer already exists 04:51:04 32b5803b57d2: Layer already exists 04:51:04 6d0e318123bf: Layer already exists 04:51:04 f73e7dbfee58: Layer already exists 04:51:04 c1b40ff97125: Layer already exists 04:51:04 2.2.0-dev.19: digest: sha256:e41879086ea844e52e8b5560c432eff82b450a20aafd5e8f0b195574c2a70a4d size: 1366 [Pipeline] isUnix [Pipeline] sh 04:51:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 04:51:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19 04:51:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:51:05 32b5803b57d2: Preparing 04:51:05 6d0e318123bf: Preparing 04:51:05 660c73f54ea4: Preparing 04:51:05 c1b40ff97125: Preparing 04:51:05 f73e7dbfee58: Preparing 04:51:05 c1b40ff97125: Layer already exists 04:51:05 660c73f54ea4: Layer already exists 04:51:05 6d0e318123bf: Layer already exists 04:51:05 32b5803b57d2: Layer already exists 04:51:05 f73e7dbfee58: Layer already exists 04:51:05 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19: digest: sha256:e41879086ea844e52e8b5560c432eff82b450a20aafd5e8f0b195574c2a70a4d size: 1366 [Pipeline] isUnix [Pipeline] sh 04:51:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 04:51:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 04:51:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:51:06 32b5803b57d2: Preparing 04:51:06 6d0e318123bf: Preparing 04:51:06 660c73f54ea4: Preparing 04:51:06 c1b40ff97125: Preparing 04:51:06 f73e7dbfee58: Preparing 04:51:06 660c73f54ea4: Layer already exists 04:51:06 f73e7dbfee58: Layer already exists 04:51:06 c1b40ff97125: Layer already exists 04:51:06 32b5803b57d2: Layer already exists 04:51:06 6d0e318123bf: Layer already exists 04:51:06 main: digest: sha256:e41879086ea844e52e8b5560c432eff82b450a20aafd5e8f0b195574c2a70a4d size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:51:06 ===================================================== [Pipeline] echo 04:51:06 taggedImages: 04:51:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe 04:51:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:51:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.19 04:51:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1d2f59dacf4fd36608b01d556a8e89d8457c2ffe-2.2.0-dev.19 04:51:06 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:51:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:51:06 04:51:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:51:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:51:07 arm64: Pulling from edgex-lftools-log-publisher 04:51:07 8998bd30e6a1: Pulling fs layer 04:51:07 04944245beec: Pulling fs layer 04:51:07 699f458cf7ca: Pulling fs layer 04:51:07 765212b225bb: Pulling fs layer 04:51:07 f23df028b6ca: Pulling fs layer 04:51:07 d65c8cfc05b1: Pulling fs layer 04:51:07 2437ff75d9bd: Pulling fs layer 04:51:07 765212b225bb: Waiting 04:51:07 f23df028b6ca: Waiting 04:51:07 d65c8cfc05b1: Waiting 04:51:07 2437ff75d9bd: Waiting 04:51:07 04944245beec: Verifying Checksum 04:51:07 04944245beec: Download complete 04:51:07 765212b225bb: Verifying Checksum 04:51:07 765212b225bb: Download complete 04:51:07 f23df028b6ca: Verifying Checksum 04:51:07 f23df028b6ca: Download complete 04:51:07 d65c8cfc05b1: Download complete 04:51:07 699f458cf7ca: Verifying Checksum 04:51:07 699f458cf7ca: Download complete 04:51:08 8998bd30e6a1: Verifying Checksum 04:51:08 8998bd30e6a1: Download complete 04:51:10 2437ff75d9bd: Verifying Checksum 04:51:10 2437ff75d9bd: Download complete 04:51:12 8998bd30e6a1: Pull complete 04:51:12 04944245beec: Pull complete 04:51:14 699f458cf7ca: Pull complete 04:51:14 765212b225bb: Pull complete 04:51:15 f23df028b6ca: Pull complete 04:51:15 d65c8cfc05b1: Pull complete 04:51:30 2437ff75d9bd: Pull complete 04:51:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:51:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:51:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:51:31 prd-ubuntu20.04-docker-arm64-4c-16g-40356 does not seem to be running inside a container 04:51:31 $ 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/40 -v /w/workspace/device-mqtt-go/40:/w/workspace/device-mqtt-go/40:rw,z -v /w/workspace/device-mqtt-go/40@tmp:/w/workspace/device-mqtt-go/40@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 04:51:33 $ docker top d3ab5ac23d5acd519a2ee8123ea3121121e2230f5b05d38fea7460091803edc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:51:34 ---> job-cost.sh 04:51:34 lf-activate-venv: SKIPPING 04:51:34 INFO: No Stack... 04:51:35 INFO: Retrieving Pricing Info for: v3-standard-4 04:51:35 INFO: Archiving Costs [Pipeline] sh 04:51:36 + cat /w/workspace/device-mqtt-go/40/archives/cost.csv+ 04:51:36 cut -d, -f6 [Pipeline] lock 04:51:36 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-40-stack-cost] 04:51:36 Resource [jenkins-edgexfoundry-device-mqtt-go-main-40-stack-cost] did not exist. Created. 04:51:36 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-40-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:51:37 /w/workspace/device-mqtt-go/40@tmp/durable-dd1047b6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:51:37 + echo total: 0.10999999940395355 [Pipeline] stash 04:51:38 Warning: overwriting stash ‘stack-cost’ 04:51:38 Stashed 1 file(s) [Pipeline] } 04:51:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-40-stack-cost] [Pipeline] // lock [Pipeline] } 04:51:38 $ docker stop --time=1 d3ab5ac23d5acd519a2ee8123ea3121121e2230f5b05d38fea7460091803edc8 04:51:39 $ docker rm -f d3ab5ac23d5acd519a2ee8123ea3121121e2230f5b05d38fea7460091803edc8 [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 04:51:40 provisioning config files... 04:51:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8249464936335692353tmp [Pipeline] { [Pipeline] sh 04:51:40 + set +x 04:51:40 + curl -s https://codecov.io/bash 04:51:40 + bash -s -- 04:51:40 04:51:40 _____ _ 04:51:40 / ____| | | 04:51:40 | | ___ __| | ___ ___ _____ __ 04:51:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:51:40 | |___| (_) | (_| | __/ (_| (_) \ V / 04:51:40 \_____\___/ \__,_|\___|\___\___/ \_/ 04:51:40 Bash-1.0.6 04:51:40 04:51:40 04:51:40 ==> git version 2.25.1 found 04:51:40 ==> 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 04:51:40 Release-Date: 2020-01-08 04:51:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:51:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:51:40 ==> Jenkins CI detected. 04:51:40 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 04:51:40 project root: . 04:51:40 --> token set from env 04:51:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:51:40 ==> Running gcov in . (disable via -X gcov) 04:51:40 ==> Python coveragepy not found 04:51:40 ==> Searching for coverage reports in: 04:51:40 + . 04:51:40 -> Found 1 reports 04:51:40 ==> Detecting git/mercurial file structure 04:51:40 ==> Reading reports 04:51:40 + ./coverage.out bytes=17887 04:51:40 ==> Appending adjustments 04:51:40 https://docs.codecov.io/docs/fixing-reports 04:51:40 + Found adjustments 04:51:40 ==> Gzipping contents 04:51:40 4.0K /tmp/codecov.dc6gBB.gz 04:51:40 ==> Uploading reports 04:51:40 url: https://codecov.io 04:51:40 query: branch=main&commit=1d2f59dacf4fd36608b01d556a8e89d8457c2ffe&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:51:40 -> Pinging Codecov 04:51:40 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=1d2f59dacf4fd36608b01d556a8e89d8457c2ffe&build=40&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F40%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:51:40 -> Uploading to 04:51:40 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/7D719EC7BBE17E464838252E33014C33/1d2f59dacf4fd36608b01d556a8e89d8457c2ffe/4b0fb13f-2daf-432a-9976-7b05cb7022a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T045140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=14b21d061e946d4693e749beb9e858f98a38f3ada7353509a328ea1ad986da18 04:51:40 % Total % Received % Xferd Average Speed Time Time Time Current 04:51:40 Dload Upload Total Spent Left Speed 04:51:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 12266 --:--:-- --:--:-- --:--:-- 12313 04:51:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [Pipeline] } 04:51:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:51:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:51:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:51:41 04:51:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:51:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:51:41 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:51:41 188c0c94c7c5: Pulling fs layer 04:51:41 0ef7d3d256c8: Pulling fs layer 04:51:41 de9db76c5a1d: Pulling fs layer 04:51:41 0eba1c9be4d2: Pulling fs layer 04:51:41 0d57e429df01: Pulling fs layer 04:51:41 4e4be7b47b0d: Pulling fs layer 04:51:41 e1f770b5df2f: Pulling fs layer 04:51:41 85a0685a4137: Pulling fs layer 04:51:41 e1f770b5df2f: Waiting 04:51:41 0d57e429df01: Waiting 04:51:41 4e4be7b47b0d: Waiting 04:51:41 0eba1c9be4d2: Waiting 04:51:41 de9db76c5a1d: Verifying Checksum 04:51:41 de9db76c5a1d: Download complete 04:51:41 0ef7d3d256c8: Verifying Checksum 04:51:41 0ef7d3d256c8: Download complete 04:51:41 0d57e429df01: Verifying Checksum 04:51:41 0d57e429df01: Download complete 04:51:41 4e4be7b47b0d: Verifying Checksum 04:51:41 4e4be7b47b0d: Download complete 04:51:41 188c0c94c7c5: Download complete 04:51:42 188c0c94c7c5: Pull complete 04:51:42 e1f770b5df2f: Verifying Checksum 04:51:42 e1f770b5df2f: Download complete 04:51:42 0ef7d3d256c8: Pull complete 04:51:42 de9db76c5a1d: Pull complete 04:51:42 0eba1c9be4d2: Verifying Checksum 04:51:42 0eba1c9be4d2: Download complete 04:51:42 85a0685a4137: Verifying Checksum 04:51:42 85a0685a4137: Download complete 04:51:46 0eba1c9be4d2: Pull complete 04:51:46 0d57e429df01: Pull complete 04:51:46 4e4be7b47b0d: Pull complete 04:51:46 e1f770b5df2f: Pull complete 04:51:49 85a0685a4137: Pull complete 04:51:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:51:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:51:49 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:51:49 $ 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 04:51:51 $ docker top 97b97429faf101b60e5ae220a40746664e32d21466b0342f71c7a9e59c5d4f59 -eo pid,comm [Pipeline] { [Pipeline] echo 04:51:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:51:52 + set -o pipefail 04:51:52 + snyk monitor '--org=edgex-jenkins' 04:51:57 04:51:57 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 04:51:57 04:51:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/4d22eef9-a66a-4f46-82df-ad020edb22c2 04:51:57 04:51:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:51:57 04:51:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:51:57 04:51:57 [Pipeline] } 04:51:57 $ docker stop --time=1 97b97429faf101b60e5ae220a40746664e32d21466b0342f71c7a9e59c5d4f59 04:51:59 $ docker rm -f 97b97429faf101b60e5ae220a40746664e32d21466b0342f71c7a9e59c5d4f59 [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 04:52:00 + git log --format=format:%s -1 1d2f59dacf4fd36608b01d556a8e89d8457c2ffe [Pipeline] sh 04:52:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:52:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:52:00 . [Pipeline] withDockerContainer 04:52:01 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:52:01 $ 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 04:52:01 $ docker top 6cded38ed29989c708ccb6b3042b20288bf727b09d2a24ec37927c096307824a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:01 [ssh-agent] Looking for ssh-agent implementation... 04:52:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:01 $ docker exec 6cded38ed29989c708ccb6b3042b20288bf727b09d2a24ec37927c096307824a ssh-agent 04:52:01 SSH_AUTH_SOCK=/tmp/ssh-8u5JWdDGyTCu/agent.32 04:52:01 SSH_AGENT_PID=38 04:52:01 Running ssh-add (command line suppressed) 04:52:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_855126255813019143.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_855126255813019143.key) 04:52:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:02 + git semver tag 04:52:02 2022-05-03 04:52:02,577 [run_tag] DEBUG tag force:False 04:52:02 2022-05-03 04:52:02,577 [check_head_tag] DEBUG check head tag 04:52:02 2022-05-03 04:52:02,579 [execute] INFO git cat-file --batch-check 04:52:02 2022-05-03 04:52:02,579 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:52:02 2022-05-03 04:52:02,584 [execute] INFO git cat-file --batch 04:52:02 2022-05-03 04:52:02,584 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 04:52:02 2022-05-03 04:52:02,604 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:02 2022-05-03 04:52:02,604 [execute] INFO git tag -a v2.2.0-dev.19 -m v2.2.0-dev.19 04:52:02 2022-05-03 04:52:02,605 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.19', '-m', 'v2.2.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 04:52:02 2022-05-03 04:52:02,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:02 2.2.0-dev.19 [Pipeline] } 04:52:02 $ docker exec --env ******** --env ******** 6cded38ed29989c708ccb6b3042b20288bf727b09d2a24ec37927c096307824a ssh-agent -k 04:52:02 unset SSH_AUTH_SOCK; 04:52:02 unset SSH_AGENT_PID; 04:52:02 echo Agent pid 38 killed; 04:52:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:03 + git semver [Pipeline] } 04:52:03 $ docker stop --time=1 6cded38ed29989c708ccb6b3042b20288bf727b09d2a24ec37927c096307824a 04:52:04 $ docker rm -f 6cded38ed29989c708ccb6b3042b20288bf727b09d2a24ec37927c096307824a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:52:05 04:52:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:52:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:52:05 0.23.1-centos7: Pulling from edgex-lftools 04:52:05 ab5ef0e58194: Pulling fs layer 04:52:05 9712f1f96733: Pulling fs layer 04:52:05 63f879dbbcfc: Pulling fs layer 04:52:05 0d9ebad4ef96: Pulling fs layer 04:52:05 e9a5061849ea: Pulling fs layer 04:52:05 d747dcd14b5f: Pulling fs layer 04:52:05 2de7ff778b66: Pulling fs layer 04:52:05 0d9ebad4ef96: Waiting 04:52:05 d747dcd14b5f: Waiting 04:52:05 2de7ff778b66: Waiting 04:52:05 9712f1f96733: Verifying Checksum 04:52:05 9712f1f96733: Download complete 04:52:05 63f879dbbcfc: Verifying Checksum 04:52:05 63f879dbbcfc: Download complete 04:52:05 e9a5061849ea: Verifying Checksum 04:52:05 e9a5061849ea: Download complete 04:52:05 d747dcd14b5f: Verifying Checksum 04:52:05 d747dcd14b5f: Download complete 04:52:05 ab5ef0e58194: Verifying Checksum 04:52:05 ab5ef0e58194: Download complete 04:52:05 0d9ebad4ef96: Verifying Checksum 04:52:05 0d9ebad4ef96: Download complete 04:52:05 2de7ff778b66: Verifying Checksum 04:52:05 2de7ff778b66: Download complete 04:52:08 ab5ef0e58194: Pull complete 04:52:08 9712f1f96733: Pull complete 04:52:09 63f879dbbcfc: Pull complete 04:52:13 0d9ebad4ef96: Pull complete 04:52:13 e9a5061849ea: Pull complete 04:52:13 d747dcd14b5f: Pull complete 04:52:14 2de7ff778b66: Pull complete 04:52:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:52:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:52:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:52:14 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:52:14 $ 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 04:52:16 $ docker top b77f804210d0c0ffbe00d198cf8fa31875c3b8bdc86e47041fcd514cb42a2db7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:52:16 provisioning config files... 04:52:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8196493939320434763tmp 04:52:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7862153832234274392tmp 04:52:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2855076523488613034tmp [Pipeline] { [Pipeline] echo 04:52:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:52:17 ---> sigul-configuration.sh 04:52:17 gpg: directory `/root/.gnupg' created 04:52:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:52:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:52:17 gpg: keyring `/root/.gnupg/secring.gpg' created 04:52:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:52:17 gpg: CAST5 encrypted data 04:52:17 gpg: encrypted with 1 passphrase 04:52:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:52:17 + mkdir /home/jenkins 04:52:17 + mkdir /home/jenkins/sigul [Pipeline] sh 04:52:17 + 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 04:52:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:52:18 ---> sigul-install.sh 04:52:18 Sigul already installed; skipping installation. [Pipeline] sh 04:52:18 + git tag --list 04:52:18 0.7.1 04:52:18 v1.0.0 04:52:18 v1.1.0 04:52:18 v1.1.1 04:52:18 v1.2.2 04:52:18 v1.3.0 04:52:18 v1.3.1 04:52:18 v2.0.0 04:52:18 v2.0.1-dev.1 04:52:18 v2.0.1-dev.10 04:52:18 v2.0.1-dev.11 04:52:18 v2.0.1-dev.12 04:52:18 v2.0.1-dev.13 04:52:18 v2.0.1-dev.14 04:52:18 v2.0.1-dev.15 04:52:18 v2.0.1-dev.16 04:52:18 v2.0.1-dev.17 04:52:18 v2.0.1-dev.2 04:52:18 v2.0.1-dev.3 04:52:18 v2.0.1-dev.4 04:52:18 v2.0.1-dev.5 04:52:18 v2.0.1-dev.6 04:52:18 v2.0.1-dev.7 04:52:18 v2.0.1-dev.8 04:52:18 v2.0.1-dev.9 04:52:18 v2.1.0 04:52:18 v2.2.0-dev.1 04:52:18 v2.2.0-dev.10 04:52:18 v2.2.0-dev.11 04:52:18 v2.2.0-dev.12 04:52:18 v2.2.0-dev.13 04:52:18 v2.2.0-dev.14 04:52:18 v2.2.0-dev.15 04:52:18 v2.2.0-dev.16 04:52:18 v2.2.0-dev.17 04:52:18 v2.2.0-dev.18 04:52:18 v2.2.0-dev.19 04:52:18 v2.2.0-dev.2 04:52:18 v2.2.0-dev.3 04:52:18 v2.2.0-dev.4 04:52:18 v2.2.0-dev.5 04:52:18 v2.2.0-dev.6 04:52:18 v2.2.0-dev.7 04:52:18 v2.2.0-dev.8 04:52:18 v2.2.0-dev.9 [Pipeline] sh 04:52:18 + lftools sign git-tag v2.2.0-dev.19 04:52:19 Signing Git tag with Sigul... 04:52:19 Signing v2.2.0-dev.19 [Pipeline] echo 04:52:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:52:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:52:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:52:19 $ docker stop --time=1 b77f804210d0c0ffbe00d198cf8fa31875c3b8bdc86e47041fcd514cb42a2db7 04:52:21 $ docker rm -f b77f804210d0c0ffbe00d198cf8fa31875c3b8bdc86e47041fcd514cb42a2db7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:52:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:52:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:52:21 . [Pipeline] withDockerContainer 04:52:21 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:52:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:52:22 $ docker top 55d8f33f1c5bcd1971f92583ec4a1cfadbbde5c5fb87265659f8d88c93cf8ee5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:22 [ssh-agent] Looking for ssh-agent implementation... 04:52:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:22 $ docker exec 55d8f33f1c5bcd1971f92583ec4a1cfadbbde5c5fb87265659f8d88c93cf8ee5 ssh-agent 04:52:22 SSH_AUTH_SOCK=/tmp/ssh-YvsEaGclVDTM/agent.33 04:52:22 SSH_AGENT_PID=40 04:52:22 Running ssh-add (command line suppressed) 04:52:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8439099733832576250.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8439099733832576250.key) 04:52:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:23 + git semver bump pre 04:52:23 2022-05-03 04:52:23,389 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:23 2022-05-03 04:52:23,389 [bump_version] DEBUG bumping version:2.2.0-dev.19 on axis:pre with prefix:dev 04:52:23 2022-05-03 04:52:23,389 [bump_version] DEBUG bumped version:2.2.0-dev.20 04:52:23 2022-05-03 04:52:23,389 [write_version] DEBUG write version:2.2.0-dev.20 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 04:52:23 2022-05-03 04:52:23,389 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:23 2022-05-03 04:52:23,389 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:23 2022-05-03 04:52:23,391 [execute] INFO git cat-file --batch-check 04:52:23 2022-05-03 04:52:23,391 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:52:23 2022-05-03 04:52:23,395 [execute] INFO git cat-file --batch 04:52:23 2022-05-03 04:52:23,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:52:23 2022-05-03 04:52:23,401 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:23 2.2.0-dev.20 [Pipeline] } 04:52:23 $ docker exec --env ******** --env ******** 55d8f33f1c5bcd1971f92583ec4a1cfadbbde5c5fb87265659f8d88c93cf8ee5 ssh-agent -k 04:52:23 unset SSH_AUTH_SOCK; 04:52:23 unset SSH_AGENT_PID; 04:52:23 echo Agent pid 40 killed; 04:52:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:23 + git semver [Pipeline] } 04:52:24 $ docker stop --time=1 55d8f33f1c5bcd1971f92583ec4a1cfadbbde5c5fb87265659f8d88c93cf8ee5 04:52:25 $ docker rm -f 55d8f33f1c5bcd1971f92583ec4a1cfadbbde5c5fb87265659f8d88c93cf8ee5 [Pipeline] // withDockerContainer [Pipeline] sh 04:52:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:52:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:52:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:52:26 . [Pipeline] withDockerContainer 04:52:26 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:52:26 $ 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 04:52:26 $ docker top 43d365ae99d772b6841e018910a0c3420fbdf51c00a630648967ce3bc415b927 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:52:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:52:26 [ssh-agent] Looking for ssh-agent implementation... 04:52:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:52:26 $ docker exec 43d365ae99d772b6841e018910a0c3420fbdf51c00a630648967ce3bc415b927 ssh-agent 04:52:26 SSH_AUTH_SOCK=/tmp/ssh-fo7cJik8CZcv/agent.33 04:52:26 SSH_AGENT_PID=39 04:52:27 Running ssh-add (command line suppressed) 04:52:27 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7402891876451047869.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7402891876451047869.key) 04:52:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:52:27 + git semver push 04:52:27 2022-05-03 04:52:27,579 [run_push] DEBUG push 04:52:27 2022-05-03 04:52:27,579 [execute] INFO git push origin semver 04:52:27 2022-05-03 04:52:27,579 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:52:28 2022-05-03 04:52:28,351 [run_push] DEBUG push all version tags 04:52:28 2022-05-03 04:52:28,351 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:52:28 2022-05-03 04:52:28,352 [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) 04:52:29 2022-05-03 04:52:29,062 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 04:52:29 2.2.0-dev.20 [Pipeline] } 04:52:29 $ docker exec --env ******** --env ******** 43d365ae99d772b6841e018910a0c3420fbdf51c00a630648967ce3bc415b927 ssh-agent -k 04:52:29 unset SSH_AUTH_SOCK; 04:52:29 unset SSH_AGENT_PID; 04:52:29 echo Agent pid 39 killed; 04:52:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:52:29 + git semver [Pipeline] } 04:52:29 $ docker stop --time=1 43d365ae99d772b6841e018910a0c3420fbdf51c00a630648967ce3bc415b927 04:52:31 $ docker rm -f 43d365ae99d772b6841e018910a0c3420fbdf51c00a630648967ce3bc415b927 [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 04:52:31 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 04:52:31 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:52:31 total 16 04:52:31 drwxr-xr-x 3 root root 4096 May 3 04:44 . 04:52:31 drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:52 .. 04:52:31 drwxr-xr-x 2 root root 4096 May 3 04:44 cost 04:52:31 -rw-r--r-- 1 root root 84 May 3 04:44 cost.csv 04:52:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:52:31 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 04:52:31 total 16 04:52:31 drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:44 . 04:52:31 drwxrwxr-x 11 jenkins jenkins 4096 May 3 04:52 .. 04:52:31 drwxr-xr-x 2 jenkins jenkins 4096 May 3 04:44 cost 04:52:31 -rw-r--r-- 1 jenkins jenkins 84 May 3 04:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:52:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:52:33 ---> package-listing.sh 04:52:33 ++ facter osfamily 04:52:33 ++ tr '[:upper:]' '[:lower:]' 04:52:33 + OS_FAMILY=debian 04:52:33 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 04:52:33 + START_PACKAGES=/tmp/packages_start.txt 04:52:33 + END_PACKAGES=/tmp/packages_end.txt 04:52:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:52:33 + PACKAGES=/tmp/packages_start.txt 04:52:33 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:52:33 + PACKAGES=/tmp/packages_end.txt 04:52:33 + case "${OS_FAMILY}" in 04:52:33 + dpkg -l 04:52:33 + grep '^ii' 04:52:33 + '[' -f /tmp/packages_start.txt ']' 04:52:33 + '[' -f /tmp/packages_end.txt ']' 04:52:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:52:33 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:52:33 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 04:52:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 04:52:33 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 04:52:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:52:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:52:33 . [Pipeline] withDockerContainer 04:52:33 prd-ubuntu20.04-docker-8c-8g-40355 does not seem to be running inside a container 04:52:34 $ 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 04:52:34 $ docker top 5fa8a10e92543e320887db321b59882a72444315ebd00cc6a6a3e24c2cae67ac -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:34 + touch /tmp/pre-build-complete [Pipeline] sh 04:52:34 + mkdir -p /var/log/sysstat [Pipeline] sh 04:52:35 + ls /var/log/sa-host 04:52:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:35 provisioning config files... 04:52:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2245753718532034492tmp [Pipeline] { [Pipeline] echo 04:52:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:52:35 ---> create-netrc.sh [Pipeline] } 04:52:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:52:35 ---> python-tools-install.sh [Pipeline] echo 04:52:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:52:36 ---> sudo-logs.sh 04:52:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:52:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:52:36 ---> job-cost.sh 04:52:36 lf-activate-venv: SKIPPING 04:52:36 DEBUG: total: 0.2199999988079071 04:52:36 INFO: Retrieving Stack Cost... 04:52:36 INFO: Retrieving Pricing Info for: v3-standard-8 04:52:37 INFO: Archiving Costs [Pipeline] echo 04:52:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:52:37 ---> logs-deploy.sh 04:52:37 lf-activate-venv: SKIPPING 04:52:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/40 04:52:37 INFO: archiving workspace using pattern(s): 04:52:38 Archives upload complete. 04:52:38 INFO: archiving logs to Nexus