Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 53e4264da7a8f5345b5b18c03a825d0468689761 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-ssh1260638726572223414.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh9963257019411759729.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18097232826771233632.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9003642778571001314.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-ssh9415011000119998288.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1635 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-ssh3837118919824190681.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 53e4264da7a8f5345b5b18c03a825d0468689761 (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 53e4264da7a8f5345b5b18c03a825d0468689761 # timeout=10 Commit message: "Merge pull request #333 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" > git rev-list --no-walk 65976b5f62c44c0dc6a515179a4847523af2a8b0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:38:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:38:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:38:49 ========================================================= 01:38:49 EdgeX Global Pipelines Version Info 01:38:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:38:50 ------------------- 01:38:50 stable info: 01:38:50 ------------------- 01:38:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:38:50 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 01:38:50 Message: update stable to v1.0.219 01:38:51 ------------------- 01:38:51 experimental info: 01:38:51 ------------------- 01:38:51 Commited By: **** collab-it+edgex@linuxfoundation.org 01:38:51 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 01:38:51 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 53e4264 [Pipeline] echo 01:38:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:38:51 provisioning config files... 01:38:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2146284632773359632tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:52 ---> docker-login.sh 01:38:52 nexus3.edgexfoundry.org:10001 01:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:52 Configure a credential helper to remove this warning. See 01:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:52 01:38:52 Login Succeeded 01:38:52 nexus3.edgexfoundry.org:10002 01:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:52 Configure a credential helper to remove this warning. See 01:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:52 01:38:52 Login Succeeded 01:38:52 nexus3.edgexfoundry.org:10003 01:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:52 Configure a credential helper to remove this warning. See 01:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:52 01:38:52 Login Succeeded 01:38:52 nexus3.edgexfoundry.org:10004 01:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:52 Configure a credential helper to remove this warning. See 01:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:52 01:38:52 Login Succeeded 01:38:52 docker.io 01:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:53 Configure a credential helper to remove this warning. See 01:38:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:53 01:38:53 Login Succeeded 01:38:53 ---> docker-login.sh ends [Pipeline] } 01:38:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:38:53 + git rev-list -1 --merges 53e4264da7a8f5345b5b18c03a825d0468689761~1..53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] echo 01:38:53 -----------> git rev-list -1 --merges 53e4264da7a8f5345b5b18c03a825d0468689761~1..53e4264da7a8f5345b5b18c03a825d0468689761 53e4264da7a8f5345b5b18c03a825d0468689761 01:38:53 53e4264da7a8f5345b5b18c03a825d0468689761 [false] [Pipeline] sh 01:38:53 + git log --format=format:%s -1 53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] echo 01:38:53 ========================================================= 01:38:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:38:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:38:54 + git log --format=format:%s -1 53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] echo 01:38:54 [semverPrep] GIT_COMMIT: 53e4264da7a8f5345b5b18c03a825d0468689761, Commit Message: Merge pull request #333 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8 [Pipeline] echo 01:38:54 [semverPrep] This is not a build commit. [Pipeline] sh 01:38:54 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 01:38:54 + grep -v github /etc/ssh/ssh_known_hosts 01:38:54 + '[' -e /tmp/ssh_known_hosts ']' 01:38:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:38:54 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 01:38:54 + sudo tee -a /etc/ssh/ssh_known_hosts 01:38:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:38:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:38:55 01:38:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:38:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:38:55 latest: Pulling from edgex-devops/git-semver 01:38:55 a0d0a0d46f8b: Pulling fs layer 01:38:55 3e5f54012d9b: Pulling fs layer 01:38:55 4c7163046ea9: Pulling fs layer 01:38:55 0c2d73faf560: Pulling fs layer 01:38:55 0c2d73faf560: Waiting 01:38:55 3e5f54012d9b: Verifying Checksum 01:38:55 3e5f54012d9b: Download complete 01:38:55 a0d0a0d46f8b: Verifying Checksum 01:38:55 a0d0a0d46f8b: Download complete 01:38:55 4c7163046ea9: Verifying Checksum 01:38:55 4c7163046ea9: Download complete 01:38:55 0c2d73faf560: Verifying Checksum 01:38:55 0c2d73faf560: Download complete 01:38:55 a0d0a0d46f8b: Pull complete 01:38:55 3e5f54012d9b: Pull complete 01:38:55 4c7163046ea9: Pull complete 01:38:56 0c2d73faf560: Pull complete 01:38:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:38:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:38:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:38:56 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:38:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:38:56 $ docker top c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:38:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:38:56 [ssh-agent] Looking for ssh-agent implementation... 01:38:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:38:56 $ docker exec c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e ssh-agent 01:38:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgEnBcM/agent.14 01:38:57 SSH_AGENT_PID=21 01:38:57 Running ssh-add (command line suppressed) 01:38:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_616805423983553229.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_616805423983553229.key) 01:38:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:38:57 + git tag --points-at HEAD [Pipeline] } 01:38:57 $ docker exec --env ******** --env ******** c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e ssh-agent -k 01:38:57 unset SSH_AUTH_SOCK; 01:38:57 unset SSH_AGENT_PID; 01:38:57 echo Agent pid 21 killed; 01:38:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:38:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:38:57 [ssh-agent] Looking for ssh-agent implementation... 01:38:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:38:57 $ docker exec c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e ssh-agent 01:38:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkabpJp/agent.56 01:38:57 SSH_AGENT_PID=63 01:38:57 Running ssh-add (command line suppressed) 01:38:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8528584922107111811.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8528584922107111811.key) 01:38:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:38:58 + git semver init 01:38:58 # -> Open(): unable to determine branch for HEAD 01:38:58 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 01:38:58 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 01:38:58 # $SEMVER_REMOTE_NAME = origin 01:38:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:38:58 # $SEMVER_USER_NAME = edgex-jenkins 01:38:58 # $SEMVER_BRANCH = main 01:38:58 # $SEMVER_TEMP = /tmp/semver-329158877 01:38:58 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 01:38:59 # '/tmp/semver-329158877' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 01:38:59 # -> Force: false 01:38:59 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 01:38:59 $ docker exec --env ******** --env ******** c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e ssh-agent -k 01:38:59 unset SSH_AUTH_SOCK; 01:38:59 unset SSH_AGENT_PID; 01:38:59 echo Agent pid 63 killed; 01:38:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:38:59 + git semver [Pipeline] } 01:38:59 $ docker stop --time=1 c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e 01:39:00 $ docker rm -f c496c56f1945cae622a7eff9948813d58bfd6913ceff96e84cef9d13f475ed6e [Pipeline] // withDockerContainer [Pipeline] sh 01:39:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:39:01 Stashed 1 file(s) [Pipeline] echo 01:39:01 [edgeXSemver]: initialized semver on version 2.2.0-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:01 provisioning config files... 01:39:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7256311158694112616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:01 ---> docker-login.sh 01:39:01 nexus3.edgexfoundry.org:10001 01:39:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:01 Configure a credential helper to remove this warning. See 01:39:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:01 01:39:01 Login Succeeded 01:39:01 nexus3.edgexfoundry.org:10002 01:39:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:01 Configure a credential helper to remove this warning. See 01:39:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:01 01:39:01 Login Succeeded 01:39:01 nexus3.edgexfoundry.org:10003 01:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:02 Configure a credential helper to remove this warning. See 01:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:02 01:39:02 Login Succeeded 01:39:02 nexus3.edgexfoundry.org:10004 01:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:02 Configure a credential helper to remove this warning. See 01:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:02 01:39:02 Login Succeeded 01:39:02 docker.io 01:39:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:02 Configure a credential helper to remove this warning. See 01:39:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:02 01:39:02 Login Succeeded 01:39:02 ---> docker-login.sh ends [Pipeline] } 01:39:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:39:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:39:02 ========================================================= 01:39:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:39:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:39:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 01:39:03 Sending build context to Docker daemon 5.706MB 01:39:03 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:39:03 Step 2/11 : FROM ${BASE} AS builder 01:39:03 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:39:03 59bf1c3509f3: Pulling fs layer 01:39:03 666ba61612fd: Pulling fs layer 01:39:03 8ed8ca486205: Pulling fs layer 01:39:03 4fe6c5a15a65: Pulling fs layer 01:39:03 22a0e8bec74d: Pulling fs layer 01:39:03 f965cba54748: Pulling fs layer 01:39:03 861ffc35075e: Pulling fs layer 01:39:03 4b385c91608e: Pulling fs layer 01:39:03 560528eb2ebb: Pulling fs layer 01:39:03 4fe6c5a15a65: Waiting 01:39:03 22a0e8bec74d: Waiting 01:39:03 f965cba54748: Waiting 01:39:03 861ffc35075e: Waiting 01:39:03 4b385c91608e: Waiting 01:39:03 560528eb2ebb: Waiting 01:39:03 8ed8ca486205: Verifying Checksum 01:39:03 8ed8ca486205: Download complete 01:39:03 666ba61612fd: Verifying Checksum 01:39:03 666ba61612fd: Download complete 01:39:03 22a0e8bec74d: Verifying Checksum 01:39:03 22a0e8bec74d: Download complete 01:39:03 f965cba54748: Verifying Checksum 01:39:03 f965cba54748: Download complete 01:39:03 59bf1c3509f3: Verifying Checksum 01:39:03 59bf1c3509f3: Download complete 01:39:03 861ffc35075e: Verifying Checksum 01:39:03 861ffc35075e: Download complete 01:39:03 4b385c91608e: Verifying Checksum 01:39:03 4b385c91608e: Download complete 01:39:03 59bf1c3509f3: Pull complete 01:39:03 4fe6c5a15a65: Verifying Checksum 01:39:03 4fe6c5a15a65: Download complete 01:39:03 560528eb2ebb: Verifying Checksum 01:39:03 560528eb2ebb: Download complete 01:39:03 666ba61612fd: Pull complete 01:39:03 8ed8ca486205: Pull complete 01:39:08 4fe6c5a15a65: Pull complete 01:39:08 22a0e8bec74d: Pull complete 01:39:08 f965cba54748: Pull complete 01:39:08 861ffc35075e: Pull complete 01:39:08 4b385c91608e: Pull complete 01:39:10 560528eb2ebb: Pull complete 01:39:10 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 01:39:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:39:10 ---> dd4a08f94e63 01:39:10 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:39:11 ---> Running in aaf795a48d9e 01:39:11 Removing intermediate container aaf795a48d9e 01:39:11 ---> be976978b05a 01:39:11 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 01:39:11 ---> Running in f7eb00db3348 01:39:11 Removing intermediate container f7eb00db3348 01:39:11 ---> 27e1eef21c60 01:39:11 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:39:11 ---> Running in 8eabebecc7e6 01:39:12 Removing intermediate container 8eabebecc7e6 01:39:12 ---> 722d41bd921b 01:39:12 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:12 ---> Running in c56d80f60416 01:39:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:39:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:39:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:39:13 (2/4) Installing libedit (20210910.3.1-r0) 01:39:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:39:14 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:39:14 Executing busybox-1.34.1-r3.trigger 01:39:14 OK: 224 MiB in 56 packages 01:39:14 Removing intermediate container c56d80f60416 01:39:14 ---> 1180e1f98790 01:39:14 Step 7/11 : WORKDIR /device-mqtt-go 01:39:14 ---> Running in 206723284b5e 01:39:14 Removing intermediate container 206723284b5e 01:39:14 ---> b5484230c52f 01:39:14 Step 8/11 : COPY . . 01:39:14 ---> b6452c2b15a3 01:39:14 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:14 ---> Running in 8a86e320803a 01:39:16 Still waiting to schedule task 01:39:16 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 01:39:41 Removing intermediate container 8a86e320803a 01:39:41 ---> 6e2e804a91b7 01:39:41 Step 10/11 : ARG MAKE='make build' 01:39:41 ---> Running in 3e5c7085546f 01:39:41 Removing intermediate container 3e5c7085546f 01:39:41 ---> 552ba3589ef6 01:39:41 Step 11/11 : RUN $MAKE 01:39:41 ---> Running in 6df68ffd5462 01:39:41 noop 01:39:41 Removing intermediate container 6df68ffd5462 01:39:41 ---> 80e78e516e0b 01:39:41 Successfully built 80e78e516e0b 01:39:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:39:41 + docker inspect -f . ci-base-image-x86_64 01:39:41 . [Pipeline] withDockerContainer 01:39:41 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:39:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:39:42 $ docker top 52f530a801a64c6670bd757984389e429254fda10ebe208c967b8dc44be50011 -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:42 + go version 01:39:42 go version go1.17.6 linux/amd64 [Pipeline] } 01:39:42 $ docker stop --time=1 52f530a801a64c6670bd757984389e429254fda10ebe208c967b8dc44be50011 01:39:43 $ docker rm -f 52f530a801a64c6670bd757984389e429254fda10ebe208c967b8dc44be50011 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:39:44 + docker inspect -f . ci-base-image-x86_64 01:39:44 . [Pipeline] withDockerContainer 01:39:44 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:39:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:39:44 $ docker top 732a324c4a1af4c1939cd82695e4d06cd1aef26e5f15f4d1d58bf503429c6248 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:39:44 + make test 01:39:44 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:39:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:40:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:40:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements 01:40:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:40:00 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:40:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:04 ./bin/test-attribution-txt.sh [Pipeline] echo 01:40:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:40:04 $ docker stop --time=1 732a324c4a1af4c1939cd82695e4d06cd1aef26e5f15f4d1d58bf503429c6248 01:40:06 $ docker rm -f 732a324c4a1af4c1939cd82695e4d06cd1aef26e5f15f4d1d58bf503429c6248 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:40:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:40:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:40:07 + ls -al . 01:40:07 total 148 01:40:07 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 17 01:40 . 01:40:07 drwxrwxr-x. 4 jenkins jenkins 112 Jan 17 01:38 .. 01:40:07 -rw-rw-r--. 1 jenkins jenkins 7287 Jan 17 01:38 Attribution.txt 01:40:07 drwxrwxr-x. 2 jenkins jenkins 60 Jan 17 01:38 bin 01:40:07 -rw-rw-r--. 1 jenkins jenkins 7447 Jan 17 01:38 CHANGELOG.md 01:40:07 drwxrwxr-x. 3 jenkins jenkins 32 Jan 17 01:38 cmd 01:40:07 -rw-r--r--. 1 jenkins jenkins 17452 Jan 17 01:39 coverage.out 01:40:07 -rw-rw-r--. 1 jenkins jenkins 1907 Jan 17 01:38 Dockerfile 01:40:07 -rw-rw-r--. 1 jenkins jenkins 140 Jan 17 01:38 .dockerignore 01:40:07 drwxrwxr-x. 8 jenkins jenkins 162 Jan 17 01:38 .git 01:40:07 drwxrwxr-x. 2 jenkins jenkins 103 Jan 17 01:38 .github 01:40:07 -rw-rw-r--. 1 jenkins jenkins 329 Jan 17 01:38 .gitignore 01:40:07 -rw-rw-r--. 1 jenkins jenkins 410 Jan 17 01:38 go.mod 01:40:07 -rw-rw-r--. 1 jenkins jenkins 49409 Jan 17 01:38 go.sum 01:40:07 -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 01:38 GOVERNANCE.md 01:40:07 drwxrwxr-x. 3 jenkins jenkins 20 Jan 17 01:38 internal 01:40:07 -rw-rw-r--. 1 jenkins jenkins 677 Jan 17 01:38 Jenkinsfile 01:40:07 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 17 01:38 LICENSE 01:40:07 -rw-rw-r--. 1 jenkins jenkins 1030 Jan 17 01:38 Makefile 01:40:07 drwxrwxr-x. 2 jenkins jenkins 23 Jan 17 01:38 mock 01:40:07 -rw-rw-r--. 1 jenkins jenkins 620 Jan 17 01:38 OWNERS.md 01:40:07 -rw-rw-r--. 1 jenkins jenkins 2643 Jan 17 01:38 README.md 01:40:07 drwx------. 3 jenkins jenkins 57 Jan 17 01:38 .semver 01:40:07 drwxrwxr-x. 4 jenkins jenkins 71 Jan 17 01:38 snap 01:40:07 -rw-rw-r--. 1 jenkins jenkins 11 Jan 17 01:39 VERSION 01:40:07 -rw-rw-r--. 1 jenkins jenkins 227 Jan 17 01:38 version.go [Pipeline] isUnix [Pipeline] sh 01:40:08 + 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=53e4264da7a8f5345b5b18c03a825d0468689761 --label arch=amd64 --label version=2.2.0-dev.6 . 01:40:08 Sending build context to Docker daemon 5.724MB 01:40:08 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:40:08 Step 2/23 : FROM ${BASE} AS builder 01:40:08 ---> 80e78e516e0b 01:40:08 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:40:08 ---> Running in 1c13ebd6a6ca 01:40:08 Removing intermediate container 1c13ebd6a6ca 01:40:08 ---> 320a77c103f1 01:40:08 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 01:40:08 ---> Running in b717688509c8 01:40:08 Removing intermediate container b717688509c8 01:40:08 ---> 72f0ef75cbbf 01:40:08 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:08 ---> Running in 986a361aeea7 01:40:08 Removing intermediate container 986a361aeea7 01:40:08 ---> cc42b8e1203a 01:40:08 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:08 ---> Running in 39191f7ebbe9 01:40:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:40:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:40:10 OK: 224 MiB in 56 packages 01:40:10 Removing intermediate container 39191f7ebbe9 01:40:10 ---> 93525d58d247 01:40:10 Step 7/23 : WORKDIR /device-mqtt-go 01:40:10 ---> Running in 852410ccb05e 01:40:10 Removing intermediate container 852410ccb05e 01:40:10 ---> 0ac89d0af52b 01:40:10 Step 8/23 : COPY . . 01:40:10 ---> f73852dd03e1 01:40:10 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:10 ---> Running in 6ddc89c5c869 01:40:11 Removing intermediate container 6ddc89c5c869 01:40:11 ---> aff8b458b132 01:40:11 Step 10/23 : ARG MAKE='make build' 01:40:11 ---> Running in 0973638dc599 01:40:11 Removing intermediate container 0973638dc599 01:40:11 ---> 8d36d5b0c5fc 01:40:11 Step 11/23 : RUN $MAKE 01:40:11 ---> Running in eb118e71d6e0 01:40:11 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.6" -o cmd/device-mqtt ./cmd 01:40:24 Removing intermediate container eb118e71d6e0 01:40:24 ---> f224f0a0f3c7 01:40:24 Step 12/23 : FROM alpine:3.14 01:40:24 3.14: Pulling from library/alpine 01:40:24 97518928ae5f: Pulling fs layer 01:40:24 97518928ae5f: Verifying Checksum 01:40:24 97518928ae5f: Download complete 01:40:24 97518928ae5f: Pull complete 01:40:24 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 01:40:24 Status: Downloaded newer image for alpine:3.14 01:40:24 ---> 0a97eee8041e 01:40:24 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:40:24 ---> Running in 659bfda52c40 01:40:25 Removing intermediate container 659bfda52c40 01:40:25 ---> 08344046a634 01:40:25 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 01:40:25 ---> Running in ec9a26404cf2 01:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:40:25 (1/6) Installing dumb-init (1.2.5-r1) 01:40:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:40:25 (3/6) Installing libsodium (1.0.18-r0) 01:40:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:40:25 (5/6) Installing libzmq (4.3.4-r0) 01:40:25 (6/6) Installing zeromq (4.3.4-r0) 01:40:25 Executing busybox-1.33.1-r6.trigger 01:40:25 OK: 8 MiB in 20 packages 01:40:25 Removing intermediate container ec9a26404cf2 01:40:25 ---> 2ef12f268bd5 01:40:25 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 01:40:26 ---> 231e3938ef3e 01:40:26 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 01:40:26 ---> 9a8ce63821d3 01:40:26 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:40:26 ---> dc8a426f57aa 01:40:26 Step 18/23 : EXPOSE 59982 01:40:26 ---> Running in ff1ee3b83e31 01:40:26 Removing intermediate container ff1ee3b83e31 01:40:26 ---> 733888ffe7af 01:40:26 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 01:40:26 ---> Running in c8e03762a10c 01:40:26 Removing intermediate container c8e03762a10c 01:40:26 ---> 44bd22cdd61d 01:40:26 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:40:26 ---> Running in 09667ca14d07 01:40:26 Removing intermediate container 09667ca14d07 01:40:26 ---> f3e6812e7d85 01:40:26 Step 21/23 : LABEL arch=amd64 01:40:26 ---> Running in 8e3c746a9ab0 01:40:26 Removing intermediate container 8e3c746a9ab0 01:40:26 ---> 7f95406057f1 01:40:26 Step 22/23 : LABEL git_sha=53e4264da7a8f5345b5b18c03a825d0468689761 01:40:26 ---> Running in efc4359d31a0 01:40:27 Removing intermediate container efc4359d31a0 01:40:27 ---> 6bba832bd8e1 01:40:27 Step 23/23 : LABEL version=2.2.0-dev.6 01:40:27 ---> Running in fe2f7b4eb490 01:40:27 Removing intermediate container fe2f7b4eb490 01:40:27 ---> bcae5899f1a5 01:40:27 [Warning] One or more build-args [ARCH] were not consumed 01:40:27 Successfully built bcae5899f1a5 01:40:27 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:27 provisioning config files... 01:40:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5523325766340506692tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:27 ---> docker-login.sh 01:40:27 nexus3.edgexfoundry.org:10001 01:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:27 Configure a credential helper to remove this warning. See 01:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:27 01:40:27 Login Succeeded 01:40:27 nexus3.edgexfoundry.org:10002 01:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:27 Configure a credential helper to remove this warning. See 01:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:27 01:40:27 Login Succeeded 01:40:27 nexus3.edgexfoundry.org:10003 01:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:27 Configure a credential helper to remove this warning. See 01:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:27 01:40:27 Login Succeeded 01:40:27 nexus3.edgexfoundry.org:10004 01:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:27 Configure a credential helper to remove this warning. See 01:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:27 01:40:27 Login Succeeded 01:40:27 docker.io 01:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:28 Configure a credential helper to remove this warning. See 01:40:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:28 01:40:28 Login Succeeded 01:40:28 ---> docker-login.sh ends [Pipeline] } 01:40:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:40:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:28 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:40:28 53e4264da7a8f5345b5b18c03a825d0468689761 01:40:28 latest 01:40:28 2.2.0-dev.6 01:40:28 53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 01:40:28 main 01:40:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:40:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] isUnix [Pipeline] sh 01:40:29 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761 01:40:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:40:29 deefb4a03a96: Preparing 01:40:29 98133632d58e: Preparing 01:40:29 2df281491670: Preparing 01:40:29 a86f804c9afc: Preparing 01:40:29 1a058d5342cc: Preparing 01:40:29 1a058d5342cc: Layer already exists 01:40:29 deefb4a03a96: Pushed 01:40:29 98133632d58e: Pushed 01:40:29 a86f804c9afc: Pushed 01:40:30 2df281491670: Pushed 01:40:30 53e4264da7a8f5345b5b18c03a825d0468689761: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:40:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 01:40:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:40:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:40:31 deefb4a03a96: Preparing 01:40:31 98133632d58e: Preparing 01:40:31 2df281491670: Preparing 01:40:31 a86f804c9afc: Preparing 01:40:31 1a058d5342cc: Preparing 01:40:31 deefb4a03a96: Layer already exists 01:40:31 2df281491670: Layer already exists 01:40:31 a86f804c9afc: Layer already exists 01:40:31 98133632d58e: Layer already exists 01:40:31 1a058d5342cc: Layer already exists 01:40:31 latest: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:40:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 01:40:31 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.6 01:40:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:40:31 deefb4a03a96: Preparing 01:40:31 98133632d58e: Preparing 01:40:31 2df281491670: Preparing 01:40:31 a86f804c9afc: Preparing 01:40:31 1a058d5342cc: Preparing 01:40:31 2df281491670: Layer already exists 01:40:31 a86f804c9afc: Layer already exists 01:40:31 deefb4a03a96: Layer already exists 01:40:31 98133632d58e: Layer already exists 01:40:31 1a058d5342cc: Layer already exists 01:40:31 2.2.0-dev.6: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:40:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 01:40:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 01:40:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:40:32 deefb4a03a96: Preparing 01:40:32 98133632d58e: Preparing 01:40:32 2df281491670: Preparing 01:40:32 a86f804c9afc: Preparing 01:40:32 1a058d5342cc: Preparing 01:40:32 1a058d5342cc: Layer already exists 01:40:32 deefb4a03a96: Layer already exists 01:40:32 98133632d58e: Layer already exists 01:40:32 a86f804c9afc: Layer already exists 01:40:32 2df281491670: Layer already exists 01:40:32 53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] isUnix [Pipeline] sh 01:40:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 01:40:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:40:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:40:33 deefb4a03a96: Preparing 01:40:33 98133632d58e: Preparing 01:40:33 2df281491670: Preparing 01:40:33 a86f804c9afc: Preparing 01:40:33 1a058d5342cc: Preparing 01:40:33 a86f804c9afc: Layer already exists 01:40:33 2df281491670: Layer already exists 01:40:33 1a058d5342cc: Layer already exists 01:40:33 98133632d58e: Layer already exists 01:40:33 deefb4a03a96: Layer already exists 01:40:33 main: digest: sha256:6d29d4e830dec85b0f6e03b21acb79e7ec367f9343f1fb1fe11cebe78f76e748 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:40:33 ===================================================== [Pipeline] echo 01:40:33 taggedImages: 01:40:33 - nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761 01:40:33 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:40:33 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.6 01:40:33 - nexus3.edgexfoundry.org:10004/device-mqtt:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 01:40:33 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:40:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:33 01:40:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:40:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:33 latest: Pulling from edgex-lftools-log-publisher 01:40:33 b4d181a07f80: Pulling fs layer 01:40:33 a1111a8f2ec3: Pulling fs layer 01:40:33 ed53099fbce6: Pulling fs layer 01:40:33 dc539afda2c1: Pulling fs layer 01:40:33 77bc0d833cb6: Pulling fs layer 01:40:33 9065ff56babe: Pulling fs layer 01:40:33 d287ab97295c: Pulling fs layer 01:40:33 dc539afda2c1: Waiting 01:40:33 77bc0d833cb6: Waiting 01:40:33 9065ff56babe: Waiting 01:40:33 d287ab97295c: Waiting 01:40:33 a1111a8f2ec3: Verifying Checksum 01:40:33 a1111a8f2ec3: Download complete 01:40:33 dc539afda2c1: Verifying Checksum 01:40:33 dc539afda2c1: Download complete 01:40:33 ed53099fbce6: Verifying Checksum 01:40:33 ed53099fbce6: Download complete 01:40:33 9065ff56babe: Verifying Checksum 01:40:33 9065ff56babe: Download complete 01:40:33 77bc0d833cb6: Verifying Checksum 01:40:33 77bc0d833cb6: Download complete 01:40:34 b4d181a07f80: Verifying Checksum 01:40:34 b4d181a07f80: Download complete 01:40:34 d287ab97295c: Verifying Checksum 01:40:34 d287ab97295c: Download complete 01:40:35 b4d181a07f80: Pull complete 01:40:36 a1111a8f2ec3: Pull complete 01:40:36 ed53099fbce6: Pull complete 01:40:36 dc539afda2c1: Pull complete 01:40:36 77bc0d833cb6: Pull complete 01:40:36 9065ff56babe: Pull complete 01:40:42 d287ab97295c: Pull complete 01:40:42 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:40:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:40:42 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:40:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:40:44 $ docker top 080cf630000e3d6c88bfbe1067299884b8f7c80fb297ee26af2cbd6fc5b60f84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:45 ---> job-cost.sh 01:40:45 lf-activate-venv: SKIPPING 01:40:45 INFO: No Stack... 01:40:45 INFO: Retrieving Pricing Info for: v3-standard-2 01:40:45 INFO: Archiving Costs [Pipeline] sh 01:40:46 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:40:46 + cut -d, -f6 [Pipeline] lock 01:40:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] 01:40:46 Resource [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] did not exist. Created. 01:40:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:40:46 + echo total: 0.05999999865889549 [Pipeline] stash 01:40:46 Stashed 1 file(s) [Pipeline] } 01:40:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 01:40:46 $ docker stop --time=1 080cf630000e3d6c88bfbe1067299884b8f7c80fb297ee26af2cbd6fc5b60f84 01:40:47 $ docker rm -f 080cf630000e3d6c88bfbe1067299884b8f7c80fb297ee26af2cbd6fc5b60f84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:42:45 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1637 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:42:45 Running in /w/workspace/device-mqtt-go/27 [Pipeline] { [Pipeline] checkout 01:42:45 Selected Git installation does not exist. Using Default 01:42:45 The recommended git tool is: NONE 01:42:50 using credential edgex-jenkins-ssh 01:42:54 Cloning the remote Git repository 01:42:54 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:42:54 > git init /w/workspace/device-mqtt-go/27 # timeout=10 01:42:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:42:54 > git --version # timeout=10 01:42:54 > git --version # 'git version 2.17.1' 01:42:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:42:55 Avoid second fetch 01:42:55 Checking out Revision 53e4264da7a8f5345b5b18c03a825d0468689761 (main) 01:42:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:42:55 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:42:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:42:55 > git config core.sparsecheckout # timeout=10 01:42:55 > git checkout -f 53e4264da7a8f5345b5b18c03a825d0468689761 # timeout=10 01:43:00 Commit message: "Merge pull request #333 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.8" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:43:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:43:00 % Total % Received % Xferd Average Speed Time Time Time Current 01:43:00 Dload Upload Total Spent Left Speed 01:43:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 67289 0 --:--:-- --:--:-- --:--:-- 67289 [Pipeline] sh 01:43:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:43:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:43:01 + sudo tee /etc/docker/daemon.new 01:43:01 { 01:43:01 "registry-mirrors": [ 01:43:01 "https://nexus3.edgexfoundry.org:10001" 01:43:01 ], 01:43:01 "bip": "10.250.0.254/24", 01:43:01 "hosts": [ 01:43:01 "tcp://0.0.0.0:5555", 01:43:01 "unix:///var/run/docker.sock" 01:43:01 ], 01:43:01 "mtu": 1458, 01:43:01 "selinux-enabled": true, 01:43:01 "seccomp-profile": "/etc/docker/seccomp.json" 01:43:01 } [Pipeline] sh 01:43:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:43:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:20 provisioning config files... 01:43:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/27@tmp/config5154612718533577243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:21 ---> docker-login.sh 01:43:21 nexus3.edgexfoundry.org:10001 01:43:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:22 Configure a credential helper to remove this warning. See 01:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:22 01:43:22 Login Succeeded 01:43:22 nexus3.edgexfoundry.org:10002 01:43:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:22 Configure a credential helper to remove this warning. See 01:43:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:22 01:43:22 Login Succeeded 01:43:22 nexus3.edgexfoundry.org:10003 01:43:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:23 Configure a credential helper to remove this warning. See 01:43:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:23 01:43:23 Login Succeeded 01:43:23 nexus3.edgexfoundry.org:10004 01:43:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:23 Configure a credential helper to remove this warning. See 01:43:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:23 01:43:23 Login Succeeded 01:43:23 docker.io 01:43:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:43:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:43:24 Configure a credential helper to remove this warning. See 01:43:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:43:24 01:43:24 Login Succeeded 01:43:24 ---> docker-login.sh ends [Pipeline] } 01:43:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:43:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:43:24 ========================================================= 01:43:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:43:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:43:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:43:25 Sending build context to Docker daemon 2.964MB 01:43:25 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:43:25 Step 2/11 : FROM ${BASE} AS builder 01:43:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:43:25 9b3977197b4f: Pulling fs layer 01:43:25 1a89e8eeedd5: Pulling fs layer 01:43:25 94645a83ff95: Pulling fs layer 01:43:25 3f3a8bcf1eab: Pulling fs layer 01:43:25 0c92f367c5e7: Pulling fs layer 01:43:25 4b8299f9d1f4: Pulling fs layer 01:43:25 9a6b49a46696: Pulling fs layer 01:43:25 cf05db05a679: Pulling fs layer 01:43:25 4b8299f9d1f4: Waiting 01:43:25 9a6b49a46696: Waiting 01:43:25 3f3a8bcf1eab: Waiting 01:43:25 0c92f367c5e7: Waiting 01:43:25 cf05db05a679: Waiting 01:43:25 94645a83ff95: Verifying Checksum 01:43:25 94645a83ff95: Download complete 01:43:25 1a89e8eeedd5: Download complete 01:43:25 0c92f367c5e7: Verifying Checksum 01:43:25 0c92f367c5e7: Download complete 01:43:25 4b8299f9d1f4: Verifying Checksum 01:43:25 4b8299f9d1f4: Download complete 01:43:25 9b3977197b4f: Verifying Checksum 01:43:25 9b3977197b4f: Download complete 01:43:25 9a6b49a46696: Verifying Checksum 01:43:25 9a6b49a46696: Download complete 01:43:26 9b3977197b4f: Pull complete 01:43:27 1a89e8eeedd5: Pull complete 01:43:27 94645a83ff95: Pull complete 01:43:27 cf05db05a679: Verifying Checksum 01:43:27 cf05db05a679: Download complete 01:43:28 3f3a8bcf1eab: Verifying Checksum 01:43:28 3f3a8bcf1eab: Download complete 01:43:40 3f3a8bcf1eab: Pull complete 01:43:40 0c92f367c5e7: Pull complete 01:43:40 4b8299f9d1f4: Pull complete 01:43:40 9a6b49a46696: Pull complete 01:43:46 cf05db05a679: Pull complete 01:43:46 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 01:43:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:43:46 ---> 0ccda1f7e2ee 01:43:46 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:43:47 ---> Running in 04ccbf08a1c2 01:43:48 Removing intermediate container 04ccbf08a1c2 01:43:48 ---> a8a660c694cd 01:43:48 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 01:43:48 ---> Running in 362d01305900 01:43:48 Removing intermediate container 362d01305900 01:43:48 ---> 655be2b7ddcd 01:43:48 Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:43:48 ---> Running in ec2ed7054374 01:43:50 Removing intermediate container ec2ed7054374 01:43:50 ---> c634fee84dcd 01:43:50 Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:43:50 ---> Running in 4324ff6465de 01:43:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:43:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:43:53 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:43:53 (2/4) Installing libedit (20210910.3.1-r0) 01:43:53 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:43:53 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:43:53 Executing busybox-1.34.1-r3.trigger 01:43:53 OK: 224 MiB in 56 packages 01:43:54 Removing intermediate container 4324ff6465de 01:43:54 ---> 021a3ed44eee 01:43:54 Step 7/11 : WORKDIR /device-mqtt-go 01:43:54 ---> Running in 0e7893552537 01:43:55 Removing intermediate container 0e7893552537 01:43:55 ---> 70f6b40b7ba8 01:43:55 Step 8/11 : COPY . . 01:43:55 ---> 6785d05365ba 01:43:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:43:56 ---> Running in 6b8e62ca17d7 01:45:17 Removing intermediate container 6b8e62ca17d7 01:45:17 ---> bc3d46c42986 01:45:17 Step 10/11 : ARG MAKE='make build' 01:45:17 ---> Running in 508aa7146e20 01:45:17 Removing intermediate container 508aa7146e20 01:45:17 ---> 419495843a61 01:45:17 Step 11/11 : RUN $MAKE 01:45:17 ---> Running in cd9cb506a985 01:45:17 noop 01:45:17 Removing intermediate container cd9cb506a985 01:45:17 ---> e67e4cda74a0 01:45:17 Successfully built e67e4cda74a0 01:45:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:45:18 + docker inspect -f . ci-base-image-arm64 01:45:18 . [Pipeline] withDockerContainer 01:45:18 prd-ubuntu18.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container 01:45:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@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 01:45:20 $ docker top b6eaceaa101c6c1b5b2155356f5a3190e366288df6f0a9e48a837245e28c85dd -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:21 + go version 01:45:21 go version go1.17.6 linux/arm64 [Pipeline] } 01:45:21 $ docker stop --time=1 b6eaceaa101c6c1b5b2155356f5a3190e366288df6f0a9e48a837245e28c85dd 01:45:22 $ docker rm -f b6eaceaa101c6c1b5b2155356f5a3190e366288df6f0a9e48a837245e28c85dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:45:23 + docker inspect -f . ci-base-image-arm64 01:45:23 . [Pipeline] withDockerContainer 01:45:23 prd-ubuntu18.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container 01:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@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 01:45:25 $ docker top 4994d90c90411d25f6b0f5801f0c6595385f219cd8888e7b939c392102c02dd0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:45:26 + make test 01:45:26 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:45:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:46:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:46:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.5% of statements 01:46:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:46:24 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:46:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:46:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:46:51 ./bin/test-attribution-txt.sh [Pipeline] echo 01:46:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:46:51 $ docker stop --time=1 4994d90c90411d25f6b0f5801f0c6595385f219cd8888e7b939c392102c02dd0 01:46:52 $ docker rm -f 4994d90c90411d25f6b0f5801f0c6595385f219cd8888e7b939c392102c02dd0 [Pipeline] // withDockerContainer [Pipeline] sh 01:46:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:46:53 Warning: overwriting stash ‘coverage-report’ 01:46:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:46:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:46:55 + ls -al . 01:46:55 total 180 01:46:55 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 01:46 . 01:46:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 01:42 .. 01:46:55 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 01:42 .dockerignore 01:46:55 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 01:42 .git 01:46:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:42 .github 01:46:55 -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 01:42 .gitignore 01:46:55 -rw-rw-r-- 1 jenkins jenkins 7287 Jan 17 01:42 Attribution.txt 01:46:55 -rw-rw-r-- 1 jenkins jenkins 7447 Jan 17 01:42 CHANGELOG.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 1907 Jan 17 01:42 Dockerfile 01:46:55 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 01:42 GOVERNANCE.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 01:42 Jenkinsfile 01:46:55 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 01:42 LICENSE 01:46:55 -rw-rw-r-- 1 jenkins jenkins 1030 Jan 17 01:42 Makefile 01:46:55 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 01:42 OWNERS.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 2643 Jan 17 01:42 README.md 01:46:55 -rw-rw-r-- 1 jenkins jenkins 11 Jan 17 01:39 VERSION 01:46:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:42 bin 01:46:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:42 cmd 01:46:55 -rw-r--r-- 1 jenkins jenkins 17452 Jan 17 01:46 coverage.out 01:46:55 -rw-rw-r-- 1 jenkins jenkins 410 Jan 17 01:42 go.mod 01:46:55 -rw-rw-r-- 1 jenkins jenkins 49409 Jan 17 01:42 go.sum 01:46:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:42 internal 01:46:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:42 mock 01:46:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 01:42 snap 01:46:55 -rw-rw-r-- 1 jenkins jenkins 227 Jan 17 01:42 version.go [Pipeline] isUnix [Pipeline] sh 01:46:55 + 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=53e4264da7a8f5345b5b18c03a825d0468689761 --label arch=arm64 --label version=2.2.0-dev.6 . 01:46:55 Sending build context to Docker daemon 2.982MB 01:46:56 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:46:56 Step 2/23 : FROM ${BASE} AS builder 01:46:56 ---> e67e4cda74a0 01:46:56 Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:46:56 ---> Running in cfaa6ddd5911 01:46:56 Removing intermediate container cfaa6ddd5911 01:46:56 ---> 2ef5829f64ea 01:46:56 Step 4/23 : ARG ALPINE_PKG_EXTRA="" 01:46:56 ---> Running in 236f02b0a865 01:46:56 Removing intermediate container 236f02b0a865 01:46:56 ---> 7dbaf3f92487 01:46:56 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:46:57 ---> Running in fbaf26abfd2e 01:46:59 Removing intermediate container fbaf26abfd2e 01:46:59 ---> 320c407d46a4 01:46:59 Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:46:59 ---> Running in c65cba367ae3 01:47:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:47:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:47:02 OK: 224 MiB in 56 packages 01:47:02 Removing intermediate container c65cba367ae3 01:47:02 ---> 542906affca1 01:47:02 Step 7/23 : WORKDIR /device-mqtt-go 01:47:02 ---> Running in 40863e68f965 01:47:03 Removing intermediate container 40863e68f965 01:47:03 ---> 7d51d49bb278 01:47:03 Step 8/23 : COPY . . 01:47:04 ---> fe69dbdda7fe 01:47:04 Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:04 ---> Running in 61d921979d59 01:47:06 Removing intermediate container 61d921979d59 01:47:06 ---> b74cacb9709c 01:47:06 Step 10/23 : ARG MAKE='make build' 01:47:06 ---> Running in 14154f4b52e8 01:47:06 Removing intermediate container 14154f4b52e8 01:47:06 ---> 98686a16d994 01:47:06 Step 11/23 : RUN $MAKE 01:47:06 ---> Running in b708a9566227 01:47:08 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.6" -o cmd/device-mqtt ./cmd 01:47:55 Removing intermediate container b708a9566227 01:47:55 ---> 75f756feac24 01:47:55 Step 12/23 : FROM alpine:3.14 01:47:55 3.14: Pulling from library/alpine 01:47:55 be307f383ecc: Pulling fs layer 01:47:55 be307f383ecc: Verifying Checksum 01:47:55 be307f383ecc: Pull complete 01:47:55 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 01:47:55 Status: Downloaded newer image for alpine:3.14 01:47:55 ---> 5b8b7b635229 01:47:55 Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:47:55 ---> Running in 9cf3a3dc94a6 01:47:55 Removing intermediate container 9cf3a3dc94a6 01:47:55 ---> f5dbb302c3e1 01:47:55 Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init 01:47:55 ---> Running in 1c5db8a40a25 01:47:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:47:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:47:55 (1/6) Installing dumb-init (1.2.5-r1) 01:47:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:47:55 (3/6) Installing libsodium (1.0.18-r0) 01:47:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:47:55 (5/6) Installing libzmq (4.3.4-r0) 01:47:55 (6/6) Installing zeromq (4.3.4-r0) 01:47:55 Executing busybox-1.33.1-r6.trigger 01:47:55 OK: 8 MiB in 20 packages 01:47:55 Removing intermediate container 1c5db8a40a25 01:47:55 ---> 4805eab31031 01:47:55 Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / 01:47:56 ---> 3a3e75388850 01:47:56 Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / 01:47:57 ---> 585b7bb17f30 01:47:57 Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:47:57 ---> 04db2680b53d 01:47:57 Step 18/23 : EXPOSE 59982 01:47:58 ---> Running in f24cf5b562eb 01:47:58 Removing intermediate container f24cf5b562eb 01:47:58 ---> 36bc4d492b2e 01:47:58 Step 19/23 : ENTRYPOINT ["/device-mqtt"] 01:47:58 ---> Running in 409bac05e629 01:47:58 Removing intermediate container 409bac05e629 01:47:58 ---> 0fb2de2bb8bb 01:47:58 Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:47:58 ---> Running in 4894035264ee 01:47:59 Removing intermediate container 4894035264ee 01:47:59 ---> d26bd374b425 01:47:59 Step 21/23 : LABEL arch=arm64 01:47:59 ---> Running in 9ce0f18742c7 01:47:59 Removing intermediate container 9ce0f18742c7 01:47:59 ---> ee2a58057632 01:47:59 Step 22/23 : LABEL git_sha=53e4264da7a8f5345b5b18c03a825d0468689761 01:47:59 ---> Running in bf3936de7a3b 01:48:00 Removing intermediate container bf3936de7a3b 01:48:00 ---> 6796be120886 01:48:00 Step 23/23 : LABEL version=2.2.0-dev.6 01:48:00 ---> Running in c2ac6d5fc568 01:48:00 Removing intermediate container c2ac6d5fc568 01:48:00 ---> d86ab4d6dff2 01:48:00 [Warning] One or more build-args [ARCH] were not consumed 01:48:00 Successfully built d86ab4d6dff2 01:48:00 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 01:48:00 provisioning config files... 01:48:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/27@tmp/config7902606846234138904tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:01 ---> docker-login.sh 01:48:01 nexus3.edgexfoundry.org:10001 01:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:01 Configure a credential helper to remove this warning. See 01:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:01 01:48:01 Login Succeeded 01:48:01 nexus3.edgexfoundry.org:10002 01:48:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:01 Configure a credential helper to remove this warning. See 01:48:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:01 01:48:01 Login Succeeded 01:48:01 nexus3.edgexfoundry.org:10003 01:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:02 Configure a credential helper to remove this warning. See 01:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:02 01:48:02 Login Succeeded 01:48:02 nexus3.edgexfoundry.org:10004 01:48:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:02 Configure a credential helper to remove this warning. See 01:48:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:02 01:48:02 Login Succeeded 01:48:02 docker.io 01:48:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:03 Configure a credential helper to remove this warning. See 01:48:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:03 01:48:03 Login Succeeded 01:48:03 ---> docker-login.sh ends [Pipeline] } 01:48:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:03 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 01:48:03 53e4264da7a8f5345b5b18c03a825d0468689761 01:48:03 latest 01:48:03 2.2.0-dev.6 01:48:03 53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 01:48:03 main 01:48:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] isUnix [Pipeline] sh 01:48:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761 01:48:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:48:04 7ad2287f2add: Preparing 01:48:04 2464aa11975c: Preparing 01:48:04 3a8988fc99b4: Preparing 01:48:04 d71f3d155621: Preparing 01:48:04 62170e181a92: Preparing 01:48:04 62170e181a92: Layer already exists 01:48:04 7ad2287f2add: Pushed 01:48:04 2464aa11975c: Pushed 01:48:05 d71f3d155621: Pushed 01:48:07 3a8988fc99b4: Pushed 01:48:07 53e4264da7a8f5345b5b18c03a825d0468689761: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:48:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:48:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:48:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:48:08 7ad2287f2add: Preparing 01:48:08 2464aa11975c: Preparing 01:48:08 3a8988fc99b4: Preparing 01:48:08 d71f3d155621: Preparing 01:48:08 62170e181a92: Preparing 01:48:08 2464aa11975c: Layer already exists 01:48:08 62170e181a92: Layer already exists 01:48:08 7ad2287f2add: Layer already exists 01:48:08 d71f3d155621: Layer already exists 01:48:08 3a8988fc99b4: Layer already exists 01:48:08 latest: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:48:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 01:48:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.6 01:48:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:48:09 7ad2287f2add: Preparing 01:48:09 2464aa11975c: Preparing 01:48:09 3a8988fc99b4: Preparing 01:48:09 d71f3d155621: Preparing 01:48:09 62170e181a92: Preparing 01:48:09 7ad2287f2add: Layer already exists 01:48:09 d71f3d155621: Layer already exists 01:48:09 3a8988fc99b4: Layer already exists 01:48:09 2464aa11975c: Layer already exists 01:48:09 62170e181a92: Layer already exists 01:48:09 2.2.0-dev.6: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:48:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 [Pipeline] isUnix [Pipeline] sh 01:48:10 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 01:48:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:48:10 7ad2287f2add: Preparing 01:48:10 2464aa11975c: Preparing 01:48:10 3a8988fc99b4: Preparing 01:48:10 d71f3d155621: Preparing 01:48:10 62170e181a92: Preparing 01:48:10 2464aa11975c: Layer already exists 01:48:10 3a8988fc99b4: Layer already exists 01:48:10 7ad2287f2add: Layer already exists 01:48:10 62170e181a92: Layer already exists 01:48:10 d71f3d155621: Layer already exists 01:48:10 53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] isUnix [Pipeline] sh 01:48:11 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 01:48:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 01:48:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 01:48:11 7ad2287f2add: Preparing 01:48:11 2464aa11975c: Preparing 01:48:11 3a8988fc99b4: Preparing 01:48:11 d71f3d155621: Preparing 01:48:11 62170e181a92: Preparing 01:48:11 3a8988fc99b4: Layer already exists 01:48:11 7ad2287f2add: Layer already exists 01:48:11 2464aa11975c: Layer already exists 01:48:11 d71f3d155621: Layer already exists 01:48:11 62170e181a92: Layer already exists 01:48:11 main: digest: sha256:e888d2ffbbb100f477bd5254531dcae7ab9ae2cb06861f2c0800084414bca5b7 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:11 ===================================================== [Pipeline] echo 01:48:11 taggedImages: 01:48:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761 01:48:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 01:48:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.6 01:48:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:53e4264da7a8f5345b5b18c03a825d0468689761-2.2.0-dev.6 01:48:11 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:12 01:48:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:48:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:12 arm64: Pulling from edgex-lftools-log-publisher 01:48:12 448f6bf000e3: Pulling fs layer 01:48:12 f757da607395: Pulling fs layer 01:48:12 05883995daec: Pulling fs layer 01:48:12 8603b9c90790: Pulling fs layer 01:48:12 1560dd03e051: Pulling fs layer 01:48:12 27f5ce0e4adf: Pulling fs layer 01:48:12 c2d8d7efcc4b: Pulling fs layer 01:48:12 8603b9c90790: Waiting 01:48:12 1560dd03e051: Waiting 01:48:12 27f5ce0e4adf: Waiting 01:48:12 c2d8d7efcc4b: Waiting 01:48:12 f757da607395: Verifying Checksum 01:48:12 f757da607395: Download complete 01:48:12 8603b9c90790: Verifying Checksum 01:48:12 8603b9c90790: Download complete 01:48:12 1560dd03e051: Verifying Checksum 01:48:12 1560dd03e051: Download complete 01:48:13 27f5ce0e4adf: Verifying Checksum 01:48:13 27f5ce0e4adf: Download complete 01:48:13 05883995daec: Verifying Checksum 01:48:13 05883995daec: Download complete 01:48:13 448f6bf000e3: Verifying Checksum 01:48:13 448f6bf000e3: Download complete 01:48:15 c2d8d7efcc4b: Verifying Checksum 01:48:15 c2d8d7efcc4b: Download complete 01:48:16 448f6bf000e3: Pull complete 01:48:17 f757da607395: Pull complete 01:48:19 05883995daec: Pull complete 01:48:19 8603b9c90790: Pull complete 01:48:20 1560dd03e051: Pull complete 01:48:20 27f5ce0e4adf: Pull complete 01:48:35 c2d8d7efcc4b: Pull complete 01:48:35 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 01:48:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:48:35 prd-ubuntu18.04-docker-arm64-4c-16g-1637 does not seem to be running inside a container 01:48:35 $ 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/27 -v /w/workspace/device-mqtt-go/27:/w/workspace/device-mqtt-go/27:rw,z -v /w/workspace/device-mqtt-go/27@tmp:/w/workspace/device-mqtt-go/27@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 01:48:38 $ docker top 061cc6ab1896faf7de40e27a4c1feaa517ef3deb3564327b6a9ad33c168d51d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:39 ---> job-cost.sh 01:48:39 lf-activate-venv: SKIPPING 01:48:39 INFO: No Stack... 01:48:40 INFO: Retrieving Pricing Info for: v3-standard-4 01:48:40 INFO: Archiving Costs [Pipeline] sh 01:48:41 + cut -d, -f6+ 01:48:41 cat /w/workspace/device-mqtt-go/27/archives/cost.csv [Pipeline] lock 01:48:41 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] 01:48:41 Resource [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] did not exist. Created. 01:48:41 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:41 /w/workspace/device-mqtt-go/27@tmp/durable-48797243/script.sh: 1: /w/workspace/device-mqtt-go/27@tmp/durable-48797243/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 01:48:42 + echo total: 0.10999999940395355 [Pipeline] stash 01:48:42 Warning: overwriting stash ‘stack-cost’ 01:48:42 Stashed 1 file(s) [Pipeline] } 01:48:42 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:42 $ docker stop --time=1 061cc6ab1896faf7de40e27a4c1feaa517ef3deb3564327b6a9ad33c168d51d7 01:48:44 $ docker rm -f 061cc6ab1896faf7de40e27a4c1feaa517ef3deb3564327b6a9ad33c168d51d7 [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 01:48:44 provisioning config files... 01:48:44 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2337580913470185959tmp [Pipeline] { [Pipeline] sh 01:48:44 + set +x 01:48:44 + curl -s https://codecov.io/bash 01:48:44 + bash -s -- 01:48:44 01:48:44 _____ _ 01:48:44 / ____| | | 01:48:44 | | ___ __| | ___ ___ _____ __ 01:48:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:48:44 | |___| (_) | (_| | __/ (_| (_) \ V / 01:48:44 \_____\___/ \__,_|\___|\___\___/ \_/ 01:48:44 Bash-1.0.6 01:48:44 01:48:44 01:48:44 ==> git version 2.24.4 found 01:48:44 ==> 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 01:48:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 01:48:44 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 01:48:44 ==> Jenkins CI detected. 01:48:44 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 01:48:44 project root: . 01:48:44 --> token set from env 01:48:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:48:45 ==> Running gcov in . (disable via -X gcov) 01:48:45 ==> Python coveragepy not found 01:48:45 ==> Searching for coverage reports in: 01:48:45 + . 01:48:45 -> Found 1 reports 01:48:45 ==> Detecting git/mercurial file structure 01:48:45 ==> Reading reports 01:48:45 + ./coverage.out bytes=17452 01:48:45 ==> Appending adjustments 01:48:45 https://docs.codecov.io/docs/fixing-reports 01:48:45 + Found adjustments 01:48:45 ==> Gzipping contents 01:48:45 4.0K /tmp/codecov.wRoHCF.gz 01:48:45 ==> Uploading reports 01:48:45 url: https://codecov.io 01:48:45 query: branch=main&commit=53e4264da7a8f5345b5b18c03a825d0468689761&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:48:45 -> Pinging Codecov 01:48:45 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=53e4264da7a8f5345b5b18c03a825d0468689761&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:48:45 -> Uploading to 01:48:45 https://storage.googleapis.com/codecov/v4/raw/2022-01-17/7D719EC7BBE17E464838252E33014C33/53e4264da7a8f5345b5b18c03a825d0468689761/ff382f4b-9d2a-4532-b542-9bfe8e4f0f3d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220117T014845Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3286fdb2f43fdff42dee5a89224324a30f7a5217198ea4a273b5070c2c5a0b3 01:48:45 % Total % Received % Xferd Average Speed Time Time Time Current 01:48:45 Dload Upload Total Spent Left Speed 01:48:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 9988 --:--:-- --:--:-- --:--:-- 9987 01:48:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] } 01:48:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:48:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:48:46 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:48:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:48:46 01:48:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 01:48:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:48:46 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:48:46 188c0c94c7c5: Pulling fs layer 01:48:46 0ef7d3d256c8: Pulling fs layer 01:48:46 de9db76c5a1d: Pulling fs layer 01:48:46 0eba1c9be4d2: Pulling fs layer 01:48:46 0d57e429df01: Pulling fs layer 01:48:46 4e4be7b47b0d: Pulling fs layer 01:48:46 e1f770b5df2f: Pulling fs layer 01:48:46 85a0685a4137: Pulling fs layer 01:48:46 0eba1c9be4d2: Waiting 01:48:46 0d57e429df01: Waiting 01:48:46 4e4be7b47b0d: Waiting 01:48:46 e1f770b5df2f: Waiting 01:48:46 85a0685a4137: Waiting 01:48:46 de9db76c5a1d: Verifying Checksum 01:48:46 de9db76c5a1d: Download complete 01:48:46 0ef7d3d256c8: Verifying Checksum 01:48:46 0ef7d3d256c8: Download complete 01:48:46 0d57e429df01: Verifying Checksum 01:48:46 0d57e429df01: Download complete 01:48:46 4e4be7b47b0d: Verifying Checksum 01:48:46 4e4be7b47b0d: Download complete 01:48:46 188c0c94c7c5: Verifying Checksum 01:48:46 188c0c94c7c5: Download complete 01:48:46 e1f770b5df2f: Verifying Checksum 01:48:46 e1f770b5df2f: Download complete 01:48:47 188c0c94c7c5: Pull complete 01:48:47 0eba1c9be4d2: Verifying Checksum 01:48:47 0eba1c9be4d2: Download complete 01:48:47 0ef7d3d256c8: Pull complete 01:48:47 85a0685a4137: Verifying Checksum 01:48:47 85a0685a4137: Download complete 01:48:47 de9db76c5a1d: Pull complete 01:48:51 0eba1c9be4d2: Pull complete 01:48:51 0d57e429df01: Pull complete 01:48:51 4e4be7b47b0d: Pull complete 01:48:51 e1f770b5df2f: Pull complete 01:48:55 85a0685a4137: Pull complete 01:48:55 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:48:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:48:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 01:48:55 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:48:55 $ 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 01:48:57 $ docker top 61b4ddc0ebacb5c035f74749419fb79bc648c98b4538b051fcbe85376e846e3b -eo pid,comm [Pipeline] { [Pipeline] echo 01:48:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:48:57 + set -o pipefail 01:48:57 + snyk monitor '--org=edgex-jenkins' 01:49:03 01:49:03 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 01:49:03 01:49:03 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/7ed1b369-41e5-411f-8039-646ea95f23df 01:49:03 01:49:03 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:49:03 01:49:03 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:49:03 01:49:03 [Pipeline] } 01:49:03 $ docker stop --time=1 61b4ddc0ebacb5c035f74749419fb79bc648c98b4538b051fcbe85376e846e3b 01:49:05 $ docker rm -f 61b4ddc0ebacb5c035f74749419fb79bc648c98b4538b051fcbe85376e846e3b [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 01:49:05 + git log --format=format:%s -1 53e4264da7a8f5345b5b18c03a825d0468689761 [Pipeline] sh 01:49:06 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 01:49:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:49:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:49:06 . [Pipeline] withDockerContainer 01:49:06 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:49:06 $ 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 01:49:06 $ docker top f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:06 [ssh-agent] Looking for ssh-agent implementation... 01:49:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:06 $ docker exec f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 ssh-agent 01:49:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBhHkIB/agent.15 01:49:07 SSH_AGENT_PID=22 01:49:07 Running ssh-add (command line suppressed) 01:49:07 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8543819663506209147.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8543819663506209147.key) 01:49:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:07 + git semver tag 01:49:07 # -> Open(): unable to determine branch for HEAD 01:49:07 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 01:49:07 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 01:49:07 # $SEMVER_REMOTE_NAME = origin 01:49:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:49:07 # $SEMVER_USER_NAME = edgex-jenkins 01:49:07 # $SEMVER_BRANCH = main 01:49:07 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:49:07 # 53e4264da7a8f5345b5b18c03a825d0468689761 HEAD 01:49:07 # -> Force: false 01:49:07 # 8acda35e4c450cf9ccc3982ae4273a8f678b4635 refs/tags/v2.2.0-dev.6 [Pipeline] } 01:49:07 $ docker exec --env ******** --env ******** f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 ssh-agent -k 01:49:07 unset SSH_AUTH_SOCK; 01:49:07 unset SSH_AGENT_PID; 01:49:07 echo Agent pid 22 killed; 01:49:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:07 + git semver [Pipeline] } 01:49:07 $ docker stop --time=1 f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 01:49:09 $ docker rm -f f017f05c48a9ba1353d8eb597166b024b696052b5a0adba844472f0f3b1520d8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 01:49:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:09 01:49:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 01:49:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:09 0.23.1-centos7: Pulling from edgex-lftools 01:49:09 ab5ef0e58194: Pulling fs layer 01:49:09 9712f1f96733: Pulling fs layer 01:49:09 63f879dbbcfc: Pulling fs layer 01:49:09 0d9ebad4ef96: Pulling fs layer 01:49:09 e9a5061849ea: Pulling fs layer 01:49:09 d747dcd14b5f: Pulling fs layer 01:49:09 2de7ff778b66: Pulling fs layer 01:49:09 0d9ebad4ef96: Waiting 01:49:09 e9a5061849ea: Waiting 01:49:09 d747dcd14b5f: Waiting 01:49:09 2de7ff778b66: Waiting 01:49:09 9712f1f96733: Verifying Checksum 01:49:09 9712f1f96733: Download complete 01:49:10 63f879dbbcfc: Verifying Checksum 01:49:10 63f879dbbcfc: Download complete 01:49:10 ab5ef0e58194: Verifying Checksum 01:49:10 ab5ef0e58194: Download complete 01:49:10 d747dcd14b5f: Verifying Checksum 01:49:10 d747dcd14b5f: Download complete 01:49:10 0d9ebad4ef96: Verifying Checksum 01:49:10 0d9ebad4ef96: Download complete 01:49:10 e9a5061849ea: Verifying Checksum 01:49:10 e9a5061849ea: Download complete 01:49:10 2de7ff778b66: Verifying Checksum 01:49:10 2de7ff778b66: Download complete 01:49:12 ab5ef0e58194: Pull complete 01:49:13 9712f1f96733: Pull complete 01:49:14 63f879dbbcfc: Pull complete 01:49:18 0d9ebad4ef96: Pull complete 01:49:18 e9a5061849ea: Pull complete 01:49:18 d747dcd14b5f: Pull complete 01:49:19 2de7ff778b66: Pull complete 01:49:19 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:49:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:19 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 01:49:19 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:49:19 $ 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 01:49:22 $ docker top 788d4c3c35935022ad922b71229c6d50e5288fb5f24051d9a4d9d77d2540da6c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:49:22 provisioning config files... 01:49:22 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5792008322373648768tmp 01:49:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config508087647296787493tmp 01:49:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1906448740669400333tmp [Pipeline] { [Pipeline] echo 01:49:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:49:23 ---> sigul-configuration.sh 01:49:23 gpg: directory `/root/.gnupg' created 01:49:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:49:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:49:23 gpg: keyring `/root/.gnupg/secring.gpg' created 01:49:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:49:23 gpg: CAST5 encrypted data 01:49:23 gpg: encrypted with 1 passphrase 01:49:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:49:23 + mkdir /home/jenkins 01:49:23 + mkdir /home/jenkins/sigul [Pipeline] sh 01:49:23 + 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 01:49:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:49:24 ---> sigul-install.sh 01:49:24 Sigul already installed; skipping installation. [Pipeline] sh 01:49:24 + git tag --list 01:49:24 0.7.1 01:49:24 v1.0.0 01:49:24 v1.1.0 01:49:24 v1.1.1 01:49:24 v1.2.2 01:49:24 v1.3.0 01:49:24 v1.3.1 01:49:24 v2.0.0 01:49:24 v2.0.1-dev.1 01:49:24 v2.0.1-dev.10 01:49:24 v2.0.1-dev.11 01:49:24 v2.0.1-dev.12 01:49:24 v2.0.1-dev.13 01:49:24 v2.0.1-dev.14 01:49:24 v2.0.1-dev.15 01:49:24 v2.0.1-dev.16 01:49:24 v2.0.1-dev.17 01:49:24 v2.0.1-dev.2 01:49:24 v2.0.1-dev.3 01:49:24 v2.0.1-dev.4 01:49:24 v2.0.1-dev.5 01:49:24 v2.0.1-dev.6 01:49:24 v2.0.1-dev.7 01:49:24 v2.0.1-dev.8 01:49:24 v2.0.1-dev.9 01:49:24 v2.1.0 01:49:24 v2.2.0-dev.1 01:49:24 v2.2.0-dev.2 01:49:24 v2.2.0-dev.3 01:49:24 v2.2.0-dev.4 01:49:24 v2.2.0-dev.5 01:49:24 v2.2.0-dev.6 [Pipeline] sh 01:49:24 + lftools sign git-tag v2.2.0-dev.6 01:49:25 Signing Git tag with Sigul... 01:49:25 Signing v2.2.0-dev.6 [Pipeline] echo 01:49:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:49:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:49:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:49:25 $ docker stop --time=1 788d4c3c35935022ad922b71229c6d50e5288fb5f24051d9a4d9d77d2540da6c 01:49:27 $ docker rm -f 788d4c3c35935022ad922b71229c6d50e5288fb5f24051d9a4d9d77d2540da6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:49:27 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 01:49:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:49:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:49:27 . [Pipeline] withDockerContainer 01:49:27 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:49:27 $ 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 01:49:28 $ docker top 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:28 [ssh-agent] Looking for ssh-agent implementation... 01:49:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:28 $ docker exec 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d ssh-agent 01:49:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHCfHin/agent.14 01:49:28 SSH_AGENT_PID=20 01:49:28 Running ssh-add (command line suppressed) 01:49:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6279226073325966709.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6279226073325966709.key) 01:49:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:29 + git semver bump pre 01:49:29 # -> Open(): unable to determine branch for HEAD 01:49:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 01:49:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 01:49:29 # $SEMVER_REMOTE_NAME = origin 01:49:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:49:29 # $SEMVER_USER_NAME = edgex-jenkins 01:49:29 # $SEMVER_BRANCH = main 01:49:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:49:29 2.2.0-dev.7 [Pipeline] } 01:49:29 $ docker exec --env ******** --env ******** 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d ssh-agent -k 01:49:29 unset SSH_AUTH_SOCK; 01:49:29 unset SSH_AGENT_PID; 01:49:29 echo Agent pid 20 killed; 01:49:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:29 + git semver [Pipeline] } 01:49:29 $ docker stop --time=1 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d 01:49:30 $ docker rm -f 00b0c7d11a923c810d6d53d944b0d9d006a2acd62fe459a85f4187d5cf63278d [Pipeline] // withDockerContainer [Pipeline] sh 01:49:30 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 01:49:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:49:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:49:31 . [Pipeline] withDockerContainer 01:49:31 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:49:31 $ 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 01:49:31 $ docker top e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:31 [ssh-agent] Looking for ssh-agent implementation... 01:49:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:31 $ docker exec e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf ssh-agent 01:49:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcceCKN/agent.15 01:49:31 SSH_AGENT_PID=22 01:49:31 Running ssh-add (command line suppressed) 01:49:32 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1629145951875150611.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1629145951875150611.key) 01:49:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:32 + git semver push 01:49:32 # -> Open(): unable to determine branch for HEAD 01:49:32 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 01:49:32 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 01:49:32 # $SEMVER_REMOTE_NAME = origin 01:49:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:49:32 # $SEMVER_USER_NAME = edgex-jenkins 01:49:32 # $SEMVER_BRANCH = main 01:49:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 01:49:33 $ docker exec --env ******** --env ******** e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf ssh-agent -k 01:49:33 unset SSH_AUTH_SOCK; 01:49:33 unset SSH_AGENT_PID; 01:49:33 echo Agent pid 22 killed; 01:49:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:34 + git semver [Pipeline] } 01:49:34 $ docker stop --time=1 e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf 01:49:35 $ docker rm -f e6c8aaa4509851d70461e8c833ddd97ffce2eee625c7e3454866471871779fcf [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 01:49:35 + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' 01:49:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:49:35 total 8 01:49:35 drwxr-xr-x. 3 root root 34 Jan 17 01:40 . 01:49:35 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 17 01:49 .. 01:49:35 drwxr-xr-x. 2 root root 6 Jan 17 01:40 cost 01:49:35 -rw-r--r--. 1 root root 84 Jan 17 01:40 cost.csv 01:49:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:49:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 01:49:35 total 8 01:49:35 drwxr-xr-x. 3 jenkins jenkins 34 Jan 17 01:40 . 01:49:35 drwxrwxr-x. 11 jenkins jenkins 4096 Jan 17 01:49 .. 01:49:35 drwxr-xr-x. 2 jenkins jenkins 6 Jan 17 01:40 cost 01:49:35 -rw-r--r--. 1 jenkins jenkins 84 Jan 17 01:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:49:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:49:36 ---> package-listing.sh 01:49:36 ++ tr '[:upper:]' '[:lower:]' 01:49:36 ++ facter osfamily 01:49:37 + OS_FAMILY=redhat 01:49:37 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 01:49:37 + START_PACKAGES=/tmp/packages_start.txt 01:49:37 + END_PACKAGES=/tmp/packages_end.txt 01:49:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:49:37 + PACKAGES=/tmp/packages_start.txt 01:49:37 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:49:37 + PACKAGES=/tmp/packages_end.txt 01:49:37 + case "${OS_FAMILY}" in 01:49:37 + rpm -qa 01:49:37 + sort 01:49:37 + '[' -f /tmp/packages_start.txt ']' 01:49:37 + '[' -f /tmp/packages_end.txt ']' 01:49:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:49:37 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 01:49:37 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 01:49:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 01:49:37 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 01:49:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:49:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:38 . [Pipeline] withDockerContainer 01:49:38 prd-centos7-docker-4c-2g-1635 does not seem to be running inside a container 01:49:38 $ 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 01:49:38 $ docker top 74d99372b29e9391caeb0bc8f0fd5c567e34a57483d3b0e2f21910fc6fb76c3d -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:39 + touch /tmp/pre-build-complete [Pipeline] sh 01:49:39 + mkdir -p /var/log/sysstat [Pipeline] sh 01:49:39 + ls /var/log/sa-host 01:49:39 + sadf -c /var/log/sa-host/sa17 01:49:39 file_magic: OK 01:49:39 HZ: Using current value: 100 01:49:39 file_header: OK 01:49:39 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 01:49:39 Statistics: 01:49:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 01:49:39 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:39 provisioning config files... 01:49:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7845261283810147320tmp [Pipeline] { [Pipeline] echo 01:49:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:49:40 ---> create-netrc.sh [Pipeline] } 01:49:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:49:40 ---> python-tools-install.sh [Pipeline] echo 01:49:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:49:40 ---> sudo-logs.sh 01:49:40 Archiving 'sudo' log.. 01:49:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-1635.novalocal: Name or service not known 01:49:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-1635.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 01:49:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:49:41 ---> job-cost.sh 01:49:41 lf-activate-venv: SKIPPING 01:49:41 DEBUG: total: 0.05999999865889549 01:49:41 INFO: Retrieving Stack Cost... 01:49:41 INFO: Retrieving Pricing Info for: v3-standard-2 01:49:41 INFO: Archiving Costs [Pipeline] echo 01:49:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:49:42 ---> logs-deploy.sh 01:49:42 lf-activate-venv: SKIPPING 01:49:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/27 01:49:42 INFO: archiving workspace using pattern(s): 01:49:42 Archives upload complete. 01:49:43 INFO: archiving logs to Nexus