Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 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-ssh8541584077977904658.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh18416624238236681045.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh13637725969081487758.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh5142576510985135417.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-ssh176419166242849422.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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 Running on prd-centos7-docker-4c-2g-95 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-ssh3598314901853456917.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 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 (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 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 # timeout=10 Commit message: "Merge pull request #327 from farshidtz/snap-config-plug-target" > git rev-list --no-walk cb2e8553b38ac866c025eedbd79f7c0275d0a362 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:15:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:15:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:15:41 ========================================================= 14:15:41 EdgeX Global Pipelines Version Info 14:15:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:15:42 ------------------- 14:15:42 stable info: 14:15:42 ------------------- 14:15:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:15:42 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 14:15:42 Message: update stable to v1.0.217 14:15:43 ------------------- 14:15:43 experimental info: 14:15:43 ------------------- 14:15:43 Commited By: **** collab-it+edgex@linuxfoundation.org 14:15:43 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 14:15:43 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5cad309 [Pipeline] echo 14:15:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:15:43 provisioning config files... 14:15:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config972241386787917577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:15:44 ---> docker-login.sh 14:15:44 nexus3.edgexfoundry.org:10001 14:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:44 Configure a credential helper to remove this warning. See 14:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:44 14:15:44 Login Succeeded 14:15:44 nexus3.edgexfoundry.org:10002 14:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:44 Configure a credential helper to remove this warning. See 14:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:44 14:15:44 Login Succeeded 14:15:44 nexus3.edgexfoundry.org:10003 14:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:44 Configure a credential helper to remove this warning. See 14:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:44 14:15:44 Login Succeeded 14:15:44 nexus3.edgexfoundry.org:10004 14:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:44 Configure a credential helper to remove this warning. See 14:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:44 14:15:44 Login Succeeded 14:15:44 docker.io 14:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:15:45 Configure a credential helper to remove this warning. See 14:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:15:45 14:15:45 Login Succeeded 14:15:45 ---> docker-login.sh ends [Pipeline] } 14:15:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:15:45 + git rev-list -1 --merges 5cad3091e7ab269ff3d854c908e2e05f0e1b0126~1..5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] echo 14:15:45 -----------> git rev-list -1 --merges 5cad3091e7ab269ff3d854c908e2e05f0e1b0126~1..5cad3091e7ab269ff3d854c908e2e05f0e1b0126 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:15:45 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [false] [Pipeline] sh 14:15:45 + git log --format=format:%s -1 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] echo 14:15:45 ========================================================= 14:15:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:15:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:15:46 + git log --format=format:%s -1 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] echo 14:15:46 [semverPrep] GIT_COMMIT: 5cad3091e7ab269ff3d854c908e2e05f0e1b0126, Commit Message: Merge pull request #327 from farshidtz/snap-config-plug-target [Pipeline] echo 14:15:46 [semverPrep] This is not a build commit. [Pipeline] sh 14:15:46 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:15:46 + grep -v github /etc/ssh/ssh_known_hosts 14:15:46 + '[' -e /tmp/ssh_known_hosts ']' 14:15:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:15:46 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 14:15:46 + sudo tee -a /etc/ssh/ssh_known_hosts 14:15:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:15:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:47 14:15:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 14:15:47 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:47 latest: Pulling from edgex-devops/git-semver 14:15:47 a0d0a0d46f8b: Pulling fs layer 14:15:47 3e5f54012d9b: Pulling fs layer 14:15:47 4c7163046ea9: Pulling fs layer 14:15:47 0c2d73faf560: Pulling fs layer 14:15:47 0c2d73faf560: Waiting 14:15:47 3e5f54012d9b: Verifying Checksum 14:15:47 3e5f54012d9b: Download complete 14:15:47 a0d0a0d46f8b: Verifying Checksum 14:15:47 a0d0a0d46f8b: Download complete 14:15:47 0c2d73faf560: Verifying Checksum 14:15:47 0c2d73faf560: Download complete 14:15:47 4c7163046ea9: Verifying Checksum 14:15:47 4c7163046ea9: Download complete 14:15:47 a0d0a0d46f8b: Pull complete 14:15:47 3e5f54012d9b: Pull complete 14:15:47 4c7163046ea9: Pull complete 14:15:48 0c2d73faf560: Pull complete 14:15:48 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 14:15:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:15:48 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 14:15:48 prd-centos7-docker-4c-2g-95 does not seem to be running inside a container 14:15:48 $ 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 14:15:48 $ docker top 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:15:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:15:49 [ssh-agent] Looking for ssh-agent implementation... 14:15:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:15:49 $ docker exec 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f ssh-agent 14:15:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFkcJKG/agent.13 14:15:49 SSH_AGENT_PID=20 14:15:49 Running ssh-add (command line suppressed) 14:15:49 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5717001426650016512.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5717001426650016512.key) 14:15:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:15:49 + git tag --points-at HEAD [Pipeline] } 14:15:49 $ docker exec --env ******** --env ******** 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f ssh-agent -k 14:15:49 unset SSH_AUTH_SOCK; 14:15:49 unset SSH_AGENT_PID; 14:15:49 echo Agent pid 20 killed; 14:15:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:15:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:15:49 [ssh-agent] Looking for ssh-agent implementation... 14:15:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:15:49 $ docker exec 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f ssh-agent 14:15:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmAfCEb/agent.56 14:15:50 SSH_AGENT_PID=63 14:15:50 Running ssh-add (command line suppressed) 14:15:50 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1966134795130201150.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1966134795130201150.key) 14:15:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:15:50 + git semver init 14:15:50 # -> Open(): unable to determine branch for HEAD 14:15:50 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 14:15:50 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 14:15:50 # $SEMVER_REMOTE_NAME = origin 14:15:50 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:15:50 # $SEMVER_USER_NAME = edgex-jenkins 14:15:50 # $SEMVER_BRANCH = main 14:15:50 # $SEMVER_TEMP = /tmp/semver-619959834 14:15:50 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 14:15:51 # '/tmp/semver-619959834' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 14:15:51 # -> Force: false 14:15:51 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 14:15:51 $ docker exec --env ******** --env ******** 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f ssh-agent -k 14:15:51 unset SSH_AUTH_SOCK; 14:15:51 unset SSH_AGENT_PID; 14:15:51 echo Agent pid 63 killed; 14:15:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:15:51 + git semver [Pipeline] } 14:15:51 $ docker stop --time=1 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f 14:15:53 $ docker rm -f 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f [Pipeline] // withDockerContainer [Pipeline] sh 14:15:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:15:53 Stashed 1 file(s) [Pipeline] echo 14:15:53 [edgeXSemver]: initialized semver on version 2.2.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 14:16:08 Still waiting to schedule task 14:16:08 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-95’ 14:16:08 Still waiting to schedule task 14:16:08 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 14:17:22 Running on prd-centos7-docker-4c-2g-97 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 14:17:22 Running in /w/workspace/device-mqtt-go/24 [Pipeline] { [Pipeline] checkout 14:17:22 Selected Git installation does not exist. Using Default 14:17:22 The recommended git tool is: NONE 14:17:24 using credential edgex-jenkins-ssh 14:17:24 Cloning the remote Git repository 14:17:24 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:17:24 > git init /w/workspace/device-mqtt-go/24 # timeout=10 14:17:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:17:24 > git --version # timeout=10 14:17:24 > git --version # 'git version 2.24.4' 14:17:24 using GIT_SSH to set credentials SSH Credentials for GitHub 14:17:25 [INFO] Currently running in a labeled security context 14:17:25 [INFO] Currently SELinux is 'enforcing' on the host 14:17:25 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/24@tmp/jenkins-gitclient-ssh9189317082127316826.key 14:17:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:17:25 Avoid second fetch 14:17:25 Checking out Revision 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 (main) 14:17:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:17:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:17:25 > git config core.sparsecheckout # timeout=10 14:17:25 > git checkout -f 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 # timeout=10 14:17:29 Commit message: "Merge pull request #327 from farshidtz/snap-config-plug-target" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:17:29 provisioning config files... 14:17:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config4588672464629159892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:17:29 ---> docker-login.sh 14:17:29 nexus3.edgexfoundry.org:10001 14:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:29 Configure a credential helper to remove this warning. See 14:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:29 14:17:29 Login Succeeded 14:17:29 nexus3.edgexfoundry.org:10002 14:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:30 Configure a credential helper to remove this warning. See 14:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:30 14:17:30 Login Succeeded 14:17:30 nexus3.edgexfoundry.org:10003 14:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:30 Configure a credential helper to remove this warning. See 14:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:30 14:17:30 Login Succeeded 14:17:30 nexus3.edgexfoundry.org:10004 14:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:30 Configure a credential helper to remove this warning. See 14:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:30 14:17:30 Login Succeeded 14:17:30 docker.io 14:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:17:30 Configure a credential helper to remove this warning. See 14:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:17:30 14:17:30 Login Succeeded 14:17:30 ---> docker-login.sh ends [Pipeline] } 14:17:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:17:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:17:30 ========================================================= 14:17:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 14:17:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:17:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 14:17:31 Sending build context to Docker daemon 2.953MB 14:17:31 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 14:17:31 Step 2/11 : FROM ${BASE} AS builder 14:17:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 14:17:31 a0d0a0d46f8b: Pulling fs layer 14:17:31 31adcdaf11c8: Pulling fs layer 14:17:31 b8b176561691: Pulling fs layer 14:17:31 4527c011a84f: Pulling fs layer 14:17:31 5d74067f8e1e: Pulling fs layer 14:17:31 e0aca202a116: Pulling fs layer 14:17:31 3a43be97a3b4: Pulling fs layer 14:17:31 34cad66bf833: Pulling fs layer 14:17:31 b4e3c513aaa6: Pulling fs layer 14:17:31 4527c011a84f: Waiting 14:17:31 5d74067f8e1e: Waiting 14:17:31 e0aca202a116: Waiting 14:17:31 34cad66bf833: Waiting 14:17:31 3a43be97a3b4: Waiting 14:17:31 b4e3c513aaa6: Waiting 14:17:31 b8b176561691: Verifying Checksum 14:17:31 b8b176561691: Download complete 14:17:31 31adcdaf11c8: Verifying Checksum 14:17:31 31adcdaf11c8: Download complete 14:17:31 5d74067f8e1e: Verifying Checksum 14:17:31 5d74067f8e1e: Download complete 14:17:31 e0aca202a116: Verifying Checksum 14:17:31 e0aca202a116: Download complete 14:17:31 a0d0a0d46f8b: Verifying Checksum 14:17:31 a0d0a0d46f8b: Download complete 14:17:31 3a43be97a3b4: Verifying Checksum 14:17:31 3a43be97a3b4: Download complete 14:17:31 34cad66bf833: Verifying Checksum 14:17:31 34cad66bf833: Download complete 14:17:31 b4e3c513aaa6: Verifying Checksum 14:17:31 b4e3c513aaa6: Download complete 14:17:32 a0d0a0d46f8b: Pull complete 14:17:32 4527c011a84f: Verifying Checksum 14:17:32 4527c011a84f: Download complete 14:17:32 31adcdaf11c8: Pull complete 14:17:32 b8b176561691: Pull complete 14:17:36 4527c011a84f: Pull complete 14:17:36 5d74067f8e1e: Pull complete 14:17:36 e0aca202a116: Pull complete 14:17:36 3a43be97a3b4: Pull complete 14:17:36 34cad66bf833: Pull complete 14:17:38 Running on prd-ubuntu18.04-docker-arm64-4c-16g-96 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 14:17:38 Running in /w/workspace/device-mqtt-go/24 [Pipeline] { [Pipeline] checkout 14:17:38 Selected Git installation does not exist. Using Default 14:17:38 The recommended git tool is: NONE 14:17:38 b4e3c513aaa6: Pull complete 14:17:38 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 14:17:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 14:17:38 ---> 9f6097aaca64 14:17:38 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:17:42 ---> Running in 73415ba17cba 14:17:42 Removing intermediate container 73415ba17cba 14:17:42 ---> 11473e623260 14:17:42 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 14:17:42 ---> Running in 190f51387b10 14:17:42 Removing intermediate container 190f51387b10 14:17:42 ---> 5bc52188f55b 14:17:42 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:17:42 ---> Running in 0c6a5f3bcabf 14:17:42 Removing intermediate container 0c6a5f3bcabf 14:17:42 ---> 63eb195158f6 14:17:42 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:17:42 ---> Running in 0729a365b954 14:17:43 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:17:43 using credential edgex-jenkins-ssh 14:17:43 Cloning the remote Git repository 14:17:44 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:17:44 (1/4) Installing openssh-keygen (8.6_p1-r3) 14:17:44 (2/4) Installing libedit (20210216.3.1-r0) 14:17:44 (3/4) Installing openssh-client-common (8.6_p1-r3) 14:17:44 (4/4) Installing openssh-client-default (8.6_p1-r3) 14:17:44 Executing busybox-1.33.1-r3.trigger 14:17:44 OK: 224 MiB in 56 packages 14:17:43 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:17:43 > git init /w/workspace/device-mqtt-go/24 # timeout=10 14:17:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:17:43 > git --version # timeout=10 14:17:43 > git --version # 'git version 2.17.1' 14:17:43 using GIT_SSH to set credentials SSH Credentials for GitHub 14:17:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:17:44 Removing intermediate container 0729a365b954 14:17:44 ---> c9a01359813d 14:17:44 Step 7/11 : WORKDIR /device-mqtt-go 14:17:44 ---> Running in fa2d4d76cc90 14:17:45 Avoid second fetch 14:17:45 Checking out Revision 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 (main) 14:17:45 Removing intermediate container fa2d4d76cc90 14:17:45 ---> decadc5a3da0 14:17:45 Step 8/11 : COPY . . 14:17:45 ---> 7bedfae6e885 14:17:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:17:45 ---> Running in e7954a41f9e8 14:17:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:17:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:17:45 > git config core.sparsecheckout # timeout=10 14:17:45 > git checkout -f 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 # timeout=10 14:17:49 Commit message: "Merge pull request #327 from farshidtz/snap-config-plug-target" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:17:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:17:50 % Total % Received % Xferd Average Speed Time Time Time Current 14:17:50 Dload Upload Total Spent Left Speed 14:17:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78304 0 --:--:-- --:--:-- --:--:-- 78304 100 11824 100 11824 0 0 77789 0 --:--:-- --:--:-- --:--:-- 77281 [Pipeline] sh 14:17:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:17:51 + sudo tee /etc/docker/daemon.new 14:17:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:17:51 { 14:17:51 "registry-mirrors": [ 14:17:51 "https://nexus3.edgexfoundry.org:10001" 14:17:51 ], 14:17:51 "bip": "10.250.0.254/24", 14:17:51 "hosts": [ 14:17:51 "tcp://0.0.0.0:5555", 14:17:51 "unix:///var/run/docker.sock" 14:17:51 ], 14:17:51 "mtu": 1458, 14:17:51 "selinux-enabled": true, 14:17:51 "seccomp-profile": "/etc/docker/seccomp.json" 14:17:51 } [Pipeline] sh 14:17:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:17:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:18:10 provisioning config files... 14:18:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config5146091022347145922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:18:10 ---> docker-login.sh 14:18:10 nexus3.edgexfoundry.org:10001 14:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:11 Configure a credential helper to remove this warning. See 14:18:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:11 14:18:11 Login Succeeded 14:18:11 nexus3.edgexfoundry.org:10002 14:18:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:11 Configure a credential helper to remove this warning. See 14:18:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:11 14:18:11 Login Succeeded 14:18:11 nexus3.edgexfoundry.org:10003 14:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:12 Configure a credential helper to remove this warning. See 14:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:12 14:18:12 Login Succeeded 14:18:12 nexus3.edgexfoundry.org:10004 14:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:12 Configure a credential helper to remove this warning. See 14:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:12 14:18:12 Login Succeeded 14:18:12 docker.io 14:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:13 Configure a credential helper to remove this warning. See 14:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:13 14:18:13 Login Succeeded 14:18:13 ---> docker-login.sh ends [Pipeline] } 14:18:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:18:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:18:14 ========================================================= 14:18:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 14:18:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 14:18:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 14:18:14 Sending build context to Docker daemon 2.952MB 14:18:14 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 14:18:14 Step 2/11 : FROM ${BASE} AS builder 14:18:14 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:18:14 552d1f2373af: Pulling fs layer 14:18:14 ea3f2d53f512: Pulling fs layer 14:18:14 9e70ebbbe112: Pulling fs layer 14:18:14 7a9cfe048b4a: Pulling fs layer 14:18:14 72dc09318566: Pulling fs layer 14:18:14 f4f7b4309257: Pulling fs layer 14:18:14 0ac9a79272e3: Pulling fs layer 14:18:14 b78e95d17946: Pulling fs layer 14:18:14 72dc09318566: Waiting 14:18:14 7a9cfe048b4a: Waiting 14:18:14 f4f7b4309257: Waiting 14:18:14 0ac9a79272e3: Waiting 14:18:14 9e70ebbbe112: Verifying Checksum 14:18:14 9e70ebbbe112: Download complete 14:18:14 ea3f2d53f512: Download complete 14:18:14 72dc09318566: Verifying Checksum 14:18:14 72dc09318566: Download complete 14:18:14 f4f7b4309257: Verifying Checksum 14:18:14 f4f7b4309257: Download complete 14:18:14 0ac9a79272e3: Verifying Checksum 14:18:14 0ac9a79272e3: Download complete 14:18:14 552d1f2373af: Verifying Checksum 14:18:14 552d1f2373af: Download complete 14:18:15 552d1f2373af: Pull complete 14:18:16 ea3f2d53f512: Pull complete 14:18:16 9e70ebbbe112: Pull complete 14:18:16 b78e95d17946: Verifying Checksum 14:18:16 b78e95d17946: Download complete 14:18:17 7a9cfe048b4a: Verifying Checksum 14:18:17 7a9cfe048b4a: Download complete 14:18:17 Removing intermediate container e7954a41f9e8 14:18:17 ---> e0b4ce3252d9 14:18:17 Step 10/11 : ARG MAKE='make build' 14:18:17 ---> Running in dfa0ed1e8676 14:18:17 Removing intermediate container dfa0ed1e8676 14:18:17 ---> 3bd342fe957e 14:18:17 Step 11/11 : RUN $MAKE 14:18:17 ---> Running in 62a6665ecac7 14:18:17 noop 14:18:17 Removing intermediate container 62a6665ecac7 14:18:17 ---> 4c3a03061033 14:18:17 Successfully built 4c3a03061033 14:18:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 14:18:18 + docker inspect -f . ci-base-image-x86_64 14:18:18 . [Pipeline] withDockerContainer 14:18:18 prd-centos7-docker-4c-2g-97 does not seem to be running inside a container 14:18:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 14:18:18 $ docker top ecbf5342adfb385346187d9d2b63bd03f6c10e939df6a00d8844ccc87b1af4bf -eo pid,comm [Pipeline] { [Pipeline] sh 14:18:19 + go version 14:18:19 go version go1.16.8 linux/amd64 [Pipeline] } 14:18:19 $ docker stop --time=1 ecbf5342adfb385346187d9d2b63bd03f6c10e939df6a00d8844ccc87b1af4bf 14:18:20 $ docker rm -f ecbf5342adfb385346187d9d2b63bd03f6c10e939df6a00d8844ccc87b1af4bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:18:20 + docker inspect -f . ci-base-image-x86_64 14:18:20 . [Pipeline] withDockerContainer 14:18:20 prd-centos7-docker-4c-2g-97 does not seem to be running inside a container 14:18:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 14:18:21 $ docker top 839de3d17f1c5692d44fe4a70ac308d0e87b7e8c4c4c6dac0a43323bf562a556 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:18:21 + make test 14:18:21 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:18:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:18:29 7a9cfe048b4a: Pull complete 14:18:29 72dc09318566: Pull complete 14:18:29 f4f7b4309257: Pull complete 14:18:29 0ac9a79272e3: Pull complete 14:18:35 b78e95d17946: Pull complete 14:18:35 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 14:18:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 14:18:35 ---> 8b459fc5aaf0 14:18:35 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:18:36 ---> Running in dde23fe12e66 14:18:36 Removing intermediate container dde23fe12e66 14:18:36 ---> dcf1fde8443d 14:18:36 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 14:18:36 ---> Running in 87d754100537 14:18:37 Removing intermediate container 87d754100537 14:18:37 ---> 54e973747aa0 14:18:37 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:18:37 ---> Running in e12b9bb1058e 14:18:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:18:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.5% of statements 14:18:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:18:37 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:18:39 Removing intermediate container e12b9bb1058e 14:18:39 ---> 77953cbfe1b3 14:18:39 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:18:39 ---> Running in 93822942cfd4 14:18:40 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:18:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:18:41 (1/4) Installing openssh-keygen (8.6_p1-r3) 14:18:41 (2/4) Installing libedit (20210216.3.1-r0) 14:18:41 (3/4) Installing openssh-client-common (8.6_p1-r3) 14:18:41 (4/4) Installing openssh-client-default (8.6_p1-r3) 14:18:41 Executing busybox-1.33.1-r3.trigger 14:18:41 OK: 223 MiB in 56 packages 14:18:42 Removing intermediate container 93822942cfd4 14:18:42 ---> 04c47d1a57a4 14:18:42 Step 7/11 : WORKDIR /device-mqtt-go 14:18:43 ---> Running in 0f1bcb62ffaf 14:18:43 Removing intermediate container 0f1bcb62ffaf 14:18:43 ---> b4e277699bb1 14:18:43 Step 8/11 : COPY . . 14:18:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:18:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:18:44 ./bin/test-attribution-txt.sh 14:18:44 ---> 58d2e85a740f 14:18:44 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:18:44 ---> Running in 89f40f43f4ae [Pipeline] echo 14:18:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:18:44 $ docker stop --time=1 839de3d17f1c5692d44fe4a70ac308d0e87b7e8c4c4c6dac0a43323bf562a556 14:18:45 $ docker rm -f 839de3d17f1c5692d44fe4a70ac308d0e87b7e8c4c4c6dac0a43323bf562a556 [Pipeline] // withDockerContainer [Pipeline] sh 14:18:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:18:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:18:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:18:47 + ls -al . 14:18:47 total 148 14:18:47 drwxrwxr-x. 9 jenkins jenkins 4096 Dec 2 14:18 . 14:18:47 drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 14:17 .. 14:18:47 -rw-rw-r--. 1 jenkins jenkins 7287 Dec 2 14:17 Attribution.txt 14:18:47 drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 14:17 bin 14:18:47 -rw-rw-r--. 1 jenkins jenkins 7447 Dec 2 14:17 CHANGELOG.md 14:18:47 drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 14:17 cmd 14:18:47 -rw-r--r--. 1 jenkins jenkins 17452 Dec 2 14:18 coverage.out 14:18:47 -rw-rw-r--. 1 jenkins jenkins 1907 Dec 2 14:17 Dockerfile 14:18:47 -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 14:17 .dockerignore 14:18:47 drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 14:17 .git 14:18:47 drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 14:17 .github 14:18:47 -rw-rw-r--. 1 jenkins jenkins 329 Dec 2 14:17 .gitignore 14:18:47 -rw-rw-r--. 1 jenkins jenkins 410 Dec 2 14:17 go.mod 14:18:47 -rw-rw-r--. 1 jenkins jenkins 49409 Dec 2 14:17 go.sum 14:18:47 -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 14:17 GOVERNANCE.md 14:18:47 drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 14:17 internal 14:18:47 -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 14:17 Jenkinsfile 14:18:47 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 14:17 LICENSE 14:18:47 -rw-rw-r--. 1 jenkins jenkins 1030 Dec 2 14:17 Makefile 14:18:47 drwxrwxr-x. 2 jenkins jenkins 23 Dec 2 14:17 mock 14:18:47 -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 14:17 OWNERS.md 14:18:47 -rw-rw-r--. 1 jenkins jenkins 2211 Dec 2 14:17 README.md 14:18:47 drwxrwxr-x. 4 jenkins jenkins 71 Dec 2 14:17 snap 14:18:47 -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 14:15 VERSION 14:18:47 -rw-rw-r--. 1 jenkins jenkins 227 Dec 2 14:17 version.go [Pipeline] isUnix [Pipeline] sh 14:18:48 + 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=5cad3091e7ab269ff3d854c908e2e05f0e1b0126 --label arch=amd64 --label version=2.2.0-dev.3 . 14:18:48 Sending build context to Docker daemon 2.972MB 14:18:48 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 14:18:48 Step 2/23 : FROM ${BASE} AS builder 14:18:48 ---> 4c3a03061033 14:18:48 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:18:48 ---> Running in f0ddb25dcc15 14:18:48 Removing intermediate container f0ddb25dcc15 14:18:48 ---> 2456ede36b19 14:18:48 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 14:18:48 ---> Running in 75a6066e771a 14:18:48 Removing intermediate container 75a6066e771a 14:18:48 ---> 3e8d8df09f7e 14:18:48 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:18:48 ---> Running in 8be03eb9cc96 14:18:48 Removing intermediate container 8be03eb9cc96 14:18:48 ---> 493a62eabbc8 14:18:48 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:18:48 ---> Running in 3fc4a8629420 14:18:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:18:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:18:50 OK: 224 MiB in 56 packages 14:18:50 Removing intermediate container 3fc4a8629420 14:18:50 ---> 0a3fe6aee4c3 14:18:50 Step 7/23 : WORKDIR /device-mqtt-go 14:18:50 ---> Running in 06d3f99e4049 14:18:50 Removing intermediate container 06d3f99e4049 14:18:50 ---> 8a21922e1a2c 14:18:50 Step 8/23 : COPY . . 14:18:50 ---> a810873e9633 14:18:50 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:18:50 ---> Running in 1617c230f49c 14:18:51 Removing intermediate container 1617c230f49c 14:18:51 ---> 4461b944a142 14:18:51 Step 10/23 : ARG MAKE='make build' 14:18:51 ---> Running in 15729e07cf38 14:18:51 Removing intermediate container 15729e07cf38 14:18:51 ---> ce25d476ce0a 14:18:51 Step 11/23 : RUN $MAKE 14:18:51 ---> Running in e3a2d421da12 14:18:51 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.3" -o cmd/device-mqtt ./cmd 14:19:04 Removing intermediate container e3a2d421da12 14:19:04 ---> 5493308863e4 14:19:04 Step 12/23 : FROM alpine:3.14 14:19:04 3.14: Pulling from library/alpine 14:19:04 97518928ae5f: Pulling fs layer 14:19:04 97518928ae5f: Verifying Checksum 14:19:04 97518928ae5f: Download complete 14:19:04 97518928ae5f: Pull complete 14:19:04 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 14:19:04 Status: Downloaded newer image for alpine:3.14 14:19:04 ---> 0a97eee8041e 14:19:04 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:19:04 ---> Running in 8691f87576ce 14:19:04 Removing intermediate container 8691f87576ce 14:19:04 ---> 93725db427c4 14:19:04 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 14:19:04 ---> Running in 701e7b647eab 14:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 14:19:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 14:19:04 (1/6) Installing dumb-init (1.2.5-r1) 14:19:04 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:19:04 (3/6) Installing libsodium (1.0.18-r0) 14:19:04 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:19:04 (5/6) Installing libzmq (4.3.4-r0) 14:19:04 (6/6) Installing zeromq (4.3.4-r0) 14:19:04 Executing busybox-1.33.1-r6.trigger 14:19:04 OK: 8 MiB in 20 packages 14:19:05 Removing intermediate container 701e7b647eab 14:19:05 ---> 0e17fbcb8294 14:19:05 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 14:19:05 ---> ab8547454f49 14:19:05 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 14:19:05 ---> 883f098a23d1 14:19:05 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:19:05 ---> 331cd46fd5c7 14:19:05 Step 18/23 : EXPOSE 59982 14:19:05 ---> Running in 4e210b9c9ec2 14:19:05 Removing intermediate container 4e210b9c9ec2 14:19:05 ---> 574182164484 14:19:05 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 14:19:05 ---> Running in 3ba0ad517a51 14:19:05 Removing intermediate container 3ba0ad517a51 14:19:05 ---> 2a5c42b4e3d8 14:19:05 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:19:05 ---> Running in 60bad1dee35c 14:19:06 Removing intermediate container 60bad1dee35c 14:19:06 ---> 19d7ddd23a0b 14:19:06 Step 21/23 : LABEL arch=amd64 14:19:06 ---> Running in 17525cedfcfe 14:19:06 Removing intermediate container 17525cedfcfe 14:19:06 ---> 554bc6bcfcde 14:19:06 Step 22/23 : LABEL git_sha=5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:19:06 ---> Running in e315870fd303 14:19:06 Removing intermediate container e315870fd303 14:19:06 ---> 72eaee18bc0e 14:19:06 Step 23/23 : LABEL version=2.2.0-dev.3 14:19:06 ---> Running in 18ded2d42b3b 14:19:06 Removing intermediate container 18ded2d42b3b 14:19:06 ---> 1c86234d7281 14:19:06 [Warning] One or more build-args [ARCH] were not consumed 14:19:06 Successfully built 1c86234d7281 14:19:06 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:19:06 provisioning config files... 14:19:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config4981312062222974978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:19:06 ---> docker-login.sh 14:19:06 nexus3.edgexfoundry.org:10001 14:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:06 Configure a credential helper to remove this warning. See 14:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:06 14:19:06 Login Succeeded 14:19:06 nexus3.edgexfoundry.org:10002 14:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:06 Configure a credential helper to remove this warning. See 14:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:06 14:19:06 Login Succeeded 14:19:06 nexus3.edgexfoundry.org:10003 14:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:07 Configure a credential helper to remove this warning. See 14:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:07 14:19:07 Login Succeeded 14:19:07 nexus3.edgexfoundry.org:10004 14:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:07 Configure a credential helper to remove this warning. See 14:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:07 14:19:07 Login Succeeded 14:19:07 docker.io 14:19:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:19:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:19:07 Configure a credential helper to remove this warning. See 14:19:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:19:07 14:19:07 Login Succeeded 14:19:07 ---> docker-login.sh ends [Pipeline] } 14:19:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:19:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:19:07 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 14:19:07 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:19:07 latest 14:19:07 2.2.0-dev.3 14:19:07 5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 14:19:07 main 14:19:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:19:08 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] isUnix [Pipeline] sh 14:19:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:19:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:19:08 c19c7c87467e: Preparing 14:19:08 871c034d8c0d: Preparing 14:19:08 e84bb3b7c820: Preparing 14:19:08 9a612cb4f38e: Preparing 14:19:08 1a058d5342cc: Preparing 14:19:08 1a058d5342cc: Layer already exists 14:19:08 871c034d8c0d: Pushed 14:19:08 c19c7c87467e: Pushed 14:19:08 9a612cb4f38e: Pushed 14:19:10 e84bb3b7c820: Pushed 14:19:10 5cad3091e7ab269ff3d854c908e2e05f0e1b0126: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:19:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 14:19:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 14:19:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:19:10 c19c7c87467e: Preparing 14:19:10 871c034d8c0d: Preparing 14:19:10 e84bb3b7c820: Preparing 14:19:10 9a612cb4f38e: Preparing 14:19:10 1a058d5342cc: Preparing 14:19:10 e84bb3b7c820: Layer already exists 14:19:10 c19c7c87467e: Layer already exists 14:19:10 9a612cb4f38e: Layer already exists 14:19:10 871c034d8c0d: Layer already exists 14:19:10 1a058d5342cc: Layer already exists 14:19:10 latest: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:19:10 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 14:19:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.3 14:19:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:19:11 c19c7c87467e: Preparing 14:19:11 871c034d8c0d: Preparing 14:19:11 e84bb3b7c820: Preparing 14:19:11 9a612cb4f38e: Preparing 14:19:11 1a058d5342cc: Preparing 14:19:11 e84bb3b7c820: Layer already exists 14:19:11 9a612cb4f38e: Layer already exists 14:19:11 1a058d5342cc: Layer already exists 14:19:11 871c034d8c0d: Layer already exists 14:19:11 c19c7c87467e: Layer already exists 14:19:11 2.2.0-dev.3: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:19:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 14:19:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 14:19:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:19:11 c19c7c87467e: Preparing 14:19:11 871c034d8c0d: Preparing 14:19:11 e84bb3b7c820: Preparing 14:19:11 9a612cb4f38e: Preparing 14:19:11 1a058d5342cc: Preparing 14:19:11 871c034d8c0d: Layer already exists 14:19:11 1a058d5342cc: Layer already exists 14:19:11 e84bb3b7c820: Layer already exists 14:19:11 9a612cb4f38e: Layer already exists 14:19:11 c19c7c87467e: Layer already exists 14:19:11 5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] isUnix [Pipeline] sh 14:19:12 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 14:19:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 14:19:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:19:12 c19c7c87467e: Preparing 14:19:12 871c034d8c0d: Preparing 14:19:12 e84bb3b7c820: Preparing 14:19:12 9a612cb4f38e: Preparing 14:19:12 1a058d5342cc: Preparing 14:19:12 e84bb3b7c820: Layer already exists 14:19:12 871c034d8c0d: Layer already exists 14:19:12 9a612cb4f38e: Layer already exists 14:19:12 c19c7c87467e: Layer already exists 14:19:12 1a058d5342cc: Layer already exists 14:19:12 main: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:19:12 ===================================================== [Pipeline] echo 14:19:12 taggedImages: 14:19:12 - nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:19:12 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 14:19:12 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.3 14:19:12 - nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 14:19:12 - 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 14:19:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:13 14:19:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:19:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:13 latest: Pulling from edgex-lftools-log-publisher 14:19:13 b4d181a07f80: Pulling fs layer 14:19:13 a1111a8f2ec3: Pulling fs layer 14:19:13 ed53099fbce6: Pulling fs layer 14:19:13 dc539afda2c1: Pulling fs layer 14:19:13 77bc0d833cb6: Pulling fs layer 14:19:13 9065ff56babe: Pulling fs layer 14:19:13 d287ab97295c: Pulling fs layer 14:19:13 dc539afda2c1: Waiting 14:19:13 77bc0d833cb6: Waiting 14:19:13 9065ff56babe: Waiting 14:19:13 d287ab97295c: Waiting 14:19:13 a1111a8f2ec3: Verifying Checksum 14:19:13 a1111a8f2ec3: Download complete 14:19:13 dc539afda2c1: Verifying Checksum 14:19:13 dc539afda2c1: Download complete 14:19:13 ed53099fbce6: Verifying Checksum 14:19:13 ed53099fbce6: Download complete 14:19:13 9065ff56babe: Verifying Checksum 14:19:13 9065ff56babe: Download complete 14:19:13 77bc0d833cb6: Verifying Checksum 14:19:13 77bc0d833cb6: Download complete 14:19:13 b4d181a07f80: Verifying Checksum 14:19:13 b4d181a07f80: Download complete 14:19:14 d287ab97295c: Verifying Checksum 14:19:14 d287ab97295c: Download complete 14:19:15 b4d181a07f80: Pull complete 14:19:15 a1111a8f2ec3: Pull complete 14:19:15 ed53099fbce6: Pull complete 14:19:15 dc539afda2c1: Pull complete 14:19:16 77bc0d833cb6: Pull complete 14:19:16 9065ff56babe: Pull complete 14:19:21 d287ab97295c: Pull complete 14:19:21 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:19:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:19:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:19:21 prd-centos7-docker-4c-2g-97 does not seem to be running inside a container 14:19:21 $ 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/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 14:19:24 $ docker top f2713f33327853f9d9922bd9deedfc4fe81cb9579b17df56d4e0319850808834 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:19:24 ---> job-cost.sh 14:19:24 lf-activate-venv: SKIPPING 14:19:24 INFO: No Stack... 14:19:24 INFO: Retrieving Pricing Info for: v3-standard-2 14:19:25 INFO: Archiving Costs [Pipeline] sh 14:19:25 + cut -d, -f6 14:19:25 + cat /w/workspace/device-mqtt-go/24/archives/cost.csv [Pipeline] lock 14:19:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] 14:19:25 Resource [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] did not exist. Created. 14:19:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:19:25 + echo total: 0.05999999865889549 [Pipeline] stash 14:19:25 Stashed 1 file(s) [Pipeline] } 14:19:25 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 14:19:25 $ docker stop --time=1 f2713f33327853f9d9922bd9deedfc4fe81cb9579b17df56d4e0319850808834 14:19:26 $ docker rm -f f2713f33327853f9d9922bd9deedfc4fe81cb9579b17df56d4e0319850808834 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 14:20:06 Removing intermediate container 89f40f43f4ae 14:20:06 ---> 8b2bf0655493 14:20:06 Step 10/11 : ARG MAKE='make build' 14:20:06 ---> Running in 96094e136113 14:20:06 Removing intermediate container 96094e136113 14:20:06 ---> dd268c67bea1 14:20:06 Step 11/11 : RUN $MAKE 14:20:06 ---> Running in ad8404462f08 14:20:06 noop 14:20:06 Removing intermediate container ad8404462f08 14:20:06 ---> b63429850c81 14:20:06 Successfully built b63429850c81 14:20:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:20:06 + docker inspect -f . ci-base-image-arm64 14:20:06 . [Pipeline] withDockerContainer 14:20:06 prd-ubuntu18.04-docker-arm64-4c-16g-96 does not seem to be running inside a container 14:20:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 14:20:08 $ docker top f32aa2c7a31e240705eb97b74e7d27f31c1d6c2ebf1b63ee9e72e2eb029e7155 -eo pid,comm [Pipeline] { [Pipeline] sh 14:20:09 + go version 14:20:09 go version go1.16.8 linux/arm64 [Pipeline] } 14:20:09 $ docker stop --time=1 f32aa2c7a31e240705eb97b74e7d27f31c1d6c2ebf1b63ee9e72e2eb029e7155 14:20:10 $ docker rm -f f32aa2c7a31e240705eb97b74e7d27f31c1d6c2ebf1b63ee9e72e2eb029e7155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:20:11 + docker inspect -f . ci-base-image-arm64 14:20:11 . [Pipeline] withDockerContainer 14:20:11 prd-ubuntu18.04-docker-arm64-4c-16g-96 does not seem to be running inside a container 14:20:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 14:20:13 $ docker top ec195b744e8d9f5f2f9c63161e0310dda79e916f1f1d4862ae2a4a1552f73a84 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 14:20:13 + make test 14:20:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 14:20:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:21:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:21:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.5% of statements 14:21:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:21:11 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:21:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:21:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:21:38 ./bin/test-attribution-txt.sh [Pipeline] echo 14:21:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:21:38 $ docker stop --time=1 ec195b744e8d9f5f2f9c63161e0310dda79e916f1f1d4862ae2a4a1552f73a84 14:21:39 $ docker rm -f ec195b744e8d9f5f2f9c63161e0310dda79e916f1f1d4862ae2a4a1552f73a84 [Pipeline] // withDockerContainer [Pipeline] sh 14:21:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:21:40 Warning: overwriting stash ‘coverage-report’ 14:21:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:21:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:21:42 + ls -al . 14:21:42 total 180 14:21:42 drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 14:21 . 14:21:42 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 14:17 .. 14:21:42 -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 14:17 .dockerignore 14:21:42 drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:17 .git 14:21:42 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:17 .github 14:21:42 -rw-rw-r-- 1 jenkins jenkins 329 Dec 2 14:17 .gitignore 14:21:42 -rw-rw-r-- 1 jenkins jenkins 7287 Dec 2 14:17 Attribution.txt 14:21:42 -rw-rw-r-- 1 jenkins jenkins 7447 Dec 2 14:17 CHANGELOG.md 14:21:42 -rw-rw-r-- 1 jenkins jenkins 1907 Dec 2 14:17 Dockerfile 14:21:42 -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 14:17 GOVERNANCE.md 14:21:42 -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 14:17 Jenkinsfile 14:21:42 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 14:17 LICENSE 14:21:42 -rw-rw-r-- 1 jenkins jenkins 1030 Dec 2 14:17 Makefile 14:21:42 -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 14:17 OWNERS.md 14:21:42 -rw-rw-r-- 1 jenkins jenkins 2211 Dec 2 14:17 README.md 14:21:42 -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 14:15 VERSION 14:21:42 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:17 bin 14:21:42 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:17 cmd 14:21:42 -rw-r--r-- 1 jenkins jenkins 17452 Dec 2 14:21 coverage.out 14:21:42 -rw-rw-r-- 1 jenkins jenkins 410 Dec 2 14:17 go.mod 14:21:42 -rw-rw-r-- 1 jenkins jenkins 49409 Dec 2 14:17 go.sum 14:21:42 drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:17 internal 14:21:42 drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:17 mock 14:21:42 drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 14:17 snap 14:21:42 -rw-rw-r-- 1 jenkins jenkins 227 Dec 2 14:17 version.go [Pipeline] isUnix [Pipeline] sh 14:21:42 + 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=5cad3091e7ab269ff3d854c908e2e05f0e1b0126 --label arch=arm64 --label version=2.2.0-dev.3 . 14:21:42 Sending build context to Docker daemon 2.971MB 14:21:42 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 14:21:42 Step 2/23 : FROM ${BASE} AS builder 14:21:42 ---> b63429850c81 14:21:42 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:21:42 ---> Running in 009c5a909362 14:21:43 Removing intermediate container 009c5a909362 14:21:43 ---> 5ab584cabf72 14:21:43 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 14:21:43 ---> Running in 98a4d3035069 14:21:43 Removing intermediate container 98a4d3035069 14:21:43 ---> 0c50100c5ee9 14:21:43 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 14:21:43 ---> Running in cae5825b8629 14:21:45 Removing intermediate container cae5825b8629 14:21:45 ---> 1f2e469c949f 14:21:45 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:21:45 ---> Running in c2b6a245fa49 14:21:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:21:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:21:48 OK: 223 MiB in 56 packages 14:21:49 Removing intermediate container c2b6a245fa49 14:21:49 ---> a38a4d7f24ac 14:21:49 Step 7/23 : WORKDIR /device-mqtt-go 14:21:49 ---> Running in fa14399310dc 14:21:50 Removing intermediate container fa14399310dc 14:21:50 ---> f19757966c0a 14:21:50 Step 8/23 : COPY . . 14:21:51 ---> 5a3c09f80a6f 14:21:51 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:21:51 ---> Running in df5433da9ee6 14:21:53 Removing intermediate container df5433da9ee6 14:21:53 ---> 9850860508e5 14:21:53 Step 10/23 : ARG MAKE='make build' 14:21:53 ---> Running in bbb8b264a1f5 14:21:53 Removing intermediate container bbb8b264a1f5 14:21:53 ---> fd6374f59d10 14:21:53 Step 11/23 : RUN $MAKE 14:21:53 ---> Running in 0df29fe39d41 14:21:54 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.3" -o cmd/device-mqtt ./cmd 14:22:41 Removing intermediate container 0df29fe39d41 14:22:41 ---> 8be7d87d79ae 14:22:41 Step 12/23 : FROM alpine:3.14 14:22:41 3.14: Pulling from library/alpine 14:22:41 be307f383ecc: Pulling fs layer 14:22:41 be307f383ecc: Verifying Checksum 14:22:41 be307f383ecc: Download complete 14:22:41 be307f383ecc: Pull complete 14:22:41 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 14:22:41 Status: Downloaded newer image for alpine:3.14 14:22:41 ---> 5b8b7b635229 14:22:41 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:22:41 ---> Running in 13e4b97fba1a 14:22:41 Removing intermediate container 13e4b97fba1a 14:22:41 ---> b6246ebebfc2 14:22:41 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 14:22:41 ---> Running in 99d7214cd417 14:22:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 14:22:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 14:22:41 (1/6) Installing dumb-init (1.2.5-r1) 14:22:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 14:22:41 (3/6) Installing libsodium (1.0.18-r0) 14:22:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 14:22:41 (5/6) Installing libzmq (4.3.4-r0) 14:22:41 (6/6) Installing zeromq (4.3.4-r0) 14:22:41 Executing busybox-1.33.1-r6.trigger 14:22:41 OK: 8 MiB in 20 packages 14:22:41 Removing intermediate container 99d7214cd417 14:22:41 ---> 0f2a1925d326 14:22:41 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 14:22:41 ---> ba092349b59f 14:22:41 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 14:22:41 ---> 2fc02f46f75a 14:22:41 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:22:41 ---> 9eaa6a35bf04 14:22:41 Step 18/23 : EXPOSE 59982 14:22:41 ---> Running in 47f5998df261 14:22:42 Removing intermediate container 47f5998df261 14:22:42 ---> a924284ef235 14:22:42 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 14:22:42 ---> Running in 3c8511f4a7e9 14:22:42 Removing intermediate container 3c8511f4a7e9 14:22:42 ---> e746e16688f5 14:22:42 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:22:43 ---> Running in 26b98a4a1c5e 14:22:43 Removing intermediate container 26b98a4a1c5e 14:22:43 ---> dc9bde3c9326 14:22:43 Step 21/23 : LABEL arch=arm64 14:22:43 ---> Running in ea021748655a 14:22:43 Removing intermediate container ea021748655a 14:22:43 ---> 88cbb44a8705 14:22:43 Step 22/23 : LABEL git_sha=5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:22:43 ---> Running in d9a5ef912599 14:22:44 Removing intermediate container d9a5ef912599 14:22:44 ---> 6e6ff089daae 14:22:44 Step 23/23 : LABEL version=2.2.0-dev.3 14:22:44 ---> Running in d113b59c5316 14:22:44 Removing intermediate container d113b59c5316 14:22:44 ---> 4c1890f258a9 14:22:44 [Warning] One or more build-args [ARCH] were not consumed 14:22:44 Successfully built 4c1890f258a9 14:22:44 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 14:22:44 provisioning config files... 14:22:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config7301775450681236758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:45 ---> docker-login.sh 14:22:45 nexus3.edgexfoundry.org:10001 14:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:45 Configure a credential helper to remove this warning. See 14:22:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:45 14:22:45 Login Succeeded 14:22:45 nexus3.edgexfoundry.org:10002 14:22:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:46 Configure a credential helper to remove this warning. See 14:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:46 14:22:46 Login Succeeded 14:22:46 nexus3.edgexfoundry.org:10003 14:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:46 Configure a credential helper to remove this warning. See 14:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:46 14:22:46 Login Succeeded 14:22:46 nexus3.edgexfoundry.org:10004 14:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:47 Configure a credential helper to remove this warning. See 14:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:47 14:22:47 Login Succeeded 14:22:47 docker.io 14:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:47 Configure a credential helper to remove this warning. See 14:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:47 14:22:47 Login Succeeded 14:22:47 ---> docker-login.sh ends [Pipeline] } 14:22:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:22:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:22:47 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 14:22:47 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:22:47 latest 14:22:47 2.2.0-dev.3 14:22:47 5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 14:22:47 main 14:22:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:22:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] isUnix [Pipeline] sh 14:22:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:22:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:48 986ba1f5f1f0: Preparing 14:22:48 d16bb3511073: Preparing 14:22:48 de5082c3d3cb: Preparing 14:22:48 8b5aadbc2877: Preparing 14:22:48 62170e181a92: Preparing 14:22:48 62170e181a92: Layer already exists 14:22:48 d16bb3511073: Pushed 14:22:48 986ba1f5f1f0: Pushed 14:22:49 8b5aadbc2877: Pushed 14:22:52 de5082c3d3cb: Pushed 14:22:52 5cad3091e7ab269ff3d854c908e2e05f0e1b0126: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:22:52 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 14:22:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 14:22:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:52 986ba1f5f1f0: Preparing 14:22:52 d16bb3511073: Preparing 14:22:52 de5082c3d3cb: Preparing 14:22:52 8b5aadbc2877: Preparing 14:22:52 62170e181a92: Preparing 14:22:52 8b5aadbc2877: Layer already exists 14:22:52 de5082c3d3cb: Layer already exists 14:22:52 d16bb3511073: Layer already exists 14:22:52 986ba1f5f1f0: Layer already exists 14:22:52 62170e181a92: Layer already exists 14:22:53 latest: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:22:53 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 14:22:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.3 14:22:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:53 986ba1f5f1f0: Preparing 14:22:53 d16bb3511073: Preparing 14:22:53 de5082c3d3cb: Preparing 14:22:53 8b5aadbc2877: Preparing 14:22:53 62170e181a92: Preparing 14:22:53 de5082c3d3cb: Layer already exists 14:22:53 d16bb3511073: Layer already exists 14:22:53 8b5aadbc2877: Layer already exists 14:22:53 62170e181a92: Layer already exists 14:22:53 986ba1f5f1f0: Layer already exists 14:22:54 2.2.0-dev.3: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:22:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh 14:22:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 14:22:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:54 986ba1f5f1f0: Preparing 14:22:54 d16bb3511073: Preparing 14:22:54 de5082c3d3cb: Preparing 14:22:54 8b5aadbc2877: Preparing 14:22:54 62170e181a92: Preparing 14:22:54 62170e181a92: Layer already exists 14:22:54 d16bb3511073: Layer already exists 14:22:54 986ba1f5f1f0: Layer already exists 14:22:54 de5082c3d3cb: Layer already exists 14:22:54 8b5aadbc2877: Layer already exists 14:22:55 5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] isUnix [Pipeline] sh 14:22:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 14:22:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 14:22:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:55 986ba1f5f1f0: Preparing 14:22:55 d16bb3511073: Preparing 14:22:55 de5082c3d3cb: Preparing 14:22:55 8b5aadbc2877: Preparing 14:22:55 62170e181a92: Preparing 14:22:55 986ba1f5f1f0: Layer already exists 14:22:55 62170e181a92: Layer already exists 14:22:55 8b5aadbc2877: Layer already exists 14:22:55 de5082c3d3cb: Layer already exists 14:22:55 d16bb3511073: Layer already exists 14:22:55 main: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:22:56 ===================================================== [Pipeline] echo 14:22:56 taggedImages: 14:22:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 14:22:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 14:22:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.3 14:22:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 14:22:56 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:22:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:22:56 14:22:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 14:22:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:22:57 arm64: Pulling from edgex-lftools-log-publisher 14:22:57 448f6bf000e3: Pulling fs layer 14:22:57 f757da607395: Pulling fs layer 14:22:57 05883995daec: Pulling fs layer 14:22:57 8603b9c90790: Pulling fs layer 14:22:57 1560dd03e051: Pulling fs layer 14:22:57 27f5ce0e4adf: Pulling fs layer 14:22:57 c2d8d7efcc4b: Pulling fs layer 14:22:57 1560dd03e051: Waiting 14:22:57 27f5ce0e4adf: Waiting 14:22:57 c2d8d7efcc4b: Waiting 14:22:57 8603b9c90790: Waiting 14:22:57 f757da607395: Verifying Checksum 14:22:57 f757da607395: Download complete 14:22:57 8603b9c90790: Verifying Checksum 14:22:57 8603b9c90790: Download complete 14:22:57 1560dd03e051: Verifying Checksum 14:22:57 1560dd03e051: Download complete 14:22:57 27f5ce0e4adf: Verifying Checksum 14:22:57 05883995daec: Verifying Checksum 14:22:57 05883995daec: Download complete 14:22:57 27f5ce0e4adf: Download complete 14:22:57 448f6bf000e3: Verifying Checksum 14:22:57 448f6bf000e3: Download complete 14:23:00 c2d8d7efcc4b: Verifying Checksum 14:23:00 c2d8d7efcc4b: Download complete 14:23:01 448f6bf000e3: Pull complete 14:23:01 f757da607395: Pull complete 14:23:02 05883995daec: Pull complete 14:23:03 8603b9c90790: Pull complete 14:23:04 1560dd03e051: Pull complete 14:23:04 27f5ce0e4adf: Pull complete 14:23:19 c2d8d7efcc4b: Pull complete 14:23:19 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 14:23:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 14:23:19 prd-ubuntu18.04-docker-arm64-4c-16g-96 does not seem to be running inside a container 14:23:19 $ 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/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@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 14:23:22 $ docker top 6b40bfffe1342e7f914fb8e2a886268f4d7c5803a2ba63ea2b08ac2837aeb8a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:23 ---> job-cost.sh 14:23:23 lf-activate-venv: SKIPPING 14:23:23 INFO: No Stack... 14:23:23 INFO: Retrieving Pricing Info for: v3-standard-4 14:23:24 INFO: Archiving Costs [Pipeline] sh 14:23:24 + cat /w/workspace/device-mqtt-go/24/archives/cost.csv+ 14:23:24 cut -d, -f6 [Pipeline] lock 14:23:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] 14:23:24 Resource [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] did not exist. Created. 14:23:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:23:25 /w/workspace/device-mqtt-go/24@tmp/durable-607c26e0/script.sh: 1: /w/workspace/device-mqtt-go/24@tmp/durable-607c26e0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 14:23:26 + echo total: 0.10999999940395355 [Pipeline] stash 14:23:26 Warning: overwriting stash ‘stack-cost’ 14:23:26 Stashed 1 file(s) [Pipeline] } 14:23:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 14:23:26 $ docker stop --time=1 6b40bfffe1342e7f914fb8e2a886268f4d7c5803a2ba63ea2b08ac2837aeb8a7 14:23:27 $ docker rm -f 6b40bfffe1342e7f914fb8e2a886268f4d7c5803a2ba63ea2b08ac2837aeb8a7 [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 14:23:28 provisioning config files... 14:23:28 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6274470160115461722tmp [Pipeline] { [Pipeline] sh 14:23:28 + set +x 14:23:28 + curl -s https://codecov.io/bash 14:23:28 + bash -s -- 14:23:30 14:23:30 _____ _ 14:23:30 / ____| | | 14:23:30 | | ___ __| | ___ ___ _____ __ 14:23:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:23:30 | |___| (_) | (_| | __/ (_| (_) \ V / 14:23:30 \_____\___/ \__,_|\___|\___\___/ \_/ 14:23:30 Bash-1.0.6 14:23:30 14:23:30 14:23:30 ==> git version 2.24.4 found 14:23:30 ==> 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 14:23:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 14:23:30 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 14:23:30 ==> Jenkins CI detected. 14:23:30 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 14:23:30 project root: . 14:23:30 --> token set from env 14:23:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:23:30 ==> Running gcov in . (disable via -X gcov) 14:23:30 ==> Python coveragepy not found 14:23:30 ==> Searching for coverage reports in: 14:23:30 + . 14:23:30 -> Found 1 reports 14:23:30 ==> Detecting git/mercurial file structure 14:23:30 ==> Reading reports 14:23:30 + ./coverage.out bytes=17452 14:23:30 ==> Appending adjustments 14:23:30 https://docs.codecov.io/docs/fixing-reports 14:23:30 + Found adjustments 14:23:30 ==> Gzipping contents 14:23:30 4.0K /tmp/codecov.OeqV9f.gz 14:23:30 ==> Uploading reports 14:23:30 url: https://codecov.io 14:23:30 query: branch=main&commit=5cad3091e7ab269ff3d854c908e2e05f0e1b0126&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:23:30 -> Pinging Codecov 14:23:30 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=5cad3091e7ab269ff3d854c908e2e05f0e1b0126&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:23:30 -> Uploading to 14:23:30 https://storage.googleapis.com/codecov/v4/raw/2021-12-02/7D719EC7BBE17E464838252E33014C33/5cad3091e7ab269ff3d854c908e2e05f0e1b0126/05187ec7-efe8-4487-8351-10975c40f6fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T142330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0da9dbbb478e96554bcfe69e339cbcfde4b3b722933414fe596acf0063f8613 14:23:30 % Total % Received % Xferd Average Speed Time Time Time Current 14:23:30 Dload Upload Total Spent Left Speed 14:23:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3198 0 0 100 3198 0 11807 --:--:-- --:--:-- --:--:-- 11844 14:23:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] } 14:23:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:23:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:23:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 14:23:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:23:31 14:23:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 14:23:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:23:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:23:31 188c0c94c7c5: Pulling fs layer 14:23:31 0ef7d3d256c8: Pulling fs layer 14:23:31 de9db76c5a1d: Pulling fs layer 14:23:31 0eba1c9be4d2: Pulling fs layer 14:23:31 0d57e429df01: Pulling fs layer 14:23:31 4e4be7b47b0d: Pulling fs layer 14:23:31 e1f770b5df2f: Pulling fs layer 14:23:31 85a0685a4137: Pulling fs layer 14:23:31 0d57e429df01: Waiting 14:23:31 4e4be7b47b0d: Waiting 14:23:31 e1f770b5df2f: Waiting 14:23:31 85a0685a4137: Waiting 14:23:31 0eba1c9be4d2: Waiting 14:23:31 de9db76c5a1d: Verifying Checksum 14:23:31 de9db76c5a1d: Download complete 14:23:31 0ef7d3d256c8: Verifying Checksum 14:23:31 0ef7d3d256c8: Download complete 14:23:31 0d57e429df01: Verifying Checksum 14:23:31 0d57e429df01: Download complete 14:23:31 188c0c94c7c5: Verifying Checksum 14:23:31 188c0c94c7c5: Download complete 14:23:31 4e4be7b47b0d: Verifying Checksum 14:23:31 4e4be7b47b0d: Download complete 14:23:32 e1f770b5df2f: Verifying Checksum 14:23:32 e1f770b5df2f: Download complete 14:23:32 0eba1c9be4d2: Verifying Checksum 14:23:32 0eba1c9be4d2: Download complete 14:23:32 188c0c94c7c5: Pull complete 14:23:32 85a0685a4137: Verifying Checksum 14:23:32 85a0685a4137: Download complete 14:23:32 0ef7d3d256c8: Pull complete 14:23:32 de9db76c5a1d: Pull complete 14:23:36 0eba1c9be4d2: Pull complete 14:23:36 0d57e429df01: Pull complete 14:23:36 4e4be7b47b0d: Pull complete 14:23:37 e1f770b5df2f: Pull complete 14:23:41 85a0685a4137: Pull complete 14:23:41 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 14:23:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:23:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 14:23:41 prd-centos7-docker-4c-2g-95 does not seem to be running inside a container 14:23:41 $ 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 14:23:43 $ docker top ff134f551d5ff1c68d325364aa07c57ce98e13d226743fffae3b235a3a67d945 -eo pid,comm [Pipeline] { [Pipeline] echo 14:23:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 14:23:44 + set -o pipefail 14:23:44 + snyk monitor '--org=edgex-jenkins' 14:23:49 14:23:49 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 14:23:49 14:23:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/d2da22dc-f3b3-4233-8eaf-8cb3ee38de20 14:23:49 14:23:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 14:23:49 14:23:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:23:49 14:23:49 [Pipeline] } 14:23:49 $ docker stop --time=1 ff134f551d5ff1c68d325364aa07c57ce98e13d226743fffae3b235a3a67d945 14:23:51 $ docker rm -f ff134f551d5ff1c68d325364aa07c57ce98e13d226743fffae3b235a3a67d945 [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 14:23:52 + git log --format=format:%s -1 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] sh 14:23:52 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:23:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:23:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:23:53 . [Pipeline] withDockerContainer 14:23:53 prd-centos7-docker-4c-2g-95 does not seem to be running inside a container 14:23:53 $ 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 14:23:53 $ docker top a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:23:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:23:53 [ssh-agent] Looking for ssh-agent implementation... 14:23:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:23:53 $ docker exec a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb ssh-agent 14:23:53 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBAeOld/agent.15 14:23:53 SSH_AGENT_PID=22 14:23:53 Running ssh-add (command line suppressed) 14:23:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5459102532753937825.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5459102532753937825.key) 14:23:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:23:54 + git semver tag 14:23:54 # -> Open(): unable to determine branch for HEAD 14:23:54 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 14:23:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 14:23:54 # $SEMVER_REMOTE_NAME = origin 14:23:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:23:54 # $SEMVER_USER_NAME = edgex-jenkins 14:23:54 # $SEMVER_BRANCH = main 14:23:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 14:23:54 # 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 HEAD 14:23:54 # -> Force: false 14:23:54 # aeea7cef1bd44612d9eeb2cd4c65fc9efd4e1af6 refs/tags/v2.2.0-dev.3 [Pipeline] } 14:23:54 $ docker exec --env ******** --env ******** a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb ssh-agent -k 14:23:54 unset SSH_AUTH_SOCK; 14:23:54 unset SSH_AGENT_PID; 14:23:54 echo Agent pid 22 killed; 14:23:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:23:54 + git semver [Pipeline] } 14:23:54 $ docker stop --time=1 a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb 14:23:55 $ docker rm -f a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 14:23:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:23:56 14:23:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 14:23:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:23:56 0.23.1-centos7: Pulling from edgex-lftools 14:23:56 ab5ef0e58194: Pulling fs layer 14:23:56 9712f1f96733: Pulling fs layer 14:23:56 63f879dbbcfc: Pulling fs layer 14:23:56 0d9ebad4ef96: Pulling fs layer 14:23:56 e9a5061849ea: Pulling fs layer 14:23:56 d747dcd14b5f: Pulling fs layer 14:23:56 2de7ff778b66: Pulling fs layer 14:23:56 e9a5061849ea: Waiting 14:23:56 d747dcd14b5f: Waiting 14:23:56 2de7ff778b66: Waiting 14:23:56 0d9ebad4ef96: Waiting 14:23:56 9712f1f96733: Download complete 14:23:56 63f879dbbcfc: Verifying Checksum 14:23:56 63f879dbbcfc: Download complete 14:23:57 ab5ef0e58194: Verifying Checksum 14:23:57 ab5ef0e58194: Download complete 14:23:57 d747dcd14b5f: Verifying Checksum 14:23:57 d747dcd14b5f: Download complete 14:23:57 e9a5061849ea: Verifying Checksum 14:23:57 e9a5061849ea: Download complete 14:23:57 0d9ebad4ef96: Verifying Checksum 14:23:57 0d9ebad4ef96: Download complete 14:23:57 2de7ff778b66: Verifying Checksum 14:23:57 2de7ff778b66: Download complete 14:24:00 ab5ef0e58194: Pull complete 14:24:00 9712f1f96733: Pull complete 14:24:01 63f879dbbcfc: Pull complete 14:24:05 0d9ebad4ef96: Pull complete 14:24:05 e9a5061849ea: Pull complete 14:24:05 d747dcd14b5f: Pull complete 14:24:07 2de7ff778b66: Pull complete 14:24:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:24:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:24:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 14:24:07 prd-centos7-docker-4c-2g-95 does not seem to be running inside a container 14:24:07 $ 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 14:24:11 $ docker top f0bc882910604fe8baca6fe00b8fc467dc6bc160ad4a7951f1e523f89e86111b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:24:11 provisioning config files... 14:24:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config960297046301866056tmp 14:24:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4363819244433885667tmp 14:24:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config407854854769700662tmp [Pipeline] { [Pipeline] echo 14:24:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:24:11 ---> sigul-configuration.sh 14:24:11 gpg: directory `/root/.gnupg' created 14:24:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:24:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:24:11 gpg: keyring `/root/.gnupg/secring.gpg' created 14:24:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:24:11 gpg: CAST5 encrypted data 14:24:11 gpg: encrypted with 1 passphrase 14:24:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:24:11 + mkdir /home/jenkins 14:24:11 + mkdir /home/jenkins/sigul [Pipeline] sh 14:24:12 + 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 14:24:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:24:12 ---> sigul-install.sh 14:24:12 Sigul already installed; skipping installation. [Pipeline] sh 14:24:12 + git tag --list 14:24:12 0.7.1 14:24:12 v1.0.0 14:24:12 v1.1.0 14:24:12 v1.1.1 14:24:12 v1.2.2 14:24:12 v1.3.0 14:24:12 v1.3.1 14:24:12 v2.0.0 14:24:12 v2.0.1-dev.1 14:24:12 v2.0.1-dev.10 14:24:12 v2.0.1-dev.11 14:24:12 v2.0.1-dev.12 14:24:12 v2.0.1-dev.13 14:24:12 v2.0.1-dev.14 14:24:12 v2.0.1-dev.15 14:24:12 v2.0.1-dev.16 14:24:12 v2.0.1-dev.17 14:24:12 v2.0.1-dev.2 14:24:12 v2.0.1-dev.3 14:24:12 v2.0.1-dev.4 14:24:12 v2.0.1-dev.5 14:24:12 v2.0.1-dev.6 14:24:12 v2.0.1-dev.7 14:24:12 v2.0.1-dev.8 14:24:12 v2.0.1-dev.9 14:24:12 v2.1.0 14:24:12 v2.2.0-dev.1 14:24:12 v2.2.0-dev.2 14:24:12 v2.2.0-dev.3 [Pipeline] sh 14:24:12 + lftools sign git-tag v2.2.0-dev.3 14:24:13 Signing Git tag with Sigul... 14:24:13 Signing v2.2.0-dev.3 [Pipeline] echo 14:24:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:24:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:24:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:24:14 $ docker stop --time=1 f0bc882910604fe8baca6fe00b8fc467dc6bc160ad4a7951f1e523f89e86111b 14:24:15 $ docker rm -f f0bc882910604fe8baca6fe00b8fc467dc6bc160ad4a7951f1e523f89e86111b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:24:16 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:24:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:24:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:24:16 . [Pipeline] withDockerContainer 14:24:16 prd-centos7-docker-4c-2g-95 does not seem to be running inside a container 14:24:16 $ 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 14:24:17 $ docker top c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:24:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:24:17 [ssh-agent] Looking for ssh-agent implementation... 14:24:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:24:17 $ docker exec c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c ssh-agent 14:24:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXacnGNa/agent.14 14:24:17 SSH_AGENT_PID=21 14:24:17 Running ssh-add (command line suppressed) 14:24:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4339681896105560989.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4339681896105560989.key) 14:24:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:24:17 + git semver bump pre 14:24:17 # -> Open(): unable to determine branch for HEAD 14:24:17 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 14:24:17 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 14:24:17 # $SEMVER_REMOTE_NAME = origin 14:24:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:24:17 # $SEMVER_USER_NAME = edgex-jenkins 14:24:17 # $SEMVER_BRANCH = main 14:24:17 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 14:24:17 2.2.0-dev.4 [Pipeline] } 14:24:17 $ docker exec --env ******** --env ******** c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c ssh-agent -k 14:24:18 unset SSH_AUTH_SOCK; 14:24:18 unset SSH_AGENT_PID; 14:24:18 echo Agent pid 21 killed; 14:24:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:24:18 + git semver [Pipeline] } 14:24:18 $ docker stop --time=1 c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c 14:24:19 $ docker rm -f c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c [Pipeline] // withDockerContainer [Pipeline] sh 14:24:19 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 14:24:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 14:24:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 14:24:20 . [Pipeline] withDockerContainer 14:24:20 prd-centos7-docker-4c-2g-95 does not seem to be running inside a container 14:24:20 $ 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 14:24:20 $ docker top 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:24:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:24:20 [ssh-agent] Looking for ssh-agent implementation... 14:24:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:24:20 $ docker exec 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd ssh-agent 14:24:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIHLbFh/agent.14 14:24:21 SSH_AGENT_PID=20 14:24:21 Running ssh-add (command line suppressed) 14:24:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1119127878096839514.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1119127878096839514.key) 14:24:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:24:21 + git semver push 14:24:21 # -> Open(): unable to determine branch for HEAD 14:24:21 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 14:24:21 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 14:24:21 # $SEMVER_REMOTE_NAME = origin 14:24:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 14:24:21 # $SEMVER_USER_NAME = edgex-jenkins 14:24:21 # $SEMVER_BRANCH = main 14:24:21 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 14:24:23 $ docker exec --env ******** --env ******** 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd ssh-agent -k 14:24:23 unset SSH_AUTH_SOCK; 14:24:23 unset SSH_AGENT_PID; 14:24:23 echo Agent pid 20 killed; 14:24:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:24:23 + git semver [Pipeline] } 14:24:23 $ docker stop --time=1 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd 14:24:24 $ docker rm -f 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd [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 14:24:25 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 14:24:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:24:26 ---> package-listing.sh 14:24:26 ++ facter osfamily 14:24:26 ++ tr '[:upper:]' '[:lower:]' 14:24:27 + OS_FAMILY=redhat 14:24:27 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 14:24:27 + START_PACKAGES=/tmp/packages_start.txt 14:24:27 + END_PACKAGES=/tmp/packages_end.txt 14:24:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:24:27 + PACKAGES=/tmp/packages_start.txt 14:24:27 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 14:24:27 + PACKAGES=/tmp/packages_end.txt 14:24:27 + case "${OS_FAMILY}" in 14:24:27 + rpm -qa 14:24:27 + sort 14:24:27 + '[' -f /tmp/packages_start.txt ']' 14:24:27 + '[' -f /tmp/packages_end.txt ']' 14:24:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:24:27 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 14:24:27 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 14:24:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 14:24:27 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 14:24:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 14:24:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:24:28 14:24:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 14:24:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:24:28 latest: Pulling from edgex-lftools-log-publisher 14:24:28 b4d181a07f80: Pulling fs layer 14:24:28 a1111a8f2ec3: Pulling fs layer 14:24:28 ed53099fbce6: Pulling fs layer 14:24:28 dc539afda2c1: Pulling fs layer 14:24:28 77bc0d833cb6: Pulling fs layer 14:24:28 9065ff56babe: Pulling fs layer 14:24:28 d287ab97295c: Pulling fs layer 14:24:28 77bc0d833cb6: Waiting 14:24:28 9065ff56babe: Waiting 14:24:28 d287ab97295c: Waiting 14:24:28 dc539afda2c1: Waiting 14:24:28 a1111a8f2ec3: Verifying Checksum 14:24:28 a1111a8f2ec3: Download complete 14:24:28 dc539afda2c1: Verifying Checksum 14:24:28 dc539afda2c1: Download complete 14:24:28 ed53099fbce6: Verifying Checksum 14:24:28 ed53099fbce6: Download complete 14:24:29 9065ff56babe: Verifying Checksum 14:24:29 9065ff56babe: Download complete 14:24:29 77bc0d833cb6: Verifying Checksum 14:24:29 77bc0d833cb6: Download complete 14:24:29 b4d181a07f80: Verifying Checksum 14:24:29 b4d181a07f80: Download complete 14:24:29 d287ab97295c: Verifying Checksum 14:24:29 d287ab97295c: Download complete 14:24:30 b4d181a07f80: Pull complete 14:24:30 a1111a8f2ec3: Pull complete 14:24:31 ed53099fbce6: Pull complete 14:24:31 dc539afda2c1: Pull complete 14:24:31 77bc0d833cb6: Pull complete 14:24:31 9065ff56babe: Pull complete 14:24:36 d287ab97295c: Pull complete 14:24:36 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 14:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:24:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 14:24:37 prd-centos7-docker-4c-2g-95 does not seem to be running inside a container 14:24:37 $ 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 14:24:39 $ docker top 68a0f21fca4dc65a3ce2c617eb6768443b79809678e1ad0557b93586b3d4cc4e -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:40 + touch /tmp/pre-build-complete [Pipeline] sh 14:24:40 + mkdir -p /var/log/sysstat [Pipeline] sh 14:24:40 + ls /var/log/sa-host 14:24:40 + sadf -c /var/log/sa-host/sa02 14:24:40 file_magic: OK 14:24:40 HZ: Using current value: 100 14:24:40 file_header: OK 14:24:40 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 14:24:40 Statistics: 14:24:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 14:24:40 File successfully converted to sysstat format version 12.0.3 14:24:40 + sadf -c /var/log/sa-host/sa17 14:24:40 file_magic: OK 14:24:40 HZ: Using current value: 100 14:24:40 file_header: OK 14:24:40 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 14:24:40 Statistics: 14:24:40 Hnuu...uuuununununu...Hnuu...uuuununununu... 14:24:40 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:24:40 provisioning config files... 14:24:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8033408410572119553tmp [Pipeline] { [Pipeline] echo 14:24:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:24:41 ---> create-netrc.sh [Pipeline] } 14:24:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:24:41 ---> python-tools-install.sh [Pipeline] echo 14:24:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:24:41 ---> sudo-logs.sh 14:24:41 Archiving 'sudo' log.. 14:24:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-95.novalocal: Name or service not known 14:24:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-95.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 14:24:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:24:42 ---> job-cost.sh 14:24:42 lf-activate-venv: SKIPPING 14:24:42 DEBUG: total: 0.10999999940395355 14:24:42 INFO: Retrieving Stack Cost... 14:24:42 INFO: Retrieving Pricing Info for: v3-standard-2 14:24:42 INFO: Archiving Costs [Pipeline] echo 14:24:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:24:42 ---> logs-deploy.sh 14:24:42 lf-activate-venv: SKIPPING 14:24:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/24 14:24:42 INFO: archiving workspace using pattern(s): 14:24:43 Archives upload complete. 14:24:43 INFO: archiving logs to Nexus