Pull request #357 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of bnevis-i for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 6a0d17f3443cfc2038c22736989c6b24159166ee rather than 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 Obtained Jenkinsfile from 6a0d17f3443cfc2038c22736989c6b24159166ee 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-ssh17400948492253872310.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-ssh10865811513238198573.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/PR-357/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/PR-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13148108155747034991.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-ssh644206958499411196.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/PR-357/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/PR-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3102461035255735613.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 ‘prd-ubuntu20.04-docker-8c-8g-10814’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10815 in /w/workspace/gexfoundry_device-mqtt-go_PR-357 [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/gexfoundry_device-mqtt-go_PR-357 # 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 Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 Merge succeeded, producing 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 Checking out Revision 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 (PR-357) > 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 remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 # timeout=10 Commit message: "build(deps): Update device-sdk-go and other deps" First time build. Skipping changelog. > git rev-list --no-walk 58ecf32801cc693837e80e126c478e442b3af96f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T01:25:06.256Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T01:25:06.309Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T01:25:06.322Z] ========================================================= [2022-04-06T01:25:06.322Z] EdgeX Global Pipelines Version Info [2022-04-06T01:25:06.322Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:25:07.080Z] ------------------- [2022-04-06T01:25:07.080Z] stable info: [2022-04-06T01:25:07.080Z] ------------------- [2022-04-06T01:25:07.080Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T01:25:07.080Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T01:25:07.080Z] Message: update stable to v1.0.221 [2022-04-06T01:25:07.655Z] ------------------- [2022-04-06T01:25:07.655Z] experimental info: [2022-04-06T01:25:07.655Z] ------------------- [2022-04-06T01:25:07.656Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T01:25:07.656Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T01:25:07.656Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T01:25:07.790Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-06T01:25:07.799Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-06T01:25:07.808Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T01:25:07.819Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T01:25:07.834Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T01:25:07.845Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T01:25:07.857Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T01:25:07.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T01:25:07.886Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T01:25:07.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T01:25:07.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T01:25:07.926Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-06T01:25:07.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T01:25:07.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T01:25:07.966Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T01:25:07.977Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T01:25:07.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T01:25:08.016Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T01:25:08.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T01:25:08.048Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-06T01:25:08.062Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T01:25:08.073Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T01:25:08.086Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T01:25:08.098Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T01:25:08.109Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T01:25:08.118Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T01:25:08.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo [2022-04-06T01:25:08.140Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo [2022-04-06T01:25:08.149Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo [2022-04-06T01:25:08.158Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [Pipeline] echo [2022-04-06T01:25:08.166Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b5f421 [Pipeline] echo [2022-04-06T01:25:08.175Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T01:25:08.224Z] provisioning config files... [2022-04-06T01:25:08.237Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config886542406832135290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:25:08.543Z] ---> docker-login.sh [2022-04-06T01:25:08.543Z] nexus3.edgexfoundry.org:10001 [2022-04-06T01:25:08.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:08.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:08.805Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:08.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:08.805Z] [2022-04-06T01:25:08.805Z] Login Succeeded [2022-04-06T01:25:08.805Z] nexus3.edgexfoundry.org:10002 [2022-04-06T01:25:09.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:09.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:09.066Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:09.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:09.066Z] [2022-04-06T01:25:09.066Z] Login Succeeded [2022-04-06T01:25:09.066Z] nexus3.edgexfoundry.org:10003 [2022-04-06T01:25:09.066Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:09.066Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:09.066Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:09.066Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:09.066Z] [2022-04-06T01:25:09.066Z] Login Succeeded [2022-04-06T01:25:09.066Z] nexus3.edgexfoundry.org:10004 [2022-04-06T01:25:09.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:09.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:09.328Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:09.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:09.328Z] [2022-04-06T01:25:09.328Z] Login Succeeded [2022-04-06T01:25:09.328Z] docker.io [2022-04-06T01:25:09.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:09.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:09.900Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:09.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:09.900Z] [2022-04-06T01:25:09.900Z] Login Succeeded [2022-04-06T01:25:09.900Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T01:25:09.909Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T01:25:10.291Z] + git rev-list -1 --merges 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138~1..6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [Pipeline] echo [2022-04-06T01:25:10.321Z] -----------> git rev-list -1 --merges 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138~1..6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [false] [Pipeline] sh [2022-04-06T01:25:10.614Z] + git log --format=format:%s -1 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [Pipeline] echo [2022-04-06T01:25:10.631Z] ========================================================= [2022-04-06T01:25:10.631Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T01:25:10.631Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T01:25:10.985Z] + git log --format=format:%s -1 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [Pipeline] echo [2022-04-06T01:25:10.998Z] [semverPrep] GIT_COMMIT: 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138, Commit Message: build(deps): Update device-sdk-go and other deps [Pipeline] echo [2022-04-06T01:25:11.010Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T01:25:11.400Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T01:25:11.400Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T01:25:11.400Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T01:25:11.400Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T01:25:11.400Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-04-06T01:25:11.400Z] tee -a /etc/ssh/ssh_known_hosts [2022-04-06T01:25:11.400Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:25:11.758Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T01:25:11.758Z] [2022-04-06T01:25:11.758Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:25:12.057Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T01:25:12.057Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T01:25:12.057Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T01:25:12.057Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T01:25:12.057Z] 4c7163046ea9: Pulling fs layer [2022-04-06T01:25:12.057Z] 0c2d73faf560: Pulling fs layer [2022-04-06T01:25:12.057Z] 0c2d73faf560: Waiting [2022-04-06T01:25:12.057Z] 3e5f54012d9b: Verifying Checksum [2022-04-06T01:25:12.057Z] 3e5f54012d9b: Download complete [2022-04-06T01:25:12.057Z] a0d0a0d46f8b: Verifying Checksum [2022-04-06T01:25:12.057Z] a0d0a0d46f8b: Download complete [2022-04-06T01:25:12.057Z] 0c2d73faf560: Verifying Checksum [2022-04-06T01:25:12.057Z] 0c2d73faf560: Download complete [2022-04-06T01:25:12.057Z] 4c7163046ea9: Verifying Checksum [2022-04-06T01:25:12.057Z] 4c7163046ea9: Download complete [2022-04-06T01:25:12.316Z] a0d0a0d46f8b: Pull complete [2022-04-06T01:25:12.316Z] 3e5f54012d9b: Pull complete [2022-04-06T01:25:12.887Z] 4c7163046ea9: Pull complete [2022-04-06T01:25:12.887Z] 0c2d73faf560: Pull complete [2022-04-06T01:25:12.887Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T01:25:12.887Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T01:25:12.887Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T01:25:13.066Z] prd-ubuntu20.04-docker-8c-8g-10815 does not seem to be running inside a container [2022-04-06T01:25:13.138Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-06T01:25:13.847Z] $ docker top ae373827f46aedc000b05777809d3aae59cb585a35cc18b88c8fea8f4aab45bc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T01:25:13.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T01:25:13.953Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T01:25:14.084Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T01:25:14.094Z] $ docker exec ae373827f46aedc000b05777809d3aae59cb585a35cc18b88c8fea8f4aab45bc ssh-agent [2022-04-06T01:25:14.213Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlLKMan/agent.14 [2022-04-06T01:25:14.213Z] SSH_AGENT_PID=20 [2022-04-06T01:25:14.223Z] Running ssh-add (command line suppressed) [2022-04-06T01:25:14.351Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_3504260774372356717.key (/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_3504260774372356717.key) [2022-04-06T01:25:14.362Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T01:25:14.657Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T01:25:14.675Z] $ docker exec --env ******** --env ******** ae373827f46aedc000b05777809d3aae59cb585a35cc18b88c8fea8f4aab45bc ssh-agent -k [2022-04-06T01:25:14.781Z] unset SSH_AUTH_SOCK; [2022-04-06T01:25:14.781Z] unset SSH_AGENT_PID; [2022-04-06T01:25:14.781Z] echo Agent pid 20 killed; [2022-04-06T01:25:14.787Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T01:25:14.817Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T01:25:14.817Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T01:25:14.934Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T01:25:14.943Z] $ docker exec ae373827f46aedc000b05777809d3aae59cb585a35cc18b88c8fea8f4aab45bc ssh-agent [2022-04-06T01:25:15.057Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBAPcBo/agent.53 [2022-04-06T01:25:15.057Z] SSH_AGENT_PID=59 [2022-04-06T01:25:15.064Z] Running ssh-add (command line suppressed) [2022-04-06T01:25:15.198Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_7362808623768969974.key (/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_7362808623768969974.key) [2022-04-06T01:25:15.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T01:25:15.503Z] + git semver init [2022-04-06T01:25:15.503Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T01:25:15.503Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-357/.git [2022-04-06T01:25:15.503Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-357 [2022-04-06T01:25:15.503Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T01:25:15.503Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T01:25:15.503Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T01:25:15.503Z] # $SEMVER_BRANCH = PR-357 [2022-04-06T01:25:15.503Z] # $SEMVER_TEMP = /tmp/semver-159194384 [2022-04-06T01:25:15.503Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-06T01:25:16.444Z] # '/tmp/semver-159194384' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-357/.semver' [2022-04-06T01:25:16.444Z] # -> Force: false [2022-04-06T01:25:16.444Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-357/.semver [Pipeline] } [2022-04-06T01:25:16.464Z] $ docker exec --env ******** --env ******** ae373827f46aedc000b05777809d3aae59cb585a35cc18b88c8fea8f4aab45bc ssh-agent -k [2022-04-06T01:25:16.588Z] unset SSH_AUTH_SOCK; [2022-04-06T01:25:16.589Z] unset SSH_AGENT_PID; [2022-04-06T01:25:16.589Z] echo Agent pid 59 killed; [2022-04-06T01:25:16.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T01:25:16.908Z] + git semver [Pipeline] } [2022-04-06T01:25:16.929Z] $ docker stop --time=1 ae373827f46aedc000b05777809d3aae59cb585a35cc18b88c8fea8f4aab45bc [2022-04-06T01:25:18.331Z] $ docker rm -f ae373827f46aedc000b05777809d3aae59cb585a35cc18b88c8fea8f4aab45bc [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T01:25:18.693Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T01:25:18.937Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T01:25:18.940Z] [edgeXSemver]: initialized semver on version 0.0.0 [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 [2022-04-06T01:25:19.094Z] provisioning config files... [2022-04-06T01:25:19.186Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config2314065965659964658tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:25:19.540Z] ---> docker-login.sh [2022-04-06T01:25:19.540Z] nexus3.edgexfoundry.org:10001 [2022-04-06T01:25:19.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:19.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:19.540Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:19.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:19.540Z] [2022-04-06T01:25:19.540Z] Login Succeeded [2022-04-06T01:25:19.540Z] nexus3.edgexfoundry.org:10002 [2022-04-06T01:25:19.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:19.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:19.801Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:19.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:19.801Z] [2022-04-06T01:25:19.801Z] Login Succeeded [2022-04-06T01:25:19.801Z] nexus3.edgexfoundry.org:10003 [2022-04-06T01:25:19.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:19.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:19.801Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:19.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:19.801Z] [2022-04-06T01:25:19.801Z] Login Succeeded [2022-04-06T01:25:19.801Z] nexus3.edgexfoundry.org:10004 [2022-04-06T01:25:20.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:20.070Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:20.070Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:20.070Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:20.070Z] [2022-04-06T01:25:20.070Z] Login Succeeded [2022-04-06T01:25:20.070Z] docker.io [2022-04-06T01:25:20.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:25:20.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:25:20.642Z] Configure a credential helper to remove this warning. See [2022-04-06T01:25:20.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:25:20.642Z] [2022-04-06T01:25:20.642Z] Login Succeeded [2022-04-06T01:25:20.642Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T01:25:20.650Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T01:25:20.720Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T01:25:20.731Z] ========================================================= [2022-04-06T01:25:20.731Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T01:25:20.731Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:25:21.042Z] + 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 . [2022-04-06T01:25:21.042Z] Sending build context to Docker daemon 5.843MB [2022-04-06T01:25:21.042Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T01:25:21.042Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T01:25:21.042Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T01:25:21.042Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T01:25:21.042Z] 666ba61612fd: Pulling fs layer [2022-04-06T01:25:21.042Z] 8ed8ca486205: Pulling fs layer [2022-04-06T01:25:21.042Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T01:25:21.042Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T01:25:21.042Z] 640e595b4fbd: Pulling fs layer [2022-04-06T01:25:21.042Z] 763cafe07f6e: Pulling fs layer [2022-04-06T01:25:21.042Z] 0c0b528cf693: Pulling fs layer [2022-04-06T01:25:21.042Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T01:25:21.042Z] 4fe6c5a15a65: Waiting [2022-04-06T01:25:21.042Z] 640e595b4fbd: Waiting [2022-04-06T01:25:21.042Z] 22a0e8bec74d: Waiting [2022-04-06T01:25:21.042Z] 10935f4eaf8b: Waiting [2022-04-06T01:25:21.042Z] 0c0b528cf693: Waiting [2022-04-06T01:25:21.042Z] 8ed8ca486205: Verifying Checksum [2022-04-06T01:25:21.042Z] 666ba61612fd: Verifying Checksum [2022-04-06T01:25:21.042Z] 666ba61612fd: Download complete [2022-04-06T01:25:21.042Z] 22a0e8bec74d: Verifying Checksum [2022-04-06T01:25:21.042Z] 22a0e8bec74d: Download complete [2022-04-06T01:25:21.302Z] 640e595b4fbd: Download complete [2022-04-06T01:25:21.302Z] 59bf1c3509f3: Download complete [2022-04-06T01:25:21.302Z] 0c0b528cf693: Verifying Checksum [2022-04-06T01:25:21.302Z] 0c0b528cf693: Download complete [2022-04-06T01:25:21.302Z] 59bf1c3509f3: Pull complete [2022-04-06T01:25:21.563Z] 666ba61612fd: Pull complete [2022-04-06T01:25:21.563Z] 8ed8ca486205: Pull complete [2022-04-06T01:25:21.824Z] 10935f4eaf8b: Verifying Checksum [2022-04-06T01:25:21.824Z] 10935f4eaf8b: Download complete [2022-04-06T01:25:21.824Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T01:25:21.824Z] 4fe6c5a15a65: Download complete [2022-04-06T01:25:26.028Z] 4fe6c5a15a65: Pull complete [2022-04-06T01:25:26.028Z] 22a0e8bec74d: Pull complete [2022-04-06T01:25:26.288Z] 640e595b4fbd: Pull complete [2022-04-06T01:25:26.288Z] 763cafe07f6e: Pull complete [2022-04-06T01:25:26.288Z] 0c0b528cf693: Pull complete [2022-04-06T01:25:28.838Z] 10935f4eaf8b: Pull complete [2022-04-06T01:25:28.838Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T01:25:28.838Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T01:25:28.838Z] ---> 99d49a6021b9 [2022-04-06T01:25:28.838Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T01:25:30.224Z] ---> Running in 220606e90260 [2022-04-06T01:25:30.484Z] Removing intermediate container 220606e90260 [2022-04-06T01:25:30.484Z] ---> f4b1b1bfd285 [2022-04-06T01:25:30.484Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T01:25:30.484Z] ---> Running in 5d82c7454821 [2022-04-06T01:25:30.484Z] Removing intermediate container 5d82c7454821 [2022-04-06T01:25:30.484Z] ---> 17150f4913ec [2022-04-06T01:25:30.484Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T01:25:30.746Z] ---> Running in 5d5c1e1a1c75 [2022-04-06T01:25:31.318Z] Removing intermediate container 5d5c1e1a1c75 [2022-04-06T01:25:31.318Z] ---> c24b2127e791 [2022-04-06T01:25:31.318Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T01:25:31.318Z] ---> Running in b327a649fbf4 [2022-04-06T01:25:31.579Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T01:25:32.530Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T01:25:32.792Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T01:25:32.792Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T01:25:32.792Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T01:25:33.053Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T01:25:33.053Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T01:25:33.053Z] OK: 224 MiB in 56 packages [2022-04-06T01:25:33.624Z] Removing intermediate container b327a649fbf4 [2022-04-06T01:25:33.624Z] ---> 5cc01efae573 [2022-04-06T01:25:33.624Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-06T01:25:33.624Z] ---> Running in c9e964395328 [2022-04-06T01:25:33.624Z] Removing intermediate container c9e964395328 [2022-04-06T01:25:33.624Z] ---> df519429ae78 [2022-04-06T01:25:33.624Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-06T01:25:33.885Z] ---> 22b07535c6c8 [2022-04-06T01:25:33.885Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T01:25:33.885Z] ---> Running in ba2ab4308f39 [2022-04-06T01:25:34.061Z] Still waiting to schedule task [2022-04-06T01:25:34.061Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10810’ [2022-04-06T01:25:48.799Z] Removing intermediate container ba2ab4308f39 [2022-04-06T01:25:48.799Z] ---> 892b23311998 [2022-04-06T01:25:48.799Z] Step 10/12 : COPY . . [2022-04-06T01:25:48.799Z] ---> de3a9020d9a7 [2022-04-06T01:25:48.799Z] Step 11/12 : ARG MAKE='make build' [2022-04-06T01:25:48.799Z] ---> Running in 3d0ab2bfde30 [2022-04-06T01:25:48.799Z] Removing intermediate container 3d0ab2bfde30 [2022-04-06T01:25:48.799Z] ---> 6a63c87182c4 [2022-04-06T01:25:48.799Z] Step 12/12 : RUN $MAKE [2022-04-06T01:25:48.799Z] ---> Running in ad01807b8de8 [2022-04-06T01:25:48.799Z] noop [2022-04-06T01:25:48.799Z] Removing intermediate container ad01807b8de8 [2022-04-06T01:25:48.799Z] ---> 60101705fb70 [2022-04-06T01:25:48.799Z] Successfully built 60101705fb70 [2022-04-06T01:25:48.799Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:25:49.098Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T01:25:49.098Z] . [Pipeline] withDockerContainer [2022-04-06T01:25:49.172Z] prd-ubuntu20.04-docker-8c-8g-10815 does not seem to be running inside a container [2022-04-06T01:25:49.211Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-06T01:25:49.675Z] $ docker top 26ed4a8659a5f3eceef52439203904135dd3383daebe498a37e9007bd26d60e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T01:25:50.035Z] + go version [2022-04-06T01:25:50.035Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-06T01:25:50.055Z] $ docker stop --time=1 26ed4a8659a5f3eceef52439203904135dd3383daebe498a37e9007bd26d60e3 [2022-04-06T01:25:51.364Z] $ docker rm -f 26ed4a8659a5f3eceef52439203904135dd3383daebe498a37e9007bd26d60e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:25:51.788Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T01:25:51.788Z] . [Pipeline] withDockerContainer [2022-04-06T01:25:51.853Z] prd-ubuntu20.04-docker-8c-8g-10815 does not seem to be running inside a container [2022-04-06T01:25:51.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-04-06T01:25:52.296Z] $ docker top 8a692eaa7a02325323c0281b65e1a45a25beef4b249af898e44f790081390382 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T01:25:52.672Z] + make test [2022-04-06T01:25:52.672Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T01:25:53.241Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-06T01:26:03.397Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-06T01:26:03.397Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements [2022-04-06T01:26:03.397Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-06T01:26:09.980Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T01:26:14.195Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T01:26:14.195Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T01:26:14.195Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T01:26:14.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T01:26:14.493Z] $ docker stop --time=1 8a692eaa7a02325323c0281b65e1a45a25beef4b249af898e44f790081390382 [2022-04-06T01:26:16.401Z] $ docker rm -f 8a692eaa7a02325323c0281b65e1a45a25beef4b249af898e44f790081390382 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T01:26:16.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T01:26:16.892Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-06T01:26:17.479Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T01:26:17.767Z] + ls -al . [2022-04-06T01:26:17.767Z] total 176 [2022-04-06T01:26:17.767Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 01:26 . [2022-04-06T01:26:17.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 01:25 .. [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 01:25 .dockerignore [2022-04-06T01:26:17.767Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 01:25 .git [2022-04-06T01:26:17.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:25 .github [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 01:25 .gitignore [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 01:25 .golangci.yml [2022-04-06T01:26:17.767Z] drwx------ 3 jenkins jenkins 4096 Apr 6 01:25 .semver [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 01:25 Attribution.txt [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 01:25 CHANGELOG.md [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 01:25 Dockerfile [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 01:25 GOVERNANCE.md [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 01:25 Jenkinsfile [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 01:25 LICENSE [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 1544 Apr 6 01:25 Makefile [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 01:25 OWNERS.md [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 01:25 README.md [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 01:25 VERSION [2022-04-06T01:26:17.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 01:25 bin [2022-04-06T01:26:17.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:25 cmd [2022-04-06T01:26:17.767Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 01:26 coverage.out [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 01:25 go.mod [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 01:25 go.sum [2022-04-06T01:26:17.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:25 internal [2022-04-06T01:26:17.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 01:25 mock [2022-04-06T01:26:17.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 01:25 snap [2022-04-06T01:26:17.767Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 01:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:26:18.068Z] + 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=6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 --label arch=amd64 --label version=0.0.0 . [2022-04-06T01:26:18.069Z] Sending build context to Docker daemon 5.861MB [2022-04-06T01:26:18.069Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T01:26:18.069Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T01:26:18.069Z] ---> 60101705fb70 [2022-04-06T01:26:18.069Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T01:26:18.069Z] ---> Running in 33d7f60c296d [2022-04-06T01:26:18.329Z] Removing intermediate container 33d7f60c296d [2022-04-06T01:26:18.329Z] ---> 3cad2b95d736 [2022-04-06T01:26:18.329Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T01:26:18.329Z] ---> Running in 3ed070dac2dc [2022-04-06T01:26:18.329Z] Removing intermediate container 3ed070dac2dc [2022-04-06T01:26:18.329Z] ---> 4216816b70c5 [2022-04-06T01:26:18.329Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T01:26:18.329Z] ---> Running in 00a861c5daf0 [2022-04-06T01:26:18.900Z] Removing intermediate container 00a861c5daf0 [2022-04-06T01:26:18.900Z] ---> 4a4f062b5765 [2022-04-06T01:26:18.900Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T01:26:19.161Z] ---> Running in d6acc58a4fc4 [2022-04-06T01:26:19.422Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T01:26:19.993Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T01:26:20.563Z] OK: 224 MiB in 56 packages [2022-04-06T01:26:20.824Z] Removing intermediate container d6acc58a4fc4 [2022-04-06T01:26:20.824Z] ---> 1c1cce063e9c [2022-04-06T01:26:20.824Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-06T01:26:20.824Z] ---> Running in 440266d9f2cb [2022-04-06T01:26:20.824Z] Removing intermediate container 440266d9f2cb [2022-04-06T01:26:20.824Z] ---> a96f31af7c9c [2022-04-06T01:26:20.824Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-06T01:26:21.085Z] ---> e1acaf62e9f2 [2022-04-06T01:26:21.085Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T01:26:21.085Z] ---> Running in c855d551e02d [2022-04-06T01:26:21.655Z] Removing intermediate container c855d551e02d [2022-04-06T01:26:21.655Z] ---> aa1129c54cf3 [2022-04-06T01:26:21.655Z] Step 10/24 : COPY . . [2022-04-06T01:26:21.918Z] ---> f73feef15b91 [2022-04-06T01:26:21.918Z] Step 11/24 : ARG MAKE='make build' [2022-04-06T01:26:22.177Z] ---> Running in 47c1db7e269d [2022-04-06T01:26:22.177Z] Removing intermediate container 47c1db7e269d [2022-04-06T01:26:22.177Z] ---> a7a20d6d3322 [2022-04-06T01:26:22.177Z] Step 12/24 : RUN $MAKE [2022-04-06T01:26:22.177Z] ---> Running in f9a1d35731ba [2022-04-06T01:26:22.437Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-06T01:26:37.387Z] Removing intermediate container f9a1d35731ba [2022-04-06T01:26:37.387Z] ---> 43f4ab155cbd [2022-04-06T01:26:37.387Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T01:26:37.387Z] 3.14: Pulling from library/alpine [2022-04-06T01:26:37.387Z] 8663204ce13b: Pulling fs layer [2022-04-06T01:26:37.387Z] 8663204ce13b: Verifying Checksum [2022-04-06T01:26:37.387Z] 8663204ce13b: Download complete [2022-04-06T01:26:37.387Z] 8663204ce13b: Pull complete [2022-04-06T01:26:37.387Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T01:26:37.387Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T01:26:37.387Z] ---> e04c818066af [2022-04-06T01:26:37.387Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-06T01:26:37.387Z] ---> Running in 4ae6162430e5 [2022-04-06T01:26:37.387Z] Removing intermediate container 4ae6162430e5 [2022-04-06T01:26:37.387Z] ---> 54243ac03235 [2022-04-06T01:26:37.387Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T01:26:37.387Z] ---> Running in 7c449d5ba4c8 [2022-04-06T01:26:37.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-06T01:26:37.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-06T01:26:37.922Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T01:26:37.922Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T01:26:37.922Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T01:26:37.922Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T01:26:38.183Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T01:26:38.183Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T01:26:38.183Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T01:26:38.183Z] OK: 8 MiB in 20 packages [2022-04-06T01:26:38.444Z] Removing intermediate container 7c449d5ba4c8 [2022-04-06T01:26:38.444Z] ---> a64ce0a0b53e [2022-04-06T01:26:38.444Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-06T01:26:39.027Z] ---> 8ae8667aa546 [2022-04-06T01:26:39.027Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-06T01:26:39.316Z] ---> 52a5a71f85cb [2022-04-06T01:26:39.316Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-06T01:26:39.316Z] ---> 61eec49b8b83 [2022-04-06T01:26:39.316Z] Step 19/24 : EXPOSE 59982 [2022-04-06T01:26:39.595Z] ---> Running in ccc57250f1be [2022-04-06T01:26:39.595Z] Removing intermediate container ccc57250f1be [2022-04-06T01:26:39.595Z] ---> d28acb8ff6e4 [2022-04-06T01:26:39.595Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-06T01:26:39.595Z] ---> Running in 8856d00f5fed [2022-04-06T01:26:39.595Z] Removing intermediate container 8856d00f5fed [2022-04-06T01:26:39.595Z] ---> d83a2e61f644 [2022-04-06T01:26:39.595Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T01:26:39.869Z] ---> Running in c236f428b6c7 [2022-04-06T01:26:39.869Z] Removing intermediate container c236f428b6c7 [2022-04-06T01:26:39.869Z] ---> 31d5653c229c [2022-04-06T01:26:39.869Z] Step 22/24 : LABEL arch=amd64 [2022-04-06T01:26:39.869Z] ---> Running in 09f77b6774e3 [2022-04-06T01:26:39.869Z] Removing intermediate container 09f77b6774e3 [2022-04-06T01:26:39.869Z] ---> 9ac936d49ebe [2022-04-06T01:26:39.869Z] Step 23/24 : LABEL git_sha=6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [2022-04-06T01:26:40.133Z] ---> Running in 0b2ed5d52b56 [2022-04-06T01:26:40.133Z] Removing intermediate container 0b2ed5d52b56 [2022-04-06T01:26:40.133Z] ---> c54e9ebd1dd1 [2022-04-06T01:26:40.133Z] Step 24/24 : LABEL version=0.0.0 [2022-04-06T01:26:40.133Z] ---> Running in e19309c218a1 [2022-04-06T01:26:40.405Z] Removing intermediate container e19309c218a1 [2022-04-06T01:26:40.405Z] ---> b38d8748bbb7 [2022-04-06T01:26:40.405Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T01:26:40.405Z] Successfully built b38d8748bbb7 [2022-04-06T01:26:40.405Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 [2022-04-06T01:26:40.895Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T01:26:40.895Z] [2022-04-06T01:26:40.895Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:26:41.263Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T01:26:41.263Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T01:26:41.263Z] 5eb5b503b376: Pulling fs layer [2022-04-06T01:26:41.263Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T01:26:41.263Z] ec43610c2a17: Pulling fs layer [2022-04-06T01:26:41.263Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T01:26:41.263Z] 33b1e0a273af: Pulling fs layer [2022-04-06T01:26:41.263Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T01:26:41.263Z] 2f39f015ded8: Pulling fs layer [2022-04-06T01:26:41.263Z] 3a2ae6a8a46f: Waiting [2022-04-06T01:26:41.263Z] 33b1e0a273af: Waiting [2022-04-06T01:26:41.263Z] 5d3b04190fa2: Waiting [2022-04-06T01:26:41.263Z] 2f39f015ded8: Waiting [2022-04-06T01:26:41.263Z] 5c69ac0246d0: Verifying Checksum [2022-04-06T01:26:41.263Z] 5c69ac0246d0: Download complete [2022-04-06T01:26:41.263Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T01:26:41.263Z] 3a2ae6a8a46f: Download complete [2022-04-06T01:26:41.549Z] 33b1e0a273af: Verifying Checksum [2022-04-06T01:26:41.549Z] 33b1e0a273af: Download complete [2022-04-06T01:26:41.549Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T01:26:41.549Z] 5d3b04190fa2: Download complete [2022-04-06T01:26:41.549Z] ec43610c2a17: Verifying Checksum [2022-04-06T01:26:41.549Z] ec43610c2a17: Download complete [2022-04-06T01:26:41.549Z] 5eb5b503b376: Verifying Checksum [2022-04-06T01:26:41.549Z] 5eb5b503b376: Download complete [2022-04-06T01:26:42.525Z] 2f39f015ded8: Download complete [2022-04-06T01:26:43.113Z] 5eb5b503b376: Pull complete [2022-04-06T01:26:43.113Z] 5c69ac0246d0: Pull complete [2022-04-06T01:26:43.687Z] ec43610c2a17: Pull complete [2022-04-06T01:26:43.954Z] 3a2ae6a8a46f: Pull complete [2022-04-06T01:26:44.214Z] 33b1e0a273af: Pull complete [2022-04-06T01:26:44.214Z] 5d3b04190fa2: Pull complete [2022-04-06T01:26:49.617Z] 2f39f015ded8: Pull complete [2022-04-06T01:26:49.618Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T01:26:49.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T01:26:49.618Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T01:26:49.717Z] prd-ubuntu20.04-docker-8c-8g-10815 does not seem to be running inside a container [2022-04-06T01:26:49.775Z] $ 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/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T01:26:51.626Z] $ docker top 3252a4ee0ac81c6d4e710e89df82b7fd3894b4fb85add35ca3e4cce9dc5b508b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:26:52.060Z] ---> job-cost.sh [2022-04-06T01:26:52.060Z] lf-activate-venv: SKIPPING [2022-04-06T01:26:52.060Z] INFO: No Stack... [2022-04-06T01:26:52.322Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T01:26:52.896Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T01:26:53.187Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/cost.csv [2022-04-06T01:26:53.187Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T01:26:53.204Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-357-2-stack-cost] [2022-04-06T01:26:53.209Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-2-stack-cost] did not exist. Created. [2022-04-06T01:26:53.209Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T01:26:53.510Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T01:26:53.542Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T01:26:53.548Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T01:26:53.571Z] $ docker stop --time=1 3252a4ee0ac81c6d4e710e89df82b7fd3894b4fb85add35ca3e4cce9dc5b508b [2022-04-06T01:26:54.750Z] $ docker rm -f 3252a4ee0ac81c6d4e710e89df82b7fd3894b4fb85add35ca3e4cce9dc5b508b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T01:28:12.110Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10820 in /w/workspace/gexfoundry_device-mqtt-go_PR-357 [Pipeline] { [Pipeline] ws [2022-04-06T01:28:12.125Z] Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout [2022-04-06T01:28:12.804Z] Selected Git installation does not exist. Using Default [2022-04-06T01:28:12.804Z] The recommended git tool is: NONE [2022-04-06T01:28:21.143Z] using credential edgex-jenkins-ssh [2022-04-06T01:28:21.179Z] Cloning the remote Git repository [2022-04-06T01:28:21.279Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T01:28:21.399Z] > git init /w/workspace/device-mqtt-go/2 # timeout=10 [2022-04-06T01:28:21.535Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T01:28:21.542Z] > git --version # timeout=10 [2022-04-06T01:28:21.591Z] > git --version # 'git version 2.25.1' [2022-04-06T01:28:21.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T01:28:21.704Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T01:28:22.847Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-06T01:28:22.934Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T01:28:22.987Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-06T01:28:23.098Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-06T01:28:23.099Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T01:28:23.126Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-06T01:28:23.790Z] Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [2022-04-06T01:28:24.032Z] Merge succeeded, producing 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [2022-04-06T01:28:24.032Z] Checking out Revision 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 (PR-357) [2022-04-06T01:28:23.816Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T01:28:23.845Z] > git checkout -f 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 # timeout=10 [2022-04-06T01:28:23.938Z] > git remote # timeout=10 [2022-04-06T01:28:23.964Z] > git config --get remote.origin.url # timeout=10 [2022-04-06T01:28:23.979Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T01:28:23.992Z] > git merge 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 [2022-04-06T01:28:24.019Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-06T01:28:24.044Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T01:28:24.057Z] > git checkout -f 6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 # timeout=10 [2022-04-06T01:28:28.301Z] Commit message: "build(deps): Update device-sdk-go and other deps" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T01:28:29.570Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T01:28:29.570Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T01:28:29.570Z] Dload Upload Total Spent Left Speed [2022-04-06T01:28:29.570Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh [2022-04-06T01:28:30.097Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T01:28:30.453Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-06T01:28:30.453Z] + sudo tee /etc/docker/daemon.new [2022-04-06T01:28:30.453Z] { [2022-04-06T01:28:30.453Z] "registry-mirrors": [ [2022-04-06T01:28:30.453Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T01:28:30.453Z] ], [2022-04-06T01:28:30.453Z] "bip": "10.250.0.254/24", [2022-04-06T01:28:30.453Z] "hosts": [ [2022-04-06T01:28:30.453Z] "tcp://0.0.0.0:5555", [2022-04-06T01:28:30.453Z] "unix:///var/run/docker.sock" [2022-04-06T01:28:30.453Z] ], [2022-04-06T01:28:30.453Z] "mtu": 1458, [2022-04-06T01:28:30.453Z] "selinux-enabled": true, [2022-04-06T01:28:30.453Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T01:28:30.453Z] } [Pipeline] sh [2022-04-06T01:28:30.813Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T01:28:31.172Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T01:28:49.548Z] provisioning config files... [2022-04-06T01:28:49.577Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config9030729137870016762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:28:49.953Z] ---> docker-login.sh [2022-04-06T01:28:49.953Z] nexus3.edgexfoundry.org:10001 [2022-04-06T01:28:50.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:28:50.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:28:50.835Z] Configure a credential helper to remove this warning. See [2022-04-06T01:28:50.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:28:50.835Z] [2022-04-06T01:28:50.835Z] Login Succeeded [2022-04-06T01:28:50.835Z] nexus3.edgexfoundry.org:10002 [2022-04-06T01:28:51.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:28:51.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:28:51.540Z] Configure a credential helper to remove this warning. See [2022-04-06T01:28:51.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:28:51.540Z] [2022-04-06T01:28:51.540Z] Login Succeeded [2022-04-06T01:28:51.540Z] nexus3.edgexfoundry.org:10003 [2022-04-06T01:28:52.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:28:52.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:28:52.162Z] Configure a credential helper to remove this warning. See [2022-04-06T01:28:52.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:28:52.162Z] [2022-04-06T01:28:52.162Z] Login Succeeded [2022-04-06T01:28:52.162Z] nexus3.edgexfoundry.org:10004 [2022-04-06T01:28:52.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:28:52.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:28:52.759Z] Configure a credential helper to remove this warning. See [2022-04-06T01:28:52.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:28:52.759Z] [2022-04-06T01:28:52.759Z] Login Succeeded [2022-04-06T01:28:52.759Z] docker.io [2022-04-06T01:28:53.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T01:28:53.635Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T01:28:53.635Z] Configure a credential helper to remove this warning. See [2022-04-06T01:28:53.635Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T01:28:53.635Z] [2022-04-06T01:28:53.635Z] Login Succeeded [2022-04-06T01:28:53.635Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T01:28:53.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T01:28:54.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T01:28:54.174Z] ========================================================= [2022-04-06T01:28:54.174Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T01:28:54.174Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:28:54.585Z] + 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 . [2022-04-06T01:28:54.866Z] Sending build context to Docker daemon 3.059MB [2022-04-06T01:28:55.146Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T01:28:55.146Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T01:28:55.146Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T01:28:55.146Z] 9b3977197b4f: Pulling fs layer [2022-04-06T01:28:55.146Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T01:28:55.146Z] 94645a83ff95: Pulling fs layer [2022-04-06T01:28:55.146Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T01:28:55.146Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T01:28:55.146Z] f7c0051592d6: Pulling fs layer [2022-04-06T01:28:55.146Z] a227ed2f7395: Pulling fs layer [2022-04-06T01:28:55.146Z] 7b1c46037f91: Pulling fs layer [2022-04-06T01:28:55.146Z] f7c0051592d6: Waiting [2022-04-06T01:28:55.146Z] a227ed2f7395: Waiting [2022-04-06T01:28:55.146Z] 3f3a8bcf1eab: Waiting [2022-04-06T01:28:55.146Z] 7b1c46037f91: Waiting [2022-04-06T01:28:55.146Z] 0c92f367c5e7: Waiting [2022-04-06T01:28:55.146Z] 94645a83ff95: Verifying Checksum [2022-04-06T01:28:55.146Z] 94645a83ff95: Download complete [2022-04-06T01:28:55.146Z] 1a89e8eeedd5: Download complete [2022-04-06T01:28:55.432Z] 0c92f367c5e7: Verifying Checksum [2022-04-06T01:28:55.432Z] 0c92f367c5e7: Download complete [2022-04-06T01:28:55.432Z] f7c0051592d6: Verifying Checksum [2022-04-06T01:28:55.432Z] f7c0051592d6: Download complete [2022-04-06T01:28:55.432Z] 9b3977197b4f: Verifying Checksum [2022-04-06T01:28:55.432Z] 9b3977197b4f: Download complete [2022-04-06T01:28:55.432Z] a227ed2f7395: Verifying Checksum [2022-04-06T01:28:55.432Z] a227ed2f7395: Download complete [2022-04-06T01:28:56.041Z] 9b3977197b4f: Pull complete [2022-04-06T01:28:57.375Z] 1a89e8eeedd5: Pull complete [2022-04-06T01:28:57.687Z] 94645a83ff95: Pull complete [2022-04-06T01:28:58.309Z] 7b1c46037f91: Verifying Checksum [2022-04-06T01:28:58.309Z] 7b1c46037f91: Download complete [2022-04-06T01:28:58.912Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T01:28:58.912Z] 3f3a8bcf1eab: Download complete [2022-04-06T01:29:14.045Z] 3f3a8bcf1eab: Pull complete [2022-04-06T01:29:14.045Z] 0c92f367c5e7: Pull complete [2022-04-06T01:29:14.045Z] f7c0051592d6: Pull complete [2022-04-06T01:29:14.045Z] a227ed2f7395: Pull complete [2022-04-06T01:29:20.779Z] 7b1c46037f91: Pull complete [2022-04-06T01:29:20.779Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T01:29:20.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T01:29:20.779Z] ---> f79e39bc4007 [2022-04-06T01:29:20.779Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T01:29:20.779Z] ---> Running in a7b52f547ab5 [2022-04-06T01:29:21.063Z] Removing intermediate container a7b52f547ab5 [2022-04-06T01:29:21.063Z] ---> 33c4bc6a7ae6 [2022-04-06T01:29:21.063Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T01:29:21.345Z] ---> Running in c665bb6431a8 [2022-04-06T01:29:21.622Z] Removing intermediate container c665bb6431a8 [2022-04-06T01:29:21.622Z] ---> cd5af3c99741 [2022-04-06T01:29:21.622Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T01:29:21.622Z] ---> Running in 9acbe919a9b8 [2022-04-06T01:29:25.046Z] Removing intermediate container 9acbe919a9b8 [2022-04-06T01:29:25.046Z] ---> 45fd65bdfa09 [2022-04-06T01:29:25.046Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T01:29:25.046Z] ---> Running in 39465edeb28f [2022-04-06T01:29:27.047Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T01:29:27.656Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T01:29:28.650Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T01:29:29.145Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T01:29:29.145Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T01:29:29.421Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T01:29:29.421Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T01:29:29.421Z] OK: 224 MiB in 56 packages [2022-04-06T01:29:30.429Z] Removing intermediate container 39465edeb28f [2022-04-06T01:29:30.429Z] ---> 1972a2bdd9e6 [2022-04-06T01:29:30.429Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-06T01:29:30.429Z] ---> Running in 266b84897355 [2022-04-06T01:29:31.059Z] Removing intermediate container 266b84897355 [2022-04-06T01:29:31.059Z] ---> d39a0cad4aa2 [2022-04-06T01:29:31.059Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-06T01:29:31.345Z] ---> 357f9841b3ec [2022-04-06T01:29:31.345Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T01:29:31.622Z] ---> Running in 2ca986f8dd4c [2022-04-06T01:30:28.229Z] Removing intermediate container 2ca986f8dd4c [2022-04-06T01:30:28.229Z] ---> ceda6b83029b [2022-04-06T01:30:28.229Z] Step 10/12 : COPY . . [2022-04-06T01:30:28.229Z] ---> a1435c9609e3 [2022-04-06T01:30:28.229Z] Step 11/12 : ARG MAKE='make build' [2022-04-06T01:30:28.229Z] ---> Running in fb62cc3c598c [2022-04-06T01:30:28.229Z] Removing intermediate container fb62cc3c598c [2022-04-06T01:30:28.229Z] ---> 870f26958652 [2022-04-06T01:30:28.229Z] Step 12/12 : RUN $MAKE [2022-04-06T01:30:28.229Z] ---> Running in 127d0e112b27 [2022-04-06T01:30:28.229Z] noop [2022-04-06T01:30:28.229Z] Removing intermediate container 127d0e112b27 [2022-04-06T01:30:28.229Z] ---> 5f79becf4c06 [2022-04-06T01:30:28.229Z] Successfully built 5f79becf4c06 [2022-04-06T01:30:28.229Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:30:28.582Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T01:30:28.582Z] . [Pipeline] withDockerContainer [2022-04-06T01:30:28.862Z] prd-ubuntu20.04-docker-arm64-4c-16g-10820 does not seem to be running inside a container [2022-04-06T01:30:28.961Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T01:30:30.408Z] $ docker top af4a83943fda5fc4d8882dc193261a12e170a9d06a2a6a163519cfbb79dceee6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T01:30:31.360Z] + go version [2022-04-06T01:30:31.360Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T01:30:31.391Z] $ docker stop --time=1 af4a83943fda5fc4d8882dc193261a12e170a9d06a2a6a163519cfbb79dceee6 [2022-04-06T01:30:33.154Z] $ docker rm -f af4a83943fda5fc4d8882dc193261a12e170a9d06a2a6a163519cfbb79dceee6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:30:33.798Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T01:30:33.799Z] . [Pipeline] withDockerContainer [2022-04-06T01:30:34.074Z] prd-ubuntu20.04-docker-arm64-4c-16g-10820 does not seem to be running inside a container [2022-04-06T01:30:34.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-04-06T01:30:35.646Z] $ docker top 360946308c62e494275b10e3289888aada62dfd3ad41a5c8476527f67ad55e2f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T01:30:36.615Z] + make test [2022-04-06T01:30:36.615Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T01:30:38.619Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-06T01:32:15.563Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-06T01:32:15.563Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements [2022-04-06T01:32:15.563Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-06T01:32:15.563Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T01:32:15.563Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T01:32:42.391Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T01:32:42.391Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T01:32:42.391Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T01:32:43.856Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T01:32:43.879Z] $ docker stop --time=1 360946308c62e494275b10e3289888aada62dfd3ad41a5c8476527f67ad55e2f [2022-04-06T01:32:45.734Z] $ docker rm -f 360946308c62e494275b10e3289888aada62dfd3ad41a5c8476527f67ad55e2f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T01:32:46.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T01:32:46.831Z] Warning: overwriting stash ‘coverage-report’ [2022-04-06T01:32:47.391Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T01:32:47.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T01:32:48.116Z] + ls -al . [2022-04-06T01:32:48.116Z] total 172 [2022-04-06T01:32:48.116Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 01:32 . [2022-04-06T01:32:48.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 01:28 .. [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 01:28 .dockerignore [2022-04-06T01:32:48.116Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 01:28 .git [2022-04-06T01:32:48.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:28 .github [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 01:28 .gitignore [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 01:28 .golangci.yml [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 01:28 Attribution.txt [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 01:28 CHANGELOG.md [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 01:28 Dockerfile [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 01:28 GOVERNANCE.md [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 01:28 Jenkinsfile [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 01:28 LICENSE [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 1544 Apr 6 01:28 Makefile [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 01:28 OWNERS.md [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 01:28 README.md [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 01:25 VERSION [2022-04-06T01:32:48.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 01:28 bin [2022-04-06T01:32:48.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:28 cmd [2022-04-06T01:32:48.116Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 01:32 coverage.out [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 01:28 go.mod [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 01:28 go.sum [2022-04-06T01:32:48.116Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:28 internal [2022-04-06T01:32:48.116Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 01:28 mock [2022-04-06T01:32:48.116Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 01:28 snap [2022-04-06T01:32:48.116Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 01:28 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:32:48.467Z] + 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=6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 --label arch=arm64 --label version=0.0.0 . [2022-04-06T01:32:48.742Z] Sending build context to Docker daemon 3.077MB [2022-04-06T01:32:49.017Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T01:32:49.017Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-06T01:32:49.017Z] ---> 5f79becf4c06 [2022-04-06T01:32:49.017Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T01:32:49.017Z] ---> Running in 8a31a813c981 [2022-04-06T01:32:49.302Z] Removing intermediate container 8a31a813c981 [2022-04-06T01:32:49.302Z] ---> 5f7f17f1f67e [2022-04-06T01:32:49.302Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T01:32:49.302Z] ---> Running in 93de47407ad7 [2022-04-06T01:32:49.908Z] Removing intermediate container 93de47407ad7 [2022-04-06T01:32:49.908Z] ---> 7fc7a3599045 [2022-04-06T01:32:49.908Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T01:32:49.908Z] ---> Running in a1ccfd02d3e8 [2022-04-06T01:32:51.892Z] Removing intermediate container a1ccfd02d3e8 [2022-04-06T01:32:51.892Z] ---> 61fb3e4394ae [2022-04-06T01:32:51.892Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T01:32:51.892Z] ---> Running in 880b43b3fb32 [2022-04-06T01:32:52.874Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T01:32:53.472Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T01:32:54.913Z] OK: 224 MiB in 56 packages [2022-04-06T01:32:55.517Z] Removing intermediate container 880b43b3fb32 [2022-04-06T01:32:55.517Z] ---> d1ff52023c02 [2022-04-06T01:32:55.517Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-06T01:32:55.517Z] ---> Running in bd4d9c2baf66 [2022-04-06T01:32:56.125Z] Removing intermediate container bd4d9c2baf66 [2022-04-06T01:32:56.125Z] ---> 447a4bbaf892 [2022-04-06T01:32:56.125Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-06T01:32:56.402Z] ---> db51ce21b2e2 [2022-04-06T01:32:56.402Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T01:32:56.681Z] ---> Running in aceba7446d2a [2022-04-06T01:32:58.666Z] Removing intermediate container aceba7446d2a [2022-04-06T01:32:58.666Z] ---> 7aa1ff3b34ac [2022-04-06T01:32:58.666Z] Step 10/24 : COPY . . [2022-04-06T01:32:59.654Z] ---> a1c65056b974 [2022-04-06T01:32:59.654Z] Step 11/24 : ARG MAKE='make build' [2022-04-06T01:32:59.654Z] ---> Running in d866860162fc [2022-04-06T01:32:59.928Z] Removing intermediate container d866860162fc [2022-04-06T01:32:59.928Z] ---> 1b015ce7f6c6 [2022-04-06T01:32:59.928Z] Step 12/24 : RUN $MAKE [2022-04-06T01:33:00.204Z] ---> Running in 0607f6db7f1e [2022-04-06T01:33:01.186Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-06T01:34:23.047Z] Removing intermediate container 0607f6db7f1e [2022-04-06T01:34:23.047Z] ---> 36b01a6ac986 [2022-04-06T01:34:23.047Z] Step 13/24 : FROM alpine:3.14 [2022-04-06T01:34:23.319Z] 3.14: Pulling from library/alpine [2022-04-06T01:34:23.319Z] 455c02918c45: Pulling fs layer [2022-04-06T01:34:23.593Z] 455c02918c45: Verifying Checksum [2022-04-06T01:34:23.593Z] 455c02918c45: Download complete [2022-04-06T01:34:24.198Z] 455c02918c45: Pull complete [2022-04-06T01:34:24.198Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T01:34:24.198Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T01:34:24.198Z] ---> ac73e934f311 [2022-04-06T01:34:24.198Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-06T01:34:24.474Z] ---> Running in dfc998842ebb [2022-04-06T01:34:24.749Z] Removing intermediate container dfc998842ebb [2022-04-06T01:34:24.749Z] ---> e41a07e80350 [2022-04-06T01:34:24.749Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T01:34:24.749Z] ---> Running in d769b4c4504a [2022-04-06T01:34:26.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-06T01:34:26.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-06T01:34:27.170Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T01:34:27.170Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T01:34:27.170Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T01:34:27.170Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T01:34:27.170Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T01:34:27.170Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T01:34:27.170Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T01:34:27.170Z] OK: 8 MiB in 20 packages [2022-04-06T01:34:28.165Z] Removing intermediate container d769b4c4504a [2022-04-06T01:34:28.165Z] ---> c2e335479d8f [2022-04-06T01:34:28.165Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-06T01:34:29.598Z] ---> ab18367e646f [2022-04-06T01:34:29.598Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-06T01:34:30.194Z] ---> ca719cb18c60 [2022-04-06T01:34:30.194Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-06T01:34:30.791Z] ---> 80a543162fe0 [2022-04-06T01:34:30.791Z] Step 19/24 : EXPOSE 59982 [2022-04-06T01:34:30.791Z] ---> Running in 354e7568102a [2022-04-06T01:34:31.071Z] Removing intermediate container 354e7568102a [2022-04-06T01:34:31.071Z] ---> a2a739bbd79b [2022-04-06T01:34:31.071Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-06T01:34:31.071Z] ---> Running in 3ff41909c0a7 [2022-04-06T01:34:31.350Z] Removing intermediate container 3ff41909c0a7 [2022-04-06T01:34:31.350Z] ---> c0773f446877 [2022-04-06T01:34:31.350Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-06T01:34:31.631Z] ---> Running in c10c150e661c [2022-04-06T01:34:31.905Z] Removing intermediate container c10c150e661c [2022-04-06T01:34:31.905Z] ---> 302114eb03b8 [2022-04-06T01:34:31.905Z] Step 22/24 : LABEL arch=arm64 [2022-04-06T01:34:31.905Z] ---> Running in 26ed47cb3f28 [2022-04-06T01:34:32.184Z] Removing intermediate container 26ed47cb3f28 [2022-04-06T01:34:32.184Z] ---> dd0d0d6b810e [2022-04-06T01:34:32.184Z] Step 23/24 : LABEL git_sha=6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [2022-04-06T01:34:32.459Z] ---> Running in 5fe17187dc18 [2022-04-06T01:34:32.733Z] Removing intermediate container 5fe17187dc18 [2022-04-06T01:34:32.733Z] ---> 6d23f354c5cd [2022-04-06T01:34:32.733Z] Step 24/24 : LABEL version=0.0.0 [2022-04-06T01:34:32.733Z] ---> Running in 9d49c527f6ce [2022-04-06T01:34:33.005Z] Removing intermediate container 9d49c527f6ce [2022-04-06T01:34:33.005Z] ---> 80a87bab5fc9 [2022-04-06T01:34:33.005Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T01:34:33.005Z] Successfully built 80a87bab5fc9 [2022-04-06T01:34:33.279Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:34:33.733Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T01:34:33.733Z] [2022-04-06T01:34:33.733Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:34:34.086Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T01:34:34.360Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T01:34:34.360Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T01:34:34.360Z] 04944245beec: Pulling fs layer [2022-04-06T01:34:34.360Z] 699f458cf7ca: Pulling fs layer [2022-04-06T01:34:34.360Z] 765212b225bb: Pulling fs layer [2022-04-06T01:34:34.360Z] f23df028b6ca: Pulling fs layer [2022-04-06T01:34:34.360Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T01:34:34.360Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T01:34:34.360Z] 765212b225bb: Waiting [2022-04-06T01:34:34.360Z] f23df028b6ca: Waiting [2022-04-06T01:34:34.360Z] d65c8cfc05b1: Waiting [2022-04-06T01:34:34.360Z] 2437ff75d9bd: Waiting [2022-04-06T01:34:34.360Z] 04944245beec: Verifying Checksum [2022-04-06T01:34:34.360Z] 04944245beec: Download complete [2022-04-06T01:34:34.360Z] 765212b225bb: Verifying Checksum [2022-04-06T01:34:34.360Z] 765212b225bb: Download complete [2022-04-06T01:34:34.360Z] f23df028b6ca: Verifying Checksum [2022-04-06T01:34:34.360Z] f23df028b6ca: Download complete [2022-04-06T01:34:34.360Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T01:34:34.360Z] d65c8cfc05b1: Download complete [2022-04-06T01:34:34.645Z] 699f458cf7ca: Verifying Checksum [2022-04-06T01:34:34.645Z] 699f458cf7ca: Download complete [2022-04-06T01:34:34.928Z] 8998bd30e6a1: Download complete [2022-04-06T01:34:37.554Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T01:34:37.554Z] 2437ff75d9bd: Download complete [2022-04-06T01:34:39.541Z] 8998bd30e6a1: Pull complete [2022-04-06T01:34:39.814Z] 04944245beec: Pull complete [2022-04-06T01:34:41.250Z] 699f458cf7ca: Pull complete [2022-04-06T01:34:41.527Z] 765212b225bb: Pull complete [2022-04-06T01:34:42.516Z] f23df028b6ca: Pull complete [2022-04-06T01:34:42.516Z] d65c8cfc05b1: Pull complete [2022-04-06T01:34:57.617Z] 2437ff75d9bd: Pull complete [2022-04-06T01:34:57.617Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T01:34:57.617Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T01:34:57.617Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T01:34:57.844Z] prd-ubuntu20.04-docker-arm64-4c-16g-10820 does not seem to be running inside a container [2022-04-06T01:34:57.942Z] $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-04-06T01:35:00.495Z] $ docker top 517b1c80038dbdb9843ba3b617a282f7e84d25c7c85ca95528cf40ca51e4d23e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:35:01.406Z] ---> job-cost.sh [2022-04-06T01:35:01.406Z] lf-activate-venv: SKIPPING [2022-04-06T01:35:01.406Z] INFO: No Stack... [2022-04-06T01:35:02.000Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T01:35:02.595Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T01:35:03.267Z] + + catcut /w/workspace/device-mqtt-go/2/archives/cost.csv -d, [2022-04-06T01:35:03.267Z] -f6 [Pipeline] lock [2022-04-06T01:35:03.336Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-357-2-stack-cost] [2022-04-06T01:35:03.342Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-2-stack-cost] did not exist. Created. [2022-04-06T01:35:03.343Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-357-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T01:35:04.033Z] /w/workspace/device-mqtt-go/2@tmp/durable-4be0ad07/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T01:35:04.717Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T01:35:04.748Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T01:35:04.800Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T01:35:04.809Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T01:35:04.838Z] $ docker stop --time=1 517b1c80038dbdb9843ba3b617a282f7e84d25c7c85ca95528cf40ca51e4d23e [2022-04-06T01:35:06.347Z] $ docker rm -f 517b1c80038dbdb9843ba3b617a282f7e84d25c7c85ca95528cf40ca51e4d23e [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 [2022-04-06T01:35:06.778Z] provisioning config files... [2022-04-06T01:35:06.789Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config803550443252392186tmp [Pipeline] { [Pipeline] sh [2022-04-06T01:35:07.111Z] + set +x [2022-04-06T01:35:07.112Z] + curl -s https://codecov.io/bash [2022-04-06T01:35:07.112Z] + bash -s -- [2022-04-06T01:35:07.112Z] [2022-04-06T01:35:07.112Z] _____ _ [2022-04-06T01:35:07.112Z] / ____| | | [2022-04-06T01:35:07.112Z] | | ___ __| | ___ ___ _____ __ [2022-04-06T01:35:07.112Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-06T01:35:07.112Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-06T01:35:07.112Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-06T01:35:07.112Z] Bash-1.0.6 [2022-04-06T01:35:07.112Z] [2022-04-06T01:35:07.112Z] [2022-04-06T01:35:07.112Z] ==> git version 2.25.1 found [2022-04-06T01:35:07.112Z] ==> 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 [2022-04-06T01:35:07.112Z] Release-Date: 2020-01-08 [2022-04-06T01:35:07.112Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-04-06T01:35:07.112Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-06T01:35:07.112Z] ==> Jenkins CI detected. [2022-04-06T01:35:07.112Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-357 [2022-04-06T01:35:07.112Z] project root: . [2022-04-06T01:35:07.112Z] --> token set from env [2022-04-06T01:35:07.112Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-06T01:35:07.112Z] ==> Running gcov in . (disable via -X gcov) [2022-04-06T01:35:07.112Z] ==> Python coveragepy not found [2022-04-06T01:35:07.112Z] ==> Searching for coverage reports in: [2022-04-06T01:35:07.112Z] + . [2022-04-06T01:35:07.112Z] -> Found 1 reports [2022-04-06T01:35:07.112Z] ==> Detecting git/mercurial file structure [2022-04-06T01:35:07.112Z] ==> Reading reports [2022-04-06T01:35:07.112Z] + ./coverage.out bytes=17887 [2022-04-06T01:35:07.112Z] ==> Appending adjustments [2022-04-06T01:35:07.112Z] https://docs.codecov.io/docs/fixing-reports [2022-04-06T01:35:07.375Z] + Found adjustments [2022-04-06T01:35:07.375Z] ==> Gzipping contents [2022-04-06T01:35:07.375Z] 4.0K /tmp/codecov.kPu7zR.gz [2022-04-06T01:35:07.375Z] ==> Uploading reports [2022-04-06T01:35:07.375Z] url: https://codecov.io [2022-04-06T01:35:07.375Z] query: branch=PR-357&commit=6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-357%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2022-04-06T01:35:07.375Z] -> Pinging Codecov [2022-04-06T01:35:07.375Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-357&commit=6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-357%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=357&job=&cmd_args= [2022-04-06T01:35:07.639Z] -> Uploading to [2022-04-06T01:35:07.639Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-06/7D719EC7BBE17E464838252E33014C33/6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138/5f2ec18d-0e06-47b9-ad3c-e6447323ef8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T013507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=222c281faa5d5986ff3fe24b2bfbdf7f21eceac455ee40dc8659684a608126d8 [2022-04-06T01:35:07.639Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T01:35:07.639Z] Dload Upload Total Spent Left Speed [2022-04-06T01:35:07.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 12074 --:--:-- --:--:-- --:--:-- 12074 [2022-04-06T01:35:07.900Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/6b5f421547e4c2cbf1dbdb54d632a6ae8c6bf138 [Pipeline] } [2022-04-06T01:35:07.908Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 [2022-04-06T01:35:08.648Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives ] [2022-04-06T01:35:08.648Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives [2022-04-06T01:35:08.648Z] total 16 [2022-04-06T01:35:08.648Z] drwxr-xr-x 3 root root 4096 Apr 6 01:26 . [2022-04-06T01:35:08.648Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 01:26 .. [2022-04-06T01:35:08.648Z] drwxr-xr-x 2 root root 4096 Apr 6 01:26 cost [2022-04-06T01:35:08.648Z] -rw-r--r-- 1 root root 85 Apr 6 01:26 cost.csv [2022-04-06T01:35:08.648Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives [2022-04-06T01:35:08.648Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives [2022-04-06T01:35:08.648Z] total 16 [2022-04-06T01:35:08.648Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 01:26 . [2022-04-06T01:35:08.648Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 01:26 .. [2022-04-06T01:35:08.648Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 01:26 cost [2022-04-06T01:35:08.648Z] -rw-r--r-- 1 jenkins jenkins 85 Apr 6 01:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:35:08.953Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:35:09.831Z] ---> package-listing.sh [2022-04-06T01:35:09.831Z] ++ facter osfamily [2022-04-06T01:35:09.831Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T01:35:10.094Z] + OS_FAMILY=debian [2022-04-06T01:35:10.094Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-357 [2022-04-06T01:35:10.094Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T01:35:10.094Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T01:35:10.094Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T01:35:10.094Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T01:35:10.094Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-357 ']' [2022-04-06T01:35:10.094Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T01:35:10.094Z] + case "${OS_FAMILY}" in [2022-04-06T01:35:10.094Z] + dpkg -l [2022-04-06T01:35:10.094Z] + grep '^ii' [2022-04-06T01:35:10.094Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T01:35:10.094Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T01:35:10.094Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T01:35:10.094Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-357 ']' [2022-04-06T01:35:10.094Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/ [2022-04-06T01:35:10.094Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/ [Pipeline] echo [2022-04-06T01:35:10.107Z] 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/gexfoundry_device-mqtt-go_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-06T01:35:10.448Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T01:35:10.800Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T01:35:10.800Z] . [Pipeline] withDockerContainer [2022-04-06T01:35:10.871Z] prd-ubuntu20.04-docker-8c-8g-10815 does not seem to be running inside a container [2022-04-06T01:35:10.930Z] $ 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/gexfoundry_device-mqtt-go_PR-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-06T01:35:11.178Z] $ docker top f033c5bdb5faa5e46e394b7892eb783cefde6d689dc74de91da47ac5fa696d33 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T01:35:11.555Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T01:35:11.855Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T01:35:12.162Z] + ls /var/log/sa-host [2022-04-06T01:35:12.163Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T01:35:12.248Z] provisioning config files... [2022-04-06T01:35:12.257Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config6347900669083329704tmp [Pipeline] { [Pipeline] echo [2022-04-06T01:35:12.271Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:35:12.558Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T01:35:12.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:35:12.897Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T01:35:12.910Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:35:13.208Z] ---> sudo-logs.sh [2022-04-06T01:35:13.208Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T01:35:13.239Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:35:13.529Z] ---> job-cost.sh [2022-04-06T01:35:13.529Z] lf-activate-venv: SKIPPING [2022-04-06T01:35:13.529Z] DEBUG: total: 0.2199999988079071 [2022-04-06T01:35:13.529Z] INFO: Retrieving Stack Cost... [2022-04-06T01:35:13.793Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T01:35:14.377Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T01:35:14.392Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T01:35:14.680Z] ---> logs-deploy.sh [2022-04-06T01:35:14.680Z] lf-activate-venv: SKIPPING [2022-04-06T01:35:14.680Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-357/2 [2022-04-06T01:35:14.680Z] INFO: archiving workspace using pattern(s): [2022-04-06T01:35:15.624Z] Archives upload complete. [2022-04-06T01:35:15.886Z] INFO: archiving logs to Nexus