Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1804939991e9cf6e6628dcf61ff454f4c33f5abe 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-ssh1496231383406542924.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-ssh9897811233401032006.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-ssh15759547510966841690.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-ssh16640029302897469276.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-ssh9509051032262392910.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:false] ========================================================= [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: false 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 ‘prd-ubuntu20.04-docker-8c-8g-33464’ Running on prd-ubuntu20.04-docker-8c-8g-33468 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 1804939991e9cf6e6628dcf61ff454f4c33f5abe (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 1804939991e9cf6e6628dcf61ff454f4c33f5abe # timeout=10 Commit message: "Merge pull request #372 from jinlinGuan/issue-371" > git rev-list --no-walk cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:06:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:06:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:06:36 ========================================================= 11:06:36 EdgeX Global Pipelines Version Info 11:06:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:06:36 ------------------- 11:06:36 stable info: 11:06:36 ------------------- 11:06:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:06:36 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 11:06:36 Message: update stable to v1.0.221 11:06:37 ------------------- 11:06:37 experimental info: 11:06:37 ------------------- 11:06:37 Commited By: **** collab-it+edgex@linuxfoundation.org 11:06:37 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 11:06:37 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1804939 [Pipeline] echo 11:06:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:06:38 provisioning config files... 11:06:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5134555885678335442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:38 ---> docker-login.sh 11:06:38 nexus3.edgexfoundry.org:10001 11:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:38 Configure a credential helper to remove this warning. See 11:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:38 11:06:38 Login Succeeded 11:06:38 nexus3.edgexfoundry.org:10002 11:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:39 Configure a credential helper to remove this warning. See 11:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:39 11:06:39 Login Succeeded 11:06:39 nexus3.edgexfoundry.org:10003 11:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:39 Configure a credential helper to remove this warning. See 11:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:39 11:06:39 Login Succeeded 11:06:39 nexus3.edgexfoundry.org:10004 11:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:39 Configure a credential helper to remove this warning. See 11:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:39 11:06:39 Login Succeeded 11:06:39 docker.io 11:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:39 Configure a credential helper to remove this warning. See 11:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:39 11:06:39 Login Succeeded 11:06:39 ---> docker-login.sh ends [Pipeline] } 11:06:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:06:40 + git rev-list -1 --merges 1804939991e9cf6e6628dcf61ff454f4c33f5abe~1..1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] echo 11:06:40 -----------> git rev-list -1 --merges 1804939991e9cf6e6628dcf61ff454f4c33f5abe~1..1804939991e9cf6e6628dcf61ff454f4c33f5abe 1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:06:40 1804939991e9cf6e6628dcf61ff454f4c33f5abe [false] [Pipeline] sh 11:06:40 + git log --format=format:%s -1 1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] echo 11:06:40 ========================================================= 11:06:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:06:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:06:40 + git log --format=format:%s -1 1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] echo 11:06:40 [semverPrep] GIT_COMMIT: 1804939991e9cf6e6628dcf61ff454f4c33f5abe, Commit Message: Merge pull request #372 from jinlinGuan/issue-371 [Pipeline] echo 11:06:40 [semverPrep] This is not a build commit. [Pipeline] sh 11:06:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:06:41 + grep -v github /etc/ssh/ssh_known_hosts 11:06:41 + [ -e /tmp/ssh_known_hosts ] 11:06:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:06:41 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 11:06:41 -a /etc/ssh/ssh_known_hosts 11:06:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:41 11:06:41 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:06:41 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:41 latest: Pulling from edgex-devops/git-semver 11:06:41 a0d0a0d46f8b: Pulling fs layer 11:06:41 3e5f54012d9b: Pulling fs layer 11:06:41 4c7163046ea9: Pulling fs layer 11:06:41 0c2d73faf560: Pulling fs layer 11:06:41 0c2d73faf560: Waiting 11:06:41 3e5f54012d9b: Verifying Checksum 11:06:41 3e5f54012d9b: Download complete 11:06:42 a0d0a0d46f8b: Download complete 11:06:42 0c2d73faf560: Verifying Checksum 11:06:42 0c2d73faf560: Download complete 11:06:42 4c7163046ea9: Verifying Checksum 11:06:42 4c7163046ea9: Download complete 11:06:42 a0d0a0d46f8b: Pull complete 11:06:42 3e5f54012d9b: Pull complete 11:06:42 4c7163046ea9: Pull complete 11:06:42 0c2d73faf560: Pull complete 11:06:42 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 11:06:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:06:42 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 11:06:43 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:06:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:06:43 $ docker top 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:06:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:43 [ssh-agent] Looking for ssh-agent implementation... 11:06:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:44 $ docker exec 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd ssh-agent 11:06:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOBAjHg/agent.13 11:06:44 SSH_AGENT_PID=20 11:06:44 Running ssh-add (command line suppressed) 11:06:44 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6687660871984006320.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6687660871984006320.key) 11:06:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:44 + git tag --points-at HEAD [Pipeline] } 11:06:44 $ docker exec --env ******** --env ******** 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd ssh-agent -k 11:06:44 unset SSH_AUTH_SOCK; 11:06:44 unset SSH_AGENT_PID; 11:06:44 echo Agent pid 20 killed; 11:06:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:06:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:06:44 [ssh-agent] Looking for ssh-agent implementation... 11:06:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:06:44 $ docker exec 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd ssh-agent 11:06:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDnbNlj/agent.53 11:06:45 SSH_AGENT_PID=60 11:06:45 Running ssh-add (command line suppressed) 11:06:45 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3760551068543388620.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3760551068543388620.key) 11:06:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:06:45 + git semver init 11:06:45 # -> Open(): unable to determine branch for HEAD 11:06:45 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 11:06:45 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 11:06:45 # $SEMVER_REMOTE_NAME = origin 11:06:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:06:45 # $SEMVER_USER_NAME = edgex-jenkins 11:06:45 # $SEMVER_BRANCH = main 11:06:45 # $SEMVER_TEMP = /tmp/semver-437569400 11:06:45 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 11:06:46 # '/tmp/semver-437569400' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 11:06:46 # -> Force: false 11:06:46 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 11:06:46 $ docker exec --env ******** --env ******** 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd ssh-agent -k 11:06:46 unset SSH_AUTH_SOCK; 11:06:46 unset SSH_AGENT_PID; 11:06:46 echo Agent pid 60 killed; 11:06:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:06:46 + git semver [Pipeline] } 11:06:46 $ docker stop --time=1 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd 11:06:48 $ docker rm -f 2d6d1e8640ea5392ffb62a2e739d5701116f499d69193f01346fbe147044bedd [Pipeline] // withDockerContainer [Pipeline] sh 11:06:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:06:48 Stashed 1 file(s) [Pipeline] echo 11:06:48 [edgeXSemver]: initialized semver on version 2.2.0-dev.17 [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 11:06:48 provisioning config files... 11:06:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4200415663345183858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:06:49 ---> docker-login.sh 11:06:49 nexus3.edgexfoundry.org:10001 11:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:49 Configure a credential helper to remove this warning. See 11:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:49 11:06:49 Login Succeeded 11:06:49 nexus3.edgexfoundry.org:10002 11:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:49 Configure a credential helper to remove this warning. See 11:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:49 11:06:49 Login Succeeded 11:06:49 nexus3.edgexfoundry.org:10003 11:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:49 Configure a credential helper to remove this warning. See 11:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:49 11:06:49 Login Succeeded 11:06:49 nexus3.edgexfoundry.org:10004 11:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:49 Configure a credential helper to remove this warning. See 11:06:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:49 11:06:49 Login Succeeded 11:06:49 docker.io 11:06:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:06:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:06:50 Configure a credential helper to remove this warning. See 11:06:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:06:50 11:06:50 Login Succeeded 11:06:50 ---> docker-login.sh ends [Pipeline] } 11:06:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:06:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:06:50 ========================================================= 11:06:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:06:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:06:50 + 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 . 11:06:50 Sending build context to Docker daemon 5.81MB 11:06:50 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:06:50 Step 2/12 : FROM ${BASE} AS builder 11:06:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:06:50 59bf1c3509f3: Pulling fs layer 11:06:50 666ba61612fd: Pulling fs layer 11:06:50 8ed8ca486205: Pulling fs layer 11:06:50 4fe6c5a15a65: Pulling fs layer 11:06:50 22a0e8bec74d: Pulling fs layer 11:06:50 ca2b28591e48: Pulling fs layer 11:06:50 a51346096db8: Pulling fs layer 11:06:50 4fe6c5a15a65: Waiting 11:06:50 a51346096db8: Waiting 11:06:50 22a0e8bec74d: Waiting 11:06:50 ca2b28591e48: Waiting 11:06:50 daebc70d1ce1: Pulling fs layer 11:06:50 0e18a0eac166: Pulling fs layer 11:06:50 daebc70d1ce1: Waiting 11:06:50 0e18a0eac166: Waiting 11:06:50 8ed8ca486205: Download complete 11:06:50 666ba61612fd: Download complete 11:06:50 22a0e8bec74d: Verifying Checksum 11:06:50 22a0e8bec74d: Download complete 11:06:50 ca2b28591e48: Download complete 11:06:50 59bf1c3509f3: Verifying Checksum 11:06:50 59bf1c3509f3: Download complete 11:06:50 a51346096db8: Verifying Checksum 11:06:50 a51346096db8: Download complete 11:06:50 daebc70d1ce1: Verifying Checksum 11:06:50 daebc70d1ce1: Download complete 11:06:50 59bf1c3509f3: Pull complete 11:06:51 666ba61612fd: Pull complete 11:06:51 8ed8ca486205: Pull complete 11:06:51 0e18a0eac166: Verifying Checksum 11:06:51 0e18a0eac166: Download complete 11:06:51 4fe6c5a15a65: Verifying Checksum 11:06:51 4fe6c5a15a65: Download complete 11:06:55 4fe6c5a15a65: Pull complete 11:06:55 22a0e8bec74d: Pull complete 11:06:55 ca2b28591e48: Pull complete 11:06:55 a51346096db8: Pull complete 11:06:55 daebc70d1ce1: Pull complete 11:06:58 0e18a0eac166: Pull complete 11:06:58 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:06:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:06:58 ---> f018257e8ee9 11:06:58 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:00 ---> Running in e34abfecaee6 11:07:00 Removing intermediate container e34abfecaee6 11:07:00 ---> 2d0e22dae20c 11:07:00 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:07:00 ---> Running in 2f1eac034269 11:07:00 Removing intermediate container 2f1eac034269 11:07:00 ---> 92714bf2a101 11:07:00 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:00 ---> Running in ccf857821c13 11:07:01 Removing intermediate container ccf857821c13 11:07:01 ---> 303bcdf974ee 11:07:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:01 ---> Running in 1a2568a0ec23 11:07:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:07:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:07:02 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:07:02 (2/4) Installing libedit (20210910.3.1-r0) 11:07:02 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:07:02 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:07:02 Executing busybox-1.34.1-r3.trigger 11:07:02 OK: 224 MiB in 56 packages 11:07:03 Removing intermediate container 1a2568a0ec23 11:07:03 ---> dde79d9fbc25 11:07:03 Step 7/12 : WORKDIR /device-mqtt-go 11:07:03 ---> Running in 27168578dd7f 11:07:03 Removing intermediate container 27168578dd7f 11:07:03 ---> 440db7ac9d84 11:07:03 Step 8/12 : COPY go.mod vendor* ./ 11:07:03 ---> 830056eb2c60 11:07:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:03 ---> Running in b59c91af76db 11:07:03 Still waiting to schedule task 11:07:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33465’ 11:07:21 Removing intermediate container b59c91af76db 11:07:21 ---> b5096565bfbb 11:07:21 Step 10/12 : COPY . . 11:07:21 ---> 1e7d83bada0d 11:07:21 Step 11/12 : ARG MAKE='make build' 11:07:21 ---> Running in 3229bde59217 11:07:21 Removing intermediate container 3229bde59217 11:07:21 ---> 2efe7a95c71b 11:07:21 Step 12/12 : RUN $MAKE 11:07:21 ---> Running in ddcff6f34874 11:07:21 noop 11:07:21 Removing intermediate container ddcff6f34874 11:07:21 ---> 0e878a041a3c 11:07:21 Successfully built 0e878a041a3c 11:07:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:07:22 + docker inspect -f . ci-base-image-x86_64 11:07:22 . [Pipeline] withDockerContainer 11:07:22 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:07:22 $ 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 11:07:22 $ docker top 18cf6468131a427d8c8544bef98d29917197b0781dc306347d093075762bbf0d -eo pid,comm [Pipeline] { [Pipeline] sh 11:07:23 + go version 11:07:23 go version go1.17.6 linux/amd64 [Pipeline] } 11:07:23 $ docker stop --time=1 18cf6468131a427d8c8544bef98d29917197b0781dc306347d093075762bbf0d 11:07:24 $ docker rm -f 18cf6468131a427d8c8544bef98d29917197b0781dc306347d093075762bbf0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:07:24 + docker inspect -f . ci-base-image-x86_64 11:07:24 . [Pipeline] withDockerContainer 11:07:24 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:07:25 $ 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 11:07:25 $ docker top cc6c45675d074ed942de1016450f7b5bd6c91d8160bf1dec06e123ddb8b435af -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:07:25 + make test 11:07:25 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:07:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:07:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:07:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 11:07:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:07:42 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:07:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:07:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:07:46 ./bin/test-attribution-txt.sh [Pipeline] echo 11:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:07:47 $ docker stop --time=1 cc6c45675d074ed942de1016450f7b5bd6c91d8160bf1dec06e123ddb8b435af 11:07:48 $ docker rm -f cc6c45675d074ed942de1016450f7b5bd6c91d8160bf1dec06e123ddb8b435af [Pipeline] // withDockerContainer [Pipeline] sh 11:07:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:07:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:07:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:07:50 + ls -al . 11:07:50 total 176 11:07:50 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 11:07 . 11:07:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:06 .. 11:07:50 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 11:06 .dockerignore 11:07:50 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:06 .git 11:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 .github 11:07:50 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 11:06 .gitignore 11:07:50 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:06 .golangci.yml 11:07:50 drwx------ 3 jenkins jenkins 4096 Apr 27 11:06 .semver 11:07:50 -rw-rw-r-- 1 jenkins jenkins 8656 Apr 27 11:06 Attribution.txt 11:07:50 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 27 11:06 CHANGELOG.md 11:07:50 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 11:06 Dockerfile 11:07:50 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:06 GOVERNANCE.md 11:07:50 -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 11:06 Jenkinsfile 11:07:50 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:06 LICENSE 11:07:50 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 11:06 Makefile 11:07:50 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 11:06 OWNERS.md 11:07:50 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 27 11:06 README.md 11:07:50 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:06 VERSION 11:07:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:06 bin 11:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 cmd 11:07:50 -rw-r--r-- 1 jenkins jenkins 17887 Apr 27 11:07 coverage.out 11:07:50 -rw-rw-r-- 1 jenkins jenkins 3309 Apr 27 11:06 go.mod 11:07:50 -rw-rw-r-- 1 jenkins jenkins 34894 Apr 27 11:06 go.sum 11:07:50 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:06 internal 11:07:50 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:06 mock 11:07:50 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:06 snap 11:07:50 -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 11:06 version.go [Pipeline] isUnix [Pipeline] sh 11:07:50 + 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=1804939991e9cf6e6628dcf61ff454f4c33f5abe --label arch=amd64 --label version=2.2.0-dev.17 . 11:07:50 Sending build context to Docker daemon 5.829MB 11:07:50 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 11:07:50 Step 2/24 : FROM ${BASE} AS builder 11:07:50 ---> 0e878a041a3c 11:07:50 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:07:50 ---> Running in 4d1805127cdb 11:07:50 Removing intermediate container 4d1805127cdb 11:07:50 ---> aa8a6e1fd4d1 11:07:50 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 11:07:50 ---> Running in 29e67f6becce 11:07:50 Removing intermediate container 29e67f6becce 11:07:50 ---> 7f11cb9211ae 11:07:50 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:07:50 ---> Running in 5dcb36d6e568 11:07:51 Removing intermediate container 5dcb36d6e568 11:07:51 ---> 914ab4ae0aeb 11:07:51 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:07:51 ---> Running in 6342c725d146 11:07:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:07:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:07:53 OK: 224 MiB in 56 packages 11:07:53 Removing intermediate container 6342c725d146 11:07:53 ---> b720c9b28119 11:07:53 Step 7/24 : WORKDIR /device-mqtt-go 11:07:53 ---> Running in b0783a38ace1 11:07:53 Removing intermediate container b0783a38ace1 11:07:53 ---> dd402ca4b8a0 11:07:53 Step 8/24 : COPY go.mod vendor* ./ 11:07:53 ---> 00d6bc3c7867 11:07:53 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:07:53 ---> Running in 818766b590d7 11:07:54 Removing intermediate container 818766b590d7 11:07:54 ---> 1243553eca6e 11:07:54 Step 10/24 : COPY . . 11:07:54 ---> 1ac7e8cc05fe 11:07:54 Step 11/24 : ARG MAKE='make build' 11:07:54 ---> Running in c34d05d07d8c 11:07:54 Removing intermediate container c34d05d07d8c 11:07:54 ---> f5a0d33c38c0 11:07:54 Step 12/24 : RUN $MAKE 11:07:54 ---> Running in 7ad98bd0dd51 11:07:54 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 11:08:16 Removing intermediate container 7ad98bd0dd51 11:08:16 ---> 611d80f507ca 11:08:16 Step 13/24 : FROM alpine:3.14 11:08:16 3.14: Pulling from library/alpine 11:08:16 8663204ce13b: Pulling fs layer 11:08:16 8663204ce13b: Verifying Checksum 11:08:16 8663204ce13b: Download complete 11:08:16 8663204ce13b: Pull complete 11:08:16 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:08:16 Status: Downloaded newer image for alpine:3.14 11:08:16 ---> e04c818066af 11:08:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:08:16 ---> Running in 9b2dfa0daf97 11:08:16 Removing intermediate container 9b2dfa0daf97 11:08:16 ---> d40a630171e7 11:08:16 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:08:16 ---> Running in 43475e95a410 11:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:08:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:08:16 (1/6) Installing dumb-init (1.2.5-r1) 11:08:16 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:08:16 (3/6) Installing libsodium (1.0.18-r0) 11:08:16 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:08:16 (5/6) Installing libzmq (4.3.4-r0) 11:08:16 (6/6) Installing zeromq (4.3.4-r0) 11:08:16 Executing busybox-1.33.1-r7.trigger 11:08:16 OK: 8 MiB in 20 packages 11:08:16 Removing intermediate container 43475e95a410 11:08:16 ---> 07324f827b96 11:08:16 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 11:08:16 ---> 4e3c87caccce 11:08:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 11:08:16 ---> bf3de41f4ece 11:08:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:08:17 ---> 6c0582e4db21 11:08:17 Step 19/24 : EXPOSE 59982 11:08:17 ---> Running in 347fd8268c7b 11:08:17 Removing intermediate container 347fd8268c7b 11:08:17 ---> 8364d6f55fd5 11:08:17 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 11:08:17 ---> Running in 30e8d41bada6 11:08:17 Removing intermediate container 30e8d41bada6 11:08:17 ---> 577d4ca30e02 11:08:17 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:08:17 ---> Running in 926f08ba8b10 11:08:17 Removing intermediate container 926f08ba8b10 11:08:17 ---> e15b9d34e23d 11:08:17 Step 22/24 : LABEL arch=amd64 11:08:17 ---> Running in 3ee16cd7cfe2 11:08:17 Removing intermediate container 3ee16cd7cfe2 11:08:17 ---> 712285e7a0ee 11:08:17 Step 23/24 : LABEL git_sha=1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:08:17 ---> Running in b57a7e361962 11:08:17 Removing intermediate container b57a7e361962 11:08:17 ---> 01e1b01e2040 11:08:17 Step 24/24 : LABEL version=2.2.0-dev.17 11:08:17 ---> Running in fa5b98b88075 11:08:17 Removing intermediate container fa5b98b88075 11:08:17 ---> fe8cc8350c5b 11:08:17 [Warning] One or more build-args [ARCH] were not consumed 11:08:17 Successfully built fe8cc8350c5b 11:08:17 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:08:18 provisioning config files... 11:08:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2647661719311642846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:18 ---> docker-login.sh 11:08:18 nexus3.edgexfoundry.org:10001 11:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:18 Configure a credential helper to remove this warning. See 11:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:18 11:08:18 Login Succeeded 11:08:18 nexus3.edgexfoundry.org:10002 11:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:18 Configure a credential helper to remove this warning. See 11:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:18 11:08:18 Login Succeeded 11:08:18 nexus3.edgexfoundry.org:10003 11:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:18 Configure a credential helper to remove this warning. See 11:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:18 11:08:18 Login Succeeded 11:08:18 nexus3.edgexfoundry.org:10004 11:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:18 Configure a credential helper to remove this warning. See 11:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:18 11:08:18 Login Succeeded 11:08:18 docker.io 11:08:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:08:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:08:19 Configure a credential helper to remove this warning. See 11:08:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:08:19 11:08:19 Login Succeeded 11:08:19 ---> docker-login.sh ends [Pipeline] } 11:08:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:08:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:08:19 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 11:08:19 1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:08:19 latest 11:08:19 2.2.0-dev.17 11:08:19 1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 11:08:19 main 11:08:19 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] isUnix [Pipeline] sh 11:08:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:08:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:08:19 df376d3efa2f: Preparing 11:08:19 de64d8398c4b: Preparing 11:08:19 3e7b261492f7: Preparing 11:08:19 8336f2efc00f: Preparing 11:08:19 b541d28bf3b4: Preparing 11:08:19 b541d28bf3b4: Layer already exists 11:08:19 df376d3efa2f: Pushed 11:08:19 de64d8398c4b: Pushed 11:08:20 8336f2efc00f: Pushed 11:08:22 3e7b261492f7: Pushed 11:08:22 1804939991e9cf6e6628dcf61ff454f4c33f5abe: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] isUnix [Pipeline] sh 11:08:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 11:08:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 11:08:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:08:23 df376d3efa2f: Preparing 11:08:23 de64d8398c4b: Preparing 11:08:23 3e7b261492f7: Preparing 11:08:23 8336f2efc00f: Preparing 11:08:23 b541d28bf3b4: Preparing 11:08:23 3e7b261492f7: Layer already exists 11:08:23 8336f2efc00f: Layer already exists 11:08:23 b541d28bf3b4: Layer already exists 11:08:23 df376d3efa2f: Layer already exists 11:08:23 de64d8398c4b: Layer already exists 11:08:23 latest: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] isUnix [Pipeline] sh 11:08:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 11:08:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.17 11:08:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:08:23 df376d3efa2f: Preparing 11:08:23 de64d8398c4b: Preparing 11:08:23 3e7b261492f7: Preparing 11:08:23 8336f2efc00f: Preparing 11:08:23 b541d28bf3b4: Preparing 11:08:23 df376d3efa2f: Layer already exists 11:08:23 3e7b261492f7: Layer already exists 11:08:23 de64d8398c4b: Layer already exists 11:08:23 b541d28bf3b4: Layer already exists 11:08:23 8336f2efc00f: Layer already exists 11:08:23 2.2.0-dev.17: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] isUnix [Pipeline] sh 11:08:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 11:08:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 11:08:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:08:24 df376d3efa2f: Preparing 11:08:24 de64d8398c4b: Preparing 11:08:24 3e7b261492f7: Preparing 11:08:24 8336f2efc00f: Preparing 11:08:24 b541d28bf3b4: Preparing 11:08:24 de64d8398c4b: Layer already exists 11:08:24 b541d28bf3b4: Layer already exists 11:08:24 3e7b261492f7: Layer already exists 11:08:24 df376d3efa2f: Layer already exists 11:08:24 8336f2efc00f: Layer already exists 11:08:24 1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] isUnix [Pipeline] sh 11:08:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 11:08:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 11:08:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 11:08:24 df376d3efa2f: Preparing 11:08:24 de64d8398c4b: Preparing 11:08:24 3e7b261492f7: Preparing 11:08:24 8336f2efc00f: Preparing 11:08:24 b541d28bf3b4: Preparing 11:08:24 3e7b261492f7: Layer already exists 11:08:24 b541d28bf3b4: Layer already exists 11:08:24 df376d3efa2f: Layer already exists 11:08:24 de64d8398c4b: Layer already exists 11:08:24 8336f2efc00f: Layer already exists 11:08:24 main: digest: sha256:a43686d354515b741dfc4c9228e5f87970ddd8515d92e4e0e16fff2641b378d8 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:08:24 ===================================================== [Pipeline] echo 11:08:25 taggedImages: 11:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 11:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.17 11:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 11:08:25 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:25 11:08:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:08:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:25 latest: Pulling from edgex-lftools-log-publisher 11:08:25 5eb5b503b376: Pulling fs layer 11:08:25 5c69ac0246d0: Pulling fs layer 11:08:25 ec43610c2a17: Pulling fs layer 11:08:25 3a2ae6a8a46f: Pulling fs layer 11:08:25 33b1e0a273af: Pulling fs layer 11:08:25 5d3b04190fa2: Pulling fs layer 11:08:25 2f39f015ded8: Pulling fs layer 11:08:25 33b1e0a273af: Waiting 11:08:25 5d3b04190fa2: Waiting 11:08:25 3a2ae6a8a46f: Waiting 11:08:25 2f39f015ded8: Waiting 11:08:25 5c69ac0246d0: Verifying Checksum 11:08:25 5c69ac0246d0: Download complete 11:08:25 3a2ae6a8a46f: Verifying Checksum 11:08:25 3a2ae6a8a46f: Download complete 11:08:25 ec43610c2a17: Verifying Checksum 11:08:25 ec43610c2a17: Download complete 11:08:25 5d3b04190fa2: Download complete 11:08:25 33b1e0a273af: Verifying Checksum 11:08:25 33b1e0a273af: Download complete 11:08:25 5eb5b503b376: Verifying Checksum 11:08:25 5eb5b503b376: Download complete 11:08:26 2f39f015ded8: Download complete 11:08:27 5eb5b503b376: Pull complete 11:08:27 5c69ac0246d0: Pull complete 11:08:27 ec43610c2a17: Pull complete 11:08:27 3a2ae6a8a46f: Pull complete 11:08:27 33b1e0a273af: Pull complete 11:08:27 5d3b04190fa2: Pull complete 11:08:32 2f39f015ded8: Pull complete 11:08:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:08:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:08:32 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:08:32 $ 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 11:08:34 $ docker top d2c7df3ae2f50457f0c24f7b181e4649a1b5e0d53fc82a9760cc6057d0c6d294 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:08:34 ---> job-cost.sh 11:08:34 lf-activate-venv: SKIPPING 11:08:34 INFO: No Stack... 11:08:34 INFO: Retrieving Pricing Info for: v3-standard-8 11:08:35 INFO: Archiving Costs [Pipeline] sh 11:08:35 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 11:08:35 + cut -d, -f6 [Pipeline] lock 11:08:35 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] 11:08:35 Resource [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] did not exist. Created. 11:08:35 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:08:36 + echo total: 0.2199999988079071 [Pipeline] stash 11:08:36 Stashed 1 file(s) [Pipeline] } 11:08:36 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } 11:08:36 $ docker stop --time=1 d2c7df3ae2f50457f0c24f7b181e4649a1b5e0d53fc82a9760cc6057d0c6d294 11:08:37 $ docker rm -f d2c7df3ae2f50457f0c24f7b181e4649a1b5e0d53fc82a9760cc6057d0c6d294 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:10:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33471 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 11:10:12 Running in /w/workspace/device-mqtt-go/38 [Pipeline] { [Pipeline] checkout 11:10:12 Selected Git installation does not exist. Using Default 11:10:12 The recommended git tool is: NONE 11:10:20 using credential edgex-jenkins-ssh 11:10:20 Cloning the remote Git repository 11:10:20 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:10:20 > git init /w/workspace/device-mqtt-go/38 # timeout=10 11:10:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:10:20 > git --version # timeout=10 11:10:20 > git --version # 'git version 2.25.1' 11:10:20 using GIT_SSH to set credentials SSH Credentials for GitHub 11:10:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:22 Avoid second fetch 11:10:22 Checking out Revision 1804939991e9cf6e6628dcf61ff454f4c33f5abe (main) 11:10:21 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:10:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:10:22 > git config core.sparsecheckout # timeout=10 11:10:22 > git checkout -f 1804939991e9cf6e6628dcf61ff454f4c33f5abe # timeout=10 11:10:26 Commit message: "Merge pull request #372 from jinlinGuan/issue-371" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:10:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:10:27 % Total % Received % Xferd Average Speed Time Time Time Current 11:10:27 Dload Upload Total Spent Left Speed 11:10:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 162k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh 11:10:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:10:28 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 11:10:28 11:10:28 { 11:10:28 "registry-mirrors": [ 11:10:28 "https://nexus3.edgexfoundry.org:10001" 11:10:28 ], 11:10:28 "bip": "10.250.0.254/24", 11:10:28 "hosts": [ 11:10:28 "tcp://0.0.0.0:5555", 11:10:28 "unix:///var/run/docker.sock" 11:10:28 ], 11:10:28 "mtu": 1458, 11:10:28 "selinux-enabled": true, 11:10:28 "seccomp-profile": "/etc/docker/seccomp.json" 11:10:28 } [Pipeline] sh 11:10:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:10:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:10:47 provisioning config files... 11:10:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/38@tmp/config7418008564046434048tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:10:47 ---> docker-login.sh 11:10:47 nexus3.edgexfoundry.org:10001 11:10:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:48 Configure a credential helper to remove this warning. See 11:10:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:48 11:10:48 Login Succeeded 11:10:48 nexus3.edgexfoundry.org:10002 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 nexus3.edgexfoundry.org:10003 11:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:49 Configure a credential helper to remove this warning. See 11:10:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:49 11:10:49 Login Succeeded 11:10:49 nexus3.edgexfoundry.org:10004 11:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:50 Configure a credential helper to remove this warning. See 11:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:50 11:10:50 Login Succeeded 11:10:50 docker.io 11:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:10:51 Configure a credential helper to remove this warning. See 11:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:10:51 11:10:51 Login Succeeded 11:10:51 ---> docker-login.sh ends [Pipeline] } 11:10:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:10:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:10:51 ========================================================= 11:10:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:10:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:10:52 + 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 . 11:10:52 Sending build context to Docker daemon 3.026MB 11:10:52 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:10:52 Step 2/12 : FROM ${BASE} AS builder 11:10:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:10:52 9b3977197b4f: Pulling fs layer 11:10:52 1a89e8eeedd5: Pulling fs layer 11:10:52 94645a83ff95: Pulling fs layer 11:10:52 3f3a8bcf1eab: Pulling fs layer 11:10:52 0c92f367c5e7: Pulling fs layer 11:10:52 3096ccb668a1: Pulling fs layer 11:10:52 e8cf19c19ddd: Pulling fs layer 11:10:52 a4caa8a26152: Pulling fs layer 11:10:52 3f3a8bcf1eab: Waiting 11:10:52 0c92f367c5e7: Waiting 11:10:52 3096ccb668a1: Waiting 11:10:52 e8cf19c19ddd: Waiting 11:10:52 a4caa8a26152: Waiting 11:10:52 94645a83ff95: Verifying Checksum 11:10:52 94645a83ff95: Download complete 11:10:52 1a89e8eeedd5: Download complete 11:10:52 0c92f367c5e7: Verifying Checksum 11:10:52 0c92f367c5e7: Download complete 11:10:53 3096ccb668a1: Verifying Checksum 11:10:53 9b3977197b4f: Verifying Checksum 11:10:53 9b3977197b4f: Download complete 11:10:53 3096ccb668a1: Download complete 11:10:53 e8cf19c19ddd: Download complete 11:10:53 9b3977197b4f: Pull complete 11:10:54 1a89e8eeedd5: Pull complete 11:10:55 94645a83ff95: Pull complete 11:10:55 a4caa8a26152: Verifying Checksum 11:10:55 a4caa8a26152: Download complete 11:10:55 3f3a8bcf1eab: Verifying Checksum 11:10:55 3f3a8bcf1eab: Download complete 11:11:08 3f3a8bcf1eab: Pull complete 11:11:08 0c92f367c5e7: Pull complete 11:11:08 3096ccb668a1: Pull complete 11:11:08 e8cf19c19ddd: Pull complete 11:11:15 a4caa8a26152: Pull complete 11:11:15 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:11:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:11:15 ---> 725f1c02e7f9 11:11:15 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:11:16 ---> Running in 08536f23d724 11:11:16 Removing intermediate container 08536f23d724 11:11:16 ---> a5ae11ddcdd1 11:11:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:11:17 ---> Running in abc8d55c14d1 11:11:17 Removing intermediate container abc8d55c14d1 11:11:17 ---> 56cf29ab8d34 11:11:17 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:11:17 ---> Running in 9bb0c1dcc138 11:11:20 Removing intermediate container 9bb0c1dcc138 11:11:20 ---> 2923a231fad2 11:11:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:11:20 ---> Running in a6f5c8b05b2f 11:11:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:11:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:11:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:11:23 (2/4) Installing libedit (20210910.3.1-r0) 11:11:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:11:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:11:24 Executing busybox-1.34.1-r3.trigger 11:11:24 OK: 224 MiB in 56 packages 11:11:25 Removing intermediate container a6f5c8b05b2f 11:11:25 ---> fb2a455ed256 11:11:25 Step 7/12 : WORKDIR /device-mqtt-go 11:11:25 ---> Running in b807245faa5b 11:11:25 Removing intermediate container b807245faa5b 11:11:25 ---> 14b92fa686c3 11:11:25 Step 8/12 : COPY go.mod vendor* ./ 11:11:26 ---> 84bf8a7825cc 11:11:26 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:11:26 ---> Running in e53d3f7ad4e6 11:12:13 Removing intermediate container e53d3f7ad4e6 11:12:13 ---> ddb008efda1a 11:12:13 Step 10/12 : COPY . . 11:12:13 ---> ca375a417ad8 11:12:13 Step 11/12 : ARG MAKE='make build' 11:12:13 ---> Running in 9b82264ad6fc 11:12:13 Removing intermediate container 9b82264ad6fc 11:12:13 ---> 74998e37437a 11:12:13 Step 12/12 : RUN $MAKE 11:12:14 ---> Running in 13e856cd012a 11:12:15 noop 11:12:15 Removing intermediate container 13e856cd012a 11:12:15 ---> abd9c497973c 11:12:15 Successfully built abd9c497973c 11:12:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:12:16 + docker inspect -f . ci-base-image-arm64 11:12:16 . [Pipeline] withDockerContainer 11:12:16 prd-ubuntu20.04-docker-arm64-4c-16g-33471 does not seem to be running inside a container 11:12:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:12:17 $ docker top 2c16817d06055554c23dfacfc1cd5643d80f3710afc6630c28f41991f14c05ec -eo pid,comm [Pipeline] { [Pipeline] sh 11:12:18 + go version 11:12:18 go version go1.17.6 linux/arm64 [Pipeline] } 11:12:18 $ docker stop --time=1 2c16817d06055554c23dfacfc1cd5643d80f3710afc6630c28f41991f14c05ec 11:12:20 $ docker rm -f 2c16817d06055554c23dfacfc1cd5643d80f3710afc6630c28f41991f14c05ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:12:21 + docker inspect -f . ci-base-image-arm64 11:12:21 . [Pipeline] withDockerContainer 11:12:21 prd-ubuntu20.04-docker-arm64-4c-16g-33471 does not seem to be running inside a container 11:12:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:12:23 $ docker top 63845b1b3e9e5b3c92a6209c83b99799a1b92b765dd44e26e4ba395a8f9d8bed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:12:23 + make test 11:12:23 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:12:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:14:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:14:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 11:14:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:14:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:14:02 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:14:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:14:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:14:21 ./bin/test-attribution-txt.sh [Pipeline] echo 11:14:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:14:24 $ docker stop --time=1 63845b1b3e9e5b3c92a6209c83b99799a1b92b765dd44e26e4ba395a8f9d8bed 11:14:26 $ docker rm -f 63845b1b3e9e5b3c92a6209c83b99799a1b92b765dd44e26e4ba395a8f9d8bed [Pipeline] // withDockerContainer [Pipeline] sh 11:14:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:14:27 Warning: overwriting stash ‘coverage-report’ 11:14:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:14:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:14:28 + ls -al . 11:14:28 total 172 11:14:28 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 11:14 . 11:14:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:10 .. 11:14:28 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 11:10 .dockerignore 11:14:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 11:10 .git 11:14:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 .github 11:14:28 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 11:10 .gitignore 11:14:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 11:10 .golangci.yml 11:14:28 -rw-rw-r-- 1 jenkins jenkins 8656 Apr 27 11:10 Attribution.txt 11:14:28 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 27 11:10 CHANGELOG.md 11:14:28 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 11:10 Dockerfile 11:14:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 11:10 GOVERNANCE.md 11:14:28 -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 11:10 Jenkinsfile 11:14:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 11:10 LICENSE 11:14:28 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 11:10 Makefile 11:14:28 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 11:10 OWNERS.md 11:14:28 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 27 11:10 README.md 11:14:28 -rw-rw-r-- 1 jenkins jenkins 12 Apr 27 11:06 VERSION 11:14:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:10 bin 11:14:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 cmd 11:14:28 -rw-r--r-- 1 jenkins jenkins 17887 Apr 27 11:13 coverage.out 11:14:28 -rw-rw-r-- 1 jenkins jenkins 3309 Apr 27 11:10 go.mod 11:14:28 -rw-rw-r-- 1 jenkins jenkins 34894 Apr 27 11:10 go.sum 11:14:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 11:10 internal 11:14:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 11:10 mock 11:14:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 11:10 snap 11:14:28 -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 11:10 version.go [Pipeline] isUnix [Pipeline] sh 11:14:29 + 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=1804939991e9cf6e6628dcf61ff454f4c33f5abe --label arch=arm64 --label version=2.2.0-dev.17 . 11:14:29 Sending build context to Docker daemon 3.044MB 11:14:29 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 11:14:29 Step 2/24 : FROM ${BASE} AS builder 11:14:29 ---> abd9c497973c 11:14:29 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:14:29 ---> Running in ea65dd889abd 11:14:30 Removing intermediate container ea65dd889abd 11:14:30 ---> 3aecab7d89f1 11:14:30 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 11:14:30 ---> Running in b8dc599dc852 11:14:30 Removing intermediate container b8dc599dc852 11:14:30 ---> 7b80dad17b0d 11:14:30 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:14:30 ---> Running in 5e9080495d2e 11:14:32 Removing intermediate container 5e9080495d2e 11:14:32 ---> 6c14da746f6c 11:14:32 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:14:32 ---> Running in eb146f306c3b 11:14:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:14:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:14:35 OK: 224 MiB in 56 packages 11:14:36 Removing intermediate container eb146f306c3b 11:14:36 ---> 4521980876f6 11:14:36 Step 7/24 : WORKDIR /device-mqtt-go 11:14:36 ---> Running in f5765aa064b8 11:14:36 Removing intermediate container f5765aa064b8 11:14:36 ---> dd60e96849d4 11:14:36 Step 8/24 : COPY go.mod vendor* ./ 11:14:37 ---> ec8e86314b8a 11:14:37 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:14:37 ---> Running in ca17e0378683 11:14:39 Removing intermediate container ca17e0378683 11:14:39 ---> 3bec9a3ff330 11:14:39 Step 10/24 : COPY . . 11:14:40 ---> 1329d5493cdd 11:14:40 Step 11/24 : ARG MAKE='make build' 11:14:40 ---> Running in c1ae9b5919ca 11:14:41 Removing intermediate container c1ae9b5919ca 11:14:41 ---> 9665d43b5db9 11:14:41 Step 12/24 : RUN $MAKE 11:14:41 ---> Running in 66c021e6e09d 11:14:41 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 11:17:03 Removing intermediate container 66c021e6e09d 11:17:03 ---> 1111e4a61cea 11:17:03 Step 13/24 : FROM alpine:3.14 11:17:03 3.14: Pulling from library/alpine 11:17:03 455c02918c45: Pulling fs layer 11:17:03 455c02918c45: Verifying Checksum 11:17:03 455c02918c45: Download complete 11:17:03 455c02918c45: Pull complete 11:17:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:17:03 Status: Downloaded newer image for alpine:3.14 11:17:03 ---> ac73e934f311 11:17:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:17:03 ---> Running in 854517de817d 11:17:03 Removing intermediate container 854517de817d 11:17:03 ---> 1faaa33e2a2c 11:17:03 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:17:03 ---> Running in c715a9684dfd 11:17:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:17:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:17:03 (1/6) Installing dumb-init (1.2.5-r1) 11:17:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:17:03 (3/6) Installing libsodium (1.0.18-r0) 11:17:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:17:03 (5/6) Installing libzmq (4.3.4-r0) 11:17:03 (6/6) Installing zeromq (4.3.4-r0) 11:17:03 Executing busybox-1.33.1-r7.trigger 11:17:03 OK: 8 MiB in 20 packages 11:17:03 Removing intermediate container c715a9684dfd 11:17:03 ---> ee8dad1deea0 11:17:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 11:17:03 ---> 1539ff17c513 11:17:03 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 11:17:03 ---> 7b015919a9b9 11:17:03 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:17:03 ---> 869504d27141 11:17:03 Step 19/24 : EXPOSE 59982 11:17:03 ---> Running in f2a9c5a6f425 11:17:03 Removing intermediate container f2a9c5a6f425 11:17:03 ---> ee9d3c215328 11:17:03 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 11:17:03 ---> Running in fb32a195044d 11:17:03 Removing intermediate container fb32a195044d 11:17:03 ---> 9b1d883f2ba0 11:17:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:17:03 ---> Running in 6f4636423e86 11:17:03 Removing intermediate container 6f4636423e86 11:17:03 ---> 2f6eabc90b0d 11:17:03 Step 22/24 : LABEL arch=arm64 11:17:03 ---> Running in c6b68212b679 11:17:03 Removing intermediate container c6b68212b679 11:17:03 ---> 66fb70e82ffd 11:17:03 Step 23/24 : LABEL git_sha=1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:17:03 ---> Running in 797e9cb5bb47 11:17:03 Removing intermediate container 797e9cb5bb47 11:17:03 ---> b46d56793e59 11:17:03 Step 24/24 : LABEL version=2.2.0-dev.17 11:17:03 ---> Running in 0c0d4bc80fc1 11:17:03 Removing intermediate container 0c0d4bc80fc1 11:17:03 ---> 853e932e3ed4 11:17:03 [Warning] One or more build-args [ARCH] were not consumed 11:17:03 Successfully built 853e932e3ed4 11:17:03 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:17:04 provisioning config files... 11:17:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/38@tmp/config7818779198300006984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:04 ---> docker-login.sh 11:17:04 nexus3.edgexfoundry.org:10001 11:17:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:04 Configure a credential helper to remove this warning. See 11:17:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:04 11:17:04 Login Succeeded 11:17:04 nexus3.edgexfoundry.org:10002 11:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:05 Configure a credential helper to remove this warning. See 11:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:05 11:17:05 Login Succeeded 11:17:05 nexus3.edgexfoundry.org:10003 11:17:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:05 Configure a credential helper to remove this warning. See 11:17:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:05 11:17:05 Login Succeeded 11:17:05 nexus3.edgexfoundry.org:10004 11:17:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:06 Configure a credential helper to remove this warning. See 11:17:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:06 11:17:06 Login Succeeded 11:17:06 docker.io 11:17:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:17:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:17:07 Configure a credential helper to remove this warning. See 11:17:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:17:07 11:17:07 Login Succeeded 11:17:07 ---> docker-login.sh ends [Pipeline] } 11:17:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:17:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:17:07 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 11:17:07 1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:17:07 latest 11:17:07 2.2.0-dev.17 11:17:07 1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 11:17:07 main 11:17:07 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:07 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] isUnix [Pipeline] sh 11:17:08 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:17:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:17:08 aa35abe9c8d1: Preparing 11:17:08 9f1ea6ba1c2e: Preparing 11:17:08 5fa19ce3df25: Preparing 11:17:08 2d134f6da41d: Preparing 11:17:08 f73e7dbfee58: Preparing 11:17:08 f73e7dbfee58: Layer already exists 11:17:08 9f1ea6ba1c2e: Pushed 11:17:08 aa35abe9c8d1: Pushed 11:17:08 2d134f6da41d: Pushed 11:17:14 5fa19ce3df25: Pushed 11:17:14 1804939991e9cf6e6628dcf61ff454f4c33f5abe: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:17:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 11:17:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:17:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:17:15 aa35abe9c8d1: Preparing 11:17:15 9f1ea6ba1c2e: Preparing 11:17:15 5fa19ce3df25: Preparing 11:17:15 2d134f6da41d: Preparing 11:17:15 f73e7dbfee58: Preparing 11:17:15 aa35abe9c8d1: Layer already exists 11:17:15 9f1ea6ba1c2e: Layer already exists 11:17:15 f73e7dbfee58: Layer already exists 11:17:15 5fa19ce3df25: Layer already exists 11:17:15 2d134f6da41d: Layer already exists 11:17:15 latest: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:17:15 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 11:17:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.17 11:17:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:17:16 aa35abe9c8d1: Preparing 11:17:16 9f1ea6ba1c2e: Preparing 11:17:16 5fa19ce3df25: Preparing 11:17:16 2d134f6da41d: Preparing 11:17:16 f73e7dbfee58: Preparing 11:17:16 f73e7dbfee58: Layer already exists 11:17:16 5fa19ce3df25: Layer already exists 11:17:16 2d134f6da41d: Layer already exists 11:17:16 9f1ea6ba1c2e: Layer already exists 11:17:16 aa35abe9c8d1: Layer already exists 11:17:16 2.2.0-dev.17: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:17:16 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 11:17:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 11:17:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:17:16 aa35abe9c8d1: Preparing 11:17:16 9f1ea6ba1c2e: Preparing 11:17:16 5fa19ce3df25: Preparing 11:17:16 2d134f6da41d: Preparing 11:17:16 f73e7dbfee58: Preparing 11:17:16 2d134f6da41d: Layer already exists 11:17:16 aa35abe9c8d1: Layer already exists 11:17:16 5fa19ce3df25: Layer already exists 11:17:16 9f1ea6ba1c2e: Layer already exists 11:17:16 f73e7dbfee58: Layer already exists 11:17:17 1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] isUnix [Pipeline] sh 11:17:17 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 11:17:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 11:17:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 11:17:17 aa35abe9c8d1: Preparing 11:17:17 9f1ea6ba1c2e: Preparing 11:17:17 5fa19ce3df25: Preparing 11:17:17 2d134f6da41d: Preparing 11:17:17 f73e7dbfee58: Preparing 11:17:18 aa35abe9c8d1: Layer already exists 11:17:18 9f1ea6ba1c2e: Layer already exists 11:17:18 2d134f6da41d: Layer already exists 11:17:18 f73e7dbfee58: Layer already exists 11:17:18 5fa19ce3df25: Layer already exists 11:17:18 main: digest: sha256:1084c3abad9beb6e97d82ac821c54e1f875de72b0cd923b2bf837052d4c91603 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 11:17:18 ===================================================== [Pipeline] echo 11:17:18 taggedImages: 11:17:18 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe 11:17:18 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 11:17:18 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.17 11:17:18 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:1804939991e9cf6e6628dcf61ff454f4c33f5abe-2.2.0-dev.17 11:17:18 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:18 11:17:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:17:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:19 arm64: Pulling from edgex-lftools-log-publisher 11:17:19 8998bd30e6a1: Pulling fs layer 11:17:19 04944245beec: Pulling fs layer 11:17:19 699f458cf7ca: Pulling fs layer 11:17:19 765212b225bb: Pulling fs layer 11:17:19 f23df028b6ca: Pulling fs layer 11:17:19 d65c8cfc05b1: Pulling fs layer 11:17:19 2437ff75d9bd: Pulling fs layer 11:17:19 f23df028b6ca: Waiting 11:17:19 d65c8cfc05b1: Waiting 11:17:19 2437ff75d9bd: Waiting 11:17:19 04944245beec: Verifying Checksum 11:17:19 04944245beec: Download complete 11:17:19 765212b225bb: Verifying Checksum 11:17:19 765212b225bb: Download complete 11:17:19 f23df028b6ca: Download complete 11:17:19 d65c8cfc05b1: Verifying Checksum 11:17:19 d65c8cfc05b1: Download complete 11:17:19 699f458cf7ca: Verifying Checksum 11:17:19 699f458cf7ca: Download complete 11:17:19 8998bd30e6a1: Verifying Checksum 11:17:19 8998bd30e6a1: Download complete 11:17:22 2437ff75d9bd: Verifying Checksum 11:17:22 2437ff75d9bd: Download complete 11:17:24 8998bd30e6a1: Pull complete 11:17:24 04944245beec: Pull complete 11:17:26 699f458cf7ca: Pull complete 11:17:26 765212b225bb: Pull complete 11:17:27 f23df028b6ca: Pull complete 11:17:27 d65c8cfc05b1: Pull complete 11:17:42 2437ff75d9bd: Pull complete 11:17:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:17:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:17:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:17:43 prd-ubuntu20.04-docker-arm64-4c-16g-33471 does not seem to be running inside a container 11:17:43 $ 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/38 -v /w/workspace/device-mqtt-go/38:/w/workspace/device-mqtt-go/38:rw,z -v /w/workspace/device-mqtt-go/38@tmp:/w/workspace/device-mqtt-go/38@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:17:45 $ docker top 302b1f3f11a3a664e8d86a300fd531fa9aec80f945a8ab4836c3787e69a4a3f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:17:46 ---> job-cost.sh 11:17:46 lf-activate-venv: SKIPPING 11:17:46 INFO: No Stack... 11:17:47 INFO: Retrieving Pricing Info for: v3-standard-4 11:17:48 INFO: Archiving Costs [Pipeline] sh 11:17:48 + cut -d, -f6 11:17:48 + cat /w/workspace/device-mqtt-go/38/archives/cost.csv [Pipeline] lock 11:17:48 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] 11:17:48 Resource [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] did not exist. Created. 11:17:48 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:17:49 /w/workspace/device-mqtt-go/38@tmp/durable-d3f0c408/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:17:50 + echo total: 0.10999999940395355 [Pipeline] stash 11:17:50 Warning: overwriting stash ‘stack-cost’ 11:17:50 Stashed 1 file(s) [Pipeline] } 11:17:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-38-stack-cost] [Pipeline] // lock [Pipeline] } 11:17:50 $ docker stop --time=1 302b1f3f11a3a664e8d86a300fd531fa9aec80f945a8ab4836c3787e69a4a3f1 11:17:51 $ docker rm -f 302b1f3f11a3a664e8d86a300fd531fa9aec80f945a8ab4836c3787e69a4a3f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 11:17:52 provisioning config files... 11:17:52 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config726591510098806272tmp [Pipeline] { [Pipeline] sh 11:17:52 + set +x 11:17:52 + curl -s https://codecov.io/bash 11:17:52 + bash -s -- 11:17:52 11:17:52 _____ _ 11:17:52 / ____| | | 11:17:52 | | ___ __| | ___ ___ _____ __ 11:17:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:17:52 | |___| (_) | (_| | __/ (_| (_) \ V / 11:17:52 \_____\___/ \__,_|\___|\___\___/ \_/ 11:17:52 Bash-1.0.6 11:17:52 11:17:52 11:17:52 ==> git version 2.25.1 found 11:17:52 ==> 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 11:17:52 Release-Date: 2020-01-08 11:17:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:17:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:17:52 ==> Jenkins CI detected. 11:17:52 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 11:17:52 project root: . 11:17:52 --> token set from env 11:17:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:17:52 ==> Running gcov in . (disable via -X gcov) 11:17:52 ==> Python coveragepy not found 11:17:52 ==> Searching for coverage reports in: 11:17:52 + . 11:17:52 -> Found 1 reports 11:17:52 ==> Detecting git/mercurial file structure 11:17:52 ==> Reading reports 11:17:52 + ./coverage.out bytes=17887 11:17:52 ==> Appending adjustments 11:17:52 https://docs.codecov.io/docs/fixing-reports 11:17:52 + Found adjustments 11:17:52 ==> Gzipping contents 11:17:52 4.0K /tmp/codecov.6qU7sN.gz 11:17:52 ==> Uploading reports 11:17:52 url: https://codecov.io 11:17:52 query: branch=main&commit=1804939991e9cf6e6628dcf61ff454f4c33f5abe&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:17:52 -> Pinging Codecov 11:17:52 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=1804939991e9cf6e6628dcf61ff454f4c33f5abe&build=38&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F38%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 11:17:53 -> Uploading to 11:17:53 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/7D719EC7BBE17E464838252E33014C33/1804939991e9cf6e6628dcf61ff454f4c33f5abe/91d71ddf-baab-4fcf-ad68-5c586d90522a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T111752Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f6a892c002e27a23cb30844621f6e0c219ebd56a5969658bf96dafa4dae3c564 11:17:53 % Total % Received % Xferd Average Speed Time Time Time Current 11:17:53 Dload Upload Total Spent Left Speed 11:17:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3263 0 0 100 3263 0 14064 --:--:-- --:--:-- --:--:-- 14064 11:17:53 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] } 11:17:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 11:17:53 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 11:17:53 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:17:53 11:17:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 11:17:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:17:54 1.410.4: Pulling from edgex-devops/edgex-snyk-go 11:17:54 188c0c94c7c5: Pulling fs layer 11:17:54 0ef7d3d256c8: Pulling fs layer 11:17:54 de9db76c5a1d: Pulling fs layer 11:17:54 0eba1c9be4d2: Pulling fs layer 11:17:54 0d57e429df01: Pulling fs layer 11:17:54 4e4be7b47b0d: Pulling fs layer 11:17:54 e1f770b5df2f: Pulling fs layer 11:17:54 0eba1c9be4d2: Waiting 11:17:54 85a0685a4137: Pulling fs layer 11:17:54 0d57e429df01: Waiting 11:17:54 4e4be7b47b0d: Waiting 11:17:54 e1f770b5df2f: Waiting 11:17:54 85a0685a4137: Waiting 11:17:54 de9db76c5a1d: Verifying Checksum 11:17:54 de9db76c5a1d: Download complete 11:17:54 0ef7d3d256c8: Download complete 11:17:54 0d57e429df01: Download complete 11:17:54 4e4be7b47b0d: Verifying Checksum 11:17:54 4e4be7b47b0d: Download complete 11:17:54 188c0c94c7c5: Verifying Checksum 11:17:54 188c0c94c7c5: Pull complete 11:17:54 e1f770b5df2f: Verifying Checksum 11:17:54 e1f770b5df2f: Download complete 11:17:54 0ef7d3d256c8: Pull complete 11:17:54 de9db76c5a1d: Pull complete 11:17:54 0eba1c9be4d2: Verifying Checksum 11:17:54 0eba1c9be4d2: Download complete 11:17:54 85a0685a4137: Verifying Checksum 11:17:54 85a0685a4137: Download complete 11:17:58 0eba1c9be4d2: Pull complete 11:17:58 0d57e429df01: Pull complete 11:17:58 4e4be7b47b0d: Pull complete 11:17:58 e1f770b5df2f: Pull complete 11:18:02 85a0685a4137: Pull complete 11:18:02 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 11:18:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 11:18:02 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 11:18:02 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:18:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 11:18:05 $ docker top d0bbb92fd66adaa056151a9788c47c951758283266f9f4b18b6779f3eb8b6163 -eo pid,comm [Pipeline] { [Pipeline] echo 11:18:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 11:18:05 + set -o pipefail 11:18:05 + snyk monitor '--org=edgex-jenkins' 11:18:10 11:18:10 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 11:18:10 11:18:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/43cd30ca-7e70-42b1-bd0c-f0b8922ba82e 11:18:10 11:18:10 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 11:18:10 11:18:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 11:18:10 11:18:11 [Pipeline] } 11:18:11 $ docker stop --time=1 d0bbb92fd66adaa056151a9788c47c951758283266f9f4b18b6779f3eb8b6163 11:18:15 $ docker rm -f d0bbb92fd66adaa056151a9788c47c951758283266f9f4b18b6779f3eb8b6163 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:18:16 + git log --format=format:%s -1 1804939991e9cf6e6628dcf61ff454f4c33f5abe [Pipeline] sh 11:18:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:18:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:18:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:18:17 . [Pipeline] withDockerContainer 11:18:17 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:18:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:18:17 $ docker top 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:18:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:18:17 [ssh-agent] Looking for ssh-agent implementation... 11:18:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:18:18 $ docker exec 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 ssh-agent 11:18:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDfKoGo/agent.13 11:18:18 SSH_AGENT_PID=19 11:18:18 Running ssh-add (command line suppressed) 11:18:18 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_268949147924822741.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_268949147924822741.key) 11:18:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:18:18 + git semver tag 11:18:18 # -> Open(): unable to determine branch for HEAD 11:18:18 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 11:18:18 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 11:18:18 # $SEMVER_REMOTE_NAME = origin 11:18:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:18:18 # $SEMVER_USER_NAME = edgex-jenkins 11:18:18 # $SEMVER_BRANCH = main 11:18:18 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 11:18:18 # 1804939991e9cf6e6628dcf61ff454f4c33f5abe HEAD 11:18:18 # -> Force: false 11:18:18 # f9c42a20488ff16e37d8de55ee675ceb500f8cc0 refs/tags/v2.2.0-dev.17 [Pipeline] } 11:18:18 $ docker exec --env ******** --env ******** 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 ssh-agent -k 11:18:18 unset SSH_AUTH_SOCK; 11:18:18 unset SSH_AGENT_PID; 11:18:18 echo Agent pid 19 killed; 11:18:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:18:19 + git semver [Pipeline] } 11:18:19 $ docker stop --time=1 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 11:18:20 $ docker rm -f 6916a23d6cd8de8c4dff35e87fdcfbe8a5c5a1b0bf097ad7da9d36a0279e4aa6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 11:18:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:18:20 11:18:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 11:18:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:18:21 0.23.1-centos7: Pulling from edgex-lftools 11:18:21 ab5ef0e58194: Pulling fs layer 11:18:21 9712f1f96733: Pulling fs layer 11:18:21 63f879dbbcfc: Pulling fs layer 11:18:21 0d9ebad4ef96: Pulling fs layer 11:18:21 e9a5061849ea: Pulling fs layer 11:18:21 d747dcd14b5f: Pulling fs layer 11:18:21 2de7ff778b66: Pulling fs layer 11:18:21 0d9ebad4ef96: Waiting 11:18:21 e9a5061849ea: Waiting 11:18:21 d747dcd14b5f: Waiting 11:18:21 2de7ff778b66: Waiting 11:18:21 9712f1f96733: Verifying Checksum 11:18:21 9712f1f96733: Download complete 11:18:21 63f879dbbcfc: Verifying Checksum 11:18:21 63f879dbbcfc: Download complete 11:18:21 e9a5061849ea: Verifying Checksum 11:18:21 e9a5061849ea: Download complete 11:18:21 d747dcd14b5f: Download complete 11:18:21 0d9ebad4ef96: Verifying Checksum 11:18:21 0d9ebad4ef96: Download complete 11:18:21 ab5ef0e58194: Verifying Checksum 11:18:21 ab5ef0e58194: Download complete 11:18:22 2de7ff778b66: Verifying Checksum 11:18:22 2de7ff778b66: Download complete 11:18:24 ab5ef0e58194: Pull complete 11:18:24 9712f1f96733: Pull complete 11:18:25 63f879dbbcfc: Pull complete 11:18:28 0d9ebad4ef96: Pull complete 11:18:29 e9a5061849ea: Pull complete 11:18:29 d747dcd14b5f: Pull complete 11:18:30 2de7ff778b66: Pull complete 11:18:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 11:18:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 11:18:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 11:18:30 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:18:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 11:18:34 $ docker top 09c0fa01ddf738e9c6bb1376ce20f0ec1131c1930d258c3655afbb89e9e7da82 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 11:18:34 provisioning config files... 11:18:34 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2902141316926087647tmp 11:18:34 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config828350738603640204tmp 11:18:34 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6080922330350843400tmp [Pipeline] { [Pipeline] echo 11:18:34 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 11:18:34 ---> sigul-configuration.sh 11:18:34 gpg: directory `/root/.gnupg' created 11:18:34 gpg: new configuration file `/root/.gnupg/gpg.conf' created 11:18:34 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 11:18:34 gpg: keyring `/root/.gnupg/secring.gpg' created 11:18:34 gpg: keyring `/root/.gnupg/pubring.gpg' created 11:18:34 gpg: CAST5 encrypted data 11:18:34 gpg: encrypted with 1 passphrase 11:18:34 gpg: WARNING: message was not integrity protected [Pipeline] sh 11:18:35 + mkdir /home/jenkins 11:18:35 + mkdir /home/jenkins/sigul [Pipeline] sh 11:18:35 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 11:18:35 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 11:18:35 ---> sigul-install.sh 11:18:35 Sigul already installed; skipping installation. [Pipeline] sh 11:18:35 + git tag --list 11:18:35 0.7.1 11:18:35 v1.0.0 11:18:35 v1.1.0 11:18:35 v1.1.1 11:18:35 v1.2.2 11:18:35 v1.3.0 11:18:35 v1.3.1 11:18:35 v2.0.0 11:18:35 v2.0.1-dev.1 11:18:35 v2.0.1-dev.10 11:18:35 v2.0.1-dev.11 11:18:35 v2.0.1-dev.12 11:18:35 v2.0.1-dev.13 11:18:35 v2.0.1-dev.14 11:18:35 v2.0.1-dev.15 11:18:35 v2.0.1-dev.16 11:18:35 v2.0.1-dev.17 11:18:35 v2.0.1-dev.2 11:18:35 v2.0.1-dev.3 11:18:35 v2.0.1-dev.4 11:18:35 v2.0.1-dev.5 11:18:35 v2.0.1-dev.6 11:18:35 v2.0.1-dev.7 11:18:35 v2.0.1-dev.8 11:18:35 v2.0.1-dev.9 11:18:35 v2.1.0 11:18:35 v2.2.0-dev.1 11:18:35 v2.2.0-dev.10 11:18:35 v2.2.0-dev.11 11:18:35 v2.2.0-dev.12 11:18:35 v2.2.0-dev.13 11:18:35 v2.2.0-dev.14 11:18:35 v2.2.0-dev.15 11:18:35 v2.2.0-dev.16 11:18:35 v2.2.0-dev.17 11:18:35 v2.2.0-dev.2 11:18:35 v2.2.0-dev.3 11:18:35 v2.2.0-dev.4 11:18:35 v2.2.0-dev.5 11:18:35 v2.2.0-dev.6 11:18:35 v2.2.0-dev.7 11:18:35 v2.2.0-dev.8 11:18:35 v2.2.0-dev.9 [Pipeline] sh 11:18:36 + lftools sign git-tag v2.2.0-dev.17 11:18:36 Signing Git tag with Sigul... 11:18:36 Signing v2.2.0-dev.17 [Pipeline] echo 11:18:37 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 11:18:37 ---> sigul-configuration-cleanup.sh [Pipeline] } 11:18:37 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 11:18:37 $ docker stop --time=1 09c0fa01ddf738e9c6bb1376ce20f0ec1131c1930d258c3655afbb89e9e7da82 11:18:38 $ docker rm -f 09c0fa01ddf738e9c6bb1376ce20f0ec1131c1930d258c3655afbb89e9e7da82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 11:18:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:18:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:18:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:18:39 . [Pipeline] withDockerContainer 11:18:39 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:18:39 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:18:40 $ docker top 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:18:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:18:40 [ssh-agent] Looking for ssh-agent implementation... 11:18:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:18:40 $ docker exec 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc ssh-agent 11:18:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDDGAmf/agent.13 11:18:40 SSH_AGENT_PID=20 11:18:40 Running ssh-add (command line suppressed) 11:18:40 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_268866229816426897.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_268866229816426897.key) 11:18:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:18:40 + git semver bump pre 11:18:40 # -> Open(): unable to determine branch for HEAD 11:18:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 11:18:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 11:18:40 # $SEMVER_REMOTE_NAME = origin 11:18:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:18:40 # $SEMVER_USER_NAME = edgex-jenkins 11:18:40 # $SEMVER_BRANCH = main 11:18:40 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 11:18:40 2.2.0-dev.18 [Pipeline] } 11:18:40 $ docker exec --env ******** --env ******** 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc ssh-agent -k 11:18:41 unset SSH_AUTH_SOCK; 11:18:41 unset SSH_AGENT_PID; 11:18:41 echo Agent pid 20 killed; 11:18:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:18:41 + git semver [Pipeline] } 11:18:41 $ docker stop --time=1 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc 11:18:42 $ docker rm -f 8bf98dd807bac85b805cafe85d1b4a30b175dbbaed625342deb288b5dcf8cecc [Pipeline] // withDockerContainer [Pipeline] sh 11:18:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:18:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:18:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 11:18:43 . [Pipeline] withDockerContainer 11:18:43 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 11:18:44 $ docker top b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:18:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:18:44 [ssh-agent] Looking for ssh-agent implementation... 11:18:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:18:44 $ docker exec b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab ssh-agent 11:18:44 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBhomkO/agent.13 11:18:44 SSH_AGENT_PID=19 11:18:44 Running ssh-add (command line suppressed) 11:18:44 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3942191554053936204.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3942191554053936204.key) 11:18:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:18:44 + git semver push 11:18:44 # -> Open(): unable to determine branch for HEAD 11:18:44 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 11:18:44 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 11:18:44 # $SEMVER_REMOTE_NAME = origin 11:18:44 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 11:18:44 # $SEMVER_USER_NAME = edgex-jenkins 11:18:44 # $SEMVER_BRANCH = main 11:18:44 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 11:18:46 $ docker exec --env ******** --env ******** b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab ssh-agent -k 11:18:46 unset SSH_AUTH_SOCK; 11:18:46 unset SSH_AGENT_PID; 11:18:46 echo Agent pid 19 killed; 11:18:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:18:47 + git semver [Pipeline] } 11:18:47 $ docker stop --time=1 b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab 11:19:01 $ docker rm -f b92aebab9c814e9170509179bc798d3754528ab13545c112f0be1c749c42b6ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 11:19:01 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 11:19:01 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:19:01 total 16 11:19:01 drwxr-xr-x 3 root root 4096 Apr 27 11:08 . 11:19:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 11:18 .. 11:19:01 drwxr-xr-x 2 root root 4096 Apr 27 11:08 cost 11:19:01 -rw-r--r-- 1 root root 84 Apr 27 11:08 cost.csv 11:19:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:19:01 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 11:19:01 total 16 11:19:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 11:08 . 11:19:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 11:18 .. 11:19:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 11:08 cost 11:19:01 -rw-r--r-- 1 jenkins jenkins 84 Apr 27 11:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:19:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:19:02 ---> package-listing.sh 11:19:02 ++ facter osfamily 11:19:02 ++ tr '[:upper:]' '[:lower:]' 11:19:03 + OS_FAMILY=debian 11:19:03 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 11:19:03 + START_PACKAGES=/tmp/packages_start.txt 11:19:03 + END_PACKAGES=/tmp/packages_end.txt 11:19:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:19:03 + PACKAGES=/tmp/packages_start.txt 11:19:03 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:19:03 + PACKAGES=/tmp/packages_end.txt 11:19:03 + case "${OS_FAMILY}" in 11:19:03 + dpkg -l 11:19:03 + grep '^ii' 11:19:03 + '[' -f /tmp/packages_start.txt ']' 11:19:03 + '[' -f /tmp/packages_end.txt ']' 11:19:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:19:03 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 11:19:03 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 11:19:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 11:19:03 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 11:19:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:19:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:19:04 . [Pipeline] withDockerContainer 11:19:04 prd-ubuntu20.04-docker-8c-8g-33468 does not seem to be running inside a container 11:19:04 $ 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 11:19:04 $ docker top bb7d10e8641659b2fb6d6f67cf662b69f4e47ad0ce7aa9074a2051cceb949a2b -eo pid,comm [Pipeline] { [Pipeline] sh 11:19:04 + touch /tmp/pre-build-complete [Pipeline] sh 11:19:05 + mkdir -p /var/log/sysstat [Pipeline] sh 11:19:05 + ls /var/log/sa-host 11:19:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:19:05 provisioning config files... 11:19:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4583724393112963218tmp [Pipeline] { [Pipeline] echo 11:19:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:19:05 ---> create-netrc.sh [Pipeline] } 11:19:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:19:06 ---> python-tools-install.sh [Pipeline] echo 11:19:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:19:06 ---> sudo-logs.sh 11:19:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:19:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:19:06 ---> job-cost.sh 11:19:06 lf-activate-venv: SKIPPING 11:19:06 DEBUG: total: 0.2199999988079071 11:19:06 INFO: Retrieving Stack Cost... 11:19:07 INFO: Retrieving Pricing Info for: v3-standard-8 11:19:07 INFO: Archiving Costs [Pipeline] echo 11:19:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:19:07 ---> logs-deploy.sh 11:19:07 lf-activate-venv: SKIPPING 11:19:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/38 11:19:07 INFO: archiving workspace using pattern(s): 11:19:08 Archives upload complete. 11:19:08 INFO: archiving logs to Nexus