Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c95c2b68ca8fde09df7afb3969267a417f1b7138 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-ssh13377806916286566635.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-ssh12462800674209698977.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-ssh17254160211119643552.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-ssh7000685310210159231.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-ssh7525218317642032621.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-55 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-ssh8274260917175338896.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 c95c2b68ca8fde09df7afb3969267a417f1b7138 (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 c95c2b68ca8fde09df7afb3969267a417f1b7138 # timeout=10 Commit message: "Merge pull request #325 from MonicaisHer/remove-two-env-config-overrides" > git rev-list --no-walk 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:26:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:26:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:26:54 ========================================================= 11:26:54 EdgeX Global Pipelines Version Info 11:26:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:26:55 ------------------- 11:26:55 stable info: 11:26:55 ------------------- 11:26:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:26:55 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 11:26:55 Message: update stable to v1.0.217 11:26:55 ------------------- 11:26:55 experimental info: 11:26:55 ------------------- 11:26:55 Commited By: **** collab-it+edgex@linuxfoundation.org 11:26:55 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 11:26:55 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:26:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 11:26:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 11:26:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c95c2b6 [Pipeline] echo 11:26:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:26:56 provisioning config files... 11:26:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config895860107343506340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:26:56 ---> docker-login.sh 11:26:56 nexus3.edgexfoundry.org:10001 11:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:26:56 Configure a credential helper to remove this warning. See 11:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:26:56 11:26:56 Login Succeeded 11:26:56 nexus3.edgexfoundry.org:10002 11:26:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:26:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:26:56 Configure a credential helper to remove this warning. See 11:26:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:26:56 11:26:56 Login Succeeded 11:26:56 nexus3.edgexfoundry.org:10003 11:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:26:57 Configure a credential helper to remove this warning. See 11:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:26:57 11:26:57 Login Succeeded 11:26:57 nexus3.edgexfoundry.org:10004 11:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:26:57 Configure a credential helper to remove this warning. See 11:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:26:57 11:26:57 Login Succeeded 11:26:57 docker.io 11:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:26:57 Configure a credential helper to remove this warning. See 11:26:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:26:57 11:26:57 Login Succeeded 11:26:57 ---> docker-login.sh ends [Pipeline] } 11:26:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:26:58 + git rev-list -1 --merges c95c2b68ca8fde09df7afb3969267a417f1b7138~1..c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] echo 11:26:58 -----------> git rev-list -1 --merges c95c2b68ca8fde09df7afb3969267a417f1b7138~1..c95c2b68ca8fde09df7afb3969267a417f1b7138 c95c2b68ca8fde09df7afb3969267a417f1b7138 11:26:58 c95c2b68ca8fde09df7afb3969267a417f1b7138 [false] [Pipeline] sh 11:26:58 + git log --format=format:%s -1 c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] echo 11:26:58 ========================================================= 11:26:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:26:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:26:58 + git log --format=format:%s -1 c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] echo 11:26:58 [semverPrep] GIT_COMMIT: c95c2b68ca8fde09df7afb3969267a417f1b7138, Commit Message: Merge pull request #325 from MonicaisHer/remove-two-env-config-overrides [Pipeline] echo 11:26:58 [semverPrep] This is not a build commit. [Pipeline] sh 11:26:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:26:59 + grep -v github /etc/ssh/ssh_known_hosts 11:26:59 + '[' -e /tmp/ssh_known_hosts ']' 11:26:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:26:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 11:26:59 + sudo tee -a /etc/ssh/ssh_known_hosts 11:26:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:26:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:26:59 11:26:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:27:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:27:00 latest: Pulling from edgex-devops/git-semver 11:27:00 a0d0a0d46f8b: Pulling fs layer 11:27:00 3e5f54012d9b: Pulling fs layer 11:27:00 4c7163046ea9: Pulling fs layer 11:27:00 0c2d73faf560: Pulling fs layer 11:27:00 0c2d73faf560: Waiting 11:27:00 3e5f54012d9b: Verifying Checksum 11:27:00 3e5f54012d9b: Download complete 11:27:00 a0d0a0d46f8b: Verifying Checksum 11:27:00 a0d0a0d46f8b: Download complete 11:27:00 4c7163046ea9: Verifying Checksum 11:27:00 4c7163046ea9: Download complete 11:27:00 0c2d73faf560: Verifying Checksum 11:27:00 0c2d73faf560: Download complete 11:27:00 a0d0a0d46f8b: Pull complete 11:27:00 3e5f54012d9b: Pull complete 11:27:00 4c7163046ea9: Pull complete 11:27:00 0c2d73faf560: Pull complete 11:27:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:27:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:27:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:27:00 prd-centos7-docker-4c-2g-55 does not seem to be running inside a container 11:27:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:27:01 $ docker top f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:27:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:27:01 [ssh-agent] Looking for ssh-agent implementation... 11:27:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:27:01 $ docker exec f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec ssh-agent 11:27:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMIlGoo/agent.14 11:27:02 SSH_AGENT_PID=20 11:27:02 Running ssh-add (command line suppressed) 11:27:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2604065676806413329.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2604065676806413329.key) 11:27:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:27:02 + git tag --points-at HEAD [Pipeline] } 11:27:02 $ docker exec --env ******** --env ******** f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec ssh-agent -k 11:27:02 unset SSH_AUTH_SOCK; 11:27:02 unset SSH_AGENT_PID; 11:27:02 echo Agent pid 20 killed; 11:27:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:27:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:27:02 [ssh-agent] Looking for ssh-agent implementation... 11:27:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:27:02 $ docker exec f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec ssh-agent 11:27:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDFCdlL/agent.55 11:27:02 SSH_AGENT_PID=62 11:27:02 Running ssh-add (command line suppressed) 11:27:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6914969560069286562.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6914969560069286562.key) 11:27:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:27:03 + git semver init 11:27:03 # -> Open(): unable to determine branch for HEAD 11:27:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 11:27:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 11:27:03 # $SEMVER_REMOTE_NAME = origin 11:27:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:27:03 # $SEMVER_USER_NAME = edgex-jenkins 11:27:03 # $SEMVER_BRANCH = main 11:27:03 # $SEMVER_TEMP = /tmp/semver-006279698 11:27:03 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 11:27:04 # '/tmp/semver-006279698' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 11:27:04 # -> Force: false 11:27:04 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 11:27:04 $ docker exec --env ******** --env ******** f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec ssh-agent -k 11:27:04 unset SSH_AUTH_SOCK; 11:27:04 unset SSH_AGENT_PID; 11:27:04 echo Agent pid 62 killed; 11:27:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:27:04 + git semver [Pipeline] } 11:27:04 $ docker stop --time=1 f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec 11:27:05 $ docker rm -f f013cc705196c5b715a1aef24a4e654eb31dcc4027ce40d71801d6994f7ac4ec [Pipeline] // withDockerContainer [Pipeline] sh 11:27:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:27:06 Stashed 1 file(s) [Pipeline] echo 11:27:06 [edgeXSemver]: initialized semver on version 2.2.0-dev.1 [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 11:27:21 Still waiting to schedule task 11:27:21 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-55’ 11:27:21 Still waiting to schedule task 11:27:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 11:28:47 Running on prd-ubuntu18.04-docker-arm64-4c-16g-56 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 11:28:47 Running in /w/workspace/device-mqtt-go/22 [Pipeline] { [Pipeline] checkout 11:28:47 Selected Git installation does not exist. Using Default 11:28:47 The recommended git tool is: NONE 11:28:52 using credential edgex-jenkins-ssh 11:28:52 Cloning the remote Git repository 11:28:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:28:52 > git init /w/workspace/device-mqtt-go/22 # timeout=10 11:28:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:28:52 > git --version # timeout=10 11:28:52 > git --version # 'git version 2.17.1' 11:28:52 using GIT_SSH to set credentials SSH Credentials for GitHub 11:28:52 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:28:53 Avoid second fetch 11:28:53 Checking out Revision c95c2b68ca8fde09df7afb3969267a417f1b7138 (main) 11:28:53 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:28:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:28:53 > git config core.sparsecheckout # timeout=10 11:28:53 > git checkout -f c95c2b68ca8fde09df7afb3969267a417f1b7138 # timeout=10 11:28:57 Commit message: "Merge pull request #325 from MonicaisHer/remove-two-env-config-overrides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:28:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:28:58 % Total % Received % Xferd Average Speed Time Time Time Current 11:28:58 Dload Upload Total Spent Left Speed 11:28:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 79355 0 --:--:-- --:--:-- --:--:-- 79355 [Pipeline] sh 11:28:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:28:59 + sudo tee /etc/docker/daemon.new 11:28:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:28:59 { 11:28:59 "registry-mirrors": [ 11:28:59 "https://nexus3.edgexfoundry.org:10001" 11:28:59 ], 11:28:59 "bip": "10.250.0.254/24", 11:28:59 "hosts": [ 11:28:59 "tcp://0.0.0.0:5555", 11:28:59 "unix:///var/run/docker.sock" 11:28:59 ], 11:28:59 "mtu": 1458, 11:28:59 "selinux-enabled": true, 11:28:59 "seccomp-profile": "/etc/docker/seccomp.json" 11:28:59 } [Pipeline] sh 11:28:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:29:00 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:29:18 provisioning config files... 11:29:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/22@tmp/config6682042038957979514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:29:18 ---> docker-login.sh 11:29:18 nexus3.edgexfoundry.org:10001 11:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:19 Configure a credential helper to remove this warning. See 11:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:19 11:29:19 Login Succeeded 11:29:19 nexus3.edgexfoundry.org:10002 11:29:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:19 Configure a credential helper to remove this warning. See 11:29:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:19 11:29:19 Login Succeeded 11:29:19 nexus3.edgexfoundry.org:10003 11:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:20 Configure a credential helper to remove this warning. See 11:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:20 11:29:20 Login Succeeded 11:29:20 nexus3.edgexfoundry.org:10004 11:29:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:20 Configure a credential helper to remove this warning. See 11:29:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:20 11:29:20 Login Succeeded 11:29:20 docker.io 11:29:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:21 Configure a credential helper to remove this warning. See 11:29:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:21 11:29:21 Login Succeeded 11:29:21 ---> docker-login.sh ends [Pipeline] } 11:29:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:29:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:29:21 ========================================================= 11:29:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 11:29:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:29:22 + 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 . 11:29:22 Sending build context to Docker daemon 2.944MB 11:29:22 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:29:22 Step 2/11 : FROM ${BASE} AS builder 11:29:22 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:29:22 552d1f2373af: Pulling fs layer 11:29:22 ea3f2d53f512: Pulling fs layer 11:29:22 9e70ebbbe112: Pulling fs layer 11:29:22 7a9cfe048b4a: Pulling fs layer 11:29:22 72dc09318566: Pulling fs layer 11:29:22 f4f7b4309257: Pulling fs layer 11:29:22 0ac9a79272e3: Pulling fs layer 11:29:22 b78e95d17946: Pulling fs layer 11:29:22 72dc09318566: Waiting 11:29:22 f4f7b4309257: Waiting 11:29:22 0ac9a79272e3: Waiting 11:29:22 b78e95d17946: Waiting 11:29:22 7a9cfe048b4a: Waiting 11:29:22 9e70ebbbe112: Download complete 11:29:22 ea3f2d53f512: Verifying Checksum 11:29:22 ea3f2d53f512: Download complete 11:29:22 72dc09318566: Verifying Checksum 11:29:22 72dc09318566: Download complete 11:29:22 f4f7b4309257: Verifying Checksum 11:29:22 f4f7b4309257: Download complete 11:29:22 552d1f2373af: Download complete 11:29:22 0ac9a79272e3: Verifying Checksum 11:29:22 0ac9a79272e3: Download complete 11:29:23 552d1f2373af: Pull complete 11:29:23 ea3f2d53f512: Pull complete 11:29:24 9e70ebbbe112: Pull complete 11:29:24 b78e95d17946: Verifying Checksum 11:29:24 b78e95d17946: Download complete 11:29:25 7a9cfe048b4a: Verifying Checksum 11:29:25 7a9cfe048b4a: Download complete 11:29:26 Running on prd-centos7-docker-4c-2g-57 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 11:29:27 Running in /w/workspace/device-mqtt-go/22 [Pipeline] { [Pipeline] checkout 11:29:27 Selected Git installation does not exist. Using Default 11:29:27 The recommended git tool is: NONE 11:29:28 using credential edgex-jenkins-ssh 11:29:28 Cloning the remote Git repository 11:29:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:29:28 > git init /w/workspace/device-mqtt-go/22 # timeout=10 11:29:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:29:28 > git --version # timeout=10 11:29:28 > git --version # 'git version 2.24.4' 11:29:28 using GIT_SSH to set credentials SSH Credentials for GitHub 11:29:28 [INFO] Currently running in a labeled security context 11:29:28 [INFO] Currently SELinux is 'enforcing' on the host 11:29:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/22@tmp/jenkins-gitclient-ssh3855453482412731463.key 11:29:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:29:31 Avoid second fetch 11:29:31 Checking out Revision c95c2b68ca8fde09df7afb3969267a417f1b7138 (main) 11:29:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:29:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:29:31 > git config core.sparsecheckout # timeout=10 11:29:31 > git checkout -f c95c2b68ca8fde09df7afb3969267a417f1b7138 # timeout=10 11:29:34 Commit message: "Merge pull request #325 from MonicaisHer/remove-two-env-config-overrides" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:29:35 provisioning config files... 11:29:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/22@tmp/config2444600673257490688tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:29:35 ---> docker-login.sh 11:29:35 nexus3.edgexfoundry.org:10001 11:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:35 Configure a credential helper to remove this warning. See 11:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:35 11:29:35 Login Succeeded 11:29:35 nexus3.edgexfoundry.org:10002 11:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:36 Configure a credential helper to remove this warning. See 11:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:36 11:29:36 Login Succeeded 11:29:36 nexus3.edgexfoundry.org:10003 11:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:36 Configure a credential helper to remove this warning. See 11:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:36 11:29:36 Login Succeeded 11:29:36 nexus3.edgexfoundry.org:10004 11:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:36 Configure a credential helper to remove this warning. See 11:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:36 11:29:36 Login Succeeded 11:29:36 docker.io 11:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:29:36 Configure a credential helper to remove this warning. See 11:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:29:36 11:29:36 Login Succeeded 11:29:36 ---> docker-login.sh ends [Pipeline] } 11:29:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:29:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:29:37 ========================================================= 11:29:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 11:29:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:29:37 + 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 . 11:29:37 Sending build context to Docker daemon 2.945MB 11:29:37 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 11:29:37 Step 2/11 : FROM ${BASE} AS builder 11:29:37 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 11:29:37 a0d0a0d46f8b: Pulling fs layer 11:29:37 31adcdaf11c8: Pulling fs layer 11:29:37 b8b176561691: Pulling fs layer 11:29:37 4527c011a84f: Pulling fs layer 11:29:37 5d74067f8e1e: Pulling fs layer 11:29:37 e0aca202a116: Pulling fs layer 11:29:37 3a43be97a3b4: Pulling fs layer 11:29:37 34cad66bf833: Pulling fs layer 11:29:37 b4e3c513aaa6: Pulling fs layer 11:29:37 e0aca202a116: Waiting 11:29:37 3a43be97a3b4: Waiting 11:29:37 4527c011a84f: Waiting 11:29:37 5d74067f8e1e: Waiting 11:29:37 34cad66bf833: Waiting 11:29:37 b4e3c513aaa6: Waiting 11:29:37 b8b176561691: Verifying Checksum 11:29:37 b8b176561691: Download complete 11:29:37 31adcdaf11c8: Verifying Checksum 11:29:37 31adcdaf11c8: Download complete 11:29:37 5d74067f8e1e: Download complete 11:29:37 e0aca202a116: Verifying Checksum 11:29:37 e0aca202a116: Download complete 11:29:37 3a43be97a3b4: Verifying Checksum 11:29:37 3a43be97a3b4: Download complete 11:29:37 a0d0a0d46f8b: Verifying Checksum 11:29:37 a0d0a0d46f8b: Download complete 11:29:37 34cad66bf833: Verifying Checksum 11:29:37 34cad66bf833: Download complete 11:29:37 7a9cfe048b4a: Pull complete 11:29:37 72dc09318566: Pull complete 11:29:37 f4f7b4309257: Pull complete 11:29:37 0ac9a79272e3: Pull complete 11:29:38 b4e3c513aaa6: Verifying Checksum 11:29:38 b4e3c513aaa6: Download complete 11:29:38 a0d0a0d46f8b: Pull complete 11:29:38 4527c011a84f: Verifying Checksum 11:29:38 4527c011a84f: Download complete 11:29:38 31adcdaf11c8: Pull complete 11:29:38 b8b176561691: Pull complete 11:29:42 b78e95d17946: Pull complete 11:29:42 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 11:29:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 11:29:42 ---> 8b459fc5aaf0 11:29:42 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:29:42 4527c011a84f: Pull complete 11:29:42 5d74067f8e1e: Pull complete 11:29:42 e0aca202a116: Pull complete 11:29:42 3a43be97a3b4: Pull complete 11:29:42 34cad66bf833: Pull complete 11:29:43 ---> Running in 77b273ef30f1 11:29:43 Removing intermediate container 77b273ef30f1 11:29:43 ---> a5c8ffe9f41c 11:29:43 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 11:29:44 ---> Running in c81e78de865c 11:29:44 Removing intermediate container c81e78de865c 11:29:44 ---> 13cd18bec6a8 11:29:44 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:29:44 ---> Running in 61504887e1a6 11:29:45 b4e3c513aaa6: Pull complete 11:29:45 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 11:29:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 11:29:45 ---> 9f6097aaca64 11:29:45 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:29:46 Removing intermediate container 61504887e1a6 11:29:46 ---> ff56146429a0 11:29:46 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:29:46 ---> Running in 9d02f1bb1745 11:29:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:29:47 ---> Running in 7642aa32ceab 11:29:47 Removing intermediate container 7642aa32ceab 11:29:47 ---> 409ebceffc4a 11:29:47 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 11:29:47 ---> Running in 77060a431240 11:29:47 Removing intermediate container 77060a431240 11:29:47 ---> d2b69a3822b0 11:29:47 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:29:47 ---> Running in 44e06b1918f6 11:29:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:29:48 Removing intermediate container 44e06b1918f6 11:29:48 ---> a46b79bd130e 11:29:48 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:29:48 ---> Running in ea391936a2f5 11:29:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:29:49 (1/4) Installing openssh-keygen (8.6_p1-r3) 11:29:49 (2/4) Installing libedit (20210216.3.1-r0) 11:29:49 (3/4) Installing openssh-client-common (8.6_p1-r3) 11:29:49 (4/4) Installing openssh-client-default (8.6_p1-r3) 11:29:49 Executing busybox-1.33.1-r3.trigger 11:29:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:29:49 OK: 223 MiB in 56 packages 11:29:49 (1/4) Installing openssh-keygen (8.6_p1-r3) 11:29:49 (2/4) Installing libedit (20210216.3.1-r0) 11:29:49 (3/4) Installing openssh-client-common (8.6_p1-r3) 11:29:50 (4/4) Installing openssh-client-default (8.6_p1-r3) 11:29:50 Executing busybox-1.33.1-r3.trigger 11:29:50 OK: 224 MiB in 56 packages 11:29:50 Removing intermediate container ea391936a2f5 11:29:50 ---> 23369fb09f62 11:29:50 Step 7/11 : WORKDIR /device-mqtt-go 11:29:50 ---> Running in d6e9ae173c5d 11:29:50 Removing intermediate container 9d02f1bb1745 11:29:50 ---> 55b2eeee335d 11:29:50 Step 7/11 : WORKDIR /device-mqtt-go 11:29:50 ---> Running in 9264fae19698 11:29:50 Removing intermediate container d6e9ae173c5d 11:29:50 ---> b14c4b2d7b27 11:29:50 Step 8/11 : COPY . . 11:29:50 Removing intermediate container 9264fae19698 11:29:50 ---> 3f3edb8ad36b 11:29:50 Step 8/11 : COPY . . 11:29:51 ---> 3552c2bb90ec 11:29:51 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:29:51 ---> Running in 06953f186feb 11:29:51 ---> 224260b74464 11:29:51 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:29:51 ---> Running in 2bc6d513f42a 11:30:23 Removing intermediate container 06953f186feb 11:30:23 ---> 086bcffd4526 11:30:23 Step 10/11 : ARG MAKE='make build' 11:30:23 ---> Running in aa69f7a110c9 11:30:23 Removing intermediate container aa69f7a110c9 11:30:23 ---> 695f0d79b3b2 11:30:23 Step 11/11 : RUN $MAKE 11:30:23 ---> Running in 199b724515af 11:30:23 noop 11:30:23 Removing intermediate container 199b724515af 11:30:23 ---> 4e27a0a00491 11:30:23 Successfully built 4e27a0a00491 11:30:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:30:24 + docker inspect -f . ci-base-image-x86_64 11:30:24 . [Pipeline] withDockerContainer 11:30:24 prd-centos7-docker-4c-2g-57 does not seem to be running inside a container 11:30:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:30:24 $ docker top 9c60715293acc382dbca799ee805df8aa4cc10c4e6f9cd04228642a54a0c626e -eo pid,comm [Pipeline] { [Pipeline] sh 11:30:24 + go version 11:30:24 go version go1.16.8 linux/amd64 [Pipeline] } 11:30:24 $ docker stop --time=1 9c60715293acc382dbca799ee805df8aa4cc10c4e6f9cd04228642a54a0c626e 11:30:26 $ docker rm -f 9c60715293acc382dbca799ee805df8aa4cc10c4e6f9cd04228642a54a0c626e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:30:26 + docker inspect -f . ci-base-image-x86_64 11:30:26 . [Pipeline] withDockerContainer 11:30:26 prd-centos7-docker-4c-2g-57 does not seem to be running inside a container 11:30:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 11:30:27 $ docker top 4653db43a9b24906c47591b780f0df73a55f9f2ffcc9ab142caa94b96282fdaa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:30:27 + make test 11:30:27 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 11:30:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:30:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:30:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements 11:30:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:30:45 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:30:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:30:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:30:50 ./bin/test-attribution-txt.sh [Pipeline] echo 11:30:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:30:50 $ docker stop --time=1 4653db43a9b24906c47591b780f0df73a55f9f2ffcc9ab142caa94b96282fdaa 11:30:52 $ docker rm -f 4653db43a9b24906c47591b780f0df73a55f9f2ffcc9ab142caa94b96282fdaa [Pipeline] // withDockerContainer [Pipeline] sh 11:30:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:30:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:30:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:30:54 + ls -al . 11:30:54 total 148 11:30:54 drwxrwxr-x. 9 jenkins jenkins 4096 Dec 1 11:30 . 11:30:54 drwxrwxr-x. 4 jenkins jenkins 30 Dec 1 11:29 .. 11:30:54 -rw-rw-r--. 1 jenkins jenkins 7287 Dec 1 11:29 Attribution.txt 11:30:54 drwxrwxr-x. 2 jenkins jenkins 60 Dec 1 11:29 bin 11:30:54 -rw-rw-r--. 1 jenkins jenkins 7447 Dec 1 11:29 CHANGELOG.md 11:30:54 drwxrwxr-x. 3 jenkins jenkins 32 Dec 1 11:29 cmd 11:30:54 -rw-r--r--. 1 jenkins jenkins 17452 Dec 1 11:30 coverage.out 11:30:54 -rw-rw-r--. 1 jenkins jenkins 1907 Dec 1 11:29 Dockerfile 11:30:54 -rw-rw-r--. 1 jenkins jenkins 140 Dec 1 11:29 .dockerignore 11:30:54 drwxrwxr-x. 8 jenkins jenkins 162 Dec 1 11:29 .git 11:30:54 drwxrwxr-x. 2 jenkins jenkins 103 Dec 1 11:29 .github 11:30:54 -rw-rw-r--. 1 jenkins jenkins 329 Dec 1 11:29 .gitignore 11:30:54 -rw-rw-r--. 1 jenkins jenkins 404 Dec 1 11:29 go.mod 11:30:54 -rw-rw-r--. 1 jenkins jenkins 49385 Dec 1 11:29 go.sum 11:30:54 -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 11:29 GOVERNANCE.md 11:30:54 drwxrwxr-x. 3 jenkins jenkins 20 Dec 1 11:29 internal 11:30:54 -rw-rw-r--. 1 jenkins jenkins 677 Dec 1 11:29 Jenkinsfile 11:30:54 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 1 11:29 LICENSE 11:30:54 -rw-rw-r--. 1 jenkins jenkins 1030 Dec 1 11:29 Makefile 11:30:54 drwxrwxr-x. 2 jenkins jenkins 23 Dec 1 11:29 mock 11:30:54 -rw-rw-r--. 1 jenkins jenkins 620 Dec 1 11:29 OWNERS.md 11:30:54 -rw-rw-r--. 1 jenkins jenkins 2211 Dec 1 11:29 README.md 11:30:54 drwxrwxr-x. 4 jenkins jenkins 71 Dec 1 11:29 snap 11:30:54 -rw-rw-r--. 1 jenkins jenkins 11 Dec 1 11:27 VERSION 11:30:54 -rw-rw-r--. 1 jenkins jenkins 227 Dec 1 11:29 version.go [Pipeline] isUnix [Pipeline] sh 11:30:54 + 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=c95c2b68ca8fde09df7afb3969267a417f1b7138 --label arch=amd64 --label version=2.2.0-dev.1 . 11:30:54 Sending build context to Docker daemon 2.963MB 11:30:54 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 11:30:54 Step 2/23 : FROM ${BASE} AS builder 11:30:54 ---> 4e27a0a00491 11:30:54 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:30:54 ---> Running in 1479b757c284 11:30:54 Removing intermediate container 1479b757c284 11:30:54 ---> a42d0ed97c3b 11:30:54 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 11:30:54 ---> Running in 68c2f851812f 11:30:54 Removing intermediate container 68c2f851812f 11:30:54 ---> 649301d3877f 11:30:54 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:30:54 ---> Running in c2a2e867ff88 11:30:55 Removing intermediate container c2a2e867ff88 11:30:55 ---> 383c7ec39aaa 11:30:55 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:30:55 ---> Running in a54c416a29d4 11:30:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:30:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:30:56 OK: 224 MiB in 56 packages 11:30:57 Removing intermediate container a54c416a29d4 11:30:57 ---> f26d2cbf06b5 11:30:57 Step 7/23 : WORKDIR /device-mqtt-go 11:30:57 ---> Running in 099989b17022 11:30:57 Removing intermediate container 099989b17022 11:30:57 ---> 029e60e45ad5 11:30:57 Step 8/23 : COPY . . 11:30:57 ---> 67373e33f3b2 11:30:57 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:30:57 ---> Running in 34237f31a3d8 11:30:58 Removing intermediate container 34237f31a3d8 11:30:58 ---> b45625d98f54 11:30:58 Step 10/23 : ARG MAKE='make build' 11:30:58 ---> Running in 91a3c75ef1bc 11:30:58 Removing intermediate container 91a3c75ef1bc 11:30:58 ---> 1db883b0025e 11:30:58 Step 11/23 : RUN $MAKE 11:30:58 ---> Running in 90df7b1695f0 11:30:58 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.1" -o cmd/device-mqtt ./cmd 11:31:10 Removing intermediate container 90df7b1695f0 11:31:10 ---> 27856b424686 11:31:10 Step 12/23 : FROM alpine:3.14 11:31:10 3.14: Pulling from library/alpine 11:31:11 97518928ae5f: Pulling fs layer 11:31:11 97518928ae5f: Verifying Checksum 11:31:11 97518928ae5f: Download complete 11:31:11 97518928ae5f: Pull complete 11:31:11 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 11:31:11 Status: Downloaded newer image for alpine:3.14 11:31:11 ---> 0a97eee8041e 11:31:11 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:31:11 ---> Running in b11bf3a99e0c 11:31:11 Removing intermediate container b11bf3a99e0c 11:31:11 ---> 713cda364cb6 11:31:11 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 11:31:11 ---> Running in 12084bd84f3c 11:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:31:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:31:11 (1/6) Installing dumb-init (1.2.5-r1) 11:31:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:31:12 (3/6) Installing libsodium (1.0.18-r0) 11:31:12 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:31:12 (5/6) Installing libzmq (4.3.4-r0) 11:31:12 (6/6) Installing zeromq (4.3.4-r0) 11:31:12 Executing busybox-1.33.1-r6.trigger 11:31:12 OK: 8 MiB in 20 packages 11:31:12 Removing intermediate container 12084bd84f3c 11:31:12 ---> 61ed6fcd890a 11:31:12 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 11:31:12 ---> 34ba2bd9e621 11:31:12 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 11:31:12 ---> 51b17246c5aa 11:31:12 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:31:12 ---> 95e73abfa6d1 11:31:12 Step 18/23 : EXPOSE 59982 11:31:12 ---> Running in 1df50e4dbf9a 11:31:13 Removing intermediate container 1df50e4dbf9a 11:31:13 ---> c42fdf3c5b16 11:31:13 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 11:31:13 ---> Running in e422be9b3c08 11:31:13 Removing intermediate container e422be9b3c08 11:31:13 ---> ba8d6fee3b9a 11:31:13 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:31:13 ---> Running in 1a26c90cd3aa 11:31:13 Removing intermediate container 1a26c90cd3aa 11:31:13 ---> 07c5da484c3e 11:31:13 Step 21/23 : LABEL arch=amd64 11:31:13 ---> Running in 2257b170345b 11:31:13 Removing intermediate container 2257b170345b 11:31:13 ---> 166c56e7e378 11:31:13 Step 22/23 : LABEL git_sha=c95c2b68ca8fde09df7afb3969267a417f1b7138 11:31:13 ---> Running in 5f9715e2b086 11:31:13 Removing intermediate container 5f9715e2b086 11:31:13 ---> 4dbf92b50049 11:31:13 Step 23/23 : LABEL version=2.2.0-dev.1 11:31:13 ---> Running in b53232c4b3bc 11:31:13 Removing intermediate container 2bc6d513f42a 11:31:13 ---> 3a4ec7761f77 11:31:13 Step 10/11 : ARG MAKE='make build' 11:31:13 ---> Running in f8016edae244 11:31:13 Removing intermediate container f8016edae244 11:31:13 ---> d1f466f6a16e 11:31:13 Step 11/11 : RUN $MAKE 11:31:13 ---> Running in fd1adb9f72dd 11:31:13 noop 11:31:13 Removing intermediate container fd1adb9f72dd 11:31:13 ---> 59c73e04475f 11:31:13 Successfully built 59c73e04475f 11:31:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:31:13 Removing intermediate container b53232c4b3bc 11:31:13 ---> 8aaf1b28c5d8 11:31:13 [Warning] One or more build-args [ARCH] were not consumed 11:31:13 Successfully built 8aaf1b28c5d8 11:31:13 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:31:13 provisioning config files... 11:31:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/22@tmp/config632039497754489285tmp [Pipeline] { [Pipeline] libraryResource 11:31:13 + docker inspect -f . ci-base-image-arm64 11:31:13 . [Pipeline] sh [Pipeline] withDockerContainer 11:31:14 prd-ubuntu18.04-docker-arm64-4c-16g-56 does not seem to be running inside a container 11:31:14 ---> docker-login.sh 11:31:14 nexus3.edgexfoundry.org:10001 11:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:31:14 Configure a credential helper to remove this warning. See 11:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:31:14 11:31:14 Login Succeeded 11:31:14 nexus3.edgexfoundry.org:10002 11:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:31:14 Configure a credential helper to remove this warning. See 11:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:31:14 11:31:14 Login Succeeded 11:31:14 nexus3.edgexfoundry.org:10003 11:31:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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 11:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:31:14 Configure a credential helper to remove this warning. See 11:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:31:14 11:31:14 Login Succeeded 11:31:14 nexus3.edgexfoundry.org:10004 11:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:31:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:31:14 Configure a credential helper to remove this warning. See 11:31:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:31:14 11:31:14 Login Succeeded 11:31:14 docker.io 11:31:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:31:15 Configure a credential helper to remove this warning. See 11:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:31:15 11:31:15 Login Succeeded 11:31:15 ---> docker-login.sh ends 11:31:15 $ docker top 1114eecfaa3a9c83edd0bc54637fcb7f32f63e53d1dff9d9c161a88d9a9f8d53 -eo pid,comm [Pipeline] { [Pipeline] } 11:31:15 Deleting 1 temporary files [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:31:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:31:15 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 11:31:15 c95c2b68ca8fde09df7afb3969267a417f1b7138 11:31:15 latest 11:31:15 2.2.0-dev.1 11:31:15 c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 11:31:15 main 11:31:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:31:16 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] isUnix [Pipeline] sh 11:31:16 + go version 11:31:16 go version go1.16.8 linux/arm64 [Pipeline] } 11:31:16 $ docker stop --time=1 1114eecfaa3a9c83edd0bc54637fcb7f32f63e53d1dff9d9c161a88d9a9f8d53 11:31:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138 11:31:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:31:16 2e7335245d1f: Preparing 11:31:16 08693f9d30e4: Preparing 11:31:16 7423334ef2cd: Preparing 11:31:16 00e00a26635d: Preparing 11:31:16 1a058d5342cc: Preparing 11:31:16 1a058d5342cc: Layer already exists 11:31:16 2e7335245d1f: Pushed 11:31:16 08693f9d30e4: Pushed 11:31:16 00e00a26635d: Pushed 11:31:17 7423334ef2cd: Pushed 11:31:17 c95c2b68ca8fde09df7afb3969267a417f1b7138: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 11:31:18 $ docker rm -f 1114eecfaa3a9c83edd0bc54637fcb7f32f63e53d1dff9d9c161a88d9a9f8d53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:31:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 11:31:18 + docker inspect -f . ci-base-image-arm64 11:31:18 . [Pipeline] withDockerContainer 11:31:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 11:31:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:31:18 2e7335245d1f: Preparing 11:31:18 08693f9d30e4: Preparing 11:31:18 7423334ef2cd: Preparing 11:31:18 00e00a26635d: Preparing 11:31:18 1a058d5342cc: Preparing 11:31:18 1a058d5342cc: Layer already exists 11:31:18 2e7335245d1f: Layer already exists 11:31:18 7423334ef2cd: Layer already exists 11:31:18 08693f9d30e4: Layer already exists 11:31:18 00e00a26635d: Layer already exists 11:31:18 latest: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 11:31:18 prd-ubuntu18.04-docker-arm64-4c-16g-56 does not seem to be running inside a container 11:31:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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 11:31:20 $ docker top c817c16b5655042f39b88b42e54bd7f49dda7602543d38a67313bb2f9a5fd98f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 11:31:20 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 11:31:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.1 11:31:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:31:21 2e7335245d1f: Preparing 11:31:21 08693f9d30e4: Preparing 11:31:21 7423334ef2cd: Preparing 11:31:21 00e00a26635d: Preparing 11:31:21 1a058d5342cc: Preparing 11:31:21 00e00a26635d: Layer already exists 11:31:21 08693f9d30e4: Layer already exists 11:31:21 2e7335245d1f: Layer already exists 11:31:21 7423334ef2cd: Layer already exists 11:31:21 1a058d5342cc: Layer already exists 11:31:21 2.2.0-dev.1: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 11:31:21 + make test 11:31:21 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [Pipeline] isUnix [Pipeline] sh 11:31:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 11:31:21 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 11:31:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:31:21 2e7335245d1f: Preparing 11:31:21 08693f9d30e4: Preparing 11:31:21 7423334ef2cd: Preparing 11:31:21 00e00a26635d: Preparing 11:31:21 1a058d5342cc: Preparing 11:31:21 08693f9d30e4: Layer already exists 11:31:21 2e7335245d1f: Layer already exists 11:31:21 00e00a26635d: Layer already exists 11:31:21 1a058d5342cc: Layer already exists 11:31:21 7423334ef2cd: Layer already exists 11:31:21 c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:31:21 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 11:31:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 11:31:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:31:22 2e7335245d1f: Preparing 11:31:22 08693f9d30e4: Preparing 11:31:22 7423334ef2cd: Preparing 11:31:22 00e00a26635d: Preparing 11:31:22 1a058d5342cc: Preparing 11:31:22 1a058d5342cc: Layer already exists 11:31:22 7423334ef2cd: Layer already exists 11:31:22 08693f9d30e4: Layer already exists 11:31:22 2e7335245d1f: Layer already exists 11:31:22 00e00a26635d: Layer already exists 11:31:22 main: digest: sha256:95031aad5fba69beaf3bbd2099b5c8f3a82e4c9a0566e0874ec5adec3c526632 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:31:22 ===================================================== [Pipeline] echo 11:31:22 taggedImages: 11:31:22 - nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138 11:31:22 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 11:31:22 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.1 11:31:22 - nexus3.edgexfoundry.org:10004/device-mqtt:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 11:31:22 - 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 11:31:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:31:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:31:22 11:31:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:31:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:31:23 latest: Pulling from edgex-lftools-log-publisher 11:31:23 b4d181a07f80: Pulling fs layer 11:31:23 a1111a8f2ec3: Pulling fs layer 11:31:23 ed53099fbce6: Pulling fs layer 11:31:23 dc539afda2c1: Pulling fs layer 11:31:23 77bc0d833cb6: Pulling fs layer 11:31:23 9065ff56babe: Pulling fs layer 11:31:23 d287ab97295c: Pulling fs layer 11:31:23 dc539afda2c1: Waiting 11:31:23 77bc0d833cb6: Waiting 11:31:23 9065ff56babe: Waiting 11:31:23 d287ab97295c: Waiting 11:31:23 a1111a8f2ec3: Verifying Checksum 11:31:23 a1111a8f2ec3: Download complete 11:31:23 dc539afda2c1: Verifying Checksum 11:31:23 dc539afda2c1: Download complete 11:31:23 ed53099fbce6: Verifying Checksum 11:31:23 ed53099fbce6: Download complete 11:31:23 9065ff56babe: Verifying Checksum 11:31:23 9065ff56babe: Download complete 11:31:23 77bc0d833cb6: Verifying Checksum 11:31:23 77bc0d833cb6: Download complete 11:31:23 b4d181a07f80: Verifying Checksum 11:31:23 b4d181a07f80: Download complete 11:31:23 d287ab97295c: Verifying Checksum 11:31:23 d287ab97295c: Download complete 11:31:24 b4d181a07f80: Pull complete 11:31:24 a1111a8f2ec3: Pull complete 11:31:25 ed53099fbce6: Pull complete 11:31:25 dc539afda2c1: Pull complete 11:31:25 77bc0d833cb6: Pull complete 11:31:25 9065ff56babe: Pull complete 11:31:31 d287ab97295c: Pull complete 11:31:31 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:31:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:31:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:31:31 prd-centos7-docker-4c-2g-57 does not seem to be running inside a container 11:31:31 $ 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/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:31:33 $ docker top b23cb24b562f083e627601edb415987a834755a40785c8e25bb49651398a4912 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:31:34 ---> job-cost.sh 11:31:34 lf-activate-venv: SKIPPING 11:31:34 INFO: No Stack... 11:31:34 INFO: Retrieving Pricing Info for: v3-standard-2 11:31:34 INFO: Archiving Costs [Pipeline] sh 11:31:34 + cut -d, -f6 11:31:34 + cat /w/workspace/device-mqtt-go/22/archives/cost.csv [Pipeline] lock 11:31:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] 11:31:34 Resource [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] did not exist. Created. 11:31:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:31:35 + echo total: 0.05999999865889549 [Pipeline] stash 11:31:35 Stashed 1 file(s) [Pipeline] } 11:31:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 11:31:35 $ docker stop --time=1 b23cb24b562f083e627601edb415987a834755a40785c8e25bb49651398a4912 11:31:36 $ docker rm -f b23cb24b562f083e627601edb415987a834755a40785c8e25bb49651398a4912 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 11:32:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:32:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.5% of statements 11:32:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:32:19 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:32:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:32:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:32:45 ./bin/test-attribution-txt.sh [Pipeline] echo 11:32:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:32:45 $ docker stop --time=1 c817c16b5655042f39b88b42e54bd7f49dda7602543d38a67313bb2f9a5fd98f 11:32:47 $ docker rm -f c817c16b5655042f39b88b42e54bd7f49dda7602543d38a67313bb2f9a5fd98f [Pipeline] // withDockerContainer [Pipeline] sh 11:32:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:32:48 Warning: overwriting stash ‘coverage-report’ 11:32:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:32:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:32:49 + ls -al . 11:32:49 total 180 11:32:49 drwxrwxr-x 9 jenkins jenkins 4096 Dec 1 11:32 . 11:32:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 11:28 .. 11:32:49 -rw-rw-r-- 1 jenkins jenkins 140 Dec 1 11:28 .dockerignore 11:32:49 drwxrwxr-x 8 jenkins jenkins 4096 Dec 1 11:28 .git 11:32:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 11:28 .github 11:32:49 -rw-rw-r-- 1 jenkins jenkins 329 Dec 1 11:28 .gitignore 11:32:49 -rw-rw-r-- 1 jenkins jenkins 7287 Dec 1 11:28 Attribution.txt 11:32:49 -rw-rw-r-- 1 jenkins jenkins 7447 Dec 1 11:28 CHANGELOG.md 11:32:49 -rw-rw-r-- 1 jenkins jenkins 1907 Dec 1 11:28 Dockerfile 11:32:49 -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 11:28 GOVERNANCE.md 11:32:49 -rw-rw-r-- 1 jenkins jenkins 677 Dec 1 11:28 Jenkinsfile 11:32:49 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 1 11:28 LICENSE 11:32:49 -rw-rw-r-- 1 jenkins jenkins 1030 Dec 1 11:28 Makefile 11:32:49 -rw-rw-r-- 1 jenkins jenkins 620 Dec 1 11:28 OWNERS.md 11:32:49 -rw-rw-r-- 1 jenkins jenkins 2211 Dec 1 11:28 README.md 11:32:49 -rw-rw-r-- 1 jenkins jenkins 11 Dec 1 11:27 VERSION 11:32:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 11:28 bin 11:32:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 11:28 cmd 11:32:49 -rw-r--r-- 1 jenkins jenkins 17452 Dec 1 11:32 coverage.out 11:32:49 -rw-rw-r-- 1 jenkins jenkins 404 Dec 1 11:28 go.mod 11:32:49 -rw-rw-r-- 1 jenkins jenkins 49385 Dec 1 11:28 go.sum 11:32:49 drwxrwxr-x 3 jenkins jenkins 4096 Dec 1 11:28 internal 11:32:49 drwxrwxr-x 2 jenkins jenkins 4096 Dec 1 11:28 mock 11:32:49 drwxrwxr-x 4 jenkins jenkins 4096 Dec 1 11:28 snap 11:32:49 -rw-rw-r-- 1 jenkins jenkins 227 Dec 1 11:28 version.go [Pipeline] isUnix [Pipeline] sh 11:32:49 + 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=c95c2b68ca8fde09df7afb3969267a417f1b7138 --label arch=arm64 --label version=2.2.0-dev.1 . 11:32:50 Sending build context to Docker daemon 2.962MB 11:32:50 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 11:32:50 Step 2/23 : FROM ${BASE} AS builder 11:32:50 ---> 59c73e04475f 11:32:50 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:32:50 ---> Running in da17163c8ae0 11:32:50 Removing intermediate container da17163c8ae0 11:32:50 ---> 3739008c92fe 11:32:50 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 11:32:50 ---> Running in 7cec7efd372a 11:32:51 Removing intermediate container 7cec7efd372a 11:32:51 ---> 97731d58e38b 11:32:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:32:51 ---> Running in 807c4fa950c0 11:32:52 Removing intermediate container 807c4fa950c0 11:32:52 ---> 15f080eae7b0 11:32:52 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:32:53 ---> Running in e12f92bc0008 11:32:54 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:32:55 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:32:55 OK: 223 MiB in 56 packages 11:32:56 Removing intermediate container e12f92bc0008 11:32:56 ---> 3397c03e5688 11:32:56 Step 7/23 : WORKDIR /device-mqtt-go 11:32:56 ---> Running in 31c81adca03d 11:32:57 Removing intermediate container 31c81adca03d 11:32:57 ---> 95232bb14ff0 11:32:57 Step 8/23 : COPY . . 11:32:58 ---> 99a74b88379f 11:32:58 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:32:58 ---> Running in c092dcb0e491 11:33:00 Removing intermediate container c092dcb0e491 11:33:00 ---> 99570601d042 11:33:00 Step 10/23 : ARG MAKE='make build' 11:33:00 ---> Running in 97225533066f 11:33:00 Removing intermediate container 97225533066f 11:33:00 ---> 56ed991fa926 11:33:00 Step 11/23 : RUN $MAKE 11:33:01 ---> Running in 736eab787f79 11:33:02 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.1" -o cmd/device-mqtt ./cmd 11:33:41 Removing intermediate container 736eab787f79 11:33:41 ---> e616c02d7cd0 11:33:41 Step 12/23 : FROM alpine:3.14 11:33:41 3.14: Pulling from library/alpine 11:33:41 be307f383ecc: Pulling fs layer 11:33:41 be307f383ecc: Download complete 11:33:41 be307f383ecc: Pull complete 11:33:41 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 11:33:41 Status: Downloaded newer image for alpine:3.14 11:33:41 ---> 5b8b7b635229 11:33:41 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:33:41 ---> Running in 9099b2310902 11:33:41 Removing intermediate container 9099b2310902 11:33:41 ---> 383fe2e67b3e 11:33:41 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 11:33:41 ---> Running in f1617055efc0 11:33:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:33:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:33:41 (1/6) Installing dumb-init (1.2.5-r1) 11:33:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:33:41 (3/6) Installing libsodium (1.0.18-r0) 11:33:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:33:41 (5/6) Installing libzmq (4.3.4-r0) 11:33:41 (6/6) Installing zeromq (4.3.4-r0) 11:33:41 Executing busybox-1.33.1-r6.trigger 11:33:41 OK: 8 MiB in 20 packages 11:33:42 Removing intermediate container f1617055efc0 11:33:42 ---> d4611a379e78 11:33:42 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 11:33:43 ---> 9578e5b39002 11:33:43 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 11:33:43 ---> 78d1114267ac 11:33:43 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:33:44 ---> 6b5dcbb7a472 11:33:44 Step 18/23 : EXPOSE 59982 11:33:44 ---> Running in 0df0b184fdfe 11:33:44 Removing intermediate container 0df0b184fdfe 11:33:44 ---> 6045c1c154cc 11:33:44 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 11:33:44 ---> Running in f0eced3c43ca 11:33:45 Removing intermediate container f0eced3c43ca 11:33:45 ---> 8bb8a140cafa 11:33:45 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:33:45 ---> Running in f46ea42d1ef2 11:33:45 Removing intermediate container f46ea42d1ef2 11:33:45 ---> d3e8b07e0c83 11:33:45 Step 21/23 : LABEL arch=arm64 11:33:45 ---> Running in 03fdb9ae0173 11:33:45 Removing intermediate container 03fdb9ae0173 11:33:45 ---> 866ca9951689 11:33:45 Step 22/23 : LABEL git_sha=c95c2b68ca8fde09df7afb3969267a417f1b7138 11:33:46 ---> Running in e165858a9f54 11:33:46 Removing intermediate container e165858a9f54 11:33:46 ---> c9ad69a19858 11:33:46 Step 23/23 : LABEL version=2.2.0-dev.1 11:33:46 ---> Running in 8ab539f1a6bc 11:33:46 Removing intermediate container 8ab539f1a6bc 11:33:46 ---> e5c3a76f4776 11:33:46 [Warning] One or more build-args [ARCH] were not consumed 11:33:46 Successfully built e5c3a76f4776 11:33:46 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 11:33:47 provisioning config files... 11:33:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/22@tmp/config6135753771085714773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:33:47 ---> docker-login.sh 11:33:47 nexus3.edgexfoundry.org:10001 11:33:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:47 Configure a credential helper to remove this warning. See 11:33:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:47 11:33:47 Login Succeeded 11:33:47 nexus3.edgexfoundry.org:10002 11:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:48 Configure a credential helper to remove this warning. See 11:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:48 11:33:48 Login Succeeded 11:33:48 nexus3.edgexfoundry.org:10003 11:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:48 Configure a credential helper to remove this warning. See 11:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:48 11:33:48 Login Succeeded 11:33:48 nexus3.edgexfoundry.org:10004 11:33:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:49 Configure a credential helper to remove this warning. See 11:33:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:49 11:33:49 Login Succeeded 11:33:49 docker.io 11:33:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:33:50 Configure a credential helper to remove this warning. See 11:33:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:33:50 11:33:50 Login Succeeded 11:33:50 ---> docker-login.sh ends [Pipeline] } 11:33:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:33:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:33:50 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 11:33:50 c95c2b68ca8fde09df7afb3969267a417f1b7138 11:33:50 latest 11:33:50 2.2.0-dev.1 11:33:50 c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 11:33:50 main 11:33:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:33:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] isUnix [Pipeline] sh 11:33:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138 11:33:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:33:50 93a9aee4172c: Preparing 11:33:50 4d1041019a6f: Preparing 11:33:50 e4b83f1f23e3: Preparing 11:33:50 b4b6fa143719: Preparing 11:33:50 62170e181a92: Preparing 11:33:50 62170e181a92: Layer already exists 11:33:51 93a9aee4172c: Pushed 11:33:51 4d1041019a6f: Pushed 11:33:51 b4b6fa143719: Pushed 11:33:54 e4b83f1f23e3: Pushed 11:33:54 c95c2b68ca8fde09df7afb3969267a417f1b7138: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] isUnix [Pipeline] sh 11:33:54 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:33:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:33:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:33:54 93a9aee4172c: Preparing 11:33:54 4d1041019a6f: Preparing 11:33:54 e4b83f1f23e3: Preparing 11:33:54 b4b6fa143719: Preparing 11:33:54 62170e181a92: Preparing 11:33:54 4d1041019a6f: Layer already exists 11:33:54 93a9aee4172c: Layer already exists 11:33:54 e4b83f1f23e3: Layer already exists 11:33:54 62170e181a92: Layer already exists 11:33:54 b4b6fa143719: Layer already exists 11:33:54 latest: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] isUnix [Pipeline] sh 11:33:55 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 11:33:55 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.1 11:33:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:33:55 93a9aee4172c: Preparing 11:33:55 4d1041019a6f: Preparing 11:33:55 e4b83f1f23e3: Preparing 11:33:55 b4b6fa143719: Preparing 11:33:55 62170e181a92: Preparing 11:33:55 4d1041019a6f: Layer already exists 11:33:55 62170e181a92: Layer already exists 11:33:55 b4b6fa143719: Layer already exists 11:33:55 93a9aee4172c: Layer already exists 11:33:55 e4b83f1f23e3: Layer already exists 11:33:55 2.2.0-dev.1: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] isUnix [Pipeline] sh 11:33:56 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 [Pipeline] isUnix [Pipeline] sh 11:33:56 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 11:33:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:33:56 93a9aee4172c: Preparing 11:33:56 4d1041019a6f: Preparing 11:33:56 e4b83f1f23e3: Preparing 11:33:56 b4b6fa143719: Preparing 11:33:56 62170e181a92: Preparing 11:33:56 93a9aee4172c: Layer already exists 11:33:56 4d1041019a6f: Layer already exists 11:33:56 e4b83f1f23e3: Layer already exists 11:33:56 62170e181a92: Layer already exists 11:33:56 b4b6fa143719: Layer already exists 11:33:57 c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] isUnix [Pipeline] sh 11:33:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 11:33:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 11:33:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:33:57 93a9aee4172c: Preparing 11:33:57 4d1041019a6f: Preparing 11:33:57 e4b83f1f23e3: Preparing 11:33:57 b4b6fa143719: Preparing 11:33:57 62170e181a92: Preparing 11:33:57 b4b6fa143719: Layer already exists 11:33:57 4d1041019a6f: Layer already exists 11:33:57 e4b83f1f23e3: Layer already exists 11:33:57 93a9aee4172c: Layer already exists 11:33:57 62170e181a92: Layer already exists 11:33:58 main: digest: sha256:db354106401184137087837d9ff634a3d43fc5f3327da1b6a16da64712c0f09a size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:33:58 ===================================================== [Pipeline] echo 11:33:58 taggedImages: 11:33:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138 11:33:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:33:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.1 11:33:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c95c2b68ca8fde09df7afb3969267a417f1b7138-2.2.0-dev.1 11:33:58 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:33:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:33:58 11:33:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:33:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:33:59 arm64: Pulling from edgex-lftools-log-publisher 11:33:59 448f6bf000e3: Pulling fs layer 11:33:59 f757da607395: Pulling fs layer 11:33:59 05883995daec: Pulling fs layer 11:33:59 8603b9c90790: Pulling fs layer 11:33:59 1560dd03e051: Pulling fs layer 11:33:59 27f5ce0e4adf: Pulling fs layer 11:33:59 c2d8d7efcc4b: Pulling fs layer 11:33:59 8603b9c90790: Waiting 11:33:59 1560dd03e051: Waiting 11:33:59 27f5ce0e4adf: Waiting 11:33:59 c2d8d7efcc4b: Waiting 11:33:59 f757da607395: Verifying Checksum 11:33:59 f757da607395: Download complete 11:33:59 8603b9c90790: Verifying Checksum 11:33:59 8603b9c90790: Download complete 11:33:59 1560dd03e051: Verifying Checksum 11:33:59 1560dd03e051: Download complete 11:33:59 27f5ce0e4adf: Verifying Checksum 11:33:59 27f5ce0e4adf: Download complete 11:33:59 05883995daec: Verifying Checksum 11:33:59 05883995daec: Download complete 11:33:59 448f6bf000e3: Download complete 11:34:02 c2d8d7efcc4b: Verifying Checksum 11:34:02 c2d8d7efcc4b: Download complete 11:34:03 448f6bf000e3: Pull complete 11:34:03 f757da607395: Pull complete 11:34:05 05883995daec: Pull complete 11:34:05 8603b9c90790: Pull complete 11:34:06 1560dd03e051: Pull complete 11:34:06 27f5ce0e4adf: Pull complete 11:34:22 c2d8d7efcc4b: Pull complete 11:34:22 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 11:34:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:34:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:34:22 prd-ubuntu18.04-docker-arm64-4c-16g-56 does not seem to be running inside a container 11:34:22 $ 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/22 -v /w/workspace/device-mqtt-go/22:/w/workspace/device-mqtt-go/22:rw,z -v /w/workspace/device-mqtt-go/22@tmp:/w/workspace/device-mqtt-go/22@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 11:34:25 $ docker top d4fabb430031e07850caa7eeb21e2306a98208b55a89942cbffd464145a6ddff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:34:25 ---> job-cost.sh 11:34:25 lf-activate-venv: SKIPPING 11:34:25 INFO: No Stack... 11:34:26 INFO: Retrieving Pricing Info for: v3-standard-4 11:34:26 INFO: Archiving Costs [Pipeline] sh 11:34:27 + cat /w/workspace/device-mqtt-go/22/archives/cost.csv 11:34:27 + cut -d, -f6 [Pipeline] lock 11:34:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] 11:34:27 Resource [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] did not exist. Created. 11:34:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:34:27 /w/workspace/device-mqtt-go/22@tmp/durable-fc22a727/script.sh: 1: /w/workspace/device-mqtt-go/22@tmp/durable-fc22a727/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 11:34:28 + echo total: 0.10999999940395355 [Pipeline] stash 11:34:28 Warning: overwriting stash ‘stack-cost’ 11:34:28 Stashed 1 file(s) [Pipeline] } 11:34:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } 11:34:28 $ docker stop --time=1 d4fabb430031e07850caa7eeb21e2306a98208b55a89942cbffd464145a6ddff 11:34:30 $ docker rm -f d4fabb430031e07850caa7eeb21e2306a98208b55a89942cbffd464145a6ddff [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 11:34:30 provisioning config files... 11:34:30 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config496826949245160387tmp [Pipeline] { [Pipeline] sh 11:34:31 + set +x 11:34:31 + curl -s https://codecov.io/bash 11:34:31 + bash -s -- 11:34:31 11:34:31 _____ _ 11:34:31 / ____| | | 11:34:31 | | ___ __| | ___ ___ _____ __ 11:34:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:34:31 | |___| (_) | (_| | __/ (_| (_) \ V / 11:34:31 \_____\___/ \__,_|\___|\___\___/ \_/ 11:34:31 Bash-1.0.6 11:34:31 11:34:31 11:34:31 ==> git version 2.24.4 found 11:34:31 ==> 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 11:34:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 11:34:31 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 11:34:31 ==> Jenkins CI detected. 11:34:31 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 11:34:31 project root: . 11:34:31 --> token set from env 11:34:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:34:31 ==> Running gcov in . (disable via -X gcov) 11:34:31 ==> Python coveragepy not found 11:34:31 ==> Searching for coverage reports in: 11:34:31 + . 11:34:31 -> Found 1 reports 11:34:31 ==> Detecting git/mercurial file structure 11:34:31 ==> Reading reports 11:34:31 + ./coverage.out bytes=17452 11:34:31 ==> Appending adjustments 11:34:31 https://docs.codecov.io/docs/fixing-reports 11:34:31 + Found adjustments 11:34:31 ==> Gzipping contents 11:34:31 4.0K /tmp/codecov.V6Gn9V.gz 11:34:31 ==> Uploading reports 11:34:31 url: https://codecov.io 11:34:31 query: branch=main&commit=c95c2b68ca8fde09df7afb3969267a417f1b7138&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:34:31 -> Pinging Codecov 11:34:31 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=c95c2b68ca8fde09df7afb3969267a417f1b7138&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:34:31 -> Uploading to 11:34:31 https://storage.googleapis.com/codecov/v4/raw/2021-12-01/7D719EC7BBE17E464838252E33014C33/c95c2b68ca8fde09df7afb3969267a417f1b7138/906ce861-52d3-4bbb-bb31-38505aa66be2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211201T113431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8692964283414bd7b164e9199056762afff8dabf39e439e701ba90afcbe49818 11:34:31 % Total % Received % Xferd Average Speed Time Time Time Current 11:34:31 Dload Upload Total Spent Left Speed 11:34:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3218 0 0 100 3218 0 11562 --:--:-- --:--:-- --:--:-- 11575 11:34:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] } 11:34:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:34:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:34:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:34:32 11:34:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:34:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:34:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:34:32 188c0c94c7c5: Pulling fs layer 11:34:32 0ef7d3d256c8: Pulling fs layer 11:34:32 de9db76c5a1d: Pulling fs layer 11:34:32 0eba1c9be4d2: Pulling fs layer 11:34:32 0d57e429df01: Pulling fs layer 11:34:32 4e4be7b47b0d: Pulling fs layer 11:34:32 e1f770b5df2f: Pulling fs layer 11:34:32 85a0685a4137: Pulling fs layer 11:34:32 0eba1c9be4d2: Waiting 11:34:32 0d57e429df01: Waiting 11:34:32 4e4be7b47b0d: Waiting 11:34:32 e1f770b5df2f: Waiting 11:34:32 85a0685a4137: Waiting 11:34:32 de9db76c5a1d: Verifying Checksum 11:34:32 de9db76c5a1d: Download complete 11:34:32 0ef7d3d256c8: Download complete 11:34:32 0d57e429df01: Verifying Checksum 11:34:32 0d57e429df01: Download complete 11:34:32 4e4be7b47b0d: Verifying Checksum 11:34:32 4e4be7b47b0d: Download complete 11:34:32 188c0c94c7c5: Verifying Checksum 11:34:32 188c0c94c7c5: Download complete 11:34:33 e1f770b5df2f: Verifying Checksum 11:34:33 e1f770b5df2f: Download complete 11:34:33 0eba1c9be4d2: Verifying Checksum 11:34:33 0eba1c9be4d2: Download complete 11:34:33 188c0c94c7c5: Pull complete 11:34:33 0ef7d3d256c8: Pull complete 11:34:33 85a0685a4137: Verifying Checksum 11:34:33 85a0685a4137: Download complete 11:34:33 de9db76c5a1d: Pull complete 11:34:38 0eba1c9be4d2: Pull complete 11:34:38 0d57e429df01: Pull complete 11:34:38 4e4be7b47b0d: Pull complete 11:34:38 e1f770b5df2f: Pull complete 11:34:42 85a0685a4137: Pull complete 11:34:42 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:34:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:34:42 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:34:42 prd-centos7-docker-4c-2g-55 does not seem to be running inside a container 11:34:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:34:44 $ docker top 991e779b167ef40c6fd0ae9acc9313d3528109357e03a4977faf9cbf5fbb6ad2 -eo pid,comm [Pipeline] { [Pipeline] echo 11:34:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:34:44 + set -o pipefail 11:34:44 + snyk monitor '--org=edgex-jenkins' 11:34:50 11:34:50 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 11:34:50 11:34:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/9a3dcc61-bdd2-4d71-9227-930455c67b2c 11:34:50 11:34:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:34:50 11:34:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:34:50 11:34:50 [Pipeline] } 11:34:50 $ docker stop --time=1 991e779b167ef40c6fd0ae9acc9313d3528109357e03a4977faf9cbf5fbb6ad2 11:34:52 $ docker rm -f 991e779b167ef40c6fd0ae9acc9313d3528109357e03a4977faf9cbf5fbb6ad2 [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 11:34:52 + git log --format=format:%s -1 c95c2b68ca8fde09df7afb3969267a417f1b7138 [Pipeline] sh 11:34:53 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:34:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:34:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:34:53 . [Pipeline] withDockerContainer 11:34:53 prd-centos7-docker-4c-2g-55 does not seem to be running inside a container 11:34: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:34:53 $ docker top e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:34:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:34:54 [ssh-agent] Looking for ssh-agent implementation... 11:34:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:34:54 $ docker exec e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 ssh-agent 11:34:54 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmcpHBL/agent.14 11:34:54 SSH_AGENT_PID=20 11:34:54 Running ssh-add (command line suppressed) 11:34:54 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8047873305050084833.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8047873305050084833.key) 11:34:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:34:54 + git semver tag 11:34:54 # -> Open(): unable to determine branch for HEAD 11:34:54 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 11:34:54 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 11:34:54 # $SEMVER_REMOTE_NAME = origin 11:34:54 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:34:54 # $SEMVER_USER_NAME = edgex-jenkins 11:34:54 # $SEMVER_BRANCH = main 11:34:54 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 11:34:54 # c95c2b68ca8fde09df7afb3969267a417f1b7138 HEAD 11:34:54 # -> Force: false 11:34:54 # bc2acd3d545e8ac7b8b3119d8dc2560d007c9bbd refs/tags/v2.2.0-dev.1 [Pipeline] } 11:34:54 $ docker exec --env ******** --env ******** e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 ssh-agent -k 11:34:54 unset SSH_AUTH_SOCK; 11:34:54 unset SSH_AGENT_PID; 11:34:54 echo Agent pid 20 killed; 11:34:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:34:55 + git semver [Pipeline] } 11:34:55 $ docker stop --time=1 e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 11:34:56 $ docker rm -f e539f36153943725a8c8ea1c39aed5165c557ef357d64ad0273d73be2f9649f2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:34:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:34:56 11:34:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:34:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:34:57 0.23.1-centos7: Pulling from edgex-lftools 11:34:57 ab5ef0e58194: Pulling fs layer 11:34:57 9712f1f96733: Pulling fs layer 11:34:57 63f879dbbcfc: Pulling fs layer 11:34:57 0d9ebad4ef96: Pulling fs layer 11:34:57 e9a5061849ea: Pulling fs layer 11:34:57 d747dcd14b5f: Pulling fs layer 11:34:57 2de7ff778b66: Pulling fs layer 11:34:57 e9a5061849ea: Waiting 11:34:57 d747dcd14b5f: Waiting 11:34:57 2de7ff778b66: Waiting 11:34:57 0d9ebad4ef96: Waiting 11:34:57 9712f1f96733: Verifying Checksum 11:34:57 9712f1f96733: Download complete 11:34:57 63f879dbbcfc: Verifying Checksum 11:34:57 63f879dbbcfc: Download complete 11:34:57 ab5ef0e58194: Verifying Checksum 11:34:57 ab5ef0e58194: Download complete 11:34:57 e9a5061849ea: Verifying Checksum 11:34:57 e9a5061849ea: Download complete 11:34:57 0d9ebad4ef96: Verifying Checksum 11:34:57 0d9ebad4ef96: Download complete 11:34:57 d747dcd14b5f: Verifying Checksum 11:34:57 d747dcd14b5f: Download complete 11:34:57 2de7ff778b66: Verifying Checksum 11:34:57 2de7ff778b66: Download complete 11:35:00 ab5ef0e58194: Pull complete 11:35:00 9712f1f96733: Pull complete 11:35:01 63f879dbbcfc: Pull complete 11:35:05 0d9ebad4ef96: Pull complete 11:35:05 e9a5061849ea: Pull complete 11:35:05 d747dcd14b5f: Pull complete 11:35:07 2de7ff778b66: Pull complete 11:35:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:35:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:35:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:35:07 prd-centos7-docker-4c-2g-55 does not seem to be running inside a container 11:35: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:35:10 $ docker top e726640bbc3ef230a5a7baef2337c7614f85bc328595c8ab4cdb8690d93794c8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:35:10 provisioning config files... 11:35:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3775808797289013533tmp 11:35:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1512208810532133594tmp 11:35:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2824637617207886646tmp [Pipeline] { [Pipeline] echo 11:35:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:35:10 ---> sigul-configuration.sh 11:35:10 gpg: directory `/root/.gnupg' created 11:35:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:35:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:35:10 gpg: keyring `/root/.gnupg/secring.gpg' created 11:35:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:35:10 gpg: CAST5 encrypted data 11:35:10 gpg: encrypted with 1 passphrase 11:35:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:35:11 + mkdir /home/jenkins 11:35:11 + mkdir /home/jenkins/sigul [Pipeline] sh 11:35:11 + 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 11:35:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:35:11 ---> sigul-install.sh 11:35:11 Sigul already installed; skipping installation. [Pipeline] sh 11:35:12 + git tag --list 11:35:12 0.7.1 11:35:12 v1.0.0 11:35:12 v1.1.0 11:35:12 v1.1.1 11:35:12 v1.2.2 11:35:12 v1.3.0 11:35:12 v1.3.1 11:35:12 v2.0.0 11:35:12 v2.0.1-dev.1 11:35:12 v2.0.1-dev.10 11:35:12 v2.0.1-dev.11 11:35:12 v2.0.1-dev.12 11:35:12 v2.0.1-dev.13 11:35:12 v2.0.1-dev.14 11:35:12 v2.0.1-dev.15 11:35:12 v2.0.1-dev.16 11:35:12 v2.0.1-dev.17 11:35:12 v2.0.1-dev.2 11:35:12 v2.0.1-dev.3 11:35:12 v2.0.1-dev.4 11:35:12 v2.0.1-dev.5 11:35:12 v2.0.1-dev.6 11:35:12 v2.0.1-dev.7 11:35:12 v2.0.1-dev.8 11:35:12 v2.0.1-dev.9 11:35:12 v2.1.0 11:35:12 v2.2.0-dev.1 [Pipeline] sh 11:35:12 + lftools sign git-tag v2.2.0-dev.1 11:35:12 Signing Git tag with Sigul... 11:35:12 Signing v2.2.0-dev.1 [Pipeline] echo 11:35:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:35:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:35:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:35:14 $ docker stop --time=1 e726640bbc3ef230a5a7baef2337c7614f85bc328595c8ab4cdb8690d93794c8 11:35:15 $ docker rm -f e726640bbc3ef230a5a7baef2337c7614f85bc328595c8ab4cdb8690d93794c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:35:16 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:35:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:35:16 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:35:16 . [Pipeline] withDockerContainer 11:35:16 prd-centos7-docker-4c-2g-55 does not seem to be running inside a container 11:35: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:35:17 $ docker top 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:35:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:35:17 [ssh-agent] Looking for ssh-agent implementation... 11:35:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:35:17 $ docker exec 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec ssh-agent 11:35:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmMBdef/agent.15 11:35:17 SSH_AGENT_PID=21 11:35:17 Running ssh-add (command line suppressed) 11:35:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8931621030360509610.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8931621030360509610.key) 11:35:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:35:18 + git semver bump pre 11:35:18 # -> Open(): unable to determine branch for HEAD 11:35:18 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 11:35:18 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 11:35:18 # $SEMVER_REMOTE_NAME = origin 11:35:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:35:18 # $SEMVER_USER_NAME = edgex-jenkins 11:35:18 # $SEMVER_BRANCH = main 11:35:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 11:35:18 2.2.0-dev.2 [Pipeline] } 11:35:18 $ docker exec --env ******** --env ******** 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec ssh-agent -k 11:35:18 unset SSH_AUTH_SOCK; 11:35:18 unset SSH_AGENT_PID; 11:35:18 echo Agent pid 21 killed; 11:35:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:35:18 + git semver [Pipeline] } 11:35:18 $ docker stop --time=1 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec 11:35:19 $ docker rm -f 59c3c7c73864b88bd9f365312b0580f393f9e808c4ad1483b992fa21bd7852ec [Pipeline] // withDockerContainer [Pipeline] sh 11:35:20 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 11:35:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:35:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:35:20 . [Pipeline] withDockerContainer 11:35:20 prd-centos7-docker-4c-2g-55 does not seem to be running inside a container 11:35: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:35:20 $ docker top 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:35:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:35:21 [ssh-agent] Looking for ssh-agent implementation... 11:35:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:35:21 $ docker exec 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e ssh-agent 11:35:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMApIGE/agent.13 11:35:21 SSH_AGENT_PID=21 11:35:21 Running ssh-add (command line suppressed) 11:35:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2626336948201435515.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2626336948201435515.key) 11:35:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:35:21 + git semver push 11:35:21 # -> Open(): unable to determine branch for HEAD 11:35:21 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 11:35:21 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 11:35:21 # $SEMVER_REMOTE_NAME = origin 11:35:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:35:21 # $SEMVER_USER_NAME = edgex-jenkins 11:35:21 # $SEMVER_BRANCH = main 11:35:21 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 11:35:23 $ docker exec --env ******** --env ******** 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e ssh-agent -k 11:35:23 unset SSH_AUTH_SOCK; 11:35:23 unset SSH_AGENT_PID; 11:35:23 echo Agent pid 21 killed; 11:35:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:35:23 + git semver [Pipeline] } 11:35:23 $ docker stop --time=1 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e 11:35:24 $ docker rm -f 296ad0f9a040b48b1dc5ba406cd30a2225a99938ad33a638dbc91cfc1229237e [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 11:35:25 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 11:35:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:35:26 ---> package-listing.sh 11:35:26 ++ tr '[:upper:]' '[:lower:]' 11:35:26 ++ facter osfamily 11:35:26 + OS_FAMILY=redhat 11:35:26 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 11:35:26 + START_PACKAGES=/tmp/packages_start.txt 11:35:26 + END_PACKAGES=/tmp/packages_end.txt 11:35:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:35:26 + PACKAGES=/tmp/packages_start.txt 11:35:26 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:35:26 + PACKAGES=/tmp/packages_end.txt 11:35:26 + case "${OS_FAMILY}" in 11:35:26 + rpm -qa 11:35:26 + sort 11:35:27 + '[' -f /tmp/packages_start.txt ']' 11:35:27 + '[' -f /tmp/packages_end.txt ']' 11:35:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:35:27 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:35:27 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 11:35: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 11:35: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 11:35:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:35:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:28 11:35:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:35:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:28 latest: Pulling from edgex-lftools-log-publisher 11:35:28 b4d181a07f80: Pulling fs layer 11:35:28 a1111a8f2ec3: Pulling fs layer 11:35:28 ed53099fbce6: Pulling fs layer 11:35:28 dc539afda2c1: Pulling fs layer 11:35:28 77bc0d833cb6: Pulling fs layer 11:35:28 9065ff56babe: Pulling fs layer 11:35:28 d287ab97295c: Pulling fs layer 11:35:28 dc539afda2c1: Waiting 11:35:28 77bc0d833cb6: Waiting 11:35:28 9065ff56babe: Waiting 11:35:28 d287ab97295c: Waiting 11:35:28 a1111a8f2ec3: Verifying Checksum 11:35:28 a1111a8f2ec3: Download complete 11:35:28 dc539afda2c1: Verifying Checksum 11:35:28 dc539afda2c1: Download complete 11:35:28 ed53099fbce6: Verifying Checksum 11:35:28 ed53099fbce6: Download complete 11:35:28 9065ff56babe: Verifying Checksum 11:35:28 9065ff56babe: Download complete 11:35:28 77bc0d833cb6: Verifying Checksum 11:35:28 77bc0d833cb6: Download complete 11:35:28 b4d181a07f80: Verifying Checksum 11:35:28 b4d181a07f80: Download complete 11:35:29 d287ab97295c: Verifying Checksum 11:35:29 d287ab97295c: Download complete 11:35:30 b4d181a07f80: Pull complete 11:35:30 a1111a8f2ec3: Pull complete 11:35:30 ed53099fbce6: Pull complete 11:35:31 dc539afda2c1: Pull complete 11:35:31 77bc0d833cb6: Pull complete 11:35:31 9065ff56babe: Pull complete 11:35:36 d287ab97295c: Pull complete 11:35:36 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 11:35:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:35:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:35:36 prd-centos7-docker-4c-2g-55 does not seem to be running inside a container 11:35:36 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:35:39 $ docker top 387dff7450bc124964afd4c2b28b40137bc52340948a12fcedc652c2cd038c7c -eo pid,comm [Pipeline] { [Pipeline] sh 11:35:39 + touch /tmp/pre-build-complete [Pipeline] sh 11:35:40 + mkdir -p /var/log/sysstat [Pipeline] sh 11:35:40 + ls /var/log/sa-host 11:35:40 + sadf -c /var/log/sa-host/sa01 11:35:40 file_magic: OK 11:35:40 HZ: Using current value: 100 11:35:40 file_header: OK 11:35: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 11:35:40 Statistics: 11:35:40 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 11:35:40 File successfully converted to sysstat format version 12.0.3 11:35:40 + sadf -c /var/log/sa-host/sa17 11:35:40 file_magic: OK 11:35:40 HZ: Using current value: 100 11:35:40 file_header: OK 11:35: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 11:35:40 Statistics: 11:35:40 Hnuu...uuuununununu...Hnuu...uuuununununu... 11:35:40 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:35:40 provisioning config files... 11:35:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1261600708644976852tmp [Pipeline] { [Pipeline] echo 11:35:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:35:40 ---> create-netrc.sh [Pipeline] } 11:35:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:35:41 ---> python-tools-install.sh [Pipeline] echo 11:35:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:35:41 ---> sudo-logs.sh 11:35:41 Archiving 'sudo' log.. 11:35:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-55.novalocal: Name or service not known 11:35:41 sudo: unable to resolve host prd-centos7-docker-4c-2g-55.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 11:35:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:35:41 ---> job-cost.sh 11:35:41 lf-activate-venv: SKIPPING 11:35:41 DEBUG: total: 0.10999999940395355 11:35:41 INFO: Retrieving Stack Cost... 11:35:42 INFO: Retrieving Pricing Info for: v3-standard-2 11:35:42 INFO: Archiving Costs [Pipeline] echo 11:35:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:35:43 ---> logs-deploy.sh 11:35:43 lf-activate-venv: SKIPPING 11:35:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/22 11:35:43 INFO: archiving workspace using pattern(s): 11:35:43 Archives upload complete. 11:35:43 INFO: archiving logs to Nexus