Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 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-ssh16939762583214829653.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh7057355263591368926.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh10705107868411098772.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh15213611503374919823.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-ssh17634736607372229988.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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4829 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.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-ssh1898921974743448453.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 Commit message: "build(snap): source metadata from repo (#328)" > git rev-list --no-walk 6506aa605e312cf2eda10f01423d61b781597072 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:33:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:33:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:33:04 ========================================================= 12:33:04 EdgeX Global Pipelines Version Info 12:33:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:33:05 ------------------- 12:33:05 stable info: 12:33:05 ------------------- 12:33:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:33:05 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:33:05 Message: update stable to v1.0.220 12:33:05 ------------------- 12:33:05 experimental info: 12:33:05 ------------------- 12:33:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:33:05 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:33:05 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 195658a [Pipeline] echo 12:33:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:06 provisioning config files... 12:33:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1693395062385896925tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:33:06 ---> docker-login.sh 12:33:06 nexus3.edgexfoundry.org:10001 12:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:07 Configure a credential helper to remove this warning. See 12:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:07 12:33:07 Login Succeeded 12:33:07 nexus3.edgexfoundry.org:10002 12:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:07 Configure a credential helper to remove this warning. See 12:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:07 12:33:07 Login Succeeded 12:33:07 nexus3.edgexfoundry.org:10003 12:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:07 Configure a credential helper to remove this warning. See 12:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:07 12:33:07 Login Succeeded 12:33:07 nexus3.edgexfoundry.org:10004 12:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:07 Configure a credential helper to remove this warning. See 12:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:07 12:33:07 Login Succeeded 12:33:07 docker.io 12:33:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:07 Configure a credential helper to remove this warning. See 12:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:07 12:33:07 Login Succeeded 12:33:07 ---> docker-login.sh ends [Pipeline] } 12:33:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:33:08 + git rev-list -1 --merges 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0~1..195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] echo 12:33:08 -----------> git rev-list -1 --merges 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0~1..195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [false] [Pipeline] sh 12:33:08 + git log --format=format:%s -1 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] echo 12:33:08 ========================================================= 12:33:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:33:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:33:09 + git log --format=format:%s -1 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] echo 12:33:09 [semverPrep] GIT_COMMIT: 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0, Commit Message: build(snap): source metadata from repo (#328) [Pipeline] echo 12:33:09 [semverPrep] This is not a build commit. [Pipeline] sh 12:33:09 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:33:09 + grep -v github /etc/ssh/ssh_known_hosts 12:33:09 + '[' -e /tmp/ssh_known_hosts ']' 12:33:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:33:09 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:33:09 + sudo tee -a /etc/ssh/ssh_known_hosts 12:33:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:33:09 12:33:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:33:10 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:33:10 latest: Pulling from edgex-devops/git-semver 12:33:10 a0d0a0d46f8b: Pulling fs layer 12:33:10 3e5f54012d9b: Pulling fs layer 12:33:10 4c7163046ea9: Pulling fs layer 12:33:10 0c2d73faf560: Pulling fs layer 12:33:10 0c2d73faf560: Waiting 12:33:10 3e5f54012d9b: Verifying Checksum 12:33:10 3e5f54012d9b: Download complete 12:33:10 a0d0a0d46f8b: Verifying Checksum 12:33:10 a0d0a0d46f8b: Download complete 12:33:10 4c7163046ea9: Verifying Checksum 12:33:10 4c7163046ea9: Download complete 12:33:10 0c2d73faf560: Verifying Checksum 12:33:10 0c2d73faf560: Download complete 12:33:10 a0d0a0d46f8b: Pull complete 12:33:10 3e5f54012d9b: Pull complete 12:33:10 4c7163046ea9: Pull complete 12:33:11 0c2d73faf560: Pull complete 12:33:11 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:33:11 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:33:11 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:33:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:33:11 $ docker top 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:33:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:11 [ssh-agent] Looking for ssh-agent implementation... 12:33:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:11 $ docker exec 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 ssh-agent 12:33:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGFIemO/agent.14 12:33:12 SSH_AGENT_PID=21 12:33:12 Running ssh-add (command line suppressed) 12:33:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3924264029698355973.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3924264029698355973.key) 12:33:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:12 + git tag --points-at HEAD [Pipeline] } 12:33:12 $ docker exec --env ******** --env ******** 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 ssh-agent -k 12:33:12 unset SSH_AUTH_SOCK; 12:33:12 unset SSH_AGENT_PID; 12:33:12 echo Agent pid 21 killed; 12:33:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:33:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:33:12 [ssh-agent] Looking for ssh-agent implementation... 12:33:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:33:12 $ docker exec 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 ssh-agent 12:33:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJoobBg/agent.56 12:33:12 SSH_AGENT_PID=62 12:33:12 Running ssh-add (command line suppressed) 12:33:12 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4257080877785210417.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4257080877785210417.key) 12:33:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:33:13 + git semver init 12:33:13 # -> Open(): unable to determine branch for HEAD 12:33:13 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 12:33:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 12:33:13 # $SEMVER_REMOTE_NAME = origin 12:33:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:33:13 # $SEMVER_USER_NAME = edgex-jenkins 12:33:13 # $SEMVER_BRANCH = main 12:33:13 # $SEMVER_TEMP = /tmp/semver-410447032 12:33:13 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 12:33:14 # '/tmp/semver-410447032' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 12:33:14 # -> Force: false 12:33:14 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 12:33:14 $ docker exec --env ******** --env ******** 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 ssh-agent -k 12:33:14 unset SSH_AUTH_SOCK; 12:33:14 unset SSH_AGENT_PID; 12:33:14 echo Agent pid 62 killed; 12:33:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:33:14 + git semver [Pipeline] } 12:33:14 $ docker stop --time=1 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 12:33:15 $ docker rm -f 482f2f91b79e30eade6fd1ec6a9effa962b12a364f9e23fabc2f0eee252bd043 [Pipeline] // withDockerContainer [Pipeline] sh 12:33:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:33:16 Stashed 1 file(s) [Pipeline] echo 12:33:16 [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:16 provisioning config files... 12:33:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config776924397791079788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:33:16 ---> docker-login.sh 12:33:16 nexus3.edgexfoundry.org:10001 12:33:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:16 Configure a credential helper to remove this warning. See 12:33:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:16 12:33:16 Login Succeeded 12:33:16 nexus3.edgexfoundry.org:10002 12:33:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:16 Configure a credential helper to remove this warning. See 12:33:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:16 12:33:16 Login Succeeded 12:33:16 nexus3.edgexfoundry.org:10003 12:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:17 Configure a credential helper to remove this warning. See 12:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:17 12:33:17 Login Succeeded 12:33:17 nexus3.edgexfoundry.org:10004 12:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:17 Configure a credential helper to remove this warning. See 12:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:17 12:33:17 Login Succeeded 12:33:17 docker.io 12:33:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:33:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:33:17 Configure a credential helper to remove this warning. See 12:33:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:33:17 12:33:17 Login Succeeded 12:33:17 ---> docker-login.sh ends [Pipeline] } 12:33:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:33:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:33:17 ========================================================= 12:33:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:33:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:33:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 12:33:18 Sending build context to Docker daemon 5.738MB 12:33:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:33:18 Step 2/12 : FROM ${BASE} AS builder 12:33:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:33:18 59bf1c3509f3: Pulling fs layer 12:33:18 666ba61612fd: Pulling fs layer 12:33:18 8ed8ca486205: Pulling fs layer 12:33:18 4fe6c5a15a65: Pulling fs layer 12:33:18 22a0e8bec74d: Pulling fs layer 12:33:18 640e595b4fbd: Pulling fs layer 12:33:18 763cafe07f6e: Pulling fs layer 12:33:18 0c0b528cf693: Pulling fs layer 12:33:18 10935f4eaf8b: Pulling fs layer 12:33:18 640e595b4fbd: Waiting 12:33:18 763cafe07f6e: Waiting 12:33:18 0c0b528cf693: Waiting 12:33:18 10935f4eaf8b: Waiting 12:33:18 4fe6c5a15a65: Waiting 12:33:18 22a0e8bec74d: Waiting 12:33:18 8ed8ca486205: Verifying Checksum 12:33:18 8ed8ca486205: Download complete 12:33:18 666ba61612fd: Verifying Checksum 12:33:18 666ba61612fd: Download complete 12:33:18 22a0e8bec74d: Verifying Checksum 12:33:18 22a0e8bec74d: Download complete 12:33:18 640e595b4fbd: Verifying Checksum 12:33:18 640e595b4fbd: Download complete 12:33:18 59bf1c3509f3: Verifying Checksum 12:33:18 59bf1c3509f3: Download complete 12:33:18 763cafe07f6e: Verifying Checksum 12:33:18 763cafe07f6e: Download complete 12:33:18 0c0b528cf693: Verifying Checksum 12:33:18 0c0b528cf693: Download complete 12:33:18 59bf1c3509f3: Pull complete 12:33:18 4fe6c5a15a65: Verifying Checksum 12:33:18 4fe6c5a15a65: Download complete 12:33:18 666ba61612fd: Pull complete 12:33:18 8ed8ca486205: Pull complete 12:33:18 10935f4eaf8b: Verifying Checksum 12:33:18 10935f4eaf8b: Download complete 12:33:23 4fe6c5a15a65: Pull complete 12:33:23 22a0e8bec74d: Pull complete 12:33:23 640e595b4fbd: Pull complete 12:33:23 763cafe07f6e: Pull complete 12:33:23 0c0b528cf693: Pull complete 12:33:25 10935f4eaf8b: Pull complete 12:33:25 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:33:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:33:25 ---> 99d49a6021b9 12:33:25 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:33:27 ---> Running in 0f167d88fd24 12:33:27 Removing intermediate container 0f167d88fd24 12:33:27 ---> f3f3f911f630 12:33:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:33:27 ---> Running in 85714a808248 12:33:27 Removing intermediate container 85714a808248 12:33:27 ---> a8a501a8ab5f 12:33:27 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:33:27 ---> Running in 77a0b3f28783 12:33:27 Removing intermediate container 77a0b3f28783 12:33:27 ---> cf7b716a7335 12:33:27 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:33:27 ---> Running in ab3d30ea4904 12:33:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:33:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:33:29 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:33:29 (2/4) Installing libedit (20210910.3.1-r0) 12:33:29 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:33:29 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:33:29 Executing busybox-1.34.1-r3.trigger 12:33:29 OK: 224 MiB in 56 packages 12:33:30 Removing intermediate container ab3d30ea4904 12:33:30 ---> af95af6196bf 12:33:30 Step 7/12 : WORKDIR /device-mqtt-go 12:33:30 ---> Running in 5a14369b75af 12:33:30 Removing intermediate container 5a14369b75af 12:33:30 ---> 6a25d621f652 12:33:30 Step 8/12 : COPY go.mod vendor* ./ 12:33:30 ---> b4b0c5674c97 12:33:30 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:33:30 ---> Running in d44a1b5009af 12:33:31 Still waiting to schedule task 12:33:31 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:34:09 Removing intermediate container d44a1b5009af 12:34:09 ---> 81b87f6b49a2 12:34:09 Step 10/12 : COPY . . 12:34:09 ---> 8d5bc5818d97 12:34:09 Step 11/12 : ARG MAKE='make build' 12:34:09 ---> Running in dd7875d5f3e4 12:34:09 Removing intermediate container dd7875d5f3e4 12:34:09 ---> 75a4ee64f0fe 12:34:09 Step 12/12 : RUN $MAKE 12:34:09 ---> Running in ffec113019e7 12:34:09 noop 12:34:09 Removing intermediate container ffec113019e7 12:34:09 ---> fd78f18ed5c6 12:34:09 Successfully built fd78f18ed5c6 12:34:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:34:09 + docker inspect -f . ci-base-image-x86_64 12:34:09 . [Pipeline] withDockerContainer 12:34:09 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:34:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:34:09 $ docker top f435fdc494aa94fefc0f87f1b5018f4ded90f2b0781aebac96c2d4f020f5d250 -eo pid,comm [Pipeline] { [Pipeline] sh 12:34:10 + go version 12:34:10 go version go1.17.6 linux/amd64 [Pipeline] } 12:34:10 $ docker stop --time=1 f435fdc494aa94fefc0f87f1b5018f4ded90f2b0781aebac96c2d4f020f5d250 12:34:11 $ docker rm -f f435fdc494aa94fefc0f87f1b5018f4ded90f2b0781aebac96c2d4f020f5d250 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:34:11 + docker inspect -f . ci-base-image-x86_64 12:34:11 . [Pipeline] withDockerContainer 12:34:12 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:34:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:34:12 $ docker top 9c0e0c5ee86dddf26a231d104f9274643a94b75d923d7c4baa0877f9e26681b2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:34:12 + make test 12:34:12 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:34:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:34:28 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:34:28 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements 12:34:28 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:34:28 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:34:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:34:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:34:32 ./bin/test-attribution-txt.sh [Pipeline] echo 12:34:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:34:32 $ docker stop --time=1 9c0e0c5ee86dddf26a231d104f9274643a94b75d923d7c4baa0877f9e26681b2 12:34:34 $ docker rm -f 9c0e0c5ee86dddf26a231d104f9274643a94b75d923d7c4baa0877f9e26681b2 [Pipeline] // withDockerContainer [Pipeline] sh 12:34:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:34:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:34:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:34:36 + ls -al . 12:34:36 total 148 12:34:36 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 8 12:34 . 12:34:36 drwxrwxr-x. 4 jenkins jenkins 112 Feb 8 12:32 .. 12:34:36 -rw-rw-r--. 1 jenkins jenkins 7287 Feb 8 12:32 Attribution.txt 12:34:36 drwxrwxr-x. 2 jenkins jenkins 60 Feb 8 12:32 bin 12:34:36 -rw-rw-r--. 1 jenkins jenkins 7447 Feb 8 12:32 CHANGELOG.md 12:34:36 drwxrwxr-x. 3 jenkins jenkins 32 Feb 8 12:32 cmd 12:34:36 -rw-r--r--. 1 jenkins jenkins 17452 Feb 8 12:34 coverage.out 12:34:36 -rw-rw-r--. 1 jenkins jenkins 1930 Feb 8 12:32 Dockerfile 12:34:36 -rw-rw-r--. 1 jenkins jenkins 140 Feb 8 12:32 .dockerignore 12:34:36 drwxrwxr-x. 8 jenkins jenkins 162 Feb 8 12:33 .git 12:34:36 drwxrwxr-x. 2 jenkins jenkins 103 Feb 8 12:32 .github 12:34:36 -rw-rw-r--. 1 jenkins jenkins 329 Feb 8 12:32 .gitignore 12:34:36 -rw-rw-r--. 1 jenkins jenkins 2907 Feb 8 12:32 go.mod 12:34:36 -rw-rw-r--. 1 jenkins jenkins 49409 Feb 8 12:32 go.sum 12:34:36 -rw-rw-r--. 1 jenkins jenkins 677 Feb 8 12:32 GOVERNANCE.md 12:34:36 drwxrwxr-x. 3 jenkins jenkins 20 Feb 8 12:32 internal 12:34:36 -rw-rw-r--. 1 jenkins jenkins 677 Feb 8 12:32 Jenkinsfile 12:34:36 -rw-rw-r--. 1 jenkins jenkins 11340 Feb 8 12:32 LICENSE 12:34:36 -rw-rw-r--. 1 jenkins jenkins 1030 Feb 8 12:32 Makefile 12:34:36 drwxrwxr-x. 2 jenkins jenkins 23 Feb 8 12:32 mock 12:34:36 -rw-rw-r--. 1 jenkins jenkins 620 Feb 8 12:32 OWNERS.md 12:34:36 -rw-rw-r--. 1 jenkins jenkins 2643 Feb 8 12:32 README.md 12:34:36 drwx------. 3 jenkins jenkins 57 Feb 8 12:33 .semver 12:34:36 drwxrwxr-x. 4 jenkins jenkins 71 Feb 8 12:32 snap 12:34:36 -rw-rw-r--. 1 jenkins jenkins 11 Feb 8 12:33 VERSION 12:34:36 -rw-rw-r--. 1 jenkins jenkins 227 Feb 8 12:32 version.go [Pipeline] isUnix [Pipeline] sh 12:34:36 + 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=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 --label arch=amd64 --label version=2.2.0-dev.9 . 12:34:36 Sending build context to Docker daemon 5.756MB 12:34:36 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:34:36 Step 2/24 : FROM ${BASE} AS builder 12:34:36 ---> fd78f18ed5c6 12:34:36 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:34:36 ---> Running in 8b10079c7471 12:34:36 Removing intermediate container 8b10079c7471 12:34:36 ---> 4a053510c87c 12:34:36 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:34:36 ---> Running in ae5c0498ca36 12:34:36 Removing intermediate container ae5c0498ca36 12:34:36 ---> 7cc9681695f1 12:34:36 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:34:36 ---> Running in c4a670a65856 12:34:37 Removing intermediate container c4a670a65856 12:34:37 ---> a3cff8fe2951 12:34:37 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:34:37 ---> Running in ef497dd50e2a 12:34:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:34:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:34:38 OK: 224 MiB in 56 packages 12:34:38 Removing intermediate container ef497dd50e2a 12:34:38 ---> c184644cbef7 12:34:38 Step 7/24 : WORKDIR /device-mqtt-go 12:34:38 ---> Running in 69697630588d 12:34:38 Removing intermediate container 69697630588d 12:34:38 ---> c7bc3c0a2068 12:34:38 Step 8/24 : COPY go.mod vendor* ./ 12:34:38 ---> 06c4d82fbe39 12:34:38 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:34:38 ---> Running in 03a725975c16 12:34:39 Removing intermediate container 03a725975c16 12:34:39 ---> 896f71809e76 12:34:39 Step 10/24 : COPY . . 12:34:39 ---> f75aba9ae631 12:34:39 Step 11/24 : ARG MAKE='make build' 12:34:39 ---> Running in 2c3743ca0d98 12:34:40 Removing intermediate container 2c3743ca0d98 12:34:40 ---> 07ffd5fd6855 12:34:40 Step 12/24 : RUN $MAKE 12:34:40 ---> Running in 066807390ed1 12:34:40 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.9" -o cmd/device-mqtt ./cmd 12:34:52 Removing intermediate container 066807390ed1 12:34:52 ---> 717b5c460413 12:34:52 Step 13/24 : FROM alpine:3.14 12:34:52 3.14: Pulling from library/alpine 12:34:52 97518928ae5f: Pulling fs layer 12:34:52 97518928ae5f: Verifying Checksum 12:34:52 97518928ae5f: Download complete 12:34:52 97518928ae5f: Pull complete 12:34:52 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 12:34:52 Status: Downloaded newer image for alpine:3.14 12:34:52 ---> 0a97eee8041e 12:34:52 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:34:52 ---> Running in b69a329de438 12:34:52 Removing intermediate container b69a329de438 12:34:52 ---> 0b4a0244b4a8 12:34:52 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:34:52 ---> Running in f54ca740690a 12:34:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:34:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:34:53 (1/6) Installing dumb-init (1.2.5-r1) 12:34:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:34:53 (3/6) Installing libsodium (1.0.18-r0) 12:34:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:34:53 (5/6) Installing libzmq (4.3.4-r0) 12:34:53 (6/6) Installing zeromq (4.3.4-r0) 12:34:53 Executing busybox-1.33.1-r6.trigger 12:34:53 OK: 8 MiB in 20 packages 12:34:53 Removing intermediate container f54ca740690a 12:34:53 ---> 72f9a14b1576 12:34:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:34:54 ---> 46549a96d500 12:34:54 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:34:54 ---> 10bb54389178 12:34:54 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:34:54 ---> f3ad83cd7345 12:34:54 Step 19/24 : EXPOSE 59982 12:34:54 ---> Running in 5e18d20a0807 12:34:54 Removing intermediate container 5e18d20a0807 12:34:54 ---> 2a201b53dd0c 12:34:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:34:54 ---> Running in 0ebf23ea2509 12:34:54 Removing intermediate container 0ebf23ea2509 12:34:54 ---> b58ab322cfe9 12:34:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:34:54 ---> Running in 3790df50aac1 12:34:54 Removing intermediate container 3790df50aac1 12:34:54 ---> e4ea10eccd1b 12:34:54 Step 22/24 : LABEL arch=amd64 12:34:54 ---> Running in 019473aac0cc 12:34:54 Removing intermediate container 019473aac0cc 12:34:54 ---> 1946f37b9fb8 12:34:54 Step 23/24 : LABEL git_sha=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 12:34:54 ---> Running in cb6fb0e6992e 12:34:54 Removing intermediate container cb6fb0e6992e 12:34:54 ---> b001288ed70d 12:34:54 Step 24/24 : LABEL version=2.2.0-dev.9 12:34:54 ---> Running in 71a1f4b51002 12:34:55 Removing intermediate container 71a1f4b51002 12:34:55 ---> 788ff0358bed 12:34:55 [Warning] One or more build-args [ARCH] were not consumed 12:34:55 Successfully built 788ff0358bed 12:34:55 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:34:55 provisioning config files... 12:34:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2384901317035591586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:34:55 ---> docker-login.sh 12:34:55 nexus3.edgexfoundry.org:10001 12:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:55 Configure a credential helper to remove this warning. See 12:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:55 12:34:55 Login Succeeded 12:34:55 nexus3.edgexfoundry.org:10002 12:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:55 Configure a credential helper to remove this warning. See 12:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:55 12:34:55 Login Succeeded 12:34:55 nexus3.edgexfoundry.org:10003 12:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:55 Configure a credential helper to remove this warning. See 12:34:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:55 12:34:55 Login Succeeded 12:34:55 nexus3.edgexfoundry.org:10004 12:34:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:56 Configure a credential helper to remove this warning. See 12:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:56 12:34:56 Login Succeeded 12:34:56 docker.io 12:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:56 Configure a credential helper to remove this warning. See 12:34:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:56 12:34:56 Login Succeeded 12:34:56 ---> docker-login.sh ends [Pipeline] } 12:34:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:34:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:34:56 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 12:34:56 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 12:34:56 latest 12:34:56 2.2.0-dev.9 12:34:56 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 12:34:56 main 12:34:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:34:56 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] isUnix [Pipeline] sh 12:34:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 12:34:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:34:57 ade946eaecc6: Preparing 12:34:57 81c467802727: Preparing 12:34:57 0bfe4467ded0: Preparing 12:34:57 0a5c71d88260: Preparing 12:34:57 1a058d5342cc: Preparing 12:34:57 1a058d5342cc: Layer already exists 12:34:57 ade946eaecc6: Pushed 12:34:57 81c467802727: Pushed 12:34:57 0a5c71d88260: Pushed 12:34:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4830 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 12:34:57 Running in /w/workspace/device-mqtt-go/30 [Pipeline] { [Pipeline] checkout 12:34:58 Selected Git installation does not exist. Using Default 12:34:58 The recommended git tool is: NONE 12:34:58 0bfe4467ded0: Pushed 12:34:58 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:34:58 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 12:34:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 12:34:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:34:59 ade946eaecc6: Preparing 12:34:59 81c467802727: Preparing 12:34:59 0bfe4467ded0: Preparing 12:34:59 0a5c71d88260: Preparing 12:34:59 1a058d5342cc: Preparing 12:34:59 1a058d5342cc: Layer already exists 12:34:59 81c467802727: Layer already exists 12:34:59 0a5c71d88260: Layer already exists 12:34:59 ade946eaecc6: Layer already exists 12:34:59 0bfe4467ded0: Layer already exists 12:34:59 latest: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:34:59 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 12:34:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.9 12:34:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:34:59 ade946eaecc6: Preparing 12:34:59 81c467802727: Preparing 12:34:59 0bfe4467ded0: Preparing 12:34:59 0a5c71d88260: Preparing 12:34:59 1a058d5342cc: Preparing 12:34:59 81c467802727: Layer already exists 12:34:59 ade946eaecc6: Layer already exists 12:34:59 1a058d5342cc: Layer already exists 12:34:59 0a5c71d88260: Layer already exists 12:34:59 0bfe4467ded0: Layer already exists 12:34:59 2.2.0-dev.9: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:35:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 12:35:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 12:35:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:35:00 ade946eaecc6: Preparing 12:35:00 81c467802727: Preparing 12:35:00 0bfe4467ded0: Preparing 12:35:00 0a5c71d88260: Preparing 12:35:00 1a058d5342cc: Preparing 12:35:00 1a058d5342cc: Layer already exists 12:35:00 ade946eaecc6: Layer already exists 12:35:00 0bfe4467ded0: Layer already exists 12:35:00 81c467802727: Layer already exists 12:35:00 0a5c71d88260: Layer already exists 12:35:00 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:35:00 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 12:35:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 12:35:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:35:00 ade946eaecc6: Preparing 12:35:00 81c467802727: Preparing 12:35:00 0bfe4467ded0: Preparing 12:35:00 0a5c71d88260: Preparing 12:35:00 1a058d5342cc: Preparing 12:35:00 81c467802727: Layer already exists 12:35:00 0bfe4467ded0: Layer already exists 12:35:00 1a058d5342cc: Layer already exists 12:35:00 0a5c71d88260: Layer already exists 12:35:00 ade946eaecc6: Layer already exists 12:35:00 main: digest: sha256:5129d7933698c2c37daa18ad9120a1c1a82e7de67db8e7a1e40466cdf955ec34 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:35:00 ===================================================== [Pipeline] echo 12:35:00 taggedImages: 12:35:00 - nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 12:35:00 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 12:35:00 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.9 12:35:00 - nexus3.edgexfoundry.org:10004/device-mqtt:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 12:35:00 - 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 12:35:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:35:01 12:35:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:35:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:35:01 latest: Pulling from edgex-lftools-log-publisher 12:35:01 b4d181a07f80: Pulling fs layer 12:35:01 a1111a8f2ec3: Pulling fs layer 12:35:01 ed53099fbce6: Pulling fs layer 12:35:01 dc539afda2c1: Pulling fs layer 12:35:01 77bc0d833cb6: Pulling fs layer 12:35:01 9065ff56babe: Pulling fs layer 12:35:01 d287ab97295c: Pulling fs layer 12:35:01 77bc0d833cb6: Waiting 12:35:01 9065ff56babe: Waiting 12:35:01 d287ab97295c: Waiting 12:35:01 dc539afda2c1: Waiting 12:35:01 a1111a8f2ec3: Verifying Checksum 12:35:01 a1111a8f2ec3: Download complete 12:35:01 dc539afda2c1: Verifying Checksum 12:35:01 dc539afda2c1: Download complete 12:35:01 ed53099fbce6: Verifying Checksum 12:35:01 ed53099fbce6: Download complete 12:35:01 9065ff56babe: Verifying Checksum 12:35:01 9065ff56babe: Download complete 12:35:01 77bc0d833cb6: Verifying Checksum 12:35:01 77bc0d833cb6: Download complete 12:35:01 b4d181a07f80: Verifying Checksum 12:35:01 b4d181a07f80: Download complete 12:35:02 d287ab97295c: Verifying Checksum 12:35:02 d287ab97295c: Download complete 12:35:02 using credential edgex-jenkins-ssh 12:35:02 Cloning the remote Git repository 12:35:02 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 12:35:03 > git init /w/workspace/device-mqtt-go/30 # timeout=10 12:35:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 12:35:03 > git --version # timeout=10 12:35:03 > git --version # 'git version 2.17.1' 12:35:03 using GIT_SSH to set credentials SSH Credentials for GitHub 12:35:03 b4d181a07f80: Pull complete 12:35:03 a1111a8f2ec3: Pull complete 12:35:04 ed53099fbce6: Pull complete 12:35:04 dc539afda2c1: Pull complete 12:35:04 77bc0d833cb6: Pull complete 12:35:04 9065ff56babe: Pull complete 12:35:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:35:04 Avoid second fetch 12:35:04 Checking out Revision 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 (main) 12:35:04 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 12:35:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:35:04 > git config core.sparsecheckout # timeout=10 12:35:04 > git checkout -f 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 12:35:08 Commit message: "build(snap): source metadata from repo (#328)" 12:35:08 12:35:08 GitHub has been notified of this commit’s build result 12:35:08 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:35:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:35:09 % Total % Received % Xferd Average Speed Time Time Time Current 12:35:09 Dload Upload Total Spent Left Speed 12:35:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 83992 0 --:--:-- --:--:-- --:--:-- 83401 12:35:09 d287ab97295c: Pull complete 12:35:09 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:35:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:35:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:35:09 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:35:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:35:12 $ docker top 6468cf7d855ca63a373fc22ae500a4ec5cbce7622de1d57ce30dc585c7a2070a -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 12:35:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:35:12 ---> job-cost.sh 12:35:12 lf-activate-venv: SKIPPING 12:35:12 INFO: No Stack... 12:35:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:35:12 + sudo tee /etc/docker/daemon.new 12:35:12 { 12:35:12 "registry-mirrors": [ 12:35:12 "https://nexus3.edgexfoundry.org:10001" 12:35:12 ], 12:35:12 "bip": "10.250.0.254/24", 12:35:12 "hosts": [ 12:35:12 "tcp://0.0.0.0:5555", 12:35:12 "unix:///var/run/docker.sock" 12:35:12 ], 12:35:12 "mtu": 1458, 12:35:12 "selinux-enabled": true, 12:35:12 "seccomp-profile": "/etc/docker/seccomp.json" 12:35:12 } 12:35:12 INFO: Retrieving Pricing Info for: v3-standard-2 [Pipeline] sh 12:35:13 INFO: Archiving Costs [Pipeline] sh 12:35:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:35:13 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 12:35:13 + cut -d, -f6 [Pipeline] lock 12:35:13 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] 12:35:13 + sudo service docker restart 12:35:13 Resource [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] did not exist. Created. 12:35:13 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:35:14 + echo total: 0.05999999865889549 [Pipeline] stash 12:35:14 Stashed 1 file(s) [Pipeline] } 12:35:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 12:35:14 $ docker stop --time=1 6468cf7d855ca63a373fc22ae500a4ec5cbce7622de1d57ce30dc585c7a2070a 12:35:15 $ docker rm -f 6468cf7d855ca63a373fc22ae500a4ec5cbce7622de1d57ce30dc585c7a2070a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:35:32 provisioning config files... 12:35:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/30@tmp/config5568042502101557089tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:35:32 ---> docker-login.sh 12:35:32 nexus3.edgexfoundry.org:10001 12:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:33 Configure a credential helper to remove this warning. See 12:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:33 12:35:33 Login Succeeded 12:35:33 nexus3.edgexfoundry.org:10002 12:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:33 Configure a credential helper to remove this warning. See 12:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:33 12:35:33 Login Succeeded 12:35:33 nexus3.edgexfoundry.org:10003 12:35:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:34 Configure a credential helper to remove this warning. See 12:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:34 12:35:34 Login Succeeded 12:35:34 nexus3.edgexfoundry.org:10004 12:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:34 Configure a credential helper to remove this warning. See 12:35:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:34 12:35:34 Login Succeeded 12:35:34 docker.io 12:35:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:35 Configure a credential helper to remove this warning. See 12:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:35 12:35:35 Login Succeeded 12:35:35 ---> docker-login.sh ends [Pipeline] } 12:35:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:35:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:35:35 ========================================================= 12:35:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:35:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:35:36 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 12:35:36 Sending build context to Docker daemon 2.986MB 12:35:36 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:35:36 Step 2/12 : FROM ${BASE} AS builder 12:35:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:35:36 9b3977197b4f: Pulling fs layer 12:35:36 1a89e8eeedd5: Pulling fs layer 12:35:36 94645a83ff95: Pulling fs layer 12:35:36 3f3a8bcf1eab: Pulling fs layer 12:35:36 0c92f367c5e7: Pulling fs layer 12:35:36 f7c0051592d6: Pulling fs layer 12:35:36 a227ed2f7395: Pulling fs layer 12:35:36 7b1c46037f91: Pulling fs layer 12:35:36 3f3a8bcf1eab: Waiting 12:35:36 0c92f367c5e7: Waiting 12:35:36 f7c0051592d6: Waiting 12:35:36 7b1c46037f91: Waiting 12:35:36 a227ed2f7395: Waiting 12:35:36 94645a83ff95: Verifying Checksum 12:35:36 94645a83ff95: Download complete 12:35:36 1a89e8eeedd5: Verifying Checksum 12:35:36 1a89e8eeedd5: Download complete 12:35:36 0c92f367c5e7: Download complete 12:35:36 f7c0051592d6: Verifying Checksum 12:35:36 f7c0051592d6: Download complete 12:35:36 9b3977197b4f: Download complete 12:35:36 a227ed2f7395: Verifying Checksum 12:35:36 a227ed2f7395: Download complete 12:35:37 9b3977197b4f: Pull complete 12:35:37 1a89e8eeedd5: Pull complete 12:35:38 94645a83ff95: Pull complete 12:35:38 7b1c46037f91: Verifying Checksum 12:35:38 7b1c46037f91: Download complete 12:35:39 3f3a8bcf1eab: Verifying Checksum 12:35:39 3f3a8bcf1eab: Download complete 12:35:51 3f3a8bcf1eab: Pull complete 12:35:51 0c92f367c5e7: Pull complete 12:35:51 f7c0051592d6: Pull complete 12:35:51 a227ed2f7395: Pull complete 12:35:56 7b1c46037f91: Pull complete 12:35:56 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:35:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:35:56 ---> f79e39bc4007 12:35:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:35:58 ---> Running in 0711f7dc4578 12:35:58 Removing intermediate container 0711f7dc4578 12:35:58 ---> 7926d49e0cef 12:35:58 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:35:58 ---> Running in f7e72b435995 12:35:59 Removing intermediate container f7e72b435995 12:35:59 ---> 272a2e20c28d 12:35:59 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:35:59 ---> Running in 603617df3e88 12:36:01 Removing intermediate container 603617df3e88 12:36:01 ---> 4fd7a79f93e9 12:36:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:36:01 ---> Running in d8f26c1c58a1 12:36:02 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:36:03 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:36:03 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:36:03 (2/4) Installing libedit (20210910.3.1-r0) 12:36:03 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:36:04 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:36:04 Executing busybox-1.34.1-r3.trigger 12:36:04 OK: 224 MiB in 56 packages 12:36:05 Removing intermediate container d8f26c1c58a1 12:36:05 ---> 4a97881c665d 12:36:05 Step 7/12 : WORKDIR /device-mqtt-go 12:36:05 ---> Running in 2dbd6630488f 12:36:05 Removing intermediate container 2dbd6630488f 12:36:05 ---> 3f907935aa18 12:36:05 Step 8/12 : COPY go.mod vendor* ./ 12:36:06 ---> 90b70afa0442 12:36:06 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:36:06 ---> Running in f132db19c979 12:37:28 Removing intermediate container f132db19c979 12:37:28 ---> 085ba72d1078 12:37:28 Step 10/12 : COPY . . 12:37:28 ---> 667963d335a3 12:37:28 Step 11/12 : ARG MAKE='make build' 12:37:28 ---> Running in 29558398bdf6 12:37:28 Removing intermediate container 29558398bdf6 12:37:28 ---> 067ea7797118 12:37:28 Step 12/12 : RUN $MAKE 12:37:28 ---> Running in 70e678841955 12:37:28 noop 12:37:28 Removing intermediate container 70e678841955 12:37:28 ---> e9b8d6ed21d7 12:37:28 Successfully built e9b8d6ed21d7 12:37:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:37:28 + docker inspect -f . ci-base-image-arm64 12:37:28 . [Pipeline] withDockerContainer 12:37:28 prd-ubuntu18.04-docker-arm64-4c-16g-4830 does not seem to be running inside a container 12:37:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/30 -v /w/workspace/device-mqtt-go/30:/w/workspace/device-mqtt-go/30:rw,z -v /w/workspace/device-mqtt-go/30@tmp:/w/workspace/device-mqtt-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:37:30 $ docker top b0099b5dc5bd7eabc5c72d131f7a3845ea777412d4488cd35047933964d4c2bd -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:31 + go version 12:37:31 go version go1.17.6 linux/arm64 [Pipeline] } 12:37:31 $ docker stop --time=1 b0099b5dc5bd7eabc5c72d131f7a3845ea777412d4488cd35047933964d4c2bd 12:37:32 $ docker rm -f b0099b5dc5bd7eabc5c72d131f7a3845ea777412d4488cd35047933964d4c2bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:37:33 + docker inspect -f . ci-base-image-arm64 12:37:33 . [Pipeline] withDockerContainer 12:37:33 prd-ubuntu18.04-docker-arm64-4c-16g-4830 does not seem to be running inside a container 12:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/30 -v /w/workspace/device-mqtt-go/30:/w/workspace/device-mqtt-go/30:rw,z -v /w/workspace/device-mqtt-go/30@tmp:/w/workspace/device-mqtt-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:37:34 $ docker top 9958153cc991e1cabd27e6f43c2da9874a38b505b39476be81fbb97ba6b8f3a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:37:35 + make test 12:37:35 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:37:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:38:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:38:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.5% of statements 12:38:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:38:23 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:38:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:38:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:38:45 ./bin/test-attribution-txt.sh [Pipeline] echo 12:38:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:38:46 $ docker stop --time=1 9958153cc991e1cabd27e6f43c2da9874a38b505b39476be81fbb97ba6b8f3a7 12:38:47 $ docker rm -f 9958153cc991e1cabd27e6f43c2da9874a38b505b39476be81fbb97ba6b8f3a7 [Pipeline] // withDockerContainer [Pipeline] sh 12:38:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:38:48 Warning: overwriting stash ‘coverage-report’ 12:38:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:38:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:38:49 + ls -al . 12:38:49 total 180 12:38:49 drwxrwxr-x 9 jenkins jenkins 4096 Feb 8 12:38 . 12:38:49 drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 12:35 .. 12:38:49 -rw-rw-r-- 1 jenkins jenkins 140 Feb 8 12:35 .dockerignore 12:38:49 drwxrwxr-x 8 jenkins jenkins 4096 Feb 8 12:35 .git 12:38:49 drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 12:35 .github 12:38:49 -rw-rw-r-- 1 jenkins jenkins 329 Feb 8 12:35 .gitignore 12:38:49 -rw-rw-r-- 1 jenkins jenkins 7287 Feb 8 12:35 Attribution.txt 12:38:49 -rw-rw-r-- 1 jenkins jenkins 7447 Feb 8 12:35 CHANGELOG.md 12:38:49 -rw-rw-r-- 1 jenkins jenkins 1930 Feb 8 12:35 Dockerfile 12:38:49 -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 12:35 GOVERNANCE.md 12:38:49 -rw-rw-r-- 1 jenkins jenkins 677 Feb 8 12:35 Jenkinsfile 12:38:49 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 8 12:35 LICENSE 12:38:49 -rw-rw-r-- 1 jenkins jenkins 1030 Feb 8 12:35 Makefile 12:38:49 -rw-rw-r-- 1 jenkins jenkins 620 Feb 8 12:35 OWNERS.md 12:38:49 -rw-rw-r-- 1 jenkins jenkins 2643 Feb 8 12:35 README.md 12:38:49 -rw-rw-r-- 1 jenkins jenkins 11 Feb 8 12:33 VERSION 12:38:49 drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 12:35 bin 12:38:49 drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 12:35 cmd 12:38:49 -rw-r--r-- 1 jenkins jenkins 17452 Feb 8 12:38 coverage.out 12:38:49 -rw-rw-r-- 1 jenkins jenkins 2907 Feb 8 12:35 go.mod 12:38:49 -rw-rw-r-- 1 jenkins jenkins 49409 Feb 8 12:35 go.sum 12:38:49 drwxrwxr-x 3 jenkins jenkins 4096 Feb 8 12:35 internal 12:38:49 drwxrwxr-x 2 jenkins jenkins 4096 Feb 8 12:35 mock 12:38:49 drwxrwxr-x 4 jenkins jenkins 4096 Feb 8 12:35 snap 12:38:49 -rw-rw-r-- 1 jenkins jenkins 227 Feb 8 12:35 version.go [Pipeline] isUnix [Pipeline] sh 12:38:50 + 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=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 --label arch=arm64 --label version=2.2.0-dev.9 . 12:38:50 Sending build context to Docker daemon 3.005MB 12:38:50 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:38:50 Step 2/24 : FROM ${BASE} AS builder 12:38:50 ---> e9b8d6ed21d7 12:38:50 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:38:50 ---> Running in 39c14ccb1b70 12:38:51 Removing intermediate container 39c14ccb1b70 12:38:51 ---> c1122c32b5b9 12:38:51 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:38:51 ---> Running in 7cc0b97e59ae 12:38:51 Removing intermediate container 7cc0b97e59ae 12:38:51 ---> 52eaafaad886 12:38:51 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:38:51 ---> Running in c39386338828 12:38:53 Removing intermediate container c39386338828 12:38:53 ---> bfe40f35949e 12:38:53 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:38:53 ---> Running in 25eabee4cee7 12:38:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:38:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:38:56 OK: 224 MiB in 56 packages 12:38:56 Removing intermediate container 25eabee4cee7 12:38:56 ---> 6ea66f8ca695 12:38:56 Step 7/24 : WORKDIR /device-mqtt-go 12:38:57 ---> Running in f0f490ec869c 12:38:57 Removing intermediate container f0f490ec869c 12:38:57 ---> 9faac51426a7 12:38:57 Step 8/24 : COPY go.mod vendor* ./ 12:38:57 ---> dcc5952d2fd8 12:38:57 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:38:57 ---> Running in 4d159cf2d3ab 12:38:59 Removing intermediate container 4d159cf2d3ab 12:38:59 ---> b32ef80ac91a 12:38:59 Step 10/24 : COPY . . 12:39:00 ---> 9261df26baca 12:39:00 Step 11/24 : ARG MAKE='make build' 12:39:00 ---> Running in 4fe2ddb38cbe 12:39:01 Removing intermediate container 4fe2ddb38cbe 12:39:01 ---> 27e49ae166ea 12:39:01 Step 12/24 : RUN $MAKE 12:39:01 ---> Running in 2e36de42f041 12:39:02 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.9" -o cmd/device-mqtt ./cmd 12:39:41 Removing intermediate container 2e36de42f041 12:39:41 ---> 77f7d46096f4 12:39:41 Step 13/24 : FROM alpine:3.14 12:39:41 3.14: Pulling from library/alpine 12:39:41 be307f383ecc: Pulling fs layer 12:39:41 be307f383ecc: Verifying Checksum 12:39:41 be307f383ecc: Download complete 12:39:42 be307f383ecc: Pull complete 12:39:42 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 12:39:42 Status: Downloaded newer image for alpine:3.14 12:39:42 ---> 5b8b7b635229 12:39:42 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:39:42 ---> Running in 90960baab1e3 12:39:42 Removing intermediate container 90960baab1e3 12:39:42 ---> 822435746df1 12:39:42 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:39:42 ---> Running in a645f5aaa52f 12:39:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:39:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:39:44 (1/6) Installing dumb-init (1.2.5-r1) 12:39:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:39:44 (3/6) Installing libsodium (1.0.18-r0) 12:39:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:39:44 (5/6) Installing libzmq (4.3.4-r0) 12:39:45 (6/6) Installing zeromq (4.3.4-r0) 12:39:45 Executing busybox-1.33.1-r6.trigger 12:39:45 OK: 8 MiB in 20 packages 12:39:46 Removing intermediate container a645f5aaa52f 12:39:46 ---> dce1aeaba6be 12:39:46 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:39:46 ---> 77db93fa7eae 12:39:46 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:39:47 ---> 1b54737a3343 12:39:47 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:39:48 ---> 1827225165b5 12:39:48 Step 19/24 : EXPOSE 59982 12:39:48 ---> Running in e725309ec7a0 12:39:48 Removing intermediate container e725309ec7a0 12:39:48 ---> 3c483cc87ac1 12:39:48 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:39:48 ---> Running in cd7af6a3b152 12:39:48 Removing intermediate container cd7af6a3b152 12:39:48 ---> ee4094993893 12:39:48 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:39:49 ---> Running in 5fe32b9aa285 12:39:49 Removing intermediate container 5fe32b9aa285 12:39:49 ---> c3eedfb7b286 12:39:49 Step 22/24 : LABEL arch=arm64 12:39:49 ---> Running in c4ce14fe97d4 12:39:49 Removing intermediate container c4ce14fe97d4 12:39:49 ---> 1760be798f0a 12:39:49 Step 23/24 : LABEL git_sha=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 12:39:50 ---> Running in 3f005a8e2949 12:39:50 Removing intermediate container 3f005a8e2949 12:39:50 ---> 85fd8dd6af10 12:39:50 Step 24/24 : LABEL version=2.2.0-dev.9 12:39:50 ---> Running in fcb92803a107 12:39:50 Removing intermediate container fcb92803a107 12:39:50 ---> 67084e26bf32 12:39:50 [Warning] One or more build-args [ARCH] were not consumed 12:39:50 Successfully built 67084e26bf32 12:39:50 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:39:50 provisioning config files... 12:39:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/30@tmp/config1164131639920150199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:39:51 ---> docker-login.sh 12:39:51 nexus3.edgexfoundry.org:10001 12:39:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:51 Configure a credential helper to remove this warning. See 12:39:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:51 12:39:51 Login Succeeded 12:39:51 nexus3.edgexfoundry.org:10002 12:39:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:52 Configure a credential helper to remove this warning. See 12:39:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:52 12:39:52 Login Succeeded 12:39:52 nexus3.edgexfoundry.org:10003 12:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:52 Configure a credential helper to remove this warning. See 12:39:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:52 12:39:52 Login Succeeded 12:39:52 nexus3.edgexfoundry.org:10004 12:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:53 Configure a credential helper to remove this warning. See 12:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:53 12:39:53 Login Succeeded 12:39:53 docker.io 12:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:53 Configure a credential helper to remove this warning. See 12:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:53 12:39:53 Login Succeeded 12:39:53 ---> docker-login.sh ends [Pipeline] } 12:39:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:39:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:39:53 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 12:39:53 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 12:39:53 latest 12:39:53 2.2.0-dev.9 12:39:53 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 12:39:53 main 12:39:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:39:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] isUnix [Pipeline] sh 12:39:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 12:39:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:39:54 d819811df203: Preparing 12:39:54 4ad97891ae55: Preparing 12:39:54 40990725ae6d: Preparing 12:39:54 5541b2a888cf: Preparing 12:39:54 62170e181a92: Preparing 12:39:54 62170e181a92: Layer already exists 12:39:54 d819811df203: Pushed 12:39:54 4ad97891ae55: Pushed 12:39:55 5541b2a888cf: Pushed 12:39:57 40990725ae6d: Pushed 12:39:57 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] isUnix [Pipeline] sh 12:39:58 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:39:58 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 12:39:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:39:58 d819811df203: Preparing 12:39:58 4ad97891ae55: Preparing 12:39:58 40990725ae6d: Preparing 12:39:58 5541b2a888cf: Preparing 12:39:58 62170e181a92: Preparing 12:39:58 5541b2a888cf: Layer already exists 12:39:58 62170e181a92: Layer already exists 12:39:58 d819811df203: Layer already exists 12:39:58 4ad97891ae55: Layer already exists 12:39:58 40990725ae6d: Layer already exists 12:39:58 latest: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] isUnix [Pipeline] sh 12:39:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 12:39:59 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.9 12:39:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:39:59 d819811df203: Preparing 12:39:59 4ad97891ae55: Preparing 12:39:59 40990725ae6d: Preparing 12:39:59 5541b2a888cf: Preparing 12:39:59 62170e181a92: Preparing 12:39:59 40990725ae6d: Layer already exists 12:39:59 4ad97891ae55: Layer already exists 12:39:59 62170e181a92: Layer already exists 12:39:59 d819811df203: Layer already exists 12:39:59 5541b2a888cf: Layer already exists 12:39:59 2.2.0-dev.9: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] isUnix [Pipeline] sh 12:39:59 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh 12:40:00 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 12:40:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:40:00 d819811df203: Preparing 12:40:00 4ad97891ae55: Preparing 12:40:00 40990725ae6d: Preparing 12:40:00 5541b2a888cf: Preparing 12:40:00 62170e181a92: Preparing 12:40:00 d819811df203: Layer already exists 12:40:00 62170e181a92: Layer already exists 12:40:00 40990725ae6d: Layer already exists 12:40:00 5541b2a888cf: Layer already exists 12:40:00 4ad97891ae55: Layer already exists 12:40:00 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] isUnix [Pipeline] sh 12:40:00 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 12:40:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 12:40:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:40:01 d819811df203: Preparing 12:40:01 4ad97891ae55: Preparing 12:40:01 40990725ae6d: Preparing 12:40:01 5541b2a888cf: Preparing 12:40:01 62170e181a92: Preparing 12:40:01 62170e181a92: Layer already exists 12:40:01 d819811df203: Layer already exists 12:40:01 4ad97891ae55: Layer already exists 12:40:01 5541b2a888cf: Layer already exists 12:40:01 40990725ae6d: Layer already exists 12:40:01 main: digest: sha256:f95c962d9a2c444292625df548523b0151025567ad05b06fb38d322da9f8aff8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:40:01 ===================================================== [Pipeline] echo 12:40:01 taggedImages: 12:40:01 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 12:40:01 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 12:40:01 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.9 12:40:01 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:195658a04037eb8b6dd2e89b8fc6d25babbaa5f0-2.2.0-dev.9 12:40:01 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:40:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:40:01 12:40:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:40:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:40:02 arm64: Pulling from edgex-lftools-log-publisher 12:40:02 448f6bf000e3: Pulling fs layer 12:40:02 f757da607395: Pulling fs layer 12:40:02 05883995daec: Pulling fs layer 12:40:02 8603b9c90790: Pulling fs layer 12:40:02 1560dd03e051: Pulling fs layer 12:40:02 27f5ce0e4adf: Pulling fs layer 12:40:02 c2d8d7efcc4b: Pulling fs layer 12:40:02 8603b9c90790: Waiting 12:40:02 1560dd03e051: Waiting 12:40:02 27f5ce0e4adf: Waiting 12:40:02 c2d8d7efcc4b: Waiting 12:40:02 f757da607395: Verifying Checksum 12:40:02 f757da607395: Download complete 12:40:02 8603b9c90790: Verifying Checksum 12:40:02 8603b9c90790: Download complete 12:40:02 1560dd03e051: Verifying Checksum 12:40:02 1560dd03e051: Download complete 12:40:02 27f5ce0e4adf: Verifying Checksum 12:40:02 27f5ce0e4adf: Download complete 12:40:02 05883995daec: Verifying Checksum 12:40:02 05883995daec: Download complete 12:40:03 448f6bf000e3: Verifying Checksum 12:40:03 448f6bf000e3: Download complete 12:40:05 c2d8d7efcc4b: Verifying Checksum 12:40:05 c2d8d7efcc4b: Download complete 12:40:06 448f6bf000e3: Pull complete 12:40:07 f757da607395: Pull complete 12:40:08 05883995daec: Pull complete 12:40:08 8603b9c90790: Pull complete 12:40:09 1560dd03e051: Pull complete 12:40:10 27f5ce0e4adf: Pull complete 12:40:25 c2d8d7efcc4b: Pull complete 12:40:25 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:40:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:40:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:40:25 prd-ubuntu18.04-docker-arm64-4c-16g-4830 does not seem to be running inside a container 12:40:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/30 -v /w/workspace/device-mqtt-go/30:/w/workspace/device-mqtt-go/30:rw,z -v /w/workspace/device-mqtt-go/30@tmp:/w/workspace/device-mqtt-go/30@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:40:28 $ docker top aa9baaf47ce0f70707fb9ac51cf1a1ecfa6cdf8002e7e22c67cbcfca6aaf485b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:40:28 ---> job-cost.sh 12:40:28 lf-activate-venv: SKIPPING 12:40:28 INFO: No Stack... 12:40:29 INFO: Retrieving Pricing Info for: v3-standard-4 12:40:29 INFO: Archiving Costs [Pipeline] sh 12:40:30 + cut -d, -f6 12:40:30 + cat /w/workspace/device-mqtt-go/30/archives/cost.csv [Pipeline] lock 12:40:30 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] 12:40:30 Resource [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] did not exist. Created. 12:40:30 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:40:30 /w/workspace/device-mqtt-go/30@tmp/durable-2a934609/script.sh: 1: /w/workspace/device-mqtt-go/30@tmp/durable-2a934609/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 12:40:31 + echo total: 0.10999999940395355 [Pipeline] stash 12:40:31 Warning: overwriting stash ‘stack-cost’ 12:40:31 Stashed 1 file(s) [Pipeline] } 12:40:31 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } 12:40:31 $ docker stop --time=1 aa9baaf47ce0f70707fb9ac51cf1a1ecfa6cdf8002e7e22c67cbcfca6aaf485b 12:40:33 $ docker rm -f aa9baaf47ce0f70707fb9ac51cf1a1ecfa6cdf8002e7e22c67cbcfca6aaf485b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 12:40:33 provisioning config files... 12:40:33 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config622908485108867079tmp [Pipeline] { [Pipeline] sh 12:40:33 + set +x 12:40:33 + curl -s https://codecov.io/bash 12:40:33 + bash -s -- 12:40:33 12:40:33 _____ _ 12:40:33 / ____| | | 12:40:33 | | ___ __| | ___ ___ _____ __ 12:40:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:40:33 | |___| (_) | (_| | __/ (_| (_) \ V / 12:40:33 \_____\___/ \__,_|\___|\___\___/ \_/ 12:40:33 Bash-1.0.6 12:40:33 12:40:33 12:40:33 ==> git version 2.24.4 found 12:40:33 ==> 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 12:40:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 12:40:33 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 12:40:33 ==> Jenkins CI detected. 12:40:33 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 12:40:33 project root: . 12:40:33 --> token set from env 12:40:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:40:34 ==> Running gcov in . (disable via -X gcov) 12:40:34 ==> Python coveragepy not found 12:40:34 ==> Searching for coverage reports in: 12:40:34 + . 12:40:34 -> Found 1 reports 12:40:34 ==> Detecting git/mercurial file structure 12:40:34 ==> Reading reports 12:40:34 + ./coverage.out bytes=17452 12:40:34 ==> Appending adjustments 12:40:34 https://docs.codecov.io/docs/fixing-reports 12:40:34 + Found adjustments 12:40:34 ==> Gzipping contents 12:40:34 4.0K /tmp/codecov.39btYZ.gz 12:40:34 ==> Uploading reports 12:40:34 url: https://codecov.io 12:40:34 query: branch=main&commit=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:40:34 -> Pinging Codecov 12:40:34 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=195658a04037eb8b6dd2e89b8fc6d25babbaa5f0&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:40:34 -> Uploading to 12:40:34 https://storage.googleapis.com/codecov/v4/raw/2022-02-08/7D719EC7BBE17E464838252E33014C33/195658a04037eb8b6dd2e89b8fc6d25babbaa5f0/3d238bb5-915e-43b5-a19d-d44606d0e450.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220208%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220208T124034Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b71447616fc9acb907f95698c43c5ed6a134b6581f88593c83e56d3514617144 12:40:34 % Total % Received % Xferd Average Speed Time Time Time Current 12:40:34 Dload Upload Total Spent Left Speed 12:40:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3218 0 0 100 3218 0 9172 --:--:-- --:--:-- --:--:-- 9168 12:40:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] } 12:40:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:40:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:40:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:40:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:40:35 12:40:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 12:40:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:40:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:40:35 188c0c94c7c5: Pulling fs layer 12:40:35 0ef7d3d256c8: Pulling fs layer 12:40:35 de9db76c5a1d: Pulling fs layer 12:40:35 0eba1c9be4d2: Pulling fs layer 12:40:35 0d57e429df01: Pulling fs layer 12:40:35 4e4be7b47b0d: Pulling fs layer 12:40:35 e1f770b5df2f: Pulling fs layer 12:40:35 85a0685a4137: Pulling fs layer 12:40:35 0d57e429df01: Waiting 12:40:35 4e4be7b47b0d: Waiting 12:40:35 e1f770b5df2f: Waiting 12:40:35 85a0685a4137: Waiting 12:40:35 0eba1c9be4d2: Waiting 12:40:35 de9db76c5a1d: Verifying Checksum 12:40:35 de9db76c5a1d: Download complete 12:40:35 0ef7d3d256c8: Verifying Checksum 12:40:35 0ef7d3d256c8: Download complete 12:40:35 0d57e429df01: Verifying Checksum 12:40:35 0d57e429df01: Download complete 12:40:35 4e4be7b47b0d: Verifying Checksum 12:40:35 4e4be7b47b0d: Download complete 12:40:35 188c0c94c7c5: Verifying Checksum 12:40:35 188c0c94c7c5: Download complete 12:40:36 e1f770b5df2f: Verifying Checksum 12:40:36 e1f770b5df2f: Download complete 12:40:36 188c0c94c7c5: Pull complete 12:40:36 0eba1c9be4d2: Verifying Checksum 12:40:36 0eba1c9be4d2: Download complete 12:40:36 0ef7d3d256c8: Pull complete 12:40:36 de9db76c5a1d: Pull complete 12:40:36 85a0685a4137: Verifying Checksum 12:40:36 85a0685a4137: Download complete 12:40:40 0eba1c9be4d2: Pull complete 12:40:40 0d57e429df01: Pull complete 12:40:40 4e4be7b47b0d: Pull complete 12:40:40 e1f770b5df2f: Pull complete 12:40:45 85a0685a4137: Pull complete 12:40:45 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 12:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:40:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 12:40:45 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:40:45 $ 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 12:40:47 $ docker top f311a85ecf9aae5e121ae6db76773288475279661137a25922e91f9b4f892903 -eo pid,comm [Pipeline] { [Pipeline] echo 12:40:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 12:40:47 + set -o pipefail 12:40:47 + snyk monitor '--org=edgex-jenkins' 12:40:53 12:40:53 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 12:40:53 12:40:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/56fd485f-a886-4647-8ac1-64d92f82db5a 12:40:53 12:40:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 12:40:53 12:40:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:40:53 12:40:53 [Pipeline] } 12:40:53 $ docker stop --time=1 f311a85ecf9aae5e121ae6db76773288475279661137a25922e91f9b4f892903 12:40:55 $ docker rm -f f311a85ecf9aae5e121ae6db76773288475279661137a25922e91f9b4f892903 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:40:55 + git log --format=format:%s -1 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 [Pipeline] sh 12:40:56 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:40:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:40:56 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:40:56 . [Pipeline] withDockerContainer 12:40:56 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:40:56 $ 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 12:40:56 $ docker top 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:40:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:40:56 [ssh-agent] Looking for ssh-agent implementation... 12:40:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:40:57 $ docker exec 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce ssh-agent 12:40:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLjllKn/agent.13 12:40:57 SSH_AGENT_PID=19 12:40:57 Running ssh-add (command line suppressed) 12:40:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6145478422575873286.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6145478422575873286.key) 12:40:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:40:57 + git semver tag 12:40:57 # -> Open(): unable to determine branch for HEAD 12:40:57 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 12:40:57 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 12:40:57 # $SEMVER_REMOTE_NAME = origin 12:40:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:40:57 # $SEMVER_USER_NAME = edgex-jenkins 12:40:57 # $SEMVER_BRANCH = main 12:40:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 12:40:57 # 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 HEAD 12:40:57 # -> Force: false 12:40:57 # a08b0b9a35e2d9205f0a2b3b38c1a485b9e15349 refs/tags/v2.2.0-dev.9 [Pipeline] } 12:40:57 $ docker exec --env ******** --env ******** 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce ssh-agent -k 12:40:57 unset SSH_AUTH_SOCK; 12:40:57 unset SSH_AGENT_PID; 12:40:57 echo Agent pid 19 killed; 12:40:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:40:58 + git semver [Pipeline] } 12:40:58 $ docker stop --time=1 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce 12:40:59 $ docker rm -f 9c02cd51a76aac3ff840cde1a61e4ce6df17e14310f871f9bfe34b5d093598ce [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 12:40:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:40:59 12:40:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 12:41:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:41:00 0.23.1-centos7: Pulling from edgex-lftools 12:41:00 ab5ef0e58194: Pulling fs layer 12:41:00 9712f1f96733: Pulling fs layer 12:41:00 63f879dbbcfc: Pulling fs layer 12:41:00 0d9ebad4ef96: Pulling fs layer 12:41:00 e9a5061849ea: Pulling fs layer 12:41:00 d747dcd14b5f: Pulling fs layer 12:41:00 2de7ff778b66: Pulling fs layer 12:41:00 0d9ebad4ef96: Waiting 12:41:00 e9a5061849ea: Waiting 12:41:00 d747dcd14b5f: Waiting 12:41:00 2de7ff778b66: Waiting 12:41:00 9712f1f96733: Verifying Checksum 12:41:00 9712f1f96733: Download complete 12:41:00 63f879dbbcfc: Verifying Checksum 12:41:00 63f879dbbcfc: Download complete 12:41:00 0d9ebad4ef96: Verifying Checksum 12:41:00 0d9ebad4ef96: Download complete 12:41:00 d747dcd14b5f: Verifying Checksum 12:41:00 d747dcd14b5f: Download complete 12:41:00 ab5ef0e58194: Verifying Checksum 12:41:00 ab5ef0e58194: Download complete 12:41:00 e9a5061849ea: Verifying Checksum 12:41:00 e9a5061849ea: Download complete 12:41:00 2de7ff778b66: Verifying Checksum 12:41:00 2de7ff778b66: Download complete 12:41:03 ab5ef0e58194: Pull complete 12:41:03 9712f1f96733: Pull complete 12:41:04 63f879dbbcfc: Pull complete 12:41:08 0d9ebad4ef96: Pull complete 12:41:08 e9a5061849ea: Pull complete 12:41:08 d747dcd14b5f: Pull complete 12:41:10 2de7ff778b66: Pull complete 12:41:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:41:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:41:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 12:41:10 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:41:10 $ 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 12:41:13 $ docker top d2ec21cff4c6f7d3d93615c6ee88ab5827f5f3a4f7652b12f07a4eb9adf7d12a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:41:13 provisioning config files... 12:41:13 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config294420343923962427tmp 12:41:13 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7978001141972762021tmp 12:41:13 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config378133306532338471tmp [Pipeline] { [Pipeline] echo 12:41:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:41:13 ---> sigul-configuration.sh 12:41:13 gpg: directory `/root/.gnupg' created 12:41:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:41:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:41:13 gpg: keyring `/root/.gnupg/secring.gpg' created 12:41:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:41:13 gpg: CAST5 encrypted data 12:41:13 gpg: encrypted with 1 passphrase 12:41:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:41:13 + mkdir /home/jenkins 12:41:13 + mkdir /home/jenkins/sigul [Pipeline] sh 12:41:14 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 12:41:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:41:14 ---> sigul-install.sh 12:41:14 Sigul already installed; skipping installation. [Pipeline] sh 12:41:14 + git tag --list 12:41:14 0.7.1 12:41:14 v1.0.0 12:41:14 v1.1.0 12:41:14 v1.1.1 12:41:14 v1.2.2 12:41:14 v1.3.0 12:41:14 v1.3.1 12:41:14 v2.0.0 12:41:14 v2.0.1-dev.1 12:41:14 v2.0.1-dev.10 12:41:14 v2.0.1-dev.11 12:41:14 v2.0.1-dev.12 12:41:14 v2.0.1-dev.13 12:41:14 v2.0.1-dev.14 12:41:14 v2.0.1-dev.15 12:41:14 v2.0.1-dev.16 12:41:14 v2.0.1-dev.17 12:41:14 v2.0.1-dev.2 12:41:14 v2.0.1-dev.3 12:41:14 v2.0.1-dev.4 12:41:14 v2.0.1-dev.5 12:41:14 v2.0.1-dev.6 12:41:14 v2.0.1-dev.7 12:41:14 v2.0.1-dev.8 12:41:14 v2.0.1-dev.9 12:41:14 v2.1.0 12:41:14 v2.2.0-dev.1 12:41:14 v2.2.0-dev.2 12:41:14 v2.2.0-dev.3 12:41:14 v2.2.0-dev.4 12:41:14 v2.2.0-dev.5 12:41:14 v2.2.0-dev.6 12:41:14 v2.2.0-dev.7 12:41:14 v2.2.0-dev.8 12:41:14 v2.2.0-dev.9 [Pipeline] sh 12:41:15 + lftools sign git-tag v2.2.0-dev.9 12:41:15 Signing Git tag with Sigul... 12:41:15 Signing v2.2.0-dev.9 [Pipeline] echo 12:41:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:41:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:41:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:41:16 $ docker stop --time=1 d2ec21cff4c6f7d3d93615c6ee88ab5827f5f3a4f7652b12f07a4eb9adf7d12a 12:41:17 $ docker rm -f d2ec21cff4c6f7d3d93615c6ee88ab5827f5f3a4f7652b12f07a4eb9adf7d12a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:41:17 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:41:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:41:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:41:18 . [Pipeline] withDockerContainer 12:41:18 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:41:18 $ 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 12:41:18 $ docker top 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:41:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:41:18 [ssh-agent] Looking for ssh-agent implementation... 12:41:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:41:18 $ docker exec 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 ssh-agent 12:41:19 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiammMm/agent.15 12:41:19 SSH_AGENT_PID=21 12:41:19 Running ssh-add (command line suppressed) 12:41:19 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4974513818481831134.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4974513818481831134.key) 12:41:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:41:19 + git semver bump pre 12:41:19 # -> Open(): unable to determine branch for HEAD 12:41:19 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 12:41:19 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 12:41:19 # $SEMVER_REMOTE_NAME = origin 12:41:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:41:19 # $SEMVER_USER_NAME = edgex-jenkins 12:41:19 # $SEMVER_BRANCH = main 12:41:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 12:41:19 2.2.0-dev.10 [Pipeline] } 12:41:19 $ docker exec --env ******** --env ******** 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 ssh-agent -k 12:41:19 unset SSH_AUTH_SOCK; 12:41:19 unset SSH_AGENT_PID; 12:41:19 echo Agent pid 21 killed; 12:41:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:41:19 + git semver [Pipeline] } 12:41:19 $ docker stop --time=1 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 12:41:21 $ docker rm -f 19f600e03a95e29ae3a03e9e12a092db82e876f356493f97c38f7ab2a2188ea7 [Pipeline] // withDockerContainer [Pipeline] sh 12:41:21 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:41:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:41:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:41:21 . [Pipeline] withDockerContainer 12:41:21 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:41:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 12:41:22 $ docker top ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:41:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:41:22 [ssh-agent] Looking for ssh-agent implementation... 12:41:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:41:22 $ docker exec ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 ssh-agent 12:41:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnDlFlB/agent.15 12:41:22 SSH_AGENT_PID=22 12:41:22 Running ssh-add (command line suppressed) 12:41:22 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1946969136015830413.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1946969136015830413.key) 12:41:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:41:22 + git semver push 12:41:22 # -> Open(): unable to determine branch for HEAD 12:41:22 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 12:41:22 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 12:41:22 # $SEMVER_REMOTE_NAME = origin 12:41:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:41:22 # $SEMVER_USER_NAME = edgex-jenkins 12:41:22 # $SEMVER_BRANCH = main 12:41:22 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 12:41:24 $ docker exec --env ******** --env ******** ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 ssh-agent -k 12:41:24 unset SSH_AUTH_SOCK; 12:41:24 unset SSH_AGENT_PID; 12:41:24 echo Agent pid 22 killed; 12:41:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:41:25 + git semver [Pipeline] } 12:41:25 $ docker stop --time=1 ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 12:41:26 $ docker rm -f ff96f131e017e55bc587de1dbead28ffc3573f25891af35c03e3d295d1c550b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 12:41:27 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' 12:41:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:41:27 total 8 12:41:27 drwxr-xr-x. 3 root root 34 Feb 8 12:35 . 12:41:27 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 8 12:41 .. 12:41:27 drwxr-xr-x. 2 root root 6 Feb 8 12:35 cost 12:41:27 -rw-r--r--. 1 root root 84 Feb 8 12:35 cost.csv 12:41:27 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:41:27 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:41:27 total 8 12:41:27 drwxr-xr-x. 3 jenkins jenkins 34 Feb 8 12:35 . 12:41:27 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 8 12:41 .. 12:41:27 drwxr-xr-x. 2 jenkins jenkins 6 Feb 8 12:35 cost 12:41:27 -rw-r--r--. 1 jenkins jenkins 84 Feb 8 12:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:41:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:41:27 ---> package-listing.sh 12:41:27 ++ facter osfamily 12:41:27 ++ tr '[:upper:]' '[:lower:]' 12:41:28 + OS_FAMILY=redhat 12:41:28 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 12:41:28 + START_PACKAGES=/tmp/packages_start.txt 12:41:28 + END_PACKAGES=/tmp/packages_end.txt 12:41:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:41:28 + PACKAGES=/tmp/packages_start.txt 12:41:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 12:41:28 + PACKAGES=/tmp/packages_end.txt 12:41:28 + case "${OS_FAMILY}" in 12:41:28 + rpm -qa 12:41:28 + sort 12:41:28 + '[' -f /tmp/packages_start.txt ']' 12:41:28 + '[' -f /tmp/packages_end.txt ']' 12:41:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:41:28 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 12:41:28 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 12:41:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 12:41:28 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 12:41:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:41:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:41:29 . [Pipeline] withDockerContainer 12:41:29 prd-centos7-docker-4c-2g-4829 does not seem to be running inside a container 12:41:29 $ 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 12:41:29 $ docker top 5f289e4c54d33c06798f787a6808566c4931134995b930fd8de6a3509cb06bc8 -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:30 + touch /tmp/pre-build-complete [Pipeline] sh 12:41:30 + mkdir -p /var/log/sysstat [Pipeline] sh 12:41:30 + ls /var/log/sa-host 12:41:30 + sadf -c /var/log/sa-host/sa08 12:41:30 file_magic: OK 12:41:30 HZ: Using current value: 100 12:41:30 file_header: OK 12:41:30 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 12:41:30 Statistics: 12:41:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:41:30 File successfully converted to sysstat format version 12.0.3 12:41:30 + sadf -c /var/log/sa-host/sa17 12:41:30 file_magic: OK 12:41:30 HZ: Using current value: 100 12:41:30 file_header: OK 12:41:30 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 12:41:30 Statistics: 12:41:30 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:41:30 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:41:31 provisioning config files... 12:41:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config620870106150666176tmp [Pipeline] { [Pipeline] echo 12:41:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:41:31 ---> create-netrc.sh [Pipeline] } 12:41:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:41:31 ---> python-tools-install.sh [Pipeline] echo 12:41:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:41:31 ---> sudo-logs.sh 12:41:31 Archiving 'sudo' log.. 12:41:31 sudo: unable to resolve host prd-centos7-docker-4c-2g-4829.novalocal: Name or service not known 12:41:31 sudo: unable to resolve host prd-centos7-docker-4c-2g-4829.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:41:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:41:32 ---> job-cost.sh 12:41:32 lf-activate-venv: SKIPPING 12:41:32 DEBUG: total: 0.05999999865889549 12:41:32 INFO: Retrieving Stack Cost... 12:41:32 INFO: Retrieving Pricing Info for: v3-standard-2 12:41:32 INFO: Archiving Costs [Pipeline] echo 12:41:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:41:33 ---> logs-deploy.sh 12:41:33 lf-activate-venv: SKIPPING 12:41:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/30 12:41:33 INFO: archiving workspace using pattern(s): 12:41:33 Archives upload complete. 12:41:33 INFO: archiving logs to Nexus