Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2e2f8ada396003354e6b6ef510b55319cadc912 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-ssh9448609867228791507.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-ssh15481730960309076020.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-ssh18190344602734181783.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-ssh8958938303887736375.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-ssh8548595319853552323.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-10876’ Running on prd-ubuntu20.04-docker-8c-8g-10939 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 f2e2f8ada396003354e6b6ef510b55319cadc912 (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 f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 Commit message: "Merge pull request #357 from bnevis-i/add-spiffe" > git rev-list --no-walk 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:37:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:37:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:37:55 ========================================================= 03:37:55 EdgeX Global Pipelines Version Info 03:37:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:37:56 ------------------- 03:37:56 stable info: 03:37:56 ------------------- 03:37:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:37:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:37:56 Message: update stable to v1.0.221 03:37:56 ------------------- 03:37:56 experimental info: 03:37:56 ------------------- 03:37:56 Commited By: **** collab-it+edgex@linuxfoundation.org 03:37:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:37:56 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2e2f8ada396003354e6b6ef510b55319cadc912 [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2e2f8a [Pipeline] echo 03:37:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:57 provisioning config files... 03:37:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1292091336637574276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:57 ---> docker-login.sh 03:37:57 nexus3.edgexfoundry.org:10001 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 nexus3.edgexfoundry.org:10002 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 nexus3.edgexfoundry.org:10003 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 nexus3.edgexfoundry.org:10004 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:58 Configure a credential helper to remove this warning. See 03:37:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:58 03:37:58 Login Succeeded 03:37:58 docker.io 03:37:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:37:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:37:59 Configure a credential helper to remove this warning. See 03:37:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:37:59 03:37:59 Login Succeeded 03:37:59 ---> docker-login.sh ends [Pipeline] } 03:37:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:37:59 + git rev-list -1 --merges f2e2f8ada396003354e6b6ef510b55319cadc912~1..f2e2f8ada396003354e6b6ef510b55319cadc912 [Pipeline] echo 03:37:59 -----------> git rev-list -1 --merges f2e2f8ada396003354e6b6ef510b55319cadc912~1..f2e2f8ada396003354e6b6ef510b55319cadc912 f2e2f8ada396003354e6b6ef510b55319cadc912 03:37:59 f2e2f8ada396003354e6b6ef510b55319cadc912 [false] [Pipeline] sh 03:38:00 + git log --format=format:%s -1 f2e2f8ada396003354e6b6ef510b55319cadc912 [Pipeline] echo 03:38:00 ========================================================= 03:38:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:38:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:00 + git log --format=format:%s -1 f2e2f8ada396003354e6b6ef510b55319cadc912 [Pipeline] echo 03:38:00 [semverPrep] GIT_COMMIT: f2e2f8ada396003354e6b6ef510b55319cadc912, Commit Message: Merge pull request #357 from bnevis-i/add-spiffe [Pipeline] echo 03:38:00 [semverPrep] This is not a build commit. [Pipeline] sh 03:38:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:00 + grep -v github /etc/ssh/ssh_known_hosts 03:38:00 + [ -e /tmp/ssh_known_hosts ] 03:38:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:38:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:38:00 + sudo tee -a /etc/ssh/ssh_known_hosts 03:38:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:38:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:38:01 03:38:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:38:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:38:01 latest: Pulling from edgex-devops/git-semver 03:38:01 a0d0a0d46f8b: Pulling fs layer 03:38:01 3e5f54012d9b: Pulling fs layer 03:38:01 4c7163046ea9: Pulling fs layer 03:38:01 0c2d73faf560: Pulling fs layer 03:38:01 0c2d73faf560: Waiting 03:38:01 3e5f54012d9b: Verifying Checksum 03:38:01 3e5f54012d9b: Download complete 03:38:01 a0d0a0d46f8b: Verifying Checksum 03:38:01 a0d0a0d46f8b: Download complete 03:38:01 0c2d73faf560: Verifying Checksum 03:38:01 0c2d73faf560: Download complete 03:38:01 4c7163046ea9: Verifying Checksum 03:38:01 4c7163046ea9: Download complete 03:38:01 a0d0a0d46f8b: Pull complete 03:38:01 3e5f54012d9b: Pull complete 03:38:02 4c7163046ea9: Pull complete 03:38:02 0c2d73faf560: Pull complete 03:38:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:38:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:38:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:38:02 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:38:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:38:03 $ docker top 2365adb1e1737023d6f508e2e2d6abb8a21e17859c4f949678be478c19ee1280 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:03 [ssh-agent] Looking for ssh-agent implementation... 03:38:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:03 $ docker exec 2365adb1e1737023d6f508e2e2d6abb8a21e17859c4f949678be478c19ee1280 ssh-agent 03:38:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXabaIOb/agent.14 03:38:03 SSH_AGENT_PID=20 03:38:03 Running ssh-add (command line suppressed) 03:38:03 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8191444987432822071.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8191444987432822071.key) 03:38:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:04 + git tag --points-at HEAD [Pipeline] } 03:38:04 $ docker exec --env ******** --env ******** 2365adb1e1737023d6f508e2e2d6abb8a21e17859c4f949678be478c19ee1280 ssh-agent -k 03:38:04 unset SSH_AUTH_SOCK; 03:38:04 unset SSH_AGENT_PID; 03:38:04 echo Agent pid 20 killed; 03:38:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:38:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:04 [ssh-agent] Looking for ssh-agent implementation... 03:38:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:04 $ docker exec 2365adb1e1737023d6f508e2e2d6abb8a21e17859c4f949678be478c19ee1280 ssh-agent 03:38:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMJEDJP/agent.52 03:38:04 SSH_AGENT_PID=59 03:38:04 Running ssh-add (command line suppressed) 03:38:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6503320185895321832.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6503320185895321832.key) 03:38:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:04 + git semver init 03:38:04 # -> Open(): unable to determine branch for HEAD 03:38:04 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 03:38:04 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 03:38:04 # $SEMVER_REMOTE_NAME = origin 03:38:04 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:38:04 # $SEMVER_USER_NAME = edgex-jenkins 03:38:04 # $SEMVER_BRANCH = main 03:38:04 # $SEMVER_TEMP = /tmp/semver-292929068 03:38:04 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:38:05 # '/tmp/semver-292929068' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 03:38:05 # -> Force: false 03:38:05 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 03:38:05 $ docker exec --env ******** --env ******** 2365adb1e1737023d6f508e2e2d6abb8a21e17859c4f949678be478c19ee1280 ssh-agent -k 03:38:06 unset SSH_AUTH_SOCK; 03:38:06 unset SSH_AGENT_PID; 03:38:06 echo Agent pid 59 killed; 03:38:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:06 + git semver [Pipeline] } 03:38:06 $ docker stop --time=1 2365adb1e1737023d6f508e2e2d6abb8a21e17859c4f949678be478c19ee1280 03:38:07 $ docker rm -f 2365adb1e1737023d6f508e2e2d6abb8a21e17859c4f949678be478c19ee1280 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:38:08 Stashed 1 file(s) [Pipeline] echo 03:38:08 [edgeXSemver]: initialized semver on version 2.2.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:38:08 provisioning config files... 03:38:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5721032726545480553tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10936 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 03:38:08 Running in /w/workspace/device-mqtt-go/35 [Pipeline] { [Pipeline] checkout 03:38:08 Selected Git installation does not exist. Using Default 03:38:08 The recommended git tool is: NONE 03:38:08 ---> docker-login.sh 03:38:08 nexus3.edgexfoundry.org:10001 03:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:08 Configure a credential helper to remove this warning. See 03:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:08 03:38:08 Login Succeeded 03:38:08 nexus3.edgexfoundry.org:10002 03:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:09 Configure a credential helper to remove this warning. See 03:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:09 03:38:09 Login Succeeded 03:38:09 nexus3.edgexfoundry.org:10003 03:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:09 Configure a credential helper to remove this warning. See 03:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:09 03:38:09 Login Succeeded 03:38:09 nexus3.edgexfoundry.org:10004 03:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:09 Configure a credential helper to remove this warning. See 03:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:09 03:38:09 Login Succeeded 03:38:09 docker.io 03:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:09 Configure a credential helper to remove this warning. See 03:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:09 03:38:09 Login Succeeded 03:38:09 ---> docker-login.sh ends [Pipeline] } 03:38:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:38:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:38:10 ========================================================= 03:38:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:38:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:38:10 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 03:38:10 Sending build context to Docker daemon 5.794MB 03:38:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:38:10 Step 2/12 : FROM ${BASE} AS builder 03:38:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:38:10 59bf1c3509f3: Pulling fs layer 03:38:10 666ba61612fd: Pulling fs layer 03:38:10 8ed8ca486205: Pulling fs layer 03:38:10 4fe6c5a15a65: Pulling fs layer 03:38:10 22a0e8bec74d: Pulling fs layer 03:38:10 640e595b4fbd: Pulling fs layer 03:38:10 22a0e8bec74d: Waiting 03:38:10 763cafe07f6e: Pulling fs layer 03:38:10 640e595b4fbd: Waiting 03:38:10 0c0b528cf693: Pulling fs layer 03:38:10 763cafe07f6e: Waiting 03:38:10 10935f4eaf8b: Pulling fs layer 03:38:10 0c0b528cf693: Waiting 03:38:10 10935f4eaf8b: Waiting 03:38:10 8ed8ca486205: Download complete 03:38:10 666ba61612fd: Verifying Checksum 03:38:10 666ba61612fd: Download complete 03:38:10 22a0e8bec74d: Verifying Checksum 03:38:10 22a0e8bec74d: Download complete 03:38:10 640e595b4fbd: Verifying Checksum 03:38:10 640e595b4fbd: Download complete 03:38:10 59bf1c3509f3: Verifying Checksum 03:38:10 59bf1c3509f3: Download complete 03:38:10 763cafe07f6e: Verifying Checksum 03:38:10 763cafe07f6e: Download complete 03:38:10 0c0b528cf693: Verifying Checksum 03:38:10 0c0b528cf693: Download complete 03:38:10 59bf1c3509f3: Pull complete 03:38:10 666ba61612fd: Pull complete 03:38:10 8ed8ca486205: Pull complete 03:38:11 10935f4eaf8b: Verifying Checksum 03:38:11 10935f4eaf8b: Download complete 03:38:11 4fe6c5a15a65: Verifying Checksum 03:38:11 4fe6c5a15a65: Download complete 03:38:13 using credential edgex-jenkins-ssh 03:38:13 Cloning the remote Git repository 03:38:13 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:38:13 > git init /w/workspace/device-mqtt-go/35 # timeout=10 03:38:13 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:38:13 > git --version # timeout=10 03:38:13 > git --version # 'git version 2.25.1' 03:38:13 using GIT_SSH to set credentials SSH Credentials for GitHub 03:38:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:38:15 Avoid second fetch 03:38:15 Checking out Revision f2e2f8ada396003354e6b6ef510b55319cadc912 (main) 03:38:15 4fe6c5a15a65: Pull complete 03:38:15 22a0e8bec74d: Pull complete 03:38:15 640e595b4fbd: Pull complete 03:38:15 763cafe07f6e: Pull complete 03:38:15 0c0b528cf693: Pull complete 03:38:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:38:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:38:15 > git config core.sparsecheckout # timeout=10 03:38:15 > git checkout -f f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 03:38:18 10935f4eaf8b: Pull complete 03:38:18 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 03:38:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:38:18 ---> 99d49a6021b9 03:38:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:38:19 ---> Running in 6aa7b4ffc7f5 03:38:19 Removing intermediate container 6aa7b4ffc7f5 03:38:19 ---> 45af3e569845 03:38:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:38:19 ---> Running in 20b55cffe621 03:38:19 Removing intermediate container 20b55cffe621 03:38:19 ---> 510b3abea6fd 03:38:19 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:38:19 ---> Running in 9a1142f78b93 03:38:19 Commit message: "Merge pull request #357 from bnevis-i/add-spiffe" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:20 Removing intermediate container 9a1142f78b93 03:38:20 ---> 44b9d31f72b3 03:38:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:38:20 ---> Running in 9c59258f77d6 03:38:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:38:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:38:20 % Total % Received % Xferd Average Speed Time Time Time Current 03:38:20 Dload Upload Total Spent Left Speed 03:38:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 202k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 03:38:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:38:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:38:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:38:21 + sudo tee /etc/docker/daemon.new 03:38:21 { 03:38:21 "registry-mirrors": [ 03:38:21 "https://nexus3.edgexfoundry.org:10001" 03:38:21 ], 03:38:21 "bip": "10.250.0.254/24", 03:38:21 "hosts": [ 03:38:21 "tcp://0.0.0.0:5555", 03:38:21 "unix:///var/run/docker.sock" 03:38:21 ], 03:38:21 "mtu": 1458, 03:38:21 "selinux-enabled": true, 03:38:21 "seccomp-profile": "/etc/docker/seccomp.json" 03:38:21 } [Pipeline] sh 03:38:21 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:38:21 (2/4) Installing libedit (20210910.3.1-r0) 03:38:21 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:38:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:38:21 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:38:21 Executing busybox-1.34.1-r3.trigger 03:38:21 OK: 224 MiB in 56 packages 03:38:22 + sudo service docker restart 03:38:22 Removing intermediate container 9c59258f77d6 03:38:22 ---> 8c7a94a627b9 03:38:22 Step 7/12 : WORKDIR /device-mqtt-go 03:38:22 ---> Running in 3e06e9b8752c 03:38:22 Removing intermediate container 3e06e9b8752c 03:38:22 ---> 95a807468e53 03:38:22 Step 8/12 : COPY go.mod vendor* ./ 03:38:22 ---> 5cc86c29e3bd 03:38:22 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:22 ---> Running in cad533b59bc0 03:38:37 Removing intermediate container cad533b59bc0 03:38:37 ---> 97e046b2b5e8 03:38:37 Step 10/12 : COPY . . 03:38:37 ---> c791ed16e7ad 03:38:37 Step 11/12 : ARG MAKE='make build' 03:38:37 ---> Running in e415eecf541d 03:38:37 Removing intermediate container e415eecf541d 03:38:37 ---> 20c7ab904c8d 03:38:37 Step 12/12 : RUN $MAKE 03:38:37 ---> Running in cfc66b10d98c 03:38:37 noop 03:38:37 Removing intermediate container cfc66b10d98c 03:38:37 ---> ff9f9c8bd759 03:38:37 Successfully built ff9f9c8bd759 03:38:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:38:37 + docker inspect -f . ci-base-image-x86_64 03:38:37 . [Pipeline] withDockerContainer 03:38:37 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:38:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:38:38 $ docker top d02f4c62b8962114816979c519f517ed7324a1e14fc7a372e3a549e3c651de05 -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:38 + go version 03:38:38 go version go1.17.6 linux/amd64 [Pipeline] } 03:38:38 $ docker stop --time=1 d02f4c62b8962114816979c519f517ed7324a1e14fc7a372e3a549e3c651de05 03:38:40 $ docker rm -f d02f4c62b8962114816979c519f517ed7324a1e14fc7a372e3a549e3c651de05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:38:40 provisioning config files... 03:38:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/35@tmp/config6891528134319895563tmp 03:38:40 + docker inspect -f . ci-base-image-x86_64 03:38:40 . [Pipeline] withDockerContainer 03:38:40 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:38:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:38:40 $ docker top 85ba6e814cee7204467315d0a16fd93b4b1971de7815897796c61fffd1dad6c8 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] fileExists [Pipeline] sh 03:38:41 ---> docker-login.sh 03:38:41 nexus3.edgexfoundry.org:10001 03:38:41 + make test 03:38:41 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:38:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:38:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:42 Configure a credential helper to remove this warning. See 03:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:42 03:38:42 Login Succeeded 03:38:42 nexus3.edgexfoundry.org:10002 03:38:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:42 Configure a credential helper to remove this warning. See 03:38:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:42 03:38:42 Login Succeeded 03:38:42 nexus3.edgexfoundry.org:10003 03:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:43 Configure a credential helper to remove this warning. See 03:38:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:43 03:38:43 Login Succeeded 03:38:43 nexus3.edgexfoundry.org:10004 03:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:43 Configure a credential helper to remove this warning. See 03:38:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:43 03:38:43 Login Succeeded 03:38:43 docker.io 03:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:44 Configure a credential helper to remove this warning. See 03:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:44 03:38:44 Login Succeeded 03:38:44 ---> docker-login.sh ends [Pipeline] } 03:38:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:38:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:38:45 ========================================================= 03:38:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:38:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:38:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 03:38:45 Sending build context to Docker daemon 3.016MB 03:38:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:38:46 Step 2/12 : FROM ${BASE} AS builder 03:38:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:38:46 9b3977197b4f: Pulling fs layer 03:38:46 1a89e8eeedd5: Pulling fs layer 03:38:46 94645a83ff95: Pulling fs layer 03:38:46 3f3a8bcf1eab: Pulling fs layer 03:38:46 0c92f367c5e7: Pulling fs layer 03:38:46 f7c0051592d6: Pulling fs layer 03:38:46 a227ed2f7395: Pulling fs layer 03:38:46 7b1c46037f91: Pulling fs layer 03:38:46 f7c0051592d6: Waiting 03:38:46 a227ed2f7395: Waiting 03:38:46 7b1c46037f91: Waiting 03:38:46 3f3a8bcf1eab: Waiting 03:38:46 0c92f367c5e7: Waiting 03:38:46 94645a83ff95: Verifying Checksum 03:38:46 94645a83ff95: Download complete 03:38:46 1a89e8eeedd5: Download complete 03:38:46 0c92f367c5e7: Verifying Checksum 03:38:46 0c92f367c5e7: Download complete 03:38:46 f7c0051592d6: Verifying Checksum 03:38:46 f7c0051592d6: Download complete 03:38:46 9b3977197b4f: Download complete 03:38:46 a227ed2f7395: Verifying Checksum 03:38:46 a227ed2f7395: Download complete 03:38:47 9b3977197b4f: Pull complete 03:38:47 1a89e8eeedd5: Pull complete 03:38:47 94645a83ff95: Pull complete 03:38:48 7b1c46037f91: Verifying Checksum 03:38:48 7b1c46037f91: Download complete 03:38:48 3f3a8bcf1eab: Verifying Checksum 03:38:48 3f3a8bcf1eab: Download complete 03:38:51 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:38:51 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 03:38:51 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:38:59 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:39:01 3f3a8bcf1eab: Pull complete 03:39:01 0c92f367c5e7: Pull complete 03:39:01 f7c0051592d6: Pull complete 03:39:01 a227ed2f7395: Pull complete 03:39:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:39:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:39:02 ./bin/test-attribution-txt.sh [Pipeline] echo 03:39:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:39:02 $ docker stop --time=1 85ba6e814cee7204467315d0a16fd93b4b1971de7815897796c61fffd1dad6c8 03:39:04 $ docker rm -f 85ba6e814cee7204467315d0a16fd93b4b1971de7815897796c61fffd1dad6c8 [Pipeline] // withDockerContainer [Pipeline] sh 03:39:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:39:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:39:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:39:06 + ls -al . 03:39:06 total 176 03:39:06 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 03:39 . 03:39:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:37 .. 03:39:06 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 03:37 .dockerignore 03:39:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 03:37 .git 03:39:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:37 .github 03:39:06 -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 03:37 .gitignore 03:39:06 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 03:37 .golangci.yml 03:39:06 drwx------ 3 jenkins jenkins 4096 Apr 6 03:38 .semver 03:39:06 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 03:37 Attribution.txt 03:39:06 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 03:37 CHANGELOG.md 03:39:06 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 03:37 Dockerfile 03:39:06 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 03:37 GOVERNANCE.md 03:39:06 -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 03:37 Jenkinsfile 03:39:06 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 03:37 LICENSE 03:39:06 -rw-rw-r-- 1 jenkins jenkins 1544 Apr 6 03:37 Makefile 03:39:06 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 03:37 OWNERS.md 03:39:06 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 03:37 README.md 03:39:06 -rw-rw-r-- 1 jenkins jenkins 12 Apr 6 03:38 VERSION 03:39:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:37 bin 03:39:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:37 cmd 03:39:06 -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 03:38 coverage.out 03:39:06 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 03:37 go.mod 03:39:06 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 03:37 go.sum 03:39:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:37 internal 03:39:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:37 mock 03:39:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:37 snap 03:39:06 -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 03:37 version.go [Pipeline] isUnix [Pipeline] sh 03:39:06 + 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=f2e2f8ada396003354e6b6ef510b55319cadc912 --label arch=amd64 --label version=2.2.0-dev.14 . 03:39:06 Sending build context to Docker daemon 5.813MB 03:39:06 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:39:06 Step 2/24 : FROM ${BASE} AS builder 03:39:06 ---> ff9f9c8bd759 03:39:06 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:39:06 ---> Running in febcdf449a67 03:39:06 Removing intermediate container febcdf449a67 03:39:06 ---> 1940ce5a8693 03:39:06 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:39:06 ---> Running in 7ebc0507abdc 03:39:06 Removing intermediate container 7ebc0507abdc 03:39:06 ---> 20244efee2b8 03:39:06 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:07 ---> Running in 112a9befa7d0 03:39:07 Removing intermediate container 112a9befa7d0 03:39:07 ---> 226307999974 03:39:07 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:39:07 ---> Running in e9f7857a06a9 03:39:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:39:08 7b1c46037f91: Pull complete 03:39:08 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 03:39:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:39:08 ---> f79e39bc4007 03:39:08 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:39:08 ---> Running in 544313b0848a 03:39:08 Removing intermediate container 544313b0848a 03:39:08 ---> bc576cdf50df 03:39:08 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:39:08 ---> Running in 01286bc31136 03:39:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:39:09 Removing intermediate container 01286bc31136 03:39:09 ---> 09d31952cb7b 03:39:09 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:39:09 OK: 224 MiB in 56 packages 03:39:09 ---> Running in 151b2df41ebd 03:39:09 Removing intermediate container e9f7857a06a9 03:39:09 ---> 568c8476aa56 03:39:09 Step 7/24 : WORKDIR /device-mqtt-go 03:39:09 ---> Running in 27ef740afbaa 03:39:09 Removing intermediate container 27ef740afbaa 03:39:09 ---> fed676060a97 03:39:09 Step 8/24 : COPY go.mod vendor* ./ 03:39:09 ---> 1266b427eb35 03:39:09 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:09 ---> Running in f28397beed52 03:39:10 Removing intermediate container f28397beed52 03:39:10 ---> 932c603cb399 03:39:10 Step 10/24 : COPY . . 03:39:10 ---> 5f1161ba5e3e 03:39:10 Step 11/24 : ARG MAKE='make build' 03:39:10 ---> Running in b14180ab957d 03:39:10 Removing intermediate container b14180ab957d 03:39:10 ---> de90d0e0c2d5 03:39:10 Step 12/24 : RUN $MAKE 03:39:10 ---> Running in e1c4a50ad230 03:39:10 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.14" -o cmd/device-mqtt ./cmd 03:39:11 Removing intermediate container 151b2df41ebd 03:39:11 ---> 29583d334637 03:39:11 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:39:11 ---> Running in fb018a9d0d05 03:39:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:39:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:39:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:39:14 (2/4) Installing libedit (20210910.3.1-r0) 03:39:14 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:39:14 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:39:14 Executing busybox-1.34.1-r3.trigger 03:39:14 OK: 224 MiB in 56 packages 03:39:15 Removing intermediate container fb018a9d0d05 03:39:15 ---> 2425f39949df 03:39:15 Step 7/12 : WORKDIR /device-mqtt-go 03:39:15 ---> Running in a665831b6c1f 03:39:15 Removing intermediate container a665831b6c1f 03:39:15 ---> fc4891e33bd2 03:39:15 Step 8/12 : COPY go.mod vendor* ./ 03:39:16 ---> 49f671eb8ac5 03:39:16 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:16 ---> Running in 048b260003b4 03:39:23 Removing intermediate container e1c4a50ad230 03:39:23 ---> 55b71d9a4dd3 03:39:23 Step 13/24 : FROM alpine:3.14 03:39:23 3.14: Pulling from library/alpine 03:39:23 8663204ce13b: Pulling fs layer 03:39:23 8663204ce13b: Verifying Checksum 03:39:23 8663204ce13b: Download complete 03:39:24 8663204ce13b: Pull complete 03:39:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:39:24 Status: Downloaded newer image for alpine:3.14 03:39:24 ---> e04c818066af 03:39:24 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:39:24 ---> Running in 7e2ead95762f 03:39:24 Removing intermediate container 7e2ead95762f 03:39:24 ---> b0178f59ef82 03:39:24 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:39:24 ---> Running in 2a07a0efce15 03:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:39:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:39:24 (1/6) Installing dumb-init (1.2.5-r1) 03:39:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:39:25 (3/6) Installing libsodium (1.0.18-r0) 03:39:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:39:25 (5/6) Installing libzmq (4.3.4-r0) 03:39:25 (6/6) Installing zeromq (4.3.4-r0) 03:39:25 Executing busybox-1.33.1-r7.trigger 03:39:25 OK: 8 MiB in 20 packages 03:39:25 Removing intermediate container 2a07a0efce15 03:39:25 ---> f2ee678e1a61 03:39:25 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:39:25 ---> b756271bcc16 03:39:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:39:26 ---> 1cdf1542d750 03:39:26 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:39:26 ---> 8c07442d71e7 03:39:26 Step 19/24 : EXPOSE 59982 03:39:26 ---> Running in 50d728baa178 03:39:26 Removing intermediate container 50d728baa178 03:39:26 ---> 66177a9ba7df 03:39:26 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:39:26 ---> Running in 400d1d912ded 03:39:26 Removing intermediate container 400d1d912ded 03:39:26 ---> f69bff779f66 03:39:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:39:26 ---> Running in df2a52aadb3f 03:39:26 Removing intermediate container df2a52aadb3f 03:39:26 ---> 3db41402a14e 03:39:26 Step 22/24 : LABEL arch=amd64 03:39:26 ---> Running in b73ab1e5cfe7 03:39:26 Removing intermediate container b73ab1e5cfe7 03:39:26 ---> f2dd4e9af461 03:39:26 Step 23/24 : LABEL git_sha=f2e2f8ada396003354e6b6ef510b55319cadc912 03:39:26 ---> Running in d5d1d95073c4 03:39:26 Removing intermediate container d5d1d95073c4 03:39:26 ---> 9e3d4553c166 03:39:26 Step 24/24 : LABEL version=2.2.0-dev.14 03:39:26 ---> Running in 5bd1a993a068 03:39:26 Removing intermediate container 5bd1a993a068 03:39:26 ---> d8a8db17f1e3 03:39:26 [Warning] One or more build-args [ARCH] were not consumed 03:39:26 Successfully built d8a8db17f1e3 03:39:26 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:39:27 provisioning config files... 03:39:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4916994579302283709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:27 ---> docker-login.sh 03:39:27 nexus3.edgexfoundry.org:10001 03:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:27 Configure a credential helper to remove this warning. See 03:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:27 03:39:27 Login Succeeded 03:39:27 nexus3.edgexfoundry.org:10002 03:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:27 Configure a credential helper to remove this warning. See 03:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:27 03:39:27 Login Succeeded 03:39:27 nexus3.edgexfoundry.org:10003 03:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:27 Configure a credential helper to remove this warning. See 03:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:27 03:39:27 Login Succeeded 03:39:27 nexus3.edgexfoundry.org:10004 03:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:27 Configure a credential helper to remove this warning. See 03:39:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:27 03:39:27 Login Succeeded 03:39:27 docker.io 03:39:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:39:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:39:28 Configure a credential helper to remove this warning. See 03:39:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:39:28 03:39:28 Login Succeeded 03:39:28 ---> docker-login.sh ends [Pipeline] } 03:39:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:39:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:39:28 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 03:39:28 f2e2f8ada396003354e6b6ef510b55319cadc912 03:39:28 latest 03:39:28 2.2.0-dev.14 03:39:28 f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14 03:39:28 main 03:39:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:39:28 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f2e2f8ada396003354e6b6ef510b55319cadc912 [Pipeline] isUnix [Pipeline] sh 03:39:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f2e2f8ada396003354e6b6ef510b55319cadc912 03:39:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:39:28 a84b4d87c584: Preparing 03:39:28 80ba0d16796c: Preparing 03:39:28 675c9162ebcc: Preparing 03:39:28 35bd8fa6d822: Preparing 03:39:28 b541d28bf3b4: Preparing 03:39:28 b541d28bf3b4: Layer already exists 03:39:28 a84b4d87c584: Pushed 03:39:28 80ba0d16796c: Pushed 03:39:29 35bd8fa6d822: Pushed 03:39:31 675c9162ebcc: Pushed 03:39:31 f2e2f8ada396003354e6b6ef510b55319cadc912: digest: sha256:1003d51ad78e27de5cbe5fba7108bee3bada1b8a24b8148b8de337c48c4693a2 size: 1367 [Pipeline] isUnix [Pipeline] sh 03:39:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 03:39:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:39:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:39:32 a84b4d87c584: Preparing 03:39:32 80ba0d16796c: Preparing 03:39:32 675c9162ebcc: Preparing 03:39:32 35bd8fa6d822: Preparing 03:39:32 b541d28bf3b4: Preparing 03:39:32 675c9162ebcc: Layer already exists 03:39:32 b541d28bf3b4: Layer already exists 03:39:32 35bd8fa6d822: Layer already exists 03:39:32 a84b4d87c584: Layer already exists 03:39:32 80ba0d16796c: Layer already exists 03:39:32 latest: digest: sha256:1003d51ad78e27de5cbe5fba7108bee3bada1b8a24b8148b8de337c48c4693a2 size: 1367 [Pipeline] isUnix [Pipeline] sh 03:39:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 03:39:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.14 03:39:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:39:32 a84b4d87c584: Preparing 03:39:32 80ba0d16796c: Preparing 03:39:32 675c9162ebcc: Preparing 03:39:32 35bd8fa6d822: Preparing 03:39:32 b541d28bf3b4: Preparing 03:39:32 a84b4d87c584: Layer already exists 03:39:32 b541d28bf3b4: Layer already exists 03:39:32 35bd8fa6d822: Layer already exists 03:39:32 675c9162ebcc: Layer already exists 03:39:32 80ba0d16796c: Layer already exists 03:39:32 2.2.0-dev.14: digest: sha256:1003d51ad78e27de5cbe5fba7108bee3bada1b8a24b8148b8de337c48c4693a2 size: 1367 [Pipeline] isUnix [Pipeline] sh 03:39:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 03:39:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14 03:39:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:39:33 a84b4d87c584: Preparing 03:39:33 80ba0d16796c: Preparing 03:39:33 675c9162ebcc: Preparing 03:39:33 35bd8fa6d822: Preparing 03:39:33 b541d28bf3b4: Preparing 03:39:33 a84b4d87c584: Layer already exists 03:39:33 35bd8fa6d822: Layer already exists 03:39:33 675c9162ebcc: Layer already exists 03:39:33 80ba0d16796c: Layer already exists 03:39:33 b541d28bf3b4: Layer already exists 03:39:33 f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14: digest: sha256:1003d51ad78e27de5cbe5fba7108bee3bada1b8a24b8148b8de337c48c4693a2 size: 1367 [Pipeline] isUnix [Pipeline] sh 03:39:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 03:39:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 03:39:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 03:39:33 a84b4d87c584: Preparing 03:39:33 80ba0d16796c: Preparing 03:39:33 675c9162ebcc: Preparing 03:39:33 35bd8fa6d822: Preparing 03:39:33 b541d28bf3b4: Preparing 03:39:33 a84b4d87c584: Layer already exists 03:39:33 675c9162ebcc: Layer already exists 03:39:33 35bd8fa6d822: Layer already exists 03:39:33 b541d28bf3b4: Layer already exists 03:39:33 80ba0d16796c: Layer already exists 03:39:33 main: digest: sha256:1003d51ad78e27de5cbe5fba7108bee3bada1b8a24b8148b8de337c48c4693a2 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:39:34 ===================================================== [Pipeline] echo 03:39:34 taggedImages: 03:39:34 - nexus3.edgexfoundry.org:10004/device-mqtt:f2e2f8ada396003354e6b6ef510b55319cadc912 03:39:34 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 03:39:34 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.14 03:39:34 - nexus3.edgexfoundry.org:10004/device-mqtt:f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14 03:39:34 - 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 03:39:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:34 03:39:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:39:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:34 latest: Pulling from edgex-lftools-log-publisher 03:39:34 5eb5b503b376: Pulling fs layer 03:39:34 5c69ac0246d0: Pulling fs layer 03:39:34 ec43610c2a17: Pulling fs layer 03:39:34 3a2ae6a8a46f: Pulling fs layer 03:39:34 33b1e0a273af: Pulling fs layer 03:39:34 5d3b04190fa2: Pulling fs layer 03:39:34 2f39f015ded8: Pulling fs layer 03:39:34 33b1e0a273af: Waiting 03:39:34 5d3b04190fa2: Waiting 03:39:34 2f39f015ded8: Waiting 03:39:34 5c69ac0246d0: Download complete 03:39:34 3a2ae6a8a46f: Download complete 03:39:34 33b1e0a273af: Verifying Checksum 03:39:34 33b1e0a273af: Download complete 03:39:34 ec43610c2a17: Verifying Checksum 03:39:34 ec43610c2a17: Download complete 03:39:34 5d3b04190fa2: Download complete 03:39:34 5eb5b503b376: Verifying Checksum 03:39:34 5eb5b503b376: Download complete 03:39:35 2f39f015ded8: Download complete 03:39:36 5eb5b503b376: Pull complete 03:39:36 5c69ac0246d0: Pull complete 03:39:36 ec43610c2a17: Pull complete 03:39:36 3a2ae6a8a46f: Pull complete 03:39:36 33b1e0a273af: Pull complete 03:39:37 5d3b04190fa2: Pull complete 03:39:41 2f39f015ded8: Pull complete 03:39:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:39:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:39:41 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:39:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:39:43 $ docker top 7931c477dc5910dfa8fa3d1df53e90ff6f526d05230b1febe4cec1ce80742a18 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:39:43 ---> job-cost.sh 03:39:43 lf-activate-venv: SKIPPING 03:39:43 INFO: No Stack... 03:39:44 INFO: Retrieving Pricing Info for: v3-standard-8 03:39:44 INFO: Archiving Costs [Pipeline] sh 03:39:44 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 03:39:44 + cut -d, -f6 [Pipeline] lock 03:39:44 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-35-stack-cost] 03:39:44 Resource [jenkins-edgexfoundry-device-mqtt-go-main-35-stack-cost] did not exist. Created. 03:39:44 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:39:45 + echo total: 0.2199999988079071 [Pipeline] stash 03:39:45 Stashed 1 file(s) [Pipeline] } 03:39:45 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 03:39:45 $ docker stop --time=1 7931c477dc5910dfa8fa3d1df53e90ff6f526d05230b1febe4cec1ce80742a18 03:39:46 $ docker rm -f 7931c477dc5910dfa8fa3d1df53e90ff6f526d05230b1febe4cec1ce80742a18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:40:03 Removing intermediate container 048b260003b4 03:40:03 ---> 38c1e2a3b7d2 03:40:03 Step 10/12 : COPY . . 03:40:03 ---> 2d53f1a5b502 03:40:03 Step 11/12 : ARG MAKE='make build' 03:40:03 ---> Running in 3a4ce970be07 03:40:03 Removing intermediate container 3a4ce970be07 03:40:03 ---> ddadc4da54e8 03:40:03 Step 12/12 : RUN $MAKE 03:40:03 ---> Running in bdb9f9b0b94c 03:40:04 noop 03:40:05 Removing intermediate container bdb9f9b0b94c 03:40:05 ---> 649ccccdf46c 03:40:05 Successfully built 649ccccdf46c 03:40:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:40:05 + docker inspect -f . ci-base-image-arm64 03:40:05 . [Pipeline] withDockerContainer 03:40:06 prd-ubuntu20.04-docker-arm64-4c-16g-10936 does not seem to be running inside a container 03:40:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/35 -v /w/workspace/device-mqtt-go/35:/w/workspace/device-mqtt-go/35:rw,z -v /w/workspace/device-mqtt-go/35@tmp:/w/workspace/device-mqtt-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:07 $ docker top 7521903392d4a19062e443fecf82cebbea5778a62d5e6358c933a8ed4bfaa1e2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:40:08 + go version 03:40:08 go version go1.17.6 linux/arm64 [Pipeline] } 03:40:08 $ docker stop --time=1 7521903392d4a19062e443fecf82cebbea5778a62d5e6358c933a8ed4bfaa1e2 03:40:10 $ docker rm -f 7521903392d4a19062e443fecf82cebbea5778a62d5e6358c933a8ed4bfaa1e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:40:10 + docker inspect -f . ci-base-image-arm64 03:40:10 . [Pipeline] withDockerContainer 03:40:10 prd-ubuntu20.04-docker-arm64-4c-16g-10936 does not seem to be running inside a container 03:40:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/35 -v /w/workspace/device-mqtt-go/35:/w/workspace/device-mqtt-go/35:rw,z -v /w/workspace/device-mqtt-go/35@tmp:/w/workspace/device-mqtt-go/35@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:40:12 $ docker top 2a7ed85c032507b57986f4c62557a095611e806d507009c9121694b6070485aa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:40:13 + make test 03:40:13 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:40:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:41:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:41:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 03:41:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:41:37 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:41:37 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:42:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:42:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:42:09 ./bin/test-attribution-txt.sh [Pipeline] echo 03:42:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:42:09 $ docker stop --time=1 2a7ed85c032507b57986f4c62557a095611e806d507009c9121694b6070485aa 03:42:11 $ docker rm -f 2a7ed85c032507b57986f4c62557a095611e806d507009c9121694b6070485aa [Pipeline] // withDockerContainer [Pipeline] sh 03:42:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:42:12 Warning: overwriting stash ‘coverage-report’ 03:42:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:42:13 + ls -al . 03:42:13 total 172 03:42:13 drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 03:42 . 03:42:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:38 .. 03:42:13 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 03:38 .dockerignore 03:42:13 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 03:38 .git 03:42:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:38 .github 03:42:13 -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 03:38 .gitignore 03:42:13 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 03:38 .golangci.yml 03:42:13 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 03:38 Attribution.txt 03:42:13 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 03:38 CHANGELOG.md 03:42:13 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 03:38 Dockerfile 03:42:13 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 03:38 GOVERNANCE.md 03:42:13 -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 03:38 Jenkinsfile 03:42:13 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 03:38 LICENSE 03:42:13 -rw-rw-r-- 1 jenkins jenkins 1544 Apr 6 03:38 Makefile 03:42:13 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 03:38 OWNERS.md 03:42:13 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 03:38 README.md 03:42:13 -rw-rw-r-- 1 jenkins jenkins 12 Apr 6 03:38 VERSION 03:42:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:38 bin 03:42:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:38 cmd 03:42:13 -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 03:41 coverage.out 03:42:13 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 03:38 go.mod 03:42:13 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 03:38 go.sum 03:42:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 03:38 internal 03:42:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 03:38 mock 03:42:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 03:38 snap 03:42:13 -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 03:38 version.go [Pipeline] isUnix [Pipeline] sh 03:42:14 + 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=f2e2f8ada396003354e6b6ef510b55319cadc912 --label arch=arm64 --label version=2.2.0-dev.14 . 03:42:14 Sending build context to Docker daemon 3.034MB 03:42:14 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:42:14 Step 2/24 : FROM ${BASE} AS builder 03:42:14 ---> 649ccccdf46c 03:42:14 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:42:14 ---> Running in 5d4a9b53f688 03:42:15 Removing intermediate container 5d4a9b53f688 03:42:15 ---> dbd6bfc5b6be 03:42:15 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 03:42:15 ---> Running in 3d624eeab6ae 03:42:15 Removing intermediate container 3d624eeab6ae 03:42:15 ---> ed6e00ff04b4 03:42:15 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:42:15 ---> Running in 2285f23934c4 03:42:17 Removing intermediate container 2285f23934c4 03:42:17 ---> d04f9e42e536 03:42:17 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:42:17 ---> Running in af544d2d9813 03:42:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:42:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:42:20 OK: 224 MiB in 56 packages 03:42:21 Removing intermediate container af544d2d9813 03:42:21 ---> 778e5f585ae9 03:42:21 Step 7/24 : WORKDIR /device-mqtt-go 03:42:21 ---> Running in 505060b725b3 03:42:21 Removing intermediate container 505060b725b3 03:42:21 ---> 979f95bd099f 03:42:21 Step 8/24 : COPY go.mod vendor* ./ 03:42:22 ---> 20a5d15c7855 03:42:22 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:42:22 ---> Running in fb5d41bc5865 03:42:24 Removing intermediate container fb5d41bc5865 03:42:24 ---> 54b25a343867 03:42:24 Step 10/24 : COPY . . 03:42:25 ---> b9bc76929e76 03:42:25 Step 11/24 : ARG MAKE='make build' 03:42:25 ---> Running in c135671ccffb 03:42:25 Removing intermediate container c135671ccffb 03:42:25 ---> e8fee12364b6 03:42:25 Step 12/24 : RUN $MAKE 03:42:25 ---> Running in b8ff7cebda9e 03:42:26 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.14" -o cmd/device-mqtt ./cmd 03:43:48 Removing intermediate container b8ff7cebda9e 03:43:48 ---> 7520430960cf 03:43:48 Step 13/24 : FROM alpine:3.14 03:43:48 3.14: Pulling from library/alpine 03:43:48 455c02918c45: Pulling fs layer 03:43:48 455c02918c45: Download complete 03:43:48 455c02918c45: Pull complete 03:43:48 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:43:48 Status: Downloaded newer image for alpine:3.14 03:43:48 ---> ac73e934f311 03:43:48 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 03:43:48 ---> Running in f50293252d1f 03:43:48 Removing intermediate container f50293252d1f 03:43:48 ---> d68f70137c61 03:43:48 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 03:43:48 ---> Running in 1bfa42a0c59f 03:43:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:43:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:43:48 (1/6) Installing dumb-init (1.2.5-r1) 03:43:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:43:48 (3/6) Installing libsodium (1.0.18-r0) 03:43:48 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:43:48 (5/6) Installing libzmq (4.3.4-r0) 03:43:48 (6/6) Installing zeromq (4.3.4-r0) 03:43:48 Executing busybox-1.33.1-r7.trigger 03:43:48 OK: 8 MiB in 20 packages 03:43:49 Removing intermediate container 1bfa42a0c59f 03:43:49 ---> 5ca4a7753047 03:43:49 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 03:43:50 ---> 97e4b4e1b028 03:43:50 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 03:43:51 ---> 3ea157f51275 03:43:51 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 03:43:51 ---> 3fb4d2e30e6a 03:43:51 Step 19/24 : EXPOSE 59982 03:43:51 ---> Running in cf38fb14852e 03:43:51 Removing intermediate container cf38fb14852e 03:43:51 ---> 82be11d41dd6 03:43:51 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 03:43:52 ---> Running in 7f1c935e1dbb 03:43:52 Removing intermediate container 7f1c935e1dbb 03:43:52 ---> 948b0a565cde 03:43:52 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:43:52 ---> Running in bf5ec8725aac 03:43:52 Removing intermediate container bf5ec8725aac 03:43:52 ---> ea53c3f9b157 03:43:52 Step 22/24 : LABEL arch=arm64 03:43:52 ---> Running in 672214b4e656 03:43:53 Removing intermediate container 672214b4e656 03:43:53 ---> 2390f0889f8c 03:43:53 Step 23/24 : LABEL git_sha=f2e2f8ada396003354e6b6ef510b55319cadc912 03:43:53 ---> Running in 41b6ce2c85fa 03:43:53 Removing intermediate container 41b6ce2c85fa 03:43:53 ---> 2476cb14adaf 03:43:53 Step 24/24 : LABEL version=2.2.0-dev.14 03:43:53 ---> Running in 2592768e1a56 03:43:53 Removing intermediate container 2592768e1a56 03:43:53 ---> 00b4bd97213c 03:43:53 [Warning] One or more build-args [ARCH] were not consumed 03:43:53 Successfully built 00b4bd97213c 03:43:53 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:43:53 provisioning config files... 03:43:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/35@tmp/config2701213961501931766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:43:54 ---> docker-login.sh 03:43:54 nexus3.edgexfoundry.org:10001 03:43:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:54 Configure a credential helper to remove this warning. See 03:43:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:54 03:43:54 Login Succeeded 03:43:54 nexus3.edgexfoundry.org:10002 03:43:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:55 Configure a credential helper to remove this warning. See 03:43:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:55 03:43:55 Login Succeeded 03:43:55 nexus3.edgexfoundry.org:10003 03:43:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:55 Configure a credential helper to remove this warning. See 03:43:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:55 03:43:55 Login Succeeded 03:43:55 nexus3.edgexfoundry.org:10004 03:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:56 Configure a credential helper to remove this warning. See 03:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:56 03:43:56 Login Succeeded 03:43:56 docker.io 03:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:43:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:43:56 Configure a credential helper to remove this warning. See 03:43:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:43:56 03:43:56 Login Succeeded 03:43:56 ---> docker-login.sh ends [Pipeline] } 03:43:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:43:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:43:56 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 03:43:56 f2e2f8ada396003354e6b6ef510b55319cadc912 03:43:56 latest 03:43:56 2.2.0-dev.14 03:43:56 f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14 03:43:56 main 03:43:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:43:57 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2e2f8ada396003354e6b6ef510b55319cadc912 [Pipeline] isUnix [Pipeline] sh 03:43:57 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2e2f8ada396003354e6b6ef510b55319cadc912 03:43:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:43:57 0da08d33de0a: Preparing 03:43:57 6d09311a0d0b: Preparing 03:43:57 b7144c615d8a: Preparing 03:43:57 8382e9cbb81f: Preparing 03:43:57 f73e7dbfee58: Preparing 03:43:57 f73e7dbfee58: Layer already exists 03:43:57 0da08d33de0a: Pushed 03:43:57 6d09311a0d0b: Pushed 03:43:58 8382e9cbb81f: Pushed 03:44:02 b7144c615d8a: Pushed 03:44:03 f2e2f8ada396003354e6b6ef510b55319cadc912: digest: sha256:1088bc99fc5eb50e1f81e524e03fd0b3ecb349de3357f847b56d988f2eb9afce size: 1365 [Pipeline] isUnix [Pipeline] sh 03:44:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:44:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:44:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:44:03 0da08d33de0a: Preparing 03:44:03 6d09311a0d0b: Preparing 03:44:03 b7144c615d8a: Preparing 03:44:03 8382e9cbb81f: Preparing 03:44:03 f73e7dbfee58: Preparing 03:44:03 6d09311a0d0b: Layer already exists 03:44:03 f73e7dbfee58: Layer already exists 03:44:03 0da08d33de0a: Layer already exists 03:44:03 8382e9cbb81f: Layer already exists 03:44:03 b7144c615d8a: Layer already exists 03:44:04 latest: digest: sha256:1088bc99fc5eb50e1f81e524e03fd0b3ecb349de3357f847b56d988f2eb9afce size: 1365 [Pipeline] isUnix [Pipeline] sh 03:44:04 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 03:44:04 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.14 03:44:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:44:04 0da08d33de0a: Preparing 03:44:04 6d09311a0d0b: Preparing 03:44:04 b7144c615d8a: Preparing 03:44:04 8382e9cbb81f: Preparing 03:44:04 f73e7dbfee58: Preparing 03:44:04 6d09311a0d0b: Layer already exists 03:44:04 0da08d33de0a: Layer already exists 03:44:04 f73e7dbfee58: Layer already exists 03:44:04 b7144c615d8a: Layer already exists 03:44:04 8382e9cbb81f: Layer already exists 03:44:05 2.2.0-dev.14: digest: sha256:1088bc99fc5eb50e1f81e524e03fd0b3ecb349de3357f847b56d988f2eb9afce size: 1365 [Pipeline] isUnix [Pipeline] sh 03:44:05 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 03:44:05 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14 03:44:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:44:05 0da08d33de0a: Preparing 03:44:05 6d09311a0d0b: Preparing 03:44:05 b7144c615d8a: Preparing 03:44:05 8382e9cbb81f: Preparing 03:44:05 f73e7dbfee58: Preparing 03:44:05 6d09311a0d0b: Layer already exists 03:44:05 b7144c615d8a: Layer already exists 03:44:05 f73e7dbfee58: Layer already exists 03:44:05 0da08d33de0a: Layer already exists 03:44:05 8382e9cbb81f: Layer already exists 03:44:06 f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14: digest: sha256:1088bc99fc5eb50e1f81e524e03fd0b3ecb349de3357f847b56d988f2eb9afce size: 1365 [Pipeline] isUnix [Pipeline] sh 03:44:06 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 03:44:06 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 03:44:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 03:44:06 0da08d33de0a: Preparing 03:44:06 6d09311a0d0b: Preparing 03:44:06 b7144c615d8a: Preparing 03:44:06 8382e9cbb81f: Preparing 03:44:06 f73e7dbfee58: Preparing 03:44:06 6d09311a0d0b: Layer already exists 03:44:06 f73e7dbfee58: Layer already exists 03:44:06 b7144c615d8a: Layer already exists 03:44:06 0da08d33de0a: Layer already exists 03:44:06 8382e9cbb81f: Layer already exists 03:44:06 main: digest: sha256:1088bc99fc5eb50e1f81e524e03fd0b3ecb349de3357f847b56d988f2eb9afce size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:44:07 ===================================================== [Pipeline] echo 03:44:07 taggedImages: 03:44:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2e2f8ada396003354e6b6ef510b55319cadc912 03:44:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 03:44:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.14 03:44:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f2e2f8ada396003354e6b6ef510b55319cadc912-2.2.0-dev.14 03:44:07 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:44:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:07 03:44:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:44:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:08 arm64: Pulling from edgex-lftools-log-publisher 03:44:08 8998bd30e6a1: Pulling fs layer 03:44:08 04944245beec: Pulling fs layer 03:44:08 699f458cf7ca: Pulling fs layer 03:44:08 765212b225bb: Pulling fs layer 03:44:08 f23df028b6ca: Pulling fs layer 03:44:08 d65c8cfc05b1: Pulling fs layer 03:44:08 2437ff75d9bd: Pulling fs layer 03:44:08 765212b225bb: Waiting 03:44:08 f23df028b6ca: Waiting 03:44:08 d65c8cfc05b1: Waiting 03:44:08 2437ff75d9bd: Waiting 03:44:08 04944245beec: Verifying Checksum 03:44:08 04944245beec: Download complete 03:44:08 765212b225bb: Verifying Checksum 03:44:08 765212b225bb: Download complete 03:44:08 f23df028b6ca: Download complete 03:44:08 d65c8cfc05b1: Verifying Checksum 03:44:08 d65c8cfc05b1: Download complete 03:44:08 699f458cf7ca: Verifying Checksum 03:44:08 699f458cf7ca: Download complete 03:44:08 8998bd30e6a1: Verifying Checksum 03:44:08 8998bd30e6a1: Download complete 03:44:11 2437ff75d9bd: Verifying Checksum 03:44:11 2437ff75d9bd: Download complete 03:44:13 8998bd30e6a1: Pull complete 03:44:13 04944245beec: Pull complete 03:44:14 699f458cf7ca: Pull complete 03:44:15 765212b225bb: Pull complete 03:44:16 f23df028b6ca: Pull complete 03:44:16 d65c8cfc05b1: Pull complete 03:44:31 2437ff75d9bd: Pull complete 03:44:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:44:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:44:31 prd-ubuntu20.04-docker-arm64-4c-16g-10936 does not seem to be running inside a container 03:44:31 $ 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/35 -v /w/workspace/device-mqtt-go/35:/w/workspace/device-mqtt-go/35:rw,z -v /w/workspace/device-mqtt-go/35@tmp:/w/workspace/device-mqtt-go/35@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:arm64 cat 03:44:34 $ docker top b7dca02adb09440a6473bab1ad79cdbecf6fa361de1f078f8e352c7c4247234f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:35 ---> job-cost.sh 03:44:35 lf-activate-venv: SKIPPING 03:44:35 INFO: No Stack... 03:44:35 INFO: Retrieving Pricing Info for: v3-standard-4 03:44:36 INFO: Archiving Costs [Pipeline] sh 03:44:37 + cat /w/workspace/device-mqtt-go/35/archives/cost.csv 03:44:37 + cut -d, -f6 [Pipeline] lock 03:44:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-35-stack-cost] 03:44:37 Resource [jenkins-edgexfoundry-device-mqtt-go-main-35-stack-cost] did not exist. Created. 03:44:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:37 /w/workspace/device-mqtt-go/35@tmp/durable-6281fa5a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:44:38 + echo total: 0.10999999940395355 [Pipeline] stash 03:44:38 Warning: overwriting stash ‘stack-cost’ 03:44:38 Stashed 1 file(s) [Pipeline] } 03:44:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:38 $ docker stop --time=1 b7dca02adb09440a6473bab1ad79cdbecf6fa361de1f078f8e352c7c4247234f 03:44:40 $ docker rm -f b7dca02adb09440a6473bab1ad79cdbecf6fa361de1f078f8e352c7c4247234f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 03:44:40 provisioning config files... 03:44:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3593658180137047113tmp [Pipeline] { [Pipeline] sh 03:44:40 + set +x 03:44:40 + curl -s https://codecov.io/bash 03:44:40 + bash -s -- 03:44:40 03:44:40 _____ _ 03:44:40 / ____| | | 03:44:40 | | ___ __| | ___ ___ _____ __ 03:44:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:44:40 | |___| (_) | (_| | __/ (_| (_) \ V / 03:44:40 \_____\___/ \__,_|\___|\___\___/ \_/ 03:44:40 Bash-1.0.6 03:44:40 03:44:40 03:44:40 ==> git version 2.25.1 found 03:44:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 03:44:40 Release-Date: 2020-01-08 03:44:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:44:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:44:40 ==> Jenkins CI detected. 03:44:40 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 03:44:40 project root: . 03:44:40 --> token set from env 03:44:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:44:40 ==> Running gcov in . (disable via -X gcov) 03:44:40 ==> Python coveragepy not found 03:44:40 ==> Searching for coverage reports in: 03:44:40 + . 03:44:40 -> Found 1 reports 03:44:40 ==> Detecting git/mercurial file structure 03:44:40 ==> Reading reports 03:44:40 + ./coverage.out bytes=17887 03:44:40 ==> Appending adjustments 03:44:40 https://docs.codecov.io/docs/fixing-reports 03:44:41 + Found adjustments 03:44:41 ==> Gzipping contents 03:44:41 4.0K /tmp/codecov.e2fi9l.gz 03:44:41 ==> Uploading reports 03:44:41 url: https://codecov.io 03:44:41 query: branch=main&commit=f2e2f8ada396003354e6b6ef510b55319cadc912&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:44:41 -> Pinging Codecov 03:44:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=f2e2f8ada396003354e6b6ef510b55319cadc912&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:44:41 -> Uploading to 03:44:41 https://storage.googleapis.com/codecov/v4/raw/2022-04-06/7D719EC7BBE17E464838252E33014C33/f2e2f8ada396003354e6b6ef510b55319cadc912/752b16ad-95f3-459f-b145-1484d5d435b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T034441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb052f19ccfd381fa9ced8dee1f1932eb31e2b94ece8beb4943a356c60d19049 03:44:41 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:41 Dload Upload Total Spent Left Speed 03:44:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3254 0 0 100 3254 0 12811 --:--:-- --:--:-- --:--:-- 12811 03:44:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f2e2f8ada396003354e6b6ef510b55319cadc912 [Pipeline] } 03:44:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:44:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:44:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:44:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:44:41 03:44:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 03:44:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:44:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:44:42 188c0c94c7c5: Pulling fs layer 03:44:42 0ef7d3d256c8: Pulling fs layer 03:44:42 de9db76c5a1d: Pulling fs layer 03:44:42 0eba1c9be4d2: Pulling fs layer 03:44:42 0d57e429df01: Pulling fs layer 03:44:42 4e4be7b47b0d: Pulling fs layer 03:44:42 e1f770b5df2f: Pulling fs layer 03:44:42 85a0685a4137: Pulling fs layer 03:44:42 4e4be7b47b0d: Waiting 03:44:42 0eba1c9be4d2: Waiting 03:44:42 e1f770b5df2f: Waiting 03:44:42 85a0685a4137: Waiting 03:44:42 0d57e429df01: Waiting 03:44:42 de9db76c5a1d: Download complete 03:44:42 0ef7d3d256c8: Verifying Checksum 03:44:42 0ef7d3d256c8: Download complete 03:44:42 0d57e429df01: Verifying Checksum 03:44:42 0d57e429df01: Download complete 03:44:42 4e4be7b47b0d: Download complete 03:44:42 188c0c94c7c5: Download complete 03:44:42 188c0c94c7c5: Pull complete 03:44:42 e1f770b5df2f: Verifying Checksum 03:44:42 e1f770b5df2f: Download complete 03:44:42 0ef7d3d256c8: Pull complete 03:44:42 de9db76c5a1d: Pull complete 03:44:42 0eba1c9be4d2: Verifying Checksum 03:44:42 0eba1c9be4d2: Download complete 03:44:42 85a0685a4137: Verifying Checksum 03:44:46 0eba1c9be4d2: Pull complete 03:44:46 0d57e429df01: Pull complete 03:44:46 4e4be7b47b0d: Pull complete 03:44:46 e1f770b5df2f: Pull complete 03:44:50 85a0685a4137: Pull complete 03:44:50 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 03:44:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:44:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 03:44:50 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:44:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:44:52 $ docker top b54c75ab01aceeb5f9e52fefe939fdc0b3349d18c7fedded0d6dea07e605b244 -eo pid,comm [Pipeline] { [Pipeline] echo 03:44:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 03:44:52 + set -o pipefail 03:44:52 + snyk monitor '--org=edgex-jenkins' 03:44:57 03:44:57 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 03:44:57 03:44:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/39e91c39-f6c6-475c-b3ba-137a5952f17d 03:44:57 03:44:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:44:57 03:44:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:44:57 03:44:58 [Pipeline] } 03:44:58 $ docker stop --time=1 b54c75ab01aceeb5f9e52fefe939fdc0b3349d18c7fedded0d6dea07e605b244 03:45:00 $ docker rm -f b54c75ab01aceeb5f9e52fefe939fdc0b3349d18c7fedded0d6dea07e605b244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:45:01 + git log --format=format:%s -1 f2e2f8ada396003354e6b6ef510b55319cadc912 [Pipeline] sh 03:45:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:45:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:45:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:45:01 . [Pipeline] withDockerContainer 03:45:01 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:45:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:45:02 $ docker top 2e6c7c9e5c7ef5d876c19ba4d61a7a1377a169acdfa396f5309c9d3967699bf0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:45:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:02 [ssh-agent] Looking for ssh-agent implementation... 03:45:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:02 $ docker exec 2e6c7c9e5c7ef5d876c19ba4d61a7a1377a169acdfa396f5309c9d3967699bf0 ssh-agent 03:45:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnAjJOf/agent.13 03:45:02 SSH_AGENT_PID=19 03:45:02 Running ssh-add (command line suppressed) 03:45:02 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2730782618825216027.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2730782618825216027.key) 03:45:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:03 + git semver tag 03:45:03 # -> Open(): unable to determine branch for HEAD 03:45:03 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 03:45:03 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 03:45:03 # $SEMVER_REMOTE_NAME = origin 03:45:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:45:03 # $SEMVER_USER_NAME = edgex-jenkins 03:45:03 # $SEMVER_BRANCH = main 03:45:03 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:45:03 # f2e2f8ada396003354e6b6ef510b55319cadc912 HEAD 03:45:03 # -> Force: false 03:45:03 # d83f7fe03b8c49dbef334966f1cbb758d9866d97 refs/tags/v2.2.0-dev.14 [Pipeline] } 03:45:03 $ docker exec --env ******** --env ******** 2e6c7c9e5c7ef5d876c19ba4d61a7a1377a169acdfa396f5309c9d3967699bf0 ssh-agent -k 03:45:03 unset SSH_AUTH_SOCK; 03:45:03 unset SSH_AGENT_PID; 03:45:03 echo Agent pid 19 killed; 03:45:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:45:03 + git semver [Pipeline] } 03:45:03 $ docker stop --time=1 2e6c7c9e5c7ef5d876c19ba4d61a7a1377a169acdfa396f5309c9d3967699bf0 03:45:04 $ docker rm -f 2e6c7c9e5c7ef5d876c19ba4d61a7a1377a169acdfa396f5309c9d3967699bf0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:45:05 03:45:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:45:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:45:05 0.23.1-centos7: Pulling from edgex-lftools 03:45:05 ab5ef0e58194: Pulling fs layer 03:45:05 9712f1f96733: Pulling fs layer 03:45:05 63f879dbbcfc: Pulling fs layer 03:45:05 0d9ebad4ef96: Pulling fs layer 03:45:05 e9a5061849ea: Pulling fs layer 03:45:05 d747dcd14b5f: Pulling fs layer 03:45:05 2de7ff778b66: Pulling fs layer 03:45:05 0d9ebad4ef96: Waiting 03:45:05 e9a5061849ea: Waiting 03:45:05 2de7ff778b66: Waiting 03:45:05 d747dcd14b5f: Waiting 03:45:05 9712f1f96733: Download complete 03:45:05 63f879dbbcfc: Verifying Checksum 03:45:05 63f879dbbcfc: Download complete 03:45:06 e9a5061849ea: Verifying Checksum 03:45:06 e9a5061849ea: Download complete 03:45:06 d747dcd14b5f: Verifying Checksum 03:45:06 d747dcd14b5f: Download complete 03:45:06 0d9ebad4ef96: Verifying Checksum 03:45:06 0d9ebad4ef96: Download complete 03:45:06 ab5ef0e58194: Verifying Checksum 03:45:06 ab5ef0e58194: Download complete 03:45:06 2de7ff778b66: Verifying Checksum 03:45:06 2de7ff778b66: Download complete 03:45:09 ab5ef0e58194: Pull complete 03:45:09 9712f1f96733: Pull complete 03:45:10 63f879dbbcfc: Pull complete 03:45:14 0d9ebad4ef96: Pull complete 03:45:14 e9a5061849ea: Pull complete 03:45:14 d747dcd14b5f: Pull complete 03:45:15 2de7ff778b66: Pull complete 03:45:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:45:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:45:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:45:15 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:45:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:45:18 $ docker top 4c122becc4984e2e27de94285cc2ea7bdc572ee3a5933de9b3bdde23e8940998 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:45:18 provisioning config files... 03:45:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7221176424816807111tmp 03:45:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5419331749326419955tmp 03:45:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2146190832119369341tmp [Pipeline] { [Pipeline] echo 03:45:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:45:18 ---> sigul-configuration.sh 03:45:18 gpg: directory `/root/.gnupg' created 03:45:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:45:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:45:18 gpg: keyring `/root/.gnupg/secring.gpg' created 03:45:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:45:18 gpg: CAST5 encrypted data 03:45:18 gpg: encrypted with 1 passphrase 03:45:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:45:19 + mkdir /home/jenkins 03:45:19 + mkdir /home/jenkins/sigul [Pipeline] sh 03:45:19 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 03:45:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:45:19 ---> sigul-install.sh 03:45:19 Sigul already installed; skipping installation. [Pipeline] sh 03:45:20 + git tag --list 03:45:20 0.7.1 03:45:20 v1.0.0 03:45:20 v1.1.0 03:45:20 v1.1.1 03:45:20 v1.2.2 03:45:20 v1.3.0 03:45:20 v1.3.1 03:45:20 v2.0.0 03:45:20 v2.0.1-dev.1 03:45:20 v2.0.1-dev.10 03:45:20 v2.0.1-dev.11 03:45:20 v2.0.1-dev.12 03:45:20 v2.0.1-dev.13 03:45:20 v2.0.1-dev.14 03:45:20 v2.0.1-dev.15 03:45:20 v2.0.1-dev.16 03:45:20 v2.0.1-dev.17 03:45:20 v2.0.1-dev.2 03:45:20 v2.0.1-dev.3 03:45:20 v2.0.1-dev.4 03:45:20 v2.0.1-dev.5 03:45:20 v2.0.1-dev.6 03:45:20 v2.0.1-dev.7 03:45:20 v2.0.1-dev.8 03:45:20 v2.0.1-dev.9 03:45:20 v2.1.0 03:45:20 v2.2.0-dev.1 03:45:20 v2.2.0-dev.10 03:45:20 v2.2.0-dev.11 03:45:20 v2.2.0-dev.12 03:45:20 v2.2.0-dev.13 03:45:20 v2.2.0-dev.14 03:45:20 v2.2.0-dev.2 03:45:20 v2.2.0-dev.3 03:45:20 v2.2.0-dev.4 03:45:20 v2.2.0-dev.5 03:45:20 v2.2.0-dev.6 03:45:20 v2.2.0-dev.7 03:45:20 v2.2.0-dev.8 03:45:20 v2.2.0-dev.9 [Pipeline] sh 03:45:20 + lftools sign git-tag v2.2.0-dev.14 03:45:20 Signing Git tag with Sigul... 03:45:20 Signing v2.2.0-dev.14 [Pipeline] echo 03:45:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:45:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:45:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:45:21 $ docker stop --time=1 4c122becc4984e2e27de94285cc2ea7bdc572ee3a5933de9b3bdde23e8940998 03:45:22 $ docker rm -f 4c122becc4984e2e27de94285cc2ea7bdc572ee3a5933de9b3bdde23e8940998 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:45:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:45:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:45:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:45:23 . [Pipeline] withDockerContainer 03:45:23 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:45:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:45:24 $ docker top c1493dce450808abe6b8699adc1f4b430f7f5cc7d3ffb4309aab8f7767a29ed1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:45:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:24 [ssh-agent] Looking for ssh-agent implementation... 03:45:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:24 $ docker exec c1493dce450808abe6b8699adc1f4b430f7f5cc7d3ffb4309aab8f7767a29ed1 ssh-agent 03:45:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbieADe/agent.15 03:45:24 SSH_AGENT_PID=21 03:45:24 Running ssh-add (command line suppressed) 03:45:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6411035932964156331.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6411035932964156331.key) 03:45:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:24 + git semver bump pre 03:45:24 # -> Open(): unable to determine branch for HEAD 03:45:24 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 03:45:24 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 03:45:24 # $SEMVER_REMOTE_NAME = origin 03:45:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:45:24 # $SEMVER_USER_NAME = edgex-jenkins 03:45:24 # $SEMVER_BRANCH = main 03:45:24 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 03:45:24 2.2.0-dev.15 [Pipeline] } 03:45:24 $ docker exec --env ******** --env ******** c1493dce450808abe6b8699adc1f4b430f7f5cc7d3ffb4309aab8f7767a29ed1 ssh-agent -k 03:45:25 unset SSH_AUTH_SOCK; 03:45:25 unset SSH_AGENT_PID; 03:45:25 echo Agent pid 21 killed; 03:45:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:45:25 + git semver [Pipeline] } 03:45:25 $ docker stop --time=1 c1493dce450808abe6b8699adc1f4b430f7f5cc7d3ffb4309aab8f7767a29ed1 03:45:26 $ docker rm -f c1493dce450808abe6b8699adc1f4b430f7f5cc7d3ffb4309aab8f7767a29ed1 [Pipeline] // withDockerContainer [Pipeline] sh 03:45:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:45:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:45:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:45:27 . [Pipeline] withDockerContainer 03:45:27 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:45:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:45:27 $ docker top 45d3986303f47972688a034e78f4c442bf050fca90c08e7bed197a7f12af22c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:45:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:45:28 [ssh-agent] Looking for ssh-agent implementation... 03:45:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:45:28 $ docker exec 45d3986303f47972688a034e78f4c442bf050fca90c08e7bed197a7f12af22c8 ssh-agent 03:45:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEKNiGb/agent.13 03:45:28 SSH_AGENT_PID=19 03:45:28 Running ssh-add (command line suppressed) 03:45:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7936543784611129204.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7936543784611129204.key) 03:45:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:45:28 + git semver push 03:45:28 # -> Open(): unable to determine branch for HEAD 03:45:28 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 03:45:28 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 03:45:28 # $SEMVER_REMOTE_NAME = origin 03:45:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:45:28 # $SEMVER_USER_NAME = edgex-jenkins 03:45:28 # $SEMVER_BRANCH = main 03:45:28 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 03:45:30 $ docker exec --env ******** --env ******** 45d3986303f47972688a034e78f4c442bf050fca90c08e7bed197a7f12af22c8 ssh-agent -k 03:45:30 unset SSH_AUTH_SOCK; 03:45:30 unset SSH_AGENT_PID; 03:45:30 echo Agent pid 19 killed; 03:45:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:45:31 + git semver [Pipeline] } 03:45:31 $ docker stop --time=1 45d3986303f47972688a034e78f4c442bf050fca90c08e7bed197a7f12af22c8 03:45:32 $ docker rm -f 45d3986303f47972688a034e78f4c442bf050fca90c08e7bed197a7f12af22c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:45:32 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 03:45:32 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:45:32 total 16 03:45:32 drwxr-xr-x 3 root root 4096 Apr 6 03:39 . 03:45:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:45 .. 03:45:32 drwxr-xr-x 2 root root 4096 Apr 6 03:39 cost 03:45:32 -rw-r--r-- 1 root root 84 Apr 6 03:39 cost.csv 03:45:32 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:45:32 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 03:45:32 total 16 03:45:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 03:39 . 03:45:32 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 03:45 .. 03:45:32 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 03:39 cost 03:45:32 -rw-r--r-- 1 jenkins jenkins 84 Apr 6 03:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:45:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:45:34 ---> package-listing.sh 03:45:34 ++ facter osfamily 03:45:34 ++ tr '[:upper:]' '[:lower:]' 03:45:34 + OS_FAMILY=debian 03:45:34 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 03:45:34 + START_PACKAGES=/tmp/packages_start.txt 03:45:34 + END_PACKAGES=/tmp/packages_end.txt 03:45:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:45:34 + PACKAGES=/tmp/packages_start.txt 03:45:34 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:45:34 + PACKAGES=/tmp/packages_end.txt 03:45:34 + case "${OS_FAMILY}" in 03:45:34 + dpkg -l 03:45:34 + grep '^ii' 03:45:34 + '[' -f /tmp/packages_start.txt ']' 03:45:34 + '[' -f /tmp/packages_end.txt ']' 03:45:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:45:34 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 03:45:34 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 03:45:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 03:45:34 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:45:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:45:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:45:35 . [Pipeline] withDockerContainer 03:45:35 prd-ubuntu20.04-docker-8c-8g-10939 does not seem to be running inside a container 03:45:35 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:45:35 $ docker top aa689c163f88a710c3bde6cbd252a06a22b5336451489d9588cb2fda5883f636 -eo pid,comm [Pipeline] { [Pipeline] sh 03:45:36 + touch /tmp/pre-build-complete [Pipeline] sh 03:45:36 + mkdir -p /var/log/sysstat [Pipeline] sh 03:45:36 + ls /var/log/sa-host 03:45:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:36 provisioning config files... 03:45:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9095601617661744750tmp [Pipeline] { [Pipeline] echo 03:45:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:45:37 ---> create-netrc.sh [Pipeline] } 03:45:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:45:37 ---> python-tools-install.sh [Pipeline] echo 03:45:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:45:37 ---> sudo-logs.sh 03:45:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:45:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:45:37 ---> job-cost.sh 03:45:37 lf-activate-venv: SKIPPING 03:45:37 DEBUG: total: 0.2199999988079071 03:45:37 INFO: Retrieving Stack Cost... 03:45:38 INFO: Retrieving Pricing Info for: v3-standard-8 03:45:38 INFO: Archiving Costs [Pipeline] echo 03:45:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:45:39 ---> logs-deploy.sh 03:45:39 lf-activate-venv: SKIPPING 03:45:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/35 03:45:39 INFO: archiving workspace using pattern(s): 03:45:40 Archives upload complete. 03:45:40 INFO: archiving logs to Nexus