Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 10b11b1b26bf1700120a8e08145892b82104ea4e Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1947050094971729047.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh3747745190847626130.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh2941113110734725661.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh6575649434331375615.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-ssh7411160539875943927.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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13612 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-ssh4319317115234192444.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 10b11b1b26bf1700120a8e08145892b82104ea4e (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 10b11b1b26bf1700120a8e08145892b82104ea4e # timeout=10 Commit message: "Merge pull request #313 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.26" > git rev-list --no-walk c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:55:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:55:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:55:33 ========================================================= 01:55:33 EdgeX Global Pipelines Version Info 01:55:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:55:34 ------------------- 01:55:34 stable info: 01:55:34 ------------------- 01:55:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:55:34 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 01:55:34 Message: update stable to v1.0.211 01:55:35 ------------------- 01:55:35 experimental info: 01:55:35 ------------------- 01:55:35 Commited By: **** collab-it+edgex@linuxfoundation.org 01:55:35 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 01:55:35 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 10b11b1b26bf1700120a8e08145892b82104ea4e [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 10b11b1 [Pipeline] echo 01:55:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:35 provisioning config files... 01:55:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1048368893830239812tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:36 ---> docker-login.sh 01:55:36 nexus3.edgexfoundry.org:10001 01:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:36 Configure a credential helper to remove this warning. See 01:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:36 01:55:36 Login Succeeded 01:55:36 nexus3.edgexfoundry.org:10002 01:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:36 Configure a credential helper to remove this warning. See 01:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:36 01:55:36 Login Succeeded 01:55:36 nexus3.edgexfoundry.org:10003 01:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:36 Configure a credential helper to remove this warning. See 01:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:36 01:55:36 Login Succeeded 01:55:36 nexus3.edgexfoundry.org:10004 01:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:36 Configure a credential helper to remove this warning. See 01:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:36 01:55:36 Login Succeeded 01:55:36 docker.io 01:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:37 Configure a credential helper to remove this warning. See 01:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:37 01:55:37 Login Succeeded 01:55:37 ---> docker-login.sh ends [Pipeline] } 01:55:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:55:37 + git rev-list -1 --merges 10b11b1b26bf1700120a8e08145892b82104ea4e~1..10b11b1b26bf1700120a8e08145892b82104ea4e [Pipeline] echo 01:55:37 -----------> git rev-list -1 --merges 10b11b1b26bf1700120a8e08145892b82104ea4e~1..10b11b1b26bf1700120a8e08145892b82104ea4e 10b11b1b26bf1700120a8e08145892b82104ea4e 01:55:37 10b11b1b26bf1700120a8e08145892b82104ea4e [false] [Pipeline] sh 01:55:37 + git log --format=format:%s -1 10b11b1b26bf1700120a8e08145892b82104ea4e [Pipeline] echo 01:55:37 ========================================================= 01:55:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:55:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:55:38 + git log --format=format:%s -1 10b11b1b26bf1700120a8e08145892b82104ea4e [Pipeline] echo 01:55:38 [semverPrep] GIT_COMMIT: 10b11b1b26bf1700120a8e08145892b82104ea4e, Commit Message: Merge pull request #313 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.26 [Pipeline] echo 01:55:38 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:55:38 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:55:38 01:55:38 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:55:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:55:39 latest: Pulling from edgex-devops/git-semver 01:55:39 a0d0a0d46f8b: Pulling fs layer 01:55:39 3e5f54012d9b: Pulling fs layer 01:55:39 4c7163046ea9: Pulling fs layer 01:55:39 0c2d73faf560: Pulling fs layer 01:55:39 0c2d73faf560: Waiting 01:55:39 3e5f54012d9b: Verifying Checksum 01:55:39 3e5f54012d9b: Download complete 01:55:39 a0d0a0d46f8b: Verifying Checksum 01:55:39 a0d0a0d46f8b: Download complete 01:55:39 4c7163046ea9: Verifying Checksum 01:55:39 4c7163046ea9: Download complete 01:55:39 0c2d73faf560: Verifying Checksum 01:55:39 0c2d73faf560: Download complete 01:55:39 a0d0a0d46f8b: Pull complete 01:55:39 3e5f54012d9b: Pull complete 01:55:39 4c7163046ea9: Pull complete 01:55:39 0c2d73faf560: Pull complete 01:55:39 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:55:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:55:39 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:55:39 prd-centos7-docker-4c-2g-13612 does not seem to be running inside a container 01:55:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:55:40 $ docker top 46c7b0507ecc723e62d87db25a1f6ed6876adacac83e3dc3f7f5145f073f10fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:55:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:55:40 [ssh-agent] Looking for ssh-agent implementation... 01:55:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:55:40 $ docker exec 46c7b0507ecc723e62d87db25a1f6ed6876adacac83e3dc3f7f5145f073f10fa ssh-agent 01:55:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLGLENn/agent.13 01:55:40 SSH_AGENT_PID=20 01:55:40 Running ssh-add (command line suppressed) 01:55:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1593778904427604366.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1593778904427604366.key) 01:55:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:55:41 + git tag --points-at HEAD [Pipeline] } 01:55:41 $ docker exec --env ******** --env ******** 46c7b0507ecc723e62d87db25a1f6ed6876adacac83e3dc3f7f5145f073f10fa ssh-agent -k 01:55:41 unset SSH_AUTH_SOCK; 01:55:41 unset SSH_AGENT_PID; 01:55:41 echo Agent pid 20 killed; 01:55:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:55:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:55:41 [ssh-agent] Looking for ssh-agent implementation... 01:55:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:55:41 $ docker exec 46c7b0507ecc723e62d87db25a1f6ed6876adacac83e3dc3f7f5145f073f10fa ssh-agent 01:55:41 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLElDgj/agent.54 01:55:41 SSH_AGENT_PID=61 01:55:41 Running ssh-add (command line suppressed) 01:55:41 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3158868986676855819.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3158868986676855819.key) 01:55:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:55:41 + git semver init 01:55:41 # -> Open(): unable to determine branch for HEAD 01:55:41 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 01:55:41 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 01:55:41 # $SEMVER_REMOTE_NAME = origin 01:55:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:55:41 # $SEMVER_USER_NAME = edgex-jenkins 01:55:41 # $SEMVER_BRANCH = main 01:55:41 # $SEMVER_TEMP = /tmp/semver-848456164 01:55:41 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 01:55:42 # '/tmp/semver-848456164' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 01:55:42 # -> Force: false 01:55:42 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 01:55:42 $ docker exec --env ******** --env ******** 46c7b0507ecc723e62d87db25a1f6ed6876adacac83e3dc3f7f5145f073f10fa ssh-agent -k 01:55:42 unset SSH_AUTH_SOCK; 01:55:42 unset SSH_AGENT_PID; 01:55:42 echo Agent pid 61 killed; 01:55:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:55:42 + git semver [Pipeline] } 01:55:42 $ docker stop --time=1 46c7b0507ecc723e62d87db25a1f6ed6876adacac83e3dc3f7f5145f073f10fa 01:55:44 $ docker rm -f 46c7b0507ecc723e62d87db25a1f6ed6876adacac83e3dc3f7f5145f073f10fa [Pipeline] // withDockerContainer [Pipeline] sh 01:55:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:55:44 Stashed 1 file(s) [Pipeline] echo 01:55:44 [edgeXSemver]: initialized semver on version 2.0.1-dev.14 [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 01:55:59 Still waiting to schedule task 01:55:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:55:59 Still waiting to schedule task 01:55:59 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:56:49 Running on prd-centos7-docker-4c-2g-13615 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:56:49 Running in /w/workspace/device-mqtt-go/16 [Pipeline] { [Pipeline] checkout 01:56:50 Selected Git installation does not exist. Using Default 01:56:50 The recommended git tool is: NONE 01:56:52 using credential edgex-jenkins-ssh 01:56:52 Cloning the remote Git repository 01:56:53 Avoid second fetch 01:56:53 Checking out Revision 10b11b1b26bf1700120a8e08145892b82104ea4e (main) 01:56:51 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:56:51 > git init /w/workspace/device-mqtt-go/16 # timeout=10 01:56:51 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:56:51 > git --version # timeout=10 01:56:51 > git --version # 'git version 2.24.4' 01:56:51 using GIT_SSH to set credentials SSH Credentials for GitHub 01:56:51 [INFO] Currently running in a labeled security context 01:56:51 [INFO] Currently SELinux is 'enforcing' on the host 01:56:51 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/16@tmp/jenkins-gitclient-ssh6960009551412466155.key 01:56:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:56:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:56:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:56:52 > git config core.sparsecheckout # timeout=10 01:56:52 > git checkout -f 10b11b1b26bf1700120a8e08145892b82104ea4e # timeout=10 01:56:56 Commit message: "Merge pull request #313 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.26" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:57 provisioning config files... 01:56:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/16@tmp/config8966882770165121589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:57 ---> docker-login.sh 01:56:57 nexus3.edgexfoundry.org:10001 01:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:57 Configure a credential helper to remove this warning. See 01:56:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:57 01:56:57 Login Succeeded 01:56:57 nexus3.edgexfoundry.org:10002 01:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:57 Configure a credential helper to remove this warning. See 01:56:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:57 01:56:57 Login Succeeded 01:56:57 nexus3.edgexfoundry.org:10003 01:56:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:58 Configure a credential helper to remove this warning. See 01:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:58 01:56:58 Login Succeeded 01:56:58 nexus3.edgexfoundry.org:10004 01:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:58 Configure a credential helper to remove this warning. See 01:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:58 01:56:58 Login Succeeded 01:56:58 docker.io 01:56:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:58 Configure a credential helper to remove this warning. See 01:56:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:58 01:56:58 Login Succeeded 01:56:58 ---> docker-login.sh ends [Pipeline] } 01:56:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:56:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:56:58 ========================================================= 01:56:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:56:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:56:59 + 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 . 01:56:59 Sending build context to Docker daemon 686.6kB 01:56:59 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:56:59 Step 2/11 : FROM ${BASE} AS builder 01:56:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:56:59 a0d0a0d46f8b: Pulling fs layer 01:56:59 31adcdaf11c8: Pulling fs layer 01:56:59 b8b176561691: Pulling fs layer 01:56:59 4527c011a84f: Pulling fs layer 01:56:59 5d74067f8e1e: Pulling fs layer 01:56:59 e0aca202a116: Pulling fs layer 01:56:59 3a43be97a3b4: Pulling fs layer 01:56:59 34cad66bf833: Pulling fs layer 01:56:59 b4e3c513aaa6: Pulling fs layer 01:56:59 5d74067f8e1e: Waiting 01:56:59 e0aca202a116: Waiting 01:56:59 3a43be97a3b4: Waiting 01:56:59 34cad66bf833: Waiting 01:56:59 b4e3c513aaa6: Waiting 01:56:59 4527c011a84f: Waiting 01:56:59 b8b176561691: Verifying Checksum 01:56:59 b8b176561691: Download complete 01:56:59 31adcdaf11c8: Verifying Checksum 01:56:59 31adcdaf11c8: Download complete 01:56:59 5d74067f8e1e: Verifying Checksum 01:56:59 5d74067f8e1e: Download complete 01:56:59 e0aca202a116: Verifying Checksum 01:56:59 e0aca202a116: Download complete 01:56:59 3a43be97a3b4: Verifying Checksum 01:56:59 3a43be97a3b4: Download complete 01:56:59 a0d0a0d46f8b: Download complete 01:56:59 34cad66bf833: Verifying Checksum 01:56:59 34cad66bf833: Download complete 01:56:59 a0d0a0d46f8b: Pull complete 01:56:59 b4e3c513aaa6: Verifying Checksum 01:56:59 b4e3c513aaa6: Download complete 01:56:59 4527c011a84f: Verifying Checksum 01:56:59 4527c011a84f: Download complete 01:56:59 31adcdaf11c8: Pull complete 01:57:00 b8b176561691: Pull complete 01:57:04 4527c011a84f: Pull complete 01:57:04 5d74067f8e1e: Pull complete 01:57:04 e0aca202a116: Pull complete 01:57:04 3a43be97a3b4: Pull complete 01:57:04 34cad66bf833: Pull complete 01:57:07 b4e3c513aaa6: Pull complete 01:57:07 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 01:57:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:57:07 ---> 9f6097aaca64 01:57:07 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:57:10 ---> Running in a258f9c504cd 01:57:10 Removing intermediate container a258f9c504cd 01:57:10 ---> ea6f409b5074 01:57:10 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 01:57:10 ---> Running in 66ac5db6783d 01:57:10 Removing intermediate container 66ac5db6783d 01:57:10 ---> 29ecd8134993 01:57:10 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:57:10 ---> Running in 4576780594eb 01:57:11 Removing intermediate container 4576780594eb 01:57:11 ---> ea4922ef8507 01:57:11 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:57:11 ---> Running in 8707113518ad 01:57:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:57:12 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:57:12 (1/4) Installing openssh-keygen (8.6_p1-r3) 01:57:12 (2/4) Installing libedit (20210216.3.1-r0) 01:57:12 (3/4) Installing openssh-client-common (8.6_p1-r3) 01:57:13 (4/4) Installing openssh-client-default (8.6_p1-r3) 01:57:13 Executing busybox-1.33.1-r3.trigger 01:57:13 OK: 224 MiB in 56 packages 01:57:13 Removing intermediate container 8707113518ad 01:57:13 ---> 34e97431907b 01:57:13 Step 7/11 : WORKDIR /device-mqtt-go 01:57:13 ---> Running in 19336ac453fa 01:57:13 Removing intermediate container 19336ac453fa 01:57:13 ---> c267be6a0f83 01:57:13 Step 8/11 : COPY . . 01:57:14 ---> 47954da19422 01:57:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:14 ---> Running in 2fb6bce92c80 01:57:53 Removing intermediate container 2fb6bce92c80 01:57:53 ---> 0ac23a7e8d8e 01:57:53 Step 10/11 : ARG MAKE='make build' 01:57:53 ---> Running in 874c7bf21d9b 01:57:53 Removing intermediate container 874c7bf21d9b 01:57:53 ---> cea036cc99ac 01:57:53 Step 11/11 : RUN $MAKE 01:57:53 ---> Running in 1403e41aaca8 01:57:53 noop 01:57:53 Removing intermediate container 1403e41aaca8 01:57:53 ---> c10d5bbe79eb 01:57:53 Successfully built c10d5bbe79eb 01:57:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:57:53 + docker inspect -f . ci-base-image-x86_64 01:57:53 . [Pipeline] withDockerContainer 01:57:53 prd-centos7-docker-4c-2g-13615 does not seem to be running inside a container 01:57:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/16 -v /w/workspace/device-mqtt-go/16:/w/workspace/device-mqtt-go/16:rw,z -v /w/workspace/device-mqtt-go/16@tmp:/w/workspace/device-mqtt-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:57:53 $ docker top 06e3815562352b2f7b2095ae94bf7c919086b22b14f34e6536e202abed19a30c -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:54 + go version 01:57:54 go version go1.16.8 linux/amd64 [Pipeline] } 01:57:54 $ docker stop --time=1 06e3815562352b2f7b2095ae94bf7c919086b22b14f34e6536e202abed19a30c 01:57:55 $ docker rm -f 06e3815562352b2f7b2095ae94bf7c919086b22b14f34e6536e202abed19a30c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:57:56 + docker inspect -f . ci-base-image-x86_64 01:57:56 . [Pipeline] withDockerContainer 01:57:56 prd-centos7-docker-4c-2g-13615 does not seem to be running inside a container 01:57:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/16 -v /w/workspace/device-mqtt-go/16:/w/workspace/device-mqtt-go/16:rw,z -v /w/workspace/device-mqtt-go/16@tmp:/w/workspace/device-mqtt-go/16@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:57:56 $ docker top 7d8b70ef4628493b7c5b982f07de0011b838859c7ce6f3ccb23bfec91ed5de59 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:57:56 + make test 01:57:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:57:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:58:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:58:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.4% of statements 01:58:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:58:19 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:58:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:58:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:58:24 ./bin/test-attribution-txt.sh [Pipeline] } 01:58:25 $ docker stop --time=1 7d8b70ef4628493b7c5b982f07de0011b838859c7ce6f3ccb23bfec91ed5de59 01:58:26 $ docker rm -f 7d8b70ef4628493b7c5b982f07de0011b838859c7ce6f3ccb23bfec91ed5de59 [Pipeline] // withDockerContainer [Pipeline] sh 01:58:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:58:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:58:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:58:28 + ls -al . 01:58:28 total 148 01:58:28 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 1 01:58 . 01:58:28 drwxrwxr-x. 4 jenkins jenkins 30 Nov 1 01:56 .. 01:58:28 -rw-rw-r--. 1 jenkins jenkins 7287 Nov 1 01:56 Attribution.txt 01:58:28 drwxrwxr-x. 2 jenkins jenkins 60 Nov 1 01:56 bin 01:58:28 -rw-rw-r--. 1 jenkins jenkins 7447 Nov 1 01:56 CHANGELOG.md 01:58:28 drwxrwxr-x. 3 jenkins jenkins 32 Nov 1 01:56 cmd 01:58:28 -rw-r--r--. 1 jenkins jenkins 17284 Nov 1 01:58 coverage.out 01:58:28 -rw-rw-r--. 1 jenkins jenkins 1907 Nov 1 01:56 Dockerfile 01:58:28 -rw-rw-r--. 1 jenkins jenkins 140 Nov 1 01:56 .dockerignore 01:58:28 drwxrwxr-x. 8 jenkins jenkins 162 Nov 1 01:56 .git 01:58:28 drwxrwxr-x. 2 jenkins jenkins 103 Nov 1 01:56 .github 01:58:28 -rw-rw-r--. 1 jenkins jenkins 329 Nov 1 01:56 .gitignore 01:58:28 -rw-rw-r--. 1 jenkins jenkins 388 Nov 1 01:56 go.mod 01:58:28 -rw-rw-r--. 1 jenkins jenkins 50386 Nov 1 01:56 go.sum 01:58:28 -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 01:56 GOVERNANCE.md 01:58:28 drwxrwxr-x. 3 jenkins jenkins 20 Nov 1 01:56 internal 01:58:28 -rw-rw-r--. 1 jenkins jenkins 677 Nov 1 01:56 Jenkinsfile 01:58:28 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 1 01:56 LICENSE 01:58:28 -rw-rw-r--. 1 jenkins jenkins 1030 Nov 1 01:56 Makefile 01:58:28 drwxrwxr-x. 2 jenkins jenkins 23 Nov 1 01:56 mock 01:58:28 -rw-rw-r--. 1 jenkins jenkins 620 Nov 1 01:56 OWNERS.md 01:58:28 -rw-rw-r--. 1 jenkins jenkins 2211 Nov 1 01:56 README.md 01:58:28 drwxrwxr-x. 4 jenkins jenkins 71 Nov 1 01:56 snap 01:58:28 -rw-rw-r--. 1 jenkins jenkins 12 Nov 1 01:55 VERSION 01:58:28 -rw-rw-r--. 1 jenkins jenkins 227 Nov 1 01:56 version.go [Pipeline] isUnix [Pipeline] sh 01:58:28 + 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=10b11b1b26bf1700120a8e08145892b82104ea4e --label arch=amd64 --label version=2.0.1-dev.14 . 01:58:28 Sending build context to Docker daemon 704.5kB 01:58:28 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:58:28 Step 2/23 : FROM ${BASE} AS builder 01:58:28 ---> c10d5bbe79eb 01:58:28 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:58:28 ---> Running in c587bbb14068 01:58:28 Removing intermediate container c587bbb14068 01:58:28 ---> c752cd2764dd 01:58:28 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 01:58:29 ---> Running in 9773db52e289 01:58:29 Removing intermediate container 9773db52e289 01:58:29 ---> 90597ce681ee 01:58:29 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:58:29 ---> Running in 7f16e5d9cee4 01:58:29 Removing intermediate container 7f16e5d9cee4 01:58:29 ---> 59bd9a72a8d7 01:58:29 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:58:29 ---> Running in 3f27d986b969 01:58:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:58:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:58:31 OK: 224 MiB in 56 packages 01:58:31 Removing intermediate container 3f27d986b969 01:58:31 ---> 0798b9f5f79a 01:58:31 Step 7/23 : WORKDIR /device-mqtt-go 01:58:31 ---> Running in d1eaff242400 01:58:31 Removing intermediate container d1eaff242400 01:58:31 ---> 620fc279155f 01:58:31 Step 8/23 : COPY . . 01:58:31 ---> 40026bad9e28 01:58:31 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:58:31 ---> Running in cff740c20bc8 01:58:32 Removing intermediate container cff740c20bc8 01:58:32 ---> 3c9e946dfd36 01:58:32 Step 10/23 : ARG MAKE='make build' 01:58:32 ---> Running in dfcd7ffebe89 01:58:32 Removing intermediate container dfcd7ffebe89 01:58:32 ---> b6e14bbd981b 01:58:32 Step 11/23 : RUN $MAKE 01:58:32 ---> Running in a8800ab5f5e3 01:58:32 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.14" -o cmd/device-mqtt ./cmd 01:58:47 Removing intermediate container a8800ab5f5e3 01:58:47 ---> 192f7dc1dad1 01:58:47 Step 12/23 : FROM alpine:3.14 01:58:47 3.14: Pulling from library/alpine 01:58:47 a0d0a0d46f8b: Already exists 01:58:47 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 01:58:47 Status: Downloaded newer image for alpine:3.14 01:58:47 ---> 14119a10abf4 01:58:47 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:58:47 ---> Running in e20708541af6 01:58:47 Removing intermediate container e20708541af6 01:58:47 ---> 69d06182a944 01:58:47 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 01:58:47 ---> Running in ba5c09843eac 01:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:58:47 (1/6) Installing dumb-init (1.2.5-r1) 01:58:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:58:47 (3/6) Installing libsodium (1.0.18-r0) 01:58:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:58:47 (5/6) Installing libzmq (4.3.4-r0) 01:58:47 (6/6) Installing zeromq (4.3.4-r0) 01:58:47 Executing busybox-1.33.1-r3.trigger 01:58:47 OK: 8 MiB in 20 packages 01:58:47 Removing intermediate container ba5c09843eac 01:58:47 ---> 8dab18655f4e 01:58:47 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 01:58:47 ---> 51f14e22b648 01:58:47 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 01:58:48 ---> 30ee3b7a8844 01:58:48 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:58:48 ---> c992a88e1e6f 01:58:48 Step 18/23 : EXPOSE 59982 01:58:48 ---> Running in 85fbee340572 01:58:48 Removing intermediate container 85fbee340572 01:58:48 ---> def2865d69ab 01:58:48 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 01:58:48 ---> Running in 6998ca715b98 01:58:48 Removing intermediate container 6998ca715b98 01:58:48 ---> 0f9ef868bcc8 01:58:48 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:58:48 ---> Running in 1db3ba7bbbe3 01:58:48 Removing intermediate container 1db3ba7bbbe3 01:58:48 ---> ca6371a184b8 01:58:48 Step 21/23 : LABEL arch=amd64 01:58:48 ---> Running in 64344372086c 01:58:48 Removing intermediate container 64344372086c 01:58:48 ---> 2866cd7854be 01:58:48 Step 22/23 : LABEL git_sha=10b11b1b26bf1700120a8e08145892b82104ea4e 01:58:48 ---> Running in 1e3d9fada488 01:58:48 Removing intermediate container 1e3d9fada488 01:58:48 ---> 8401c44ff0f3 01:58:48 Step 23/23 : LABEL version=2.0.1-dev.14 01:58:48 ---> Running in 40329a221ccc 01:58:48 Removing intermediate container 40329a221ccc 01:58:48 ---> b7bc3704731f 01:58:48 [Warning] One or more build-args [ARCH] were not consumed 01:58:48 Successfully built b7bc3704731f 01:58:48 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:49 provisioning config files... 01:58:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/16@tmp/config6763207918666081612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:49 ---> docker-login.sh 01:58:49 nexus3.edgexfoundry.org:10001 01:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:49 Configure a credential helper to remove this warning. See 01:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:49 01:58:49 Login Succeeded 01:58:49 nexus3.edgexfoundry.org:10002 01:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:49 Configure a credential helper to remove this warning. See 01:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:49 01:58:49 Login Succeeded 01:58:49 nexus3.edgexfoundry.org:10003 01:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:49 Configure a credential helper to remove this warning. See 01:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:49 01:58:49 Login Succeeded 01:58:49 nexus3.edgexfoundry.org:10004 01:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:49 Configure a credential helper to remove this warning. See 01:58:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:49 01:58:49 Login Succeeded 01:58:49 docker.io 01:58:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:50 Configure a credential helper to remove this warning. See 01:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:50 01:58:50 Login Succeeded 01:58:50 ---> docker-login.sh ends [Pipeline] } 01:58:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:58:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:58:50 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:58:50 10b11b1b26bf1700120a8e08145892b82104ea4e 01:58:50 latest 01:58:50 2.0.1-dev.14 01:58:50 10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14 01:58:50 main 01:58:50 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:58:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:10b11b1b26bf1700120a8e08145892b82104ea4e [Pipeline] isUnix [Pipeline] sh 01:58:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:10b11b1b26bf1700120a8e08145892b82104ea4e 01:58:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:58:50 ef19bdae7ee5: Preparing 01:58:50 0ab0fc29d7ec: Preparing 01:58:50 940e63050cae: Preparing 01:58:50 44d194538d9f: Preparing 01:58:50 e2eb06d8af82: Preparing 01:58:50 e2eb06d8af82: Layer already exists 01:58:51 ef19bdae7ee5: Pushed 01:58:51 0ab0fc29d7ec: Pushed 01:58:51 44d194538d9f: Pushed 01:58:52 940e63050cae: Pushed 01:58:52 10b11b1b26bf1700120a8e08145892b82104ea4e: digest: sha256:df93ff66c324a7e7e0389d84d7902a2017dd9c5d6e9fc468a6e594773d6f9007 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:58:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 01:58:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:58:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:58:52 ef19bdae7ee5: Preparing 01:58:52 0ab0fc29d7ec: Preparing 01:58:52 940e63050cae: Preparing 01:58:52 44d194538d9f: Preparing 01:58:52 e2eb06d8af82: Preparing 01:58:52 0ab0fc29d7ec: Layer already exists 01:58:52 940e63050cae: Layer already exists 01:58:52 e2eb06d8af82: Layer already exists 01:58:52 44d194538d9f: Layer already exists 01:58:52 ef19bdae7ee5: Layer already exists 01:58:52 latest: digest: sha256:df93ff66c324a7e7e0389d84d7902a2017dd9c5d6e9fc468a6e594773d6f9007 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:58:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh 01:58:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.14 01:58:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:58:53 ef19bdae7ee5: Preparing 01:58:53 0ab0fc29d7ec: Preparing 01:58:53 940e63050cae: Preparing 01:58:53 44d194538d9f: Preparing 01:58:53 e2eb06d8af82: Preparing 01:58:53 940e63050cae: Layer already exists 01:58:53 ef19bdae7ee5: Layer already exists 01:58:53 e2eb06d8af82: Layer already exists 01:58:53 0ab0fc29d7ec: Layer already exists 01:58:53 44d194538d9f: Layer already exists 01:58:53 2.0.1-dev.14: digest: sha256:df93ff66c324a7e7e0389d84d7902a2017dd9c5d6e9fc468a6e594773d6f9007 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:58:53 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh 01:58:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14 01:58:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:58:54 ef19bdae7ee5: Preparing 01:58:54 0ab0fc29d7ec: Preparing 01:58:54 940e63050cae: Preparing 01:58:54 44d194538d9f: Preparing 01:58:54 e2eb06d8af82: Preparing 01:58:54 e2eb06d8af82: Layer already exists 01:58:54 ef19bdae7ee5: Layer already exists 01:58:54 0ab0fc29d7ec: Layer already exists 01:58:54 44d194538d9f: Layer already exists 01:58:54 940e63050cae: Layer already exists 01:58:54 10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14: digest: sha256:df93ff66c324a7e7e0389d84d7902a2017dd9c5d6e9fc468a6e594773d6f9007 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:58:54 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 01:58:54 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:58:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:58:54 ef19bdae7ee5: Preparing 01:58:54 0ab0fc29d7ec: Preparing 01:58:54 940e63050cae: Preparing 01:58:54 44d194538d9f: Preparing 01:58:54 e2eb06d8af82: Preparing 01:58:54 44d194538d9f: Layer already exists 01:58:54 ef19bdae7ee5: Layer already exists 01:58:54 e2eb06d8af82: Layer already exists 01:58:54 940e63050cae: Layer already exists 01:58:54 0ab0fc29d7ec: Layer already exists 01:58:54 main: digest: sha256:df93ff66c324a7e7e0389d84d7902a2017dd9c5d6e9fc468a6e594773d6f9007 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:58:54 ===================================================== [Pipeline] echo 01:58:54 taggedImages: 01:58:54 - nexus3.edgexfoundry.org:10004/device-mqtt:10b11b1b26bf1700120a8e08145892b82104ea4e 01:58:54 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:58:54 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.14 01:58:54 - nexus3.edgexfoundry.org:10004/device-mqtt:10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14 01:58:54 - 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 01:58:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:55 01:58:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:58:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:55 latest: Pulling from edgex-lftools-log-publisher 01:58:55 b4d181a07f80: Pulling fs layer 01:58:55 a1111a8f2ec3: Pulling fs layer 01:58:55 ed53099fbce6: Pulling fs layer 01:58:55 dc539afda2c1: Pulling fs layer 01:58:55 77bc0d833cb6: Pulling fs layer 01:58:55 9065ff56babe: Pulling fs layer 01:58:55 d287ab97295c: Pulling fs layer 01:58:55 dc539afda2c1: Waiting 01:58:55 77bc0d833cb6: Waiting 01:58:55 9065ff56babe: Waiting 01:58:55 d287ab97295c: Waiting 01:58:55 a1111a8f2ec3: Verifying Checksum 01:58:55 a1111a8f2ec3: Download complete 01:58:55 dc539afda2c1: Verifying Checksum 01:58:55 dc539afda2c1: Download complete 01:58:55 77bc0d833cb6: Verifying Checksum 01:58:55 77bc0d833cb6: Download complete 01:58:55 ed53099fbce6: Verifying Checksum 01:58:55 ed53099fbce6: Download complete 01:58:55 9065ff56babe: Verifying Checksum 01:58:55 9065ff56babe: Download complete 01:58:55 b4d181a07f80: Verifying Checksum 01:58:55 b4d181a07f80: Download complete 01:58:56 d287ab97295c: Verifying Checksum 01:58:56 d287ab97295c: Download complete 01:58:57 b4d181a07f80: Pull complete 01:58:57 a1111a8f2ec3: Pull complete 01:58:58 ed53099fbce6: Pull complete 01:58:58 dc539afda2c1: Pull complete 01:58:58 77bc0d833cb6: Pull complete 01:58:58 9065ff56babe: Pull complete 01:59:04 d287ab97295c: Pull complete 01:59:04 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:59:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:59:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:59:04 prd-centos7-docker-4c-2g-13615 does not seem to be running inside a container 01:59:04 $ 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/16 -v /w/workspace/device-mqtt-go/16:/w/workspace/device-mqtt-go/16:rw,z -v /w/workspace/device-mqtt-go/16@tmp:/w/workspace/device-mqtt-go/16@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 01:59:11 $ docker top 6e785c6133eb8e4230eecc302662a797d88f7fdc516a7836dc3f07c758a36d52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:11 ---> job-cost.sh 01:59:11 lf-activate-venv: SKIPPING 01:59:11 INFO: No Stack... 01:59:12 INFO: Retrieving Pricing Info for: v3-standard-2 01:59:12 INFO: Archiving Costs [Pipeline] sh 01:59:12 + cat /w/workspace/device-mqtt-go/16/archives/cost.csv 01:59:12 + cut -d, -f6 [Pipeline] lock 01:59:12 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-16-stack-cost] 01:59:12 Resource [jenkins-edgexfoundry-device-mqtt-go-main-16-stack-cost] did not exist. Created. 01:59:12 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:59:13 + echo total: 0.05999999865889549 [Pipeline] stash 01:59:13 Stashed 1 file(s) [Pipeline] } 01:59:13 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 01:59:13 $ docker stop --time=1 6e785c6133eb8e4230eecc302662a797d88f7fdc516a7836dc3f07c758a36d52 01:59:13 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13619 in /w/workspace/edgexfoundry_device-mqtt-go_main 01:59:14 $ docker rm -f 6e785c6133eb8e4230eecc302662a797d88f7fdc516a7836dc3f07c758a36d52 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 01:59:14 Running in /w/workspace/device-mqtt-go/16 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 01:59:14 Selected Git installation does not exist. Using Default 01:59:14 The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } 01:59:21 using credential edgex-jenkins-ssh 01:59:21 Cloning the remote Git repository 01:59:22 Avoid second fetch 01:59:22 Checking out Revision 10b11b1b26bf1700120a8e08145892b82104ea4e (main) 01:59:21 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:59:21 > git init /w/workspace/device-mqtt-go/16 # timeout=10 01:59:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:59:21 > git --version # timeout=10 01:59:21 > git --version # 'git version 2.17.1' 01:59:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:59:21 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:59:22 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:59:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:59:22 > git config core.sparsecheckout # timeout=10 01:59:22 > git checkout -f 10b11b1b26bf1700120a8e08145892b82104ea4e # timeout=10 01:59:27 Commit message: "Merge pull request #313 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.0.1-dev.26" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:59:28 % Total % Received % Xferd Average Speed Time Time Time Current 01:59:28 Dload Upload Total Spent Left Speed 01:59:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 121k 0 --:--:-- --:--:-- --:--:-- 121k [Pipeline] sh 01:59:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:59:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:59:28 + sudo tee /etc/docker/daemon.new 01:59:28 { 01:59:28 "registry-mirrors": [ 01:59:28 "https://nexus3.edgexfoundry.org:10001" 01:59:28 ], 01:59:28 "bip": "10.250.0.254/24", 01:59:28 "hosts": [ 01:59:28 "tcp://0.0.0.0:5555", 01:59:28 "unix:///var/run/docker.sock" 01:59:28 ], 01:59:28 "mtu": 1458, 01:59:28 "selinux-enabled": true, 01:59:28 "seccomp-profile": "/etc/docker/seccomp.json" 01:59:28 } [Pipeline] sh 01:59:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:59:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:48 provisioning config files... 01:59:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/16@tmp/config344784563110228992tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:48 ---> docker-login.sh 01:59:48 nexus3.edgexfoundry.org:10001 01:59:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:49 Configure a credential helper to remove this warning. See 01:59:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:49 01:59:49 Login Succeeded 01:59:49 nexus3.edgexfoundry.org:10002 01:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:50 Configure a credential helper to remove this warning. See 01:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:50 01:59:50 Login Succeeded 01:59:50 nexus3.edgexfoundry.org:10003 01:59:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:50 Configure a credential helper to remove this warning. See 01:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:50 01:59:50 Login Succeeded 01:59:50 nexus3.edgexfoundry.org:10004 01:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:51 Configure a credential helper to remove this warning. See 01:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:51 01:59:51 Login Succeeded 01:59:51 docker.io 01:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:52 Configure a credential helper to remove this warning. See 01:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:52 01:59:52 Login Succeeded 01:59:52 ---> docker-login.sh ends [Pipeline] } 01:59:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:52 ========================================================= 01:59:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:59:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:59:53 + 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 . 01:59:53 Sending build context to Docker daemon 685.6kB 01:59:53 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:59:53 Step 2/11 : FROM ${BASE} AS builder 01:59:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:59:53 552d1f2373af: Pulling fs layer 01:59:53 ea3f2d53f512: Pulling fs layer 01:59:53 9e70ebbbe112: Pulling fs layer 01:59:53 7a9cfe048b4a: Pulling fs layer 01:59:53 72dc09318566: Pulling fs layer 01:59:53 f4f7b4309257: Pulling fs layer 01:59:53 0ac9a79272e3: Pulling fs layer 01:59:53 b78e95d17946: Pulling fs layer 01:59:53 72dc09318566: Waiting 01:59:53 f4f7b4309257: Waiting 01:59:53 0ac9a79272e3: Waiting 01:59:53 b78e95d17946: Waiting 01:59:53 7a9cfe048b4a: Waiting 01:59:53 9e70ebbbe112: Verifying Checksum 01:59:53 9e70ebbbe112: Download complete 01:59:53 ea3f2d53f512: Verifying Checksum 01:59:53 ea3f2d53f512: Download complete 01:59:54 72dc09318566: Download complete 01:59:54 f4f7b4309257: Verifying Checksum 01:59:54 f4f7b4309257: Download complete 01:59:54 552d1f2373af: Verifying Checksum 01:59:54 552d1f2373af: Download complete 01:59:54 0ac9a79272e3: Verifying Checksum 01:59:54 0ac9a79272e3: Download complete 01:59:55 552d1f2373af: Pull complete 01:59:55 ea3f2d53f512: Pull complete 01:59:55 9e70ebbbe112: Pull complete 01:59:56 b78e95d17946: Verifying Checksum 01:59:56 b78e95d17946: Download complete 01:59:56 7a9cfe048b4a: Verifying Checksum 01:59:56 7a9cfe048b4a: Download complete 02:00:09 7a9cfe048b4a: Pull complete 02:00:09 72dc09318566: Pull complete 02:00:09 f4f7b4309257: Pull complete 02:00:09 0ac9a79272e3: Pull complete 02:00:15 b78e95d17946: Pull complete 02:00:15 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 02:00:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 02:00:15 ---> 8b459fc5aaf0 02:00:15 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:00:17 ---> Running in 49a57983bbe2 02:00:17 Removing intermediate container 49a57983bbe2 02:00:17 ---> 5561635df5b1 02:00:17 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 02:00:17 ---> Running in 0de04b3d3c81 02:00:18 Removing intermediate container 0de04b3d3c81 02:00:18 ---> 104bd8af5d86 02:00:18 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:00:18 ---> Running in 42eaadb02492 02:00:20 Removing intermediate container 42eaadb02492 02:00:20 ---> 2a478b5bfce7 02:00:20 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:20 ---> Running in 0ca17f1354bd 02:00:22 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:00:23 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:00:24 (1/4) Installing openssh-keygen (8.6_p1-r3) 02:00:24 (2/4) Installing libedit (20210216.3.1-r0) 02:00:24 (3/4) Installing openssh-client-common (8.6_p1-r3) 02:00:24 (4/4) Installing openssh-client-default (8.6_p1-r3) 02:00:24 Executing busybox-1.33.1-r3.trigger 02:00:24 OK: 223 MiB in 56 packages 02:00:26 Removing intermediate container 0ca17f1354bd 02:00:26 ---> 2010389730e5 02:00:26 Step 7/11 : WORKDIR /device-mqtt-go 02:00:26 ---> Running in fde820dd57dc 02:00:26 Removing intermediate container fde820dd57dc 02:00:26 ---> 5b0a15c2cb2a 02:00:26 Step 8/11 : COPY . . 02:00:27 ---> d64cb4fafda1 02:00:27 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:27 ---> Running in 0ba620a355db 02:01:49 Removing intermediate container 0ba620a355db 02:01:49 ---> b2e8743b0156 02:01:49 Step 10/11 : ARG MAKE='make build' 02:01:49 ---> Running in 4ea1c58d776e 02:01:49 Removing intermediate container 4ea1c58d776e 02:01:49 ---> 2277112a2c80 02:01:49 Step 11/11 : RUN $MAKE 02:01:49 ---> Running in 8e2dc2218372 02:01:49 noop 02:01:49 Removing intermediate container 8e2dc2218372 02:01:49 ---> 53989562de08 02:01:49 Successfully built 53989562de08 02:01:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:01:50 + docker inspect -f . ci-base-image-arm64 02:01:50 . [Pipeline] withDockerContainer 02:01:50 prd-ubuntu18.04-docker-arm64-4c-16g-13619 does not seem to be running inside a container 02:01:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/16 -v /w/workspace/device-mqtt-go/16:/w/workspace/device-mqtt-go/16:rw,z -v /w/workspace/device-mqtt-go/16@tmp:/w/workspace/device-mqtt-go/16@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 02:01:52 $ docker top fa48faab3b5b479b8a6e0645129607f168c140315bffa245f479c107f139f8fa -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:53 + go version 02:01:53 go version go1.16.8 linux/arm64 [Pipeline] } 02:01:53 $ docker stop --time=1 fa48faab3b5b479b8a6e0645129607f168c140315bffa245f479c107f139f8fa 02:01:55 $ docker rm -f fa48faab3b5b479b8a6e0645129607f168c140315bffa245f479c107f139f8fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:01:55 + docker inspect -f . ci-base-image-arm64 02:01:55 . [Pipeline] withDockerContainer 02:01:56 prd-ubuntu18.04-docker-arm64-4c-16g-13619 does not seem to be running inside a container 02:01:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/16 -v /w/workspace/device-mqtt-go/16:/w/workspace/device-mqtt-go/16:rw,z -v /w/workspace/device-mqtt-go/16@tmp:/w/workspace/device-mqtt-go/16@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 02:01:58 $ docker top c6dc838f8a0f9e300da8997bb13a01c0954cea55a71021c952bbc5dce37479ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:01:59 + make test 02:01:59 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:02:00 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:03:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:03:08 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 22.4% of statements 02:03:08 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:03:08 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:03:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:03:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:03:41 ./bin/test-attribution-txt.sh [Pipeline] } 02:03:41 $ docker stop --time=1 c6dc838f8a0f9e300da8997bb13a01c0954cea55a71021c952bbc5dce37479ad 02:03:43 $ docker rm -f c6dc838f8a0f9e300da8997bb13a01c0954cea55a71021c952bbc5dce37479ad [Pipeline] // withDockerContainer [Pipeline] sh 02:03:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:03:44 Warning: overwriting stash ‘coverage-report’ 02:03:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:03:45 + ls -al . 02:03:45 total 180 02:03:45 drwxrwxr-x 9 jenkins jenkins 4096 Nov 1 02:03 . 02:03:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 01:59 .. 02:03:45 -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 01:59 .dockerignore 02:03:45 drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 01:59 .git 02:03:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 .github 02:03:45 -rw-rw-r-- 1 jenkins jenkins 329 Nov 1 01:59 .gitignore 02:03:45 -rw-rw-r-- 1 jenkins jenkins 7287 Nov 1 01:59 Attribution.txt 02:03:45 -rw-rw-r-- 1 jenkins jenkins 7447 Nov 1 01:59 CHANGELOG.md 02:03:45 -rw-rw-r-- 1 jenkins jenkins 1907 Nov 1 01:59 Dockerfile 02:03:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 01:59 GOVERNANCE.md 02:03:45 -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 01:59 Jenkinsfile 02:03:45 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 1 01:59 LICENSE 02:03:45 -rw-rw-r-- 1 jenkins jenkins 1030 Nov 1 01:59 Makefile 02:03:45 -rw-rw-r-- 1 jenkins jenkins 620 Nov 1 01:59 OWNERS.md 02:03:45 -rw-rw-r-- 1 jenkins jenkins 2211 Nov 1 01:59 README.md 02:03:45 -rw-rw-r-- 1 jenkins jenkins 12 Nov 1 01:55 VERSION 02:03:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 bin 02:03:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:59 cmd 02:03:45 -rw-r--r-- 1 jenkins jenkins 17284 Nov 1 02:03 coverage.out 02:03:45 -rw-rw-r-- 1 jenkins jenkins 388 Nov 1 01:59 go.mod 02:03:45 -rw-rw-r-- 1 jenkins jenkins 50386 Nov 1 01:59 go.sum 02:03:45 drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 01:59 internal 02:03:45 drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 01:59 mock 02:03:45 drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 01:59 snap 02:03:45 -rw-rw-r-- 1 jenkins jenkins 227 Nov 1 01:59 version.go [Pipeline] isUnix [Pipeline] sh 02:03:46 + 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=10b11b1b26bf1700120a8e08145892b82104ea4e --label arch=arm64 --label version=2.0.1-dev.14 . 02:03:46 Sending build context to Docker daemon 703.5kB 02:03:46 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 02:03:46 Step 2/23 : FROM ${BASE} AS builder 02:03:46 ---> 53989562de08 02:03:46 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:03:46 ---> Running in 84a77112b86d 02:03:47 Removing intermediate container 84a77112b86d 02:03:47 ---> f3a80ef85e99 02:03:47 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 02:03:47 ---> Running in f465e2337750 02:03:48 Removing intermediate container f465e2337750 02:03:48 ---> 49bbea0ae070 02:03:48 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:03:48 ---> Running in 354ff97fa24a 02:03:50 Removing intermediate container 354ff97fa24a 02:03:50 ---> 8c595ca48820 02:03:50 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:50 ---> Running in edb61e4c8f59 02:03:51 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:03:52 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:03:53 OK: 223 MiB in 56 packages 02:03:54 Removing intermediate container edb61e4c8f59 02:03:54 ---> 9daee0afe3f2 02:03:54 Step 7/23 : WORKDIR /device-mqtt-go 02:03:54 ---> Running in 17151a8e1dc3 02:03:55 Removing intermediate container 17151a8e1dc3 02:03:55 ---> 18a93b0865f4 02:03:55 Step 8/23 : COPY . . 02:03:56 ---> 9a2d2bccf6cb 02:03:56 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:03:56 ---> Running in 5c40007aff9d 02:03:59 Removing intermediate container 5c40007aff9d 02:03:59 ---> 7932fa1d7cce 02:03:59 Step 10/23 : ARG MAKE='make build' 02:03:59 ---> Running in 33969e24df7e 02:03:59 Removing intermediate container 33969e24df7e 02:03:59 ---> 0d02cc10ed44 02:03:59 Step 11/23 : RUN $MAKE 02:03:59 ---> Running in f216cc0e81e4 02:04:01 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.14" -o cmd/device-mqtt ./cmd 02:04:48 Removing intermediate container f216cc0e81e4 02:04:48 ---> af555269da0f 02:04:48 Step 12/23 : FROM alpine:3.14 02:04:48 3.14: Pulling from library/alpine 02:04:48 552d1f2373af: Already exists 02:04:48 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 02:04:48 Status: Downloaded newer image for alpine:3.14 02:04:48 ---> bb3de5531c18 02:04:48 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:04:48 ---> Running in 76dd771c740a 02:04:48 Removing intermediate container 76dd771c740a 02:04:48 ---> 0169cf4fdbba 02:04:48 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 02:04:48 ---> Running in 823966941ece 02:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:04:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:04:48 (1/6) Installing dumb-init (1.2.5-r1) 02:04:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:04:48 (3/6) Installing libsodium (1.0.18-r0) 02:04:48 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:04:48 (5/6) Installing libzmq (4.3.4-r0) 02:04:48 (6/6) Installing zeromq (4.3.4-r0) 02:04:48 Executing busybox-1.33.1-r3.trigger 02:04:48 OK: 8 MiB in 20 packages 02:04:48 Removing intermediate container 823966941ece 02:04:48 ---> c9aa4a33f5d7 02:04:48 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 02:04:48 ---> 5879fc7a6b92 02:04:48 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 02:04:49 ---> 9941583afbe5 02:04:49 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:04:49 ---> a3ace96ceef0 02:04:49 Step 18/23 : EXPOSE 59982 02:04:49 ---> Running in 4fbbbce9d405 02:04:50 Removing intermediate container 4fbbbce9d405 02:04:50 ---> e760524a4c56 02:04:50 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 02:04:50 ---> Running in 0fddf13a9ade 02:04:50 Removing intermediate container 0fddf13a9ade 02:04:50 ---> e34e6cc233f7 02:04:50 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:04:51 ---> Running in d05c9402c86e 02:04:51 Removing intermediate container d05c9402c86e 02:04:51 ---> f742ec59778b 02:04:51 Step 21/23 : LABEL arch=arm64 02:04:51 ---> Running in 6db9e4dcdc62 02:04:51 Removing intermediate container 6db9e4dcdc62 02:04:51 ---> 3d90c2ef7eab 02:04:51 Step 22/23 : LABEL git_sha=10b11b1b26bf1700120a8e08145892b82104ea4e 02:04:52 ---> Running in f426343b2ea3 02:04:52 Removing intermediate container f426343b2ea3 02:04:52 ---> beee589eefe0 02:04:52 Step 23/23 : LABEL version=2.0.1-dev.14 02:04:52 ---> Running in acb41765f143 02:04:52 Removing intermediate container acb41765f143 02:04:52 ---> 8918992721af 02:04:52 [Warning] One or more build-args [ARCH] were not consumed 02:04:52 Successfully built 8918992721af 02:04:52 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 02:04:53 provisioning config files... 02:04:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/16@tmp/config6264417726377286254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:53 ---> docker-login.sh 02:04:53 nexus3.edgexfoundry.org:10001 02:04:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:54 Configure a credential helper to remove this warning. See 02:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:54 02:04:54 Login Succeeded 02:04:54 nexus3.edgexfoundry.org:10002 02:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:54 Configure a credential helper to remove this warning. See 02:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:54 02:04:54 Login Succeeded 02:04:54 nexus3.edgexfoundry.org:10003 02:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:55 Configure a credential helper to remove this warning. See 02:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:55 02:04:55 Login Succeeded 02:04:55 nexus3.edgexfoundry.org:10004 02:04:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:55 Configure a credential helper to remove this warning. See 02:04:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:55 02:04:55 Login Succeeded 02:04:55 docker.io 02:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:56 Configure a credential helper to remove this warning. See 02:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:56 02:04:56 Login Succeeded 02:04:56 ---> docker-login.sh ends [Pipeline] } 02:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:04:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:04:56 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:04:56 10b11b1b26bf1700120a8e08145892b82104ea4e 02:04:56 latest 02:04:56 2.0.1-dev.14 02:04:56 10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14 02:04:56 main 02:04:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:04:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:10b11b1b26bf1700120a8e08145892b82104ea4e [Pipeline] isUnix [Pipeline] sh 02:04:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:10b11b1b26bf1700120a8e08145892b82104ea4e 02:04:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:04:57 0a39cc041423: Preparing 02:04:57 56c394b0acfe: Preparing 02:04:57 05f96120e54a: Preparing 02:04:57 8d3a6f5b677d: Preparing 02:04:57 ee420dfed78a: Preparing 02:04:57 ee420dfed78a: Layer already exists 02:04:57 0a39cc041423: Pushed 02:04:57 56c394b0acfe: Pushed 02:04:58 8d3a6f5b677d: Pushed 02:05:01 05f96120e54a: Pushed 02:05:01 10b11b1b26bf1700120a8e08145892b82104ea4e: digest: sha256:f12be645fc0acf2e9120cae10c5a32442a81d148e718108ef67b41abc5b4fe98 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:05:01 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:05:01 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:05:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:05:01 0a39cc041423: Preparing 02:05:01 56c394b0acfe: Preparing 02:05:01 05f96120e54a: Preparing 02:05:01 8d3a6f5b677d: Preparing 02:05:01 ee420dfed78a: Preparing 02:05:02 56c394b0acfe: Layer already exists 02:05:02 05f96120e54a: Layer already exists 02:05:02 0a39cc041423: Layer already exists 02:05:02 ee420dfed78a: Layer already exists 02:05:02 8d3a6f5b677d: Layer already exists 02:05:02 latest: digest: sha256:f12be645fc0acf2e9120cae10c5a32442a81d148e718108ef67b41abc5b4fe98 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:05:02 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh 02:05:02 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.14 02:05:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:05:02 0a39cc041423: Preparing 02:05:02 56c394b0acfe: Preparing 02:05:02 05f96120e54a: Preparing 02:05:02 8d3a6f5b677d: Preparing 02:05:02 ee420dfed78a: Preparing 02:05:02 05f96120e54a: Layer already exists 02:05:02 0a39cc041423: Layer already exists 02:05:02 ee420dfed78a: Layer already exists 02:05:02 56c394b0acfe: Layer already exists 02:05:02 8d3a6f5b677d: Layer already exists 02:05:02 2.0.1-dev.14: digest: sha256:f12be645fc0acf2e9120cae10c5a32442a81d148e718108ef67b41abc5b4fe98 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:05:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14 [Pipeline] isUnix [Pipeline] sh 02:05:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14 02:05:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:05:03 0a39cc041423: Preparing 02:05:03 56c394b0acfe: Preparing 02:05:03 05f96120e54a: Preparing 02:05:03 8d3a6f5b677d: Preparing 02:05:03 ee420dfed78a: Preparing 02:05:03 ee420dfed78a: Layer already exists 02:05:03 56c394b0acfe: Layer already exists 02:05:03 0a39cc041423: Layer already exists 02:05:03 8d3a6f5b677d: Layer already exists 02:05:03 05f96120e54a: Layer already exists 02:05:03 10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14: digest: sha256:f12be645fc0acf2e9120cae10c5a32442a81d148e718108ef67b41abc5b4fe98 size: 1365 [Pipeline] isUnix [Pipeline] sh 02:05:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 02:05:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:05:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:05:04 0a39cc041423: Preparing 02:05:04 56c394b0acfe: Preparing 02:05:04 05f96120e54a: Preparing 02:05:04 8d3a6f5b677d: Preparing 02:05:04 ee420dfed78a: Preparing 02:05:04 56c394b0acfe: Layer already exists 02:05:04 8d3a6f5b677d: Layer already exists 02:05:04 05f96120e54a: Layer already exists 02:05:04 ee420dfed78a: Layer already exists 02:05:04 0a39cc041423: Layer already exists 02:05:04 main: digest: sha256:f12be645fc0acf2e9120cae10c5a32442a81d148e718108ef67b41abc5b4fe98 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:05:04 ===================================================== [Pipeline] echo 02:05:05 taggedImages: 02:05:05 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:10b11b1b26bf1700120a8e08145892b82104ea4e 02:05:05 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:05:05 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.14 02:05:05 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:10b11b1b26bf1700120a8e08145892b82104ea4e-2.0.1-dev.14 02:05:05 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:05:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:05 02:05:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:05:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:06 arm64: Pulling from edgex-lftools-log-publisher 02:05:06 448f6bf000e3: Pulling fs layer 02:05:06 f757da607395: Pulling fs layer 02:05:06 05883995daec: Pulling fs layer 02:05:06 8603b9c90790: Pulling fs layer 02:05:06 1560dd03e051: Pulling fs layer 02:05:06 27f5ce0e4adf: Pulling fs layer 02:05:06 c2d8d7efcc4b: Pulling fs layer 02:05:06 1560dd03e051: Waiting 02:05:06 27f5ce0e4adf: Waiting 02:05:06 c2d8d7efcc4b: Waiting 02:05:06 8603b9c90790: Waiting 02:05:06 f757da607395: Verifying Checksum 02:05:06 f757da607395: Download complete 02:05:06 8603b9c90790: Verifying Checksum 02:05:06 8603b9c90790: Download complete 02:05:06 1560dd03e051: Verifying Checksum 02:05:06 1560dd03e051: Download complete 02:05:06 27f5ce0e4adf: Verifying Checksum 02:05:06 27f5ce0e4adf: Download complete 02:05:06 05883995daec: Download complete 02:05:06 448f6bf000e3: Verifying Checksum 02:05:06 448f6bf000e3: Download complete 02:05:09 c2d8d7efcc4b: Verifying Checksum 02:05:09 c2d8d7efcc4b: Download complete 02:05:10 448f6bf000e3: Pull complete 02:05:11 f757da607395: Pull complete 02:05:13 05883995daec: Pull complete 02:05:14 8603b9c90790: Pull complete 02:05:15 1560dd03e051: Pull complete 02:05:15 27f5ce0e4adf: Pull complete 02:05:30 c2d8d7efcc4b: Pull complete 02:05:30 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:05:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:05:30 prd-ubuntu18.04-docker-arm64-4c-16g-13619 does not seem to be running inside a container 02:05:30 $ 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/16 -v /w/workspace/device-mqtt-go/16:/w/workspace/device-mqtt-go/16:rw,z -v /w/workspace/device-mqtt-go/16@tmp:/w/workspace/device-mqtt-go/16@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 02:05:34 $ docker top 88a3a7c465e7d8ec871adbf46b4a7d847fda514fd19f9314bb66e9e302f5aca0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:05:35 ---> job-cost.sh 02:05:35 lf-activate-venv: SKIPPING 02:05:35 INFO: No Stack... 02:05:35 INFO: Retrieving Pricing Info for: v3-standard-4 02:05:36 INFO: Archiving Costs [Pipeline] sh 02:05:36 + cut -d,+ -f6 02:05:36 cat /w/workspace/device-mqtt-go/16/archives/cost.csv [Pipeline] lock 02:05:36 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-16-stack-cost] 02:05:36 Resource [jenkins-edgexfoundry-device-mqtt-go-main-16-stack-cost] did not exist. Created. 02:05:36 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:05:37 /w/workspace/device-mqtt-go/16@tmp/durable-87120683/script.sh: 1: /w/workspace/device-mqtt-go/16@tmp/durable-87120683/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:05:38 + echo total: 0.10999999940395355 [Pipeline] stash 02:05:38 Warning: overwriting stash ‘stack-cost’ 02:05:38 Stashed 1 file(s) [Pipeline] } 02:05:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-16-stack-cost] [Pipeline] // lock [Pipeline] } 02:05:38 $ docker stop --time=1 88a3a7c465e7d8ec871adbf46b4a7d847fda514fd19f9314bb66e9e302f5aca0 02:05:40 $ docker rm -f 88a3a7c465e7d8ec871adbf46b4a7d847fda514fd19f9314bb66e9e302f5aca0 [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 02:05:40 provisioning config files... 02:05:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8259173620112576410tmp [Pipeline] { [Pipeline] sh 02:05:41 + set +x 02:05:41 + bash -s -- 02:05:41 + curl -s https://codecov.io/bash 02:05:41 02:05:41 _____ _ 02:05:41 / ____| | | 02:05:41 | | ___ __| | ___ ___ _____ __ 02:05:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:05:41 | |___| (_) | (_| | __/ (_| (_) \ V / 02:05:41 \_____\___/ \__,_|\___|\___\___/ \_/ 02:05:41 Bash-1.0.6 02:05:41 02:05:41 02:05:41 ==> git version 2.24.4 found 02:05:41 ==> 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 02:05:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:05:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:05:41 ==> Jenkins CI detected. 02:05:41 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:05:41 project root: . 02:05:41 --> token set from env 02:05:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:05:41 ==> Running gcov in . (disable via -X gcov) 02:05:41 ==> Python coveragepy not found 02:05:41 ==> Searching for coverage reports in: 02:05:41 + . 02:05:41 -> Found 1 reports 02:05:41 ==> Detecting git/mercurial file structure 02:05:41 ==> Reading reports 02:05:41 + ./coverage.out bytes=17284 02:05:41 ==> Appending adjustments 02:05:41 https://docs.codecov.io/docs/fixing-reports 02:05:41 + Found adjustments 02:05:41 ==> Gzipping contents 02:05:41 4.0K /tmp/codecov.YYWw1P.gz 02:05:41 ==> Uploading reports 02:05:41 url: https://codecov.io 02:05:41 query: branch=main&commit=10b11b1b26bf1700120a8e08145892b82104ea4e&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:05:41 -> Pinging Codecov 02:05:41 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=10b11b1b26bf1700120a8e08145892b82104ea4e&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:05:42 -> Uploading to 02:05:42 https://storage.googleapis.com/codecov/v4/raw/2021-11-01/7D719EC7BBE17E464838252E33014C33/10b11b1b26bf1700120a8e08145892b82104ea4e/906ee71d-41ed-4f93-b7a4-62262ad51837.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211101T020542Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d953ec483790266ee2ee5f300b81ac2a260c79a00c0295bcde591947b811abf3 02:05:42 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:42 Dload Upload Total Spent Left Speed 02:05:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3167 0 0 100 3167 0 12010 --:--:-- --:--:-- --:--:-- 12041 02:05:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/10b11b1b26bf1700120a8e08145892b82104ea4e [Pipeline] } 02:05:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:05:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:05:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:05:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:05:42 02:05:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:05:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:05:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:05:43 188c0c94c7c5: Pulling fs layer 02:05:43 0ef7d3d256c8: Pulling fs layer 02:05:43 de9db76c5a1d: Pulling fs layer 02:05:43 0eba1c9be4d2: Pulling fs layer 02:05:43 0d57e429df01: Pulling fs layer 02:05:43 4e4be7b47b0d: Pulling fs layer 02:05:43 e1f770b5df2f: Pulling fs layer 02:05:43 85a0685a4137: Pulling fs layer 02:05:43 0eba1c9be4d2: Waiting 02:05:43 0d57e429df01: Waiting 02:05:43 4e4be7b47b0d: Waiting 02:05:43 e1f770b5df2f: Waiting 02:05:43 85a0685a4137: Waiting 02:05:43 de9db76c5a1d: Verifying Checksum 02:05:43 de9db76c5a1d: Download complete 02:05:43 0ef7d3d256c8: Verifying Checksum 02:05:43 0ef7d3d256c8: Download complete 02:05:43 0d57e429df01: Verifying Checksum 02:05:43 0d57e429df01: Download complete 02:05:43 4e4be7b47b0d: Verifying Checksum 02:05:43 4e4be7b47b0d: Download complete 02:05:43 188c0c94c7c5: Verifying Checksum 02:05:43 188c0c94c7c5: Download complete 02:05:43 e1f770b5df2f: Verifying Checksum 02:05:43 e1f770b5df2f: Download complete 02:05:43 188c0c94c7c5: Pull complete 02:05:43 0eba1c9be4d2: Verifying Checksum 02:05:43 0eba1c9be4d2: Download complete 02:05:44 0ef7d3d256c8: Pull complete 02:05:44 de9db76c5a1d: Pull complete 02:05:44 85a0685a4137: Verifying Checksum 02:05:44 85a0685a4137: Download complete 02:05:48 0eba1c9be4d2: Pull complete 02:05:48 0d57e429df01: Pull complete 02:05:48 4e4be7b47b0d: Pull complete 02:05:48 e1f770b5df2f: Pull complete 02:05:52 85a0685a4137: Pull complete 02:05:52 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:05:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:05:52 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:05:52 prd-centos7-docker-4c-2g-13612 does not seem to be running inside a container 02:05:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:05:54 $ docker top 7c4ebc19370079abf02c14d8d78153570a0434ded68c1da30de4dfee09738c64 -eo pid,comm [Pipeline] { [Pipeline] echo 02:05:54 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:05:55 + set -o pipefail 02:05:55 + snyk monitor '--org=edgex-jenkins' 02:06:00 02:06:00 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:06:00 02:06:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/64332206-9fdb-470b-ab33-35b0f067db65 02:06:00 02:06:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:06:00 02:06:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:06:00 02:06:00 [Pipeline] } 02:06:00 $ docker stop --time=1 7c4ebc19370079abf02c14d8d78153570a0434ded68c1da30de4dfee09738c64 02:06:02 $ docker rm -f 7c4ebc19370079abf02c14d8d78153570a0434ded68c1da30de4dfee09738c64 [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 02:06:03 + git log --format=format:%s -1 10b11b1b26bf1700120a8e08145892b82104ea4e [Pipeline] isUnix [Pipeline] sh 02:06:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:03 . [Pipeline] withDockerContainer 02:06:03 prd-centos7-docker-4c-2g-13612 does not seem to be running inside a container 02:06:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:06:03 $ docker top ae5a976f973e6e97f28ea61ad83cf5c1b3b3a8a01b5f02353c06685ed02f3b03 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:03 [ssh-agent] Looking for ssh-agent implementation... 02:06:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:04 $ docker exec ae5a976f973e6e97f28ea61ad83cf5c1b3b3a8a01b5f02353c06685ed02f3b03 ssh-agent 02:06:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKCDckF/agent.15 02:06:04 SSH_AGENT_PID=22 02:06:04 Running ssh-add (command line suppressed) 02:06:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8627111966627641189.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8627111966627641189.key) 02:06:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:04 + git semver tag 02:06:04 # -> Open(): unable to determine branch for HEAD 02:06:04 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 02:06:04 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 02:06:04 # $SEMVER_REMOTE_NAME = origin 02:06:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:04 # $SEMVER_USER_NAME = edgex-jenkins 02:06:04 # $SEMVER_BRANCH = main 02:06:04 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:06:04 # 10b11b1b26bf1700120a8e08145892b82104ea4e HEAD 02:06:04 # -> Force: false 02:06:04 # 6cb72e5626cde2fb924fb64c63907d74597fd651 refs/tags/v2.0.1-dev.14 [Pipeline] } 02:06:04 $ docker exec --env ******** --env ******** ae5a976f973e6e97f28ea61ad83cf5c1b3b3a8a01b5f02353c06685ed02f3b03 ssh-agent -k 02:06:04 unset SSH_AUTH_SOCK; 02:06:04 unset SSH_AGENT_PID; 02:06:04 echo Agent pid 22 killed; 02:06:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:05 + git semver [Pipeline] } 02:06:05 $ docker stop --time=1 ae5a976f973e6e97f28ea61ad83cf5c1b3b3a8a01b5f02353c06685ed02f3b03 02:06:06 $ docker rm -f ae5a976f973e6e97f28ea61ad83cf5c1b3b3a8a01b5f02353c06685ed02f3b03 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:06:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:06 02:06:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:06:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:06 0.23.1-centos7: Pulling from edgex-lftools 02:06:06 ab5ef0e58194: Pulling fs layer 02:06:06 9712f1f96733: Pulling fs layer 02:06:06 63f879dbbcfc: Pulling fs layer 02:06:06 0d9ebad4ef96: Pulling fs layer 02:06:06 e9a5061849ea: Pulling fs layer 02:06:06 d747dcd14b5f: Pulling fs layer 02:06:06 2de7ff778b66: Pulling fs layer 02:06:06 0d9ebad4ef96: Waiting 02:06:06 e9a5061849ea: Waiting 02:06:06 d747dcd14b5f: Waiting 02:06:06 2de7ff778b66: Waiting 02:06:06 9712f1f96733: Verifying Checksum 02:06:06 9712f1f96733: Download complete 02:06:07 0d9ebad4ef96: Verifying Checksum 02:06:07 0d9ebad4ef96: Download complete 02:06:07 63f879dbbcfc: Verifying Checksum 02:06:07 63f879dbbcfc: Download complete 02:06:07 d747dcd14b5f: Verifying Checksum 02:06:07 d747dcd14b5f: Download complete 02:06:07 ab5ef0e58194: Verifying Checksum 02:06:07 ab5ef0e58194: Download complete 02:06:07 e9a5061849ea: Verifying Checksum 02:06:07 e9a5061849ea: Download complete 02:06:07 2de7ff778b66: Verifying Checksum 02:06:07 2de7ff778b66: Download complete 02:06:10 ab5ef0e58194: Pull complete 02:06:10 9712f1f96733: Pull complete 02:06:11 63f879dbbcfc: Pull complete 02:06:15 0d9ebad4ef96: Pull complete 02:06:15 e9a5061849ea: Pull complete 02:06:15 d747dcd14b5f: Pull complete 02:06:16 2de7ff778b66: Pull complete 02:06:16 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:06:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:06:16 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:06:16 prd-centos7-docker-4c-2g-13612 does not seem to be running inside a container 02:06:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:06:19 $ docker top bf46a3890a0a50595a40fec8b1f0d7a33930a4a72e05e6aeb04d215a0da5dbfc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:06:19 provisioning config files... 02:06:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2263420077796944867tmp 02:06:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6077090877980383557tmp 02:06:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5237493266556717412tmp [Pipeline] { [Pipeline] echo 02:06:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:06:20 ---> sigul-configuration.sh 02:06:20 gpg: directory `/root/.gnupg' created 02:06:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:06:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:06:20 gpg: keyring `/root/.gnupg/secring.gpg' created 02:06:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:06:20 gpg: CAST5 encrypted data 02:06:20 gpg: encrypted with 1 passphrase 02:06:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:06:20 + mkdir /home/jenkins 02:06:20 + mkdir /home/jenkins/sigul [Pipeline] sh 02:06:20 + 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 02:06:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:06:21 ---> sigul-install.sh 02:06:21 Sigul already installed; skipping installation. [Pipeline] sh 02:06:21 + git tag --list 02:06:21 0.7.1 02:06:21 v1.0.0 02:06:21 v1.1.0 02:06:21 v1.1.1 02:06:21 v1.2.2 02:06:21 v1.3.0 02:06:21 v1.3.1 02:06:21 v2.0.0 02:06:21 v2.0.1-dev.1 02:06:21 v2.0.1-dev.10 02:06:21 v2.0.1-dev.11 02:06:21 v2.0.1-dev.12 02:06:21 v2.0.1-dev.13 02:06:21 v2.0.1-dev.14 02:06:21 v2.0.1-dev.2 02:06:21 v2.0.1-dev.3 02:06:21 v2.0.1-dev.4 02:06:21 v2.0.1-dev.5 02:06:21 v2.0.1-dev.6 02:06:21 v2.0.1-dev.7 02:06:21 v2.0.1-dev.8 02:06:21 v2.0.1-dev.9 [Pipeline] sh 02:06:21 + lftools sign git-tag v2.0.1-dev.14 02:06:22 Signing Git tag with Sigul... 02:06:22 Signing v2.0.1-dev.14 [Pipeline] echo 02:06:23 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:06:23 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:06:23 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:06:23 $ docker stop --time=1 bf46a3890a0a50595a40fec8b1f0d7a33930a4a72e05e6aeb04d215a0da5dbfc 02:06:24 $ docker rm -f bf46a3890a0a50595a40fec8b1f0d7a33930a4a72e05e6aeb04d215a0da5dbfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:06:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:25 . [Pipeline] withDockerContainer 02:06:25 prd-centos7-docker-4c-2g-13612 does not seem to be running inside a container 02:06:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:06:25 $ docker top 2758a4b70e6dd84ce578b4da6fae600a0d11aebefaa5d2a3ec1dee04aa320da3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:25 [ssh-agent] Looking for ssh-agent implementation... 02:06:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:26 $ docker exec 2758a4b70e6dd84ce578b4da6fae600a0d11aebefaa5d2a3ec1dee04aa320da3 ssh-agent 02:06:26 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPDBEEN/agent.13 02:06:26 SSH_AGENT_PID=19 02:06:26 Running ssh-add (command line suppressed) 02:06:26 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4355817659558700048.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4355817659558700048.key) 02:06:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:26 + git semver bump pre 02:06:26 # -> Open(): unable to determine branch for HEAD 02:06:26 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 02:06:26 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 02:06:26 # $SEMVER_REMOTE_NAME = origin 02:06:26 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:26 # $SEMVER_USER_NAME = edgex-jenkins 02:06:26 # $SEMVER_BRANCH = main 02:06:26 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:06:26 2.0.1-dev.15 [Pipeline] } 02:06:26 $ docker exec --env ******** --env ******** 2758a4b70e6dd84ce578b4da6fae600a0d11aebefaa5d2a3ec1dee04aa320da3 ssh-agent -k 02:06:26 unset SSH_AUTH_SOCK; 02:06:26 unset SSH_AGENT_PID; 02:06:26 echo Agent pid 19 killed; 02:06:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:27 + git semver [Pipeline] } 02:06:27 $ docker stop --time=1 2758a4b70e6dd84ce578b4da6fae600a0d11aebefaa5d2a3ec1dee04aa320da3 02:06:28 $ docker rm -f 2758a4b70e6dd84ce578b4da6fae600a0d11aebefaa5d2a3ec1dee04aa320da3 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:06:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:06:28 . [Pipeline] withDockerContainer 02:06:28 prd-centos7-docker-4c-2g-13612 does not seem to be running inside a container 02:06:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:06:29 $ docker top 0d62e98d537b5b714a43b2491c4ba383764a3d9921c6b4640d4d54a7b339fd7d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:06:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:06:29 [ssh-agent] Looking for ssh-agent implementation... 02:06:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:06:29 $ docker exec 0d62e98d537b5b714a43b2491c4ba383764a3d9921c6b4640d4d54a7b339fd7d ssh-agent 02:06:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIPLhcM/agent.13 02:06:29 SSH_AGENT_PID=19 02:06:29 Running ssh-add (command line suppressed) 02:06:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4939364539207080970.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4939364539207080970.key) 02:06:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:06:30 + git semver push 02:06:30 # -> Open(): unable to determine branch for HEAD 02:06:30 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 02:06:30 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 02:06:30 # $SEMVER_REMOTE_NAME = origin 02:06:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:06:30 # $SEMVER_USER_NAME = edgex-jenkins 02:06:30 # $SEMVER_BRANCH = main 02:06:30 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 02:06:31 $ docker exec --env ******** --env ******** 0d62e98d537b5b714a43b2491c4ba383764a3d9921c6b4640d4d54a7b339fd7d ssh-agent -k 02:06:31 unset SSH_AUTH_SOCK; 02:06:31 unset SSH_AGENT_PID; 02:06:31 echo Agent pid 19 killed; 02:06:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:06:32 + git semver [Pipeline] } 02:06:32 $ docker stop --time=1 0d62e98d537b5b714a43b2491c4ba383764a3d9921c6b4640d4d54a7b339fd7d 02:06:33 $ docker rm -f 0d62e98d537b5b714a43b2491c4ba383764a3d9921c6b4640d4d54a7b339fd7d [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 02:06:34 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:06:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:06:35 ---> package-listing.sh 02:06:35 ++ facter osfamily 02:06:35 ++ tr '[:upper:]' '[:lower:]' 02:06:35 + OS_FAMILY=redhat 02:06:35 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:06:35 + START_PACKAGES=/tmp/packages_start.txt 02:06:35 + END_PACKAGES=/tmp/packages_end.txt 02:06:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:06:35 + PACKAGES=/tmp/packages_start.txt 02:06:35 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:06:35 + PACKAGES=/tmp/packages_end.txt 02:06:35 + case "${OS_FAMILY}" in 02:06:35 + rpm -qa 02:06:35 + sort 02:06:35 + '[' -f /tmp/packages_start.txt ']' 02:06:35 + '[' -f /tmp/packages_end.txt ']' 02:06:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:06:35 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:06:35 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:06:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:06:35 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 02:06:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:06:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:36 02:06:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:06:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:37 latest: Pulling from edgex-lftools-log-publisher 02:06:37 b4d181a07f80: Pulling fs layer 02:06:37 a1111a8f2ec3: Pulling fs layer 02:06:37 ed53099fbce6: Pulling fs layer 02:06:37 dc539afda2c1: Pulling fs layer 02:06:37 77bc0d833cb6: Pulling fs layer 02:06:37 9065ff56babe: Pulling fs layer 02:06:37 d287ab97295c: Pulling fs layer 02:06:37 dc539afda2c1: Waiting 02:06:37 77bc0d833cb6: Waiting 02:06:37 9065ff56babe: Waiting 02:06:37 d287ab97295c: Waiting 02:06:37 a1111a8f2ec3: Verifying Checksum 02:06:37 a1111a8f2ec3: Download complete 02:06:37 dc539afda2c1: Verifying Checksum 02:06:37 dc539afda2c1: Download complete 02:06:37 ed53099fbce6: Verifying Checksum 02:06:37 ed53099fbce6: Download complete 02:06:37 9065ff56babe: Verifying Checksum 02:06:37 9065ff56babe: Download complete 02:06:37 77bc0d833cb6: Verifying Checksum 02:06:37 77bc0d833cb6: Download complete 02:06:37 b4d181a07f80: Verifying Checksum 02:06:37 b4d181a07f80: Download complete 02:06:38 d287ab97295c: Verifying Checksum 02:06:38 d287ab97295c: Download complete 02:06:39 b4d181a07f80: Pull complete 02:06:39 a1111a8f2ec3: Pull complete 02:06:39 ed53099fbce6: Pull complete 02:06:39 dc539afda2c1: Pull complete 02:06:39 77bc0d833cb6: Pull complete 02:06:40 9065ff56babe: Pull complete 02:06:45 d287ab97295c: Pull complete 02:06:45 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:06:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:06:45 prd-centos7-docker-4c-2g-13612 does not seem to be running inside a container 02:06:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:06:47 $ docker top 3c36a3784acee17d1e2cd6628784f0d155b5cfe16d0a44739b3aad132c66c780 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:48 + touch /tmp/pre-build-complete [Pipeline] sh 02:06:48 + mkdir -p /var/log/sysstat [Pipeline] sh 02:06:48 + ls /var/log/sa-host 02:06:48 + sadf -c /var/log/sa-host/sa01 02:06:48 file_magic: OK 02:06:48 HZ: Using current value: 100 02:06:48 file_header: OK 02:06:48 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 02:06:48 Statistics: 02:06:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:06:48 File successfully converted to sysstat format version 12.0.3 02:06:48 + sadf -c /var/log/sa-host/sa30 02:06:48 file_magic: OK 02:06:48 HZ: Using current value: 100 02:06:48 file_header: OK 02:06:48 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 02:06:48 Statistics: 02:06:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:06:48 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:06:48 provisioning config files... 02:06:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4121076638894413708tmp [Pipeline] { [Pipeline] echo 02:06:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:06:49 ---> create-netrc.sh [Pipeline] } 02:06:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:06:49 ---> python-tools-install.sh [Pipeline] echo 02:06:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:06:49 ---> sudo-logs.sh 02:06:49 Archiving 'sudo' log.. 02:06:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-13612.novalocal: Name or service not known 02:06:49 sudo: unable to resolve host prd-centos7-docker-4c-2g-13612.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:06:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:06:50 ---> job-cost.sh 02:06:50 lf-activate-venv: SKIPPING 02:06:50 DEBUG: total: 0.10999999940395355 02:06:50 INFO: Retrieving Stack Cost... 02:06:50 INFO: Retrieving Pricing Info for: v3-standard-2 02:06:50 INFO: Archiving Costs [Pipeline] echo 02:06:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:06:51 ---> logs-deploy.sh 02:06:51 lf-activate-venv: SKIPPING 02:06:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/16 02:06:51 INFO: archiving workspace using pattern(s): 02:06:51 Archives upload complete. 02:06:51 INFO: archiving logs to Nexus 02:06:52 ---> uname -a: 02:06:52 Linux prd-centos7-docker-4c-2g-13612.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 02:06:52 02:06:52 02:06:52 ---> lscpu: 02:06:52 Architecture: x86_64 02:06:52 CPU op-mode(s): 32-bit, 64-bit 02:06:52 Byte Order: Little Endian 02:06:52 Address sizes: 40 bits physical, 48 bits virtual 02:06:52 CPU(s): 2 02:06:52 On-line CPU(s) list: 0,1 02:06:52 Thread(s) per core: 1 02:06:52 Core(s) per socket: 1 02:06:52 Socket(s): 2 02:06:52 NUMA node(s): 1 02:06:52 Vendor ID: AuthenticAMD 02:06:52 CPU family: 23 02:06:52 Model: 49 02:06:52 Model name: AMD EPYC-Rome Processor 02:06:52 Stepping: 0 02:06:52 CPU MHz: 2799.996 02:06:52 BogoMIPS: 5599.99 02:06:52 Virtualization: AMD-V 02:06:52 Hypervisor vendor: KVM 02:06:52 Virtualization type: full 02:06:52 L1d cache: 32K 02:06:52 L1i cache: 32K 02:06:52 L2 cache: 512K 02:06:52 L3 cache: 16384K 02:06:52 NUMA node0 CPU(s): 0,1 02:06:52 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 02:06:52 02:06:52 02:06:52 ---> nproc: 02:06:52 2 02:06:52 02:06:52