Started by upstream project "edgexfoundry/cd-management/release" build number 106 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 77901818c76bea5a69108393cfa761498ae657a9 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-ssh17839218288876634677.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh15000480815577455314.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh15745670191174957457.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh13571547652586373235.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-ssh544097783784128241.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-64397 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 77901818c76bea5a69108393cfa761498ae657a9 (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 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 Commit message: "Merge pull request #381 from jinlinGuan/released-go-mods" > git rev-list --no-walk 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:18:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:18:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:18:21 ========================================================= 17:18:21 EdgeX Global Pipelines Version Info 17:18:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:18:22 ------------------- 17:18:22 stable info: 17:18:22 ------------------- 17:18:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:18:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 17:18:22 Message: update stable to v1.0.230 17:18:22 ------------------- 17:18:22 experimental info: 17:18:22 ------------------- 17:18:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:18:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 17:18:22 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:18:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:18:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:18:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:18:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:18:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:18:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:18:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7790181 [Pipeline] echo 17:18:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:23 provisioning config files... 17:18:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5446889595071715715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:23 ---> docker-login.sh 17:18:23 nexus3.edgexfoundry.org:10001 17:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:24 Configure a credential helper to remove this warning. See 17:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:24 17:18:24 Login Succeeded 17:18:24 nexus3.edgexfoundry.org:10002 17:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:24 Configure a credential helper to remove this warning. See 17:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:24 17:18:24 Login Succeeded 17:18:24 nexus3.edgexfoundry.org:10003 17:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:24 Configure a credential helper to remove this warning. See 17:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:24 17:18:24 Login Succeeded 17:18:24 nexus3.edgexfoundry.org:10004 17:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:24 Configure a credential helper to remove this warning. See 17:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:24 17:18:24 Login Succeeded 17:18:24 docker.io 17:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:24 Configure a credential helper to remove this warning. See 17:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:24 17:18:24 Login Succeeded 17:18:24 ---> docker-login.sh ends [Pipeline] } 17:18:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:18:25 + git rev-list -1 --merges 77901818c76bea5a69108393cfa761498ae657a9~1..77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo 17:18:25 -----------> git rev-list -1 --merges 77901818c76bea5a69108393cfa761498ae657a9~1..77901818c76bea5a69108393cfa761498ae657a9 77901818c76bea5a69108393cfa761498ae657a9 17:18:25 77901818c76bea5a69108393cfa761498ae657a9 [false] [Pipeline] sh 17:18:25 + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo 17:18:25 ========================================================= 17:18:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 17:18:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:18:26 + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] echo 17:18:26 [semverPrep] GIT_COMMIT: 77901818c76bea5a69108393cfa761498ae657a9, Commit Message: Merge pull request #381 from jinlinGuan/released-go-mods [Pipeline] echo 17:18:26 [semverPrep] This is not a build commit. [Pipeline] sh 17:18:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:18:26 + grep -v github /etc/ssh/ssh_known_hosts 17:18:26 + [ -e /tmp/ssh_known_hosts ] 17:18:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:18:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:18:26 + sudo tee -a /etc/ssh/ssh_known_hosts 17:18:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:18:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:18:26 17:18:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:18:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:18:27 latest: Pulling from edgex-devops/py-git-semver 17:18:27 1fe172e4850f: Pulling fs layer 17:18:27 caf521ccaac6: Pulling fs layer 17:18:27 3ead6fa29328: Pulling fs layer 17:18:27 5c2a1cbceb83: Pulling fs layer 17:18:27 a8d5f1318db7: Pulling fs layer 17:18:27 c427282e49a2: Pulling fs layer 17:18:27 1827001aaf11: Pulling fs layer 17:18:27 0714d37db230: Pulling fs layer 17:18:27 ac28cf19c067: Pulling fs layer 17:18:27 ca983d60f3e2: Pulling fs layer 17:18:27 9f894cec8388: Pulling fs layer 17:18:27 5c2a1cbceb83: Waiting 17:18:27 ac28cf19c067: Waiting 17:18:27 c427282e49a2: Waiting 17:18:27 1827001aaf11: Waiting 17:18:27 ca983d60f3e2: Waiting 17:18:27 0714d37db230: Waiting 17:18:27 9f894cec8388: Waiting 17:18:27 a8d5f1318db7: Waiting 17:18:27 caf521ccaac6: Verifying Checksum 17:18:27 caf521ccaac6: Download complete 17:18:27 5c2a1cbceb83: Verifying Checksum 17:18:27 5c2a1cbceb83: Download complete 17:18:27 a8d5f1318db7: Verifying Checksum 17:18:27 a8d5f1318db7: Download complete 17:18:27 c427282e49a2: Verifying Checksum 17:18:27 c427282e49a2: Download complete 17:18:27 3ead6fa29328: Verifying Checksum 17:18:27 3ead6fa29328: Download complete 17:18:27 0714d37db230: Verifying Checksum 17:18:27 0714d37db230: Download complete 17:18:27 ac28cf19c067: Download complete 17:18:27 ca983d60f3e2: Download complete 17:18:27 9f894cec8388: Download complete 17:18:27 1fe172e4850f: Verifying Checksum 17:18:27 1fe172e4850f: Download complete 17:18:27 1827001aaf11: Verifying Checksum 17:18:27 1827001aaf11: Download complete 17:18:28 1fe172e4850f: Pull complete 17:18:29 caf521ccaac6: Pull complete 17:18:29 3ead6fa29328: Pull complete 17:18:29 5c2a1cbceb83: Pull complete 17:18:30 a8d5f1318db7: Pull complete 17:18:30 c427282e49a2: Pull complete 17:18:32 1827001aaf11: Pull complete 17:18:32 0714d37db230: Pull complete 17:18:32 ac28cf19c067: Pull complete 17:18:32 ca983d60f3e2: Pull complete 17:18:32 9f894cec8388: Pull complete 17:18:32 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:18:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:18:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:18:32 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:18:32 $ 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 17:18:34 $ docker top 06b57dfdb05205897e919f1e81fff90b4a8d8a891f8bbb8c4f7a110110ab5c9f -eo pid,comm 17:18:35 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). 17:18:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:18:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:35 [ssh-agent] Looking for ssh-agent implementation... 17:18:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:35 $ docker exec 06b57dfdb05205897e919f1e81fff90b4a8d8a891f8bbb8c4f7a110110ab5c9f ssh-agent 17:18:35 SSH_AUTH_SOCK=/tmp/ssh-BuPExvm5SC7A/agent.34 17:18:35 SSH_AGENT_PID=40 17:18:35 Running ssh-add (command line suppressed) 17:18:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1850375751100336938.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1850375751100336938.key) 17:18:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:35 + git tag --points-at 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] } 17:18:35 $ docker exec --env ******** --env ******** 06b57dfdb05205897e919f1e81fff90b4a8d8a891f8bbb8c4f7a110110ab5c9f ssh-agent -k 17:18:35 unset SSH_AUTH_SOCK; 17:18:35 unset SSH_AGENT_PID; 17:18:35 echo Agent pid 40 killed; 17:18:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 17:18:35 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.23' [Pipeline] sshagent 17:18:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:18:35 [ssh-agent] Looking for ssh-agent implementation... 17:18:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:18:36 $ docker exec 06b57dfdb05205897e919f1e81fff90b4a8d8a891f8bbb8c4f7a110110ab5c9f ssh-agent 17:18:36 SSH_AUTH_SOCK=/tmp/ssh-haqvAhfAPewb/agent.74 17:18:36 SSH_AGENT_PID=81 17:18:36 Running ssh-add (command line suppressed) 17:18:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2766777175789753352.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2766777175789753352.key) 17:18:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:18:36 + git semver init 17:18:36 2022-05-23 17:18:36,925 [run_init] DEBUG init version:0.0.0 force:False 17:18:36 2022-05-23 17:18:36,925 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:18:36 2022-05-23 17:18:36,926 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 17:18:36 2022-05-23 17:18:36,926 [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) 17:18:37 2022-05-23 17:18:37,650 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 17:18:37 2022-05-23 17:18:37,651 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 17:18:37 2022-05-23 17:18:37,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:18:37 2022-05-23 17:18:37,651 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 17:18:37 2.2.0 [Pipeline] } 17:18:37 $ docker exec --env ******** --env ******** 06b57dfdb05205897e919f1e81fff90b4a8d8a891f8bbb8c4f7a110110ab5c9f ssh-agent -k 17:18:38 unset SSH_AUTH_SOCK; 17:18:38 unset SSH_AGENT_PID; 17:18:38 echo Agent pid 81 killed; 17:18:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:18:38 + git semver [Pipeline] } 17:18:38 $ docker stop --time=1 06b57dfdb05205897e919f1e81fff90b4a8d8a891f8bbb8c4f7a110110ab5c9f 17:18:40 $ docker rm -f 06b57dfdb05205897e919f1e81fff90b4a8d8a891f8bbb8c4f7a110110ab5c9f [Pipeline] // withDockerContainer [Pipeline] sh 17:18:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:18:40 Stashed 1 file(s) [Pipeline] echo 17:18:40 [edgeXSemver]: initialized semver on version 2.2.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:18:41 + git checkout 77901818c76bea5a69108393cfa761498ae657a9 17:18:41 HEAD is now at 7790181 Merge pull request #381 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:18:41 provisioning config files... 17:18:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4545964423910774674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:41 ---> docker-login.sh 17:18:41 nexus3.edgexfoundry.org:10001 17:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:41 Configure a credential helper to remove this warning. See 17:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:41 17:18:41 Login Succeeded 17:18:41 nexus3.edgexfoundry.org:10002 17:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:41 Configure a credential helper to remove this warning. See 17:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:41 17:18:41 Login Succeeded 17:18:41 nexus3.edgexfoundry.org:10003 17:18:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:41 Configure a credential helper to remove this warning. See 17:18:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:41 17:18:41 Login Succeeded 17:18:41 nexus3.edgexfoundry.org:10004 17:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:42 Configure a credential helper to remove this warning. See 17:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:42 17:18:42 Login Succeeded 17:18:42 docker.io 17:18:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:18:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:18:42 Configure a credential helper to remove this warning. See 17:18:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:18:42 17:18:42 Login Succeeded 17:18:42 ---> docker-login.sh ends [Pipeline] } 17:18:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:18:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:18:42 ========================================================= 17:18:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:18:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:18:42 + 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 . 17:18:42 Sending build context to Docker daemon 5.954MB 17:18:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:18:42 Step 2/12 : FROM ${BASE} AS builder 17:18:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:18:42 59bf1c3509f3: Pulling fs layer 17:18:42 666ba61612fd: Pulling fs layer 17:18:42 8ed8ca486205: Pulling fs layer 17:18:42 4fe6c5a15a65: Pulling fs layer 17:18:42 22a0e8bec74d: Pulling fs layer 17:18:42 ca2b28591e48: Pulling fs layer 17:18:42 a51346096db8: Pulling fs layer 17:18:42 daebc70d1ce1: Pulling fs layer 17:18:42 4fe6c5a15a65: Waiting 17:18:42 22a0e8bec74d: Waiting 17:18:42 a51346096db8: Waiting 17:18:42 0e18a0eac166: Pulling fs layer 17:18:42 0e18a0eac166: Waiting 17:18:42 8ed8ca486205: Verifying Checksum 17:18:42 8ed8ca486205: Download complete 17:18:42 666ba61612fd: Download complete 17:18:42 22a0e8bec74d: Verifying Checksum 17:18:42 22a0e8bec74d: Download complete 17:18:43 ca2b28591e48: Verifying Checksum 17:18:43 ca2b28591e48: Download complete 17:18:43 a51346096db8: Verifying Checksum 17:18:43 a51346096db8: Download complete 17:18:43 59bf1c3509f3: Download complete 17:18:43 daebc70d1ce1: Verifying Checksum 17:18:43 daebc70d1ce1: Download complete 17:18:43 59bf1c3509f3: Pull complete 17:18:43 666ba61612fd: Pull complete 17:18:43 8ed8ca486205: Pull complete 17:18:43 0e18a0eac166: Verifying Checksum 17:18:43 0e18a0eac166: Download complete 17:18:43 4fe6c5a15a65: Verifying Checksum 17:18:43 4fe6c5a15a65: Download complete 17:18:48 4fe6c5a15a65: Pull complete 17:18:48 22a0e8bec74d: Pull complete 17:18:48 ca2b28591e48: Pull complete 17:18:48 a51346096db8: Pull complete 17:18:48 daebc70d1ce1: Pull complete 17:18:50 0e18a0eac166: Pull complete 17:18:50 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:18:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:18:50 ---> f018257e8ee9 17:18:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:18:51 ---> Running in 04cab099f262 17:18:51 Removing intermediate container 04cab099f262 17:18:51 ---> 6eef8bb38beb 17:18:51 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:18:51 ---> Running in 7758ccc1fcac 17:18:51 Removing intermediate container 7758ccc1fcac 17:18:51 ---> 5d297f821a11 17:18:51 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:18:51 ---> Running in 210a9e9d5fc6 17:18:52 Removing intermediate container 210a9e9d5fc6 17:18:52 ---> 4e51ddad7084 17:18:52 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:18:52 ---> Running in 0a85502e5362 17:18:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:18:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:18:53 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:18:53 (2/4) Installing libedit (20210910.3.1-r0) 17:18:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:18:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:18:54 Executing busybox-1.34.1-r3.trigger 17:18:54 OK: 224 MiB in 56 packages 17:18:54 Removing intermediate container 0a85502e5362 17:18:54 ---> d5510d61b359 17:18:54 Step 7/12 : WORKDIR /device-mqtt-go 17:18:54 ---> Running in 2480fb5b073f 17:18:55 Removing intermediate container 2480fb5b073f 17:18:55 ---> 30b5a45ec462 17:18:55 Step 8/12 : COPY go.mod vendor* ./ 17:18:55 ---> 13ca85ea858f 17:18:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:18:55 ---> Running in 8f00486c9583 17:18:56 Still waiting to schedule task 17:18:56 ‘prd-centos7-blackbox-4c-2g-64251’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:18:56 ‘prd-ubuntu20.04-docker-arm64-4c-16g-64398’ is offline 17:19:09 Removing intermediate container 8f00486c9583 17:19:09 ---> 5a7b552aed91 17:19:09 Step 10/12 : COPY . . 17:19:10 ---> a88e3bf5bf7a 17:19:10 Step 11/12 : ARG MAKE='make build' 17:19:10 ---> Running in dd273adf12ea 17:19:10 Removing intermediate container dd273adf12ea 17:19:10 ---> 41f730dc3f7e 17:19:10 Step 12/12 : RUN $MAKE 17:19:10 ---> Running in 5f11409bb0f0 17:19:10 noop 17:19:10 Removing intermediate container 5f11409bb0f0 17:19:10 ---> dd58428f4869 17:19:10 Successfully built dd58428f4869 17:19:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:19:11 + docker inspect -f . ci-base-image-x86_64 17:19:11 . [Pipeline] withDockerContainer 17:19:11 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:19:11 $ 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 ******** -e ******** ci-base-image-x86_64 cat 17:19:11 $ docker top b01f318b768856b4f627be4d91efd5f4040b43c3a63c326a5885cc02c1680859 -eo pid,comm [Pipeline] { [Pipeline] sh 17:19:12 + go version 17:19:12 go version go1.17.6 linux/amd64 [Pipeline] } 17:19:12 $ docker stop --time=1 b01f318b768856b4f627be4d91efd5f4040b43c3a63c326a5885cc02c1680859 17:19:13 $ docker rm -f b01f318b768856b4f627be4d91efd5f4040b43c3a63c326a5885cc02c1680859 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:19:13 + docker inspect -f . ci-base-image-x86_64 17:19:13 . [Pipeline] withDockerContainer 17:19:13 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:19: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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:19:14 $ docker top 98f441d5d9f60c64acd948ecb62f18b17c62d15a32ce57a965d03dfeafd81005 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:19:14 + make test 17:19:14 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:19:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:19:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:19:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements 17:19:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:19:33 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:19:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:19:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:19:37 ./bin/test-attribution-txt.sh [Pipeline] echo 17:19:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:19:37 $ docker stop --time=1 98f441d5d9f60c64acd948ecb62f18b17c62d15a32ce57a965d03dfeafd81005 17:19:39 $ docker rm -f 98f441d5d9f60c64acd948ecb62f18b17c62d15a32ce57a965d03dfeafd81005 [Pipeline] // withDockerContainer [Pipeline] sh 17:19:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:19:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:19:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:19:40 + ls -al . 17:19:40 total 180 17:19:40 drwxrwxr-x 10 jenkins jenkins 4096 May 23 17:19 . 17:19:40 drwxrwxr-x 4 jenkins jenkins 4096 May 23 17:18 .. 17:19:40 -rw-rw-r-- 1 jenkins jenkins 140 May 23 17:18 .dockerignore 17:19:40 drwxrwxr-x 8 jenkins jenkins 4096 May 23 17:18 .git 17:19:40 drwxrwxr-x 3 jenkins jenkins 4096 May 23 17:18 .github 17:19:40 -rw-rw-r-- 1 jenkins jenkins 329 May 23 17:18 .gitignore 17:19:40 -rw-rw-r-- 1 jenkins jenkins 41 May 23 17:18 .golangci.yml 17:19:40 drwxr-xr-x 3 jenkins jenkins 4096 May 23 17:18 .semver 17:19:40 -rw-rw-r-- 1 jenkins jenkins 8656 May 23 17:18 Attribution.txt 17:19:40 -rw-rw-r-- 1 jenkins jenkins 11365 May 23 17:18 CHANGELOG.md 17:19:40 -rw-rw-r-- 1 jenkins jenkins 1930 May 23 17:18 Dockerfile 17:19:40 -rw-rw-r-- 1 jenkins jenkins 677 May 23 17:18 GOVERNANCE.md 17:19:40 -rw-rw-r-- 1 jenkins jenkins 678 May 23 17:18 Jenkinsfile 17:19:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 17:18 LICENSE 17:19:40 -rw-rw-r-- 1 jenkins jenkins 1930 May 23 17:18 Makefile 17:19:40 -rw-rw-r-- 1 jenkins jenkins 620 May 23 17:18 OWNERS.md 17:19:40 -rw-rw-r-- 1 jenkins jenkins 2501 May 23 17:18 README.md 17:19:40 -rw-rw-r-- 1 jenkins jenkins 5 May 23 17:18 VERSION 17:19:40 drwxrwxr-x 2 jenkins jenkins 4096 May 23 17:18 bin 17:19:40 drwxrwxr-x 3 jenkins jenkins 4096 May 23 17:18 cmd 17:19:40 -rw-r--r-- 1 jenkins jenkins 17887 May 23 17:19 coverage.out 17:19:40 -rw-rw-r-- 1 jenkins jenkins 3263 May 23 17:18 go.mod 17:19:40 -rw-rw-r-- 1 jenkins jenkins 34802 May 23 17:18 go.sum 17:19:40 drwxrwxr-x 3 jenkins jenkins 4096 May 23 17:18 internal 17:19:40 drwxrwxr-x 2 jenkins jenkins 4096 May 23 17:18 mock 17:19:40 drwxrwxr-x 4 jenkins jenkins 4096 May 23 17:18 snap 17:19:40 -rw-rw-r-- 1 jenkins jenkins 227 May 23 17:18 version.go [Pipeline] isUnix [Pipeline] sh 17:19:41 + 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=77901818c76bea5a69108393cfa761498ae657a9 --label arch=amd64 --label version=2.2.0 . 17:19:41 Sending build context to Docker daemon 5.972MB 17:19:41 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 17:19:41 Step 2/24 : FROM ${BASE} AS builder 17:19:41 ---> dd58428f4869 17:19:41 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:19:41 ---> Running in a42ae1dc8c34 17:19:41 Removing intermediate container a42ae1dc8c34 17:19:41 ---> 6320eceac3b6 17:19:41 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 17:19:41 ---> Running in 83d4066aa97d 17:19:41 Removing intermediate container 83d4066aa97d 17:19:41 ---> 8568454b1365 17:19:41 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:19:41 ---> Running in 7a194c05c0f5 17:19:42 Removing intermediate container 7a194c05c0f5 17:19:42 ---> 1d1f101db0e3 17:19:42 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:19:42 ---> Running in bcd752d83016 17:19:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:19:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:19:43 OK: 224 MiB in 56 packages 17:19:43 Removing intermediate container bcd752d83016 17:19:43 ---> 12e909844a16 17:19:43 Step 7/24 : WORKDIR /device-mqtt-go 17:19:43 ---> Running in 4fbc651b1949 17:19:44 Removing intermediate container 4fbc651b1949 17:19:44 ---> 1790a8d75e01 17:19:44 Step 8/24 : COPY go.mod vendor* ./ 17:19:44 ---> 0f2bd6808e5a 17:19:44 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:19:44 ---> Running in 53980b404399 17:19:45 Removing intermediate container 53980b404399 17:19:45 ---> 223a17da799f 17:19:45 Step 10/24 : COPY . . 17:19:45 ---> d9e788e30bf9 17:19:45 Step 11/24 : ARG MAKE='make build' 17:19:45 ---> Running in 72d457459ed8 17:19:45 Removing intermediate container 72d457459ed8 17:19:45 ---> 146943dd6551 17:19:45 Step 12/24 : RUN $MAKE 17:19:45 ---> Running in df320e989ea3 17:19:45 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:20:07 Removing intermediate container df320e989ea3 17:20:07 ---> 3a0ec8636e27 17:20:07 Step 13/24 : FROM alpine:3.14 17:20:07 3.14: Pulling from library/alpine 17:20:07 8663204ce13b: Pulling fs layer 17:20:07 8663204ce13b: Verifying Checksum 17:20:07 8663204ce13b: Download complete 17:20:07 8663204ce13b: Pull complete 17:20:07 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:20:07 Status: Downloaded newer image for alpine:3.14 17:20:07 ---> e04c818066af 17:20:07 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:20:07 ---> Running in 67fa0c062168 17:20:07 Removing intermediate container 67fa0c062168 17:20:07 ---> 59f3ee72ab2f 17:20:07 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:20:07 ---> Running in 60f4c5dafe21 17:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:20:07 (1/6) Installing dumb-init (1.2.5-r1) 17:20:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:20:07 (3/6) Installing libsodium (1.0.18-r0) 17:20:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:20:07 (5/6) Installing libzmq (4.3.4-r0) 17:20:07 (6/6) Installing zeromq (4.3.4-r0) 17:20:07 Executing busybox-1.33.1-r7.trigger 17:20:07 OK: 8 MiB in 20 packages 17:20:07 Removing intermediate container 60f4c5dafe21 17:20:07 ---> 53afd4fa1eb2 17:20:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:20:07 ---> b01a199e083f 17:20:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:20:07 ---> af16a1e61dc3 17:20:07 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:20:07 ---> 2dfe68c41561 17:20:07 Step 19/24 : EXPOSE 59982 17:20:08 ---> Running in ff1ff3a53251 17:20:08 Removing intermediate container ff1ff3a53251 17:20:08 ---> e1ca6d2334d1 17:20:08 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:20:08 ---> Running in 4593c15a6a23 17:20:08 Removing intermediate container 4593c15a6a23 17:20:08 ---> ccb7c40c28d5 17:20:08 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:20:08 ---> Running in f5b7fd90ff9d 17:20:08 Removing intermediate container f5b7fd90ff9d 17:20:08 ---> cf4911d64333 17:20:08 Step 22/24 : LABEL arch=amd64 17:20:08 ---> Running in d915ea89c5f5 17:20:08 Removing intermediate container d915ea89c5f5 17:20:08 ---> b31f8a9557b7 17:20:08 Step 23/24 : LABEL git_sha=77901818c76bea5a69108393cfa761498ae657a9 17:20:08 ---> Running in 7ff4b65aa236 17:20:08 Removing intermediate container 7ff4b65aa236 17:20:08 ---> 544cb22a386e 17:20:08 Step 24/24 : LABEL version=2.2.0 17:20:08 ---> Running in 500d330e534c 17:20:08 Removing intermediate container 500d330e534c 17:20:08 ---> 4ab1a1a19557 17:20:08 [Warning] One or more build-args [ARCH] were not consumed 17:20:08 Successfully built 4ab1a1a19557 17:20:08 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:20:08 provisioning config files... 17:20:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4487601619195532684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:08 ---> docker-login.sh 17:20:08 nexus3.edgexfoundry.org:10001 17:20:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:08 Configure a credential helper to remove this warning. See 17:20:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:08 17:20:08 Login Succeeded 17:20:08 nexus3.edgexfoundry.org:10002 17:20:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:09 Configure a credential helper to remove this warning. See 17:20:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:09 17:20:09 Login Succeeded 17:20:09 nexus3.edgexfoundry.org:10003 17:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:09 Configure a credential helper to remove this warning. See 17:20:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:09 17:20:09 Login Succeeded 17:20:09 nexus3.edgexfoundry.org:10004 17:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:09 Configure a credential helper to remove this warning. See 17:20:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:09 17:20:09 Login Succeeded 17:20:09 docker.io 17:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:20:09 Configure a credential helper to remove this warning. See 17:20:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:20:09 17:20:09 Login Succeeded 17:20:09 ---> docker-login.sh ends [Pipeline] } 17:20:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:20:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:20:09 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 17:20:09 77901818c76bea5a69108393cfa761498ae657a9 17:20:09 latest 17:20:09 2.2.0 17:20:09 77901818c76bea5a69108393cfa761498ae657a9-2.2.0 17:20:09 main 17:20:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:20:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] isUnix [Pipeline] sh 17:20:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 17:20:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:20:10 0081c15dde70: Preparing 17:20:10 876a37f5e7a8: Preparing 17:20:10 9129d5aaeec9: Preparing 17:20:10 037e1dccce42: Preparing 17:20:10 b541d28bf3b4: Preparing 17:20:10 b541d28bf3b4: Layer already exists 17:20:10 0081c15dde70: Pushed 17:20:10 876a37f5e7a8: Pushed 17:20:10 037e1dccce42: Pushed 17:20:13 9129d5aaeec9: Pushed 17:20:13 77901818c76bea5a69108393cfa761498ae657a9: digest: sha256:079beacd44d5bf5dea1fd8290a33a80b02c9b50279a77553c616c69c91620019 size: 1367 [Pipeline] isUnix [Pipeline] sh 17:20:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 17:20:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:20:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:20:14 0081c15dde70: Preparing 17:20:14 876a37f5e7a8: Preparing 17:20:14 9129d5aaeec9: Preparing 17:20:14 037e1dccce42: Preparing 17:20:14 b541d28bf3b4: Preparing 17:20:14 037e1dccce42: Layer already exists 17:20:14 9129d5aaeec9: Layer already exists 17:20:14 0081c15dde70: Layer already exists 17:20:14 b541d28bf3b4: Layer already exists 17:20:14 876a37f5e7a8: Layer already exists 17:20:14 latest: digest: sha256:079beacd44d5bf5dea1fd8290a33a80b02c9b50279a77553c616c69c91620019 size: 1367 [Pipeline] isUnix [Pipeline] sh 17:20:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0 [Pipeline] isUnix [Pipeline] sh 17:20:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0 17:20:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:20:14 0081c15dde70: Preparing 17:20:14 876a37f5e7a8: Preparing 17:20:14 9129d5aaeec9: Preparing 17:20:14 037e1dccce42: Preparing 17:20:14 b541d28bf3b4: Preparing 17:20:14 9129d5aaeec9: Layer already exists 17:20:14 0081c15dde70: Layer already exists 17:20:14 037e1dccce42: Layer already exists 17:20:14 876a37f5e7a8: Layer already exists 17:20:14 b541d28bf3b4: Layer already exists 17:20:14 2.2.0: digest: sha256:079beacd44d5bf5dea1fd8290a33a80b02c9b50279a77553c616c69c91620019 size: 1367 [Pipeline] isUnix [Pipeline] sh 17:20:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0 [Pipeline] isUnix [Pipeline] sh 17:20:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0 17:20:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:20:15 0081c15dde70: Preparing 17:20:15 876a37f5e7a8: Preparing 17:20:15 9129d5aaeec9: Preparing 17:20:15 037e1dccce42: Preparing 17:20:15 b541d28bf3b4: Preparing 17:20:15 9129d5aaeec9: Layer already exists 17:20:15 037e1dccce42: Layer already exists 17:20:15 b541d28bf3b4: Layer already exists 17:20:15 876a37f5e7a8: Layer already exists 17:20:15 0081c15dde70: Layer already exists 17:20:15 77901818c76bea5a69108393cfa761498ae657a9-2.2.0: digest: sha256:079beacd44d5bf5dea1fd8290a33a80b02c9b50279a77553c616c69c91620019 size: 1367 [Pipeline] isUnix [Pipeline] sh 17:20:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 17:20:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 17:20:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 17:20:15 0081c15dde70: Preparing 17:20:15 876a37f5e7a8: Preparing 17:20:15 9129d5aaeec9: Preparing 17:20:15 037e1dccce42: Preparing 17:20:15 b541d28bf3b4: Preparing 17:20:15 037e1dccce42: Layer already exists 17:20:15 b541d28bf3b4: Layer already exists 17:20:15 876a37f5e7a8: Layer already exists 17:20:15 0081c15dde70: Layer already exists 17:20:15 9129d5aaeec9: Layer already exists 17:20:15 main: digest: sha256:079beacd44d5bf5dea1fd8290a33a80b02c9b50279a77553c616c69c91620019 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:20:15 ===================================================== [Pipeline] echo 17:20:15 taggedImages: 17:20:15 - nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9 17:20:15 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 17:20:15 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0 17:20:15 - nexus3.edgexfoundry.org:10004/device-mqtt:77901818c76bea5a69108393cfa761498ae657a9-2.2.0 17:20:15 - 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 17:20:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:16 17:20:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:20:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:16 latest: Pulling from edgex-lftools-log-publisher 17:20:16 5eb5b503b376: Pulling fs layer 17:20:16 5c69ac0246d0: Pulling fs layer 17:20:16 ec43610c2a17: Pulling fs layer 17:20:16 3a2ae6a8a46f: Pulling fs layer 17:20:16 33b1e0a273af: Pulling fs layer 17:20:16 5d3b04190fa2: Pulling fs layer 17:20:16 2f39f015ded8: Pulling fs layer 17:20:16 33b1e0a273af: Waiting 17:20:16 5d3b04190fa2: Waiting 17:20:16 3a2ae6a8a46f: Waiting 17:20:16 5c69ac0246d0: Download complete 17:20:16 3a2ae6a8a46f: Verifying Checksum 17:20:16 3a2ae6a8a46f: Download complete 17:20:16 33b1e0a273af: Verifying Checksum 17:20:16 33b1e0a273af: Download complete 17:20:16 5d3b04190fa2: Verifying Checksum 17:20:16 5d3b04190fa2: Download complete 17:20:16 ec43610c2a17: Verifying Checksum 17:20:16 ec43610c2a17: Download complete 17:20:16 5eb5b503b376: Verifying Checksum 17:20:16 5eb5b503b376: Download complete 17:20:17 2f39f015ded8: Download complete 17:20:18 5eb5b503b376: Pull complete 17:20:18 5c69ac0246d0: Pull complete 17:20:18 ec43610c2a17: Pull complete 17:20:18 3a2ae6a8a46f: Pull complete 17:20:18 33b1e0a273af: Pull complete 17:20:19 5d3b04190fa2: Pull complete 17:20:23 2f39f015ded8: Pull complete 17:20:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:20:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:20:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:20:23 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:20:23 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:20:24 $ docker top 3a1f4153f8242ffc6fc9f2778861fefd755728ac0d79d74d74abc3692387f826 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:20:25 ---> job-cost.sh 17:20:25 lf-activate-venv: SKIPPING 17:20:25 INFO: No Stack... 17:20:25 INFO: Retrieving Pricing Info for: v3-standard-8 17:20:26 INFO: Archiving Costs [Pipeline] sh 17:20:26 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 17:20:26 + cut -d, -f6 [Pipeline] lock 17:20:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-47-stack-cost] 17:20:26 Resource [jenkins-edgexfoundry-device-mqtt-go-main-47-stack-cost] did not exist. Created. 17:20:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:20:26 + echo total: 0.2199999988079071 [Pipeline] stash 17:20:26 Stashed 1 file(s) [Pipeline] } 17:20:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 17:20:26 $ docker stop --time=1 3a1f4153f8242ffc6fc9f2778861fefd755728ac0d79d74d74abc3692387f826 17:20:28 $ docker rm -f 3a1f4153f8242ffc6fc9f2778861fefd755728ac0d79d74d74abc3692387f826 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:22:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64399 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 17:22:23 Running in /w/workspace/device-mqtt-go/47 [Pipeline] { [Pipeline] checkout 17:22:24 Selected Git installation does not exist. Using Default 17:22:24 The recommended git tool is: NONE 17:22:32 using credential edgex-jenkins-ssh 17:22:32 Cloning the remote Git repository 17:22:32 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:22:32 > git init /w/workspace/device-mqtt-go/47 # timeout=10 17:22:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:22:32 > git --version # timeout=10 17:22:32 > git --version # 'git version 2.25.1' 17:22:32 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:33 Avoid second fetch 17:22:33 Checking out Revision 77901818c76bea5a69108393cfa761498ae657a9 (main) 17:22:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:22:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:33 > git config core.sparsecheckout # timeout=10 17:22:33 > git checkout -f 77901818c76bea5a69108393cfa761498ae657a9 # timeout=10 17:22:38 Commit message: "Merge pull request #381 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:22:39 % Total % Received % Xferd Average Speed Time Time Time Current 17:22:39 Dload Upload Total Spent Left Speed 17:22:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 186k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 17:22:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:22:40 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:22:40 sudo tee /etc/docker/daemon.new 17:22:40 { 17:22:40 "registry-mirrors": [ 17:22:40 "https://nexus3.edgexfoundry.org:10001" 17:22:40 ], 17:22:40 "bip": "10.250.0.254/24", 17:22:40 "hosts": [ 17:22:40 "tcp://0.0.0.0:5555", 17:22:40 "unix:///var/run/docker.sock" 17:22:40 ], 17:22:40 "mtu": 1458, 17:22:40 "selinux-enabled": true, 17:22:40 "seccomp-profile": "/etc/docker/seccomp.json" 17:22:40 } [Pipeline] sh 17:22:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:22:41 + sudo service docker restart [Pipeline] sh 17:22:59 + git checkout 77901818c76bea5a69108393cfa761498ae657a9 17:22:59 HEAD is now at 7790181 Merge pull request #381 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:22:59 provisioning config files... 17:22:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/47@tmp/config2081832844809199968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:00 ---> docker-login.sh 17:23:00 nexus3.edgexfoundry.org:10001 17:23:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:01 Configure a credential helper to remove this warning. See 17:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:01 17:23:01 Login Succeeded 17:23:01 nexus3.edgexfoundry.org:10002 17:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:01 Configure a credential helper to remove this warning. See 17:23:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:01 17:23:01 Login Succeeded 17:23:01 nexus3.edgexfoundry.org:10003 17:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:02 Configure a credential helper to remove this warning. See 17:23:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:02 17:23:02 Login Succeeded 17:23:02 nexus3.edgexfoundry.org:10004 17:23:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:03 Configure a credential helper to remove this warning. See 17:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:03 17:23:03 Login Succeeded 17:23:03 docker.io 17:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:03 Configure a credential helper to remove this warning. See 17:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:03 17:23:03 Login Succeeded 17:23:03 ---> docker-login.sh ends [Pipeline] } 17:23:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:04 ========================================================= 17:23:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:23:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:23:04 + 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 . 17:23:05 Sending build context to Docker daemon 3.092MB 17:23:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 17:23:05 Step 2/12 : FROM ${BASE} AS builder 17:23:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:23:05 9b3977197b4f: Pulling fs layer 17:23:05 1a89e8eeedd5: Pulling fs layer 17:23:05 94645a83ff95: Pulling fs layer 17:23:05 3f3a8bcf1eab: Pulling fs layer 17:23:05 0c92f367c5e7: Pulling fs layer 17:23:05 3096ccb668a1: Pulling fs layer 17:23:05 e8cf19c19ddd: Pulling fs layer 17:23:05 a4caa8a26152: Pulling fs layer 17:23:05 3f3a8bcf1eab: Waiting 17:23:05 0c92f367c5e7: Waiting 17:23:05 3096ccb668a1: Waiting 17:23:05 e8cf19c19ddd: Waiting 17:23:05 a4caa8a26152: Waiting 17:23:05 94645a83ff95: Verifying Checksum 17:23:05 94645a83ff95: Download complete 17:23:05 1a89e8eeedd5: Download complete 17:23:05 0c92f367c5e7: Verifying Checksum 17:23:05 0c92f367c5e7: Download complete 17:23:05 9b3977197b4f: Verifying Checksum 17:23:05 9b3977197b4f: Download complete 17:23:05 3096ccb668a1: Verifying Checksum 17:23:05 3096ccb668a1: Download complete 17:23:05 e8cf19c19ddd: Verifying Checksum 17:23:05 e8cf19c19ddd: Download complete 17:23:06 9b3977197b4f: Pull complete 17:23:06 1a89e8eeedd5: Pull complete 17:23:07 94645a83ff95: Pull complete 17:23:07 a4caa8a26152: Verifying Checksum 17:23:07 a4caa8a26152: Download complete 17:23:08 3f3a8bcf1eab: Download complete 17:23:20 3f3a8bcf1eab: Pull complete 17:23:20 0c92f367c5e7: Pull complete 17:23:20 3096ccb668a1: Pull complete 17:23:20 e8cf19c19ddd: Pull complete 17:23:27 a4caa8a26152: Pull complete 17:23:27 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:23:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:23:27 ---> 725f1c02e7f9 17:23:27 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:23:27 ---> Running in 60270b998fbb 17:23:27 Removing intermediate container 60270b998fbb 17:23:27 ---> d9a43c6cb2d3 17:23:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:23:27 ---> Running in aa8538d39a3e 17:23:28 Removing intermediate container aa8538d39a3e 17:23:28 ---> 39cb80ca20a4 17:23:28 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:23:28 ---> Running in ec96fea2e43d 17:23:30 Removing intermediate container ec96fea2e43d 17:23:30 ---> 779e9e379a60 17:23:30 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:23:30 ---> Running in 07e59e819ef6 17:23:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:23:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:23:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 17:23:33 (2/4) Installing libedit (20210910.3.1-r0) 17:23:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 17:23:34 (4/4) Installing openssh-client-default (8.8_p1-r1) 17:23:34 Executing busybox-1.34.1-r3.trigger 17:23:34 OK: 224 MiB in 56 packages 17:23:35 Removing intermediate container 07e59e819ef6 17:23:35 ---> e7ce17b73027 17:23:35 Step 7/12 : WORKDIR /device-mqtt-go 17:23:35 ---> Running in 492951c83e0f 17:23:35 Removing intermediate container 492951c83e0f 17:23:35 ---> 2b6f5e7d8c50 17:23:35 Step 8/12 : COPY go.mod vendor* ./ 17:23:36 ---> b0e2dedcacf6 17:23:36 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:36 ---> Running in e885e5543fc8 17:24:23 Removing intermediate container e885e5543fc8 17:24:23 ---> 4f95287adde2 17:24:23 Step 10/12 : COPY . . 17:24:23 ---> 2b94756a7060 17:24:23 Step 11/12 : ARG MAKE='make build' 17:24:23 ---> Running in a7f880235223 17:24:23 Removing intermediate container a7f880235223 17:24:23 ---> a0b8ba78e3f1 17:24:23 Step 12/12 : RUN $MAKE 17:24:23 ---> Running in 07ca1947dfd0 17:24:24 noop 17:24:25 Removing intermediate container 07ca1947dfd0 17:24:25 ---> ec73b650ed23 17:24:25 Successfully built ec73b650ed23 17:24:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:24:25 + docker inspect -f . ci-base-image-arm64 17:24:25 . [Pipeline] withDockerContainer 17:24:26 prd-ubuntu20.04-docker-arm64-4c-16g-64399 does not seem to be running inside a container 17:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/47 -v /w/workspace/device-mqtt-go/47:/w/workspace/device-mqtt-go/47:rw,z -v /w/workspace/device-mqtt-go/47@tmp:/w/workspace/device-mqtt-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:24:27 $ docker top 7d295a3a081e84791b64d19722b84855b4fddd744593ff1fdfd5a858ab234456 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:28 + go version 17:24:28 go version go1.17.6 linux/arm64 [Pipeline] } 17:24:28 $ docker stop --time=1 7d295a3a081e84791b64d19722b84855b4fddd744593ff1fdfd5a858ab234456 17:24:30 $ docker rm -f 7d295a3a081e84791b64d19722b84855b4fddd744593ff1fdfd5a858ab234456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:24:30 + docker inspect -f . ci-base-image-arm64 17:24:30 . [Pipeline] withDockerContainer 17:24:31 prd-ubuntu20.04-docker-arm64-4c-16g-64399 does not seem to be running inside a container 17:24:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/47 -v /w/workspace/device-mqtt-go/47:/w/workspace/device-mqtt-go/47:rw,z -v /w/workspace/device-mqtt-go/47@tmp:/w/workspace/device-mqtt-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:24:32 $ docker top c92819258a6e5c0654c50287fe366d8e91ad2af1ba473231c5bc5eeec2c80433 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:24:33 + make test 17:24:33 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:24:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:26:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:26:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements 17:26:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:26:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:26:11 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:26:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:26:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:26:34 ./bin/test-attribution-txt.sh [Pipeline] echo 17:26:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:26:35 $ docker stop --time=1 c92819258a6e5c0654c50287fe366d8e91ad2af1ba473231c5bc5eeec2c80433 17:26:36 $ docker rm -f c92819258a6e5c0654c50287fe366d8e91ad2af1ba473231c5bc5eeec2c80433 [Pipeline] // withDockerContainer [Pipeline] sh 17:26:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:26:38 Warning: overwriting stash ‘coverage-report’ 17:26:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:26:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:26:39 + ls -al . 17:26:39 total 176 17:26:39 drwxrwxr-x 9 jenkins jenkins 4096 May 23 17:26 . 17:26:39 drwxrwxr-x 4 jenkins jenkins 4096 May 23 17:22 .. 17:26:39 -rw-rw-r-- 1 jenkins jenkins 140 May 23 17:22 .dockerignore 17:26:39 drwxrwxr-x 8 jenkins jenkins 4096 May 23 17:22 .git 17:26:39 drwxrwxr-x 3 jenkins jenkins 4096 May 23 17:22 .github 17:26:39 -rw-rw-r-- 1 jenkins jenkins 329 May 23 17:22 .gitignore 17:26:39 -rw-rw-r-- 1 jenkins jenkins 41 May 23 17:22 .golangci.yml 17:26:39 -rw-rw-r-- 1 jenkins jenkins 8656 May 23 17:22 Attribution.txt 17:26:39 -rw-rw-r-- 1 jenkins jenkins 11365 May 23 17:22 CHANGELOG.md 17:26:39 -rw-rw-r-- 1 jenkins jenkins 1930 May 23 17:22 Dockerfile 17:26:39 -rw-rw-r-- 1 jenkins jenkins 677 May 23 17:22 GOVERNANCE.md 17:26:39 -rw-rw-r-- 1 jenkins jenkins 678 May 23 17:22 Jenkinsfile 17:26:39 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 17:22 LICENSE 17:26:39 -rw-rw-r-- 1 jenkins jenkins 1930 May 23 17:22 Makefile 17:26:39 -rw-rw-r-- 1 jenkins jenkins 620 May 23 17:22 OWNERS.md 17:26:39 -rw-rw-r-- 1 jenkins jenkins 2501 May 23 17:22 README.md 17:26:39 -rw-rw-r-- 1 jenkins jenkins 5 May 23 17:18 VERSION 17:26:39 drwxrwxr-x 2 jenkins jenkins 4096 May 23 17:22 bin 17:26:39 drwxrwxr-x 3 jenkins jenkins 4096 May 23 17:22 cmd 17:26:39 -rw-r--r-- 1 jenkins jenkins 17887 May 23 17:26 coverage.out 17:26:39 -rw-rw-r-- 1 jenkins jenkins 3263 May 23 17:22 go.mod 17:26:39 -rw-rw-r-- 1 jenkins jenkins 34802 May 23 17:22 go.sum 17:26:39 drwxrwxr-x 3 jenkins jenkins 4096 May 23 17:22 internal 17:26:39 drwxrwxr-x 2 jenkins jenkins 4096 May 23 17:22 mock 17:26:39 drwxrwxr-x 4 jenkins jenkins 4096 May 23 17:22 snap 17:26:39 -rw-rw-r-- 1 jenkins jenkins 227 May 23 17:22 version.go [Pipeline] isUnix [Pipeline] sh 17:26:39 + 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=77901818c76bea5a69108393cfa761498ae657a9 --label arch=arm64 --label version=2.2.0 . 17:26:39 Sending build context to Docker daemon 3.11MB 17:26:39 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 17:26:39 Step 2/24 : FROM ${BASE} AS builder 17:26:39 ---> ec73b650ed23 17:26:39 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:26:40 ---> Running in 78e45316c5e0 17:26:40 Removing intermediate container 78e45316c5e0 17:26:40 ---> eb179798faa4 17:26:40 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 17:26:40 ---> Running in 85e2d93ca3be 17:26:40 Removing intermediate container 85e2d93ca3be 17:26:40 ---> 3e06f2502b5d 17:26:40 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:26:41 ---> Running in 39f870bdb7cb 17:26:43 Removing intermediate container 39f870bdb7cb 17:26:43 ---> fafb0ca8fd8f 17:26:43 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:26:43 ---> Running in 926972925fbd 17:26:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:26:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:26:45 OK: 224 MiB in 56 packages 17:26:46 Removing intermediate container 926972925fbd 17:26:46 ---> 989cc68eb85f 17:26:46 Step 7/24 : WORKDIR /device-mqtt-go 17:26:46 ---> Running in 6c264cd3560b 17:26:46 Removing intermediate container 6c264cd3560b 17:26:46 ---> 479df9d7959d 17:26:46 Step 8/24 : COPY go.mod vendor* ./ 17:26:47 ---> f3668cb3816d 17:26:47 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:26:47 ---> Running in 9a9296ef149d 17:26:49 Removing intermediate container 9a9296ef149d 17:26:49 ---> 601b2d7c0ea5 17:26:49 Step 10/24 : COPY . . 17:26:50 ---> 0f315b5eb807 17:26:50 Step 11/24 : ARG MAKE='make build' 17:26:50 ---> Running in 91eac593088c 17:26:50 Removing intermediate container 91eac593088c 17:26:50 ---> d2ad92459ebe 17:26:50 Step 12/24 : RUN $MAKE 17:26:51 ---> Running in 4fe3e288a02d 17:26:52 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:28:59 Removing intermediate container 4fe3e288a02d 17:28:59 ---> 76885b7bd324 17:28:59 Step 13/24 : FROM alpine:3.14 17:28:59 3.14: Pulling from library/alpine 17:28:59 455c02918c45: Pulling fs layer 17:28:59 455c02918c45: Verifying Checksum 17:28:59 455c02918c45: Download complete 17:28:59 455c02918c45: Pull complete 17:28:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:28:59 Status: Downloaded newer image for alpine:3.14 17:28:59 ---> ac73e934f311 17:28:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:28:59 ---> Running in e88f4c10df95 17:28:59 Removing intermediate container e88f4c10df95 17:28:59 ---> 68372e88734b 17:28:59 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:28:59 ---> Running in f5035143d6de 17:28:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:28:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:28:59 (1/6) Installing dumb-init (1.2.5-r1) 17:28:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:28:59 (3/6) Installing libsodium (1.0.18-r0) 17:28:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:28:59 (5/6) Installing libzmq (4.3.4-r0) 17:28:59 (6/6) Installing zeromq (4.3.4-r0) 17:28:59 Executing busybox-1.33.1-r7.trigger 17:28:59 OK: 8 MiB in 20 packages 17:29:00 Removing intermediate container f5035143d6de 17:29:00 ---> bd3024a3da68 17:29:00 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:29:02 ---> 5a41865601a0 17:29:02 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:29:02 ---> 9e4ab6bb873c 17:29:02 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:29:03 ---> 090ef2c86c36 17:29:03 Step 19/24 : EXPOSE 59982 17:29:03 ---> Running in 9efc32b1c6ec 17:29:03 Removing intermediate container 9efc32b1c6ec 17:29:03 ---> ac57c010b986 17:29:03 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:29:03 ---> Running in 7f75d54cf222 17:29:04 Removing intermediate container 7f75d54cf222 17:29:04 ---> c2a2a0fde2c0 17:29:04 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:29:04 ---> Running in ddb5a0c2b3c4 17:29:04 Removing intermediate container ddb5a0c2b3c4 17:29:04 ---> d2ec9f0b1f13 17:29:04 Step 22/24 : LABEL arch=arm64 17:29:04 ---> Running in 4748b6ef8dd6 17:29:04 Removing intermediate container 4748b6ef8dd6 17:29:04 ---> cb904fe1e816 17:29:04 Step 23/24 : LABEL git_sha=77901818c76bea5a69108393cfa761498ae657a9 17:29:04 ---> Running in 68b514af433c 17:29:05 Removing intermediate container 68b514af433c 17:29:05 ---> 669209425e54 17:29:05 Step 24/24 : LABEL version=2.2.0 17:29:05 ---> Running in 66955d82498a 17:29:05 Removing intermediate container 66955d82498a 17:29:05 ---> 947c9c1ceb85 17:29:05 [Warning] One or more build-args [ARCH] were not consumed 17:29:05 Successfully built 947c9c1ceb85 17:29:05 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 17:29:05 provisioning config files... 17:29:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/47@tmp/config7625726546081344497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:05 ---> docker-login.sh 17:29:05 nexus3.edgexfoundry.org:10001 17:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:06 Configure a credential helper to remove this warning. See 17:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:06 17:29:06 Login Succeeded 17:29:06 nexus3.edgexfoundry.org:10002 17:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:06 Configure a credential helper to remove this warning. See 17:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:06 17:29:06 Login Succeeded 17:29:06 nexus3.edgexfoundry.org:10003 17:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:07 Configure a credential helper to remove this warning. See 17:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:07 17:29:07 Login Succeeded 17:29:07 nexus3.edgexfoundry.org:10004 17:29:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:07 Configure a credential helper to remove this warning. See 17:29:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:07 17:29:07 Login Succeeded 17:29:07 docker.io 17:29:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:08 Configure a credential helper to remove this warning. See 17:29:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:08 17:29:08 Login Succeeded 17:29:08 ---> docker-login.sh ends [Pipeline] } 17:29:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:29:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:08 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 17:29:08 77901818c76bea5a69108393cfa761498ae657a9 17:29:08 latest 17:29:08 2.2.0 17:29:08 77901818c76bea5a69108393cfa761498ae657a9-2.2.0 17:29:08 main 17:29:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:29:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] isUnix [Pipeline] sh 17:29:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 17:29:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:29:09 8c740fcc9e97: Preparing 17:29:09 75f133f3c401: Preparing 17:29:09 45dbe470c587: Preparing 17:29:09 809141ad975a: Preparing 17:29:09 f73e7dbfee58: Preparing 17:29:09 f73e7dbfee58: Layer already exists 17:29:09 75f133f3c401: Pushed 17:29:09 8c740fcc9e97: Pushed 17:29:10 809141ad975a: Pushed 17:29:15 45dbe470c587: Pushed 17:29:15 77901818c76bea5a69108393cfa761498ae657a9: digest: sha256:8e49d63b3fbb56245965037a3c94943992315af572a47f52aee48825d7224a84 size: 1366 [Pipeline] isUnix [Pipeline] sh 17:29:16 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:29:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 17:29:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:29:16 8c740fcc9e97: Preparing 17:29:16 75f133f3c401: Preparing 17:29:16 45dbe470c587: Preparing 17:29:16 809141ad975a: Preparing 17:29:16 f73e7dbfee58: Preparing 17:29:16 809141ad975a: Layer already exists 17:29:16 75f133f3c401: Layer already exists 17:29:16 8c740fcc9e97: Layer already exists 17:29:16 45dbe470c587: Layer already exists 17:29:16 f73e7dbfee58: Layer already exists 17:29:16 latest: digest: sha256:8e49d63b3fbb56245965037a3c94943992315af572a47f52aee48825d7224a84 size: 1366 [Pipeline] isUnix [Pipeline] sh 17:29:17 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh 17:29:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0 17:29:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:29:17 8c740fcc9e97: Preparing 17:29:17 75f133f3c401: Preparing 17:29:17 45dbe470c587: Preparing 17:29:17 809141ad975a: Preparing 17:29:17 f73e7dbfee58: Preparing 17:29:17 75f133f3c401: Layer already exists 17:29:17 f73e7dbfee58: Layer already exists 17:29:17 45dbe470c587: Layer already exists 17:29:17 8c740fcc9e97: Layer already exists 17:29:17 809141ad975a: Layer already exists 17:29:17 2.2.0: digest: sha256:8e49d63b3fbb56245965037a3c94943992315af572a47f52aee48825d7224a84 size: 1366 [Pipeline] isUnix [Pipeline] sh 17:29:18 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0 [Pipeline] isUnix [Pipeline] sh 17:29:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0 17:29:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:29:18 8c740fcc9e97: Preparing 17:29:18 75f133f3c401: Preparing 17:29:18 45dbe470c587: Preparing 17:29:18 809141ad975a: Preparing 17:29:18 f73e7dbfee58: Preparing 17:29:18 75f133f3c401: Layer already exists 17:29:18 f73e7dbfee58: Layer already exists 17:29:18 809141ad975a: Layer already exists 17:29:18 8c740fcc9e97: Layer already exists 17:29:18 45dbe470c587: Layer already exists 17:29:18 77901818c76bea5a69108393cfa761498ae657a9-2.2.0: digest: sha256:8e49d63b3fbb56245965037a3c94943992315af572a47f52aee48825d7224a84 size: 1366 [Pipeline] isUnix [Pipeline] sh 17:29:19 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 17:29:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 17:29:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 17:29:19 8c740fcc9e97: Preparing 17:29:19 75f133f3c401: Preparing 17:29:19 45dbe470c587: Preparing 17:29:19 809141ad975a: Preparing 17:29:19 f73e7dbfee58: Preparing 17:29:19 f73e7dbfee58: Layer already exists 17:29:19 809141ad975a: Layer already exists 17:29:19 75f133f3c401: Layer already exists 17:29:19 8c740fcc9e97: Layer already exists 17:29:19 45dbe470c587: Layer already exists 17:29:19 main: digest: sha256:8e49d63b3fbb56245965037a3c94943992315af572a47f52aee48825d7224a84 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:29:19 ===================================================== [Pipeline] echo 17:29:19 taggedImages: 17:29:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9 17:29:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 17:29:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0 17:29:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:77901818c76bea5a69108393cfa761498ae657a9-2.2.0 17:29:19 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:29:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:20 17:29:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:29:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:20 arm64: Pulling from edgex-lftools-log-publisher 17:29:20 8998bd30e6a1: Pulling fs layer 17:29:20 04944245beec: Pulling fs layer 17:29:20 699f458cf7ca: Pulling fs layer 17:29:20 765212b225bb: Pulling fs layer 17:29:20 f23df028b6ca: Pulling fs layer 17:29:20 d65c8cfc05b1: Pulling fs layer 17:29:20 2437ff75d9bd: Pulling fs layer 17:29:20 2437ff75d9bd: Waiting 17:29:20 f23df028b6ca: Waiting 17:29:20 765212b225bb: Waiting 17:29:20 d65c8cfc05b1: Waiting 17:29:20 04944245beec: Verifying Checksum 17:29:20 04944245beec: Download complete 17:29:20 765212b225bb: Verifying Checksum 17:29:20 765212b225bb: Download complete 17:29:20 f23df028b6ca: Verifying Checksum 17:29:20 f23df028b6ca: Download complete 17:29:20 d65c8cfc05b1: Verifying Checksum 17:29:20 d65c8cfc05b1: Download complete 17:29:21 699f458cf7ca: Verifying Checksum 17:29:21 699f458cf7ca: Download complete 17:29:21 8998bd30e6a1: Download complete 17:29:24 2437ff75d9bd: Verifying Checksum 17:29:24 2437ff75d9bd: Download complete 17:29:26 8998bd30e6a1: Pull complete 17:29:26 04944245beec: Pull complete 17:29:27 699f458cf7ca: Pull complete 17:29:28 765212b225bb: Pull complete 17:29:28 f23df028b6ca: Pull complete 17:29:28 d65c8cfc05b1: Pull complete 17:29:44 2437ff75d9bd: Pull complete 17:29:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:29:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:29:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:29:44 prd-ubuntu20.04-docker-arm64-4c-16g-64399 does not seem to be running inside a container 17:29:44 $ 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/47 -v /w/workspace/device-mqtt-go/47:/w/workspace/device-mqtt-go/47:rw,z -v /w/workspace/device-mqtt-go/47@tmp:/w/workspace/device-mqtt-go/47@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:29:46 $ docker top f7c49f494ffed9534a71df843959495013b8f8f3b71e4baa7a193f500d31a336 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:47 ---> job-cost.sh 17:29:47 lf-activate-venv: SKIPPING 17:29:47 INFO: No Stack... 17:29:48 INFO: Retrieving Pricing Info for: v3-standard-4 17:29:49 INFO: Archiving Costs [Pipeline] sh 17:29:50 + cat /w/workspace/device-mqtt-go/47/archives/cost.csv 17:29:50 + cut -d, -f6 [Pipeline] lock 17:29:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-47-stack-cost] 17:29:50 Resource [jenkins-edgexfoundry-device-mqtt-go-main-47-stack-cost] did not exist. Created. 17:29:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:29:50 /w/workspace/device-mqtt-go/47@tmp/durable-1587ca16/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:29:51 + echo total: 0.10999999940395355 [Pipeline] stash 17:29:51 Warning: overwriting stash ‘stack-cost’ 17:29:51 Stashed 1 file(s) [Pipeline] } 17:29:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 17:29:51 $ docker stop --time=1 f7c49f494ffed9534a71df843959495013b8f8f3b71e4baa7a193f500d31a336 17:29:53 $ docker rm -f f7c49f494ffed9534a71df843959495013b8f8f3b71e4baa7a193f500d31a336 [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 17:29:53 provisioning config files... 17:29:53 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5669022878026152915tmp [Pipeline] { [Pipeline] sh 17:29:53 + set +x 17:29:53 + + bash -s --curl 17:29:53 -s https://codecov.io/bash 17:29:53 17:29:53 _____ _ 17:29:53 / ____| | | 17:29:53 | | ___ __| | ___ ___ _____ __ 17:29:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:29:53 | |___| (_) | (_| | __/ (_| (_) \ V / 17:29:53 \_____\___/ \__,_|\___|\___\___/ \_/ 17:29:53 Bash-1.0.6 17:29:53 17:29:53 17:29:53 ==> git version 2.25.1 found 17:29:53 ==> 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 17:29:53 Release-Date: 2020-01-08 17:29:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:29:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:29:53 ==> Jenkins CI detected. 17:29:53 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 17:29:53 project root: . 17:29:53 --> token set from env 17:29:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:29:53 ==> Running gcov in . (disable via -X gcov) 17:29:53 ==> Python coveragepy not found 17:29:53 ==> Searching for coverage reports in: 17:29:53 + . 17:29:53 -> Found 1 reports 17:29:53 ==> Detecting git/mercurial file structure 17:29:53 ==> Reading reports 17:29:53 + ./coverage.out bytes=17887 17:29:53 ==> Appending adjustments 17:29:53 https://docs.codecov.io/docs/fixing-reports 17:29:54 + Found adjustments 17:29:54 ==> Gzipping contents 17:29:54 4.0K /tmp/codecov.p6EAJk.gz 17:29:54 ==> Uploading reports 17:29:54 url: https://codecov.io 17:29:54 query: branch=main&commit=77901818c76bea5a69108393cfa761498ae657a9&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:29:54 -> Pinging Codecov 17:29:54 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=77901818c76bea5a69108393cfa761498ae657a9&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:29:54 -> Uploading to 17:29:54 https://storage.googleapis.com/codecov/v4/raw/2022-05-23/7D719EC7BBE17E464838252E33014C33/77901818c76bea5a69108393cfa761498ae657a9/5905cf6a-c033-43b7-ba67-58987bc43f7c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220523T172954Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f323b0d780b9eb3980833237440ff4091af61ee94aba8304bc9867bda874645 17:29:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:29:54 Dload Upload Total Spent Left Speed 17:29:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 16073 --:--:-- --:--:-- --:--:-- 15995 100 3263 0 0 100 3263 0 15464 --:--:-- --:--:-- --:--:-- 15391 17:29:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] } 17:29:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:29:55 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:29:55 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:29:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:29:55 17:29:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 17:29:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:29:55 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:29:55 188c0c94c7c5: Pulling fs layer 17:29:55 0ef7d3d256c8: Pulling fs layer 17:29:55 de9db76c5a1d: Pulling fs layer 17:29:55 0eba1c9be4d2: Pulling fs layer 17:29:55 0d57e429df01: Pulling fs layer 17:29:55 4e4be7b47b0d: Pulling fs layer 17:29:55 e1f770b5df2f: Pulling fs layer 17:29:55 85a0685a4137: Pulling fs layer 17:29:55 e1f770b5df2f: Waiting 17:29:55 4e4be7b47b0d: Waiting 17:29:55 85a0685a4137: Waiting 17:29:55 0eba1c9be4d2: Waiting 17:29:55 0d57e429df01: Waiting 17:29:55 de9db76c5a1d: Verifying Checksum 17:29:55 0ef7d3d256c8: Download complete 17:29:55 de9db76c5a1d: Download complete 17:29:55 0d57e429df01: Download complete 17:29:55 4e4be7b47b0d: Download complete 17:29:55 188c0c94c7c5: Verifying Checksum 17:29:55 188c0c94c7c5: Download complete 17:29:55 188c0c94c7c5: Pull complete 17:29:55 e1f770b5df2f: Verifying Checksum 17:29:55 e1f770b5df2f: Download complete 17:29:55 0ef7d3d256c8: Pull complete 17:29:55 de9db76c5a1d: Pull complete 17:29:56 0eba1c9be4d2: Verifying Checksum 17:29:56 0eba1c9be4d2: Download complete 17:29:56 85a0685a4137: Verifying Checksum 17:29:56 85a0685a4137: Download complete 17:30:00 0eba1c9be4d2: Pull complete 17:30:00 0d57e429df01: Pull complete 17:30:00 4e4be7b47b0d: Pull complete 17:30:00 e1f770b5df2f: Pull complete 17:30:03 85a0685a4137: Pull complete 17:30:03 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 17:30:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:30:03 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 17:30:03 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:30:03 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 17:30:05 $ docker top 95de3d2b01aec869767a98e944341c861562b886ec9a33cdcba90d519f501ded -eo pid,comm [Pipeline] { [Pipeline] echo 17:30:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 17:30:05 + set -o pipefail 17:30:05 + snyk monitor '--org=edgex-jenkins' 17:30:12 17:30:12 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 17:30:12 17:30:12 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/5561b838-03f9-40df-aa2f-4f858f4c6da8 17:30:12 17:30:12 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 17:30:12 17:30:12 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:30:12 17:30:12 [Pipeline] } 17:30:12 $ docker stop --time=1 95de3d2b01aec869767a98e944341c861562b886ec9a33cdcba90d519f501ded 17:30:14 $ docker rm -f 95de3d2b01aec869767a98e944341c861562b886ec9a33cdcba90d519f501ded [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 17:30:15 + git log --format=format:%s -1 77901818c76bea5a69108393cfa761498ae657a9 [Pipeline] sh 17:30:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:30:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:30:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:30:15 . [Pipeline] withDockerContainer 17:30:15 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:30:15 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:30:16 $ docker top e5d0d9470a72b47c6afc5fea82dbfb2932aeec556736d7cdb3ab15dcb3a3dca7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:30:16 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.23' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:30:16 + git semver [Pipeline] } 17:30:16 $ docker stop --time=1 e5d0d9470a72b47c6afc5fea82dbfb2932aeec556736d7cdb3ab15dcb3a3dca7 17:30:18 $ docker rm -f e5d0d9470a72b47c6afc5fea82dbfb2932aeec556736d7cdb3ab15dcb3a3dca7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:30:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:30:18 17:30:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:30:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:30:18 0.23.1-centos7: Pulling from edgex-lftools 17:30:18 ab5ef0e58194: Pulling fs layer 17:30:18 9712f1f96733: Pulling fs layer 17:30:18 63f879dbbcfc: Pulling fs layer 17:30:18 0d9ebad4ef96: Pulling fs layer 17:30:18 e9a5061849ea: Pulling fs layer 17:30:18 d747dcd14b5f: Pulling fs layer 17:30:18 2de7ff778b66: Pulling fs layer 17:30:18 e9a5061849ea: Waiting 17:30:18 d747dcd14b5f: Waiting 17:30:18 0d9ebad4ef96: Waiting 17:30:18 2de7ff778b66: Waiting 17:30:18 9712f1f96733: Verifying Checksum 17:30:18 9712f1f96733: Download complete 17:30:19 63f879dbbcfc: Verifying Checksum 17:30:19 63f879dbbcfc: Download complete 17:30:19 e9a5061849ea: Verifying Checksum 17:30:19 e9a5061849ea: Download complete 17:30:19 d747dcd14b5f: Verifying Checksum 17:30:19 d747dcd14b5f: Download complete 17:30:19 0d9ebad4ef96: Verifying Checksum 17:30:19 0d9ebad4ef96: Download complete 17:30:19 ab5ef0e58194: Verifying Checksum 17:30:19 ab5ef0e58194: Download complete 17:30:19 2de7ff778b66: Verifying Checksum 17:30:19 2de7ff778b66: Download complete 17:30:23 ab5ef0e58194: Pull complete 17:30:23 9712f1f96733: Pull complete 17:30:23 63f879dbbcfc: Pull complete 17:30:27 0d9ebad4ef96: Pull complete 17:30:27 e9a5061849ea: Pull complete 17:30:27 d747dcd14b5f: Pull complete 17:30:29 2de7ff778b66: Pull complete 17:30:29 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:30:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:30:29 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:30:29 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:30:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:30:31 $ docker top 7b054c2bbdc5a2b722bbad18f245cc2335142ce8fa9fc9b97666b27ae807c513 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:30:31 provisioning config files... 17:30:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config992600951777834441tmp 17:30:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8114640344083644868tmp 17:30:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7957957547616129613tmp [Pipeline] { [Pipeline] echo 17:30:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:30:31 ---> sigul-configuration.sh 17:30:31 gpg: directory `/root/.gnupg' created 17:30:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:30:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:30:31 gpg: keyring `/root/.gnupg/secring.gpg' created 17:30:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:30:31 gpg: CAST5 encrypted data 17:30:31 gpg: encrypted with 1 passphrase 17:30:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:30:31 + mkdir /home/jenkins 17:30:31 + mkdir /home/jenkins/sigul [Pipeline] sh 17:30:32 + 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 17:30:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:30:32 ---> sigul-install.sh 17:30:32 Sigul already installed; skipping installation. [Pipeline] sh 17:30:32 + git tag --list 17:30:32 0.7.1 17:30:32 v1.0.0 17:30:32 v1.1.0 17:30:32 v1.1.1 17:30:32 v1.2.2 17:30:32 v1.3.0 17:30:32 v1.3.1 17:30:32 v2.0.0 17:30:32 v2.0.1-dev.1 17:30:32 v2.0.1-dev.10 17:30:32 v2.0.1-dev.11 17:30:32 v2.0.1-dev.12 17:30:32 v2.0.1-dev.13 17:30:32 v2.0.1-dev.14 17:30:32 v2.0.1-dev.15 17:30:32 v2.0.1-dev.16 17:30:32 v2.0.1-dev.17 17:30:32 v2.0.1-dev.2 17:30:32 v2.0.1-dev.3 17:30:32 v2.0.1-dev.4 17:30:32 v2.0.1-dev.5 17:30:32 v2.0.1-dev.6 17:30:32 v2.0.1-dev.7 17:30:32 v2.0.1-dev.8 17:30:32 v2.0.1-dev.9 17:30:32 v2.1.0 17:30:32 v2.2.0 17:30:32 v2.2.0-dev.1 17:30:32 v2.2.0-dev.10 17:30:32 v2.2.0-dev.11 17:30:32 v2.2.0-dev.12 17:30:32 v2.2.0-dev.13 17:30:32 v2.2.0-dev.14 17:30:32 v2.2.0-dev.15 17:30:32 v2.2.0-dev.16 17:30:32 v2.2.0-dev.17 17:30:32 v2.2.0-dev.18 17:30:32 v2.2.0-dev.19 17:30:32 v2.2.0-dev.2 17:30:32 v2.2.0-dev.20 17:30:32 v2.2.0-dev.21 17:30:32 v2.2.0-dev.22 17:30:32 v2.2.0-dev.23 17:30:32 v2.2.0-dev.3 17:30:32 v2.2.0-dev.4 17:30:32 v2.2.0-dev.5 17:30:32 v2.2.0-dev.6 17:30:32 v2.2.0-dev.7 17:30:32 v2.2.0-dev.8 17:30:32 v2.2.0-dev.9 [Pipeline] sh 17:30:33 + lftools sign git-tag v2.2.0 17:30:33 Signing Git tag with Sigul... 17:30:33 Signing v2.2.0 [Pipeline] echo 17:30:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:30:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:30:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:30:34 $ docker stop --time=1 7b054c2bbdc5a2b722bbad18f245cc2335142ce8fa9fc9b97666b27ae807c513 17:30:35 $ docker rm -f 7b054c2bbdc5a2b722bbad18f245cc2335142ce8fa9fc9b97666b27ae807c513 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 17:30:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:30:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:30:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:30:36 . [Pipeline] withDockerContainer 17:30:36 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:30:36 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:30:36 $ docker top 9bee6119b80811397056920021fd5b6493079f953a584c418b76652f900e4499 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:30:36 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.23' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:30:37 + git semver [Pipeline] } 17:30:37 $ docker stop --time=1 9bee6119b80811397056920021fd5b6493079f953a584c418b76652f900e4499 17:30:38 $ docker rm -f 9bee6119b80811397056920021fd5b6493079f953a584c418b76652f900e4499 [Pipeline] // withDockerContainer [Pipeline] sh 17:30:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:30:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:30:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:30:39 . [Pipeline] withDockerContainer 17:30:39 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:30:39 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:30:39 $ docker top e2e378940288c8982969108dc74a4519ad5357f3af66cd0148ada22f4e9451e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:30:40 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.23' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:30:40 + git semver [Pipeline] } 17:30:40 $ docker stop --time=1 e2e378940288c8982969108dc74a4519ad5357f3af66cd0148ada22f4e9451e0 17:30:41 $ docker rm -f e2e378940288c8982969108dc74a4519ad5357f3af66cd0148ada22f4e9451e0 [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 17:30:42 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 17:30:42 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 17:30:42 total 16 17:30:42 drwxr-xr-x 3 root root 4096 May 23 17:20 . 17:30:42 drwxrwxr-x 11 jenkins jenkins 4096 May 23 17:30 .. 17:30:42 drwxr-xr-x 2 root root 4096 May 23 17:20 cost 17:30:42 -rw-r--r-- 1 root root 84 May 23 17:20 cost.csv 17:30:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 17:30:42 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 17:30:42 total 16 17:30:42 drwxr-xr-x 3 jenkins jenkins 4096 May 23 17:20 . 17:30:42 drwxrwxr-x 11 jenkins jenkins 4096 May 23 17:30 .. 17:30:42 drwxr-xr-x 2 jenkins jenkins 4096 May 23 17:20 cost 17:30:42 -rw-r--r-- 1 jenkins jenkins 84 May 23 17:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:30:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:30:43 ---> package-listing.sh 17:30:43 ++ tr '[:upper:]' '[:lower:]' 17:30:43 ++ facter osfamily 17:30:43 + OS_FAMILY=debian 17:30:43 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 17:30:43 + START_PACKAGES=/tmp/packages_start.txt 17:30:43 + END_PACKAGES=/tmp/packages_end.txt 17:30:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:30:43 + PACKAGES=/tmp/packages_start.txt 17:30:43 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 17:30:43 + PACKAGES=/tmp/packages_end.txt 17:30:43 + case "${OS_FAMILY}" in 17:30:43 + dpkg -l 17:30:43 + grep '^ii' 17:30:43 + '[' -f /tmp/packages_start.txt ']' 17:30:43 + '[' -f /tmp/packages_end.txt ']' 17:30:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:30:43 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 17:30:43 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 17:30:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 17:30:43 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 17:30:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:30:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:30:44 . [Pipeline] withDockerContainer 17:30:44 prd-ubuntu20.04-docker-8c-8g-64397 does not seem to be running inside a container 17:30:44 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:30:45 $ docker top 8e5e3d606b05b7c6a824b5fb5e804f239048ab8e85386cda9be7803c27a484ec -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:45 + touch /tmp/pre-build-complete [Pipeline] sh 17:30:45 + mkdir -p /var/log/sysstat [Pipeline] sh 17:30:46 + ls /var/log/sa-host 17:30:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:30:46 provisioning config files... 17:30:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2911775811064356401tmp [Pipeline] { [Pipeline] echo 17:30:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:30:46 ---> create-netrc.sh [Pipeline] } 17:30:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:30:46 ---> python-tools-install.sh [Pipeline] echo 17:30:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:30:47 ---> sudo-logs.sh 17:30:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:30:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:30:47 ---> job-cost.sh 17:30:47 lf-activate-venv: SKIPPING 17:30:47 DEBUG: total: 0.2199999988079071 17:30:47 INFO: Retrieving Stack Cost... 17:30:47 INFO: Retrieving Pricing Info for: v3-standard-8 17:30:48 INFO: Archiving Costs [Pipeline] echo 17:30:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:30:48 ---> logs-deploy.sh 17:30:48 lf-activate-venv: SKIPPING 17:30:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/47 17:30:48 INFO: archiving workspace using pattern(s): 17:30:49 Archives upload complete. 17:30:49 INFO: archiving logs to Nexus