Branch indexing 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 siggiskulason for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from fd9a27eb9feca985b531b7e41b017e7d5070406d+4d191eb3dac98c01714bec6e3dd8edd5055992ab (6e89df6158b64483e3a3b20609dc434de6669a43) 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-ssh14474649205773343847.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-ssh12662367706537702394.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-341/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-341/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12736371113464342593.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-ssh11009450068517935394.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-341/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-341/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16518903926215260543.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19453 in /w/workspace/gexfoundry_device-mqtt-go_PR-341 [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-341 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit fd9a27eb9feca985b531b7e41b017e7d5070406d Merge succeeded, producing 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c Checking out Revision 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c (PR-341) > 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/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fd9a27eb9feca985b531b7e41b017e7d5070406d # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c # timeout=10 Commit message: "Merge commit '4d191eb3dac98c01714bec6e3dd8edd5055992ab' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 50a080a4fed696b372d69fd9a55d92737e59f87b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-11T03:20:04.153Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-11T03:20:04.239Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-11T03:20:04.262Z] ========================================================= [2022-04-11T03:20:04.262Z] EdgeX Global Pipelines Version Info [2022-04-11T03:20:04.262Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:20:05.034Z] ------------------- [2022-04-11T03:20:05.034Z] stable info: [2022-04-11T03:20:05.034Z] ------------------- [2022-04-11T03:20:05.034Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-11T03:20:05.034Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T03:20:05.034Z] Message: update stable to v1.0.221 [2022-04-11T03:20:05.609Z] ------------------- [2022-04-11T03:20:05.609Z] experimental info: [2022-04-11T03:20:05.609Z] ------------------- [2022-04-11T03:20:05.609Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-11T03:20:05.609Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-11T03:20:05.609Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-11T03:20:05.787Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-11T03:20:05.807Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-11T03:20:05.825Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-11T03:20:05.838Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-11T03:20:05.859Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-11T03:20:05.878Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-11T03:20:05.897Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-11T03:20:05.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-11T03:20:05.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-11T03:20:05.962Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-11T03:20:05.983Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-11T03:20:06.003Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-11T03:20:06.021Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-11T03:20:06.040Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-11T03:20:06.065Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T03:20:06.082Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-11T03:20:06.103Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T03:20:06.126Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-11T03:20:06.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-11T03:20:06.158Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-11T03:20:06.178Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-11T03:20:06.194Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-11T03:20:06.212Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-11T03:20:06.228Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-11T03:20:06.244Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-11T03:20:06.264Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-11T03:20:06.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo [2022-04-11T03:20:06.309Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo [2022-04-11T03:20:06.332Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo [2022-04-11T03:20:06.348Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c [Pipeline] echo [2022-04-11T03:20:06.376Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45e62ef [Pipeline] echo [2022-04-11T03:20:06.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T03:20:06.468Z] provisioning config files... [2022-04-11T03:20:06.489Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config8609025844057715884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:20:06.824Z] ---> docker-login.sh [2022-04-11T03:20:06.824Z] nexus3.edgexfoundry.org:10001 [2022-04-11T03:20:07.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:07.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:07.087Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:07.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:07.087Z] [2022-04-11T03:20:07.087Z] Login Succeeded [2022-04-11T03:20:07.087Z] nexus3.edgexfoundry.org:10002 [2022-04-11T03:20:07.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:07.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:07.351Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:07.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:07.351Z] [2022-04-11T03:20:07.351Z] Login Succeeded [2022-04-11T03:20:07.351Z] nexus3.edgexfoundry.org:10003 [2022-04-11T03:20:07.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:07.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:07.351Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:07.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:07.351Z] [2022-04-11T03:20:07.351Z] Login Succeeded [2022-04-11T03:20:07.614Z] nexus3.edgexfoundry.org:10004 [2022-04-11T03:20:07.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:07.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:07.614Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:07.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:07.614Z] [2022-04-11T03:20:07.614Z] Login Succeeded [2022-04-11T03:20:07.614Z] docker.io [2022-04-11T03:20:07.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:08.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:08.187Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:08.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:08.187Z] [2022-04-11T03:20:08.187Z] Login Succeeded [2022-04-11T03:20:08.187Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T03:20:08.196Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-11T03:20:08.615Z] + git rev-list -1 --merges 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c~1..45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c [Pipeline] echo [2022-04-11T03:20:08.646Z] -----------> git rev-list -1 --merges 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c~1..45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c [2022-04-11T03:20:08.646Z] 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c [false] [Pipeline] sh [2022-04-11T03:20:08.945Z] + git log --format=format:%s -1 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c [Pipeline] echo [2022-04-11T03:20:08.962Z] ========================================================= [2022-04-11T03:20:08.963Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-11T03:20:08.963Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T03:20:09.351Z] + git log --format=format:%s -1 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c [Pipeline] echo [2022-04-11T03:20:09.366Z] [semverPrep] GIT_COMMIT: 45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c, Commit Message: Merge commit '4d191eb3dac98c01714bec6e3dd8edd5055992ab' into HEAD [Pipeline] echo [2022-04-11T03:20:09.377Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-11T03:20:09.852Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-11T03:20:09.852Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-11T03:20:09.852Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-11T03:20:09.852Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-11T03:20:09.852Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-11T03:20:09.852Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-11T03:20:09.852Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:20:10.338Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T03:20:10.338Z] [2022-04-11T03:20:10.338Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:20:10.663Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T03:20:10.663Z] latest: Pulling from edgex-devops/git-semver [2022-04-11T03:20:10.663Z] a0d0a0d46f8b: Pulling fs layer [2022-04-11T03:20:10.663Z] 3e5f54012d9b: Pulling fs layer [2022-04-11T03:20:10.663Z] 4c7163046ea9: Pulling fs layer [2022-04-11T03:20:10.663Z] 0c2d73faf560: Pulling fs layer [2022-04-11T03:20:10.663Z] 0c2d73faf560: Waiting [2022-04-11T03:20:10.663Z] 3e5f54012d9b: Verifying Checksum [2022-04-11T03:20:10.663Z] 3e5f54012d9b: Download complete [2022-04-11T03:20:10.663Z] a0d0a0d46f8b: Download complete [2022-04-11T03:20:10.926Z] 0c2d73faf560: Verifying Checksum [2022-04-11T03:20:10.926Z] 0c2d73faf560: Download complete [2022-04-11T03:20:10.926Z] 4c7163046ea9: Verifying Checksum [2022-04-11T03:20:10.926Z] 4c7163046ea9: Download complete [2022-04-11T03:20:10.926Z] a0d0a0d46f8b: Pull complete [2022-04-11T03:20:10.926Z] 3e5f54012d9b: Pull complete [2022-04-11T03:20:11.498Z] 4c7163046ea9: Pull complete [2022-04-11T03:20:11.498Z] 0c2d73faf560: Pull complete [2022-04-11T03:20:11.498Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-11T03:20:11.498Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-11T03:20:11.498Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-11T03:20:11.657Z] prd-ubuntu20.04-docker-8c-8g-19453 does not seem to be running inside a container [2022-04-11T03:20:11.724Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-11T03:20:12.500Z] $ docker top 9e14b06b616e51aea0114334fe28d3bd14be79a3ff87a77285b1574eca4f0b81 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-11T03:20:12.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T03:20:12.606Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T03:20:12.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T03:20:12.752Z] $ docker exec 9e14b06b616e51aea0114334fe28d3bd14be79a3ff87a77285b1574eca4f0b81 ssh-agent [2022-04-11T03:20:12.886Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXloNFhi/agent.14 [2022-04-11T03:20:12.886Z] SSH_AGENT_PID=21 [2022-04-11T03:20:12.896Z] Running ssh-add (command line suppressed) [2022-04-11T03:20:13.046Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_3423549667997401693.key (/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_3423549667997401693.key) [2022-04-11T03:20:13.059Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T03:20:13.361Z] + git tag --points-at HEAD [Pipeline] } [2022-04-11T03:20:13.389Z] $ docker exec --env ******** --env ******** 9e14b06b616e51aea0114334fe28d3bd14be79a3ff87a77285b1574eca4f0b81 ssh-agent -k [2022-04-11T03:20:13.505Z] unset SSH_AUTH_SOCK; [2022-04-11T03:20:13.506Z] unset SSH_AGENT_PID; [2022-04-11T03:20:13.506Z] echo Agent pid 21 killed; [2022-04-11T03:20:13.513Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-11T03:20:13.537Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-11T03:20:13.538Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-11T03:20:13.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-11T03:20:13.679Z] $ docker exec 9e14b06b616e51aea0114334fe28d3bd14be79a3ff87a77285b1574eca4f0b81 ssh-agent [2022-04-11T03:20:13.800Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlCcEhK/agent.54 [2022-04-11T03:20:13.800Z] SSH_AGENT_PID=61 [2022-04-11T03:20:13.806Z] Running ssh-add (command line suppressed) [2022-04-11T03:20:13.936Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_8632826759781383906.key (/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_8632826759781383906.key) [2022-04-11T03:20:13.948Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-11T03:20:14.239Z] + git semver init [2022-04-11T03:20:14.239Z] # -> Open(): unable to determine branch for HEAD [2022-04-11T03:20:14.239Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-341/.git [2022-04-11T03:20:14.239Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-341 [2022-04-11T03:20:14.239Z] # $SEMVER_REMOTE_NAME = origin [2022-04-11T03:20:14.239Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-11T03:20:14.239Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-11T03:20:14.239Z] # $SEMVER_BRANCH = PR-341 [2022-04-11T03:20:14.239Z] # $SEMVER_TEMP = /tmp/semver-915937379 [2022-04-11T03:20:14.239Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-11T03:20:15.181Z] # '/tmp/semver-915937379' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-341/.semver' [2022-04-11T03:20:15.181Z] # -> Force: false [2022-04-11T03:20:15.181Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-341/.semver [Pipeline] } [2022-04-11T03:20:15.199Z] $ docker exec --env ******** --env ******** 9e14b06b616e51aea0114334fe28d3bd14be79a3ff87a77285b1574eca4f0b81 ssh-agent -k [2022-04-11T03:20:15.317Z] unset SSH_AUTH_SOCK; [2022-04-11T03:20:15.318Z] unset SSH_AGENT_PID; [2022-04-11T03:20:15.318Z] echo Agent pid 61 killed; [2022-04-11T03:20:15.327Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-11T03:20:15.638Z] + git semver [Pipeline] } [2022-04-11T03:20:15.661Z] $ docker stop --time=1 9e14b06b616e51aea0114334fe28d3bd14be79a3ff87a77285b1574eca4f0b81 [2022-04-11T03:20:17.035Z] $ docker rm -f 9e14b06b616e51aea0114334fe28d3bd14be79a3ff87a77285b1574eca4f0b81 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T03:20:17.392Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-11T03:20:17.666Z] Stashed 1 file(s) [Pipeline] echo [2022-04-11T03:20:17.669Z] [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-11T03:20:17.819Z] provisioning config files... [2022-04-11T03:20:17.831Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config5256965166564779997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:20:18.138Z] ---> docker-login.sh [2022-04-11T03:20:18.138Z] nexus3.edgexfoundry.org:10001 [2022-04-11T03:20:18.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:18.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:18.138Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:18.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:18.138Z] [2022-04-11T03:20:18.138Z] Login Succeeded [2022-04-11T03:20:18.138Z] nexus3.edgexfoundry.org:10002 [2022-04-11T03:20:18.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:18.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:18.397Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:18.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:18.397Z] [2022-04-11T03:20:18.397Z] Login Succeeded [2022-04-11T03:20:18.397Z] nexus3.edgexfoundry.org:10003 [2022-04-11T03:20:18.397Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:18.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:18.397Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:18.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:18.397Z] [2022-04-11T03:20:18.397Z] Login Succeeded [2022-04-11T03:20:18.397Z] nexus3.edgexfoundry.org:10004 [2022-04-11T03:20:18.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:18.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:18.658Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:18.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:18.658Z] [2022-04-11T03:20:18.658Z] Login Succeeded [2022-04-11T03:20:18.658Z] docker.io [2022-04-11T03:20:18.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:20:18.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:20:18.918Z] Configure a credential helper to remove this warning. See [2022-04-11T03:20:18.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:20:18.918Z] [2022-04-11T03:20:18.918Z] Login Succeeded [2022-04-11T03:20:18.918Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T03:20:18.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T03:20:18.996Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T03:20:19.008Z] ========================================================= [2022-04-11T03:20:19.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-11T03:20:19.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:20:19.320Z] + 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-11T03:20:19.320Z] Sending build context to Docker daemon 5.925MB [2022-04-11T03:20:19.320Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T03:20:19.320Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T03:20:19.320Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-11T03:20:19.320Z] 59bf1c3509f3: Pulling fs layer [2022-04-11T03:20:19.320Z] 666ba61612fd: Pulling fs layer [2022-04-11T03:20:19.320Z] 8ed8ca486205: Pulling fs layer [2022-04-11T03:20:19.320Z] 4fe6c5a15a65: Pulling fs layer [2022-04-11T03:20:19.320Z] 22a0e8bec74d: Pulling fs layer [2022-04-11T03:20:19.320Z] 640e595b4fbd: Pulling fs layer [2022-04-11T03:20:19.320Z] 763cafe07f6e: Pulling fs layer [2022-04-11T03:20:19.320Z] 0c0b528cf693: Pulling fs layer [2022-04-11T03:20:19.320Z] 10935f4eaf8b: Pulling fs layer [2022-04-11T03:20:19.320Z] 763cafe07f6e: Waiting [2022-04-11T03:20:19.320Z] 0c0b528cf693: Waiting [2022-04-11T03:20:19.320Z] 4fe6c5a15a65: Waiting [2022-04-11T03:20:19.320Z] 10935f4eaf8b: Waiting [2022-04-11T03:20:19.320Z] 22a0e8bec74d: Waiting [2022-04-11T03:20:19.320Z] 640e595b4fbd: Waiting [2022-04-11T03:20:19.320Z] 8ed8ca486205: Verifying Checksum [2022-04-11T03:20:19.320Z] 8ed8ca486205: Download complete [2022-04-11T03:20:19.580Z] 666ba61612fd: Verifying Checksum [2022-04-11T03:20:19.580Z] 666ba61612fd: Download complete [2022-04-11T03:20:19.580Z] 22a0e8bec74d: Download complete [2022-04-11T03:20:19.580Z] 640e595b4fbd: Download complete [2022-04-11T03:20:19.580Z] 59bf1c3509f3: Verifying Checksum [2022-04-11T03:20:19.580Z] 59bf1c3509f3: Download complete [2022-04-11T03:20:19.580Z] 763cafe07f6e: Verifying Checksum [2022-04-11T03:20:19.580Z] 763cafe07f6e: Download complete [2022-04-11T03:20:19.580Z] 0c0b528cf693: Verifying Checksum [2022-04-11T03:20:19.580Z] 0c0b528cf693: Download complete [2022-04-11T03:20:19.580Z] 59bf1c3509f3: Pull complete [2022-04-11T03:20:19.839Z] 666ba61612fd: Pull complete [2022-04-11T03:20:19.839Z] 8ed8ca486205: Pull complete [2022-04-11T03:20:20.099Z] 4fe6c5a15a65: Verifying Checksum [2022-04-11T03:20:20.099Z] 4fe6c5a15a65: Download complete [2022-04-11T03:20:20.359Z] 10935f4eaf8b: Verifying Checksum [2022-04-11T03:20:20.359Z] 10935f4eaf8b: Download complete [2022-04-11T03:20:24.556Z] 4fe6c5a15a65: Pull complete [2022-04-11T03:20:24.556Z] 22a0e8bec74d: Pull complete [2022-04-11T03:20:24.556Z] 640e595b4fbd: Pull complete [2022-04-11T03:20:24.556Z] 763cafe07f6e: Pull complete [2022-04-11T03:20:24.556Z] 0c0b528cf693: Pull complete [2022-04-11T03:20:26.463Z] 10935f4eaf8b: Pull complete [2022-04-11T03:20:26.725Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-11T03:20:26.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-11T03:20:26.725Z] ---> 99d49a6021b9 [2022-04-11T03:20:26.725Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T03:20:28.111Z] ---> Running in f44b3f921160 [2022-04-11T03:20:28.111Z] Removing intermediate container f44b3f921160 [2022-04-11T03:20:28.111Z] ---> cc5c91f24ec4 [2022-04-11T03:20:28.111Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T03:20:28.111Z] ---> Running in b64796dfd626 [2022-04-11T03:20:28.111Z] Removing intermediate container b64796dfd626 [2022-04-11T03:20:28.111Z] ---> 8749c6bf2e80 [2022-04-11T03:20:28.111Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T03:20:28.111Z] ---> Running in 905e22958f26 [2022-04-11T03:20:28.685Z] Removing intermediate container 905e22958f26 [2022-04-11T03:20:28.685Z] ---> 602e22881bd0 [2022-04-11T03:20:28.685Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T03:20:28.685Z] ---> Running in ef30ce96da69 [2022-04-11T03:20:29.259Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T03:20:30.207Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T03:20:30.469Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T03:20:30.469Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T03:20:30.469Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T03:20:30.732Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T03:20:30.732Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T03:20:30.732Z] OK: 224 MiB in 56 packages [2022-04-11T03:20:31.305Z] Removing intermediate container ef30ce96da69 [2022-04-11T03:20:31.305Z] ---> d5fbca53b3bb [2022-04-11T03:20:31.305Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-11T03:20:31.305Z] ---> Running in eb7d1f3fdf44 [2022-04-11T03:20:31.305Z] Removing intermediate container eb7d1f3fdf44 [2022-04-11T03:20:31.305Z] ---> 7804293ba0a3 [2022-04-11T03:20:31.305Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-11T03:20:31.566Z] ---> caa6f9609629 [2022-04-11T03:20:31.566Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T03:20:31.566Z] ---> Running in 12f6e64d54bc [2022-04-11T03:20:32.781Z] Still waiting to schedule task [2022-04-11T03:20:32.782Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19452’ [2022-04-11T03:20:46.476Z] Removing intermediate container 12f6e64d54bc [2022-04-11T03:20:46.476Z] ---> 97da94ca9d0c [2022-04-11T03:20:46.476Z] Step 10/12 : COPY . . [2022-04-11T03:20:46.738Z] ---> a9e08bfc7c21 [2022-04-11T03:20:46.738Z] Step 11/12 : ARG MAKE='make build' [2022-04-11T03:20:46.998Z] ---> Running in e21be52a254c [2022-04-11T03:20:46.998Z] Removing intermediate container e21be52a254c [2022-04-11T03:20:46.998Z] ---> 5a249fed8765 [2022-04-11T03:20:46.998Z] Step 12/12 : RUN $MAKE [2022-04-11T03:20:46.998Z] ---> Running in e8a8d9827e40 [2022-04-11T03:20:47.258Z] noop [2022-04-11T03:20:47.520Z] Removing intermediate container e8a8d9827e40 [2022-04-11T03:20:47.520Z] ---> 9c0415f6bc9c [2022-04-11T03:20:47.520Z] Successfully built 9c0415f6bc9c [2022-04-11T03:20:47.520Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:20:47.823Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T03:20:47.823Z] . [Pipeline] withDockerContainer [2022-04-11T03:20:47.890Z] prd-ubuntu20.04-docker-8c-8g-19453 does not seem to be running inside a container [2022-04-11T03:20:47.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@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 ******** ci-base-image-x86_64 cat [2022-04-11T03:20:48.330Z] $ docker top b3d90d5d0685f73f642a3b4eb4cfbbc6062751fb3b8af8ad09dd1ae680198e3f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T03:20:48.689Z] + go version [2022-04-11T03:20:48.689Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-11T03:20:48.706Z] $ docker stop --time=1 b3d90d5d0685f73f642a3b4eb4cfbbc6062751fb3b8af8ad09dd1ae680198e3f [2022-04-11T03:20:50.018Z] $ docker rm -f b3d90d5d0685f73f642a3b4eb4cfbbc6062751fb3b8af8ad09dd1ae680198e3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:20:50.448Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-11T03:20:50.448Z] . [Pipeline] withDockerContainer [2022-04-11T03:20:50.528Z] prd-ubuntu20.04-docker-8c-8g-19453 does not seem to be running inside a container [2022-04-11T03:20:50.571Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@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 ******** ci-base-image-x86_64 cat [2022-04-11T03:20:50.999Z] $ docker top 78c052769fb415d98da51166752e8ce98d230b69783b4bdf4edbad2e198aa620 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T03:20:51.368Z] + make test [2022-04-11T03:20:51.368Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-11T03:20:51.628Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-11T03:21:01.610Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-11T03:21:01.610Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements [2022-04-11T03:21:01.610Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-11T03:21:06.924Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T03:21:10.220Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T03:21:10.220Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T03:21:10.220Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T03:21:10.806Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T03:21:10.826Z] $ docker stop --time=1 78c052769fb415d98da51166752e8ce98d230b69783b4bdf4edbad2e198aa620 [2022-04-11T03:21:12.547Z] $ docker rm -f 78c052769fb415d98da51166752e8ce98d230b69783b4bdf4edbad2e198aa620 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T03:21:13.043Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T03:21:13.106Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-11T03:21:14.330Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T03:21:14.619Z] + ls -al . [2022-04-11T03:21:14.619Z] total 176 [2022-04-11T03:21:14.619Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 03:21 . [2022-04-11T03:21:14.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 03:19 .. [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 03:20 .dockerignore [2022-04-11T03:21:14.619Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 03:20 .git [2022-04-11T03:21:14.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 03:20 .github [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 03:20 .gitignore [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 03:20 .golangci.yml [2022-04-11T03:21:14.619Z] drwx------ 3 jenkins jenkins 4096 Apr 11 03:20 .semver [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 11 03:20 Attribution.txt [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 11 03:20 CHANGELOG.md [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 11 03:20 Dockerfile [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 03:20 GOVERNANCE.md [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 11 03:20 Jenkinsfile [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 03:20 LICENSE [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 11 03:20 Makefile [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 03:20 OWNERS.md [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 11 03:20 README.md [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 03:20 VERSION [2022-04-11T03:21:14.619Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 03:20 bin [2022-04-11T03:21:14.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 03:20 cmd [2022-04-11T03:21:14.619Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 11 03:21 coverage.out [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 11 03:20 go.mod [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 11 03:20 go.sum [2022-04-11T03:21:14.619Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 03:20 internal [2022-04-11T03:21:14.619Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 03:20 mock [2022-04-11T03:21:14.619Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 03:20 snap [2022-04-11T03:21:14.619Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 11 03:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:21:14.920Z] + 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=45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c --label arch=amd64 --label version=0.0.0 . [2022-04-11T03:21:14.920Z] Sending build context to Docker daemon 5.943MB [2022-04-11T03:21:14.920Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T03:21:14.920Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-11T03:21:14.920Z] ---> 9c0415f6bc9c [2022-04-11T03:21:14.920Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T03:21:14.920Z] ---> Running in 1d73293ec7bc [2022-04-11T03:21:15.181Z] Removing intermediate container 1d73293ec7bc [2022-04-11T03:21:15.181Z] ---> f5e04fbdbd4f [2022-04-11T03:21:15.181Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T03:21:15.181Z] ---> Running in dcb2c1bea0d1 [2022-04-11T03:21:15.181Z] Removing intermediate container dcb2c1bea0d1 [2022-04-11T03:21:15.181Z] ---> 27845b2fd33a [2022-04-11T03:21:15.181Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T03:21:15.443Z] ---> Running in 95ab3d71b6eb [2022-04-11T03:21:16.011Z] Removing intermediate container 95ab3d71b6eb [2022-04-11T03:21:16.011Z] ---> 09df2f4df618 [2022-04-11T03:21:16.011Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T03:21:16.011Z] ---> Running in 1f7ae76336fe [2022-04-11T03:21:16.271Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-11T03:21:16.843Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-11T03:21:17.412Z] OK: 224 MiB in 56 packages [2022-04-11T03:21:17.682Z] Removing intermediate container 1f7ae76336fe [2022-04-11T03:21:17.682Z] ---> 1f807e097503 [2022-04-11T03:21:17.682Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-11T03:21:17.682Z] ---> Running in 8d0b311bb89f [2022-04-11T03:21:17.682Z] Removing intermediate container 8d0b311bb89f [2022-04-11T03:21:17.682Z] ---> bb3b2041d046 [2022-04-11T03:21:17.682Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-11T03:21:17.941Z] ---> 9c529391c9d3 [2022-04-11T03:21:17.942Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T03:21:17.942Z] ---> Running in 7b4c0015a4f0 [2022-04-11T03:21:18.512Z] Removing intermediate container 7b4c0015a4f0 [2022-04-11T03:21:18.512Z] ---> 174a94fc4a30 [2022-04-11T03:21:18.512Z] Step 10/24 : COPY . . [2022-04-11T03:21:18.772Z] ---> d1d9a08418ea [2022-04-11T03:21:18.772Z] Step 11/24 : ARG MAKE='make build' [2022-04-11T03:21:18.772Z] ---> Running in 4dc82330f024 [2022-04-11T03:21:19.036Z] Removing intermediate container 4dc82330f024 [2022-04-11T03:21:19.036Z] ---> 5fb9343f077b [2022-04-11T03:21:19.036Z] Step 12/24 : RUN $MAKE [2022-04-11T03:21:19.036Z] ---> Running in ae1e25c48a53 [2022-04-11T03:21:19.297Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-04-11T03:21:41.256Z] Removing intermediate container ae1e25c48a53 [2022-04-11T03:21:41.256Z] ---> dde2c74f0f8c [2022-04-11T03:21:41.256Z] Step 13/24 : FROM alpine:3.14 [2022-04-11T03:21:41.256Z] 3.14: Pulling from library/alpine [2022-04-11T03:21:41.256Z] 8663204ce13b: Pulling fs layer [2022-04-11T03:21:41.256Z] 8663204ce13b: Verifying Checksum [2022-04-11T03:21:41.256Z] 8663204ce13b: Pull complete [2022-04-11T03:21:41.256Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T03:21:41.256Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T03:21:41.256Z] ---> e04c818066af [2022-04-11T03:21:41.256Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-11T03:21:41.256Z] ---> Running in 7293284a1b53 [2022-04-11T03:21:41.256Z] Removing intermediate container 7293284a1b53 [2022-04-11T03:21:41.256Z] ---> 1736a4423703 [2022-04-11T03:21:41.256Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T03:21:41.256Z] ---> Running in 171860bb7745 [2022-04-11T03:21:41.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-11T03:21:41.256Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-11T03:21:41.256Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T03:21:41.256Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T03:21:41.256Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T03:21:41.256Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T03:21:41.256Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T03:21:41.256Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T03:21:41.256Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T03:21:41.256Z] OK: 8 MiB in 20 packages [2022-04-11T03:21:41.256Z] Removing intermediate container 171860bb7745 [2022-04-11T03:21:41.256Z] ---> b587a93e8b49 [2022-04-11T03:21:41.256Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-11T03:21:41.824Z] ---> c46988f2e662 [2022-04-11T03:21:41.824Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-11T03:21:42.083Z] ---> 57650ccff0f6 [2022-04-11T03:21:42.083Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-11T03:21:42.342Z] ---> 73878976761c [2022-04-11T03:21:42.342Z] Step 19/24 : EXPOSE 59982 [2022-04-11T03:21:42.342Z] ---> Running in b010b3c160b9 [2022-04-11T03:21:42.342Z] Removing intermediate container b010b3c160b9 [2022-04-11T03:21:42.342Z] ---> 38c37d111d37 [2022-04-11T03:21:42.342Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-11T03:21:42.342Z] ---> Running in e0fe33e67c32 [2022-04-11T03:21:42.601Z] Removing intermediate container e0fe33e67c32 [2022-04-11T03:21:42.601Z] ---> 5035830e215e [2022-04-11T03:21:42.601Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T03:21:42.601Z] ---> Running in bcbe54e542fc [2022-04-11T03:21:42.601Z] Removing intermediate container bcbe54e542fc [2022-04-11T03:21:42.601Z] ---> a5056c761939 [2022-04-11T03:21:42.601Z] Step 22/24 : LABEL arch=amd64 [2022-04-11T03:21:42.601Z] ---> Running in 8edc24faf409 [2022-04-11T03:21:42.861Z] Removing intermediate container 8edc24faf409 [2022-04-11T03:21:42.861Z] ---> 745546078702 [2022-04-11T03:21:42.861Z] Step 23/24 : LABEL git_sha=45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c [2022-04-11T03:21:42.861Z] ---> Running in 4b119ab4ba8c [2022-04-11T03:21:42.861Z] Removing intermediate container 4b119ab4ba8c [2022-04-11T03:21:42.861Z] ---> 7cbbcf93e3ed [2022-04-11T03:21:42.861Z] Step 24/24 : LABEL version=0.0.0 [2022-04-11T03:21:42.861Z] ---> Running in 6fa96288a05a [2022-04-11T03:21:43.121Z] Removing intermediate container 6fa96288a05a [2022-04-11T03:21:43.121Z] ---> 8beefe95b305 [2022-04-11T03:21:43.121Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T03:21:43.121Z] Successfully built 8beefe95b305 [2022-04-11T03:21:43.121Z] 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-11T03:21:43.572Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T03:21:43.572Z] [2022-04-11T03:21:43.572Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:21:43.877Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T03:21:43.878Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-11T03:21:43.878Z] 5eb5b503b376: Pulling fs layer [2022-04-11T03:21:43.878Z] 5c69ac0246d0: Pulling fs layer [2022-04-11T03:21:43.878Z] ec43610c2a17: Pulling fs layer [2022-04-11T03:21:43.878Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-11T03:21:43.878Z] 33b1e0a273af: Pulling fs layer [2022-04-11T03:21:43.878Z] 5d3b04190fa2: Pulling fs layer [2022-04-11T03:21:43.878Z] 2f39f015ded8: Pulling fs layer [2022-04-11T03:21:43.878Z] 33b1e0a273af: Waiting [2022-04-11T03:21:43.878Z] 5d3b04190fa2: Waiting [2022-04-11T03:21:43.878Z] 2f39f015ded8: Waiting [2022-04-11T03:21:43.878Z] 3a2ae6a8a46f: Waiting [2022-04-11T03:21:43.878Z] 5c69ac0246d0: Download complete [2022-04-11T03:21:43.878Z] 3a2ae6a8a46f: Download complete [2022-04-11T03:21:43.878Z] 33b1e0a273af: Verifying Checksum [2022-04-11T03:21:43.878Z] 33b1e0a273af: Download complete [2022-04-11T03:21:43.878Z] ec43610c2a17: Verifying Checksum [2022-04-11T03:21:43.878Z] ec43610c2a17: Download complete [2022-04-11T03:21:43.878Z] 5d3b04190fa2: Verifying Checksum [2022-04-11T03:21:43.878Z] 5d3b04190fa2: Download complete [2022-04-11T03:21:44.137Z] 5eb5b503b376: Verifying Checksum [2022-04-11T03:21:44.137Z] 5eb5b503b376: Download complete [2022-04-11T03:21:44.706Z] 2f39f015ded8: Download complete [2022-04-11T03:21:45.645Z] 5eb5b503b376: Pull complete [2022-04-11T03:21:45.645Z] 5c69ac0246d0: Pull complete [2022-04-11T03:21:46.217Z] ec43610c2a17: Pull complete [2022-04-11T03:21:46.217Z] 3a2ae6a8a46f: Pull complete [2022-04-11T03:21:46.477Z] 33b1e0a273af: Pull complete [2022-04-11T03:21:46.738Z] 5d3b04190fa2: Pull complete [2022-04-11T03:21:52.017Z] 2f39f015ded8: Pull complete [2022-04-11T03:21:52.017Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-11T03:21:52.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T03:21:52.017Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-11T03:21:52.089Z] prd-ubuntu20.04-docker-8c-8g-19453 does not seem to be running inside a container [2022-04-11T03:21:52.133Z] $ 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-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@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-11T03:21:53.603Z] $ docker top 86518fb300b60df115fc18be8d7fd1748ca16e1e658cb089a4cd80ec2282dccf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:21:54.080Z] ---> job-cost.sh [2022-04-11T03:21:54.080Z] lf-activate-venv: SKIPPING [2022-04-11T03:21:54.080Z] INFO: No Stack... [2022-04-11T03:21:54.651Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T03:21:54.911Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T03:21:55.204Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/cost.csv [2022-04-11T03:21:55.205Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T03:21:55.221Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-341-13-stack-cost] [2022-04-11T03:21:55.227Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-13-stack-cost] did not exist. Created. [2022-04-11T03:21:55.227Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-341-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T03:21:55.537Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-11T03:21:55.563Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T03:21:55.570Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T03:21:55.594Z] $ docker stop --time=1 86518fb300b60df115fc18be8d7fd1748ca16e1e658cb089a4cd80ec2282dccf [2022-04-11T03:21:56.748Z] $ docker rm -f 86518fb300b60df115fc18be8d7fd1748ca16e1e658cb089a4cd80ec2282dccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-11T03:24:14.618Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19454 in /w/workspace/gexfoundry_device-mqtt-go_PR-341 [Pipeline] { [Pipeline] ws [2022-04-11T03:24:14.633Z] Running in /w/workspace/device-mqtt-go/13 [Pipeline] { [Pipeline] checkout [2022-04-11T03:24:14.949Z] Selected Git installation does not exist. Using Default [2022-04-11T03:24:14.949Z] The recommended git tool is: NONE [2022-04-11T03:24:22.746Z] using credential edgex-jenkins-ssh [2022-04-11T03:24:22.768Z] Cloning the remote Git repository [2022-04-11T03:24:22.840Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-11T03:24:22.962Z] > git init /w/workspace/device-mqtt-go/13 # timeout=10 [2022-04-11T03:24:23.156Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-11T03:24:23.166Z] > git --version # timeout=10 [2022-04-11T03:24:23.201Z] > git --version # 'git version 2.25.1' [2022-04-11T03:24:23.203Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T03:24:23.284Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T03:24:24.778Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-11T03:24:24.848Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-11T03:24:24.884Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-11T03:24:24.980Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-11T03:24:24.981Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T03:24:24.999Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/341/head:refs/remotes/origin/PR-341 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-04-11T03:24:25.658Z] Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit fd9a27eb9feca985b531b7e41b017e7d5070406d [2022-04-11T03:24:26.101Z] Merge succeeded, producing 8fb027767089ba28e3f62ca21ae914f0d46fba85 [2022-04-11T03:24:26.102Z] Checking out Revision 8fb027767089ba28e3f62ca21ae914f0d46fba85 (PR-341) [2022-04-11T03:24:25.690Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T03:24:25.721Z] > git checkout -f fd9a27eb9feca985b531b7e41b017e7d5070406d # timeout=10 [2022-04-11T03:24:25.876Z] > git remote # timeout=10 [2022-04-11T03:24:25.917Z] > git config --get remote.origin.url # timeout=10 [2022-04-11T03:24:25.959Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-11T03:24:25.972Z] > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 [2022-04-11T03:24:26.051Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-11T03:24:26.120Z] > git config core.sparsecheckout # timeout=10 [2022-04-11T03:24:26.167Z] > git checkout -f 8fb027767089ba28e3f62ca21ae914f0d46fba85 # timeout=10 [2022-04-11T03:24:30.660Z] Commit message: "Merge commit '4d191eb3dac98c01714bec6e3dd8edd5055992ab' into HEAD" [2022-04-11T03:24:30.691Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T03:24:31.604Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-11T03:24:31.604Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T03:24:31.604Z] Dload Upload Total Spent Left Speed [2022-04-11T03:24:31.604Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48338 0 --:--:-- --:--:-- --:--:-- 48536 [Pipeline] sh [2022-04-11T03:24:30.677Z] > git rev-list --no-walk 50a080a4fed696b372d69fd9a55d92737e59f87b # timeout=10 [2022-04-11T03:24:32.141Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-11T03:24:32.488Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-11T03:24:32.488Z] + sudo tee /etc/docker/daemon.new [2022-04-11T03:24:32.488Z] { [2022-04-11T03:24:32.488Z] "registry-mirrors": [ [2022-04-11T03:24:32.488Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-11T03:24:32.488Z] ], [2022-04-11T03:24:32.488Z] "bip": "10.250.0.254/24", [2022-04-11T03:24:32.488Z] "hosts": [ [2022-04-11T03:24:32.488Z] "tcp://0.0.0.0:5555", [2022-04-11T03:24:32.488Z] "unix:///var/run/docker.sock" [2022-04-11T03:24:32.488Z] ], [2022-04-11T03:24:32.488Z] "mtu": 1458, [2022-04-11T03:24:32.488Z] "selinux-enabled": true, [2022-04-11T03:24:32.488Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-11T03:24:32.488Z] } [Pipeline] sh [2022-04-11T03:24:32.852Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-11T03:24:33.208Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T03:24:51.558Z] provisioning config files... [2022-04-11T03:24:51.581Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/13@tmp/config7300347079355593431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:24:52.000Z] ---> docker-login.sh [2022-04-11T03:24:52.000Z] nexus3.edgexfoundry.org:10001 [2022-04-11T03:24:52.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:24:52.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:24:52.877Z] Configure a credential helper to remove this warning. See [2022-04-11T03:24:52.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:24:52.877Z] [2022-04-11T03:24:52.877Z] Login Succeeded [2022-04-11T03:24:52.877Z] nexus3.edgexfoundry.org:10002 [2022-04-11T03:24:53.151Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:24:53.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:24:53.427Z] Configure a credential helper to remove this warning. See [2022-04-11T03:24:53.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:24:53.427Z] [2022-04-11T03:24:53.427Z] Login Succeeded [2022-04-11T03:24:53.427Z] nexus3.edgexfoundry.org:10003 [2022-04-11T03:24:53.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:24:53.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:24:53.702Z] Configure a credential helper to remove this warning. See [2022-04-11T03:24:53.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:24:53.702Z] [2022-04-11T03:24:53.702Z] Login Succeeded [2022-04-11T03:24:53.702Z] nexus3.edgexfoundry.org:10004 [2022-04-11T03:24:54.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:24:54.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:24:54.307Z] Configure a credential helper to remove this warning. See [2022-04-11T03:24:54.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:24:54.307Z] [2022-04-11T03:24:54.307Z] Login Succeeded [2022-04-11T03:24:54.307Z] docker.io [2022-04-11T03:24:54.582Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-11T03:24:55.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-11T03:24:55.181Z] Configure a credential helper to remove this warning. See [2022-04-11T03:24:55.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-11T03:24:55.181Z] [2022-04-11T03:24:55.181Z] Login Succeeded [2022-04-11T03:24:55.181Z] ---> docker-login.sh ends [Pipeline] } [2022-04-11T03:24:55.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-11T03:24:55.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-11T03:24:55.695Z] ========================================================= [2022-04-11T03:24:55.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-11T03:24:55.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:24:56.097Z] + 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-11T03:24:56.718Z] Sending build context to Docker daemon 3.13MB [2022-04-11T03:24:56.718Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T03:24:56.718Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-11T03:24:56.718Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-11T03:24:56.718Z] 9b3977197b4f: Pulling fs layer [2022-04-11T03:24:56.718Z] 1a89e8eeedd5: Pulling fs layer [2022-04-11T03:24:56.718Z] 94645a83ff95: Pulling fs layer [2022-04-11T03:24:56.718Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-11T03:24:56.718Z] 0c92f367c5e7: Pulling fs layer [2022-04-11T03:24:56.718Z] f7c0051592d6: Pulling fs layer [2022-04-11T03:24:56.718Z] a227ed2f7395: Pulling fs layer [2022-04-11T03:24:56.718Z] 7b1c46037f91: Pulling fs layer [2022-04-11T03:24:56.718Z] 3f3a8bcf1eab: Waiting [2022-04-11T03:24:56.718Z] 0c92f367c5e7: Waiting [2022-04-11T03:24:56.718Z] f7c0051592d6: Waiting [2022-04-11T03:24:56.718Z] a227ed2f7395: Waiting [2022-04-11T03:24:56.718Z] 7b1c46037f91: Waiting [2022-04-11T03:24:56.998Z] 94645a83ff95: Verifying Checksum [2022-04-11T03:24:56.998Z] 94645a83ff95: Download complete [2022-04-11T03:24:56.998Z] 1a89e8eeedd5: Verifying Checksum [2022-04-11T03:24:56.998Z] 1a89e8eeedd5: Download complete [2022-04-11T03:24:56.998Z] 0c92f367c5e7: Verifying Checksum [2022-04-11T03:24:56.998Z] 0c92f367c5e7: Download complete [2022-04-11T03:24:56.998Z] f7c0051592d6: Verifying Checksum [2022-04-11T03:24:56.998Z] f7c0051592d6: Download complete [2022-04-11T03:24:56.998Z] 9b3977197b4f: Verifying Checksum [2022-04-11T03:24:56.998Z] a227ed2f7395: Download complete [2022-04-11T03:24:57.997Z] 9b3977197b4f: Pull complete [2022-04-11T03:24:58.601Z] 1a89e8eeedd5: Pull complete [2022-04-11T03:24:58.880Z] 94645a83ff95: Pull complete [2022-04-11T03:24:59.484Z] 7b1c46037f91: Download complete [2022-04-11T03:25:00.084Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-11T03:25:00.084Z] 3f3a8bcf1eab: Download complete [2022-04-11T03:25:12.504Z] 3f3a8bcf1eab: Pull complete [2022-04-11T03:25:12.504Z] 0c92f367c5e7: Pull complete [2022-04-11T03:25:12.504Z] f7c0051592d6: Pull complete [2022-04-11T03:25:12.781Z] a227ed2f7395: Pull complete [2022-04-11T03:25:19.523Z] 7b1c46037f91: Pull complete [2022-04-11T03:25:19.523Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-11T03:25:19.523Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-11T03:25:19.523Z] ---> f79e39bc4007 [2022-04-11T03:25:19.523Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T03:25:20.126Z] ---> Running in 27490e913c3a [2022-04-11T03:25:20.398Z] Removing intermediate container 27490e913c3a [2022-04-11T03:25:20.398Z] ---> ae2c7be27a08 [2022-04-11T03:25:20.398Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T03:25:20.398Z] ---> Running in 9200cf63fec6 [2022-04-11T03:25:20.997Z] Removing intermediate container 9200cf63fec6 [2022-04-11T03:25:20.997Z] ---> 8d81885403cf [2022-04-11T03:25:20.997Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T03:25:20.997Z] ---> Running in b52705c3f530 [2022-04-11T03:25:22.975Z] Removing intermediate container b52705c3f530 [2022-04-11T03:25:22.975Z] ---> e4295e96bdc7 [2022-04-11T03:25:22.975Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T03:25:22.975Z] ---> Running in 5112d1272003 [2022-04-11T03:25:23.577Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T03:25:24.553Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T03:25:25.533Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-11T03:25:25.533Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-11T03:25:25.533Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-11T03:25:25.811Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-11T03:25:25.811Z] Executing busybox-1.34.1-r3.trigger [2022-04-11T03:25:25.811Z] OK: 224 MiB in 56 packages [2022-04-11T03:25:26.799Z] Removing intermediate container 5112d1272003 [2022-04-11T03:25:26.799Z] ---> b65f8d4ffa87 [2022-04-11T03:25:26.799Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-11T03:25:27.075Z] ---> Running in a9833d536d70 [2022-04-11T03:25:27.351Z] Removing intermediate container a9833d536d70 [2022-04-11T03:25:27.351Z] ---> dbb5b91645af [2022-04-11T03:25:27.351Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-11T03:25:27.957Z] ---> 242f09646853 [2022-04-11T03:25:27.957Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T03:25:27.957Z] ---> Running in 1aecbe43536f [2022-04-11T03:26:14.979Z] Removing intermediate container 1aecbe43536f [2022-04-11T03:26:14.979Z] ---> 86600083fc89 [2022-04-11T03:26:14.979Z] Step 10/12 : COPY . . [2022-04-11T03:26:15.596Z] ---> 3f7001c9470a [2022-04-11T03:26:15.596Z] Step 11/12 : ARG MAKE='make build' [2022-04-11T03:26:15.596Z] ---> Running in 7d8ee1921d13 [2022-04-11T03:26:15.869Z] Removing intermediate container 7d8ee1921d13 [2022-04-11T03:26:15.869Z] ---> 3000360a37f1 [2022-04-11T03:26:15.869Z] Step 12/12 : RUN $MAKE [2022-04-11T03:26:15.869Z] ---> Running in e334cce5a8cd [2022-04-11T03:26:16.854Z] noop [2022-04-11T03:26:17.451Z] Removing intermediate container e334cce5a8cd [2022-04-11T03:26:17.451Z] ---> 776b028551e1 [2022-04-11T03:26:17.451Z] Successfully built 776b028551e1 [2022-04-11T03:26:17.451Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:26:17.802Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T03:26:17.802Z] . [Pipeline] withDockerContainer [2022-04-11T03:26:18.063Z] prd-ubuntu20.04-docker-arm64-4c-16g-19454 does not seem to be running inside a container [2022-04-11T03:26:18.166Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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-arm64 cat [2022-04-11T03:26:19.483Z] $ docker top 103b6d04f131a96249f2e799a43fb14b24d04e583e7d7824a9c759eea85f9ccf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T03:26:20.385Z] + go version [2022-04-11T03:26:20.385Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-11T03:26:20.421Z] $ docker stop --time=1 103b6d04f131a96249f2e799a43fb14b24d04e583e7d7824a9c759eea85f9ccf [2022-04-11T03:26:22.042Z] $ docker rm -f 103b6d04f131a96249f2e799a43fb14b24d04e583e7d7824a9c759eea85f9ccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:26:22.639Z] + docker inspect -f . ci-base-image-arm64 [2022-04-11T03:26:22.639Z] . [Pipeline] withDockerContainer [2022-04-11T03:26:22.883Z] prd-ubuntu20.04-docker-arm64-4c-16g-19454 does not seem to be running inside a container [2022-04-11T03:26:22.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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-arm64 cat [2022-04-11T03:26:24.293Z] $ docker top c2c444f1eab6bab7795ea48b92e67779f7130c67f8a15ccd7a8df094b2c9c6e6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-11T03:26:25.182Z] + make test [2022-04-11T03:26:25.182Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-11T03:26:26.626Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-11T03:27:48.478Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-11T03:27:48.478Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements [2022-04-11T03:27:48.478Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-11T03:27:48.478Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-11T03:27:48.478Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-11T03:28:15.315Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-11T03:28:15.315Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-11T03:28:15.315Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-11T03:28:15.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-11T03:28:15.636Z] $ docker stop --time=1 c2c444f1eab6bab7795ea48b92e67779f7130c67f8a15ccd7a8df094b2c9c6e6 [2022-04-11T03:28:17.461Z] $ docker rm -f c2c444f1eab6bab7795ea48b92e67779f7130c67f8a15ccd7a8df094b2c9c6e6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-11T03:28:18.398Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-11T03:28:18.418Z] Warning: overwriting stash ‘coverage-report’ [2022-04-11T03:28:18.918Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-11T03:28:19.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-11T03:28:19.647Z] + ls -al . [2022-04-11T03:28:19.647Z] total 172 [2022-04-11T03:28:19.647Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 03:28 . [2022-04-11T03:28:19.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 03:24 .. [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 11 03:24 .dockerignore [2022-04-11T03:28:19.647Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 03:24 .git [2022-04-11T03:28:19.647Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 03:24 .github [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 03:24 .gitignore [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 03:24 .golangci.yml [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 11 03:24 Attribution.txt [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 11 03:24 CHANGELOG.md [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 11 03:24 Dockerfile [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 03:24 GOVERNANCE.md [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 11 03:24 Jenkinsfile [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 03:24 LICENSE [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 11 03:24 Makefile [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 03:24 OWNERS.md [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 11 03:24 README.md [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 03:20 VERSION [2022-04-11T03:28:19.647Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 03:24 bin [2022-04-11T03:28:19.647Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 03:24 cmd [2022-04-11T03:28:19.647Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 11 03:27 coverage.out [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 11 03:24 go.mod [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 11 03:24 go.sum [2022-04-11T03:28:19.647Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 03:24 internal [2022-04-11T03:28:19.647Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 03:24 mock [2022-04-11T03:28:19.647Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 03:24 snap [2022-04-11T03:28:19.647Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 11 03:24 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:28:19.990Z] + 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=8fb027767089ba28e3f62ca21ae914f0d46fba85 --label arch=arm64 --label version=0.0.0 . [2022-04-11T03:28:20.269Z] Sending build context to Docker daemon 3.149MB [2022-04-11T03:28:20.550Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-11T03:28:20.550Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-11T03:28:20.550Z] ---> 776b028551e1 [2022-04-11T03:28:20.550Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-11T03:28:20.550Z] ---> Running in 48184429e6cc [2022-04-11T03:28:20.824Z] Removing intermediate container 48184429e6cc [2022-04-11T03:28:20.824Z] ---> 8722014342cb [2022-04-11T03:28:20.824Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-11T03:28:20.824Z] ---> Running in 69a5502ef6b8 [2022-04-11T03:28:21.428Z] Removing intermediate container 69a5502ef6b8 [2022-04-11T03:28:21.428Z] ---> 073b43975624 [2022-04-11T03:28:21.428Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-11T03:28:21.428Z] ---> Running in db38222cfd7d [2022-04-11T03:28:22.868Z] Removing intermediate container db38222cfd7d [2022-04-11T03:28:22.868Z] ---> 803bf5e0d295 [2022-04-11T03:28:22.868Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-11T03:28:23.149Z] ---> Running in ee869787dec7 [2022-04-11T03:28:24.138Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-11T03:28:25.119Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-11T03:28:26.102Z] OK: 224 MiB in 56 packages [2022-04-11T03:28:26.710Z] Removing intermediate container ee869787dec7 [2022-04-11T03:28:26.710Z] ---> d91482c8fc6d [2022-04-11T03:28:26.710Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-11T03:28:26.710Z] ---> Running in b7205e1403b1 [2022-04-11T03:28:27.310Z] Removing intermediate container b7205e1403b1 [2022-04-11T03:28:27.310Z] ---> be958a587a6d [2022-04-11T03:28:27.310Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-11T03:28:27.916Z] ---> 6a2b4bbc0876 [2022-04-11T03:28:27.916Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-11T03:28:27.916Z] ---> Running in f825ef6a0e0d [2022-04-11T03:28:29.902Z] Removing intermediate container f825ef6a0e0d [2022-04-11T03:28:29.902Z] ---> 73d35fe03fd7 [2022-04-11T03:28:29.902Z] Step 10/24 : COPY . . [2022-04-11T03:28:30.885Z] ---> 3b271bfed62c [2022-04-11T03:28:30.885Z] Step 11/24 : ARG MAKE='make build' [2022-04-11T03:28:30.885Z] ---> Running in ad9e82690ecb [2022-04-11T03:28:31.163Z] Removing intermediate container ad9e82690ecb [2022-04-11T03:28:31.163Z] ---> e6f6229770cc [2022-04-11T03:28:31.163Z] Step 12/24 : RUN $MAKE [2022-04-11T03:28:31.163Z] ---> Running in 7346a96ebcc4 [2022-04-11T03:28:32.145Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-04-11T03:30:39.072Z] Removing intermediate container 7346a96ebcc4 [2022-04-11T03:30:39.072Z] ---> 304b4474a83f [2022-04-11T03:30:39.072Z] Step 13/24 : FROM alpine:3.14 [2022-04-11T03:30:39.072Z] 3.14: Pulling from library/alpine [2022-04-11T03:30:39.072Z] 455c02918c45: Pulling fs layer [2022-04-11T03:30:39.072Z] 455c02918c45: Download complete [2022-04-11T03:30:39.072Z] 455c02918c45: Pull complete [2022-04-11T03:30:39.072Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-11T03:30:39.072Z] Status: Downloaded newer image for alpine:3.14 [2022-04-11T03:30:39.072Z] ---> ac73e934f311 [2022-04-11T03:30:39.072Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-11T03:30:39.072Z] ---> Running in f74eb12a9cd4 [2022-04-11T03:30:39.072Z] Removing intermediate container f74eb12a9cd4 [2022-04-11T03:30:39.072Z] ---> c9026f0c8b52 [2022-04-11T03:30:39.072Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-11T03:30:39.072Z] ---> Running in 6c50e93c48fa [2022-04-11T03:30:39.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-11T03:30:39.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-11T03:30:39.072Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-11T03:30:39.072Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-11T03:30:39.072Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-11T03:30:39.072Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-11T03:30:39.072Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-11T03:30:39.072Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-11T03:30:39.349Z] Executing busybox-1.33.1-r7.trigger [2022-04-11T03:30:39.349Z] OK: 8 MiB in 20 packages [2022-04-11T03:30:40.338Z] Removing intermediate container 6c50e93c48fa [2022-04-11T03:30:40.338Z] ---> 6d0aee4fab2c [2022-04-11T03:30:40.338Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-11T03:30:41.790Z] ---> da9303e01d21 [2022-04-11T03:30:41.790Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-11T03:30:42.392Z] ---> 71618645f339 [2022-04-11T03:30:42.392Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-11T03:30:42.996Z] ---> 5536729c2425 [2022-04-11T03:30:42.996Z] Step 19/24 : EXPOSE 59982 [2022-04-11T03:30:43.278Z] ---> Running in 6ae64286d313 [2022-04-11T03:30:43.557Z] Removing intermediate container 6ae64286d313 [2022-04-11T03:30:43.557Z] ---> a4f6bb9956b8 [2022-04-11T03:30:43.557Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-11T03:30:43.557Z] ---> Running in b80c26a89745 [2022-04-11T03:30:43.835Z] Removing intermediate container b80c26a89745 [2022-04-11T03:30:43.835Z] ---> 15a546e46063 [2022-04-11T03:30:43.835Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-11T03:30:43.835Z] ---> Running in 3f06e9ced759 [2022-04-11T03:30:44.436Z] Removing intermediate container 3f06e9ced759 [2022-04-11T03:30:44.436Z] ---> 2171643feefc [2022-04-11T03:30:44.436Z] Step 22/24 : LABEL arch=arm64 [2022-04-11T03:30:44.436Z] ---> Running in 53cce33b0fc5 [2022-04-11T03:30:44.712Z] Removing intermediate container 53cce33b0fc5 [2022-04-11T03:30:44.712Z] ---> 655c5eb6d237 [2022-04-11T03:30:44.712Z] Step 23/24 : LABEL git_sha=8fb027767089ba28e3f62ca21ae914f0d46fba85 [2022-04-11T03:30:44.712Z] ---> Running in e9ca7fb45127 [2022-04-11T03:30:44.994Z] Removing intermediate container e9ca7fb45127 [2022-04-11T03:30:44.994Z] ---> 0af077732114 [2022-04-11T03:30:44.994Z] Step 24/24 : LABEL version=0.0.0 [2022-04-11T03:30:45.270Z] ---> Running in b9a0ea062aa3 [2022-04-11T03:30:45.545Z] Removing intermediate container b9a0ea062aa3 [2022-04-11T03:30:45.545Z] ---> aacc9c6bbae2 [2022-04-11T03:30:45.545Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-11T03:30:45.545Z] Successfully built aacc9c6bbae2 [2022-04-11T03:30:45.545Z] 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-11T03:30:45.992Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T03:30:45.992Z] [2022-04-11T03:30:45.992Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:30:46.350Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T03:30:46.626Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-11T03:30:46.626Z] 8998bd30e6a1: Pulling fs layer [2022-04-11T03:30:46.626Z] 04944245beec: Pulling fs layer [2022-04-11T03:30:46.626Z] 699f458cf7ca: Pulling fs layer [2022-04-11T03:30:46.626Z] 765212b225bb: Pulling fs layer [2022-04-11T03:30:46.626Z] f23df028b6ca: Pulling fs layer [2022-04-11T03:30:46.626Z] d65c8cfc05b1: Pulling fs layer [2022-04-11T03:30:46.626Z] 2437ff75d9bd: Pulling fs layer [2022-04-11T03:30:46.626Z] 765212b225bb: Waiting [2022-04-11T03:30:46.626Z] f23df028b6ca: Waiting [2022-04-11T03:30:46.626Z] d65c8cfc05b1: Waiting [2022-04-11T03:30:46.626Z] 2437ff75d9bd: Waiting [2022-04-11T03:30:46.626Z] 04944245beec: Download complete [2022-04-11T03:30:46.626Z] 765212b225bb: Verifying Checksum [2022-04-11T03:30:46.626Z] 765212b225bb: Download complete [2022-04-11T03:30:46.626Z] f23df028b6ca: Verifying Checksum [2022-04-11T03:30:46.626Z] f23df028b6ca: Download complete [2022-04-11T03:30:46.905Z] d65c8cfc05b1: Verifying Checksum [2022-04-11T03:30:46.905Z] d65c8cfc05b1: Download complete [2022-04-11T03:30:46.905Z] 699f458cf7ca: Verifying Checksum [2022-04-11T03:30:46.905Z] 699f458cf7ca: Download complete [2022-04-11T03:30:47.186Z] 8998bd30e6a1: Verifying Checksum [2022-04-11T03:30:47.186Z] 8998bd30e6a1: Download complete [2022-04-11T03:30:49.827Z] 2437ff75d9bd: Verifying Checksum [2022-04-11T03:30:49.827Z] 2437ff75d9bd: Download complete [2022-04-11T03:30:51.815Z] 8998bd30e6a1: Pull complete [2022-04-11T03:30:52.092Z] 04944245beec: Pull complete [2022-04-11T03:30:53.538Z] 699f458cf7ca: Pull complete [2022-04-11T03:30:53.818Z] 765212b225bb: Pull complete [2022-04-11T03:30:54.807Z] f23df028b6ca: Pull complete [2022-04-11T03:30:55.082Z] d65c8cfc05b1: Pull complete [2022-04-11T03:31:10.200Z] 2437ff75d9bd: Pull complete [2022-04-11T03:31:10.200Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-11T03:31:10.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-11T03:31:10.200Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-11T03:31:10.464Z] prd-ubuntu20.04-docker-arm64-4c-16g-19454 does not seem to be running inside a container [2022-04-11T03:31:10.582Z] $ 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/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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:arm64 cat [2022-04-11T03:31:13.459Z] $ docker top e2317e0b02f5e2b24d71105017c0234f5bdd6196f42472ec7fe126c863475afa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:31:14.399Z] ---> job-cost.sh [2022-04-11T03:31:14.399Z] lf-activate-venv: SKIPPING [2022-04-11T03:31:14.399Z] INFO: No Stack... [2022-04-11T03:31:14.675Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-11T03:31:15.658Z] INFO: Archiving Costs [Pipeline] sh [2022-04-11T03:31:16.335Z] + cat /w/workspace/device-mqtt-go/13/archives/cost.csv [2022-04-11T03:31:16.335Z] + cut -d, -f6 [Pipeline] lock [2022-04-11T03:31:16.404Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-341-13-stack-cost] [2022-04-11T03:31:16.412Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-13-stack-cost] did not exist. Created. [2022-04-11T03:31:16.413Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-341-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-11T03:31:17.100Z] /w/workspace/device-mqtt-go/13@tmp/durable-80fedbe2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-11T03:31:17.797Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-11T03:31:17.819Z] Warning: overwriting stash ‘stack-cost’ [2022-04-11T03:31:17.867Z] Stashed 1 file(s) [Pipeline] } [2022-04-11T03:31:17.874Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-13-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-11T03:31:17.913Z] $ docker stop --time=1 e2317e0b02f5e2b24d71105017c0234f5bdd6196f42472ec7fe126c863475afa [2022-04-11T03:31:19.449Z] $ docker rm -f e2317e0b02f5e2b24d71105017c0234f5bdd6196f42472ec7fe126c863475afa [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-11T03:31:20.069Z] provisioning config files... [2022-04-11T03:31:20.079Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config2833685773853635696tmp [Pipeline] { [Pipeline] sh [2022-04-11T03:31:20.377Z] + set +x [2022-04-11T03:31:20.378Z] + curl -s https://codecov.io/bash [2022-04-11T03:31:20.378Z] + bash -s -- [2022-04-11T03:31:20.378Z] [2022-04-11T03:31:20.378Z] _____ _ [2022-04-11T03:31:20.378Z] / ____| | | [2022-04-11T03:31:20.378Z] | | ___ __| | ___ ___ _____ __ [2022-04-11T03:31:20.378Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-11T03:31:20.378Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-11T03:31:20.378Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-11T03:31:20.378Z] Bash-1.0.6 [2022-04-11T03:31:20.378Z] [2022-04-11T03:31:20.378Z] [2022-04-11T03:31:20.378Z] ==> git version 2.25.1 found [2022-04-11T03:31:20.378Z] ==> 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-11T03:31:20.378Z] Release-Date: 2020-01-08 [2022-04-11T03:31:20.378Z] 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-11T03:31:20.378Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-11T03:31:20.378Z] ==> Jenkins CI detected. [2022-04-11T03:31:20.378Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-341 [2022-04-11T03:31:20.378Z] project root: . [2022-04-11T03:31:20.378Z] --> token set from env [2022-04-11T03:31:20.378Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-11T03:31:20.378Z] ==> Running gcov in . (disable via -X gcov) [2022-04-11T03:31:20.378Z] ==> Python coveragepy not found [2022-04-11T03:31:20.378Z] ==> Searching for coverage reports in: [2022-04-11T03:31:20.378Z] + . [2022-04-11T03:31:20.378Z] -> Found 1 reports [2022-04-11T03:31:20.378Z] ==> Detecting git/mercurial file structure [2022-04-11T03:31:20.378Z] ==> Reading reports [2022-04-11T03:31:20.378Z] + ./coverage.out bytes=17887 [2022-04-11T03:31:20.638Z] ==> Appending adjustments [2022-04-11T03:31:20.638Z] https://docs.codecov.io/docs/fixing-reports [2022-04-11T03:31:20.638Z] + Found adjustments [2022-04-11T03:31:20.638Z] ==> Gzipping contents [2022-04-11T03:31:20.638Z] 4.0K /tmp/codecov.oEzsl5.gz [2022-04-11T03:31:20.638Z] ==> Uploading reports [2022-04-11T03:31:20.638Z] url: https://codecov.io [2022-04-11T03:31:20.638Z] query: branch=PR-341&commit=45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-341%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=341&job=&cmd_args= [2022-04-11T03:31:20.638Z] -> Pinging Codecov [2022-04-11T03:31:20.638Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-341&commit=45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-341%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=341&job=&cmd_args= [2022-04-11T03:31:20.901Z] -> Uploading to [2022-04-11T03:31:20.901Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-11/7D719EC7BBE17E464838252E33014C33/45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c/8246c85d-7af8-425c-876f-71750553eec0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T033120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b4e24cf8a81ab22647b65a14bb00c443dd310d2aedea2b49928809930215bccd [2022-04-11T03:31:20.901Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-11T03:31:20.901Z] Dload Upload Total Spent Left Speed [2022-04-11T03:31:21.161Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3264 0 0 100 3264 0 13377 --:--:-- --:--:-- --:--:-- 13322 [2022-04-11T03:31:21.161Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/45e62efd08e8fe0fbc7a166a2c2d19edf5b4603c [Pipeline] } [2022-04-11T03:31:21.170Z] 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-11T03:31:22.041Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives ] [2022-04-11T03:31:22.041Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives [2022-04-11T03:31:22.041Z] total 16 [2022-04-11T03:31:22.041Z] drwxr-xr-x 3 root root 4096 Apr 11 03:21 . [2022-04-11T03:31:22.041Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 03:21 .. [2022-04-11T03:31:22.041Z] drwxr-xr-x 2 root root 4096 Apr 11 03:21 cost [2022-04-11T03:31:22.041Z] -rw-r--r-- 1 root root 86 Apr 11 03:21 cost.csv [2022-04-11T03:31:22.041Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives [2022-04-11T03:31:22.041Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives [2022-04-11T03:31:22.041Z] total 16 [2022-04-11T03:31:22.041Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 03:21 . [2022-04-11T03:31:22.041Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 11 03:21 .. [2022-04-11T03:31:22.041Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 03:21 cost [2022-04-11T03:31:22.041Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 11 03:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:31:22.333Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:31:23.280Z] ---> package-listing.sh [2022-04-11T03:31:23.280Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-11T03:31:23.280Z] ++ facter osfamily [2022-04-11T03:31:23.538Z] + OS_FAMILY=debian [2022-04-11T03:31:23.538Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-341 [2022-04-11T03:31:23.538Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-11T03:31:23.538Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-11T03:31:23.538Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-11T03:31:23.538Z] + PACKAGES=/tmp/packages_start.txt [2022-04-11T03:31:23.538Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-341 ']' [2022-04-11T03:31:23.538Z] + PACKAGES=/tmp/packages_end.txt [2022-04-11T03:31:23.538Z] + case "${OS_FAMILY}" in [2022-04-11T03:31:23.538Z] + dpkg -l [2022-04-11T03:31:23.538Z] + grep '^ii' [2022-04-11T03:31:23.538Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-11T03:31:23.538Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-11T03:31:23.538Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-11T03:31:23.538Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-341 ']' [2022-04-11T03:31:23.538Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/ [2022-04-11T03:31:23.538Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/ [Pipeline] echo [2022-04-11T03:31:23.548Z] 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-341/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-04-11T03:31:23.826Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-11T03:31:24.383Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-11T03:31:24.383Z] . [Pipeline] withDockerContainer [2022-04-11T03:31:24.451Z] prd-ubuntu20.04-docker-8c-8g-19453 does not seem to be running inside a container [2022-04-11T03:31:24.486Z] $ 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-341/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-341 -v /w/workspace/gexfoundry_device-mqtt-go_PR-341:/w/workspace/gexfoundry_device-mqtt-go_PR-341:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-341@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-11T03:31:24.763Z] $ docker top 39d3318ad1b649124196b4c4da75c2a26938ffc6b9ea4777e9f3a722bdd259d8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-11T03:31:25.121Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-11T03:31:25.410Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-11T03:31:25.701Z] + ls /var/log/sa-host [2022-04-11T03:31:25.701Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-11T03:31:25.935Z] provisioning config files... [2022-04-11T03:31:25.946Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config7154006857644774771tmp [Pipeline] { [Pipeline] echo [2022-04-11T03:31:25.963Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:31:26.247Z] ---> create-netrc.sh [Pipeline] } [2022-04-11T03:31:26.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:31:26.597Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-11T03:31:26.607Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:31:26.893Z] ---> sudo-logs.sh [2022-04-11T03:31:26.893Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-11T03:31:26.913Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:31:27.199Z] ---> job-cost.sh [2022-04-11T03:31:27.199Z] lf-activate-venv: SKIPPING [2022-04-11T03:31:27.199Z] DEBUG: total: 0.2199999988079071 [2022-04-11T03:31:27.199Z] INFO: Retrieving Stack Cost... [2022-04-11T03:31:27.458Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-11T03:31:28.398Z] INFO: Archiving Costs [Pipeline] echo [2022-04-11T03:31:28.411Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-11T03:31:28.695Z] ---> logs-deploy.sh [2022-04-11T03:31:28.695Z] lf-activate-venv: SKIPPING [2022-04-11T03:31:28.695Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-341/13 [2022-04-11T03:31:28.695Z] INFO: archiving workspace using pattern(s): [2022-04-11T03:31:29.639Z] Archives upload complete. [2022-04-11T03:31:29.639Z] INFO: archiving logs to Nexus