Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a06e272b6922a1d7524aeda6151acf418e859d75 Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh2489418110235332149.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh346576197623538475.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh5631395672267126001.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh204301246937438108.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 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-ssh8233253517613924952.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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: true 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 ‘prd-centos7-docker-4c-2g-2073’ Running on prd-centos7-docker-4c-2g-2075 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 Avoid second fetch Checking out Revision a06e272b6922a1d7524aeda6151acf418e859d75 (main) 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.24.4' 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 /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh8640738607092402839.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 a06e272b6922a1d7524aeda6151acf418e859d75 # timeout=10 Commit message: "build: bump device-sdk-go@v2.0.1-dev.23, go-mod-core-contracts@v2.0.1-dev.26 (#309)" > git rev-list --no-walk d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:15:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:15:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:15:02 ========================================================= 18:15:02 EdgeX Global Pipelines Version Info 18:15:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:15:03 ------------------- 18:15:03 stable info: 18:15:03 ------------------- 18:15:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:15:03 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 18:15:03 Message: update stable to v1.0.210 18:15:04 ------------------- 18:15:04 experimental info: 18:15:04 ------------------- 18:15:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:15:04 Commit SHA: 6722a7c1c8ebe94597741d4fbba21f45702e0c7d 18:15:04 Message: testing jakarta lts changes [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a06e272b6922a1d7524aeda6151acf418e859d75 [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a06e272 [Pipeline] echo 18:15:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:15:04 provisioning config files... 18:15:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2667801747347063996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:15:05 ---> docker-login.sh 18:15:05 nexus3.edgexfoundry.org:10001 18:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:05 Configure a credential helper to remove this warning. See 18:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:05 18:15:05 Login Succeeded 18:15:05 nexus3.edgexfoundry.org:10002 18:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:05 Configure a credential helper to remove this warning. See 18:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:05 18:15:05 Login Succeeded 18:15:05 nexus3.edgexfoundry.org:10003 18:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:05 Configure a credential helper to remove this warning. See 18:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:05 18:15:05 Login Succeeded 18:15:05 nexus3.edgexfoundry.org:10004 18:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:05 Configure a credential helper to remove this warning. See 18:15:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:05 18:15:05 Login Succeeded 18:15:05 docker.io 18:15:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:15:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:15:06 Configure a credential helper to remove this warning. See 18:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:15:06 18:15:06 Login Succeeded 18:15:06 ---> docker-login.sh ends [Pipeline] } 18:15:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:15:06 + git log --format=format:%s -1 a06e272b6922a1d7524aeda6151acf418e859d75 [Pipeline] echo 18:15:06 GIT_COMMIT: a06e272b6922a1d7524aeda6151acf418e859d75, Commit Message: build: bump device-sdk-go@v2.0.1-dev.23, go-mod-core-contracts@v2.0.1-dev.26 (#309) [Pipeline] echo 18:15:06 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 18:15:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:15:07 18:15:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:15:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:15:07 latest: Pulling from edgex-devops/git-semver 18:15:07 a0d0a0d46f8b: Pulling fs layer 18:15:07 3e5f54012d9b: Pulling fs layer 18:15:07 4c7163046ea9: Pulling fs layer 18:15:07 0c2d73faf560: Pulling fs layer 18:15:07 0c2d73faf560: Waiting 18:15:07 3e5f54012d9b: Verifying Checksum 18:15:07 3e5f54012d9b: Download complete 18:15:07 a0d0a0d46f8b: Verifying Checksum 18:15:07 a0d0a0d46f8b: Download complete 18:15:07 0c2d73faf560: Verifying Checksum 18:15:07 0c2d73faf560: Download complete 18:15:07 4c7163046ea9: Verifying Checksum 18:15:07 4c7163046ea9: Download complete 18:15:07 a0d0a0d46f8b: Pull complete 18:15:07 3e5f54012d9b: Pull complete 18:15:08 4c7163046ea9: Pull complete 18:15:08 0c2d73faf560: Pull complete 18:15:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 18:15:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:15:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 18:15:08 prd-centos7-docker-4c-2g-2075 does not seem to be running inside a container 18:15:08 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 18:15:09 $ docker top d4242d511bab7dd31c2657a496623230a588f1ea72109bdaa8db57ba9ee20de8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:15:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:15:09 [ssh-agent] Looking for ssh-agent implementation... 18:15:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:09 $ docker exec d4242d511bab7dd31c2657a496623230a588f1ea72109bdaa8db57ba9ee20de8 ssh-agent 18:15:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfcHMaG/agent.13 18:15:09 SSH_AGENT_PID=20 18:15:09 Running ssh-add (command line suppressed) 18:15:09 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1824457028949069247.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1824457028949069247.key) 18:15:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:09 + git tag --points-at HEAD [Pipeline] } 18:15:09 $ docker exec --env ******** --env ******** d4242d511bab7dd31c2657a496623230a588f1ea72109bdaa8db57ba9ee20de8 ssh-agent -k 18:15:09 unset SSH_AUTH_SOCK; 18:15:09 unset SSH_AGENT_PID; 18:15:09 echo Agent pid 20 killed; 18:15:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:15:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:15:09 [ssh-agent] Looking for ssh-agent implementation... 18:15:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:15:10 $ docker exec d4242d511bab7dd31c2657a496623230a588f1ea72109bdaa8db57ba9ee20de8 ssh-agent 18:15:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCjIepM/agent.54 18:15:10 SSH_AGENT_PID=61 18:15:10 Running ssh-add (command line suppressed) 18:15:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4940788422863950928.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4940788422863950928.key) 18:15:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:15:10 + git semver init 18:15:10 # -> Open(): unable to determine branch for HEAD 18:15:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 18:15:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 18:15:10 # $SEMVER_REMOTE_NAME = origin 18:15:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:15:10 # $SEMVER_USER_NAME = edgex-jenkins 18:15:10 # $SEMVER_BRANCH = main 18:15:10 # $SEMVER_TEMP = /tmp/semver-274489143 18:15:10 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 18:15:11 # '/tmp/semver-274489143' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 18:15:11 # -> Force: false 18:15:11 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 18:15:11 $ docker exec --env ******** --env ******** d4242d511bab7dd31c2657a496623230a588f1ea72109bdaa8db57ba9ee20de8 ssh-agent -k 18:15:11 unset SSH_AUTH_SOCK; 18:15:11 unset SSH_AGENT_PID; 18:15:11 echo Agent pid 61 killed; 18:15:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:15:11 + git semver [Pipeline] } 18:15:11 $ docker stop --time=1 d4242d511bab7dd31c2657a496623230a588f1ea72109bdaa8db57ba9ee20de8 18:15:12 $ docker rm -f d4242d511bab7dd31c2657a496623230a588f1ea72109bdaa8db57ba9ee20de8 [Pipeline] // withDockerContainer [Pipeline] sh 18:15:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:15:13 Stashed 1 file(s) [Pipeline] echo 18:15:13 [edgeXSemver]: initialized semver on version 2.0.1-dev.12 [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] node [Pipeline] node 18:15:28 Still waiting to schedule task 18:15:28 Waiting for next available executor on ‘centos7-docker-4c-2g’ 18:15:28 Still waiting to schedule task 18:15:28 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 18:16:52 Running on prd-centos7-docker-4c-2g-2080 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 18:16:52 Running in /w/workspace/device-mqtt-go/14 [Pipeline] { [Pipeline] checkout 18:16:52 Selected Git installation does not exist. Using Default 18:16:52 The recommended git tool is: NONE 18:16:54 using credential edgex-jenkins-ssh 18:16:54 Cloning the remote Git repository 18:16:53 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:16:53 > git init /w/workspace/device-mqtt-go/14 # timeout=10 18:16:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:16:54 > git --version # timeout=10 18:16:54 > git --version # 'git version 2.24.4' 18:16:54 using GIT_SSH to set credentials SSH Credentials for GitHub 18:16:54 [INFO] Currently running in a labeled security context 18:16:54 [INFO] Currently SELinux is 'enforcing' on the host 18:16:54 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/14@tmp/jenkins-gitclient-ssh6487956530749984607.key 18:16:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:16:55 Avoid second fetch 18:16:55 Checking out Revision a06e272b6922a1d7524aeda6151acf418e859d75 (main) 18:16:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:16:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:16:54 > git config core.sparsecheckout # timeout=10 18:16:54 > git checkout -f a06e272b6922a1d7524aeda6151acf418e859d75 # timeout=10 18:16:59 Commit message: "build: bump device-sdk-go@v2.0.1-dev.23, go-mod-core-contracts@v2.0.1-dev.26 (#309)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:16:59 provisioning config files... 18:16:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/14@tmp/config3079273702239976743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:16:59 ---> docker-login.sh 18:16:59 nexus3.edgexfoundry.org:10001 18:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:16:59 Configure a credential helper to remove this warning. See 18:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:16:59 18:16:59 Login Succeeded 18:16:59 nexus3.edgexfoundry.org:10002 18:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:00 Configure a credential helper to remove this warning. See 18:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:00 18:17:00 Login Succeeded 18:17:00 nexus3.edgexfoundry.org:10003 18:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:00 Configure a credential helper to remove this warning. See 18:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:00 18:17:00 Login Succeeded 18:17:00 nexus3.edgexfoundry.org:10004 18:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:00 Configure a credential helper to remove this warning. See 18:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:00 18:17:00 Login Succeeded 18:17:00 docker.io 18:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:17:00 Configure a credential helper to remove this warning. See 18:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:17:00 18:17:00 Login Succeeded 18:17:00 ---> docker-login.sh ends [Pipeline] } 18:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:17:00 ========================================================= 18:17:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 18:17:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:17:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 18:17:01 Sending build context to Docker daemon 678.4kB 18:17:01 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 18:17:01 Step 2/11 : FROM ${BASE} AS builder 18:17:01 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 18:17:01 a0d0a0d46f8b: Pulling fs layer 18:17:01 31adcdaf11c8: Pulling fs layer 18:17:01 b8b176561691: Pulling fs layer 18:17:01 4527c011a84f: Pulling fs layer 18:17:01 5d74067f8e1e: Pulling fs layer 18:17:01 e0aca202a116: Pulling fs layer 18:17:01 3a43be97a3b4: Pulling fs layer 18:17:01 34cad66bf833: Pulling fs layer 18:17:01 b4e3c513aaa6: Pulling fs layer 18:17:01 4527c011a84f: Waiting 18:17:01 5d74067f8e1e: Waiting 18:17:01 e0aca202a116: Waiting 18:17:01 3a43be97a3b4: Waiting 18:17:01 34cad66bf833: Waiting 18:17:01 b4e3c513aaa6: Waiting 18:17:01 b8b176561691: Verifying Checksum 18:17:01 b8b176561691: Download complete 18:17:01 31adcdaf11c8: Verifying Checksum 18:17:01 31adcdaf11c8: Download complete 18:17:01 5d74067f8e1e: Verifying Checksum 18:17:01 5d74067f8e1e: Download complete 18:17:01 e0aca202a116: Verifying Checksum 18:17:01 e0aca202a116: Download complete 18:17:01 a0d0a0d46f8b: Verifying Checksum 18:17:01 a0d0a0d46f8b: Download complete 18:17:01 3a43be97a3b4: Verifying Checksum 18:17:01 3a43be97a3b4: Download complete 18:17:01 34cad66bf833: Verifying Checksum 18:17:01 34cad66bf833: Download complete 18:17:01 a0d0a0d46f8b: Pull complete 18:17:01 4527c011a84f: Verifying Checksum 18:17:01 4527c011a84f: Download complete 18:17:01 b4e3c513aaa6: Verifying Checksum 18:17:01 b4e3c513aaa6: Download complete 18:17:01 31adcdaf11c8: Pull complete 18:17:01 b8b176561691: Pull complete 18:17:05 4527c011a84f: Pull complete 18:17:05 5d74067f8e1e: Pull complete 18:17:05 e0aca202a116: Pull complete 18:17:05 3a43be97a3b4: Pull complete 18:17:05 34cad66bf833: Pull complete 18:17:08 b4e3c513aaa6: Pull complete 18:17:08 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 18:17:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 18:17:08 ---> 9f6097aaca64 18:17:08 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:17:10 ---> Running in 9f7e5c1e1dec 18:17:10 Removing intermediate container 9f7e5c1e1dec 18:17:10 ---> 022ea85f734e 18:17:10 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 18:17:10 ---> Running in 386d4d391626 18:17:10 Removing intermediate container 386d4d391626 18:17:10 ---> d8121947ef49 18:17:10 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:17:10 ---> Running in 71494b5f120e 18:17:10 Removing intermediate container 71494b5f120e 18:17:10 ---> b6fa28abc5d5 18:17:10 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:17:10 ---> Running in 34ee151883f9 18:17:10 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:17:11 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:17:12 (1/4) Installing openssh-keygen (8.6_p1-r3) 18:17:12 (2/4) Installing libedit (20210216.3.1-r0) 18:17:12 (3/4) Installing openssh-client-common (8.6_p1-r3) 18:17:12 (4/4) Installing openssh-client-default (8.6_p1-r3) 18:17:12 Executing busybox-1.33.1-r3.trigger 18:17:12 OK: 224 MiB in 56 packages 18:17:12 Removing intermediate container 34ee151883f9 18:17:12 ---> 0411981c19a3 18:17:12 Step 7/11 : WORKDIR /device-mqtt-go 18:17:12 ---> Running in f31032301471 18:17:12 Removing intermediate container f31032301471 18:17:12 ---> 92c0e2bf0805 18:17:12 Step 8/11 : COPY . . 18:17:13 ---> fb3999d1decf 18:17:13 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:17:13 ---> Running in f8045dc662f3 18:17:45 Removing intermediate container f8045dc662f3 18:17:45 ---> 6ac32494e6c3 18:17:45 Step 10/11 : ARG MAKE='make build' 18:17:45 ---> Running in 6f2c538d0199 18:17:45 Removing intermediate container 6f2c538d0199 18:17:45 ---> 4e9e1aef03e0 18:17:45 Step 11/11 : RUN $MAKE 18:17:45 ---> Running in fcb9e07c438e 18:17:45 noop 18:17:45 Removing intermediate container fcb9e07c438e 18:17:45 ---> 7db18b023a97 18:17:45 Successfully built 7db18b023a97 18:17:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:17:45 + docker inspect -f . ci-base-image-x86_64 18:17:45 . [Pipeline] withDockerContainer 18:17:45 prd-centos7-docker-4c-2g-2080 does not seem to be running inside a container 18:17:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:17:46 $ docker top 23c3575d2915dea5b327c88acfb78897ad49836c576fe7ef81d92bcd7bb7035c -eo pid,comm [Pipeline] { [Pipeline] sh 18:17:46 + go version 18:17:46 go version go1.16.8 linux/amd64 [Pipeline] } 18:17:46 $ docker stop --time=1 23c3575d2915dea5b327c88acfb78897ad49836c576fe7ef81d92bcd7bb7035c 18:17:47 $ docker rm -f 23c3575d2915dea5b327c88acfb78897ad49836c576fe7ef81d92bcd7bb7035c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:17:48 + docker inspect -f . ci-base-image-x86_64 18:17:48 . [Pipeline] withDockerContainer 18:17:48 prd-centos7-docker-4c-2g-2080 does not seem to be running inside a container 18:17:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:17:48 $ docker top 8717ff159b63e00e8ad8fefc1ea723fc71285a1d02c35b36c5b6b22e15343f61 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:17:49 + make test 18:17:49 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:17:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:18:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:18:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.4% of statements 18:18:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:18:07 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:18:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:18:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:18:11 ./bin/test-attribution-txt.sh [Pipeline] } 18:18:11 $ docker stop --time=1 8717ff159b63e00e8ad8fefc1ea723fc71285a1d02c35b36c5b6b22e15343f61 18:18:13 $ docker rm -f 8717ff159b63e00e8ad8fefc1ea723fc71285a1d02c35b36c5b6b22e15343f61 [Pipeline] // withDockerContainer [Pipeline] sh 18:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:18:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:18:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:18:14 + ls -al . 18:18:14 total 148 18:18:14 drwxrwxr-x. 9 jenkins jenkins 4096 Oct 26 18:18 . 18:18:14 drwxrwxr-x. 4 jenkins jenkins 30 Oct 26 18:16 .. 18:18:14 -rw-rw-r--. 1 jenkins jenkins 7287 Oct 26 18:16 Attribution.txt 18:18:14 drwxrwxr-x. 2 jenkins jenkins 60 Oct 26 18:16 bin 18:18:14 -rw-rw-r--. 1 jenkins jenkins 7447 Oct 26 18:16 CHANGELOG.md 18:18:14 drwxrwxr-x. 3 jenkins jenkins 32 Oct 26 18:16 cmd 18:18:14 -rw-r--r--. 1 jenkins jenkins 17284 Oct 26 18:18 coverage.out 18:18:14 -rw-rw-r--. 1 jenkins jenkins 1907 Oct 26 18:16 Dockerfile 18:18:14 -rw-rw-r--. 1 jenkins jenkins 140 Oct 26 18:16 .dockerignore 18:18:14 drwxrwxr-x. 8 jenkins jenkins 162 Oct 26 18:16 .git 18:18:14 drwxrwxr-x. 2 jenkins jenkins 103 Oct 26 18:16 .github 18:18:14 -rw-rw-r--. 1 jenkins jenkins 329 Oct 26 18:16 .gitignore 18:18:14 -rw-rw-r--. 1 jenkins jenkins 388 Oct 26 18:16 go.mod 18:18:14 -rw-rw-r--. 1 jenkins jenkins 50360 Oct 26 18:16 go.sum 18:18:14 -rw-rw-r--. 1 jenkins jenkins 677 Oct 26 18:16 GOVERNANCE.md 18:18:14 drwxrwxr-x. 3 jenkins jenkins 20 Oct 26 18:16 internal 18:18:14 -rw-rw-r--. 1 jenkins jenkins 677 Oct 26 18:16 Jenkinsfile 18:18:14 -rw-rw-r--. 1 jenkins jenkins 11340 Oct 26 18:16 LICENSE 18:18:14 -rw-rw-r--. 1 jenkins jenkins 1030 Oct 26 18:16 Makefile 18:18:14 drwxrwxr-x. 2 jenkins jenkins 23 Oct 26 18:16 mock 18:18:14 -rw-rw-r--. 1 jenkins jenkins 620 Oct 26 18:16 OWNERS.md 18:18:14 -rw-rw-r--. 1 jenkins jenkins 2211 Oct 26 18:16 README.md 18:18:14 drwxrwxr-x. 4 jenkins jenkins 71 Oct 26 18:16 snap 18:18:14 -rw-rw-r--. 1 jenkins jenkins 12 Oct 26 18:15 VERSION 18:18:14 -rw-rw-r--. 1 jenkins jenkins 227 Oct 26 18:16 version.go [Pipeline] isUnix [Pipeline] sh 18:18:15 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=a06e272b6922a1d7524aeda6151acf418e859d75 --label arch=amd64 --label version=2.0.1-dev.12 . 18:18:15 Sending build context to Docker daemon 696.3kB 18:18:15 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 18:18:15 Step 2/23 : FROM ${BASE} AS builder 18:18:15 ---> 7db18b023a97 18:18:15 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:18:15 ---> Running in 267129c8d37f 18:18:15 Removing intermediate container 267129c8d37f 18:18:15 ---> cd3cbfd1139d 18:18:15 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 18:18:15 ---> Running in 277a28cf7976 18:18:15 Removing intermediate container 277a28cf7976 18:18:15 ---> 76de6c93c8bb 18:18:15 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:18:15 ---> Running in d4be3eeddd4c 18:18:16 Removing intermediate container d4be3eeddd4c 18:18:16 ---> 97463f67994c 18:18:16 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:18:16 ---> Running in 412223877d48 18:18:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:18:16 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2082 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 18:18:16 Running in /w/workspace/device-mqtt-go/14 [Pipeline] { [Pipeline] checkout 18:18:16 Selected Git installation does not exist. Using Default 18:18:16 The recommended git tool is: NONE 18:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:18:17 OK: 224 MiB in 56 packages 18:18:17 Removing intermediate container 412223877d48 18:18:17 ---> 327b84296f3e 18:18:17 Step 7/23 : WORKDIR /device-mqtt-go 18:18:17 ---> Running in 495abf365521 18:18:17 Removing intermediate container 495abf365521 18:18:17 ---> 31bce7d450f3 18:18:17 Step 8/23 : COPY . . 18:18:18 ---> 9844fec23d83 18:18:18 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:18:18 ---> Running in e4f55c3ee177 18:18:19 Removing intermediate container e4f55c3ee177 18:18:19 ---> e48ca8d72083 18:18:19 Step 10/23 : ARG MAKE='make build' 18:18:19 ---> Running in 439e086c30c7 18:18:19 Removing intermediate container 439e086c30c7 18:18:19 ---> 0c844f4ec508 18:18:19 Step 11/23 : RUN $MAKE 18:18:19 ---> Running in eda59b9bfca3 18:18:19 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.12" -o cmd/device-mqtt ./cmd 18:18:23 using credential edgex-jenkins-ssh 18:18:23 Cloning the remote Git repository 18:18:23 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:18:23 > git init /w/workspace/device-mqtt-go/14 # timeout=10 18:18:23 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:18:23 > git --version # timeout=10 18:18:23 > git --version # 'git version 2.17.1' 18:18:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:18:23 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:18:24 Avoid second fetch 18:18:24 Checking out Revision a06e272b6922a1d7524aeda6151acf418e859d75 (main) 18:18:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:18:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:18:24 > git config core.sparsecheckout # timeout=10 18:18:24 > git checkout -f a06e272b6922a1d7524aeda6151acf418e859d75 # timeout=10 18:18:29 Commit message: "build: bump device-sdk-go@v2.0.1-dev.23, go-mod-core-contracts@v2.0.1-dev.26 (#309)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:18:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:18:30 % Total % Received % Xferd Average Speed Time Time Time Current 18:18:30 Dload Upload Total Spent Left Speed 18:18:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 18:18:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:18:30 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 18:18:30 /etc/docker/daemon.json 18:18:30 { 18:18:30 "registry-mirrors": [ 18:18:30 "https://nexus3.edgexfoundry.org:10001" 18:18:30 ], 18:18:30 "bip": "10.250.0.254/24", 18:18:30 "hosts": [ 18:18:30 "tcp://0.0.0.0:5555", 18:18:30 "unix:///var/run/docker.sock" 18:18:30 ], 18:18:30 "mtu": 1458, 18:18:30 "selinux-enabled": true, 18:18:30 "seccomp-profile": "/etc/docker/seccomp.json" 18:18:30 } [Pipeline] sh 18:18:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:18:31 + sudo service docker restart 18:18:31 Removing intermediate container eda59b9bfca3 18:18:31 ---> 621679c28a78 18:18:31 Step 12/23 : FROM alpine:3.14 18:18:31 3.14: Pulling from library/alpine 18:18:31 a0d0a0d46f8b: Already exists 18:18:31 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 18:18:31 Status: Downloaded newer image for alpine:3.14 18:18:31 ---> 14119a10abf4 18:18:31 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:18:31 ---> Running in 2a249f0435b5 18:18:31 Removing intermediate container 2a249f0435b5 18:18:31 ---> 245acbebb4fa 18:18:31 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 18:18:31 ---> Running in 8daaf1282b65 18:18:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:18:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:18:32 (1/6) Installing dumb-init (1.2.5-r1) 18:18:32 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:18:32 (3/6) Installing libsodium (1.0.18-r0) 18:18:32 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:18:32 (5/6) Installing libzmq (4.3.4-r0) 18:18:32 (6/6) Installing zeromq (4.3.4-r0) 18:18:32 Executing busybox-1.33.1-r3.trigger 18:18:32 OK: 8 MiB in 20 packages 18:18:32 Removing intermediate container 8daaf1282b65 18:18:32 ---> abce1ab21dc6 18:18:32 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 18:18:33 ---> 2c00e868cdac 18:18:33 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 18:18:33 ---> b71caf7de4e3 18:18:33 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:18:33 ---> 6f73939f058d 18:18:33 Step 18/23 : EXPOSE 59982 18:18:33 ---> Running in f5d87cf806c7 18:18:33 Removing intermediate container f5d87cf806c7 18:18:33 ---> 2456d9b64c5b 18:18:33 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 18:18:33 ---> Running in 463b2890084d 18:18:33 Removing intermediate container 463b2890084d 18:18:33 ---> 2dfbb0c0d99d 18:18:33 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:18:33 ---> Running in f414b0e07c20 18:18:33 Removing intermediate container f414b0e07c20 18:18:33 ---> 8937c1a15008 18:18:33 Step 21/23 : LABEL arch=amd64 18:18:33 ---> Running in 9f9f93df3836 18:18:33 Removing intermediate container 9f9f93df3836 18:18:33 ---> f16663f1f52f 18:18:33 Step 22/23 : LABEL git_sha=a06e272b6922a1d7524aeda6151acf418e859d75 18:18:33 ---> Running in 8ff30d0d7e2a 18:18:33 Removing intermediate container 8ff30d0d7e2a 18:18:33 ---> ce254b84977c 18:18:33 Step 23/23 : LABEL version=2.0.1-dev.12 18:18:34 ---> Running in 1da44826e761 18:18:34 Removing intermediate container 1da44826e761 18:18:34 ---> 292b72fa2f5a 18:18:34 [Warning] One or more build-args [ARCH] were not consumed 18:18:34 Successfully built 292b72fa2f5a 18:18:34 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:18:34 provisioning config files... 18:18:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/14@tmp/config9041651560278497825tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:34 ---> docker-login.sh 18:18:34 nexus3.edgexfoundry.org:10001 18:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:34 Configure a credential helper to remove this warning. See 18:18:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:34 18:18:34 Login Succeeded 18:18:34 nexus3.edgexfoundry.org:10002 18:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:34 Configure a credential helper to remove this warning. See 18:18:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:34 18:18:34 Login Succeeded 18:18:34 nexus3.edgexfoundry.org:10003 18:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:34 Configure a credential helper to remove this warning. See 18:18:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:34 18:18:34 Login Succeeded 18:18:34 nexus3.edgexfoundry.org:10004 18:18:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:34 Configure a credential helper to remove this warning. See 18:18:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:34 18:18:34 Login Succeeded 18:18:34 docker.io 18:18:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:35 Configure a credential helper to remove this warning. See 18:18:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:35 18:18:35 Login Succeeded 18:18:35 ---> docker-login.sh ends [Pipeline] } 18:18:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:18:35 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 18:18:35 a06e272b6922a1d7524aeda6151acf418e859d75 18:18:35 latest 18:18:35 2.0.1-dev.12 18:18:35 a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12 18:18:35 main 18:18:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:18:35 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a06e272b6922a1d7524aeda6151acf418e859d75 [Pipeline] isUnix [Pipeline] sh 18:18:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a06e272b6922a1d7524aeda6151acf418e859d75 18:18:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:18:36 5851d6e6f732: Preparing 18:18:36 6abf38696411: Preparing 18:18:36 6049d2622490: Preparing 18:18:36 7af4c330695d: Preparing 18:18:36 e2eb06d8af82: Preparing 18:18:36 e2eb06d8af82: Layer already exists 18:18:36 6abf38696411: Pushed 18:18:36 5851d6e6f732: Pushed 18:18:36 7af4c330695d: Pushed 18:18:37 6049d2622490: Pushed 18:18:37 a06e272b6922a1d7524aeda6151acf418e859d75: digest: sha256:82c36cd06e2823c0c35febef56208d9d1b39908483bf6683ca1ecca97a5ab4ce size: 1366 [Pipeline] isUnix [Pipeline] sh 18:18:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 18:18:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:18:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:18:37 5851d6e6f732: Preparing 18:18:37 6abf38696411: Preparing 18:18:37 6049d2622490: Preparing 18:18:37 7af4c330695d: Preparing 18:18:37 e2eb06d8af82: Preparing 18:18:37 5851d6e6f732: Layer already exists 18:18:37 6abf38696411: Layer already exists 18:18:37 6049d2622490: Layer already exists 18:18:37 e2eb06d8af82: Layer already exists 18:18:37 7af4c330695d: Layer already exists 18:18:37 latest: digest: sha256:82c36cd06e2823c0c35febef56208d9d1b39908483bf6683ca1ecca97a5ab4ce size: 1366 [Pipeline] isUnix [Pipeline] sh 18:18:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh 18:18:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.12 18:18:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:18:38 5851d6e6f732: Preparing 18:18:38 6abf38696411: Preparing 18:18:38 6049d2622490: Preparing 18:18:38 7af4c330695d: Preparing 18:18:38 e2eb06d8af82: Preparing 18:18:38 e2eb06d8af82: Layer already exists 18:18:38 5851d6e6f732: Layer already exists 18:18:38 6abf38696411: Layer already exists 18:18:38 7af4c330695d: Layer already exists 18:18:38 6049d2622490: Layer already exists 18:18:38 2.0.1-dev.12: digest: sha256:82c36cd06e2823c0c35febef56208d9d1b39908483bf6683ca1ecca97a5ab4ce size: 1366 [Pipeline] isUnix [Pipeline] sh 18:18:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh 18:18:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12 18:18:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:18:39 5851d6e6f732: Preparing 18:18:39 6abf38696411: Preparing 18:18:39 6049d2622490: Preparing 18:18:39 7af4c330695d: Preparing 18:18:39 e2eb06d8af82: Preparing 18:18:39 7af4c330695d: Layer already exists 18:18:39 6abf38696411: Layer already exists 18:18:39 e2eb06d8af82: Layer already exists 18:18:39 5851d6e6f732: Layer already exists 18:18:39 6049d2622490: Layer already exists 18:18:39 a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12: digest: sha256:82c36cd06e2823c0c35febef56208d9d1b39908483bf6683ca1ecca97a5ab4ce size: 1366 [Pipeline] isUnix [Pipeline] sh 18:18:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 18:18:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 18:18:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 18:18:39 5851d6e6f732: Preparing 18:18:39 6abf38696411: Preparing 18:18:39 6049d2622490: Preparing 18:18:39 7af4c330695d: Preparing 18:18:39 e2eb06d8af82: Preparing 18:18:39 e2eb06d8af82: Layer already exists 18:18:39 6abf38696411: Layer already exists 18:18:39 6049d2622490: Layer already exists 18:18:39 5851d6e6f732: Layer already exists 18:18:39 7af4c330695d: Layer already exists 18:18:39 main: digest: sha256:82c36cd06e2823c0c35febef56208d9d1b39908483bf6683ca1ecca97a5ab4ce size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:18:39 ===================================================== [Pipeline] echo 18:18:39 taggedImages: 18:18:39 - nexus3.edgexfoundry.org:10004/device-mqtt:a06e272b6922a1d7524aeda6151acf418e859d75 18:18:39 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 18:18:39 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.12 18:18:39 - nexus3.edgexfoundry.org:10004/device-mqtt:a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12 18:18:39 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:18:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:18:40 18:18:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:18:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:18:40 latest: Pulling from edgex-lftools-log-publisher 18:18:40 b4d181a07f80: Pulling fs layer 18:18:40 a1111a8f2ec3: Pulling fs layer 18:18:40 ed53099fbce6: Pulling fs layer 18:18:40 dc539afda2c1: Pulling fs layer 18:18:40 77bc0d833cb6: Pulling fs layer 18:18:40 9065ff56babe: Pulling fs layer 18:18:40 d287ab97295c: Pulling fs layer 18:18:40 dc539afda2c1: Waiting 18:18:40 9065ff56babe: Waiting 18:18:40 d287ab97295c: Waiting 18:18:40 77bc0d833cb6: Waiting 18:18:40 a1111a8f2ec3: Verifying Checksum 18:18:40 a1111a8f2ec3: Download complete 18:18:40 dc539afda2c1: Verifying Checksum 18:18:40 dc539afda2c1: Download complete 18:18:40 ed53099fbce6: Verifying Checksum 18:18:40 ed53099fbce6: Download complete 18:18:40 9065ff56babe: Verifying Checksum 18:18:40 9065ff56babe: Download complete 18:18:40 77bc0d833cb6: Verifying Checksum 18:18:40 77bc0d833cb6: Download complete 18:18:40 b4d181a07f80: Verifying Checksum 18:18:40 b4d181a07f80: Download complete 18:18:41 d287ab97295c: Verifying Checksum 18:18:41 d287ab97295c: Download complete 18:18:42 b4d181a07f80: Pull complete 18:18:42 a1111a8f2ec3: Pull complete 18:18:43 ed53099fbce6: Pull complete 18:18:43 dc539afda2c1: Pull complete 18:18:43 77bc0d833cb6: Pull complete 18:18:43 9065ff56babe: Pull complete 18:18:48 d287ab97295c: Pull complete 18:18:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:18:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:18:48 prd-centos7-docker-4c-2g-2080 does not seem to be running inside a container 18:18:48 $ 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/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@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 18:18:51 $ docker top 8a652a66566906aec4164664b4cf7d2e796d0d40efbf942aec0da04b2f523e04 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 18:18:51 provisioning config files... 18:18:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/14@tmp/config2983550044268908871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:18:51 ---> job-cost.sh 18:18:51 lf-activate-venv: SKIPPING 18:18:51 INFO: No Stack... 18:18:52 ---> docker-login.sh 18:18:52 nexus3.edgexfoundry.org:10001 18:18:52 INFO: Retrieving Pricing Info for: v3-standard-2 18:18:52 INFO: Archiving Costs [Pipeline] sh 18:18:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:52 + cat /w/workspace/device-mqtt-go/14/archives/cost.csv 18:18:52 + cut -d, -f6 [Pipeline] lock 18:18:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-14-stack-cost] 18:18:52 Resource [jenkins-edgexfoundry-device-mqtt-go-main-14-stack-cost] did not exist. Created. 18:18:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:18:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:52 Configure a credential helper to remove this warning. See 18:18:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:52 18:18:52 Login Succeeded 18:18:53 + echo total: 0.05999999865889549 [Pipeline] stash 18:18:53 Stashed 1 file(s) [Pipeline] } 18:18:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } 18:18:53 $ docker stop --time=1 8a652a66566906aec4164664b4cf7d2e796d0d40efbf942aec0da04b2f523e04 18:18:53 nexus3.edgexfoundry.org:10002 18:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:53 Configure a credential helper to remove this warning. See 18:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:53 18:18:53 Login Succeeded 18:18:53 nexus3.edgexfoundry.org:10003 18:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:54 $ docker rm -f 8a652a66566906aec4164664b4cf7d2e796d0d40efbf942aec0da04b2f523e04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 18:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:54 Configure a credential helper to remove this warning. See 18:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:54 18:18:54 Login Succeeded 18:18:54 nexus3.edgexfoundry.org:10004 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:18:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:54 Configure a credential helper to remove this warning. See 18:18:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:54 18:18:54 Login Succeeded 18:18:54 docker.io 18:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:18:55 Configure a credential helper to remove this warning. See 18:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:18:55 18:18:55 Login Succeeded 18:18:55 ---> docker-login.sh ends [Pipeline] } 18:18:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:18:56 ========================================================= 18:18:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 18:18:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:18:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 18:18:57 Sending build context to Docker daemon 677.9kB 18:18:57 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 18:18:57 Step 2/11 : FROM ${BASE} AS builder 18:18:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:18:57 552d1f2373af: Pulling fs layer 18:18:57 ea3f2d53f512: Pulling fs layer 18:18:57 9e70ebbbe112: Pulling fs layer 18:18:57 7a9cfe048b4a: Pulling fs layer 18:18:57 72dc09318566: Pulling fs layer 18:18:57 f4f7b4309257: Pulling fs layer 18:18:57 0ac9a79272e3: Pulling fs layer 18:18:57 b78e95d17946: Pulling fs layer 18:18:57 7a9cfe048b4a: Waiting 18:18:57 72dc09318566: Waiting 18:18:57 f4f7b4309257: Waiting 18:18:57 b78e95d17946: Waiting 18:18:57 9e70ebbbe112: Verifying Checksum 18:18:57 9e70ebbbe112: Download complete 18:18:57 ea3f2d53f512: Verifying Checksum 18:18:57 ea3f2d53f512: Download complete 18:18:57 72dc09318566: Verifying Checksum 18:18:57 72dc09318566: Download complete 18:18:57 f4f7b4309257: Verifying Checksum 18:18:57 f4f7b4309257: Download complete 18:18:57 552d1f2373af: Verifying Checksum 18:18:57 552d1f2373af: Download complete 18:18:57 0ac9a79272e3: Verifying Checksum 18:18:57 0ac9a79272e3: Download complete 18:18:58 552d1f2373af: Pull complete 18:18:59 ea3f2d53f512: Pull complete 18:18:59 9e70ebbbe112: Pull complete 18:18:59 b78e95d17946: Verifying Checksum 18:18:59 b78e95d17946: Download complete 18:19:00 7a9cfe048b4a: Verifying Checksum 18:19:00 7a9cfe048b4a: Download complete 18:19:12 7a9cfe048b4a: Pull complete 18:19:12 72dc09318566: Pull complete 18:19:12 f4f7b4309257: Pull complete 18:19:12 0ac9a79272e3: Pull complete 18:19:18 b78e95d17946: Pull complete 18:19:18 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 18:19:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 18:19:18 ---> 8b459fc5aaf0 18:19:18 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:19:18 ---> Running in 4ecbf66ae1d8 18:19:19 Removing intermediate container 4ecbf66ae1d8 18:19:19 ---> 6df9284ecba0 18:19:19 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 18:19:19 ---> Running in da93047055a6 18:19:20 Removing intermediate container da93047055a6 18:19:20 ---> 51fc5d67b9de 18:19:20 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:19:20 ---> Running in 9e0e37a4bc5d 18:19:22 Removing intermediate container 9e0e37a4bc5d 18:19:22 ---> c5766c75a30c 18:19:22 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:19:22 ---> Running in 91e85ce01a1a 18:19:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:19:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:19:25 (1/4) Installing openssh-keygen (8.6_p1-r3) 18:19:26 (2/4) Installing libedit (20210216.3.1-r0) 18:19:26 (3/4) Installing openssh-client-common (8.6_p1-r3) 18:19:26 (4/4) Installing openssh-client-default (8.6_p1-r3) 18:19:26 Executing busybox-1.33.1-r3.trigger 18:19:26 OK: 223 MiB in 56 packages 18:19:27 Removing intermediate container 91e85ce01a1a 18:19:27 ---> ed68c976ed10 18:19:27 Step 7/11 : WORKDIR /device-mqtt-go 18:19:27 ---> Running in b0ceded63c82 18:19:28 Removing intermediate container b0ceded63c82 18:19:28 ---> 2cc18ca479fb 18:19:28 Step 8/11 : COPY . . 18:19:29 ---> a7de6571c37d 18:19:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:19:29 ---> Running in 14953a0b015c 18:20:51 Removing intermediate container 14953a0b015c 18:20:51 ---> 01848f113552 18:20:51 Step 10/11 : ARG MAKE='make build' 18:20:51 ---> Running in 829a8dca6fcd 18:20:51 Removing intermediate container 829a8dca6fcd 18:20:51 ---> a57eb9517de8 18:20:51 Step 11/11 : RUN $MAKE 18:20:51 ---> Running in 9c9c691129fb 18:20:51 noop 18:20:51 Removing intermediate container 9c9c691129fb 18:20:51 ---> f0a7925ade4d 18:20:51 Successfully built f0a7925ade4d 18:20:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:20:51 + docker inspect -f . ci-base-image-arm64 18:20:51 . [Pipeline] withDockerContainer 18:20:52 prd-ubuntu18.04-docker-arm64-4c-16g-2082 does not seem to be running inside a container 18:20:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:20:54 $ docker top 470531fd813875f4545a124028975111f7ab4de3ce885da25b9d78b4910fff90 -eo pid,comm [Pipeline] { [Pipeline] sh 18:20:55 + go version 18:20:55 go version go1.16.8 linux/arm64 [Pipeline] } 18:20:55 $ docker stop --time=1 470531fd813875f4545a124028975111f7ab4de3ce885da25b9d78b4910fff90 18:20:56 $ docker rm -f 470531fd813875f4545a124028975111f7ab4de3ce885da25b9d78b4910fff90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:20:57 + docker inspect -f . ci-base-image-arm64 18:20:57 . [Pipeline] withDockerContainer 18:20:58 prd-ubuntu18.04-docker-arm64-4c-16g-2082 does not seem to be running inside a container 18:20:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:20:59 $ docker top aa83a64f31b2574206220ce1f012a91a5058db6acf1b0a87f90c71cd127c44c2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:21:00 + make test 18:21:00 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:21:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:22:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:22:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.4% of statements 18:22:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:22:11 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:22:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:22:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:22:37 ./bin/test-attribution-txt.sh [Pipeline] } 18:22:38 $ docker stop --time=1 aa83a64f31b2574206220ce1f012a91a5058db6acf1b0a87f90c71cd127c44c2 18:22:40 $ docker rm -f aa83a64f31b2574206220ce1f012a91a5058db6acf1b0a87f90c71cd127c44c2 [Pipeline] // withDockerContainer [Pipeline] sh 18:22:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:22:41 Warning: overwriting stash ‘coverage-report’ 18:22:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:22:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:22:43 + ls -al . 18:22:43 total 180 18:22:43 drwxrwxr-x 9 jenkins jenkins 4096 Oct 26 18:22 . 18:22:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 18:18 .. 18:22:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 18:18 .dockerignore 18:22:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 18:18 .git 18:22:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 18:18 .github 18:22:43 -rw-rw-r-- 1 jenkins jenkins 329 Oct 26 18:18 .gitignore 18:22:43 -rw-rw-r-- 1 jenkins jenkins 7287 Oct 26 18:18 Attribution.txt 18:22:43 -rw-rw-r-- 1 jenkins jenkins 7447 Oct 26 18:18 CHANGELOG.md 18:22:43 -rw-rw-r-- 1 jenkins jenkins 1907 Oct 26 18:18 Dockerfile 18:22:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 18:18 GOVERNANCE.md 18:22:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 18:18 Jenkinsfile 18:22:43 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 26 18:18 LICENSE 18:22:43 -rw-rw-r-- 1 jenkins jenkins 1030 Oct 26 18:18 Makefile 18:22:43 -rw-rw-r-- 1 jenkins jenkins 620 Oct 26 18:18 OWNERS.md 18:22:43 -rw-rw-r-- 1 jenkins jenkins 2211 Oct 26 18:18 README.md 18:22:43 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 18:15 VERSION 18:22:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 18:18 bin 18:22:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:18 cmd 18:22:43 -rw-r--r-- 1 jenkins jenkins 17284 Oct 26 18:22 coverage.out 18:22:43 -rw-rw-r-- 1 jenkins jenkins 388 Oct 26 18:18 go.mod 18:22:43 -rw-rw-r-- 1 jenkins jenkins 50360 Oct 26 18:18 go.sum 18:22:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 18:18 internal 18:22:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 18:18 mock 18:22:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 18:18 snap 18:22:43 -rw-rw-r-- 1 jenkins jenkins 227 Oct 26 18:18 version.go [Pipeline] isUnix [Pipeline] sh 18:22:43 + 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=a06e272b6922a1d7524aeda6151acf418e859d75 --label arch=arm64 --label version=2.0.1-dev.12 . 18:22:43 Sending build context to Docker daemon 695.8kB 18:22:44 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 18:22:44 Step 2/23 : FROM ${BASE} AS builder 18:22:44 ---> f0a7925ade4d 18:22:44 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:22:44 ---> Running in c0e41cb1c418 18:22:44 Removing intermediate container c0e41cb1c418 18:22:44 ---> 17daa83684c6 18:22:44 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 18:22:44 ---> Running in c324b459d3b3 18:22:44 Removing intermediate container c324b459d3b3 18:22:44 ---> e20d622171c5 18:22:44 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:22:45 ---> Running in 3f2af4322744 18:22:47 Removing intermediate container 3f2af4322744 18:22:47 ---> 6cbfab098e72 18:22:47 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:22:47 ---> Running in e5e092f20605 18:22:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:22:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:22:51 OK: 223 MiB in 56 packages 18:22:52 Removing intermediate container e5e092f20605 18:22:52 ---> ff984b532a99 18:22:52 Step 7/23 : WORKDIR /device-mqtt-go 18:22:52 ---> Running in ddc9340d1792 18:22:52 Removing intermediate container ddc9340d1792 18:22:52 ---> df805c278bd7 18:22:52 Step 8/23 : COPY . . 18:22:53 ---> 009b65bb9b08 18:22:53 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:22:53 ---> Running in 1a4c161b472e 18:22:56 Removing intermediate container 1a4c161b472e 18:22:56 ---> a77bb4936752 18:22:56 Step 10/23 : ARG MAKE='make build' 18:22:56 ---> Running in e8831f0c0dd3 18:22:57 Removing intermediate container e8831f0c0dd3 18:22:57 ---> 5ca377c2e5f8 18:22:57 Step 11/23 : RUN $MAKE 18:22:57 ---> Running in 4f6e1444873b 18:22:58 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.12" -o cmd/device-mqtt ./cmd 18:23:45 Removing intermediate container 4f6e1444873b 18:23:45 ---> 81d5edc4ed2f 18:23:45 Step 12/23 : FROM alpine:3.14 18:23:45 3.14: Pulling from library/alpine 18:23:45 552d1f2373af: Already exists 18:23:45 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 18:23:45 Status: Downloaded newer image for alpine:3.14 18:23:45 ---> bb3de5531c18 18:23:45 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:23:45 ---> Running in ccf416792733 18:23:45 Removing intermediate container ccf416792733 18:23:45 ---> da7f82addfb0 18:23:45 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 18:23:45 ---> Running in 022f35ee7d0c 18:23:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:23:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:23:48 (1/6) Installing dumb-init (1.2.5-r1) 18:23:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:23:48 (3/6) Installing libsodium (1.0.18-r0) 18:23:48 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:23:48 (5/6) Installing libzmq (4.3.4-r0) 18:23:48 (6/6) Installing zeromq (4.3.4-r0) 18:23:48 Executing busybox-1.33.1-r3.trigger 18:23:48 OK: 8 MiB in 20 packages 18:23:49 Removing intermediate container 022f35ee7d0c 18:23:49 ---> cd87a8cae1c6 18:23:49 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 18:23:50 ---> 2d266e3e8fba 18:23:50 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 18:23:51 ---> 1c69ca201aeb 18:23:51 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:23:52 ---> f01d08e27c04 18:23:52 Step 18/23 : EXPOSE 59982 18:23:52 ---> Running in 8f6a6888c6f7 18:23:53 Removing intermediate container 8f6a6888c6f7 18:23:53 ---> 0f974afadf79 18:23:53 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 18:23:53 ---> Running in 4a222463b153 18:23:53 Removing intermediate container 4a222463b153 18:23:53 ---> 7aee4165862d 18:23:53 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:23:53 ---> Running in 8716fe4fdfc0 18:23:53 Removing intermediate container 8716fe4fdfc0 18:23:53 ---> 513cb0e65108 18:23:53 Step 21/23 : LABEL arch=arm64 18:23:53 ---> Running in 5adb10bac959 18:23:54 Removing intermediate container 5adb10bac959 18:23:54 ---> 5c883bda269b 18:23:54 Step 22/23 : LABEL git_sha=a06e272b6922a1d7524aeda6151acf418e859d75 18:23:54 ---> Running in bbb452a65d83 18:23:54 Removing intermediate container bbb452a65d83 18:23:54 ---> 344cdf6b70bd 18:23:54 Step 23/23 : LABEL version=2.0.1-dev.12 18:23:54 ---> Running in 7f5d0a9707e2 18:23:55 Removing intermediate container 7f5d0a9707e2 18:23:55 ---> 376405f1b05c 18:23:55 [Warning] One or more build-args [ARCH] were not consumed 18:23:55 Successfully built 376405f1b05c 18:23:55 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 18:23:55 provisioning config files... 18:23:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/14@tmp/config6735787483125108628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:23:56 ---> docker-login.sh 18:23:56 nexus3.edgexfoundry.org:10001 18:23:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:56 Configure a credential helper to remove this warning. See 18:23:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:56 18:23:56 Login Succeeded 18:23:56 nexus3.edgexfoundry.org:10002 18:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:57 Configure a credential helper to remove this warning. See 18:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:57 18:23:57 Login Succeeded 18:23:57 nexus3.edgexfoundry.org:10003 18:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:58 Configure a credential helper to remove this warning. See 18:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:58 18:23:58 Login Succeeded 18:23:58 nexus3.edgexfoundry.org:10004 18:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:58 Configure a credential helper to remove this warning. See 18:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:58 18:23:58 Login Succeeded 18:23:58 docker.io 18:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:23:59 Configure a credential helper to remove this warning. See 18:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:23:59 18:23:59 Login Succeeded 18:23:59 ---> docker-login.sh ends [Pipeline] } 18:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:23:59 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 18:23:59 a06e272b6922a1d7524aeda6151acf418e859d75 18:23:59 latest 18:23:59 2.0.1-dev.12 18:23:59 a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12 18:23:59 main 18:23:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:24:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a06e272b6922a1d7524aeda6151acf418e859d75 [Pipeline] isUnix [Pipeline] sh 18:24:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a06e272b6922a1d7524aeda6151acf418e859d75 18:24:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:24:00 7b8c74f33f5f: Preparing 18:24:00 a99f8db8f1e0: Preparing 18:24:00 40ae613dbf8f: Preparing 18:24:00 130779a637cc: Preparing 18:24:00 ee420dfed78a: Preparing 18:24:00 ee420dfed78a: Layer already exists 18:24:00 a99f8db8f1e0: Pushed 18:24:00 7b8c74f33f5f: Pushed 18:24:01 130779a637cc: Pushed 18:24:03 40ae613dbf8f: Pushed 18:24:03 a06e272b6922a1d7524aeda6151acf418e859d75: digest: sha256:0cd54349dabec6a6ca237c2d0a6eb2d18aa3364643223f3475879dca474767af size: 1365 [Pipeline] isUnix [Pipeline] sh 18:24:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:24:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:24:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:24:04 7b8c74f33f5f: Preparing 18:24:04 a99f8db8f1e0: Preparing 18:24:04 40ae613dbf8f: Preparing 18:24:04 130779a637cc: Preparing 18:24:04 ee420dfed78a: Preparing 18:24:05 40ae613dbf8f: Layer already exists 18:24:05 130779a637cc: Layer already exists 18:24:05 a99f8db8f1e0: Layer already exists 18:24:05 7b8c74f33f5f: Layer already exists 18:24:05 ee420dfed78a: Layer already exists 18:24:05 latest: digest: sha256:0cd54349dabec6a6ca237c2d0a6eb2d18aa3364643223f3475879dca474767af size: 1365 [Pipeline] isUnix [Pipeline] sh 18:24:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh 18:24:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.12 18:24:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:24:05 7b8c74f33f5f: Preparing 18:24:05 a99f8db8f1e0: Preparing 18:24:05 40ae613dbf8f: Preparing 18:24:05 130779a637cc: Preparing 18:24:05 ee420dfed78a: Preparing 18:24:06 40ae613dbf8f: Layer already exists 18:24:06 ee420dfed78a: Layer already exists 18:24:06 130779a637cc: Layer already exists 18:24:06 a99f8db8f1e0: Layer already exists 18:24:06 7b8c74f33f5f: Layer already exists 18:24:06 2.0.1-dev.12: digest: sha256:0cd54349dabec6a6ca237c2d0a6eb2d18aa3364643223f3475879dca474767af size: 1365 [Pipeline] isUnix [Pipeline] sh 18:24:06 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12 [Pipeline] isUnix [Pipeline] sh 18:24:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12 18:24:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:24:06 7b8c74f33f5f: Preparing 18:24:06 a99f8db8f1e0: Preparing 18:24:06 40ae613dbf8f: Preparing 18:24:06 130779a637cc: Preparing 18:24:06 ee420dfed78a: Preparing 18:24:07 ee420dfed78a: Layer already exists 18:24:07 a99f8db8f1e0: Layer already exists 18:24:07 40ae613dbf8f: Layer already exists 18:24:07 7b8c74f33f5f: Layer already exists 18:24:07 130779a637cc: Layer already exists 18:24:07 a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12: digest: sha256:0cd54349dabec6a6ca237c2d0a6eb2d18aa3364643223f3475879dca474767af size: 1365 [Pipeline] isUnix [Pipeline] sh 18:24:07 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 18:24:07 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 18:24:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 18:24:07 7b8c74f33f5f: Preparing 18:24:07 a99f8db8f1e0: Preparing 18:24:07 40ae613dbf8f: Preparing 18:24:07 130779a637cc: Preparing 18:24:07 ee420dfed78a: Preparing 18:24:08 ee420dfed78a: Layer already exists 18:24:08 40ae613dbf8f: Layer already exists 18:24:08 130779a637cc: Layer already exists 18:24:08 a99f8db8f1e0: Layer already exists 18:24:08 7b8c74f33f5f: Layer already exists 18:24:08 main: digest: sha256:0cd54349dabec6a6ca237c2d0a6eb2d18aa3364643223f3475879dca474767af size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:24:08 ===================================================== [Pipeline] echo 18:24:08 taggedImages: 18:24:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a06e272b6922a1d7524aeda6151acf418e859d75 18:24:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 18:24:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.12 18:24:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:a06e272b6922a1d7524aeda6151acf418e859d75-2.0.1-dev.12 18:24:08 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:24:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:08 18:24:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:24:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:09 arm64: Pulling from edgex-lftools-log-publisher 18:24:09 448f6bf000e3: Pulling fs layer 18:24:09 f757da607395: Pulling fs layer 18:24:09 05883995daec: Pulling fs layer 18:24:09 8603b9c90790: Pulling fs layer 18:24:09 1560dd03e051: Pulling fs layer 18:24:09 27f5ce0e4adf: Pulling fs layer 18:24:09 c2d8d7efcc4b: Pulling fs layer 18:24:09 1560dd03e051: Waiting 18:24:09 8603b9c90790: Waiting 18:24:09 27f5ce0e4adf: Waiting 18:24:09 c2d8d7efcc4b: Waiting 18:24:09 f757da607395: Verifying Checksum 18:24:09 f757da607395: Download complete 18:24:09 8603b9c90790: Verifying Checksum 18:24:09 8603b9c90790: Download complete 18:24:09 1560dd03e051: Verifying Checksum 18:24:09 1560dd03e051: Download complete 18:24:09 27f5ce0e4adf: Download complete 18:24:09 05883995daec: Verifying Checksum 18:24:09 05883995daec: Download complete 18:24:10 448f6bf000e3: Verifying Checksum 18:24:10 448f6bf000e3: Download complete 18:24:12 c2d8d7efcc4b: Verifying Checksum 18:24:12 c2d8d7efcc4b: Download complete 18:24:13 448f6bf000e3: Pull complete 18:24:14 f757da607395: Pull complete 18:24:16 05883995daec: Pull complete 18:24:16 8603b9c90790: Pull complete 18:24:17 1560dd03e051: Pull complete 18:24:17 27f5ce0e4adf: Pull complete 18:24:33 c2d8d7efcc4b: Pull complete 18:24:33 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 18:24:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:24:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:24:33 prd-ubuntu18.04-docker-arm64-4c-16g-2082 does not seem to be running inside a container 18:24:33 $ 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/14 -v /w/workspace/device-mqtt-go/14:/w/workspace/device-mqtt-go/14:rw,z -v /w/workspace/device-mqtt-go/14@tmp:/w/workspace/device-mqtt-go/14@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:24:36 $ docker top 9b2cc82c3018488dddd9d98997c8ef6ad1cb08a9476399a54005222d65654625 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:37 ---> job-cost.sh 18:24:37 lf-activate-venv: SKIPPING 18:24:37 INFO: No Stack... 18:24:41 INFO: Retrieving Pricing Info for: v3-standard-4 18:24:41 INFO: Archiving Costs [Pipeline] sh 18:24:42 + cut -d, -f6 18:24:42 + cat /w/workspace/device-mqtt-go/14/archives/cost.csv [Pipeline] lock 18:24:42 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-14-stack-cost] 18:24:42 Resource [jenkins-edgexfoundry-device-mqtt-go-main-14-stack-cost] did not exist. Created. 18:24:42 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:24:42 /w/workspace/device-mqtt-go/14@tmp/durable-ef859ec7/script.sh: 1: /w/workspace/device-mqtt-go/14@tmp/durable-ef859ec7/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 18:24:43 + echo total: 0.10999999940395355 [Pipeline] stash 18:24:43 Warning: overwriting stash ‘stack-cost’ 18:24:43 Stashed 1 file(s) [Pipeline] } 18:24:43 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-14-stack-cost] [Pipeline] // lock [Pipeline] } 18:24:43 $ docker stop --time=1 9b2cc82c3018488dddd9d98997c8ef6ad1cb08a9476399a54005222d65654625 18:24:45 $ docker rm -f 9b2cc82c3018488dddd9d98997c8ef6ad1cb08a9476399a54005222d65654625 [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 18:24:45 provisioning config files... 18:24:45 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1037369993362911190tmp [Pipeline] { [Pipeline] sh 18:24:46 + set +x 18:24:46 + curl -s https://codecov.io/bash 18:24:46 + bash -s -- 18:24:46 18:24:46 _____ _ 18:24:46 / ____| | | 18:24:46 | | ___ __| | ___ ___ _____ __ 18:24:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:24:46 | |___| (_) | (_| | __/ (_| (_) \ V / 18:24:46 \_____\___/ \__,_|\___|\___\___/ \_/ 18:24:46 Bash-1.0.6 18:24:46 18:24:46 18:24:46 ==> git version 2.24.4 found 18:24:46 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 18:24:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 18:24:46 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 18:24:46 ==> Jenkins CI detected. 18:24:46 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 18:24:46 project root: . 18:24:46 --> token set from env 18:24:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:24:46 ==> Running gcov in . (disable via -X gcov) 18:24:46 ==> Python coveragepy not found 18:24:46 ==> Searching for coverage reports in: 18:24:46 + . 18:24:46 -> Found 1 reports 18:24:46 ==> Detecting git/mercurial file structure 18:24:46 ==> Reading reports 18:24:46 + ./coverage.out bytes=17284 18:24:46 ==> Appending adjustments 18:24:46 https://docs.codecov.io/docs/fixing-reports 18:24:46 + Found adjustments 18:24:46 ==> Gzipping contents 18:24:46 4.0K /tmp/codecov.pVKpOI.gz 18:24:46 ==> Uploading reports 18:24:46 url: https://codecov.io 18:24:46 query: branch=main&commit=a06e272b6922a1d7524aeda6151acf418e859d75&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:24:46 -> Pinging Codecov 18:24:46 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=a06e272b6922a1d7524aeda6151acf418e859d75&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:24:46 -> Uploading to 18:24:46 https://storage.googleapis.com/codecov/v4/raw/2021-10-26/7D719EC7BBE17E464838252E33014C33/a06e272b6922a1d7524aeda6151acf418e859d75/2c7181c7-2562-4216-abc9-3fc36bfe6ad4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211026T182446Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=307305a22bf106b60883c6010721f2f1891a46c106fd5497ccd642633ce491e1 18:24:46 % Total % Received % Xferd Average Speed Time Time Time Current 18:24:46 Dload Upload Total Spent Left Speed 18:24:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3167 0 0 100 3167 0 10446 --:--:-- --:--:-- --:--:-- 10452 18:24:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/a06e272b6922a1d7524aeda6151acf418e859d75 [Pipeline] } 18:24:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:24:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:24:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:24:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:24:47 18:24:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:24:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:24:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:24:48 188c0c94c7c5: Pulling fs layer 18:24:48 0ef7d3d256c8: Pulling fs layer 18:24:48 de9db76c5a1d: Pulling fs layer 18:24:48 0eba1c9be4d2: Pulling fs layer 18:24:48 0d57e429df01: Pulling fs layer 18:24:48 4e4be7b47b0d: Pulling fs layer 18:24:48 e1f770b5df2f: Pulling fs layer 18:24:48 85a0685a4137: Pulling fs layer 18:24:48 0eba1c9be4d2: Waiting 18:24:48 0d57e429df01: Waiting 18:24:48 4e4be7b47b0d: Waiting 18:24:48 e1f770b5df2f: Waiting 18:24:48 85a0685a4137: Waiting 18:24:48 de9db76c5a1d: Verifying Checksum 18:24:48 de9db76c5a1d: Download complete 18:24:48 0ef7d3d256c8: Verifying Checksum 18:24:48 0ef7d3d256c8: Download complete 18:24:48 0d57e429df01: Download complete 18:24:48 4e4be7b47b0d: Verifying Checksum 18:24:48 4e4be7b47b0d: Download complete 18:24:48 188c0c94c7c5: Verifying Checksum 18:24:48 188c0c94c7c5: Download complete 18:24:48 e1f770b5df2f: Verifying Checksum 18:24:48 e1f770b5df2f: Download complete 18:24:48 0eba1c9be4d2: Verifying Checksum 18:24:48 0eba1c9be4d2: Download complete 18:24:48 188c0c94c7c5: Pull complete 18:24:48 85a0685a4137: Verifying Checksum 18:24:48 85a0685a4137: Download complete 18:24:49 0ef7d3d256c8: Pull complete 18:24:49 de9db76c5a1d: Pull complete 18:24:52 0eba1c9be4d2: Pull complete 18:24:52 0d57e429df01: Pull complete 18:24:52 4e4be7b47b0d: Pull complete 18:24:53 e1f770b5df2f: Pull complete 18:24:57 85a0685a4137: Pull complete 18:24:57 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:24:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:24:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:24:57 prd-centos7-docker-4c-2g-2075 does not seem to be running inside a container 18:24:57 $ 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 18:25:02 $ docker top 1e508dbd17a48b335bce12d75ad58f59a3981432bfaac35858998ff39c723fe3 -eo pid,comm [Pipeline] { [Pipeline] echo 18:25:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:25:03 + set -o pipefail 18:25:03 + snyk monitor '--org=edgex-jenkins' 18:25:08 18:25:08 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 18:25:08 18:25:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/810350d4-0709-4389-b717-bf7ad30e07cb 18:25:08 18:25:08 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:25:08 18:25:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:25:08 18:25:08 [Pipeline] } 18:25:08 $ docker stop --time=1 1e508dbd17a48b335bce12d75ad58f59a3981432bfaac35858998ff39c723fe3 18:25:11 $ docker rm -f 1e508dbd17a48b335bce12d75ad58f59a3981432bfaac35858998ff39c723fe3 [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 18:25:12 + git log --format=format:%s -1 a06e272b6922a1d7524aeda6151acf418e859d75 [Pipeline] isUnix [Pipeline] sh 18:25:12 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:25:12 . [Pipeline] withDockerContainer 18:25:12 prd-centos7-docker-4c-2g-2075 does not seem to be running inside a container 18:25:12 $ 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:10004/edgex-devops/git-semver:latest cat 18:25:13 $ docker top 4071e6590c441d5ce7b81a75c1f6422865ca0743d9b63793c2a0c78f3bbe5589 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:25:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:25:13 [ssh-agent] Looking for ssh-agent implementation... 18:25:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:25:13 $ docker exec 4071e6590c441d5ce7b81a75c1f6422865ca0743d9b63793c2a0c78f3bbe5589 ssh-agent 18:25:13 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOOkDEJ/agent.14 18:25:13 SSH_AGENT_PID=21 18:25:13 Running ssh-add (command line suppressed) 18:25:13 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7836028626131627733.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7836028626131627733.key) 18:25:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:25:13 + git semver tag 18:25:13 # -> Open(): unable to determine branch for HEAD 18:25:13 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 18:25:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 18:25:13 # $SEMVER_REMOTE_NAME = origin 18:25:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:25:13 # $SEMVER_USER_NAME = edgex-jenkins 18:25:13 # $SEMVER_BRANCH = main 18:25:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:25:13 # a06e272b6922a1d7524aeda6151acf418e859d75 HEAD 18:25:13 # -> Force: false 18:25:13 # 905149060732b0796ae5893f8975013b9d9ae2e9 refs/tags/v2.0.1-dev.12 [Pipeline] } 18:25:13 $ docker exec --env ******** --env ******** 4071e6590c441d5ce7b81a75c1f6422865ca0743d9b63793c2a0c78f3bbe5589 ssh-agent -k 18:25:13 unset SSH_AUTH_SOCK; 18:25:13 unset SSH_AGENT_PID; 18:25:13 echo Agent pid 21 killed; 18:25:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:25:14 + git semver [Pipeline] } 18:25:14 $ docker stop --time=1 4071e6590c441d5ce7b81a75c1f6422865ca0743d9b63793c2a0c78f3bbe5589 18:25:15 $ docker rm -f 4071e6590c441d5ce7b81a75c1f6422865ca0743d9b63793c2a0c78f3bbe5589 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:25:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:25:15 18:25:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:25:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:25:16 0.23.1-centos7: Pulling from edgex-lftools 18:25:16 ab5ef0e58194: Pulling fs layer 18:25:16 9712f1f96733: Pulling fs layer 18:25:16 63f879dbbcfc: Pulling fs layer 18:25:16 0d9ebad4ef96: Pulling fs layer 18:25:16 e9a5061849ea: Pulling fs layer 18:25:16 d747dcd14b5f: Pulling fs layer 18:25:16 2de7ff778b66: Pulling fs layer 18:25:16 0d9ebad4ef96: Waiting 18:25:16 e9a5061849ea: Waiting 18:25:16 d747dcd14b5f: Waiting 18:25:16 2de7ff778b66: Waiting 18:25:16 9712f1f96733: Verifying Checksum 18:25:16 9712f1f96733: Download complete 18:25:16 ab5ef0e58194: Verifying Checksum 18:25:16 ab5ef0e58194: Download complete 18:25:16 63f879dbbcfc: Verifying Checksum 18:25:16 63f879dbbcfc: Download complete 18:25:16 d747dcd14b5f: Verifying Checksum 18:25:16 d747dcd14b5f: Download complete 18:25:16 0d9ebad4ef96: Verifying Checksum 18:25:16 0d9ebad4ef96: Download complete 18:25:16 e9a5061849ea: Verifying Checksum 18:25:16 e9a5061849ea: Download complete 18:25:16 2de7ff778b66: Verifying Checksum 18:25:16 2de7ff778b66: Download complete 18:25:20 ab5ef0e58194: Pull complete 18:25:20 9712f1f96733: Pull complete 18:25:20 63f879dbbcfc: Pull complete 18:25:24 0d9ebad4ef96: Pull complete 18:25:24 e9a5061849ea: Pull complete 18:25:24 d747dcd14b5f: Pull complete 18:25:26 2de7ff778b66: Pull complete 18:25:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:25:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:25:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:25:26 prd-centos7-docker-4c-2g-2075 does not seem to be running inside a container 18:25:26 $ 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 18:25:30 $ docker top e770f864a4854b3808d9c983c2f3b8e0d0861d39a725f33eb2a8d04ab79d90ac -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:25:30 provisioning config files... 18:25:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7693929714071429354tmp 18:25:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6391204964870731853tmp 18:25:30 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1511389688313123679tmp [Pipeline] { [Pipeline] echo 18:25:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:25:30 ---> sigul-configuration.sh 18:25:30 gpg: directory `/root/.gnupg' created 18:25:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:25:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:25:30 gpg: keyring `/root/.gnupg/secring.gpg' created 18:25:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:25:30 gpg: CAST5 encrypted data 18:25:30 gpg: encrypted with 1 passphrase 18:25:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:25:31 + mkdir /home/jenkins 18:25:31 + mkdir /home/jenkins/sigul [Pipeline] sh 18:25:31 + 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 18:25:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:25:31 ---> sigul-install.sh 18:25:31 Sigul already installed; skipping installation. [Pipeline] sh 18:25:31 + git tag --list 18:25:31 0.7.1 18:25:31 v1.0.0 18:25:31 v1.1.0 18:25:31 v1.1.1 18:25:31 v1.2.2 18:25:31 v1.3.0 18:25:31 v1.3.1 18:25:31 v2.0.0 18:25:31 v2.0.1-dev.1 18:25:31 v2.0.1-dev.10 18:25:31 v2.0.1-dev.11 18:25:31 v2.0.1-dev.12 18:25:31 v2.0.1-dev.2 18:25:31 v2.0.1-dev.3 18:25:31 v2.0.1-dev.4 18:25:31 v2.0.1-dev.5 18:25:31 v2.0.1-dev.6 18:25:31 v2.0.1-dev.7 18:25:31 v2.0.1-dev.8 18:25:31 v2.0.1-dev.9 [Pipeline] sh 18:25:32 + lftools sign git-tag v2.0.1-dev.12 18:25:32 Signing Git tag with Sigul... 18:25:32 Signing v2.0.1-dev.12 [Pipeline] echo 18:25:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:25:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:25:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:25:34 $ docker stop --time=1 e770f864a4854b3808d9c983c2f3b8e0d0861d39a725f33eb2a8d04ab79d90ac 18:25:35 $ docker rm -f e770f864a4854b3808d9c983c2f3b8e0d0861d39a725f33eb2a8d04ab79d90ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 18:25:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:25:35 . [Pipeline] withDockerContainer 18:25:35 prd-centos7-docker-4c-2g-2075 does not seem to be running inside a container 18:25:35 $ 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:10004/edgex-devops/git-semver:latest cat 18:25:36 $ docker top c393d28bb2ce83e32f42a3baabecf8ca7f06c15c69a25dc52d4e52adcd3727b2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:25:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:25:36 [ssh-agent] Looking for ssh-agent implementation... 18:25:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:25:36 $ docker exec c393d28bb2ce83e32f42a3baabecf8ca7f06c15c69a25dc52d4e52adcd3727b2 ssh-agent 18:25:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBLLfLN/agent.13 18:25:36 SSH_AGENT_PID=19 18:25:36 Running ssh-add (command line suppressed) 18:25:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6537989839818172866.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6537989839818172866.key) 18:25:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:25:36 + git semver bump pre 18:25:36 # -> Open(): unable to determine branch for HEAD 18:25:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 18:25:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 18:25:36 # $SEMVER_REMOTE_NAME = origin 18:25:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:25:36 # $SEMVER_USER_NAME = edgex-jenkins 18:25:36 # $SEMVER_BRANCH = main 18:25:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 18:25:36 2.0.1-dev.13 [Pipeline] } 18:25:36 $ docker exec --env ******** --env ******** c393d28bb2ce83e32f42a3baabecf8ca7f06c15c69a25dc52d4e52adcd3727b2 ssh-agent -k 18:25:37 unset SSH_AUTH_SOCK; 18:25:37 unset SSH_AGENT_PID; 18:25:37 echo Agent pid 19 killed; 18:25:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:25:37 + git semver [Pipeline] } 18:25:37 $ docker stop --time=1 c393d28bb2ce83e32f42a3baabecf8ca7f06c15c69a25dc52d4e52adcd3727b2 18:25:38 $ docker rm -f c393d28bb2ce83e32f42a3baabecf8ca7f06c15c69a25dc52d4e52adcd3727b2 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 18:25:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 18:25:38 . [Pipeline] withDockerContainer 18:25:39 prd-centos7-docker-4c-2g-2075 does not seem to be running inside a container 18:25: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:10004/edgex-devops/git-semver:latest cat 18:25:39 $ docker top e86bf23947ca2951cf7850701b2dd296e47dd86fbdc8ea12f3169c2b4f399f01 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:25:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:25:39 [ssh-agent] Looking for ssh-agent implementation... 18:25:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:25:39 $ docker exec e86bf23947ca2951cf7850701b2dd296e47dd86fbdc8ea12f3169c2b4f399f01 ssh-agent 18:25:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmLKdIc/agent.13 18:25:39 SSH_AGENT_PID=20 18:25:39 Running ssh-add (command line suppressed) 18:25:39 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3611459221900162529.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3611459221900162529.key) 18:25:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:25:40 + git semver push 18:25:40 # -> Open(): unable to determine branch for HEAD 18:25:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 18:25:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 18:25:40 # $SEMVER_REMOTE_NAME = origin 18:25:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 18:25:40 # $SEMVER_USER_NAME = edgex-jenkins 18:25:40 # $SEMVER_BRANCH = main 18:25:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 18:25:42 $ docker exec --env ******** --env ******** e86bf23947ca2951cf7850701b2dd296e47dd86fbdc8ea12f3169c2b4f399f01 ssh-agent -k 18:25:42 unset SSH_AUTH_SOCK; 18:25:42 unset SSH_AGENT_PID; 18:25:42 echo Agent pid 20 killed; 18:25:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:25:42 + git semver [Pipeline] } 18:25:42 $ docker stop --time=1 e86bf23947ca2951cf7850701b2dd296e47dd86fbdc8ea12f3169c2b4f399f01 18:25:43 $ docker rm -f e86bf23947ca2951cf7850701b2dd296e47dd86fbdc8ea12f3169c2b4f399f01 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:25:44 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 18:25:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:25:45 ---> package-listing.sh 18:25:45 ++ tr '[:upper:]' '[:lower:]' 18:25:45 ++ facter osfamily 18:25:45 + OS_FAMILY=redhat 18:25:45 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 18:25:45 + START_PACKAGES=/tmp/packages_start.txt 18:25:45 + END_PACKAGES=/tmp/packages_end.txt 18:25:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:25:45 + PACKAGES=/tmp/packages_start.txt 18:25:45 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:25:45 + PACKAGES=/tmp/packages_end.txt 18:25:45 + case "${OS_FAMILY}" in 18:25:45 + sort 18:25:45 + rpm -qa 18:25:46 + '[' -f /tmp/packages_start.txt ']' 18:25:46 + '[' -f /tmp/packages_end.txt ']' 18:25:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:25:46 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 18:25:46 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 18:25:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 18:25:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 18:25:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:25:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:47 18:25:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:25:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:47 latest: Pulling from edgex-lftools-log-publisher 18:25:47 b4d181a07f80: Pulling fs layer 18:25:47 a1111a8f2ec3: Pulling fs layer 18:25:47 ed53099fbce6: Pulling fs layer 18:25:47 dc539afda2c1: Pulling fs layer 18:25:47 77bc0d833cb6: Pulling fs layer 18:25:47 9065ff56babe: Pulling fs layer 18:25:47 d287ab97295c: Pulling fs layer 18:25:47 dc539afda2c1: Waiting 18:25:47 77bc0d833cb6: Waiting 18:25:47 9065ff56babe: Waiting 18:25:47 d287ab97295c: Waiting 18:25:47 a1111a8f2ec3: Verifying Checksum 18:25:47 a1111a8f2ec3: Download complete 18:25:47 dc539afda2c1: Verifying Checksum 18:25:47 dc539afda2c1: Download complete 18:25:47 ed53099fbce6: Verifying Checksum 18:25:47 ed53099fbce6: Download complete 18:25:47 9065ff56babe: Verifying Checksum 18:25:47 9065ff56babe: Download complete 18:25:47 77bc0d833cb6: Verifying Checksum 18:25:47 77bc0d833cb6: Download complete 18:25:47 b4d181a07f80: Verifying Checksum 18:25:47 b4d181a07f80: Download complete 18:25:48 d287ab97295c: Verifying Checksum 18:25:48 d287ab97295c: Download complete 18:25:49 b4d181a07f80: Pull complete 18:25:49 a1111a8f2ec3: Pull complete 18:25:50 ed53099fbce6: Pull complete 18:25:50 dc539afda2c1: Pull complete 18:25:50 77bc0d833cb6: Pull complete 18:25:50 9065ff56babe: Pull complete 18:25:56 d287ab97295c: Pull complete 18:25:56 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 18:25:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:25:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:25:57 prd-centos7-docker-4c-2g-2075 does not seem to be running inside a container 18:25:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -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 18:25:59 $ docker top 38aedb52320d984b59747a13389804a521cfa3626747721888feb3711dfed3b3 -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:59 + touch /tmp/pre-build-complete [Pipeline] sh 18:26:00 + mkdir -p /var/log/sysstat [Pipeline] sh 18:26:00 + ls /var/log/sa-host 18:26:00 + sadf -c /var/log/sa-host/sa26 18:26:00 file_magic: OK 18:26:00 HZ: Using current value: 100 18:26:00 file_header: OK 18:26:00 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:26:00 Statistics: 18:26:00 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 18:26:00 File successfully converted to sysstat format version 12.0.3 18:26:00 + sadf -c /var/log/sa-host/sa30 18:26:00 file_magic: OK 18:26:00 HZ: Using current value: 100 18:26:00 file_header: OK 18:26:00 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 18:26:00 Statistics: 18:26:00 Hnuu...uuuununununu...Hnuu...uuuununununu... 18:26:00 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:26:00 provisioning config files... 18:26:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7864877126495840953tmp [Pipeline] { [Pipeline] echo 18:26:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:26:00 ---> create-netrc.sh [Pipeline] } 18:26:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:26:01 ---> python-tools-install.sh [Pipeline] echo 18:26:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:26:01 ---> sudo-logs.sh 18:26:01 Archiving 'sudo' log.. 18:26:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-2075.novalocal: Name or service not known 18:26:01 sudo: unable to resolve host prd-centos7-docker-4c-2g-2075.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 18:26:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:26:01 ---> job-cost.sh 18:26:01 lf-activate-venv: SKIPPING 18:26:01 DEBUG: total: 0.10999999940395355 18:26:01 INFO: Retrieving Stack Cost... 18:26:02 INFO: Retrieving Pricing Info for: v3-standard-2 18:26:02 INFO: Archiving Costs [Pipeline] echo 18:26:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:26:02 ---> logs-deploy.sh 18:26:02 lf-activate-venv: SKIPPING 18:26:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/14 18:26:02 INFO: archiving workspace using pattern(s): 18:26:03 Archives upload complete. 18:26:03 INFO: archiving logs to Nexus