Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 65976b5f62c44c0dc6a515179a4847523af2a8b0 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-ssh15399533701972749072.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7089309664025245586.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5146239156339618573.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10534107170063897944.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-ssh11464564184170701320.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-330 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-ssh6856866986268130424.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 65976b5f62c44c0dc6a515179a4847523af2a8b0 (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 65976b5f62c44c0dc6a515179a4847523af2a8b0 # timeout=10 Commit message: "Merge pull request #332 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.3" > git rev-list --no-walk 7f14e9a977dd7f895b260ccb1ade119f5167320d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:01:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:01:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:01:10 ========================================================= 04:01:10 EdgeX Global Pipelines Version Info 04:01:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:01:11 ------------------- 04:01:11 stable info: 04:01:11 ------------------- 04:01:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:01:11 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:01:11 Message: update stable to v1.0.217 04:01:12 ------------------- 04:01:12 experimental info: 04:01:12 ------------------- 04:01:12 Commited By: **** collab-it+edgex@linuxfoundation.org 04:01:12 Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 04:01:12 Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 65976b5f62c44c0dc6a515179a4847523af2a8b0 [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 65976b5 [Pipeline] echo 04:01:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:01:12 provisioning config files... 04:01:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2173921627473502480tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:01:13 ---> docker-login.sh 04:01:13 nexus3.edgexfoundry.org:10001 04:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:13 Configure a credential helper to remove this warning. See 04:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:13 04:01:13 Login Succeeded 04:01:13 nexus3.edgexfoundry.org:10002 04:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:13 Configure a credential helper to remove this warning. See 04:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:13 04:01:13 Login Succeeded 04:01:13 nexus3.edgexfoundry.org:10003 04:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:13 Configure a credential helper to remove this warning. See 04:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:13 04:01:13 Login Succeeded 04:01:13 nexus3.edgexfoundry.org:10004 04:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:13 Configure a credential helper to remove this warning. See 04:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:13 04:01:13 Login Succeeded 04:01:13 docker.io 04:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:01:13 Configure a credential helper to remove this warning. See 04:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:01:13 04:01:13 Login Succeeded 04:01:13 ---> docker-login.sh ends [Pipeline] } 04:01:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:01:14 + git rev-list -1 --merges 65976b5f62c44c0dc6a515179a4847523af2a8b0~1..65976b5f62c44c0dc6a515179a4847523af2a8b0 [Pipeline] echo 04:01:14 -----------> git rev-list -1 --merges 65976b5f62c44c0dc6a515179a4847523af2a8b0~1..65976b5f62c44c0dc6a515179a4847523af2a8b0 65976b5f62c44c0dc6a515179a4847523af2a8b0 04:01:14 65976b5f62c44c0dc6a515179a4847523af2a8b0 [false] [Pipeline] sh 04:01:14 + git log --format=format:%s -1 65976b5f62c44c0dc6a515179a4847523af2a8b0 [Pipeline] echo 04:01:14 ========================================================= 04:01:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:01:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:01:14 + git log --format=format:%s -1 65976b5f62c44c0dc6a515179a4847523af2a8b0 [Pipeline] echo 04:01:14 [semverPrep] GIT_COMMIT: 65976b5f62c44c0dc6a515179a4847523af2a8b0, Commit Message: Merge pull request #332 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.3 [Pipeline] echo 04:01:14 [semverPrep] This is not a build commit. [Pipeline] sh 04:01:15 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:01:15 + grep -v github /etc/ssh/ssh_known_hosts 04:01:15 + '[' -e /tmp/ssh_known_hosts ']' 04:01:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:01:15 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 04:01:15 + sudo tee -a /etc/ssh/ssh_known_hosts 04:01:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:01:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:01:15 04:01:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:01:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:01:15 latest: Pulling from edgex-devops/git-semver 04:01:15 a0d0a0d46f8b: Pulling fs layer 04:01:15 3e5f54012d9b: Pulling fs layer 04:01:15 4c7163046ea9: Pulling fs layer 04:01:15 0c2d73faf560: Pulling fs layer 04:01:15 0c2d73faf560: Waiting 04:01:15 3e5f54012d9b: Verifying Checksum 04:01:15 3e5f54012d9b: Download complete 04:01:15 a0d0a0d46f8b: Verifying Checksum 04:01:15 a0d0a0d46f8b: Download complete 04:01:15 0c2d73faf560: Verifying Checksum 04:01:15 0c2d73faf560: Download complete 04:01:15 4c7163046ea9: Verifying Checksum 04:01:15 4c7163046ea9: Download complete 04:01:16 a0d0a0d46f8b: Pull complete 04:01:16 3e5f54012d9b: Pull complete 04:01:16 4c7163046ea9: Pull complete 04:01:16 0c2d73faf560: Pull complete 04:01:16 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:01:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:01:16 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 04:01:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:01:17 $ docker top 9f82b8df0b891ea0a80c4bf5b21e6e43b0ea6ec0b0981ba5c13206bb8600dfb9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:01:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:17 [ssh-agent] Looking for ssh-agent implementation... 04:01:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:17 $ docker exec 9f82b8df0b891ea0a80c4bf5b21e6e43b0ea6ec0b0981ba5c13206bb8600dfb9 ssh-agent 04:01:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmpEAHl/agent.13 04:01:17 SSH_AGENT_PID=19 04:01:17 Running ssh-add (command line suppressed) 04:01:17 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8464899809364714531.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8464899809364714531.key) 04:01:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:18 + git tag --points-at HEAD [Pipeline] } 04:01:17 $ docker exec --env ******** --env ******** 9f82b8df0b891ea0a80c4bf5b21e6e43b0ea6ec0b0981ba5c13206bb8600dfb9 ssh-agent -k 04:01:18 unset SSH_AUTH_SOCK; 04:01:18 unset SSH_AGENT_PID; 04:01:18 echo Agent pid 19 killed; 04:01:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:01:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:01:18 [ssh-agent] Looking for ssh-agent implementation... 04:01:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:01:18 $ docker exec 9f82b8df0b891ea0a80c4bf5b21e6e43b0ea6ec0b0981ba5c13206bb8600dfb9 ssh-agent 04:01:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXieAFpn/agent.54 04:01:18 SSH_AGENT_PID=61 04:01:18 Running ssh-add (command line suppressed) 04:01:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_975544976944075553.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_975544976944075553.key) 04:01:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:01:18 + git semver init 04:01:18 # -> Open(): unable to determine branch for HEAD 04:01:18 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 04:01:18 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 04:01:18 # $SEMVER_REMOTE_NAME = origin 04:01:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:01:18 # $SEMVER_USER_NAME = edgex-jenkins 04:01:18 # $SEMVER_BRANCH = main 04:01:18 # $SEMVER_TEMP = /tmp/semver-831938440 04:01:18 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 04:01:19 # '/tmp/semver-831938440' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 04:01:19 # -> Force: false 04:01:19 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 04:01:19 $ docker exec --env ******** --env ******** 9f82b8df0b891ea0a80c4bf5b21e6e43b0ea6ec0b0981ba5c13206bb8600dfb9 ssh-agent -k 04:01:19 unset SSH_AUTH_SOCK; 04:01:19 unset SSH_AGENT_PID; 04:01:19 echo Agent pid 61 killed; 04:01:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:01:20 + git semver [Pipeline] } 04:01:20 $ docker stop --time=1 9f82b8df0b891ea0a80c4bf5b21e6e43b0ea6ec0b0981ba5c13206bb8600dfb9 04:01:21 $ docker rm -f 9f82b8df0b891ea0a80c4bf5b21e6e43b0ea6ec0b0981ba5c13206bb8600dfb9 [Pipeline] // withDockerContainer [Pipeline] sh 04:01:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:01:22 Stashed 1 file(s) [Pipeline] echo 04:01:22 [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [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 04:01:37 Still waiting to schedule task 04:01:37 Waiting for next available executor on ‘centos7-docker-4c-2g’ 04:01:37 Still waiting to schedule task 04:01:37 ‘prd-ubuntu18.04-docker-arm64-4c-16g-331’ is offline 04:02:27 Running on prd-centos7-docker-4c-2g-333 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:02:27 Running in /w/workspace/device-mqtt-go/26 [Pipeline] { [Pipeline] checkout 04:02:27 Selected Git installation does not exist. Using Default 04:02:27 The recommended git tool is: NONE 04:02:28 using credential edgex-jenkins-ssh 04:02:28 Cloning the remote Git repository 04:02:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:02:28 > git init /w/workspace/device-mqtt-go/26 # timeout=10 04:02:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:02:28 > git --version # timeout=10 04:02:28 > git --version # 'git version 2.24.4' 04:02:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:02:28 [INFO] Currently running in a labeled security context 04:02:28 [INFO] Currently SELinux is 'enforcing' on the host 04:02:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/26@tmp/jenkins-gitclient-ssh8139287501927033847.key 04:02:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:29 Avoid second fetch 04:02:29 Checking out Revision 65976b5f62c44c0dc6a515179a4847523af2a8b0 (main) 04:02:29 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:02:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:02:29 > git config core.sparsecheckout # timeout=10 04:02:29 > git checkout -f 65976b5f62c44c0dc6a515179a4847523af2a8b0 # timeout=10 04:02:33 Commit message: "Merge pull request #332 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:02:33 provisioning config files... 04:02:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/26@tmp/config6929736858004505782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:02:34 ---> docker-login.sh 04:02:34 nexus3.edgexfoundry.org:10001 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:34 Configure a credential helper to remove this warning. See 04:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:34 04:02:34 Login Succeeded 04:02:34 nexus3.edgexfoundry.org:10002 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:34 Configure a credential helper to remove this warning. See 04:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:34 04:02:34 Login Succeeded 04:02:34 nexus3.edgexfoundry.org:10003 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:34 Configure a credential helper to remove this warning. See 04:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:34 04:02:34 Login Succeeded 04:02:34 nexus3.edgexfoundry.org:10004 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:34 Configure a credential helper to remove this warning. See 04:02:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:34 04:02:34 Login Succeeded 04:02:34 docker.io 04:02:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:02:35 Configure a credential helper to remove this warning. See 04:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:02:35 04:02:35 Login Succeeded 04:02:35 ---> docker-login.sh ends [Pipeline] } 04:02:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:02:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:02:35 ========================================================= 04:02:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 04:02:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:02:35 + 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 . 04:02:35 Sending build context to Docker daemon 2.961MB 04:02:35 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 04:02:35 Step 2/11 : FROM ${BASE} AS builder 04:02:35 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 04:02:35 a0d0a0d46f8b: Pulling fs layer 04:02:35 31adcdaf11c8: Pulling fs layer 04:02:35 b8b176561691: Pulling fs layer 04:02:35 4527c011a84f: Pulling fs layer 04:02:35 5d74067f8e1e: Pulling fs layer 04:02:35 e0aca202a116: Pulling fs layer 04:02:35 3a43be97a3b4: Pulling fs layer 04:02:35 34cad66bf833: Pulling fs layer 04:02:35 b4e3c513aaa6: Pulling fs layer 04:02:35 5d74067f8e1e: Waiting 04:02:35 e0aca202a116: Waiting 04:02:35 3a43be97a3b4: Waiting 04:02:35 34cad66bf833: Waiting 04:02:35 b4e3c513aaa6: Waiting 04:02:35 4527c011a84f: Waiting 04:02:35 b8b176561691: Verifying Checksum 04:02:35 b8b176561691: Download complete 04:02:35 31adcdaf11c8: Verifying Checksum 04:02:35 31adcdaf11c8: Download complete 04:02:35 5d74067f8e1e: Verifying Checksum 04:02:35 5d74067f8e1e: Download complete 04:02:35 e0aca202a116: Verifying Checksum 04:02:35 e0aca202a116: Download complete 04:02:35 a0d0a0d46f8b: Verifying Checksum 04:02:35 a0d0a0d46f8b: Download complete 04:02:35 3a43be97a3b4: Verifying Checksum 04:02:35 3a43be97a3b4: Download complete 04:02:35 34cad66bf833: Verifying Checksum 04:02:35 34cad66bf833: Download complete 04:02:36 b4e3c513aaa6: Verifying Checksum 04:02:36 b4e3c513aaa6: Download complete 04:02:36 a0d0a0d46f8b: Pull complete 04:02:36 4527c011a84f: Verifying Checksum 04:02:36 4527c011a84f: Download complete 04:02:36 31adcdaf11c8: Pull complete 04:02:36 b8b176561691: Pull complete 04:02:40 4527c011a84f: Pull complete 04:02:40 5d74067f8e1e: Pull complete 04:02:40 e0aca202a116: Pull complete 04:02:40 3a43be97a3b4: Pull complete 04:02:40 34cad66bf833: Pull complete 04:02:42 b4e3c513aaa6: Pull complete 04:02:42 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 04:02:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 04:02:42 ---> 9f6097aaca64 04:02:42 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:02:46 ---> Running in ce62a661168d 04:02:46 Removing intermediate container ce62a661168d 04:02:46 ---> 240bd2d6a4d9 04:02:46 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 04:02:46 ---> Running in b6cf489065b8 04:02:46 Removing intermediate container b6cf489065b8 04:02:46 ---> 56dfbe231edd 04:02:46 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:02:46 ---> Running in 872a728236ac 04:02:47 Removing intermediate container 872a728236ac 04:02:47 ---> d4764b05df22 04:02:47 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:02:47 ---> Running in c4d9fedd0e07 04:02:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:02:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:02:48 (1/4) Installing openssh-keygen (8.6_p1-r3) 04:02:48 (2/4) Installing libedit (20210216.3.1-r0) 04:02:48 (3/4) Installing openssh-client-common (8.6_p1-r3) 04:02:48 (4/4) Installing openssh-client-default (8.6_p1-r3) 04:02:48 Executing busybox-1.33.1-r3.trigger 04:02:48 OK: 224 MiB in 56 packages 04:02:49 Removing intermediate container c4d9fedd0e07 04:02:49 ---> 3244e3abdc80 04:02:49 Step 7/11 : WORKDIR /device-mqtt-go 04:02:49 ---> Running in 5765001e514c 04:02:49 Removing intermediate container 5765001e514c 04:02:49 ---> d40a1190d8b3 04:02:49 Step 8/11 : COPY . . 04:02:49 ---> 8888b9e7fe5e 04:02:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:02:49 ---> Running in 563796cacdbc 04:03:21 Removing intermediate container 563796cacdbc 04:03:21 ---> 088ebb49c886 04:03:21 Step 10/11 : ARG MAKE='make build' 04:03:21 ---> Running in 582dcaccd99b 04:03:21 Removing intermediate container 582dcaccd99b 04:03:21 ---> 16e6b80963b1 04:03:21 Step 11/11 : RUN $MAKE 04:03:21 ---> Running in d3247b07e154 04:03:21 noop 04:03:21 Removing intermediate container d3247b07e154 04:03:21 ---> f7eab1e93598 04:03:21 Successfully built f7eab1e93598 04:03:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:03:22 + docker inspect -f . ci-base-image-x86_64 04:03:22 . [Pipeline] withDockerContainer 04:03:22 prd-centos7-docker-4c-2g-333 does not seem to be running inside a container 04:03:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@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 04:03:22 $ docker top 389f743fa3de05c942cdac07556dd357c8a2d35af77e0730a35315157fb4c48d -eo pid,comm [Pipeline] { [Pipeline] sh 04:03:23 + go version 04:03:23 go version go1.16.8 linux/amd64 [Pipeline] } 04:03:23 $ docker stop --time=1 389f743fa3de05c942cdac07556dd357c8a2d35af77e0730a35315157fb4c48d 04:03:24 $ docker rm -f 389f743fa3de05c942cdac07556dd357c8a2d35af77e0730a35315157fb4c48d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:03:24 + docker inspect -f . ci-base-image-x86_64 04:03:24 . [Pipeline] withDockerContainer 04:03:24 prd-centos7-docker-4c-2g-333 does not seem to be running inside a container 04:03:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@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 04:03:25 $ docker top f007dbee289fcd538f1aacbdc3a9398576e91d991fb35e9281a685b22864a7dc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:03:25 + make test 04:03:25 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:03:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:03:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:03:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements 04:03:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:03:41 GCO_ENABLED=1 GO111MODULE=on go vet ./... 04:03:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:03:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:03:47 ./bin/test-attribution-txt.sh [Pipeline] echo 04:03:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:03:47 $ docker stop --time=1 f007dbee289fcd538f1aacbdc3a9398576e91d991fb35e9281a685b22864a7dc 04:03:49 $ docker rm -f f007dbee289fcd538f1aacbdc3a9398576e91d991fb35e9281a685b22864a7dc [Pipeline] // withDockerContainer [Pipeline] sh 04:03:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:03:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:03:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:03:51 + ls -al . 04:03:51 total 148 04:03:51 drwxrwxr-x. 9 jenkins jenkins 4096 Dec 29 04:03 . 04:03:51 drwxrwxr-x. 4 jenkins jenkins 30 Dec 29 04:02 .. 04:03:51 -rw-rw-r--. 1 jenkins jenkins 7287 Dec 29 04:02 Attribution.txt 04:03:51 drwxrwxr-x. 2 jenkins jenkins 60 Dec 29 04:02 bin 04:03:51 -rw-rw-r--. 1 jenkins jenkins 7447 Dec 29 04:02 CHANGELOG.md 04:03:51 drwxrwxr-x. 3 jenkins jenkins 32 Dec 29 04:02 cmd 04:03:51 -rw-r--r--. 1 jenkins jenkins 17452 Dec 29 04:03 coverage.out 04:03:51 -rw-rw-r--. 1 jenkins jenkins 1907 Dec 29 04:02 Dockerfile 04:03:51 -rw-rw-r--. 1 jenkins jenkins 140 Dec 29 04:02 .dockerignore 04:03:51 drwxrwxr-x. 8 jenkins jenkins 162 Dec 29 04:02 .git 04:03:51 drwxrwxr-x. 2 jenkins jenkins 103 Dec 29 04:02 .github 04:03:51 -rw-rw-r--. 1 jenkins jenkins 329 Dec 29 04:02 .gitignore 04:03:51 -rw-rw-r--. 1 jenkins jenkins 410 Dec 29 04:02 go.mod 04:03:51 -rw-rw-r--. 1 jenkins jenkins 49620 Dec 29 04:02 go.sum 04:03:51 -rw-rw-r--. 1 jenkins jenkins 677 Dec 29 04:02 GOVERNANCE.md 04:03:51 drwxrwxr-x. 3 jenkins jenkins 20 Dec 29 04:02 internal 04:03:51 -rw-rw-r--. 1 jenkins jenkins 677 Dec 29 04:02 Jenkinsfile 04:03:51 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 29 04:02 LICENSE 04:03:51 -rw-rw-r--. 1 jenkins jenkins 1030 Dec 29 04:02 Makefile 04:03:51 drwxrwxr-x. 2 jenkins jenkins 23 Dec 29 04:02 mock 04:03:51 -rw-rw-r--. 1 jenkins jenkins 620 Dec 29 04:02 OWNERS.md 04:03:51 -rw-rw-r--. 1 jenkins jenkins 2643 Dec 29 04:02 README.md 04:03:51 drwxrwxr-x. 4 jenkins jenkins 71 Dec 29 04:02 snap 04:03:51 -rw-rw-r--. 1 jenkins jenkins 11 Dec 29 04:01 VERSION 04:03:51 -rw-rw-r--. 1 jenkins jenkins 227 Dec 29 04:02 version.go [Pipeline] isUnix [Pipeline] sh 04:03:51 + 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=65976b5f62c44c0dc6a515179a4847523af2a8b0 --label arch=amd64 --label version=2.2.0-dev.5 . 04:03:51 Sending build context to Docker daemon 2.98MB 04:03:51 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 04:03:51 Step 2/23 : FROM ${BASE} AS builder 04:03:51 ---> f7eab1e93598 04:03:51 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:03:51 ---> Running in 13121214f099 04:03:51 Removing intermediate container 13121214f099 04:03:51 ---> 4a2036246f5c 04:03:51 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 04:03:51 ---> Running in 16f380512638 04:03:51 Removing intermediate container 16f380512638 04:03:51 ---> 2ed0cdcaaf2d 04:03:51 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:03:51 ---> Running in 0a3125f06942 04:03:52 Removing intermediate container 0a3125f06942 04:03:52 ---> bd7252318b69 04:03:52 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:03:52 ---> Running in db83dc804ef9 04:03:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:03:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:03:53 OK: 224 MiB in 56 packages 04:03:54 Removing intermediate container db83dc804ef9 04:03:54 ---> 7e7393d75e3f 04:03:54 Step 7/23 : WORKDIR /device-mqtt-go 04:03:54 ---> Running in 2c21e490bd2a 04:03:54 Removing intermediate container 2c21e490bd2a 04:03:54 ---> 8a4e61c360e1 04:03:54 Step 8/23 : COPY . . 04:03:54 ---> e83c40129d68 04:03:54 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:03:54 ---> Running in d245de163f8d 04:03:54 Removing intermediate container d245de163f8d 04:03:54 ---> d488fe0d83c8 04:03:54 Step 10/23 : ARG MAKE='make build' 04:03:54 ---> Running in 692d06f84616 04:03:54 Removing intermediate container 692d06f84616 04:03:54 ---> eaffb4a109c4 04:03:54 Step 11/23 : RUN $MAKE 04:03:54 ---> Running in 2e8e27743251 04:03:55 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.5" -o cmd/device-mqtt ./cmd 04:04:03 Running on prd-ubuntu18.04-docker-arm64-4c-16g-336 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 04:04:03 Running in /w/workspace/device-mqtt-go/26 [Pipeline] { [Pipeline] checkout 04:04:03 Selected Git installation does not exist. Using Default 04:04:03 The recommended git tool is: NONE 04:04:07 Removing intermediate container 2e8e27743251 04:04:07 ---> 1bd2809f2da9 04:04:07 Step 12/23 : FROM alpine:3.14 04:04:07 3.14: Pulling from library/alpine 04:04:07 97518928ae5f: Pulling fs layer 04:04:07 97518928ae5f: Verifying Checksum 04:04:07 97518928ae5f: Download complete 04:04:07 using credential edgex-jenkins-ssh 04:04:07 Cloning the remote Git repository 04:04:07 97518928ae5f: Pull complete 04:04:07 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:04:07 Status: Downloaded newer image for alpine:3.14 04:04:07 ---> 0a97eee8041e 04:04:07 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:04:07 ---> Running in f8476493418d 04:04:07 Removing intermediate container f8476493418d 04:04:07 ---> 9e05db28b1c7 04:04:07 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 04:04:07 ---> Running in c313539b1032 04:04:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:04:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:04:07 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:04:07 > git init /w/workspace/device-mqtt-go/26 # timeout=10 04:04:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:04:08 > git --version # timeout=10 04:04:08 > git --version # 'git version 2.17.1' 04:04:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:04:08 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:04:08 (1/6) Installing dumb-init (1.2.5-r1) 04:04:08 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:04:08 (3/6) Installing libsodium (1.0.18-r0) 04:04:08 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:04:08 (5/6) Installing libzmq (4.3.4-r0) 04:04:08 (6/6) Installing zeromq (4.3.4-r0) 04:04:08 Executing busybox-1.33.1-r6.trigger 04:04:08 OK: 8 MiB in 20 packages 04:04:08 Removing intermediate container c313539b1032 04:04:08 ---> 94edfe0a8467 04:04:08 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 04:04:09 ---> 86a1b83b604e 04:04:09 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 04:04:09 ---> 3fec32f72363 04:04:09 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:04:09 Avoid second fetch 04:04:09 Checking out Revision 65976b5f62c44c0dc6a515179a4847523af2a8b0 (main) 04:04:09 ---> 43919de0da4b 04:04:09 Step 18/23 : EXPOSE 59982 04:04:09 ---> Running in 14070b996479 04:04:09 Removing intermediate container 14070b996479 04:04:09 ---> 5786f2ef46b0 04:04:09 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 04:04:09 ---> Running in c9d737d09035 04:04:09 Removing intermediate container c9d737d09035 04:04:09 ---> 866ec289573a 04:04:09 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:04:09 ---> Running in 14d2bd3c6030 04:04:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:04:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:04:09 > git config core.sparsecheckout # timeout=10 04:04:09 > git checkout -f 65976b5f62c44c0dc6a515179a4847523af2a8b0 # timeout=10 04:04:09 Removing intermediate container 14d2bd3c6030 04:04:09 ---> 0e377be12f83 04:04:09 Step 21/23 : LABEL arch=amd64 04:04:09 ---> Running in b8ec97e8d521 04:04:09 Removing intermediate container b8ec97e8d521 04:04:09 ---> 17d717d03f03 04:04:09 Step 22/23 : LABEL git_sha=65976b5f62c44c0dc6a515179a4847523af2a8b0 04:04:09 ---> Running in c3df34621a00 04:04:09 Removing intermediate container c3df34621a00 04:04:09 ---> 98eb5e799f5d 04:04:09 Step 23/23 : LABEL version=2.2.0-dev.5 04:04:09 ---> Running in a148f459b0ad 04:04:09 Removing intermediate container a148f459b0ad 04:04:09 ---> 9b1d95bd4fcb 04:04:09 [Warning] One or more build-args [ARCH] were not consumed 04:04:09 Successfully built 9b1d95bd4fcb 04:04:09 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:10 provisioning config files... 04:04:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/26@tmp/config2381828936750973231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:10 ---> docker-login.sh 04:04:10 nexus3.edgexfoundry.org:10001 04:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:10 Configure a credential helper to remove this warning. See 04:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:10 04:04:10 Login Succeeded 04:04:10 nexus3.edgexfoundry.org:10002 04:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:10 Configure a credential helper to remove this warning. See 04:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:10 04:04:10 Login Succeeded 04:04:10 nexus3.edgexfoundry.org:10003 04:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:10 Configure a credential helper to remove this warning. See 04:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:10 04:04:10 Login Succeeded 04:04:10 nexus3.edgexfoundry.org:10004 04:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:10 Configure a credential helper to remove this warning. See 04:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:10 04:04:10 Login Succeeded 04:04:10 docker.io 04:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:11 Configure a credential helper to remove this warning. See 04:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:11 04:04:11 Login Succeeded 04:04:11 ---> docker-login.sh ends [Pipeline] } 04:04:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:04:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:11 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 04:04:11 65976b5f62c44c0dc6a515179a4847523af2a8b0 04:04:11 latest 04:04:11 2.2.0-dev.5 04:04:11 65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5 04:04:11 main 04:04:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:04:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:65976b5f62c44c0dc6a515179a4847523af2a8b0 [Pipeline] isUnix [Pipeline] sh 04:04:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:65976b5f62c44c0dc6a515179a4847523af2a8b0 04:04:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:04:11 411758b42020: Preparing 04:04:11 0f37369fb9d1: Preparing 04:04:11 3926d4f5a292: Preparing 04:04:11 f2b6f9b23bc4: Preparing 04:04:11 1a058d5342cc: Preparing 04:04:11 1a058d5342cc: Layer already exists 04:04:12 411758b42020: Pushed 04:04:12 0f37369fb9d1: Pushed 04:04:12 f2b6f9b23bc4: Pushed 04:04:13 3926d4f5a292: Pushed 04:04:13 65976b5f62c44c0dc6a515179a4847523af2a8b0: digest: sha256:09b81e433bdbfb4aa81f0c5813ab74843cd8816b1f19bfb5fa162db21114c3f9 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:04:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 04:04:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:04:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:04:13 411758b42020: Preparing 04:04:13 0f37369fb9d1: Preparing 04:04:13 3926d4f5a292: Preparing 04:04:13 f2b6f9b23bc4: Preparing 04:04:13 1a058d5342cc: Preparing 04:04:13 1a058d5342cc: Layer already exists 04:04:13 0f37369fb9d1: Layer already exists 04:04:13 3926d4f5a292: Layer already exists 04:04:13 411758b42020: Layer already exists 04:04:13 f2b6f9b23bc4: Layer already exists 04:04:13 latest: digest: sha256:09b81e433bdbfb4aa81f0c5813ab74843cd8816b1f19bfb5fa162db21114c3f9 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:04:13 Commit message: "Merge pull request #332 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.3" 04:04:13 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 04:04:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.5 04:04:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:04:14 411758b42020: Preparing 04:04:14 0f37369fb9d1: Preparing 04:04:14 3926d4f5a292: Preparing 04:04:14 f2b6f9b23bc4: Preparing 04:04:14 1a058d5342cc: Preparing 04:04:14 f2b6f9b23bc4: Layer already exists 04:04:14 411758b42020: Layer already exists 04:04:14 0f37369fb9d1: Layer already exists 04:04:14 1a058d5342cc: Layer already exists 04:04:14 3926d4f5a292: Layer already exists 04:04:14 2.2.0-dev.5: digest: sha256:09b81e433bdbfb4aa81f0c5813ab74843cd8816b1f19bfb5fa162db21114c3f9 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:04:14 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 04:04:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5 04:04:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:04:14 411758b42020: Preparing 04:04:14 0f37369fb9d1: Preparing 04:04:14 3926d4f5a292: Preparing 04:04:14 f2b6f9b23bc4: Preparing 04:04:14 1a058d5342cc: Preparing 04:04:14 1a058d5342cc: Layer already exists 04:04:14 411758b42020: Layer already exists 04:04:14 3926d4f5a292: Layer already exists 04:04:14 f2b6f9b23bc4: Layer already exists 04:04:14 0f37369fb9d1: Layer already exists 04:04:14 65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5: digest: sha256:09b81e433bdbfb4aa81f0c5813ab74843cd8816b1f19bfb5fa162db21114c3f9 size: 1366 [Pipeline] isUnix [Pipeline] sh 04:04:15 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 04:04:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 04:04:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 04:04:15 411758b42020: Preparing 04:04:15 0f37369fb9d1: Preparing 04:04:15 3926d4f5a292: Preparing 04:04:15 f2b6f9b23bc4: Preparing 04:04:15 1a058d5342cc: Preparing 04:04:15 1a058d5342cc: Layer already exists 04:04:15 f2b6f9b23bc4: Layer already exists 04:04:15 411758b42020: Layer already exists 04:04:15 3926d4f5a292: Layer already exists 04:04:15 0f37369fb9d1: Layer already exists 04:04:15 main: digest: sha256:09b81e433bdbfb4aa81f0c5813ab74843cd8816b1f19bfb5fa162db21114c3f9 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:04:15 ===================================================== [Pipeline] echo 04:04:15 taggedImages: 04:04:15 - nexus3.edgexfoundry.org:10004/device-mqtt:65976b5f62c44c0dc6a515179a4847523af2a8b0 04:04:15 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 04:04:15 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.5 04:04:15 - nexus3.edgexfoundry.org:10004/device-mqtt:65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5 04:04:15 - 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 04:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:15 04:04:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:16 latest: Pulling from edgex-lftools-log-publisher 04:04:16 b4d181a07f80: Pulling fs layer 04:04:16 a1111a8f2ec3: Pulling fs layer 04:04:16 ed53099fbce6: Pulling fs layer 04:04:16 dc539afda2c1: Pulling fs layer 04:04:16 77bc0d833cb6: Pulling fs layer 04:04:16 9065ff56babe: Pulling fs layer 04:04:16 d287ab97295c: Pulling fs layer 04:04:16 77bc0d833cb6: Waiting 04:04:16 9065ff56babe: Waiting 04:04:16 d287ab97295c: Waiting 04:04:16 dc539afda2c1: Waiting 04:04:16 a1111a8f2ec3: Verifying Checksum 04:04:16 a1111a8f2ec3: Download complete 04:04:16 dc539afda2c1: Verifying Checksum 04:04:16 dc539afda2c1: Download complete 04:04:16 ed53099fbce6: Verifying Checksum 04:04:16 ed53099fbce6: Download complete 04:04:16 9065ff56babe: Verifying Checksum 04:04:16 9065ff56babe: Download complete 04:04:16 77bc0d833cb6: Verifying Checksum 04:04:16 77bc0d833cb6: Download complete 04:04:16 b4d181a07f80: Verifying Checksum 04:04:16 b4d181a07f80: Download complete 04:04:16 d287ab97295c: Verifying Checksum 04:04:16 d287ab97295c: Download complete 04:04:17 b4d181a07f80: Pull complete 04:04:17 a1111a8f2ec3: Pull complete 04:04:18 ed53099fbce6: Pull complete 04:04:18 dc539afda2c1: Pull complete 04:04:18 77bc0d833cb6: Pull complete 04:04:19 9065ff56babe: Pull complete 04:04:24 d287ab97295c: Pull complete 04:04:24 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:04:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:04:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:04:24 prd-centos7-docker-4c-2g-333 does not seem to be running inside a container 04:04:24 $ 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/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@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 04:04:26 $ docker top 9c5f9e2d1150824ad9f5182a358bdd51fa095b5eaf5ec3eb17d76880a0df6975 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:27 ---> job-cost.sh 04:04:27 lf-activate-venv: SKIPPING 04:04:27 INFO: No Stack... 04:04:27 INFO: Retrieving Pricing Info for: v3-standard-2 04:04:27 INFO: Archiving Costs [Pipeline] sh 04:04:28 + cat /w/workspace/device-mqtt-go/26/archives/cost.csv 04:04:28 + cut -d, -f6 [Pipeline] lock 04:04:28 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-26-stack-cost] 04:04:28 Resource [jenkins-edgexfoundry-device-mqtt-go-main-26-stack-cost] did not exist. Created. 04:04:28 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:04:28 + echo total: 0.05999999865889549 [Pipeline] stash 04:04:28 Stashed 1 file(s) [Pipeline] } 04:04:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 04:04:28 $ docker stop --time=1 9c5f9e2d1150824ad9f5182a358bdd51fa095b5eaf5ec3eb17d76880a0df6975 04:04:29 $ docker rm -f 9c5f9e2d1150824ad9f5182a358bdd51fa095b5eaf5ec3eb17d76880a0df6975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:45 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:45 Dload Upload Total Spent Left Speed 04:07:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 93841 0 --:--:-- --:--:-- --:--:-- 93102 [Pipeline] sh 04:07:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:07:46 + sudo tee /etc/docker/daemon.new 04:07:46 { 04:07:46 "registry-mirrors": [ 04:07:46 "https://nexus3.edgexfoundry.org:10001" 04:07:46 ], 04:07:46 "bip": "10.250.0.254/24", 04:07:46 "hosts": [ 04:07:46 "tcp://0.0.0.0:5555", 04:07:46 "unix:///var/run/docker.sock" 04:07:46 ], 04:07:46 "mtu": 1458, 04:07:46 "selinux-enabled": true, 04:07:46 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:46 } [Pipeline] sh 04:07:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:05 provisioning config files... 04:08:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/26@tmp/config318072922448533393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:05 ---> docker-login.sh 04:08:05 nexus3.edgexfoundry.org:10001 04:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:06 Configure a credential helper to remove this warning. See 04:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:06 04:08:06 Login Succeeded 04:08:06 nexus3.edgexfoundry.org:10002 04:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:06 Configure a credential helper to remove this warning. See 04:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:06 04:08:06 Login Succeeded 04:08:06 nexus3.edgexfoundry.org:10003 04:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:07 Configure a credential helper to remove this warning. See 04:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:07 04:08:07 Login Succeeded 04:08:07 nexus3.edgexfoundry.org:10004 04:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:07 Configure a credential helper to remove this warning. See 04:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:07 04:08:07 Login Succeeded 04:08:07 docker.io 04:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:08 Configure a credential helper to remove this warning. See 04:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:08 04:08:08 Login Succeeded 04:08:08 ---> docker-login.sh ends [Pipeline] } 04:08:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:09 ========================================================= 04:08:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 04:08:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:08:09 + 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 . 04:08:09 Sending build context to Docker daemon 2.96MB 04:08:09 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 04:08:09 Step 2/11 : FROM ${BASE} AS builder 04:08:10 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:10 552d1f2373af: Pulling fs layer 04:08:10 ea3f2d53f512: Pulling fs layer 04:08:10 9e70ebbbe112: Pulling fs layer 04:08:10 7a9cfe048b4a: Pulling fs layer 04:08:10 72dc09318566: Pulling fs layer 04:08:10 f4f7b4309257: Pulling fs layer 04:08:10 0ac9a79272e3: Pulling fs layer 04:08:10 b78e95d17946: Pulling fs layer 04:08:10 7a9cfe048b4a: Waiting 04:08:10 f4f7b4309257: Waiting 04:08:10 0ac9a79272e3: Waiting 04:08:10 b78e95d17946: Waiting 04:08:10 72dc09318566: Waiting 04:08:10 9e70ebbbe112: Download complete 04:08:10 ea3f2d53f512: Verifying Checksum 04:08:10 ea3f2d53f512: Download complete 04:08:10 72dc09318566: Verifying Checksum 04:08:10 72dc09318566: Download complete 04:08:10 f4f7b4309257: Verifying Checksum 04:08:10 f4f7b4309257: Download complete 04:08:10 552d1f2373af: Download complete 04:08:10 0ac9a79272e3: Verifying Checksum 04:08:10 0ac9a79272e3: Download complete 04:08:10 552d1f2373af: Pull complete 04:08:11 ea3f2d53f512: Pull complete 04:08:12 9e70ebbbe112: Pull complete 04:08:12 b78e95d17946: Verifying Checksum 04:08:12 b78e95d17946: Download complete 04:08:12 7a9cfe048b4a: Verifying Checksum 04:08:12 7a9cfe048b4a: Download complete 04:08:24 7a9cfe048b4a: Pull complete 04:08:24 72dc09318566: Pull complete 04:08:24 f4f7b4309257: Pull complete 04:08:24 0ac9a79272e3: Pull complete 04:08:30 b78e95d17946: Pull complete 04:08:30 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 04:08:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 04:08:30 ---> 8b459fc5aaf0 04:08:30 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:08:31 ---> Running in bebb1f8991a8 04:08:31 Removing intermediate container bebb1f8991a8 04:08:31 ---> f4417b0fcd26 04:08:31 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 04:08:31 ---> Running in a3e50873630f 04:08:32 Removing intermediate container a3e50873630f 04:08:32 ---> 43b32bdf5781 04:08:32 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:32 ---> Running in 495b2a64a941 04:08:34 Removing intermediate container 495b2a64a941 04:08:34 ---> 4fd79c63ce72 04:08:34 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:34 ---> Running in b8d1cd51df8a 04:08:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:08:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:08:36 (1/4) Installing openssh-keygen (8.6_p1-r3) 04:08:36 (2/4) Installing libedit (20210216.3.1-r0) 04:08:37 (3/4) Installing openssh-client-common (8.6_p1-r3) 04:08:37 (4/4) Installing openssh-client-default (8.6_p1-r3) 04:08:37 Executing busybox-1.33.1-r3.trigger 04:08:37 OK: 223 MiB in 56 packages 04:08:38 Removing intermediate container b8d1cd51df8a 04:08:38 ---> 98ff3db177c4 04:08:38 Step 7/11 : WORKDIR /device-mqtt-go 04:08:38 ---> Running in 9734317bb5f0 04:08:38 Removing intermediate container 9734317bb5f0 04:08:38 ---> 89af873684b6 04:08:38 Step 8/11 : COPY . . 04:08:39 ---> b8720c8d9ae0 04:08:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:39 ---> Running in 54c5b6be1f69 04:10:01 Removing intermediate container 54c5b6be1f69 04:10:01 ---> 8b666f0e47e6 04:10:01 Step 10/11 : ARG MAKE='make build' 04:10:01 ---> Running in dab7c46467d4 04:10:01 Removing intermediate container dab7c46467d4 04:10:01 ---> 6a50c5316bd4 04:10:01 Step 11/11 : RUN $MAKE 04:10:01 ---> Running in 8be7e3ede2df 04:10:01 noop 04:10:01 Removing intermediate container 8be7e3ede2df 04:10:01 ---> f31f84fd5d45 04:10:01 Successfully built f31f84fd5d45 04:10:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:10:01 + docker inspect -f . ci-base-image-arm64 04:10:01 . [Pipeline] withDockerContainer 04:10:01 prd-ubuntu18.04-docker-arm64-4c-16g-336 does not seem to be running inside a container 04:10:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@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 04:10:03 $ docker top 0db0d1bcdd257929b1131d12449a7929c6891965fe31aac9988d81ed6e2a594d -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:04 + go version 04:10:04 go version go1.16.8 linux/arm64 [Pipeline] } 04:10:04 $ docker stop --time=1 0db0d1bcdd257929b1131d12449a7929c6891965fe31aac9988d81ed6e2a594d 04:10:05 $ docker rm -f 0db0d1bcdd257929b1131d12449a7929c6891965fe31aac9988d81ed6e2a594d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:10:06 + docker inspect -f . ci-base-image-arm64 04:10:06 . [Pipeline] withDockerContainer 04:10:06 prd-ubuntu18.04-docker-arm64-4c-16g-336 does not seem to be running inside a container 04:10:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@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 04:10:07 $ docker top f28c7beac20e8ec5748539bc04469c47358a5b498aa4031338edf47bbd70bf5d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:10:08 + make test 04:10:08 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:10:10 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:11:06 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:11:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.053s coverage: 22.5% of statements 04:11:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:11:06 GCO_ENABLED=1 GO111MODULE=on go vet ./... 04:11:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:11:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:11:29 ./bin/test-attribution-txt.sh [Pipeline] echo 04:11:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:11:29 $ docker stop --time=1 f28c7beac20e8ec5748539bc04469c47358a5b498aa4031338edf47bbd70bf5d 04:11:30 $ docker rm -f f28c7beac20e8ec5748539bc04469c47358a5b498aa4031338edf47bbd70bf5d [Pipeline] // withDockerContainer [Pipeline] sh 04:11:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:11:31 Warning: overwriting stash ‘coverage-report’ 04:11:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:11:32 + ls -al . 04:11:32 total 180 04:11:32 drwxrwxr-x 9 jenkins jenkins 4096 Dec 29 04:11 . 04:11:32 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 04:04 .. 04:11:32 -rw-rw-r-- 1 jenkins jenkins 140 Dec 29 04:04 .dockerignore 04:11:32 drwxrwxr-x 8 jenkins jenkins 4096 Dec 29 04:04 .git 04:11:32 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 04:04 .github 04:11:32 -rw-rw-r-- 1 jenkins jenkins 329 Dec 29 04:04 .gitignore 04:11:32 -rw-rw-r-- 1 jenkins jenkins 7287 Dec 29 04:04 Attribution.txt 04:11:32 -rw-rw-r-- 1 jenkins jenkins 7447 Dec 29 04:04 CHANGELOG.md 04:11:32 -rw-rw-r-- 1 jenkins jenkins 1907 Dec 29 04:04 Dockerfile 04:11:32 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 04:04 GOVERNANCE.md 04:11:32 -rw-rw-r-- 1 jenkins jenkins 677 Dec 29 04:04 Jenkinsfile 04:11:32 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 29 04:04 LICENSE 04:11:32 -rw-rw-r-- 1 jenkins jenkins 1030 Dec 29 04:04 Makefile 04:11:32 -rw-rw-r-- 1 jenkins jenkins 620 Dec 29 04:04 OWNERS.md 04:11:32 -rw-rw-r-- 1 jenkins jenkins 2643 Dec 29 04:04 README.md 04:11:32 -rw-rw-r-- 1 jenkins jenkins 11 Dec 29 04:01 VERSION 04:11:32 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 04:04 bin 04:11:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:04 cmd 04:11:32 -rw-r--r-- 1 jenkins jenkins 17452 Dec 29 04:11 coverage.out 04:11:32 -rw-rw-r-- 1 jenkins jenkins 410 Dec 29 04:04 go.mod 04:11:32 -rw-rw-r-- 1 jenkins jenkins 49620 Dec 29 04:04 go.sum 04:11:32 drwxrwxr-x 3 jenkins jenkins 4096 Dec 29 04:04 internal 04:11:32 drwxrwxr-x 2 jenkins jenkins 4096 Dec 29 04:04 mock 04:11:32 drwxrwxr-x 4 jenkins jenkins 4096 Dec 29 04:04 snap 04:11:32 -rw-rw-r-- 1 jenkins jenkins 227 Dec 29 04:04 version.go [Pipeline] isUnix [Pipeline] sh 04:11:33 + 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=65976b5f62c44c0dc6a515179a4847523af2a8b0 --label arch=arm64 --label version=2.2.0-dev.5 . 04:11:33 Sending build context to Docker daemon 2.979MB 04:11:33 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 04:11:33 Step 2/23 : FROM ${BASE} AS builder 04:11:33 ---> f31f84fd5d45 04:11:33 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:11:33 ---> Running in 59d9d865378c 04:11:33 Removing intermediate container 59d9d865378c 04:11:33 ---> ba5f8498b546 04:11:33 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 04:11:33 ---> Running in ce4b1ed4ff38 04:11:34 Removing intermediate container ce4b1ed4ff38 04:11:34 ---> 1485ab5fff9d 04:11:34 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:34 ---> Running in 72e4d95c89c1 04:11:35 Removing intermediate container 72e4d95c89c1 04:11:35 ---> 34e22f529bdc 04:11:35 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:11:35 ---> Running in 26cb7799ef1f 04:11:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:11:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:11:38 OK: 223 MiB in 56 packages 04:11:39 Removing intermediate container 26cb7799ef1f 04:11:39 ---> 8a3fae87c9c3 04:11:39 Step 7/23 : WORKDIR /device-mqtt-go 04:11:39 ---> Running in 1ed41e7b9667 04:11:39 Removing intermediate container 1ed41e7b9667 04:11:39 ---> b33c2a132d8b 04:11:39 Step 8/23 : COPY . . 04:11:40 ---> 91c7196f2080 04:11:40 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:40 ---> Running in a2908d063c3a 04:11:42 Removing intermediate container a2908d063c3a 04:11:42 ---> 6c52fc562dd3 04:11:42 Step 10/23 : ARG MAKE='make build' 04:11:42 ---> Running in 4461b705dbec 04:11:43 Removing intermediate container 4461b705dbec 04:11:43 ---> 2c5e74b7d8f5 04:11:43 Step 11/23 : RUN $MAKE 04:11:43 ---> Running in e0601276c161 04:11:44 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.5" -o cmd/device-mqtt ./cmd 04:12:23 Removing intermediate container e0601276c161 04:12:23 ---> d7034cdb8047 04:12:23 Step 12/23 : FROM alpine:3.14 04:12:23 3.14: Pulling from library/alpine 04:12:23 be307f383ecc: Pulling fs layer 04:12:23 be307f383ecc: Verifying Checksum 04:12:23 be307f383ecc: Download complete 04:12:23 be307f383ecc: Pull complete 04:12:23 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 04:12:23 Status: Downloaded newer image for alpine:3.14 04:12:23 ---> 5b8b7b635229 04:12:23 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:12:23 ---> Running in c752087f3647 04:12:23 Removing intermediate container c752087f3647 04:12:23 ---> d019c0d28357 04:12:23 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 04:12:23 ---> Running in 5abe44155b8c 04:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:12:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:12:23 (1/6) Installing dumb-init (1.2.5-r1) 04:12:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:12:23 (3/6) Installing libsodium (1.0.18-r0) 04:12:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:12:23 (5/6) Installing libzmq (4.3.4-r0) 04:12:23 (6/6) Installing zeromq (4.3.4-r0) 04:12:23 Executing busybox-1.33.1-r6.trigger 04:12:23 OK: 8 MiB in 20 packages 04:12:24 Removing intermediate container 5abe44155b8c 04:12:24 ---> 05b83a1d6e26 04:12:24 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 04:12:25 ---> 681e71f6e851 04:12:25 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 04:12:26 ---> 04e67d89e7b6 04:12:26 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:12:27 ---> 3b86b345c43d 04:12:27 Step 18/23 : EXPOSE 59982 04:12:27 ---> Running in 96f0c3096558 04:12:27 Removing intermediate container 96f0c3096558 04:12:27 ---> 1ea75f89d09b 04:12:27 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 04:12:27 ---> Running in c47d68e69a36 04:12:27 Removing intermediate container c47d68e69a36 04:12:27 ---> 71bf65e059b9 04:12:27 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:12:27 ---> Running in 69d3ec33770a 04:12:28 Removing intermediate container 69d3ec33770a 04:12:28 ---> a4a4946c741c 04:12:28 Step 21/23 : LABEL arch=arm64 04:12:28 ---> Running in 984d7a85577c 04:12:28 Removing intermediate container 984d7a85577c 04:12:28 ---> 6c157062956f 04:12:28 Step 22/23 : LABEL git_sha=65976b5f62c44c0dc6a515179a4847523af2a8b0 04:12:28 ---> Running in 32440474ee0a 04:12:29 Removing intermediate container 32440474ee0a 04:12:29 ---> 850a2d772a6c 04:12:29 Step 23/23 : LABEL version=2.2.0-dev.5 04:12:29 ---> Running in 86f0c13adaaf 04:12:29 Removing intermediate container 86f0c13adaaf 04:12:29 ---> bdbb8bcb0d78 04:12:29 [Warning] One or more build-args [ARCH] were not consumed 04:12:29 Successfully built bdbb8bcb0d78 04:12:29 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 04:12:29 provisioning config files... 04:12:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/26@tmp/config9173773581731850863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:30 ---> docker-login.sh 04:12:30 nexus3.edgexfoundry.org:10001 04:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:30 Configure a credential helper to remove this warning. See 04:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:30 04:12:30 Login Succeeded 04:12:30 nexus3.edgexfoundry.org:10002 04:12:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:30 Configure a credential helper to remove this warning. See 04:12:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:30 04:12:30 Login Succeeded 04:12:30 nexus3.edgexfoundry.org:10003 04:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:31 Configure a credential helper to remove this warning. See 04:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:31 04:12:31 Login Succeeded 04:12:31 nexus3.edgexfoundry.org:10004 04:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:31 Configure a credential helper to remove this warning. See 04:12:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:31 04:12:31 Login Succeeded 04:12:31 docker.io 04:12:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:12:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:12:32 Configure a credential helper to remove this warning. See 04:12:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:12:32 04:12:32 Login Succeeded 04:12:32 ---> docker-login.sh ends [Pipeline] } 04:12:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:12:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:12:32 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 04:12:32 65976b5f62c44c0dc6a515179a4847523af2a8b0 04:12:32 latest 04:12:32 2.2.0-dev.5 04:12:32 65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5 04:12:32 main 04:12:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:12:33 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:65976b5f62c44c0dc6a515179a4847523af2a8b0 [Pipeline] isUnix [Pipeline] sh 04:12:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:65976b5f62c44c0dc6a515179a4847523af2a8b0 04:12:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:12:33 d836cdd6bdb0: Preparing 04:12:33 474022f7d63a: Preparing 04:12:33 5bf46a6b3c59: Preparing 04:12:33 b5600c99bb12: Preparing 04:12:33 62170e181a92: Preparing 04:12:33 62170e181a92: Layer already exists 04:12:33 474022f7d63a: Pushed 04:12:33 d836cdd6bdb0: Pushed 04:12:34 b5600c99bb12: Pushed 04:12:36 5bf46a6b3c59: Pushed 04:12:36 65976b5f62c44c0dc6a515179a4847523af2a8b0: digest: sha256:6914d8b585d0387569b61fef946c447c05fa931a07ace12a47cb1c9f1f1bf518 size: 1365 [Pipeline] isUnix [Pipeline] sh 04:12:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:12:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:12:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:12:37 d836cdd6bdb0: Preparing 04:12:37 474022f7d63a: Preparing 04:12:37 5bf46a6b3c59: Preparing 04:12:37 b5600c99bb12: Preparing 04:12:37 62170e181a92: Preparing 04:12:37 62170e181a92: Layer already exists 04:12:37 5bf46a6b3c59: Layer already exists 04:12:37 474022f7d63a: Layer already exists 04:12:37 b5600c99bb12: Layer already exists 04:12:37 d836cdd6bdb0: Layer already exists 04:12:37 latest: digest: sha256:6914d8b585d0387569b61fef946c447c05fa931a07ace12a47cb1c9f1f1bf518 size: 1365 [Pipeline] isUnix [Pipeline] sh 04:12:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 04:12:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.5 04:12:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:12:38 d836cdd6bdb0: Preparing 04:12:38 474022f7d63a: Preparing 04:12:38 5bf46a6b3c59: Preparing 04:12:38 b5600c99bb12: Preparing 04:12:38 62170e181a92: Preparing 04:12:38 b5600c99bb12: Layer already exists 04:12:38 5bf46a6b3c59: Layer already exists 04:12:38 474022f7d63a: Layer already exists 04:12:38 62170e181a92: Layer already exists 04:12:38 d836cdd6bdb0: Layer already exists 04:12:38 2.2.0-dev.5: digest: sha256:6914d8b585d0387569b61fef946c447c05fa931a07ace12a47cb1c9f1f1bf518 size: 1365 [Pipeline] isUnix [Pipeline] sh 04:12:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh 04:12:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5 04:12:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:12:39 d836cdd6bdb0: Preparing 04:12:39 474022f7d63a: Preparing 04:12:39 5bf46a6b3c59: Preparing 04:12:39 b5600c99bb12: Preparing 04:12:39 62170e181a92: Preparing 04:12:39 d836cdd6bdb0: Layer already exists 04:12:39 5bf46a6b3c59: Layer already exists 04:12:39 474022f7d63a: Layer already exists 04:12:39 62170e181a92: Layer already exists 04:12:39 b5600c99bb12: Layer already exists 04:12:39 65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5: digest: sha256:6914d8b585d0387569b61fef946c447c05fa931a07ace12a47cb1c9f1f1bf518 size: 1365 [Pipeline] isUnix [Pipeline] sh 04:12:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 04:12:40 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 04:12:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 04:12:40 d836cdd6bdb0: Preparing 04:12:40 474022f7d63a: Preparing 04:12:40 5bf46a6b3c59: Preparing 04:12:40 b5600c99bb12: Preparing 04:12:40 62170e181a92: Preparing 04:12:40 5bf46a6b3c59: Layer already exists 04:12:40 62170e181a92: Layer already exists 04:12:40 b5600c99bb12: Layer already exists 04:12:40 d836cdd6bdb0: Layer already exists 04:12:40 474022f7d63a: Layer already exists 04:12:40 main: digest: sha256:6914d8b585d0387569b61fef946c447c05fa931a07ace12a47cb1c9f1f1bf518 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:12:40 ===================================================== [Pipeline] echo 04:12:40 taggedImages: 04:12:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:65976b5f62c44c0dc6a515179a4847523af2a8b0 04:12:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 04:12:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.5 04:12:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:65976b5f62c44c0dc6a515179a4847523af2a8b0-2.2.0-dev.5 04:12:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:40 04:12:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:12:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:41 arm64: Pulling from edgex-lftools-log-publisher 04:12:41 448f6bf000e3: Pulling fs layer 04:12:41 f757da607395: Pulling fs layer 04:12:41 05883995daec: Pulling fs layer 04:12:41 8603b9c90790: Pulling fs layer 04:12:41 1560dd03e051: Pulling fs layer 04:12:41 27f5ce0e4adf: Pulling fs layer 04:12:41 c2d8d7efcc4b: Pulling fs layer 04:12:41 8603b9c90790: Waiting 04:12:41 1560dd03e051: Waiting 04:12:41 27f5ce0e4adf: Waiting 04:12:41 c2d8d7efcc4b: Waiting 04:12:41 f757da607395: Verifying Checksum 04:12:41 f757da607395: Download complete 04:12:41 8603b9c90790: Verifying Checksum 04:12:41 8603b9c90790: Download complete 04:12:41 1560dd03e051: Verifying Checksum 04:12:41 1560dd03e051: Download complete 04:12:41 05883995daec: Verifying Checksum 04:12:41 05883995daec: Download complete 04:12:41 27f5ce0e4adf: Verifying Checksum 04:12:41 27f5ce0e4adf: Download complete 04:12:41 448f6bf000e3: Verifying Checksum 04:12:41 448f6bf000e3: Download complete 04:12:44 c2d8d7efcc4b: Verifying Checksum 04:12:44 c2d8d7efcc4b: Download complete 04:12:45 448f6bf000e3: Pull complete 04:12:46 f757da607395: Pull complete 04:12:47 05883995daec: Pull complete 04:12:47 8603b9c90790: Pull complete 04:12:48 1560dd03e051: Pull complete 04:12:48 27f5ce0e4adf: Pull complete 04:13:03 c2d8d7efcc4b: Pull complete 04:13:03 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 04:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:13:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:13:03 prd-ubuntu18.04-docker-arm64-4c-16g-336 does not seem to be running inside a container 04:13: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/26 -v /w/workspace/device-mqtt-go/26:/w/workspace/device-mqtt-go/26:rw,z -v /w/workspace/device-mqtt-go/26@tmp:/w/workspace/device-mqtt-go/26@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 04:13:06 $ docker top 17e83e56052991f21ce59def87721c9540762a406c493d5afb29ad1dc010421e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:07 ---> job-cost.sh 04:13:07 lf-activate-venv: SKIPPING 04:13:07 INFO: No Stack... 04:13:07 INFO: Retrieving Pricing Info for: v3-standard-4 04:13:08 INFO: Archiving Costs [Pipeline] sh 04:13:09 + + cut -d, -f6cat 04:13:09 /w/workspace/device-mqtt-go/26/archives/cost.csv [Pipeline] lock 04:13:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-26-stack-cost] 04:13:09 Resource [jenkins-edgexfoundry-device-mqtt-go-main-26-stack-cost] did not exist. Created. 04:13:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:13:09 /w/workspace/device-mqtt-go/26@tmp/durable-7fe0321f/script.sh: 1: /w/workspace/device-mqtt-go/26@tmp/durable-7fe0321f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 04:13:10 + echo total: 0.10999999940395355 [Pipeline] stash 04:13:10 Warning: overwriting stash ‘stack-cost’ 04:13:10 Stashed 1 file(s) [Pipeline] } 04:13:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 04:13:10 $ docker stop --time=1 17e83e56052991f21ce59def87721c9540762a406c493d5afb29ad1dc010421e 04:13:12 $ docker rm -f 17e83e56052991f21ce59def87721c9540762a406c493d5afb29ad1dc010421e [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 04:13:12 provisioning config files... 04:13:12 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7676887066877292862tmp [Pipeline] { [Pipeline] sh 04:13:12 + set +x 04:13:12 + curl -s https://codecov.io/bash 04:13:12 + bash -s -- 04:13:12 04:13:12 _____ _ 04:13:12 / ____| | | 04:13:12 | | ___ __| | ___ ___ _____ __ 04:13:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:13:12 | |___| (_) | (_| | __/ (_| (_) \ V / 04:13:12 \_____\___/ \__,_|\___|\___\___/ \_/ 04:13:12 Bash-1.0.6 04:13:12 04:13:12 04:13:12 ==> git version 2.24.4 found 04:13:12 ==> 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 04:13:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 04:13:12 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 04:13:12 ==> Jenkins CI detected. 04:13:12 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 04:13:12 project root: . 04:13:12 --> token set from env 04:13:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:13:13 ==> Running gcov in . (disable via -X gcov) 04:13:13 ==> Python coveragepy not found 04:13:13 ==> Searching for coverage reports in: 04:13:13 + . 04:13:13 -> Found 1 reports 04:13:13 ==> Detecting git/mercurial file structure 04:13:13 ==> Reading reports 04:13:13 + ./coverage.out bytes=17452 04:13:13 ==> Appending adjustments 04:13:13 https://docs.codecov.io/docs/fixing-reports 04:13:13 + Found adjustments 04:13:13 ==> Gzipping contents 04:13:13 4.0K /tmp/codecov.Z5Tw8V.gz 04:13:13 ==> Uploading reports 04:13:13 url: https://codecov.io 04:13:13 query: branch=main&commit=65976b5f62c44c0dc6a515179a4847523af2a8b0&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:13:13 -> Pinging Codecov 04:13:13 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=65976b5f62c44c0dc6a515179a4847523af2a8b0&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:13:13 -> Uploading to 04:13:13 https://storage.googleapis.com/codecov/v4/raw/2021-12-29/7D719EC7BBE17E464838252E33014C33/65976b5f62c44c0dc6a515179a4847523af2a8b0/052d8948-2177-451e-a90d-5124e5a73973.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211229%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211229T041313Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69b9d8ba657504f87be796573fc880ea5763cf3039b18dec4d6fdcda4353a092 04:13:13 % Total % Received % Xferd Average Speed Time Time Time Current 04:13:13 Dload Upload Total Spent Left Speed 04:13:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3218 0 0 100 3218 0 9935 --:--:-- --:--:-- --:--:-- 9932 04:13:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/65976b5f62c44c0dc6a515179a4847523af2a8b0 [Pipeline] } 04:13:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:13:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:13:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:13:14 04:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:13:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:13:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:13:14 188c0c94c7c5: Pulling fs layer 04:13:14 0ef7d3d256c8: Pulling fs layer 04:13:14 de9db76c5a1d: Pulling fs layer 04:13:14 0eba1c9be4d2: Pulling fs layer 04:13:14 0d57e429df01: Pulling fs layer 04:13:14 4e4be7b47b0d: Pulling fs layer 04:13:14 e1f770b5df2f: Pulling fs layer 04:13:14 85a0685a4137: Pulling fs layer 04:13:14 0d57e429df01: Waiting 04:13:14 4e4be7b47b0d: Waiting 04:13:14 e1f770b5df2f: Waiting 04:13:14 85a0685a4137: Waiting 04:13:14 0eba1c9be4d2: Waiting 04:13:14 de9db76c5a1d: Download complete 04:13:14 0ef7d3d256c8: Verifying Checksum 04:13:14 0ef7d3d256c8: Download complete 04:13:14 0d57e429df01: Verifying Checksum 04:13:14 0d57e429df01: Download complete 04:13:14 4e4be7b47b0d: Verifying Checksum 04:13:14 4e4be7b47b0d: Download complete 04:13:14 188c0c94c7c5: Verifying Checksum 04:13:14 188c0c94c7c5: Download complete 04:13:15 e1f770b5df2f: Verifying Checksum 04:13:15 e1f770b5df2f: Download complete 04:13:15 188c0c94c7c5: Pull complete 04:13:15 0ef7d3d256c8: Pull complete 04:13:15 de9db76c5a1d: Pull complete 04:13:15 0eba1c9be4d2: Verifying Checksum 04:13:15 0eba1c9be4d2: Download complete 04:13:15 85a0685a4137: Verifying Checksum 04:13:15 85a0685a4137: Download complete 04:13:20 0eba1c9be4d2: Pull complete 04:13:20 0d57e429df01: Pull complete 04:13:20 4e4be7b47b0d: Pull complete 04:13:20 e1f770b5df2f: Pull complete 04:13:23 85a0685a4137: Pull complete 04:13:23 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:13:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:13:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:13:23 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 04:13:23 $ 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 04:13:26 $ docker top 92c6b1a98d2c295942250183d7429ce0ac51077812dab8997b8a7c9c91e3a607 -eo pid,comm [Pipeline] { [Pipeline] echo 04:13:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:13:26 + set -o pipefail 04:13:26 + snyk monitor '--org=edgex-jenkins' 04:13:30 04:13:30 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 04:13:30 04:13:30 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/4b107500-9632-4384-b520-fc0141f0dd6d 04:13:30 04:13:30 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:13:30 04:13:30 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:13:30 04:13:32 [Pipeline] } 04:13:32 $ docker stop --time=1 92c6b1a98d2c295942250183d7429ce0ac51077812dab8997b8a7c9c91e3a607 04:13:34 $ docker rm -f 92c6b1a98d2c295942250183d7429ce0ac51077812dab8997b8a7c9c91e3a607 [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 04:13:35 + git log --format=format:%s -1 65976b5f62c44c0dc6a515179a4847523af2a8b0 [Pipeline] sh 04:13:35 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:13:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:13:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:13:35 . [Pipeline] withDockerContainer 04:13:35 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 04:13:35 $ 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 04:13:36 $ docker top 98c7b886ed64bd6aa7f03561ae979610089c024955a5556c94daad9b7fc5ea3d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:13:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:36 [ssh-agent] Looking for ssh-agent implementation... 04:13:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:36 $ docker exec 98c7b886ed64bd6aa7f03561ae979610089c024955a5556c94daad9b7fc5ea3d ssh-agent 04:13:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBbeiJF/agent.14 04:13:36 SSH_AGENT_PID=21 04:13:36 Running ssh-add (command line suppressed) 04:13:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7776817864133584677.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7776817864133584677.key) 04:13:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:36 + git semver tag 04:13:36 # -> Open(): unable to determine branch for HEAD 04:13:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 04:13:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 04:13:36 # $SEMVER_REMOTE_NAME = origin 04:13:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:13:36 # $SEMVER_USER_NAME = edgex-jenkins 04:13:36 # $SEMVER_BRANCH = main 04:13:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:13:36 # 65976b5f62c44c0dc6a515179a4847523af2a8b0 HEAD 04:13:36 # -> Force: false 04:13:36 # 752582f11937776b58366b89dd1b617d4b6f4a3c refs/tags/v2.2.0-dev.5 [Pipeline] } 04:13:36 $ docker exec --env ******** --env ******** 98c7b886ed64bd6aa7f03561ae979610089c024955a5556c94daad9b7fc5ea3d ssh-agent -k 04:13:36 unset SSH_AUTH_SOCK; 04:13:36 unset SSH_AGENT_PID; 04:13:36 echo Agent pid 21 killed; 04:13:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:13:37 + git semver [Pipeline] } 04:13:37 $ docker stop --time=1 98c7b886ed64bd6aa7f03561ae979610089c024955a5556c94daad9b7fc5ea3d 04:13:38 $ docker rm -f 98c7b886ed64bd6aa7f03561ae979610089c024955a5556c94daad9b7fc5ea3d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:13:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:13:38 04:13:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:13:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:13:39 0.23.1-centos7: Pulling from edgex-lftools 04:13:39 ab5ef0e58194: Pulling fs layer 04:13:39 9712f1f96733: Pulling fs layer 04:13:39 63f879dbbcfc: Pulling fs layer 04:13:39 0d9ebad4ef96: Pulling fs layer 04:13:39 e9a5061849ea: Pulling fs layer 04:13:39 d747dcd14b5f: Pulling fs layer 04:13:39 2de7ff778b66: Pulling fs layer 04:13:39 e9a5061849ea: Waiting 04:13:39 d747dcd14b5f: Waiting 04:13:39 2de7ff778b66: Waiting 04:13:39 0d9ebad4ef96: Waiting 04:13:39 9712f1f96733: Verifying Checksum 04:13:39 9712f1f96733: Download complete 04:13:39 63f879dbbcfc: Verifying Checksum 04:13:39 63f879dbbcfc: Download complete 04:13:39 0d9ebad4ef96: Verifying Checksum 04:13:39 0d9ebad4ef96: Download complete 04:13:39 d747dcd14b5f: Verifying Checksum 04:13:39 d747dcd14b5f: Download complete 04:13:39 ab5ef0e58194: Verifying Checksum 04:13:39 ab5ef0e58194: Download complete 04:13:39 e9a5061849ea: Verifying Checksum 04:13:39 e9a5061849ea: Download complete 04:13:39 2de7ff778b66: Verifying Checksum 04:13:39 2de7ff778b66: Download complete 04:13:43 ab5ef0e58194: Pull complete 04:13:43 9712f1f96733: Pull complete 04:13:43 63f879dbbcfc: Pull complete 04:13:48 0d9ebad4ef96: Pull complete 04:13:48 e9a5061849ea: Pull complete 04:13:48 d747dcd14b5f: Pull complete 04:13:49 2de7ff778b66: Pull complete 04:13:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:13:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:13:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:13:49 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 04:13:49 $ 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 04:13:52 $ docker top d6db6e568e1fb78c07941e098241167d7030e61d5f4fe7ab1a60965b0a473c45 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:13:52 provisioning config files... 04:13:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2060870971005597331tmp 04:13:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1118054319863858546tmp 04:13:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4421765859765944469tmp [Pipeline] { [Pipeline] echo 04:13:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:13:52 ---> sigul-configuration.sh 04:13:52 gpg: directory `/root/.gnupg' created 04:13:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:13:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:13:52 gpg: keyring `/root/.gnupg/secring.gpg' created 04:13:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:13:52 gpg: CAST5 encrypted data 04:13:52 gpg: encrypted with 1 passphrase 04:13:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:13:53 + mkdir /home/jenkins 04:13:53 + mkdir /home/jenkins/sigul [Pipeline] sh 04:13:53 + 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 04:13:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:13:53 ---> sigul-install.sh 04:13:53 Sigul already installed; skipping installation. [Pipeline] sh 04:13:54 + git tag --list 04:13:54 0.7.1 04:13:54 v1.0.0 04:13:54 v1.1.0 04:13:54 v1.1.1 04:13:54 v1.2.2 04:13:54 v1.3.0 04:13:54 v1.3.1 04:13:54 v2.0.0 04:13:54 v2.0.1-dev.1 04:13:54 v2.0.1-dev.10 04:13:54 v2.0.1-dev.11 04:13:54 v2.0.1-dev.12 04:13:54 v2.0.1-dev.13 04:13:54 v2.0.1-dev.14 04:13:54 v2.0.1-dev.15 04:13:54 v2.0.1-dev.16 04:13:54 v2.0.1-dev.17 04:13:54 v2.0.1-dev.2 04:13:54 v2.0.1-dev.3 04:13:54 v2.0.1-dev.4 04:13:54 v2.0.1-dev.5 04:13:54 v2.0.1-dev.6 04:13:54 v2.0.1-dev.7 04:13:54 v2.0.1-dev.8 04:13:54 v2.0.1-dev.9 04:13:54 v2.1.0 04:13:54 v2.2.0-dev.1 04:13:54 v2.2.0-dev.2 04:13:54 v2.2.0-dev.3 04:13:54 v2.2.0-dev.4 04:13:54 v2.2.0-dev.5 [Pipeline] sh 04:13:54 + lftools sign git-tag v2.2.0-dev.5 04:13:54 Signing Git tag with Sigul... 04:13:54 Signing v2.2.0-dev.5 [Pipeline] echo 04:13:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:13:56 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:13:56 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:13:56 $ docker stop --time=1 d6db6e568e1fb78c07941e098241167d7030e61d5f4fe7ab1a60965b0a473c45 04:13:57 $ docker rm -f d6db6e568e1fb78c07941e098241167d7030e61d5f4fe7ab1a60965b0a473c45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:13:57 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:13:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:13:58 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:13:58 . [Pipeline] withDockerContainer 04:13:58 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 04:13:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:13:58 $ docker top 91746dfbc18bdab6d008677cb4b3eeea3ff400eecce7275b8af340027847c153 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:13:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:58 [ssh-agent] Looking for ssh-agent implementation... 04:13:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:58 $ docker exec 91746dfbc18bdab6d008677cb4b3eeea3ff400eecce7275b8af340027847c153 ssh-agent 04:13:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXonFDMc/agent.13 04:13:58 SSH_AGENT_PID=19 04:13:58 Running ssh-add (command line suppressed) 04:13:58 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6220988395329732808.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6220988395329732808.key) 04:13:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:59 + git semver bump pre 04:13:59 # -> Open(): unable to determine branch for HEAD 04:13:59 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 04:13:59 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 04:13:59 # $SEMVER_REMOTE_NAME = origin 04:13:59 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:13:59 # $SEMVER_USER_NAME = edgex-jenkins 04:13:59 # $SEMVER_BRANCH = main 04:13:59 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 04:13:59 2.2.0-dev.6 [Pipeline] } 04:13:59 $ docker exec --env ******** --env ******** 91746dfbc18bdab6d008677cb4b3eeea3ff400eecce7275b8af340027847c153 ssh-agent -k 04:13:59 unset SSH_AUTH_SOCK; 04:13:59 unset SSH_AGENT_PID; 04:13:59 echo Agent pid 19 killed; 04:13:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:13:59 + git semver [Pipeline] } 04:13:59 $ docker stop --time=1 91746dfbc18bdab6d008677cb4b3eeea3ff400eecce7275b8af340027847c153 04:14:00 $ docker rm -f 91746dfbc18bdab6d008677cb4b3eeea3ff400eecce7275b8af340027847c153 [Pipeline] // withDockerContainer [Pipeline] sh 04:14:01 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 04:14:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:14:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:14:01 . [Pipeline] withDockerContainer 04:14:01 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 04:14:01 $ 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 04:14:02 $ docker top c5fa35305408e8fd1a47948b5a5b7487fbd03d0fdabf28207152b878fb49fa7c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:14:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:14:02 [ssh-agent] Looking for ssh-agent implementation... 04:14:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:14:02 $ docker exec c5fa35305408e8fd1a47948b5a5b7487fbd03d0fdabf28207152b878fb49fa7c ssh-agent 04:14:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAGBKFO/agent.13 04:14:02 SSH_AGENT_PID=19 04:14:02 Running ssh-add (command line suppressed) 04:14:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4577779384255855587.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4577779384255855587.key) 04:14:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:14:02 + git semver push 04:14:02 # -> Open(): unable to determine branch for HEAD 04:14:02 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 04:14:02 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 04:14:02 # $SEMVER_REMOTE_NAME = origin 04:14:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:14:02 # $SEMVER_USER_NAME = edgex-jenkins 04:14:02 # $SEMVER_BRANCH = main 04:14:02 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 04:14:04 $ docker exec --env ******** --env ******** c5fa35305408e8fd1a47948b5a5b7487fbd03d0fdabf28207152b878fb49fa7c ssh-agent -k 04:14:04 unset SSH_AUTH_SOCK; 04:14:04 unset SSH_AGENT_PID; 04:14:04 echo Agent pid 19 killed; 04:14:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:14:05 + git semver [Pipeline] } 04:14:05 $ docker stop --time=1 c5fa35305408e8fd1a47948b5a5b7487fbd03d0fdabf28207152b878fb49fa7c 04:14:06 $ docker rm -f c5fa35305408e8fd1a47948b5a5b7487fbd03d0fdabf28207152b878fb49fa7c [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 04:14:06 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 04:14:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:14:07 ---> package-listing.sh 04:14:07 ++ tr '[:upper:]' '[:lower:]' 04:14:07 ++ facter osfamily 04:14:07 + OS_FAMILY=redhat 04:14:07 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 04:14:07 + START_PACKAGES=/tmp/packages_start.txt 04:14:07 + END_PACKAGES=/tmp/packages_end.txt 04:14:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:14:07 + PACKAGES=/tmp/packages_start.txt 04:14:07 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:14:07 + PACKAGES=/tmp/packages_end.txt 04:14:07 + case "${OS_FAMILY}" in 04:14:07 + sort 04:14:07 + rpm -qa 04:14:08 + '[' -f /tmp/packages_start.txt ']' 04:14:08 + '[' -f /tmp/packages_end.txt ']' 04:14:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:14:08 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 04:14:08 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 04:14:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 04:14:08 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 04:14:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:14:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:09 04:14:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:14:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:09 latest: Pulling from edgex-lftools-log-publisher 04:14:09 b4d181a07f80: Pulling fs layer 04:14:09 a1111a8f2ec3: Pulling fs layer 04:14:09 ed53099fbce6: Pulling fs layer 04:14:09 dc539afda2c1: Pulling fs layer 04:14:09 77bc0d833cb6: Pulling fs layer 04:14:09 9065ff56babe: Pulling fs layer 04:14:09 d287ab97295c: Pulling fs layer 04:14:09 77bc0d833cb6: Waiting 04:14:09 9065ff56babe: Waiting 04:14:09 d287ab97295c: Waiting 04:14:09 dc539afda2c1: Waiting 04:14:09 a1111a8f2ec3: Verifying Checksum 04:14:09 a1111a8f2ec3: Download complete 04:14:09 dc539afda2c1: Verifying Checksum 04:14:09 dc539afda2c1: Download complete 04:14:09 ed53099fbce6: Verifying Checksum 04:14:09 ed53099fbce6: Download complete 04:14:09 9065ff56babe: Download complete 04:14:09 77bc0d833cb6: Verifying Checksum 04:14:09 77bc0d833cb6: Download complete 04:14:09 b4d181a07f80: Verifying Checksum 04:14:09 b4d181a07f80: Download complete 04:14:10 d287ab97295c: Verifying Checksum 04:14:10 d287ab97295c: Download complete 04:14:11 b4d181a07f80: Pull complete 04:14:11 a1111a8f2ec3: Pull complete 04:14:12 ed53099fbce6: Pull complete 04:14:12 dc539afda2c1: Pull complete 04:14:12 77bc0d833cb6: Pull complete 04:14:12 9065ff56babe: Pull complete 04:14:17 d287ab97295c: Pull complete 04:14:17 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 04:14:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:14:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:14:17 prd-centos7-docker-4c-2g-330 does not seem to be running inside a container 04:14:17 $ 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 04:14:20 $ docker top 4a53e757b31f927fe358e2b6df10eac7c21f16226077fbae9b460b2b5d0ebf74 -eo pid,comm [Pipeline] { [Pipeline] sh 04:14:20 + touch /tmp/pre-build-complete [Pipeline] sh 04:14:20 + mkdir -p /var/log/sysstat [Pipeline] sh 04:14:20 + ls /var/log/sa-host 04:14:20 + sadf -c /var/log/sa-host/sa17 04:14:20 file_magic: OK 04:14:20 HZ: Using current value: 100 04:14:20 file_header: OK 04:14:20 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 04:14:20 Statistics: 04:14:20 Hnuu...uuuununununu...Hnuu...uuuununununu... 04:14:20 File successfully converted to sysstat format version 12.0.3 04:14:20 + sadf -c /var/log/sa-host/sa29 04:14:20 file_magic: OK 04:14:20 HZ: Using current value: 100 04:14:20 file_header: OK 04:14:20 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 04:14:20 Statistics: 04:14:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 04:14:20 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:21 provisioning config files... 04:14:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6811269959488620367tmp [Pipeline] { [Pipeline] echo 04:14:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:14:21 ---> create-netrc.sh [Pipeline] } 04:14:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:14:21 ---> python-tools-install.sh [Pipeline] echo 04:14:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:14:22 ---> sudo-logs.sh 04:14:22 Archiving 'sudo' log.. 04:14:22 sudo: unable to resolve host prd-centos7-docker-4c-2g-330.novalocal: Name or service not known 04:14:22 sudo: unable to resolve host prd-centos7-docker-4c-2g-330.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 04:14:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:14:22 ---> job-cost.sh 04:14:22 lf-activate-venv: SKIPPING 04:14:22 DEBUG: total: 0.10999999940395355 04:14:22 INFO: Retrieving Stack Cost... 04:14:22 INFO: Retrieving Pricing Info for: v3-standard-2 04:14:23 INFO: Archiving Costs [Pipeline] echo 04:14:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:14:23 ---> logs-deploy.sh 04:14:23 lf-activate-venv: SKIPPING 04:14:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/26 04:14:23 INFO: archiving workspace using pattern(s): 04:14:24 Archives upload complete. 04:14:24 INFO: archiving logs to Nexus