Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 620914ed09955f471d114b9f6d925da7efa3e056 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-ssh3327175861730057483.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh11145507126869532241.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh14954066426716281173.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh11651765525668022280.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-ssh11519656244280332109.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-2090 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-ssh135069588383884457.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 620914ed09955f471d114b9f6d925da7efa3e056 (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 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 Commit message: "ci: Go 1.17 related changes (#334)" > git rev-list --no-walk 53e4264da7a8f5345b5b18c03a825d0468689761 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:13:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:13:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:13:47 ========================================================= 20:13:47 EdgeX Global Pipelines Version Info 20:13:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:13:48 ------------------- 20:13:48 stable info: 20:13:48 ------------------- 20:13:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:13:48 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:13:48 Message: update stable to v1.0.219 20:13:48 ------------------- 20:13:48 experimental info: 20:13:48 ------------------- 20:13:48 Commited By: **** collab-it+edgex@linuxfoundation.org 20:13:48 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 20:13:48 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 620914e [Pipeline] echo 20:13:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:13:49 provisioning config files... 20:13:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5896977109121151610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:13:49 ---> docker-login.sh 20:13:49 nexus3.edgexfoundry.org:10001 20:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10002 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10003 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 nexus3.edgexfoundry.org:10004 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:50 Configure a credential helper to remove this warning. See 20:13:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:50 20:13:50 Login Succeeded 20:13:50 docker.io 20:13:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:13:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:13:51 Configure a credential helper to remove this warning. See 20:13:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:13:51 20:13:51 Login Succeeded 20:13:51 ---> docker-login.sh ends [Pipeline] } 20:13:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:13:51 + git rev-list -1 --merges 620914ed09955f471d114b9f6d925da7efa3e056~1..620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] echo 20:13:51 -----------> git rev-list -1 --merges 620914ed09955f471d114b9f6d925da7efa3e056~1..620914ed09955f471d114b9f6d925da7efa3e056 620914ed09955f471d114b9f6d925da7efa3e056 [false] [Pipeline] sh 20:13:51 + git log --format=format:%s -1 620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] echo 20:13:51 ========================================================= 20:13:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:13:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:13:52 + git log --format=format:%s -1 620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] echo 20:13:52 [semverPrep] GIT_COMMIT: 620914ed09955f471d114b9f6d925da7efa3e056, Commit Message: ci: Go 1.17 related changes (#334) [Pipeline] echo 20:13:52 [semverPrep] This is not a build commit. [Pipeline] sh 20:13:52 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:13:52 + grep -v github /etc/ssh/ssh_known_hosts 20:13:52 + '[' -e /tmp/ssh_known_hosts ']' 20:13:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:13:52 + sudo tee -a /etc/ssh/ssh_known_hosts 20:13:52 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 20:13:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:13:52 20:13:52 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:13:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:13:53 latest: Pulling from edgex-devops/git-semver 20:13:53 a0d0a0d46f8b: Pulling fs layer 20:13:53 3e5f54012d9b: Pulling fs layer 20:13:53 4c7163046ea9: Pulling fs layer 20:13:53 0c2d73faf560: Pulling fs layer 20:13:53 3e5f54012d9b: Verifying Checksum 20:13:53 3e5f54012d9b: Download complete 20:13:53 a0d0a0d46f8b: Verifying Checksum 20:13:53 a0d0a0d46f8b: Download complete 20:13:53 4c7163046ea9: Verifying Checksum 20:13:53 4c7163046ea9: Download complete 20:13:53 0c2d73faf560: Verifying Checksum 20:13:53 0c2d73faf560: Download complete 20:13:53 a0d0a0d46f8b: Pull complete 20:13:53 3e5f54012d9b: Pull complete 20:13:53 4c7163046ea9: Pull complete 20:13:54 0c2d73faf560: Pull complete 20:13:54 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:13:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:13:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:13:54 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:13:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:13:55 $ docker top 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:13:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:55 [ssh-agent] Looking for ssh-agent implementation... 20:13:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:55 $ docker exec 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a ssh-agent 20:13:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGIegoF/agent.13 20:13:55 SSH_AGENT_PID=19 20:13:55 Running ssh-add (command line suppressed) 20:13:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5751945572243345173.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5751945572243345173.key) 20:13:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:13:55 + git tag --points-at HEAD [Pipeline] } 20:13:55 $ docker exec --env ******** --env ******** 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a ssh-agent -k 20:13:55 unset SSH_AUTH_SOCK; 20:13:55 unset SSH_AGENT_PID; 20:13:55 echo Agent pid 19 killed; 20:13:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:13:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:13:55 [ssh-agent] Looking for ssh-agent implementation... 20:13:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:13:56 $ docker exec 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a ssh-agent 20:13:56 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnlMBjm/agent.53 20:13:56 SSH_AGENT_PID=59 20:13:56 Running ssh-add (command line suppressed) 20:13:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7366349224218158794.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7366349224218158794.key) 20:13:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:13:56 + git semver init 20:13:56 # -> Open(): unable to determine branch for HEAD 20:13:56 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:13:56 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:13:56 # $SEMVER_REMOTE_NAME = origin 20:13:56 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:13:56 # $SEMVER_USER_NAME = edgex-jenkins 20:13:56 # $SEMVER_BRANCH = main 20:13:56 # $SEMVER_TEMP = /tmp/semver-900256998 20:13:56 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 20:13:57 # '/tmp/semver-900256998' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 20:13:57 # -> Force: false 20:13:57 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 20:13:57 $ docker exec --env ******** --env ******** 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a ssh-agent -k 20:13:57 unset SSH_AUTH_SOCK; 20:13:57 unset SSH_AGENT_PID; 20:13:57 echo Agent pid 59 killed; 20:13:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:13:58 + git semver [Pipeline] } 20:13:58 $ docker stop --time=1 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a 20:13:59 $ docker rm -f 8e69f83e317c5917bbf8bbe914519c3d716b98ed6a008f2b381904503fa4350a [Pipeline] // withDockerContainer [Pipeline] sh 20:13:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:13:59 Stashed 1 file(s) [Pipeline] echo 20:13:59 [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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 20:14:00 provisioning config files... 20:14:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1979075744564787118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:00 ---> docker-login.sh 20:14:00 nexus3.edgexfoundry.org:10001 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 nexus3.edgexfoundry.org:10002 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 nexus3.edgexfoundry.org:10003 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 nexus3.edgexfoundry.org:10004 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:00 Configure a credential helper to remove this warning. See 20:14:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:00 20:14:00 Login Succeeded 20:14:00 docker.io 20:14:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:14:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:14:01 Configure a credential helper to remove this warning. See 20:14:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:14:01 20:14:01 Login Succeeded 20:14:01 ---> docker-login.sh ends [Pipeline] } 20:14:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:14:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:14:01 ========================================================= 20:14:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:14:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:14:01 + 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 . 20:14:01 Sending build context to Docker daemon 5.711MB 20:14:01 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:14:01 Step 2/12 : FROM ${BASE} AS builder 20:14:01 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:14:01 59bf1c3509f3: Pulling fs layer 20:14:01 666ba61612fd: Pulling fs layer 20:14:01 8ed8ca486205: Pulling fs layer 20:14:01 4fe6c5a15a65: Pulling fs layer 20:14:01 22a0e8bec74d: Pulling fs layer 20:14:01 f965cba54748: Pulling fs layer 20:14:01 861ffc35075e: Pulling fs layer 20:14:01 4b385c91608e: Pulling fs layer 20:14:01 560528eb2ebb: Pulling fs layer 20:14:01 4fe6c5a15a65: Waiting 20:14:01 22a0e8bec74d: Waiting 20:14:01 f965cba54748: Waiting 20:14:01 861ffc35075e: Waiting 20:14:01 4b385c91608e: Waiting 20:14:01 560528eb2ebb: Waiting 20:14:01 8ed8ca486205: Verifying Checksum 20:14:01 8ed8ca486205: Download complete 20:14:01 666ba61612fd: Verifying Checksum 20:14:01 666ba61612fd: Download complete 20:14:01 22a0e8bec74d: Verifying Checksum 20:14:01 22a0e8bec74d: Download complete 20:14:01 f965cba54748: Verifying Checksum 20:14:01 f965cba54748: Download complete 20:14:01 861ffc35075e: Verifying Checksum 20:14:01 861ffc35075e: Download complete 20:14:01 59bf1c3509f3: Verifying Checksum 20:14:01 59bf1c3509f3: Download complete 20:14:02 4b385c91608e: Verifying Checksum 20:14:02 4b385c91608e: Download complete 20:14:02 59bf1c3509f3: Pull complete 20:14:02 666ba61612fd: Pull complete 20:14:02 560528eb2ebb: Verifying Checksum 20:14:02 560528eb2ebb: Download complete 20:14:02 4fe6c5a15a65: Verifying Checksum 20:14:02 4fe6c5a15a65: Download complete 20:14:02 8ed8ca486205: Pull complete 20:14:07 4fe6c5a15a65: Pull complete 20:14:07 22a0e8bec74d: Pull complete 20:14:07 f965cba54748: Pull complete 20:14:07 861ffc35075e: Pull complete 20:14:07 4b385c91608e: Pull complete 20:14:10 560528eb2ebb: Pull complete 20:14:10 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 20:14:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:14:10 ---> dd4a08f94e63 20:14:10 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:14:13 ---> Running in 2d83929370ec 20:14:13 Removing intermediate container 2d83929370ec 20:14:13 ---> 40fbb6f5452f 20:14:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:14:13 ---> Running in 7b04840d8111 20:14:13 Removing intermediate container 7b04840d8111 20:14:13 ---> d3ba5db4a9a7 20:14:13 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:14:13 ---> Running in 1a5038352e50 20:14:13 Removing intermediate container 1a5038352e50 20:14:13 ---> 7f7f31abcf97 20:14:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:14:13 ---> Running in 225785b67361 20:14:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:14:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:14:15 Still waiting to schedule task 20:14:15 ‘prd-centos7-blackbox-4c-2g-1555’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:14:15 ‘prd-centos7-docker-4c-2g-2092’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:14:15 ‘prd-centos7-docker-4c-2g-2093’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ 20:14:15 ‘prd-ubuntu18.04-docker-arm64-4c-16g-2091’ is offline 20:14:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:14:15 (2/4) Installing libedit (20210910.3.1-r0) 20:14:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:14:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:14:15 Executing busybox-1.34.1-r3.trigger 20:14:15 OK: 224 MiB in 56 packages 20:14:16 Removing intermediate container 225785b67361 20:14:16 ---> 19b7c856dcb9 20:14:16 Step 7/12 : WORKDIR /device-mqtt-go 20:14:16 ---> Running in 67465e54b39e 20:14:16 Removing intermediate container 67465e54b39e 20:14:16 ---> b714d38102ed 20:14:16 Step 8/12 : COPY go.mod vendor* ./ 20:14:16 ---> 315f3b128e08 20:14:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:14:16 ---> Running in bca933ac1972 20:14:48 Removing intermediate container bca933ac1972 20:14:48 ---> 08e966b1029b 20:14:48 Step 10/12 : COPY . . 20:14:48 ---> a8bd9fe7dc19 20:14:48 Step 11/12 : ARG MAKE='make build' 20:14:48 ---> Running in 3aafeb9690de 20:14:48 Removing intermediate container 3aafeb9690de 20:14:48 ---> 9e8ad8286e24 20:14:48 Step 12/12 : RUN $MAKE 20:14:48 ---> Running in 152f2a8d7c02 20:14:48 noop 20:14:48 Removing intermediate container 152f2a8d7c02 20:14:48 ---> 0a336e9ffbae 20:14:48 Successfully built 0a336e9ffbae 20:14:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:14:48 + docker inspect -f . ci-base-image-x86_64 20:14:48 . [Pipeline] withDockerContainer 20:14:48 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:14:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:14:49 $ docker top 22ccd8aac61e2b577de130b6ba9a9212d4b8e4d411f20ec81c8daf2739128862 -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:49 + go version 20:14:49 go version go1.17.6 linux/amd64 [Pipeline] } 20:14:49 $ docker stop --time=1 22ccd8aac61e2b577de130b6ba9a9212d4b8e4d411f20ec81c8daf2739128862 20:14:50 $ docker rm -f 22ccd8aac61e2b577de130b6ba9a9212d4b8e4d411f20ec81c8daf2739128862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:51 + docker inspect -f . ci-base-image-x86_64 20:14:51 . [Pipeline] withDockerContainer 20:14:51 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:14:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:14:51 $ docker top 80a6dc23fcba1d2d821d407db4b453a6b255ff118f78e192005539d32dcbabac -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:14:51 + make test 20:14:51 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:14:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:15:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:15:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.5% of statements 20:15:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:15:07 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:15:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:15:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:15:12 ./bin/test-attribution-txt.sh [Pipeline] echo 20:15:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:15:13 $ docker stop --time=1 80a6dc23fcba1d2d821d407db4b453a6b255ff118f78e192005539d32dcbabac 20:15:14 $ docker rm -f 80a6dc23fcba1d2d821d407db4b453a6b255ff118f78e192005539d32dcbabac [Pipeline] // withDockerContainer [Pipeline] sh 20:15:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:15:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:15:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:15:16 + ls -al . 20:15:16 total 148 20:15:16 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 19 20:15 . 20:15:16 drwxrwxr-x. 4 jenkins jenkins 112 Jan 19 20:13 .. 20:15:16 -rw-rw-r--. 1 jenkins jenkins 7287 Jan 19 20:13 Attribution.txt 20:15:16 drwxrwxr-x. 2 jenkins jenkins 60 Jan 19 20:13 bin 20:15:16 -rw-rw-r--. 1 jenkins jenkins 7447 Jan 19 20:13 CHANGELOG.md 20:15:16 drwxrwxr-x. 3 jenkins jenkins 32 Jan 19 20:13 cmd 20:15:16 -rw-r--r--. 1 jenkins jenkins 17452 Jan 19 20:15 coverage.out 20:15:16 -rw-rw-r--. 1 jenkins jenkins 1930 Jan 19 20:13 Dockerfile 20:15:16 -rw-rw-r--. 1 jenkins jenkins 140 Jan 19 20:13 .dockerignore 20:15:16 drwxrwxr-x. 8 jenkins jenkins 162 Jan 19 20:13 .git 20:15:16 drwxrwxr-x. 2 jenkins jenkins 103 Jan 19 20:13 .github 20:15:16 -rw-rw-r--. 1 jenkins jenkins 329 Jan 19 20:13 .gitignore 20:15:16 -rw-rw-r--. 1 jenkins jenkins 410 Jan 19 20:13 go.mod 20:15:16 -rw-rw-r--. 1 jenkins jenkins 49409 Jan 19 20:13 go.sum 20:15:16 -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:13 GOVERNANCE.md 20:15:16 drwxrwxr-x. 3 jenkins jenkins 20 Jan 19 20:13 internal 20:15:16 -rw-rw-r--. 1 jenkins jenkins 677 Jan 19 20:13 Jenkinsfile 20:15:16 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 19 20:13 LICENSE 20:15:16 -rw-rw-r--. 1 jenkins jenkins 1030 Jan 19 20:13 Makefile 20:15:16 drwxrwxr-x. 2 jenkins jenkins 23 Jan 19 20:13 mock 20:15:16 -rw-rw-r--. 1 jenkins jenkins 620 Jan 19 20:13 OWNERS.md 20:15:16 -rw-rw-r--. 1 jenkins jenkins 2643 Jan 19 20:13 README.md 20:15:16 drwx------. 3 jenkins jenkins 57 Jan 19 20:13 .semver 20:15:16 drwxrwxr-x. 4 jenkins jenkins 71 Jan 19 20:13 snap 20:15:16 -rw-rw-r--. 1 jenkins jenkins 11 Jan 19 20:13 VERSION 20:15:16 -rw-rw-r--. 1 jenkins jenkins 227 Jan 19 20:13 version.go [Pipeline] isUnix [Pipeline] sh 20:15:16 + 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=620914ed09955f471d114b9f6d925da7efa3e056 --label arch=amd64 --label version=2.2.0-dev.7 . 20:15:16 Sending build context to Docker daemon 5.73MB 20:15:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:15:16 Step 2/24 : FROM ${BASE} AS builder 20:15:16 ---> 0a336e9ffbae 20:15:16 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:15:16 ---> Running in e0dca2a6855c 20:15:16 Removing intermediate container e0dca2a6855c 20:15:16 ---> 1c99ade505f0 20:15:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:15:16 ---> Running in 2bd35f3380f1 20:15:16 Removing intermediate container 2bd35f3380f1 20:15:16 ---> 2a9505054c40 20:15:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:15:16 ---> Running in 94c2540be295 20:15:17 Removing intermediate container 94c2540be295 20:15:17 ---> 64655fa70f25 20:15:17 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:15:17 ---> Running in 4b1f466b33ab 20:15:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:15:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:15:18 OK: 224 MiB in 56 packages 20:15:18 Removing intermediate container 4b1f466b33ab 20:15:18 ---> 9ab97bed9eaa 20:15:18 Step 7/24 : WORKDIR /device-mqtt-go 20:15:18 ---> Running in 68a4481f7417 20:15:18 Removing intermediate container 68a4481f7417 20:15:18 ---> 77823c4c7fc0 20:15:18 Step 8/24 : COPY go.mod vendor* ./ 20:15:19 ---> 9b740a5e2675 20:15:19 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:15:19 ---> Running in 2d9dfcf8486b 20:15:19 Removing intermediate container 2d9dfcf8486b 20:15:19 ---> afa32ad81c6e 20:15:19 Step 10/24 : COPY . . 20:15:20 ---> 4783b990ed2c 20:15:20 Step 11/24 : ARG MAKE='make build' 20:15:20 ---> Running in afc4cfdc1f94 20:15:20 Removing intermediate container afc4cfdc1f94 20:15:20 ---> 1cf7175cedc1 20:15:20 Step 12/24 : RUN $MAKE 20:15:20 ---> Running in 87ae7bf48c89 20:15:20 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.7" -o cmd/device-mqtt ./cmd 20:15:32 Removing intermediate container 87ae7bf48c89 20:15:32 ---> 1a783c4d505c 20:15:32 Step 13/24 : FROM alpine:3.14 20:15:33 3.14: Pulling from library/alpine 20:15:33 97518928ae5f: Pulling fs layer 20:15:33 97518928ae5f: Verifying Checksum 20:15:33 97518928ae5f: Download complete 20:15:33 97518928ae5f: Pull complete 20:15:33 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:15:33 Status: Downloaded newer image for alpine:3.14 20:15:33 ---> 0a97eee8041e 20:15:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:15:33 ---> Running in 337f874588b4 20:15:33 Removing intermediate container 337f874588b4 20:15:33 ---> a75546fac030 20:15:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:15:33 ---> Running in e115c9432255 20:15:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:15:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:15:34 (1/6) Installing dumb-init (1.2.5-r1) 20:15:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:15:34 (3/6) Installing libsodium (1.0.18-r0) 20:15:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:15:34 (5/6) Installing libzmq (4.3.4-r0) 20:15:34 (6/6) Installing zeromq (4.3.4-r0) 20:15:34 Executing busybox-1.33.1-r6.trigger 20:15:34 OK: 8 MiB in 20 packages 20:15:34 Removing intermediate container e115c9432255 20:15:34 ---> 0251421fbcd7 20:15:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:15:35 ---> ee1f15b84605 20:15:35 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:15:35 ---> 3d742ce9774d 20:15:35 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:15:35 ---> 113433ad3da0 20:15:35 Step 19/24 : EXPOSE 59982 20:15:35 ---> Running in e92ff9dd3e1c 20:15:35 Removing intermediate container e92ff9dd3e1c 20:15:35 ---> 03e3dc372a00 20:15:35 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:15:35 ---> Running in 2ccd0aeaf72c 20:15:35 Removing intermediate container 2ccd0aeaf72c 20:15:35 ---> 988b43781808 20:15:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:15:35 ---> Running in 90fa900d24d8 20:15:35 Removing intermediate container 90fa900d24d8 20:15:35 ---> 2e69c33b443f 20:15:35 Step 22/24 : LABEL arch=amd64 20:15:35 ---> Running in d9060270230c 20:15:35 Removing intermediate container d9060270230c 20:15:35 ---> 89da26de3a50 20:15:35 Step 23/24 : LABEL git_sha=620914ed09955f471d114b9f6d925da7efa3e056 20:15:35 ---> Running in 825e568fc79b 20:15:36 Removing intermediate container 825e568fc79b 20:15:36 ---> 07f49572dcb1 20:15:36 Step 24/24 : LABEL version=2.2.0-dev.7 20:15:36 ---> Running in 669d81617e28 20:15:36 Removing intermediate container 669d81617e28 20:15:36 ---> c83a6a1bd825 20:15:36 [Warning] One or more build-args [ARCH] were not consumed 20:15:36 Successfully built c83a6a1bd825 20:15:36 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:15:36 provisioning config files... 20:15:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7022441769249664113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:36 ---> docker-login.sh 20:15:36 nexus3.edgexfoundry.org:10001 20:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:36 Configure a credential helper to remove this warning. See 20:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:36 20:15:36 Login Succeeded 20:15:36 nexus3.edgexfoundry.org:10002 20:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:36 Configure a credential helper to remove this warning. See 20:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:36 20:15:36 Login Succeeded 20:15:36 nexus3.edgexfoundry.org:10003 20:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:37 Configure a credential helper to remove this warning. See 20:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:37 20:15:37 Login Succeeded 20:15:37 nexus3.edgexfoundry.org:10004 20:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:37 Configure a credential helper to remove this warning. See 20:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:37 20:15:37 Login Succeeded 20:15:37 docker.io 20:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:15:37 Configure a credential helper to remove this warning. See 20:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:15:37 20:15:37 Login Succeeded 20:15:37 ---> docker-login.sh ends [Pipeline] } 20:15:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:15:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:15:37 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 20:15:37 620914ed09955f471d114b9f6d925da7efa3e056 20:15:37 latest 20:15:37 2.2.0-dev.7 20:15:37 620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 20:15:37 main 20:15:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:15:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] isUnix [Pipeline] sh 20:15:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056 20:15:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:15:38 762f08215ba0: Preparing 20:15:38 5998ffbe3b4b: Preparing 20:15:38 f3bb6f0c5e53: Preparing 20:15:38 327105b32c54: Preparing 20:15:38 1a058d5342cc: Preparing 20:15:38 1a058d5342cc: Layer already exists 20:15:38 762f08215ba0: Pushed 20:15:38 5998ffbe3b4b: Pushed 20:15:38 327105b32c54: Pushed 20:15:39 f3bb6f0c5e53: Pushed 20:15:39 620914ed09955f471d114b9f6d925da7efa3e056: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] isUnix [Pipeline] sh 20:15:39 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:15:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:15:40 762f08215ba0: Preparing 20:15:40 5998ffbe3b4b: Preparing 20:15:40 f3bb6f0c5e53: Preparing 20:15:40 327105b32c54: Preparing 20:15:40 1a058d5342cc: Preparing 20:15:40 5998ffbe3b4b: Layer already exists 20:15:40 762f08215ba0: Layer already exists 20:15:40 f3bb6f0c5e53: Layer already exists 20:15:40 327105b32c54: Layer already exists 20:15:40 1a058d5342cc: Layer already exists 20:15:40 latest: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.7 20:15:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:15:40 762f08215ba0: Preparing 20:15:40 5998ffbe3b4b: Preparing 20:15:40 f3bb6f0c5e53: Preparing 20:15:40 327105b32c54: Preparing 20:15:40 1a058d5342cc: Preparing 20:15:40 327105b32c54: Layer already exists 20:15:40 1a058d5342cc: Layer already exists 20:15:40 5998ffbe3b4b: Layer already exists 20:15:40 762f08215ba0: Layer already exists 20:15:40 f3bb6f0c5e53: Layer already exists 20:15:40 2.2.0-dev.7: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] isUnix [Pipeline] sh 20:15:40 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 20:15:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 20:15:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:15:41 762f08215ba0: Preparing 20:15:41 5998ffbe3b4b: Preparing 20:15:41 f3bb6f0c5e53: Preparing 20:15:41 327105b32c54: Preparing 20:15:41 1a058d5342cc: Preparing 20:15:41 5998ffbe3b4b: Layer already exists 20:15:41 327105b32c54: Layer already exists 20:15:41 1a058d5342cc: Layer already exists 20:15:41 762f08215ba0: Layer already exists 20:15:41 f3bb6f0c5e53: Layer already exists 20:15:41 620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] isUnix [Pipeline] sh 20:15:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 20:15:41 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 20:15:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 20:15:41 762f08215ba0: Preparing 20:15:41 5998ffbe3b4b: Preparing 20:15:41 f3bb6f0c5e53: Preparing 20:15:41 327105b32c54: Preparing 20:15:41 1a058d5342cc: Preparing 20:15:41 1a058d5342cc: Layer already exists 20:15:41 5998ffbe3b4b: Layer already exists 20:15:41 f3bb6f0c5e53: Layer already exists 20:15:41 762f08215ba0: Layer already exists 20:15:41 327105b32c54: Layer already exists 20:15:41 main: digest: sha256:fa9a02f521f5b94cf91c37e13280774eacae870b46ea00a8faa8eb684997589e size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:15:41 ===================================================== [Pipeline] echo 20:15:41 taggedImages: 20:15:41 - nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056 20:15:41 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 20:15:41 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.7 20:15:41 - nexus3.edgexfoundry.org:10004/device-mqtt:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 20:15:41 - 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 20:15:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:42 20:15:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:15:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:42 latest: Pulling from edgex-lftools-log-publisher 20:15:42 b4d181a07f80: Pulling fs layer 20:15:42 a1111a8f2ec3: Pulling fs layer 20:15:42 ed53099fbce6: Pulling fs layer 20:15:42 dc539afda2c1: Pulling fs layer 20:15:42 77bc0d833cb6: Pulling fs layer 20:15:42 9065ff56babe: Pulling fs layer 20:15:42 d287ab97295c: Pulling fs layer 20:15:42 dc539afda2c1: Waiting 20:15:42 77bc0d833cb6: Waiting 20:15:42 9065ff56babe: Waiting 20:15:42 d287ab97295c: Waiting 20:15:42 a1111a8f2ec3: Verifying Checksum 20:15:42 a1111a8f2ec3: Download complete 20:15:42 dc539afda2c1: Verifying Checksum 20:15:42 dc539afda2c1: Download complete 20:15:42 ed53099fbce6: Verifying Checksum 20:15:42 ed53099fbce6: Download complete 20:15:42 77bc0d833cb6: Verifying Checksum 20:15:42 77bc0d833cb6: Download complete 20:15:42 9065ff56babe: Verifying Checksum 20:15:42 9065ff56babe: Download complete 20:15:42 b4d181a07f80: Verifying Checksum 20:15:42 b4d181a07f80: Download complete 20:15:43 d287ab97295c: Verifying Checksum 20:15:43 d287ab97295c: Download complete 20:15:44 b4d181a07f80: Pull complete 20:15:44 a1111a8f2ec3: Pull complete 20:15:44 ed53099fbce6: Pull complete 20:15:44 dc539afda2c1: Pull complete 20:15:45 77bc0d833cb6: Pull complete 20:15:45 9065ff56babe: Pull complete 20:15:50 d287ab97295c: Pull complete 20:15:50 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:15:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:15:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:15:51 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:15:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:15:55 $ docker top 9dadbbfc13aadb6fc3540d4e6fab9cf9e5f24cb0e9764c8028629e522369daed -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:15:55 ---> job-cost.sh 20:15:55 lf-activate-venv: SKIPPING 20:15:55 INFO: No Stack... 20:15:55 INFO: Retrieving Pricing Info for: v3-standard-2 20:15:56 INFO: Archiving Costs [Pipeline] sh 20:15:56 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 20:15:56 + cut -d, -f6 [Pipeline] lock 20:15:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] 20:15:56 Resource [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] did not exist. Created. 20:15:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:15:56 + echo total: 0.05999999865889549 [Pipeline] stash 20:15:56 Stashed 1 file(s) [Pipeline] } 20:15:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 20:15:56 $ docker stop --time=1 9dadbbfc13aadb6fc3540d4e6fab9cf9e5f24cb0e9764c8028629e522369daed 20:15:57 $ docker rm -f 9dadbbfc13aadb6fc3540d4e6fab9cf9e5f24cb0e9764c8028629e522369daed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:17:04 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2097 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 20:17:04 Running in /w/workspace/device-mqtt-go/28 [Pipeline] { [Pipeline] checkout 20:17:05 Selected Git installation does not exist. Using Default 20:17:05 The recommended git tool is: NONE 20:17:10 using credential edgex-jenkins-ssh 20:17:10 Cloning the remote Git repository 20:17:10 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 20:17:10 > git init /w/workspace/device-mqtt-go/28 # timeout=10 20:17:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 20:17:10 > git --version # timeout=10 20:17:10 > git --version # 'git version 2.17.1' 20:17:10 using GIT_SSH to set credentials SSH Credentials for GitHub 20:17:10 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:12 Avoid second fetch 20:17:12 Checking out Revision 620914ed09955f471d114b9f6d925da7efa3e056 (main) 20:17:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 20:17:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:17:12 > git config core.sparsecheckout # timeout=10 20:17:12 > git checkout -f 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 20:17:17 Commit message: "ci: Go 1.17 related changes (#334)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:17:18 % Total % Received % Xferd Average Speed Time Time Time Current 20:17:18 Dload Upload Total Spent Left Speed 20:17:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 167k 0 --:--:-- --:--:-- --:--:-- 167k [Pipeline] sh 20:17:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:17:19 + sudo tee /etc/docker/daemon.new 20:17:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:17:19 { 20:17:19 "registry-mirrors": [ 20:17:19 "https://nexus3.edgexfoundry.org:10001" 20:17:19 ], 20:17:19 "bip": "10.250.0.254/24", 20:17:19 "hosts": [ 20:17:19 "tcp://0.0.0.0:5555", 20:17:19 "unix:///var/run/docker.sock" 20:17:19 ], 20:17:19 "mtu": 1458, 20:17:19 "selinux-enabled": true, 20:17:19 "seccomp-profile": "/etc/docker/seccomp.json" 20:17:19 } [Pipeline] sh 20:17:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:17:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:38 provisioning config files... 20:17:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/28@tmp/config8751385390130361228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:38 ---> docker-login.sh 20:17:38 nexus3.edgexfoundry.org:10001 20:17:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:39 Configure a credential helper to remove this warning. See 20:17:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:39 20:17:39 Login Succeeded 20:17:39 nexus3.edgexfoundry.org:10002 20:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:40 Configure a credential helper to remove this warning. See 20:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:40 20:17:40 Login Succeeded 20:17:40 nexus3.edgexfoundry.org:10003 20:17:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:40 Configure a credential helper to remove this warning. See 20:17:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:40 20:17:40 Login Succeeded 20:17:40 nexus3.edgexfoundry.org:10004 20:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:41 Configure a credential helper to remove this warning. See 20:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:41 20:17:41 Login Succeeded 20:17:41 docker.io 20:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:42 Configure a credential helper to remove this warning. See 20:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:42 20:17:42 Login Succeeded 20:17:42 ---> docker-login.sh ends [Pipeline] } 20:17:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:43 ========================================================= 20:17:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:17:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:17:43 + 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 . 20:17:43 Sending build context to Docker daemon 2.967MB 20:17:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:17:44 Step 2/12 : FROM ${BASE} AS builder 20:17:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:17:44 9b3977197b4f: Pulling fs layer 20:17:44 1a89e8eeedd5: Pulling fs layer 20:17:44 94645a83ff95: Pulling fs layer 20:17:44 3f3a8bcf1eab: Pulling fs layer 20:17:44 0c92f367c5e7: Pulling fs layer 20:17:44 4b8299f9d1f4: Pulling fs layer 20:17:44 9a6b49a46696: Pulling fs layer 20:17:44 cf05db05a679: Pulling fs layer 20:17:44 4b8299f9d1f4: Waiting 20:17:44 9a6b49a46696: Waiting 20:17:44 cf05db05a679: Waiting 20:17:44 3f3a8bcf1eab: Waiting 20:17:44 0c92f367c5e7: Waiting 20:17:44 94645a83ff95: Verifying Checksum 20:17:44 94645a83ff95: Download complete 20:17:44 1a89e8eeedd5: Verifying Checksum 20:17:44 1a89e8eeedd5: Download complete 20:17:44 0c92f367c5e7: Verifying Checksum 20:17:44 0c92f367c5e7: Download complete 20:17:44 4b8299f9d1f4: Download complete 20:17:44 9b3977197b4f: Verifying Checksum 20:17:44 9b3977197b4f: Download complete 20:17:44 9a6b49a46696: Verifying Checksum 20:17:44 9a6b49a46696: Download complete 20:17:44 9b3977197b4f: Pull complete 20:17:45 1a89e8eeedd5: Pull complete 20:17:46 94645a83ff95: Pull complete 20:17:46 cf05db05a679: Verifying Checksum 20:17:46 cf05db05a679: Download complete 20:17:47 3f3a8bcf1eab: Verifying Checksum 20:17:47 3f3a8bcf1eab: Download complete 20:17:59 3f3a8bcf1eab: Pull complete 20:17:59 0c92f367c5e7: Pull complete 20:17:59 4b8299f9d1f4: Pull complete 20:17:59 9a6b49a46696: Pull complete 20:18:06 cf05db05a679: Pull complete 20:18:06 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 20:18:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:18:06 ---> 0ccda1f7e2ee 20:18:06 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:18:06 ---> Running in 72a2c557876c 20:18:07 Removing intermediate container 72a2c557876c 20:18:07 ---> 7c04cb973cb4 20:18:07 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 20:18:07 ---> Running in b911e6ccc131 20:18:07 Removing intermediate container b911e6ccc131 20:18:07 ---> b9c4221267ef 20:18:07 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:18:07 ---> Running in d461475b59b5 20:18:09 Removing intermediate container d461475b59b5 20:18:09 ---> 5dc896db7eec 20:18:09 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:09 ---> Running in b1f46dae1619 20:18:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:18:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:18:12 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:18:12 (2/4) Installing libedit (20210910.3.1-r0) 20:18:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:18:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:18:13 Executing busybox-1.34.1-r3.trigger 20:18:13 OK: 224 MiB in 56 packages 20:18:14 Removing intermediate container b1f46dae1619 20:18:14 ---> a28101804803 20:18:14 Step 7/12 : WORKDIR /device-mqtt-go 20:18:14 ---> Running in 1f8f646fc01b 20:18:14 Removing intermediate container 1f8f646fc01b 20:18:14 ---> c474e6665049 20:18:14 Step 8/12 : COPY go.mod vendor* ./ 20:18:15 ---> 56c2930d6966 20:18:15 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:15 ---> Running in 4f405a985987 20:19:37 Removing intermediate container 4f405a985987 20:19:37 ---> a403d7b4ca82 20:19:37 Step 10/12 : COPY . . 20:19:37 ---> 908bb313a927 20:19:37 Step 11/12 : ARG MAKE='make build' 20:19:37 ---> Running in 3b68676e7ea1 20:19:37 Removing intermediate container 3b68676e7ea1 20:19:37 ---> 162ceee2585f 20:19:37 Step 12/12 : RUN $MAKE 20:19:37 ---> Running in e1bc17e9158c 20:19:37 noop 20:19:37 Removing intermediate container e1bc17e9158c 20:19:37 ---> 55597e78f8af 20:19:37 Successfully built 55597e78f8af 20:19:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:19:38 + docker inspect -f . ci-base-image-arm64 20:19:38 . [Pipeline] withDockerContainer 20:19:38 prd-ubuntu18.04-docker-arm64-4c-16g-2097 does not seem to be running inside a container 20:19:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@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 20:19:39 $ docker top 0758f04d59b22afaf69d5922153e7a8a8c0a2e71b130e4d140c84dcd4b007141 -eo pid,comm [Pipeline] { [Pipeline] sh 20:19:40 + go version 20:19:40 go version go1.17.6 linux/arm64 [Pipeline] } 20:19:40 $ docker stop --time=1 0758f04d59b22afaf69d5922153e7a8a8c0a2e71b130e4d140c84dcd4b007141 20:19:42 $ docker rm -f 0758f04d59b22afaf69d5922153e7a8a8c0a2e71b130e4d140c84dcd4b007141 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:19:43 + docker inspect -f . ci-base-image-arm64 20:19:43 . [Pipeline] withDockerContainer 20:19:43 prd-ubuntu18.04-docker-arm64-4c-16g-2097 does not seem to be running inside a container 20:19:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@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 20:19:45 $ docker top c7fc62c02904c6f8b9382c89eee1d2dc69b4f57617dbd40210a7ba86307be7ba -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:19:45 + make test 20:19:45 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 20:19:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 20:20:44 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 20:20:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.059s coverage: 22.5% of statements 20:20:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 20:20:44 GCO_ENABLED=1 GO111MODULE=on go vet ./... 20:21:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:21:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:21:11 ./bin/test-attribution-txt.sh [Pipeline] echo 20:21:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:21:13 $ docker stop --time=1 c7fc62c02904c6f8b9382c89eee1d2dc69b4f57617dbd40210a7ba86307be7ba 20:21:14 $ docker rm -f c7fc62c02904c6f8b9382c89eee1d2dc69b4f57617dbd40210a7ba86307be7ba [Pipeline] // withDockerContainer [Pipeline] sh 20:21:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:21:15 Warning: overwriting stash ‘coverage-report’ 20:21:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:21:16 + ls -al . 20:21:16 total 180 20:21:16 drwxrwxr-x 9 jenkins jenkins 4096 Jan 19 20:21 . 20:21:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:17 .. 20:21:16 -rw-rw-r-- 1 jenkins jenkins 140 Jan 19 20:17 .dockerignore 20:21:16 drwxrwxr-x 8 jenkins jenkins 4096 Jan 19 20:17 .git 20:21:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:17 .github 20:21:16 -rw-rw-r-- 1 jenkins jenkins 329 Jan 19 20:17 .gitignore 20:21:16 -rw-rw-r-- 1 jenkins jenkins 7287 Jan 19 20:17 Attribution.txt 20:21:16 -rw-rw-r-- 1 jenkins jenkins 7447 Jan 19 20:17 CHANGELOG.md 20:21:16 -rw-rw-r-- 1 jenkins jenkins 1930 Jan 19 20:17 Dockerfile 20:21:16 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:17 GOVERNANCE.md 20:21:16 -rw-rw-r-- 1 jenkins jenkins 677 Jan 19 20:17 Jenkinsfile 20:21:16 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 19 20:17 LICENSE 20:21:16 -rw-rw-r-- 1 jenkins jenkins 1030 Jan 19 20:17 Makefile 20:21:16 -rw-rw-r-- 1 jenkins jenkins 620 Jan 19 20:17 OWNERS.md 20:21:16 -rw-rw-r-- 1 jenkins jenkins 2643 Jan 19 20:17 README.md 20:21:16 -rw-rw-r-- 1 jenkins jenkins 11 Jan 19 20:13 VERSION 20:21:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:17 bin 20:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:17 cmd 20:21:16 -rw-r--r-- 1 jenkins jenkins 17452 Jan 19 20:20 coverage.out 20:21:16 -rw-rw-r-- 1 jenkins jenkins 410 Jan 19 20:17 go.mod 20:21:16 -rw-rw-r-- 1 jenkins jenkins 49409 Jan 19 20:17 go.sum 20:21:16 drwxrwxr-x 3 jenkins jenkins 4096 Jan 19 20:17 internal 20:21:16 drwxrwxr-x 2 jenkins jenkins 4096 Jan 19 20:17 mock 20:21:16 drwxrwxr-x 4 jenkins jenkins 4096 Jan 19 20:17 snap 20:21:16 -rw-rw-r-- 1 jenkins jenkins 227 Jan 19 20:17 version.go [Pipeline] isUnix [Pipeline] sh 20:21:17 + 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=620914ed09955f471d114b9f6d925da7efa3e056 --label arch=arm64 --label version=2.2.0-dev.7 . 20:21:17 Sending build context to Docker daemon 2.985MB 20:21:17 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 20:21:17 Step 2/24 : FROM ${BASE} AS builder 20:21:17 ---> 55597e78f8af 20:21:17 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:21:17 ---> Running in 955382f92d0d 20:21:18 Removing intermediate container 955382f92d0d 20:21:18 ---> 2b36fef51bde 20:21:18 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 20:21:18 ---> Running in 6c89008e754f 20:21:18 Removing intermediate container 6c89008e754f 20:21:18 ---> 2d900d696c1e 20:21:18 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:21:18 ---> Running in d575f264dbae 20:21:20 Removing intermediate container d575f264dbae 20:21:20 ---> 2df7ef5b7d20 20:21:20 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:21:20 ---> Running in 03e31b567175 20:21:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:21:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:21:23 OK: 224 MiB in 56 packages 20:21:24 Removing intermediate container 03e31b567175 20:21:24 ---> 083bdaf65ae0 20:21:24 Step 7/24 : WORKDIR /device-mqtt-go 20:21:24 ---> Running in 90c52c93aec2 20:21:24 Removing intermediate container 90c52c93aec2 20:21:24 ---> d20020af470d 20:21:24 Step 8/24 : COPY go.mod vendor* ./ 20:21:25 ---> 95e2b5887d11 20:21:25 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:21:25 ---> Running in 01abeab648c4 20:21:27 Removing intermediate container 01abeab648c4 20:21:27 ---> 56e498419ef8 20:21:27 Step 10/24 : COPY . . 20:21:28 ---> ddaa83f0229f 20:21:28 Step 11/24 : ARG MAKE='make build' 20:21:28 ---> Running in 3dd16f468632 20:21:28 Removing intermediate container 3dd16f468632 20:21:28 ---> 471cb6364e00 20:21:28 Step 12/24 : RUN $MAKE 20:21:28 ---> Running in 199940624e4a 20:21:29 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.7" -o cmd/device-mqtt ./cmd 20:22:16 Removing intermediate container 199940624e4a 20:22:16 ---> 4f178f603921 20:22:16 Step 13/24 : FROM alpine:3.14 20:22:16 3.14: Pulling from library/alpine 20:22:16 be307f383ecc: Pulling fs layer 20:22:16 be307f383ecc: Download complete 20:22:16 be307f383ecc: Pull complete 20:22:16 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 20:22:16 Status: Downloaded newer image for alpine:3.14 20:22:16 ---> 5b8b7b635229 20:22:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 20:22:16 ---> Running in df6b9cbebfe3 20:22:16 Removing intermediate container df6b9cbebfe3 20:22:16 ---> 0c8f3d8eab55 20:22:16 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 20:22:16 ---> Running in 50630af50576 20:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:22:16 (1/6) Installing dumb-init (1.2.5-r1) 20:22:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:22:16 (3/6) Installing libsodium (1.0.18-r0) 20:22:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:22:16 (5/6) Installing libzmq (4.3.4-r0) 20:22:16 (6/6) Installing zeromq (4.3.4-r0) 20:22:16 Executing busybox-1.33.1-r6.trigger 20:22:16 OK: 8 MiB in 20 packages 20:22:17 Removing intermediate container 50630af50576 20:22:17 ---> 429ecc1d837e 20:22:17 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 20:22:19 ---> a37e41a94c3e 20:22:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 20:22:19 ---> 0e2e5923e0cc 20:22:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 20:22:20 ---> 3a54111f7041 20:22:20 Step 19/24 : EXPOSE 59982 20:22:20 ---> Running in 644a5f52d9f6 20:22:20 Removing intermediate container 644a5f52d9f6 20:22:20 ---> 1f6fd4fe2d09 20:22:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 20:22:21 ---> Running in f7cffb795faf 20:22:21 Removing intermediate container f7cffb795faf 20:22:21 ---> 036751e7aa45 20:22:21 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:22:21 ---> Running in 25f39d0a0f3f 20:22:22 Removing intermediate container 25f39d0a0f3f 20:22:22 ---> d7a99e4350a1 20:22:22 Step 22/24 : LABEL arch=arm64 20:22:22 ---> Running in 38596bc949b4 20:22:22 Removing intermediate container 38596bc949b4 20:22:22 ---> b84c747f3b67 20:22:22 Step 23/24 : LABEL git_sha=620914ed09955f471d114b9f6d925da7efa3e056 20:22:22 ---> Running in 8e1916a6efcb 20:22:22 Removing intermediate container 8e1916a6efcb 20:22:22 ---> 2c2104399a97 20:22:22 Step 24/24 : LABEL version=2.2.0-dev.7 20:22:22 ---> Running in 354d3b28af7a 20:22:23 Removing intermediate container 354d3b28af7a 20:22:23 ---> e7f926928890 20:22:23 [Warning] One or more build-args [ARCH] were not consumed 20:22:23 Successfully built e7f926928890 20:22:23 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 20:22:23 provisioning config files... 20:22:23 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/28@tmp/config8589594420068173073tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:22:23 ---> docker-login.sh 20:22:23 nexus3.edgexfoundry.org:10001 20:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:24 Configure a credential helper to remove this warning. See 20:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:24 20:22:24 Login Succeeded 20:22:24 nexus3.edgexfoundry.org:10002 20:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:24 Configure a credential helper to remove this warning. See 20:22:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:24 20:22:24 Login Succeeded 20:22:24 nexus3.edgexfoundry.org:10003 20:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:25 Configure a credential helper to remove this warning. See 20:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:25 20:22:25 Login Succeeded 20:22:25 nexus3.edgexfoundry.org:10004 20:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:25 Configure a credential helper to remove this warning. See 20:22:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:25 20:22:25 Login Succeeded 20:22:25 docker.io 20:22:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:22:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:22:26 Configure a credential helper to remove this warning. See 20:22:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:22:26 20:22:26 Login Succeeded 20:22:26 ---> docker-login.sh ends [Pipeline] } 20:22:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:22:26 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 20:22:26 620914ed09955f471d114b9f6d925da7efa3e056 20:22:26 latest 20:22:26 2.2.0-dev.7 20:22:26 620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 20:22:26 main 20:22:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:22:27 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] isUnix [Pipeline] sh 20:22:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056 20:22:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:22:27 d8cf56542e81: Preparing 20:22:27 50703068b0b1: Preparing 20:22:27 1df599bc7ad7: Preparing 20:22:27 a9b323023b71: Preparing 20:22:27 62170e181a92: Preparing 20:22:27 62170e181a92: Layer already exists 20:22:27 50703068b0b1: Pushed 20:22:27 d8cf56542e81: Pushed 20:22:28 a9b323023b71: Pushed 20:22:30 1df599bc7ad7: Pushed 20:22:30 620914ed09955f471d114b9f6d925da7efa3e056: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] isUnix [Pipeline] sh 20:22:31 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:22:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:22:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:22:31 d8cf56542e81: Preparing 20:22:31 50703068b0b1: Preparing 20:22:31 1df599bc7ad7: Preparing 20:22:31 a9b323023b71: Preparing 20:22:31 62170e181a92: Preparing 20:22:31 d8cf56542e81: Layer already exists 20:22:31 1df599bc7ad7: Layer already exists 20:22:31 a9b323023b71: Layer already exists 20:22:31 62170e181a92: Layer already exists 20:22:31 50703068b0b1: Layer already exists 20:22:31 latest: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] isUnix [Pipeline] sh 20:22:32 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 20:22:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.7 20:22:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:22:32 d8cf56542e81: Preparing 20:22:32 50703068b0b1: Preparing 20:22:32 1df599bc7ad7: Preparing 20:22:32 a9b323023b71: Preparing 20:22:32 62170e181a92: Preparing 20:22:32 a9b323023b71: Layer already exists 20:22:32 62170e181a92: Layer already exists 20:22:32 d8cf56542e81: Layer already exists 20:22:32 1df599bc7ad7: Layer already exists 20:22:32 50703068b0b1: Layer already exists 20:22:32 2.2.0-dev.7: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] isUnix [Pipeline] sh 20:22:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh 20:22:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 20:22:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:22:33 d8cf56542e81: Preparing 20:22:33 50703068b0b1: Preparing 20:22:33 1df599bc7ad7: Preparing 20:22:33 a9b323023b71: Preparing 20:22:33 62170e181a92: Preparing 20:22:33 a9b323023b71: Layer already exists 20:22:33 50703068b0b1: Layer already exists 20:22:33 62170e181a92: Layer already exists 20:22:33 1df599bc7ad7: Layer already exists 20:22:33 d8cf56542e81: Layer already exists 20:22:33 620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] isUnix [Pipeline] sh 20:22:34 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 20:22:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 20:22:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 20:22:34 d8cf56542e81: Preparing 20:22:34 50703068b0b1: Preparing 20:22:34 1df599bc7ad7: Preparing 20:22:34 a9b323023b71: Preparing 20:22:34 62170e181a92: Preparing 20:22:34 a9b323023b71: Layer already exists 20:22:34 d8cf56542e81: Layer already exists 20:22:34 1df599bc7ad7: Layer already exists 20:22:34 62170e181a92: Layer already exists 20:22:34 50703068b0b1: Layer already exists 20:22:34 main: digest: sha256:5f7968696712d6b41944af6c25c1d279e9c90e932a8a018f7ddddd3f792d250d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:22:34 ===================================================== [Pipeline] echo 20:22:34 taggedImages: 20:22:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056 20:22:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 20:22:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.7 20:22:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:620914ed09955f471d114b9f6d925da7efa3e056-2.2.0-dev.7 20:22:34 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:22:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:35 20:22:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:22:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:22:35 arm64: Pulling from edgex-lftools-log-publisher 20:22:35 448f6bf000e3: Pulling fs layer 20:22:35 f757da607395: Pulling fs layer 20:22:35 05883995daec: Pulling fs layer 20:22:35 8603b9c90790: Pulling fs layer 20:22:35 1560dd03e051: Pulling fs layer 20:22:35 27f5ce0e4adf: Pulling fs layer 20:22:35 c2d8d7efcc4b: Pulling fs layer 20:22:35 1560dd03e051: Waiting 20:22:35 27f5ce0e4adf: Waiting 20:22:35 c2d8d7efcc4b: Waiting 20:22:35 8603b9c90790: Waiting 20:22:35 f757da607395: Verifying Checksum 20:22:35 f757da607395: Download complete 20:22:35 8603b9c90790: Verifying Checksum 20:22:35 8603b9c90790: Download complete 20:22:35 1560dd03e051: Verifying Checksum 20:22:35 1560dd03e051: Download complete 20:22:35 27f5ce0e4adf: Verifying Checksum 20:22:35 27f5ce0e4adf: Download complete 20:22:35 05883995daec: Verifying Checksum 20:22:35 05883995daec: Download complete 20:22:36 448f6bf000e3: Verifying Checksum 20:22:36 448f6bf000e3: Download complete 20:22:39 c2d8d7efcc4b: Verifying Checksum 20:22:39 c2d8d7efcc4b: Download complete 20:22:40 448f6bf000e3: Pull complete 20:22:40 f757da607395: Pull complete 20:22:41 05883995daec: Pull complete 20:22:42 8603b9c90790: Pull complete 20:22:43 1560dd03e051: Pull complete 20:22:43 27f5ce0e4adf: Pull complete 20:23:01 c2d8d7efcc4b: Pull complete 20:23:01 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 20:23:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:23:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:23:01 prd-ubuntu18.04-docker-arm64-4c-16g-2097 does not seem to be running inside a container 20:23:02 $ 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/28 -v /w/workspace/device-mqtt-go/28:/w/workspace/device-mqtt-go/28:rw,z -v /w/workspace/device-mqtt-go/28@tmp:/w/workspace/device-mqtt-go/28@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 20:23:04 $ docker top 5f5659aaa26a3109945213b3f717ee6e68954d955de8fa0f73409c95a4566d29 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:23:05 ---> job-cost.sh 20:23:05 lf-activate-venv: SKIPPING 20:23:05 INFO: No Stack... 20:23:06 INFO: Retrieving Pricing Info for: v3-standard-4 20:23:06 INFO: Archiving Costs [Pipeline] sh 20:23:07 + cut -d, -f6 20:23:07 + cat /w/workspace/device-mqtt-go/28/archives/cost.csv [Pipeline] lock 20:23:07 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] 20:23:07 Resource [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] did not exist. Created. 20:23:07 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:23:07 /w/workspace/device-mqtt-go/28@tmp/durable-85e59a8f/script.sh: 1: /w/workspace/device-mqtt-go/28@tmp/durable-85e59a8f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 20:23:08 + echo total: 0.10999999940395355 [Pipeline] stash 20:23:08 Warning: overwriting stash ‘stack-cost’ 20:23:08 Stashed 1 file(s) [Pipeline] } 20:23:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 20:23:08 $ docker stop --time=1 5f5659aaa26a3109945213b3f717ee6e68954d955de8fa0f73409c95a4566d29 20:23:10 $ docker rm -f 5f5659aaa26a3109945213b3f717ee6e68954d955de8fa0f73409c95a4566d29 [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 20:23:10 provisioning config files... 20:23:10 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4890431833017960992tmp [Pipeline] { [Pipeline] sh 20:23:10 + set +x 20:23:10 + curl -s https://codecov.io/bash 20:23:10 + bash -s -- 20:23:10 20:23:10 _____ _ 20:23:10 / ____| | | 20:23:10 | | ___ __| | ___ ___ _____ __ 20:23:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:23:10 | |___| (_) | (_| | __/ (_| (_) \ V / 20:23:10 \_____\___/ \__,_|\___|\___\___/ \_/ 20:23:10 Bash-1.0.6 20:23:10 20:23:10 20:23:10 ==> git version 2.24.4 found 20:23:10 ==> 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 20:23:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 20:23:10 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 20:23:10 ==> Jenkins CI detected. 20:23:10 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 20:23:10 project root: . 20:23:10 --> token set from env 20:23:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:23:10 ==> Running gcov in . (disable via -X gcov) 20:23:10 ==> Python coveragepy not found 20:23:10 ==> Searching for coverage reports in: 20:23:10 + . 20:23:10 -> Found 1 reports 20:23:10 ==> Detecting git/mercurial file structure 20:23:10 ==> Reading reports 20:23:10 + ./coverage.out bytes=17452 20:23:10 ==> Appending adjustments 20:23:10 https://docs.codecov.io/docs/fixing-reports 20:23:11 + Found adjustments 20:23:11 ==> Gzipping contents 20:23:11 4.0K /tmp/codecov.Zak4jW.gz 20:23:11 ==> Uploading reports 20:23:11 url: https://codecov.io 20:23:11 query: branch=main&commit=620914ed09955f471d114b9f6d925da7efa3e056&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:23:11 -> Pinging Codecov 20:23:11 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=620914ed09955f471d114b9f6d925da7efa3e056&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:23:11 -> Uploading to 20:23:11 https://storage.googleapis.com/codecov/v4/raw/2022-01-19/7D719EC7BBE17E464838252E33014C33/620914ed09955f471d114b9f6d925da7efa3e056/c6a70134-0cbd-4ec9-8448-f05bcfbe489c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220119T202311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60b88f937aa648f7345860b8374028b88bd9f408f8b608dc6b7fb3d195e943cd 20:23:11 % Total % Received % Xferd Average Speed Time Time Time Current 20:23:11 Dload Upload Total Spent Left Speed 20:23:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 11358 --:--:-- --:--:-- --:--:-- 11323 20:23:11 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] } 20:23:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:23:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:23:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:23:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:12 20:23:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 20:23:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:23:12 188c0c94c7c5: Pulling fs layer 20:23:12 0ef7d3d256c8: Pulling fs layer 20:23:12 de9db76c5a1d: Pulling fs layer 20:23:12 0eba1c9be4d2: Pulling fs layer 20:23:12 0d57e429df01: Pulling fs layer 20:23:12 4e4be7b47b0d: Pulling fs layer 20:23:12 e1f770b5df2f: Pulling fs layer 20:23:12 85a0685a4137: Pulling fs layer 20:23:12 0eba1c9be4d2: Waiting 20:23:12 0d57e429df01: Waiting 20:23:12 4e4be7b47b0d: Waiting 20:23:12 e1f770b5df2f: Waiting 20:23:12 de9db76c5a1d: Download complete 20:23:12 0ef7d3d256c8: Verifying Checksum 20:23:12 0ef7d3d256c8: Download complete 20:23:12 0d57e429df01: Verifying Checksum 20:23:12 0d57e429df01: Download complete 20:23:12 4e4be7b47b0d: Verifying Checksum 20:23:12 4e4be7b47b0d: Download complete 20:23:12 188c0c94c7c5: Verifying Checksum 20:23:12 188c0c94c7c5: Download complete 20:23:12 188c0c94c7c5: Pull complete 20:23:13 e1f770b5df2f: Verifying Checksum 20:23:13 e1f770b5df2f: Download complete 20:23:13 0ef7d3d256c8: Pull complete 20:23:13 0eba1c9be4d2: Verifying Checksum 20:23:13 0eba1c9be4d2: Download complete 20:23:13 de9db76c5a1d: Pull complete 20:23:13 85a0685a4137: Verifying Checksum 20:23:13 85a0685a4137: Download complete 20:23:17 0eba1c9be4d2: Pull complete 20:23:17 0d57e429df01: Pull complete 20:23:17 4e4be7b47b0d: Pull complete 20:23:17 e1f770b5df2f: Pull complete 20:23:20 85a0685a4137: Pull complete 20:23:20 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 20:23:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:23:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 20:23:20 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:23:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:23:22 $ docker top cb9857446d2c619e283a2739f58073a30502c89397460141fc0d2bab217a6c51 -eo pid,comm [Pipeline] { [Pipeline] echo 20:23:23 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 20:23:23 + set -o pipefail 20:23:23 + snyk monitor '--org=edgex-jenkins' 20:23:28 20:23:28 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 20:23:28 20:23:28 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/825f8608-d4a6-40b1-805d-1a4d36452266 20:23:28 20:23:28 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:23:28 20:23:28 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:23:28 20:23:28 [Pipeline] } 20:23:28 $ docker stop --time=1 cb9857446d2c619e283a2739f58073a30502c89397460141fc0d2bab217a6c51 20:23:30 $ docker rm -f cb9857446d2c619e283a2739f58073a30502c89397460141fc0d2bab217a6c51 [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 20:23:31 + git log --format=format:%s -1 620914ed09955f471d114b9f6d925da7efa3e056 [Pipeline] sh 20:23:31 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:23:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:32 . [Pipeline] withDockerContainer 20:23:32 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:23:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:23:32 $ docker top 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:32 [ssh-agent] Looking for ssh-agent implementation... 20:23:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:32 $ docker exec 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 ssh-agent 20:23:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEgAHCA/agent.13 20:23:32 SSH_AGENT_PID=19 20:23:32 Running ssh-add (command line suppressed) 20:23:33 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1723037043997061087.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1723037043997061087.key) 20:23:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:33 + git semver tag 20:23:33 # -> Open(): unable to determine branch for HEAD 20:23:33 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:23:33 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:23:33 # $SEMVER_REMOTE_NAME = origin 20:23:33 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:33 # $SEMVER_USER_NAME = edgex-jenkins 20:23:33 # $SEMVER_BRANCH = main 20:23:33 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:23:33 # 620914ed09955f471d114b9f6d925da7efa3e056 HEAD 20:23:33 # -> Force: false 20:23:33 # a52b1e29858e4c35692c045cbcce43e7e7d7274c refs/tags/v2.2.0-dev.7 [Pipeline] } 20:23:33 $ docker exec --env ******** --env ******** 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 ssh-agent -k 20:23:33 unset SSH_AUTH_SOCK; 20:23:33 unset SSH_AGENT_PID; 20:23:33 echo Agent pid 19 killed; 20:23:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:23:33 + git semver [Pipeline] } 20:23:33 $ docker stop --time=1 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 20:23:34 $ docker rm -f 069e55bca91013776ff7e55a3e74630c6b95913b465fd18b88addaf6a3cfbb70 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 20:23:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:23:35 20:23:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 20:23:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:23:35 0.23.1-centos7: Pulling from edgex-lftools 20:23:35 ab5ef0e58194: Pulling fs layer 20:23:35 9712f1f96733: Pulling fs layer 20:23:35 63f879dbbcfc: Pulling fs layer 20:23:35 0d9ebad4ef96: Pulling fs layer 20:23:35 e9a5061849ea: Pulling fs layer 20:23:35 d747dcd14b5f: Pulling fs layer 20:23:35 2de7ff778b66: Pulling fs layer 20:23:35 0d9ebad4ef96: Waiting 20:23:35 e9a5061849ea: Waiting 20:23:35 d747dcd14b5f: Waiting 20:23:35 2de7ff778b66: Waiting 20:23:35 9712f1f96733: Verifying Checksum 20:23:35 9712f1f96733: Download complete 20:23:35 63f879dbbcfc: Verifying Checksum 20:23:35 63f879dbbcfc: Download complete 20:23:36 ab5ef0e58194: Verifying Checksum 20:23:36 ab5ef0e58194: Download complete 20:23:36 d747dcd14b5f: Verifying Checksum 20:23:36 d747dcd14b5f: Download complete 20:23:36 0d9ebad4ef96: Verifying Checksum 20:23:36 0d9ebad4ef96: Download complete 20:23:36 e9a5061849ea: Verifying Checksum 20:23:36 e9a5061849ea: Download complete 20:23:36 2de7ff778b66: Verifying Checksum 20:23:36 2de7ff778b66: Download complete 20:23:39 ab5ef0e58194: Pull complete 20:23:39 9712f1f96733: Pull complete 20:23:40 63f879dbbcfc: Pull complete 20:23:44 0d9ebad4ef96: Pull complete 20:23:44 e9a5061849ea: Pull complete 20:23:45 d747dcd14b5f: Pull complete 20:23:46 2de7ff778b66: Pull complete 20:23:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:23:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:23:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 20:23:46 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:23:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:23:49 $ docker top 00d37779bbd8e9f1a2777a1efb7dad27bd26784af2235d0ff0c25bf7c42cec84 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:23:49 provisioning config files... 20:23:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2263827536239804897tmp 20:23:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5302648182081868203tmp 20:23:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4371288229777930950tmp [Pipeline] { [Pipeline] echo 20:23:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:23:50 ---> sigul-configuration.sh 20:23:50 gpg: directory `/root/.gnupg' created 20:23:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:23:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:23:50 gpg: keyring `/root/.gnupg/secring.gpg' created 20:23:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:23:50 gpg: CAST5 encrypted data 20:23:50 gpg: encrypted with 1 passphrase 20:23:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:23:50 + mkdir /home/jenkins 20:23:50 + mkdir /home/jenkins/sigul [Pipeline] sh 20:23:50 + 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 20:23:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:23:51 ---> sigul-install.sh 20:23:51 Sigul already installed; skipping installation. [Pipeline] sh 20:23:51 + git tag --list 20:23:51 0.7.1 20:23:51 v1.0.0 20:23:51 v1.1.0 20:23:51 v1.1.1 20:23:51 v1.2.2 20:23:51 v1.3.0 20:23:51 v1.3.1 20:23:51 v2.0.0 20:23:51 v2.0.1-dev.1 20:23:51 v2.0.1-dev.10 20:23:51 v2.0.1-dev.11 20:23:51 v2.0.1-dev.12 20:23:51 v2.0.1-dev.13 20:23:51 v2.0.1-dev.14 20:23:51 v2.0.1-dev.15 20:23:51 v2.0.1-dev.16 20:23:51 v2.0.1-dev.17 20:23:51 v2.0.1-dev.2 20:23:51 v2.0.1-dev.3 20:23:51 v2.0.1-dev.4 20:23:51 v2.0.1-dev.5 20:23:51 v2.0.1-dev.6 20:23:51 v2.0.1-dev.7 20:23:51 v2.0.1-dev.8 20:23:51 v2.0.1-dev.9 20:23:51 v2.1.0 20:23:51 v2.2.0-dev.1 20:23:51 v2.2.0-dev.2 20:23:51 v2.2.0-dev.3 20:23:51 v2.2.0-dev.4 20:23:51 v2.2.0-dev.5 20:23:51 v2.2.0-dev.6 20:23:51 v2.2.0-dev.7 [Pipeline] sh 20:23:51 + lftools sign git-tag v2.2.0-dev.7 20:23:52 Signing Git tag with Sigul... 20:23:52 Signing v2.2.0-dev.7 [Pipeline] echo 20:23:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:23:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:23:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:23:52 $ docker stop --time=1 00d37779bbd8e9f1a2777a1efb7dad27bd26784af2235d0ff0c25bf7c42cec84 20:23:54 $ docker rm -f 00d37779bbd8e9f1a2777a1efb7dad27bd26784af2235d0ff0c25bf7c42cec84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:23:54 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:23:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:54 . [Pipeline] withDockerContainer 20:23:54 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:23:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:23:55 $ docker top c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:55 [ssh-agent] Looking for ssh-agent implementation... 20:23:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:55 $ docker exec c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 ssh-agent 20:23:55 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFGeanN/agent.13 20:23:55 SSH_AGENT_PID=19 20:23:55 Running ssh-add (command line suppressed) 20:23:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1288397140351754325.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1288397140351754325.key) 20:23:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:55 + git semver bump pre 20:23:55 # -> Open(): unable to determine branch for HEAD 20:23:55 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:23:55 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:23:55 # $SEMVER_REMOTE_NAME = origin 20:23:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:55 # $SEMVER_USER_NAME = edgex-jenkins 20:23:55 # $SEMVER_BRANCH = main 20:23:55 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 20:23:55 2.2.0-dev.8 [Pipeline] } 20:23:55 $ docker exec --env ******** --env ******** c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 ssh-agent -k 20:23:55 unset SSH_AUTH_SOCK; 20:23:55 unset SSH_AGENT_PID; 20:23:55 echo Agent pid 19 killed; 20:23:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:23:56 + git semver [Pipeline] } 20:23:56 $ docker stop --time=1 c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 20:23:57 $ docker rm -f c63aa1fb8b3d5f7c2ca3f15a9a9edcf6bd838854670488962dbc40dc76c4e4c1 [Pipeline] // withDockerContainer [Pipeline] sh 20:23:57 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 20:23:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:23:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:23:58 . [Pipeline] withDockerContainer 20:23:58 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:23:58 $ docker top 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:23:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:23:58 [ssh-agent] Looking for ssh-agent implementation... 20:23:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:23:58 $ docker exec 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d ssh-agent 20:23:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMMIOmG/agent.14 20:23:58 SSH_AGENT_PID=20 20:23:58 Running ssh-add (command line suppressed) 20:23:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6047463771678241964.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6047463771678241964.key) 20:23:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:23:59 + git semver push 20:23:59 # -> Open(): unable to determine branch for HEAD 20:23:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 20:23:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 20:23:59 # $SEMVER_REMOTE_NAME = origin 20:23:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:23:59 # $SEMVER_USER_NAME = edgex-jenkins 20:23:59 # $SEMVER_BRANCH = main 20:23:59 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 20:24:01 $ docker exec --env ******** --env ******** 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d ssh-agent -k 20:24:01 unset SSH_AUTH_SOCK; 20:24:01 unset SSH_AGENT_PID; 20:24:01 echo Agent pid 20 killed; 20:24:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:24:01 + git semver [Pipeline] } 20:24:01 $ docker stop --time=1 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d 20:24:02 $ docker rm -f 94c4ae08102cfae21f723f68925bec8d72f6dff62b49dd2094ae64f86974f38d [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 20:24:03 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' 20:24:03 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:24:03 total 8 20:24:03 drwxr-xr-x. 3 root root 34 Jan 19 20:15 . 20:24:03 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 19 20:23 .. 20:24:03 drwxr-xr-x. 2 root root 6 Jan 19 20:15 cost 20:24:03 -rw-r--r--. 1 root root 84 Jan 19 20:15 cost.csv 20:24:03 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:24:03 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 20:24:03 total 8 20:24:03 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 20:15 . 20:24:03 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 19 20:23 .. 20:24:03 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 20:15 cost 20:24:03 -rw-r--r--. 1 jenkins jenkins 84 Jan 19 20:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:24:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:24:04 ---> package-listing.sh 20:24:04 ++ tr '[:upper:]' '[:lower:]' 20:24:04 ++ facter osfamily 20:24:04 + OS_FAMILY=redhat 20:24:04 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 20:24:04 + START_PACKAGES=/tmp/packages_start.txt 20:24:04 + END_PACKAGES=/tmp/packages_end.txt 20:24:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:24:04 + PACKAGES=/tmp/packages_start.txt 20:24:04 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:24:04 + PACKAGES=/tmp/packages_end.txt 20:24:04 + case "${OS_FAMILY}" in 20:24:04 + rpm -qa 20:24:04 + sort 20:24:04 + '[' -f /tmp/packages_start.txt ']' 20:24:04 + '[' -f /tmp/packages_end.txt ']' 20:24:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:24:04 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 20:24:04 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 20:24:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 20:24:05 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 20:24:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:24:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:24:05 . [Pipeline] withDockerContainer 20:24:05 prd-centos7-docker-4c-2g-2090 does not seem to be running inside a container 20:24:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:24:06 $ docker top 95572894192bf6a2c585bdeef20a7f6bced322c611d6e74d952dec6564d62866 -eo pid,comm [Pipeline] { [Pipeline] sh 20:24:06 + touch /tmp/pre-build-complete [Pipeline] sh 20:24:06 + mkdir -p /var/log/sysstat [Pipeline] sh 20:24:07 + ls /var/log/sa-host 20:24:07 + sadf -c /var/log/sa-host/sa17 20:24:07 file_magic: OK 20:24:07 HZ: Using current value: 100 20:24:07 file_header: OK 20:24:07 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 20:24:07 Statistics: 20:24:07 Hnuu...uuuununununu...Hnuu...uuuununununu... 20:24:07 File successfully converted to sysstat format version 12.0.3 20:24:07 + sadf -c /var/log/sa-host/sa19 20:24:07 file_magic: OK 20:24:07 HZ: Using current value: 100 20:24:07 file_header: OK 20:24:07 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 20:24:07 Statistics: 20:24:07 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 20:24:07 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:24:07 provisioning config files... 20:24:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1910780116901044142tmp [Pipeline] { [Pipeline] echo 20:24:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:24:07 ---> create-netrc.sh [Pipeline] } 20:24:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:24:07 ---> python-tools-install.sh [Pipeline] echo 20:24:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:24:08 ---> sudo-logs.sh 20:24:08 Archiving 'sudo' log.. 20:24:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-2090.novalocal: Name or service not known 20:24:08 sudo: unable to resolve host prd-centos7-docker-4c-2g-2090.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 20:24:08 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:24:08 ---> job-cost.sh 20:24:08 lf-activate-venv: SKIPPING 20:24:08 DEBUG: total: 0.05999999865889549 20:24:08 INFO: Retrieving Stack Cost... 20:24:08 INFO: Retrieving Pricing Info for: v3-standard-2 20:24:09 INFO: Archiving Costs [Pipeline] echo 20:24:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:24:09 ---> logs-deploy.sh 20:24:09 lf-activate-venv: SKIPPING 20:24:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/28 20:24:09 INFO: archiving workspace using pattern(s): 20:24:10 Archives upload complete. 20:24:10 INFO: archiving logs to Nexus