Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 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-ssh2906240395950811453.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh10812955592473202113.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh11846443499826424724.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2017583189452128230.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh2461995305299493062.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8146 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 (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 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 # timeout=10 Commit message: "Merge pull request #347 from weichou1229/bump-go-mods" > git rev-list --no-walk 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:27:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:27:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:27:20 ========================================================= 03:27:20 EdgeX Global Pipelines Version Info 03:27:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:27:21 ------------------- 03:27:21 stable info: 03:27:21 ------------------- 03:27:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:27:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:27:21 Message: update stable to v1.0.221 03:27:21 ------------------- 03:27:21 experimental info: 03:27:21 ------------------- 03:27:21 Commited By: **** collab-it+edgex@linuxfoundation.org 03:27:21 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:27:21 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:27:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfd01e0 [Pipeline] echo 03:27:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:22 provisioning config files... 03:27:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5365358114919032521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:22 ---> docker-login.sh 03:27:22 nexus3.edgexfoundry.org:10001 03:27:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:22 Configure a credential helper to remove this warning. See 03:27:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:22 03:27:22 Login Succeeded 03:27:22 nexus3.edgexfoundry.org:10002 03:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:23 Configure a credential helper to remove this warning. See 03:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:23 03:27:23 Login Succeeded 03:27:23 nexus3.edgexfoundry.org:10003 03:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:23 Configure a credential helper to remove this warning. See 03:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:23 03:27:23 Login Succeeded 03:27:23 nexus3.edgexfoundry.org:10004 03:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:23 Configure a credential helper to remove this warning. See 03:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:23 03:27:23 Login Succeeded 03:27:23 docker.io 03:27:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:23 Configure a credential helper to remove this warning. See 03:27:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:23 03:27:23 Login Succeeded 03:27:23 ---> docker-login.sh ends [Pipeline] } 03:27:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:27:24 + git rev-list -1 --merges bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364~1..bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] echo 03:27:24 -----------> git rev-list -1 --merges bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364~1..bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:27:24 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [false] [Pipeline] sh 03:27:24 + git log --format=format:%s -1 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] echo 03:27:24 ========================================================= 03:27:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:27:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:27:25 + git log --format=format:%s -1 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] echo 03:27:25 [semverPrep] GIT_COMMIT: bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364, Commit Message: Merge pull request #347 from weichou1229/bump-go-mods [Pipeline] echo 03:27:25 [semverPrep] This is not a build commit. [Pipeline] sh 03:27:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:27:25 + grep -v github /etc/ssh/ssh_known_hosts 03:27:25 + [ -e /tmp/ssh_known_hosts ] 03:27:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:27:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:27:25 + sudo tee -a /etc/ssh/ssh_known_hosts 03:27:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:27:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:27:25 03:27:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:27:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:27:26 latest: Pulling from edgex-devops/git-semver 03:27:26 a0d0a0d46f8b: Pulling fs layer 03:27:26 3e5f54012d9b: Pulling fs layer 03:27:26 4c7163046ea9: Pulling fs layer 03:27:26 0c2d73faf560: Pulling fs layer 03:27:26 0c2d73faf560: Waiting 03:27:26 3e5f54012d9b: Verifying Checksum 03:27:26 3e5f54012d9b: Download complete 03:27:26 a0d0a0d46f8b: Verifying Checksum 03:27:26 a0d0a0d46f8b: Download complete 03:27:26 4c7163046ea9: Verifying Checksum 03:27:26 4c7163046ea9: Download complete 03:27:26 0c2d73faf560: Download complete 03:27:26 a0d0a0d46f8b: Pull complete 03:27:26 3e5f54012d9b: Pull complete 03:27:27 4c7163046ea9: Pull complete 03:27:27 0c2d73faf560: Pull complete 03:27:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:27:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:27:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:27:27 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:27: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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:27:27 $ docker top 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:27:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:27:28 [ssh-agent] Looking for ssh-agent implementation... 03:27:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:27:28 $ docker exec 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd ssh-agent 03:27:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXINkOpj/agent.14 03:27:28 SSH_AGENT_PID=21 03:27:28 Running ssh-add (command line suppressed) 03:27:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_110404465606841133.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_110404465606841133.key) 03:27:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:27:28 + git tag --points-at HEAD [Pipeline] } 03:27:28 $ docker exec --env ******** --env ******** 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd ssh-agent -k 03:27:28 unset SSH_AUTH_SOCK; 03:27:28 unset SSH_AGENT_PID; 03:27:28 echo Agent pid 21 killed; 03:27:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:27:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:27:28 [ssh-agent] Looking for ssh-agent implementation... 03:27:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:27:29 $ docker exec 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd ssh-agent 03:27:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNhGdFm/agent.54 03:27:29 SSH_AGENT_PID=60 03:27:29 Running ssh-add (command line suppressed) 03:27:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2159886678543294663.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2159886678543294663.key) 03:27:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:27:29 + git semver init 03:27:29 # -> Open(): unable to determine branch for HEAD 03:27:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 03:27:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 03:27:29 # $SEMVER_REMOTE_NAME = origin 03:27:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:27:29 # $SEMVER_USER_NAME = edgex-jenkins 03:27:29 # $SEMVER_BRANCH = main 03:27:29 # $SEMVER_TEMP = /tmp/semver-760105597 03:27:29 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:27:30 # '/tmp/semver-760105597' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 03:27:30 # -> Force: false 03:27:30 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 03:27:30 $ docker exec --env ******** --env ******** 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd ssh-agent -k 03:27:30 unset SSH_AUTH_SOCK; 03:27:30 unset SSH_AGENT_PID; 03:27:30 echo Agent pid 60 killed; 03:27:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:27:31 + git semver [Pipeline] } 03:27:31 $ docker stop --time=1 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd 03:27:32 $ docker rm -f 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd [Pipeline] // withDockerContainer [Pipeline] sh 03:27:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:27:33 Stashed 1 file(s) [Pipeline] echo 03:27:33 [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [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 03:27:33 provisioning config files... 03:27:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8376148627160811390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:33 ---> docker-login.sh 03:27:33 nexus3.edgexfoundry.org:10001 03:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:33 Configure a credential helper to remove this warning. See 03:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:33 03:27:33 Login Succeeded 03:27:33 nexus3.edgexfoundry.org:10002 03:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:33 Configure a credential helper to remove this warning. See 03:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:33 03:27:33 Login Succeeded 03:27:33 nexus3.edgexfoundry.org:10003 03:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:33 Configure a credential helper to remove this warning. See 03:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:33 03:27:33 Login Succeeded 03:27:33 nexus3.edgexfoundry.org:10004 03:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:34 Configure a credential helper to remove this warning. See 03:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:34 03:27:34 Login Succeeded 03:27:34 docker.io 03:27:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:34 Configure a credential helper to remove this warning. See 03:27:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:34 03:27:34 Login Succeeded 03:27:34 ---> docker-login.sh ends [Pipeline] } 03:27:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:27:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:27:34 ========================================================= 03:27:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:27:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:27:34 + 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 . 03:27:34 Sending build context to Docker daemon 5.74MB 03:27:34 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:27:34 Step 2/12 : FROM ${BASE} AS builder 03:27:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:27:34 59bf1c3509f3: Pulling fs layer 03:27:34 666ba61612fd: Pulling fs layer 03:27:34 8ed8ca486205: Pulling fs layer 03:27:34 4fe6c5a15a65: Pulling fs layer 03:27:34 22a0e8bec74d: Pulling fs layer 03:27:34 640e595b4fbd: Pulling fs layer 03:27:34 763cafe07f6e: Pulling fs layer 03:27:34 0c0b528cf693: Pulling fs layer 03:27:34 10935f4eaf8b: Pulling fs layer 03:27:34 640e595b4fbd: Waiting 03:27:34 763cafe07f6e: Waiting 03:27:34 0c0b528cf693: Waiting 03:27:34 4fe6c5a15a65: Waiting 03:27:34 22a0e8bec74d: Waiting 03:27:34 8ed8ca486205: Verifying Checksum 03:27:34 8ed8ca486205: Download complete 03:27:34 666ba61612fd: Download complete 03:27:34 22a0e8bec74d: Verifying Checksum 03:27:34 22a0e8bec74d: Download complete 03:27:34 640e595b4fbd: Download complete 03:27:34 59bf1c3509f3: Verifying Checksum 03:27:34 59bf1c3509f3: Download complete 03:27:34 763cafe07f6e: Verifying Checksum 03:27:34 763cafe07f6e: Download complete 03:27:34 0c0b528cf693: Verifying Checksum 03:27:34 59bf1c3509f3: Pull complete 03:27:35 666ba61612fd: Pull complete 03:27:35 8ed8ca486205: Pull complete 03:27:35 10935f4eaf8b: Verifying Checksum 03:27:35 10935f4eaf8b: Download complete 03:27:35 4fe6c5a15a65: Verifying Checksum 03:27:35 4fe6c5a15a65: Download complete 03:27:39 4fe6c5a15a65: Pull complete 03:27:39 22a0e8bec74d: Pull complete 03:27:39 640e595b4fbd: Pull complete 03:27:39 763cafe07f6e: Pull complete 03:27:39 0c0b528cf693: Pull complete 03:27:41 10935f4eaf8b: Pull complete 03:27:41 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 03:27:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:27:41 ---> 99d49a6021b9 03:27:41 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:27:42 ---> Running in 126e3ac98d29 03:27:43 Removing intermediate container 126e3ac98d29 03:27:43 ---> 09fac2cffca4 03:27:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:27:43 ---> Running in 6c9010031983 03:27:43 Removing intermediate container 6c9010031983 03:27:43 ---> 98d73ea8bf57 03:27:43 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:27:43 ---> Running in 6b556e603dfe 03:27:44 Removing intermediate container 6b556e603dfe 03:27:44 ---> 4393e04f0ebd 03:27:44 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:27:44 ---> Running in 30a7427f1c7e 03:27:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:27:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:27:45 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:27:45 (2/4) Installing libedit (20210910.3.1-r0) 03:27:45 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:27:45 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:27:45 Executing busybox-1.34.1-r3.trigger 03:27:45 OK: 224 MiB in 56 packages 03:27:46 Removing intermediate container 30a7427f1c7e 03:27:46 ---> 289554cfe475 03:27:46 Step 7/12 : WORKDIR /device-mqtt-go 03:27:46 ---> Running in eda6a88e46a6 03:27:46 Removing intermediate container eda6a88e46a6 03:27:46 ---> 5e8d7536e383 03:27:46 Step 8/12 : COPY go.mod vendor* ./ 03:27:46 ---> a5b3aa3bdbea 03:27:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:27:46 ---> Running in bac9ee8ed557 03:27:48 Still waiting to schedule task 03:27:48 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:28:13 Removing intermediate container bac9ee8ed557 03:28:13 ---> ab618ad59147 03:28:13 Step 10/12 : COPY . . 03:28:13 ---> d5bbeb516734 03:28:13 Step 11/12 : ARG MAKE='make build' 03:28:13 ---> Running in 9b88bcef9c96 03:28:13 Removing intermediate container 9b88bcef9c96 03:28:13 ---> 7096a8b429e2 03:28:13 Step 12/12 : RUN $MAKE 03:28:13 ---> Running in f68472f3af3e 03:28:13 noop 03:28:13 Removing intermediate container f68472f3af3e 03:28:13 ---> e7c0951de30a 03:28:13 Successfully built e7c0951de30a 03:28:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:28:13 + docker inspect -f . ci-base-image-x86_64 03:28:13 . [Pipeline] withDockerContainer 03:28:13 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:28:14 $ 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 ******** -e ******** ci-base-image-x86_64 cat 03:28:14 $ docker top 3561ab7558706f711ad7fbf421ed562225b8c430892cb7cefd8f1a4af53e07e0 -eo pid,comm [Pipeline] { [Pipeline] sh 03:28:14 + go version 03:28:14 go version go1.17.6 linux/amd64 [Pipeline] } 03:28:14 $ docker stop --time=1 3561ab7558706f711ad7fbf421ed562225b8c430892cb7cefd8f1a4af53e07e0 03:28:16 $ docker rm -f 3561ab7558706f711ad7fbf421ed562225b8c430892cb7cefd8f1a4af53e07e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:28:16 + docker inspect -f . ci-base-image-x86_64 03:28:16 . [Pipeline] withDockerContainer 03:28:16 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:28:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:28:17 $ docker top 9b2894e0510b7549926681f9b6ca6ac559f6181a48185618ec10383d4547b080 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:28:17 + make test 03:28:17 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:28:17 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:28:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:28:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.5% of statements 03:28:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:28:24 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:28:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:28:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:28:27 ./bin/test-attribution-txt.sh [Pipeline] echo 03:28:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:28:27 $ docker stop --time=1 9b2894e0510b7549926681f9b6ca6ac559f6181a48185618ec10383d4547b080 03:28:29 $ docker rm -f 9b2894e0510b7549926681f9b6ca6ac559f6181a48185618ec10383d4547b080 [Pipeline] // withDockerContainer [Pipeline] sh 03:28:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:28:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:28:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:28:31 + ls -al . 03:28:31 total 184 03:28:31 drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 03:28 . 03:28:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 03:27 .. 03:28:31 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 03:27 .dockerignore 03:28:31 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 03:27 .git 03:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:27 .github 03:28:31 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 03:27 .gitignore 03:28:31 drwx------ 3 jenkins jenkins 4096 Mar 21 03:27 .semver 03:28:31 -rw-rw-r-- 1 jenkins jenkins 7384 Mar 21 03:27 Attribution.txt 03:28:31 -rw-rw-r-- 1 jenkins jenkins 7447 Mar 21 03:27 CHANGELOG.md 03:28:31 -rw-rw-r-- 1 jenkins jenkins 1930 Mar 21 03:27 Dockerfile 03:28:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 03:27 GOVERNANCE.md 03:28:31 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 03:27 Jenkinsfile 03:28:31 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 03:27 LICENSE 03:28:31 -rw-rw-r-- 1 jenkins jenkins 1030 Mar 21 03:27 Makefile 03:28:31 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 03:27 OWNERS.md 03:28:31 -rw-rw-r-- 1 jenkins jenkins 2643 Mar 21 03:27 README.md 03:28:31 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 03:27 VERSION 03:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:27 bin 03:28:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 03:27 cmd 03:28:31 -rw-r--r-- 1 jenkins jenkins 17452 Mar 21 03:28 coverage.out 03:28:31 -rw-rw-r-- 1 jenkins jenkins 2884 Mar 21 03:27 go.mod 03:28:31 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 03:27 go.sum 03:28:31 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 03:27 internal 03:28:31 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:27 mock 03:28:31 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 03:27 snap 03:28:31 -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 03:27 version.go [Pipeline] isUnix [Pipeline] sh 03:28:31 + 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=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 --label arch=amd64 --label version=2.2.0-dev.10 . 03:28:31 Sending build context to Docker daemon 5.758MB 03:28:31 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:28:31 Step 2/24 : FROM ${BASE} AS builder 03:28:31 ---> e7c0951de30a 03:28:31 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:28:31 ---> Running in 2a228b9088d0 03:28:31 Removing intermediate container 2a228b9088d0 03:28:31 ---> 99fa6a1391e6 03:28:31 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:28:31 ---> Running in fe335a0b5f1f 03:28:31 Removing intermediate container fe335a0b5f1f 03:28:31 ---> 519c51d308b1 03:28:31 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:28:31 ---> Running in a592d7c6b09e 03:28:32 Removing intermediate container a592d7c6b09e 03:28:32 ---> 9883fcb8262e 03:28:32 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:32 ---> Running in 7e490d71d496 03:28:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:28:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:28:33 OK: 224 MiB in 56 packages 03:28:34 Removing intermediate container 7e490d71d496 03:28:34 ---> e4ea121820d2 03:28:34 Step 7/24 : WORKDIR /device-mqtt-go 03:28:34 ---> Running in 9d0e29bf6d9a 03:28:34 Removing intermediate container 9d0e29bf6d9a 03:28:34 ---> 56c8aee26641 03:28:34 Step 8/24 : COPY go.mod vendor* ./ 03:28:34 ---> 74d0b65dfafc 03:28:34 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:34 ---> Running in 6d5ce3846cdb 03:28:35 Removing intermediate container 6d5ce3846cdb 03:28:35 ---> 6a3cb6e2c1ba 03:28:35 Step 10/24 : COPY . . 03:28:35 ---> 41e5ba14acc0 03:28:35 Step 11/24 : ARG MAKE='make build' 03:28:35 ---> Running in 4924d4755d54 03:28:35 Removing intermediate container 4924d4755d54 03:28:35 ---> 8f527e0a7af6 03:28:35 Step 12/24 : RUN $MAKE 03:28:35 ---> Running in e294ad34dfa2 03:28:36 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.10" -o cmd/device-mqtt ./cmd 03:28:44 Removing intermediate container e294ad34dfa2 03:28:44 ---> 085d8008e1c4 03:28:44 Step 13/24 : FROM alpine:3.14 03:28:44 3.14: Pulling from library/alpine 03:28:44 36ccefbf3d8a: Pulling fs layer 03:28:44 36ccefbf3d8a: Verifying Checksum 03:28:44 36ccefbf3d8a: Download complete 03:28:44 36ccefbf3d8a: Pull complete 03:28:44 Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b 03:28:44 Status: Downloaded newer image for alpine:3.14 03:28:44 ---> a33ac4f1069a 03:28:44 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:28:44 ---> Running in 1be0a231bb79 03:28:44 Removing intermediate container 1be0a231bb79 03:28:44 ---> 0f513c412ccb 03:28:44 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:28:44 ---> Running in d891d0c5c4dd 03:28:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:28:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:28:45 (1/6) Installing dumb-init (1.2.5-r1) 03:28:45 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:28:45 (3/6) Installing libsodium (1.0.18-r0) 03:28:45 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:28:45 (5/6) Installing libzmq (4.3.4-r0) 03:28:45 (6/6) Installing zeromq (4.3.4-r0) 03:28:45 Executing busybox-1.33.1-r6.trigger 03:28:45 OK: 8 MiB in 20 packages 03:28:45 Removing intermediate container d891d0c5c4dd 03:28:45 ---> 1fda166771c3 03:28:45 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:28:46 ---> f1d342d1862f 03:28:46 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:28:46 ---> 204a4777ef38 03:28:46 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:28:46 ---> cace9ccc22b8 03:28:46 Step 19/24 : EXPOSE 59982 03:28:46 ---> Running in 8c1f16251f48 03:28:46 Removing intermediate container 8c1f16251f48 03:28:46 ---> 07da0562d412 03:28:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:28:46 ---> Running in eab2282c5f56 03:28:46 Removing intermediate container eab2282c5f56 03:28:46 ---> 3736ef7884ab 03:28:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:28:46 ---> Running in ff59b1b18f9c 03:28:46 Removing intermediate container ff59b1b18f9c 03:28:46 ---> 7242e36c95bb 03:28:46 Step 22/24 : LABEL arch=amd64 03:28:46 ---> Running in 288dda1cf0bc 03:28:46 Removing intermediate container 288dda1cf0bc 03:28:46 ---> 10d8c4e5ee70 03:28:46 Step 23/24 : LABEL git_sha=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:28:46 ---> Running in 6db74b8c8338 03:28:46 Removing intermediate container 6db74b8c8338 03:28:46 ---> 83e6b611469e 03:28:46 Step 24/24 : LABEL version=2.2.0-dev.10 03:28:46 ---> Running in da0d9ba3973b 03:28:47 Removing intermediate container da0d9ba3973b 03:28:47 ---> 5e8f026fd6c6 03:28:47 [Warning] One or more build-args [ARCH] were not consumed 03:28:47 Successfully built 5e8f026fd6c6 03:28:47 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:28:47 provisioning config files... 03:28:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config80877476501574419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:28:47 ---> docker-login.sh 03:28:47 nexus3.edgexfoundry.org:10001 03:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:47 Configure a credential helper to remove this warning. See 03:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:47 03:28:47 Login Succeeded 03:28:47 nexus3.edgexfoundry.org:10002 03:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:47 Configure a credential helper to remove this warning. See 03:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:47 03:28:47 Login Succeeded 03:28:47 nexus3.edgexfoundry.org:10003 03:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:47 Configure a credential helper to remove this warning. See 03:28:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:47 03:28:47 Login Succeeded 03:28:47 nexus3.edgexfoundry.org:10004 03:28:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:48 Configure a credential helper to remove this warning. See 03:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:48 03:28:48 Login Succeeded 03:28:48 docker.io 03:28:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:28:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:28:48 Configure a credential helper to remove this warning. See 03:28:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:28:48 03:28:48 Login Succeeded 03:28:48 ---> docker-login.sh ends [Pipeline] } 03:28:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:28:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:28:48 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 03:28:48 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:28:48 latest 03:28:48 2.2.0-dev.10 03:28:48 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 03:28:48 main 03:28:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:28:48 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] isUnix [Pipeline] sh 03:28:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:28:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:28:48 f3c62946f129: Preparing 03:28:48 08da98e87b0c: Preparing 03:28:48 a23d6cd56dc0: Preparing 03:28:48 9c17d6929def: Preparing 03:28:48 2e38978dfe40: Preparing 03:28:48 2e38978dfe40: Layer already exists 03:28:48 f3c62946f129: Pushed 03:28:48 08da98e87b0c: Pushed 03:28:49 9c17d6929def: Pushed 03:28:50 a23d6cd56dc0: Pushed 03:28:50 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] isUnix [Pipeline] sh 03:28:50 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 03:28:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:28:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:28:51 f3c62946f129: Preparing 03:28:51 08da98e87b0c: Preparing 03:28:51 a23d6cd56dc0: Preparing 03:28:51 9c17d6929def: Preparing 03:28:51 2e38978dfe40: Preparing 03:28:51 2e38978dfe40: Layer already exists 03:28:51 f3c62946f129: Layer already exists 03:28:51 9c17d6929def: Layer already exists 03:28:51 08da98e87b0c: Layer already exists 03:28:51 a23d6cd56dc0: Layer already exists 03:28:51 latest: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] isUnix [Pipeline] sh 03:28:51 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 03:28:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.10 03:28:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:28:51 f3c62946f129: Preparing 03:28:51 08da98e87b0c: Preparing 03:28:51 a23d6cd56dc0: Preparing 03:28:51 9c17d6929def: Preparing 03:28:51 2e38978dfe40: Preparing 03:28:51 9c17d6929def: Layer already exists 03:28:51 f3c62946f129: Layer already exists 03:28:51 08da98e87b0c: Layer already exists 03:28:51 a23d6cd56dc0: Layer already exists 03:28:51 2e38978dfe40: Layer already exists 03:28:51 2.2.0-dev.10: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] isUnix [Pipeline] sh 03:28:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 03:28:52 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 03:28:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:28:52 f3c62946f129: Preparing 03:28:52 08da98e87b0c: Preparing 03:28:52 a23d6cd56dc0: Preparing 03:28:52 9c17d6929def: Preparing 03:28:52 2e38978dfe40: Preparing 03:28:52 f3c62946f129: Layer already exists 03:28:52 08da98e87b0c: Layer already exists 03:28:52 2e38978dfe40: Layer already exists 03:28:52 a23d6cd56dc0: Layer already exists 03:28:52 9c17d6929def: Layer already exists 03:28:52 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] isUnix [Pipeline] sh 03:28:52 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 03:28:53 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 03:28:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:28:53 f3c62946f129: Preparing 03:28:53 08da98e87b0c: Preparing 03:28:53 a23d6cd56dc0: Preparing 03:28:53 9c17d6929def: Preparing 03:28:53 2e38978dfe40: Preparing 03:28:53 9c17d6929def: Layer already exists 03:28:53 a23d6cd56dc0: Layer already exists 03:28:53 f3c62946f129: Layer already exists 03:28:53 08da98e87b0c: Layer already exists 03:28:53 2e38978dfe40: Layer already exists 03:28:53 main: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:28:53 ===================================================== [Pipeline] echo 03:28:53 taggedImages: 03:28:53 - nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:28:53 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:28:53 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.10 03:28:53 - nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 03:28:53 - 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 03:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:53 03:28:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:28:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:28:53 latest: Pulling from edgex-lftools-log-publisher 03:28:53 5eb5b503b376: Pulling fs layer 03:28:53 5c69ac0246d0: Pulling fs layer 03:28:53 ec43610c2a17: Pulling fs layer 03:28:53 3a2ae6a8a46f: Pulling fs layer 03:28:53 33b1e0a273af: Pulling fs layer 03:28:53 5d3b04190fa2: Pulling fs layer 03:28:53 2f39f015ded8: Pulling fs layer 03:28:53 33b1e0a273af: Waiting 03:28:53 2f39f015ded8: Waiting 03:28:53 5d3b04190fa2: Waiting 03:28:53 3a2ae6a8a46f: Waiting 03:28:53 5c69ac0246d0: Verifying Checksum 03:28:53 5c69ac0246d0: Download complete 03:28:53 3a2ae6a8a46f: Verifying Checksum 03:28:53 3a2ae6a8a46f: Download complete 03:28:53 33b1e0a273af: Verifying Checksum 03:28:53 33b1e0a273af: Download complete 03:28:53 ec43610c2a17: Verifying Checksum 03:28:53 ec43610c2a17: Download complete 03:28:53 5d3b04190fa2: Verifying Checksum 03:28:53 5d3b04190fa2: Download complete 03:28:54 5eb5b503b376: Verifying Checksum 03:28:54 5eb5b503b376: Download complete 03:28:54 2f39f015ded8: Verifying Checksum 03:28:54 2f39f015ded8: Download complete 03:28:55 5eb5b503b376: Pull complete 03:28:55 5c69ac0246d0: Pull complete 03:28:56 ec43610c2a17: Pull complete 03:28:56 3a2ae6a8a46f: Pull complete 03:28:56 33b1e0a273af: Pull complete 03:28:56 5d3b04190fa2: Pull complete 03:29:01 2f39f015ded8: Pull complete 03:29:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:29:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:29:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:29:01 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:29:01 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:29:03 $ docker top 4b4fb140dd86b91a15888db02a1681608b78bd9a68de5bfc3fc0c80ae6a1a8ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:29:04 ---> job-cost.sh 03:29:04 lf-activate-venv: SKIPPING 03:29:04 INFO: No Stack... 03:29:04 INFO: Retrieving Pricing Info for: v3-standard-8 03:29:04 INFO: Archiving Costs [Pipeline] sh 03:29:05 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 03:29:05 + cut -d, -f6 [Pipeline] lock 03:29:05 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] 03:29:05 Resource [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] did not exist. Created. 03:29:05 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:29:05 + echo total: 0.2199999988079071 [Pipeline] stash 03:29:05 Stashed 1 file(s) [Pipeline] } 03:29:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 03:29:05 $ docker stop --time=1 4b4fb140dd86b91a15888db02a1681608b78bd9a68de5bfc3fc0c80ae6a1a8ec 03:29:06 $ docker rm -f 4b4fb140dd86b91a15888db02a1681608b78bd9a68de5bfc3fc0c80ae6a1a8ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:30:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8148 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 03:30:09 Running in /w/workspace/device-mqtt-go/31 [Pipeline] { [Pipeline] checkout 03:30:09 Selected Git installation does not exist. Using Default 03:30:09 The recommended git tool is: NONE 03:30:16 using credential edgex-jenkins-ssh 03:30:16 Cloning the remote Git repository 03:30:16 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:30:17 > git init /w/workspace/device-mqtt-go/31 # timeout=10 03:30:17 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:30:17 > git --version # timeout=10 03:30:17 > git --version # 'git version 2.25.1' 03:30:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:30:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:30:18 Avoid second fetch 03:30:18 Checking out Revision bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 (main) 03:30:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:30:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:30:18 > git config core.sparsecheckout # timeout=10 03:30:18 > git checkout -f bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 # timeout=10 03:30:23 Commit message: "Merge pull request #347 from weichou1229/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:30:24 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:30:24 % Total % Received % Xferd Average Speed Time Time Time Current 03:30:24 Dload Upload Total Spent Left Speed 03:30:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48338 0 --:--:-- --:--:-- --:--:-- 48142 [Pipeline] sh 03:30:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:30:25 + + sudo teesudo /etc/docker/daemon.new jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:30:25 03:30:25 { 03:30:25 "registry-mirrors": [ 03:30:25 "https://nexus3.edgexfoundry.org:10001" 03:30:25 ], 03:30:25 "bip": "10.250.0.254/24", 03:30:25 "hosts": [ 03:30:25 "tcp://0.0.0.0:5555", 03:30:25 "unix:///var/run/docker.sock" 03:30:25 ], 03:30:25 "mtu": 1458, 03:30:25 "selinux-enabled": true, 03:30:25 "seccomp-profile": "/etc/docker/seccomp.json" 03:30:25 } [Pipeline] sh 03:30:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:30:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:30:44 provisioning config files... 03:30:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/31@tmp/config4017575236289904796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:44 ---> docker-login.sh 03:30:44 nexus3.edgexfoundry.org:10001 03:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:45 Configure a credential helper to remove this warning. See 03:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:45 03:30:45 Login Succeeded 03:30:45 nexus3.edgexfoundry.org:10002 03:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:46 Configure a credential helper to remove this warning. See 03:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:46 03:30:46 Login Succeeded 03:30:46 nexus3.edgexfoundry.org:10003 03:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:46 Configure a credential helper to remove this warning. See 03:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:46 03:30:46 Login Succeeded 03:30:46 nexus3.edgexfoundry.org:10004 03:30:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:46 Configure a credential helper to remove this warning. See 03:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:46 03:30:46 Login Succeeded 03:30:46 docker.io 03:30:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:47 Configure a credential helper to remove this warning. See 03:30:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:47 03:30:47 Login Succeeded 03:30:47 ---> docker-login.sh ends [Pipeline] } 03:30:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:30:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:30:48 ========================================================= 03:30:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:30:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:30:48 + 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 . 03:30:48 Sending build context to Docker daemon 2.984MB 03:30:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:30:48 Step 2/12 : FROM ${BASE} AS builder 03:30:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:30:49 9b3977197b4f: Pulling fs layer 03:30:49 1a89e8eeedd5: Pulling fs layer 03:30:49 94645a83ff95: Pulling fs layer 03:30:49 3f3a8bcf1eab: Pulling fs layer 03:30:49 0c92f367c5e7: Pulling fs layer 03:30:49 f7c0051592d6: Pulling fs layer 03:30:49 a227ed2f7395: Pulling fs layer 03:30:49 7b1c46037f91: Pulling fs layer 03:30:49 0c92f367c5e7: Waiting 03:30:49 f7c0051592d6: Waiting 03:30:49 a227ed2f7395: Waiting 03:30:49 7b1c46037f91: Waiting 03:30:49 3f3a8bcf1eab: Waiting 03:30:49 94645a83ff95: Verifying Checksum 03:30:49 94645a83ff95: Download complete 03:30:49 1a89e8eeedd5: Download complete 03:30:49 0c92f367c5e7: Verifying Checksum 03:30:49 0c92f367c5e7: Download complete 03:30:49 f7c0051592d6: Verifying Checksum 03:30:49 f7c0051592d6: Download complete 03:30:49 9b3977197b4f: Verifying Checksum 03:30:49 9b3977197b4f: Download complete 03:30:49 a227ed2f7395: Verifying Checksum 03:30:49 a227ed2f7395: Download complete 03:30:50 9b3977197b4f: Pull complete 03:30:50 1a89e8eeedd5: Pull complete 03:30:51 94645a83ff95: Pull complete 03:30:51 7b1c46037f91: Verifying Checksum 03:30:51 7b1c46037f91: Download complete 03:30:51 3f3a8bcf1eab: Verifying Checksum 03:30:51 3f3a8bcf1eab: Download complete 03:31:04 3f3a8bcf1eab: Pull complete 03:31:04 0c92f367c5e7: Pull complete 03:31:04 f7c0051592d6: Pull complete 03:31:04 a227ed2f7395: Pull complete 03:31:11 7b1c46037f91: Pull complete 03:31:11 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 03:31:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:31:11 ---> f79e39bc4007 03:31:11 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:31:11 ---> Running in caa7bc7ca818 03:31:11 Removing intermediate container caa7bc7ca818 03:31:11 ---> 98fc795977a1 03:31:11 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:31:11 ---> Running in 2cc12e481dbd 03:31:11 Removing intermediate container 2cc12e481dbd 03:31:11 ---> 9cbddbdc9df1 03:31:11 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:31:11 ---> Running in e76abf27cf4e 03:31:13 Removing intermediate container e76abf27cf4e 03:31:13 ---> 251de3b3e065 03:31:13 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:31:13 ---> Running in 2e9801885c01 03:31:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:31:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:31:16 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:31:16 (2/4) Installing libedit (20210910.3.1-r0) 03:31:16 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:31:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:31:17 Executing busybox-1.34.1-r3.trigger 03:31:17 OK: 224 MiB in 56 packages 03:31:18 Removing intermediate container 2e9801885c01 03:31:18 ---> 18052d224f9a 03:31:18 Step 7/12 : WORKDIR /device-mqtt-go 03:31:18 ---> Running in 69700ac94a72 03:31:18 Removing intermediate container 69700ac94a72 03:31:18 ---> ccfd5dd638be 03:31:18 Step 8/12 : COPY go.mod vendor* ./ 03:31:18 ---> 6a07c62baea8 03:31:18 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:31:18 ---> Running in eec75c6886ce 03:32:40 Removing intermediate container eec75c6886ce 03:32:40 ---> 61146c25c485 03:32:40 Step 10/12 : COPY . . 03:32:40 ---> dabfb45e5c1b 03:32:40 Step 11/12 : ARG MAKE='make build' 03:32:40 ---> Running in 2e1cec456efa 03:32:40 Removing intermediate container 2e1cec456efa 03:32:40 ---> 5a0e2ca3a8b4 03:32:40 Step 12/12 : RUN $MAKE 03:32:40 ---> Running in b5e186a6380f 03:32:40 noop 03:32:40 Removing intermediate container b5e186a6380f 03:32:40 ---> ea1a772c9080 03:32:40 Successfully built ea1a772c9080 03:32:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:32:41 + docker inspect -f . ci-base-image-arm64 03:32:41 . [Pipeline] withDockerContainer 03:32:41 prd-ubuntu20.04-docker-arm64-4c-16g-8148 does not seem to be running inside a container 03:32:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@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 03:32:42 $ docker top aad4c50b4451a7c0ce67c1f5d2d214609dc862ec668c890df9c59d158dd731e8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:43 + go version 03:32:43 go version go1.17.6 linux/arm64 [Pipeline] } 03:32:43 $ docker stop --time=1 aad4c50b4451a7c0ce67c1f5d2d214609dc862ec668c890df9c59d158dd731e8 03:32:45 $ docker rm -f aad4c50b4451a7c0ce67c1f5d2d214609dc862ec668c890df9c59d158dd731e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:32:45 + docker inspect -f . ci-base-image-arm64 03:32:45 . [Pipeline] withDockerContainer 03:32:46 prd-ubuntu20.04-docker-arm64-4c-16g-8148 does not seem to be running inside a container 03:32:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@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 03:32:47 $ docker top 41649146b2b45e1aa4f684dad54d60ac9f97768f921cefb482bcf131987df37e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:32:48 + make test 03:32:48 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:32:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:33:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:33:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.5% of statements 03:33:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:33:39 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:33:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:33:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:33:58 ./bin/test-attribution-txt.sh [Pipeline] echo 03:33:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:33:59 $ docker stop --time=1 41649146b2b45e1aa4f684dad54d60ac9f97768f921cefb482bcf131987df37e 03:34:00 $ docker rm -f 41649146b2b45e1aa4f684dad54d60ac9f97768f921cefb482bcf131987df37e [Pipeline] // withDockerContainer [Pipeline] sh 03:34:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:34:01 Warning: overwriting stash ‘coverage-report’ 03:34:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:34:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:34:03 + ls -al . 03:34:03 total 180 03:34:03 drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 03:33 . 03:34:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 03:30 .. 03:34:03 -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 03:30 .dockerignore 03:34:03 drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 03:30 .git 03:34:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:30 .github 03:34:03 -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 03:30 .gitignore 03:34:03 -rw-rw-r-- 1 jenkins jenkins 7384 Mar 21 03:30 Attribution.txt 03:34:03 -rw-rw-r-- 1 jenkins jenkins 7447 Mar 21 03:30 CHANGELOG.md 03:34:03 -rw-rw-r-- 1 jenkins jenkins 1930 Mar 21 03:30 Dockerfile 03:34:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 03:30 GOVERNANCE.md 03:34:03 -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 03:30 Jenkinsfile 03:34:03 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 03:30 LICENSE 03:34:03 -rw-rw-r-- 1 jenkins jenkins 1030 Mar 21 03:30 Makefile 03:34:03 -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 03:30 OWNERS.md 03:34:03 -rw-rw-r-- 1 jenkins jenkins 2643 Mar 21 03:30 README.md 03:34:03 -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 03:27 VERSION 03:34:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:30 bin 03:34:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 03:30 cmd 03:34:03 -rw-r--r-- 1 jenkins jenkins 17452 Mar 21 03:33 coverage.out 03:34:03 -rw-rw-r-- 1 jenkins jenkins 2884 Mar 21 03:30 go.mod 03:34:03 -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 03:30 go.sum 03:34:03 drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 03:30 internal 03:34:03 drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:30 mock 03:34:03 drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 03:30 snap 03:34:03 -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 03:30 version.go [Pipeline] isUnix [Pipeline] sh 03:34:03 + 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=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 --label arch=arm64 --label version=2.2.0-dev.10 . 03:34:03 Sending build context to Docker daemon 3.003MB 03:34:03 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:34:03 Step 2/24 : FROM ${BASE} AS builder 03:34:03 ---> ea1a772c9080 03:34:03 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:34:03 ---> Running in 6fbc2ccf2ec4 03:34:04 Removing intermediate container 6fbc2ccf2ec4 03:34:04 ---> a835551b3268 03:34:04 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:34:04 ---> Running in 9b70494dc329 03:34:04 Removing intermediate container 9b70494dc329 03:34:04 ---> 187b98350212 03:34:04 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:34:04 ---> Running in 981ac9142bcc 03:34:06 Removing intermediate container 981ac9142bcc 03:34:06 ---> 4cbb584183dd 03:34:06 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:34:06 ---> Running in 66965d45f0d5 03:34:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:34:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:34:09 OK: 224 MiB in 56 packages 03:34:10 Removing intermediate container 66965d45f0d5 03:34:10 ---> 44f45edf9e2d 03:34:10 Step 7/24 : WORKDIR /device-mqtt-go 03:34:10 ---> Running in f6dab57fbd2d 03:34:10 Removing intermediate container f6dab57fbd2d 03:34:10 ---> 2d1da4d6bd0f 03:34:10 Step 8/24 : COPY go.mod vendor* ./ 03:34:10 ---> 645e83b4f9ac 03:34:10 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:10 ---> Running in 4c810108903a 03:34:13 Removing intermediate container 4c810108903a 03:34:13 ---> cd9118f4bf3d 03:34:13 Step 10/24 : COPY . . 03:34:14 ---> b53456674300 03:34:14 Step 11/24 : ARG MAKE='make build' 03:34:14 ---> Running in f3d609b2d352 03:34:14 Removing intermediate container f3d609b2d352 03:34:14 ---> 8c10feb17842 03:34:14 Step 12/24 : RUN $MAKE 03:34:14 ---> Running in 41d5415bfbf7 03:34:15 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.10" -o cmd/device-mqtt ./cmd 03:35:02 Removing intermediate container 41d5415bfbf7 03:35:02 ---> b2dc1e3ae173 03:35:02 Step 13/24 : FROM alpine:3.14 03:35:02 3.14: Pulling from library/alpine 03:35:02 93a1719cf261: Pulling fs layer 03:35:02 93a1719cf261: Download complete 03:35:02 93a1719cf261: Pull complete 03:35:02 Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b 03:35:02 Status: Downloaded newer image for alpine:3.14 03:35:02 ---> 71a2028e5025 03:35:02 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:35:02 ---> Running in f0aee5a7486f 03:35:02 Removing intermediate container f0aee5a7486f 03:35:02 ---> 81611cc72875 03:35:02 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:35:02 ---> Running in 1f57f3cfcc08 03:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:35:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:35:02 (1/6) Installing dumb-init (1.2.5-r1) 03:35:02 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:35:02 (3/6) Installing libsodium (1.0.18-r0) 03:35:02 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:35:02 (5/6) Installing libzmq (4.3.4-r0) 03:35:02 (6/6) Installing zeromq (4.3.4-r0) 03:35:02 Executing busybox-1.33.1-r6.trigger 03:35:02 OK: 8 MiB in 20 packages 03:35:02 Removing intermediate container 1f57f3cfcc08 03:35:02 ---> edf58080d8b1 03:35:02 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:35:02 ---> 8ef0d4d2f1dc 03:35:02 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:35:02 ---> 9cf3796db80b 03:35:02 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:35:02 ---> 7bbb444dab5e 03:35:02 Step 19/24 : EXPOSE 59982 03:35:02 ---> Running in 9732d0fe4cd8 03:35:02 Removing intermediate container 9732d0fe4cd8 03:35:02 ---> 2e96de748585 03:35:02 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:35:02 ---> Running in aaa340f092a1 03:35:03 Removing intermediate container aaa340f092a1 03:35:03 ---> 770f26f3e639 03:35:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:35:03 ---> Running in 943761e413c5 03:35:03 Removing intermediate container 943761e413c5 03:35:03 ---> eaf406b7bf1e 03:35:03 Step 22/24 : LABEL arch=arm64 03:35:03 ---> Running in 23ca2aebb654 03:35:03 Removing intermediate container 23ca2aebb654 03:35:03 ---> 34d35f0e9192 03:35:03 Step 23/24 : LABEL git_sha=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:35:03 ---> Running in 3808538b6268 03:35:04 Removing intermediate container 3808538b6268 03:35:04 ---> cd6bcd04831b 03:35:04 Step 24/24 : LABEL version=2.2.0-dev.10 03:35:04 ---> Running in f1d185354117 03:35:04 Removing intermediate container f1d185354117 03:35:04 ---> 45b9d7b06723 03:35:04 [Warning] One or more build-args [ARCH] were not consumed 03:35:04 Successfully built 45b9d7b06723 03:35:04 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 03:35:04 provisioning config files... 03:35:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/31@tmp/config5292748240401468889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:04 ---> docker-login.sh 03:35:04 nexus3.edgexfoundry.org:10001 03:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:05 Configure a credential helper to remove this warning. See 03:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:05 03:35:05 Login Succeeded 03:35:05 nexus3.edgexfoundry.org:10002 03:35:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:05 Configure a credential helper to remove this warning. See 03:35:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:05 03:35:05 Login Succeeded 03:35:05 nexus3.edgexfoundry.org:10003 03:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:06 Configure a credential helper to remove this warning. See 03:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:06 03:35:06 Login Succeeded 03:35:06 nexus3.edgexfoundry.org:10004 03:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:06 Configure a credential helper to remove this warning. See 03:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:06 03:35:06 Login Succeeded 03:35:06 docker.io 03:35:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:35:07 Configure a credential helper to remove this warning. See 03:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:35:07 03:35:07 Login Succeeded 03:35:07 ---> docker-login.sh ends [Pipeline] } 03:35:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:35:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:35:07 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:35:07 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:35:07 latest 03:35:07 2.2.0-dev.10 03:35:07 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 03:35:07 main 03:35:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:35:08 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] isUnix [Pipeline] sh 03:35:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:35:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:35:08 39e1b72dff60: Preparing 03:35:08 5be21fda09b1: Preparing 03:35:08 4b9ce085da76: Preparing 03:35:08 12e7fb00b7c7: Preparing 03:35:08 49c7c6f6dc6c: Preparing 03:35:08 49c7c6f6dc6c: Layer already exists 03:35:08 5be21fda09b1: Pushed 03:35:08 39e1b72dff60: Pushed 03:35:09 12e7fb00b7c7: Pushed 03:35:11 4b9ce085da76: Pushed 03:35:11 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] isUnix [Pipeline] sh 03:35:12 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:35:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:35:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:35:12 39e1b72dff60: Preparing 03:35:12 5be21fda09b1: Preparing 03:35:12 4b9ce085da76: Preparing 03:35:12 12e7fb00b7c7: Preparing 03:35:12 49c7c6f6dc6c: Preparing 03:35:12 49c7c6f6dc6c: Layer already exists 03:35:12 4b9ce085da76: Layer already exists 03:35:12 12e7fb00b7c7: Layer already exists 03:35:12 5be21fda09b1: Layer already exists 03:35:12 39e1b72dff60: Layer already exists 03:35:12 latest: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] isUnix [Pipeline] sh 03:35:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 03:35:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.10 03:35:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:35:13 39e1b72dff60: Preparing 03:35:13 5be21fda09b1: Preparing 03:35:13 4b9ce085da76: Preparing 03:35:13 12e7fb00b7c7: Preparing 03:35:13 49c7c6f6dc6c: Preparing 03:35:13 4b9ce085da76: Layer already exists 03:35:13 39e1b72dff60: Layer already exists 03:35:13 5be21fda09b1: Layer already exists 03:35:13 49c7c6f6dc6c: Layer already exists 03:35:13 12e7fb00b7c7: Layer already exists 03:35:13 2.2.0-dev.10: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] isUnix [Pipeline] sh 03:35:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh 03:35:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 03:35:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:35:14 39e1b72dff60: Preparing 03:35:14 5be21fda09b1: Preparing 03:35:14 4b9ce085da76: Preparing 03:35:14 12e7fb00b7c7: Preparing 03:35:14 49c7c6f6dc6c: Preparing 03:35:14 49c7c6f6dc6c: Layer already exists 03:35:14 12e7fb00b7c7: Layer already exists 03:35:14 4b9ce085da76: Layer already exists 03:35:14 5be21fda09b1: Layer already exists 03:35:14 39e1b72dff60: Layer already exists 03:35:14 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] isUnix [Pipeline] sh 03:35:15 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 03:35:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 03:35:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:35:15 39e1b72dff60: Preparing 03:35:15 5be21fda09b1: Preparing 03:35:15 4b9ce085da76: Preparing 03:35:15 12e7fb00b7c7: Preparing 03:35:15 49c7c6f6dc6c: Preparing 03:35:15 4b9ce085da76: Layer already exists 03:35:15 49c7c6f6dc6c: Layer already exists 03:35:15 12e7fb00b7c7: Layer already exists 03:35:15 5be21fda09b1: Layer already exists 03:35:15 39e1b72dff60: Layer already exists 03:35:15 main: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:35:15 ===================================================== [Pipeline] echo 03:35:15 taggedImages: 03:35:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 03:35:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:35:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.10 03:35:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 03:35:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:35:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:16 03:35:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:35:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:16 arm64: Pulling from edgex-lftools-log-publisher 03:35:16 8998bd30e6a1: Pulling fs layer 03:35:16 04944245beec: Pulling fs layer 03:35:16 699f458cf7ca: Pulling fs layer 03:35:16 765212b225bb: Pulling fs layer 03:35:16 f23df028b6ca: Pulling fs layer 03:35:16 d65c8cfc05b1: Pulling fs layer 03:35:16 2437ff75d9bd: Pulling fs layer 03:35:16 f23df028b6ca: Waiting 03:35:16 765212b225bb: Waiting 03:35:16 d65c8cfc05b1: Waiting 03:35:16 2437ff75d9bd: Waiting 03:35:16 04944245beec: Verifying Checksum 03:35:16 04944245beec: Download complete 03:35:16 765212b225bb: Verifying Checksum 03:35:16 765212b225bb: Download complete 03:35:16 f23df028b6ca: Download complete 03:35:16 d65c8cfc05b1: Download complete 03:35:17 699f458cf7ca: Verifying Checksum 03:35:17 699f458cf7ca: Download complete 03:35:17 8998bd30e6a1: Verifying Checksum 03:35:17 8998bd30e6a1: Download complete 03:35:20 2437ff75d9bd: Verifying Checksum 03:35:20 2437ff75d9bd: Download complete 03:35:22 8998bd30e6a1: Pull complete 03:35:22 04944245beec: Pull complete 03:35:23 699f458cf7ca: Pull complete 03:35:23 765212b225bb: Pull complete 03:35:24 f23df028b6ca: Pull complete 03:35:24 d65c8cfc05b1: Pull complete 03:35:39 2437ff75d9bd: Pull complete 03:35:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:35:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:35:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:35:40 prd-ubuntu20.04-docker-arm64-4c-16g-8148 does not seem to be running inside a container 03:35:40 $ 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/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@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 03:35:42 $ docker top 63e735fe39f78ec770d0e69ee9d1da0182df1cd7ea6e514bc199b46fd7b66756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:43 ---> job-cost.sh 03:35:43 lf-activate-venv: SKIPPING 03:35:43 INFO: No Stack... 03:35:44 INFO: Retrieving Pricing Info for: v3-standard-4 03:35:45 INFO: Archiving Costs [Pipeline] sh 03:35:45 + cat /w/workspace/device-mqtt-go/31/archives/cost.csv 03:35:45 + cut -d, -f6 [Pipeline] lock 03:35:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] 03:35:45 Resource [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] did not exist. Created. 03:35:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:35:46 /w/workspace/device-mqtt-go/31@tmp/durable-a6f6605c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:35:47 + echo total: 0.10999999940395355 [Pipeline] stash 03:35:47 Warning: overwriting stash ‘stack-cost’ 03:35:47 Stashed 1 file(s) [Pipeline] } 03:35:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 03:35:47 $ docker stop --time=1 63e735fe39f78ec770d0e69ee9d1da0182df1cd7ea6e514bc199b46fd7b66756 03:35:48 $ docker rm -f 63e735fe39f78ec770d0e69ee9d1da0182df1cd7ea6e514bc199b46fd7b66756 [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 03:35:49 provisioning config files... 03:35:49 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8533860486567156848tmp [Pipeline] { [Pipeline] sh 03:35:49 + set +x 03:35:49 + curl -s https://codecov.io/bash 03:35:49 + bash -s -- 03:35:49 03:35:49 _____ _ 03:35:49 / ____| | | 03:35:49 | | ___ __| | ___ ___ _____ __ 03:35:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:35:49 | |___| (_) | (_| | __/ (_| (_) \ V / 03:35:49 \_____\___/ \__,_|\___|\___\___/ \_/ 03:35:49 Bash-1.0.6 03:35:49 03:35:49 03:35:49 ==> git version 2.25.1 found 03:35:49 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:35:49 Release-Date: 2020-01-08 03:35:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:35:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:35:49 ==> Jenkins CI detected. 03:35:49 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 03:35:49 project root: . 03:35:49 --> token set from env 03:35:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:35:49 ==> Running gcov in . (disable via -X gcov) 03:35:49 ==> Python coveragepy not found 03:35:49 ==> Searching for coverage reports in: 03:35:49 + . 03:35:49 -> Found 1 reports 03:35:49 ==> Detecting git/mercurial file structure 03:35:49 ==> Reading reports 03:35:49 + ./coverage.out bytes=17452 03:35:49 ==> Appending adjustments 03:35:49 https://docs.codecov.io/docs/fixing-reports 03:35:49 + Found adjustments 03:35:49 ==> Gzipping contents 03:35:49 4.0K /tmp/codecov.YZLvUY.gz 03:35:49 ==> Uploading reports 03:35:49 url: https://codecov.io 03:35:49 query: branch=main&commit=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:35:49 -> Pinging Codecov 03:35:49 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=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:35:50 -> Uploading to 03:35:50 https://storage.googleapis.com/codecov/v4/raw/2022-03-21/7D719EC7BBE17E464838252E33014C33/bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364/eea27aaf-6c8e-40d6-8cd0-308dd4c9c0c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220321T033549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36885f172f3a9f46afd0491eeb3235b91e4bf7d50c3aaa8f9d2ebc77f068f9f8 03:35:50 % Total % Received % Xferd Average Speed Time Time Time Current 03:35:50 Dload Upload Total Spent Left Speed 03:35:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3188 0 0 100 3188 0 13451 --:--:-- --:--:-- --:--:-- 13451 03:35:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] } 03:35:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:35:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:35:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:35:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:50 03:35:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 03:35:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:35:51 188c0c94c7c5: Pulling fs layer 03:35:51 0ef7d3d256c8: Pulling fs layer 03:35:51 de9db76c5a1d: Pulling fs layer 03:35:51 0eba1c9be4d2: Pulling fs layer 03:35:51 0d57e429df01: Pulling fs layer 03:35:51 4e4be7b47b0d: Pulling fs layer 03:35:51 e1f770b5df2f: Pulling fs layer 03:35:51 85a0685a4137: Pulling fs layer 03:35:51 0eba1c9be4d2: Waiting 03:35:51 e1f770b5df2f: Waiting 03:35:51 85a0685a4137: Waiting 03:35:51 4e4be7b47b0d: Waiting 03:35:51 de9db76c5a1d: Download complete 03:35:51 0ef7d3d256c8: Download complete 03:35:51 0d57e429df01: Verifying Checksum 03:35:51 0d57e429df01: Download complete 03:35:51 4e4be7b47b0d: Download complete 03:35:51 188c0c94c7c5: Verifying Checksum 03:35:51 188c0c94c7c5: Download complete 03:35:51 e1f770b5df2f: Verifying Checksum 03:35:51 e1f770b5df2f: Download complete 03:35:51 188c0c94c7c5: Pull complete 03:35:51 0ef7d3d256c8: Pull complete 03:35:51 de9db76c5a1d: Pull complete 03:35:51 0eba1c9be4d2: Download complete 03:35:52 85a0685a4137: Download complete 03:35:55 0eba1c9be4d2: Pull complete 03:35:55 0d57e429df01: Pull complete 03:35:55 4e4be7b47b0d: Pull complete 03:35:56 e1f770b5df2f: Pull complete 03:35:59 85a0685a4137: Pull complete 03:35:59 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 03:35:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:35:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 03:35:59 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:35:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:36:01 $ docker top 5edb4388721bd81caff6cd7b3d998ccdf22d361f8aac2c01e6c3222457f3fc9e -eo pid,comm [Pipeline] { [Pipeline] echo 03:36:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 03:36:02 + set -o pipefail 03:36:02 + snyk monitor '--org=edgex-jenkins' 03:36:06 03:36:06 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 03:36:06 03:36:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/1349062c-a90c-4f39-98c5-82023a0e81b6 03:36:06 03:36:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:36:06 03:36:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:36:06 03:36:06 [Pipeline] } 03:36:06 $ docker stop --time=1 5edb4388721bd81caff6cd7b3d998ccdf22d361f8aac2c01e6c3222457f3fc9e 03:36:08 $ docker rm -f 5edb4388721bd81caff6cd7b3d998ccdf22d361f8aac2c01e6c3222457f3fc9e [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 03:36:08 + git log --format=format:%s -1 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] sh 03:36:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:36:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:36:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:36:09 . [Pipeline] withDockerContainer 03:36:09 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:36:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:36:09 $ docker top 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:10 [ssh-agent] Looking for ssh-agent implementation... 03:36:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:10 $ docker exec 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 ssh-agent 03:36:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbEfmCF/agent.15 03:36:10 SSH_AGENT_PID=21 03:36:10 Running ssh-add (command line suppressed) 03:36:10 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2378569573134123530.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2378569573134123530.key) 03:36:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:10 + git semver tag 03:36:10 # -> Open(): unable to determine branch for HEAD 03:36:10 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 03:36:10 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 03:36:10 # $SEMVER_REMOTE_NAME = origin 03:36:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:36:10 # $SEMVER_USER_NAME = edgex-jenkins 03:36:10 # $SEMVER_BRANCH = main 03:36:10 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:36:10 # bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 HEAD 03:36:10 # -> Force: false 03:36:10 # 944c39c23e3435f2a4746f6b956ea16ca154df4d refs/tags/v2.2.0-dev.10 [Pipeline] } 03:36:10 $ docker exec --env ******** --env ******** 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 ssh-agent -k 03:36:10 unset SSH_AUTH_SOCK; 03:36:10 unset SSH_AGENT_PID; 03:36:10 echo Agent pid 21 killed; 03:36:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:11 + git semver [Pipeline] } 03:36:11 $ docker stop --time=1 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 03:36:12 $ docker rm -f 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:36:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:36:12 03:36:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:36:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:36:13 0.23.1-centos7: Pulling from edgex-lftools 03:36:13 ab5ef0e58194: Pulling fs layer 03:36:13 9712f1f96733: Pulling fs layer 03:36:13 63f879dbbcfc: Pulling fs layer 03:36:13 0d9ebad4ef96: Pulling fs layer 03:36:13 e9a5061849ea: Pulling fs layer 03:36:13 d747dcd14b5f: Pulling fs layer 03:36:13 2de7ff778b66: Pulling fs layer 03:36:13 e9a5061849ea: Waiting 03:36:13 d747dcd14b5f: Waiting 03:36:13 0d9ebad4ef96: Waiting 03:36:13 2de7ff778b66: Waiting 03:36:13 9712f1f96733: Download complete 03:36:13 63f879dbbcfc: Verifying Checksum 03:36:13 63f879dbbcfc: Download complete 03:36:13 e9a5061849ea: Verifying Checksum 03:36:13 e9a5061849ea: Download complete 03:36:13 0d9ebad4ef96: Verifying Checksum 03:36:13 0d9ebad4ef96: Download complete 03:36:13 d747dcd14b5f: Verifying Checksum 03:36:13 d747dcd14b5f: Download complete 03:36:13 ab5ef0e58194: Verifying Checksum 03:36:13 ab5ef0e58194: Download complete 03:36:13 2de7ff778b66: Verifying Checksum 03:36:13 2de7ff778b66: Download complete 03:36:17 ab5ef0e58194: Pull complete 03:36:17 9712f1f96733: Pull complete 03:36:17 63f879dbbcfc: Pull complete 03:36:21 0d9ebad4ef96: Pull complete 03:36:21 e9a5061849ea: Pull complete 03:36:21 d747dcd14b5f: Pull complete 03:36:23 2de7ff778b66: Pull complete 03:36:23 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:36:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:36:23 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:36:23 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:36:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:36:25 $ docker top bdc3cbd9e14e9866fa0bf1e5f095d6cbabcbea0a2d677fbb3b0f691350bd7ad6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:36:25 provisioning config files... 03:36:25 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3888551420950628419tmp 03:36:25 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4627335593654109231tmp 03:36:25 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3911503888682069592tmp [Pipeline] { [Pipeline] echo 03:36:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:36:26 ---> sigul-configuration.sh 03:36:26 gpg: directory `/root/.gnupg' created 03:36:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:36:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:36:26 gpg: keyring `/root/.gnupg/secring.gpg' created 03:36:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:36:26 gpg: CAST5 encrypted data 03:36:26 gpg: encrypted with 1 passphrase 03:36:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:36:26 + mkdir /home/jenkins 03:36:26 + mkdir /home/jenkins/sigul [Pipeline] sh 03:36:26 + 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 03:36:26 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:36:27 ---> sigul-install.sh 03:36:27 Sigul already installed; skipping installation. [Pipeline] sh 03:36:27 + git tag --list 03:36:27 0.7.1 03:36:27 v1.0.0 03:36:27 v1.1.0 03:36:27 v1.1.1 03:36:27 v1.2.2 03:36:27 v1.3.0 03:36:27 v1.3.1 03:36:27 v2.0.0 03:36:27 v2.0.1-dev.1 03:36:27 v2.0.1-dev.10 03:36:27 v2.0.1-dev.11 03:36:27 v2.0.1-dev.12 03:36:27 v2.0.1-dev.13 03:36:27 v2.0.1-dev.14 03:36:27 v2.0.1-dev.15 03:36:27 v2.0.1-dev.16 03:36:27 v2.0.1-dev.17 03:36:27 v2.0.1-dev.2 03:36:27 v2.0.1-dev.3 03:36:27 v2.0.1-dev.4 03:36:27 v2.0.1-dev.5 03:36:27 v2.0.1-dev.6 03:36:27 v2.0.1-dev.7 03:36:27 v2.0.1-dev.8 03:36:27 v2.0.1-dev.9 03:36:27 v2.1.0 03:36:27 v2.2.0-dev.1 03:36:27 v2.2.0-dev.10 03:36:27 v2.2.0-dev.2 03:36:27 v2.2.0-dev.3 03:36:27 v2.2.0-dev.4 03:36:27 v2.2.0-dev.5 03:36:27 v2.2.0-dev.6 03:36:27 v2.2.0-dev.7 03:36:27 v2.2.0-dev.8 03:36:27 v2.2.0-dev.9 [Pipeline] sh 03:36:27 + lftools sign git-tag v2.2.0-dev.10 03:36:28 Signing Git tag with Sigul... 03:36:28 Signing v2.2.0-dev.10 [Pipeline] echo 03:36:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:36:28 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:36:28 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:36:28 $ docker stop --time=1 bdc3cbd9e14e9866fa0bf1e5f095d6cbabcbea0a2d677fbb3b0f691350bd7ad6 03:36:30 $ docker rm -f bdc3cbd9e14e9866fa0bf1e5f095d6cbabcbea0a2d677fbb3b0f691350bd7ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:36:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:36:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:36:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:36:30 . [Pipeline] withDockerContainer 03:36:31 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:36: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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:36:31 $ docker top 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:31 [ssh-agent] Looking for ssh-agent implementation... 03:36:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:31 $ docker exec 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d ssh-agent 03:36:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgnBgfn/agent.13 03:36:31 SSH_AGENT_PID=19 03:36:31 Running ssh-add (command line suppressed) 03:36:31 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6462659559037030818.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6462659559037030818.key) 03:36:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:32 + git semver bump pre 03:36:32 # -> Open(): unable to determine branch for HEAD 03:36:32 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 03:36:32 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 03:36:32 # $SEMVER_REMOTE_NAME = origin 03:36:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:36:32 # $SEMVER_USER_NAME = edgex-jenkins 03:36:32 # $SEMVER_BRANCH = main 03:36:32 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:36:32 2.2.0-dev.11 [Pipeline] } 03:36:32 $ docker exec --env ******** --env ******** 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d ssh-agent -k 03:36:32 unset SSH_AUTH_SOCK; 03:36:32 unset SSH_AGENT_PID; 03:36:32 echo Agent pid 19 killed; 03:36:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:32 + git semver [Pipeline] } 03:36:32 $ docker stop --time=1 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d 03:36:34 $ docker rm -f 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d [Pipeline] // withDockerContainer [Pipeline] sh 03:36:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:36:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:36:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:36:34 . [Pipeline] withDockerContainer 03:36:34 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:36:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:36:35 $ docker top ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:36:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:36:35 [ssh-agent] Looking for ssh-agent implementation... 03:36:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:36:35 $ docker exec ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 ssh-agent 03:36:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBoMIBJ/agent.14 03:36:35 SSH_AGENT_PID=20 03:36:35 Running ssh-add (command line suppressed) 03:36:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2991107188861247843.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2991107188861247843.key) 03:36:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:36:36 + git semver push 03:36:36 # -> Open(): unable to determine branch for HEAD 03:36:36 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 03:36:36 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 03:36:36 # $SEMVER_REMOTE_NAME = origin 03:36:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:36:36 # $SEMVER_USER_NAME = edgex-jenkins 03:36:36 # $SEMVER_BRANCH = main 03:36:36 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 03:36:37 $ docker exec --env ******** --env ******** ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 ssh-agent -k 03:36:38 unset SSH_AUTH_SOCK; 03:36:38 unset SSH_AGENT_PID; 03:36:38 echo Agent pid 20 killed; 03:36:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:36:38 + git semver [Pipeline] } 03:36:38 $ docker stop --time=1 ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 03:36:39 $ docker rm -f ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 [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 03:36:40 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:36:40 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:36:40 total 16 03:36:40 drwxr-xr-x 3 root root 4096 Mar 21 03:29 . 03:36:40 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 03:36 .. 03:36:40 drwxr-xr-x 2 root root 4096 Mar 21 03:29 cost 03:36:40 -rw-r--r-- 1 root root 84 Mar 21 03:29 cost.csv 03:36:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:36:40 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:36:40 total 16 03:36:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 03:29 . 03:36:40 drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 03:36 .. 03:36:40 drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 03:29 cost 03:36:40 -rw-r--r-- 1 jenkins jenkins 84 Mar 21 03:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:36:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:36:41 ---> package-listing.sh 03:36:41 ++ facter osfamily 03:36:41 ++ tr '[:upper:]' '[:lower:]' 03:36:41 + OS_FAMILY=debian 03:36:41 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:36:41 + START_PACKAGES=/tmp/packages_start.txt 03:36:41 + END_PACKAGES=/tmp/packages_end.txt 03:36:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:36:41 + PACKAGES=/tmp/packages_start.txt 03:36:41 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:36:41 + PACKAGES=/tmp/packages_end.txt 03:36:41 + case "${OS_FAMILY}" in 03:36:41 + dpkg -l 03:36:41 + grep '^ii' 03:36:41 + '[' -f /tmp/packages_start.txt ']' 03:36:41 + '[' -f /tmp/packages_end.txt ']' 03:36:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:36:41 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:36:41 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:36:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:36:41 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 03:36:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:36:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:36:42 . [Pipeline] withDockerContainer 03:36:42 prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container 03:36:42 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:36:43 $ docker top 75cbf56a9cee3d3f14b45c2ee1872c1cfe2bb5cf62507d9d0e4f9c5e6f6663fd -eo pid,comm [Pipeline] { [Pipeline] sh 03:36:43 + touch /tmp/pre-build-complete [Pipeline] sh 03:36:43 + mkdir -p /var/log/sysstat [Pipeline] sh 03:36:44 + ls /var/log/sa-host 03:36:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:36:44 provisioning config files... 03:36:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2707067274649296149tmp [Pipeline] { [Pipeline] echo 03:36:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:36:44 ---> create-netrc.sh [Pipeline] } 03:36:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:36:44 ---> python-tools-install.sh [Pipeline] echo 03:36:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:36:45 ---> sudo-logs.sh 03:36:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:36:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:36:45 ---> job-cost.sh 03:36:45 lf-activate-venv: SKIPPING 03:36:45 DEBUG: total: 0.2199999988079071 03:36:45 INFO: Retrieving Stack Cost... 03:36:45 INFO: Retrieving Pricing Info for: v3-standard-8 03:36:46 INFO: Archiving Costs [Pipeline] echo 03:36:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:36:46 ---> logs-deploy.sh 03:36:46 lf-activate-venv: SKIPPING 03:36:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/31 03:36:46 INFO: archiving workspace using pattern(s): 03:36:47 Archives upload complete. 03:36:47 INFO: archiving logs to Nexus