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+f2e2f8ada396003354e6b6ef510b55319cadc912 (79dad04522eeba5593fad010ce59de0d87ed6b18) 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-ssh9626016328606250468.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-ssh4427008230764143469.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-ssh1439795749845897.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-ssh9387412243261287214.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-ssh17946598264059512405.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 Running on prd-ubuntu20.04-docker-8c-8g-11385 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 f2e2f8ada396003354e6b6ef510b55319cadc912 into PR head commit fd9a27eb9feca985b531b7e41b017e7d5070406d Merge succeeded, producing 1a55f4adae1ba8778254e62c86c4e2cde5785df0 Checking out Revision 1a55f4adae1ba8778254e62c86c4e2cde5785df0 (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 f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a55f4adae1ba8778254e62c86c4e2cde5785df0 # timeout=10 Commit message: "Merge commit 'f2e2f8ada396003354e6b6ef510b55319cadc912' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-07T03:17:16.070Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk 0a415ea9bfe36a85a856b5e78368d178a3d08c44 # timeout=10 [Pipeline] withCredentials [2022-04-07T03:17:16.132Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-07T03:17:16.146Z] ========================================================= [2022-04-07T03:17:16.146Z] EdgeX Global Pipelines Version Info [2022-04-07T03:17:16.146Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:17:16.920Z] ------------------- [2022-04-07T03:17:16.920Z] stable info: [2022-04-07T03:17:16.920Z] ------------------- [2022-04-07T03:17:16.920Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-07T03:17:16.920Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T03:17:16.920Z] Message: update stable to v1.0.221 [2022-04-07T03:17:17.491Z] ------------------- [2022-04-07T03:17:17.491Z] experimental info: [2022-04-07T03:17:17.491Z] ------------------- [2022-04-07T03:17:17.491Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-07T03:17:17.491Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-07T03:17:17.491Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-07T03:17:17.624Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-04-07T03:17:17.637Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-04-07T03:17:17.650Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-07T03:17:17.665Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-07T03:17:17.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-07T03:17:17.695Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-07T03:17:17.706Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-07T03:17:17.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-07T03:17:17.731Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-07T03:17:17.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-07T03:17:17.754Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-07T03:17:17.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-04-07T03:17:17.780Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-07T03:17:17.791Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-07T03:17:17.804Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T03:17:17.815Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-07T03:17:17.826Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T03:17:17.838Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-07T03:17:17.852Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-07T03:17:17.868Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-07T03:17:17.879Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-07T03:17:17.890Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-07T03:17:17.905Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-07T03:17:17.914Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-07T03:17:17.930Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-07T03:17:17.946Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-07T03:17:17.963Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-341 [Pipeline] echo [2022-04-07T03:17:17.980Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-341 [Pipeline] echo [2022-04-07T03:17:17.997Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-341 [Pipeline] echo [2022-04-07T03:17:18.006Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] echo [2022-04-07T03:17:18.018Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1a55f4a [Pipeline] echo [2022-04-07T03:17:18.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T03:17:18.074Z] provisioning config files... [2022-04-07T03:17:18.091Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config1649329955203051128tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:17:18.433Z] ---> docker-login.sh [2022-04-07T03:17:18.433Z] nexus3.edgexfoundry.org:10001 [2022-04-07T03:17:18.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:18.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:18.960Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:18.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:18.960Z] [2022-04-07T03:17:18.960Z] Login Succeeded [2022-04-07T03:17:18.960Z] nexus3.edgexfoundry.org:10002 [2022-04-07T03:17:18.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:18.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:18.960Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:18.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:18.960Z] [2022-04-07T03:17:18.960Z] Login Succeeded [2022-04-07T03:17:18.960Z] nexus3.edgexfoundry.org:10003 [2022-04-07T03:17:19.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:19.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:19.222Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:19.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:19.223Z] [2022-04-07T03:17:19.223Z] Login Succeeded [2022-04-07T03:17:19.223Z] nexus3.edgexfoundry.org:10004 [2022-04-07T03:17:19.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:19.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:19.486Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:19.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:19.486Z] [2022-04-07T03:17:19.486Z] Login Succeeded [2022-04-07T03:17:19.486Z] docker.io [2022-04-07T03:17:19.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:19.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:19.749Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:19.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:19.749Z] [2022-04-07T03:17:19.749Z] Login Succeeded [2022-04-07T03:17:19.749Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T03:17:19.761Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-07T03:17:20.149Z] + git rev-list -1 --merges 1a55f4adae1ba8778254e62c86c4e2cde5785df0~1..1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] echo [2022-04-07T03:17:20.187Z] -----------> git rev-list -1 --merges 1a55f4adae1ba8778254e62c86c4e2cde5785df0~1..1a55f4adae1ba8778254e62c86c4e2cde5785df0 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [2022-04-07T03:17:20.187Z] 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [false] [Pipeline] sh [2022-04-07T03:17:20.485Z] + git log --format=format:%s -1 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] echo [2022-04-07T03:17:20.505Z] ========================================================= [2022-04-07T03:17:20.505Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-07T03:17:20.505Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T03:17:20.834Z] + git log --format=format:%s -1 1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] echo [2022-04-07T03:17:20.848Z] [semverPrep] GIT_COMMIT: 1a55f4adae1ba8778254e62c86c4e2cde5785df0, Commit Message: Merge commit 'f2e2f8ada396003354e6b6ef510b55319cadc912' into HEAD [Pipeline] echo [2022-04-07T03:17:20.859Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-07T03:17:21.277Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-07T03:17:21.277Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-07T03:17:21.277Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-07T03:17:21.277Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-07T03:17:21.277Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-07T03:17:21.277Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-07T03:17:21.277Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:17:21.692Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T03:17:21.693Z] [2022-04-07T03:17:21.693Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:17:22.001Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T03:17:22.001Z] latest: Pulling from edgex-devops/git-semver [2022-04-07T03:17:22.001Z] a0d0a0d46f8b: Pulling fs layer [2022-04-07T03:17:22.001Z] 3e5f54012d9b: Pulling fs layer [2022-04-07T03:17:22.001Z] 4c7163046ea9: Pulling fs layer [2022-04-07T03:17:22.001Z] 0c2d73faf560: Pulling fs layer [2022-04-07T03:17:22.001Z] 0c2d73faf560: Waiting [2022-04-07T03:17:22.263Z] 3e5f54012d9b: Download complete [2022-04-07T03:17:22.263Z] a0d0a0d46f8b: Verifying Checksum [2022-04-07T03:17:22.263Z] a0d0a0d46f8b: Download complete [2022-04-07T03:17:22.524Z] a0d0a0d46f8b: Pull complete [2022-04-07T03:17:22.524Z] 0c2d73faf560: Verifying Checksum [2022-04-07T03:17:22.524Z] 0c2d73faf560: Download complete [2022-04-07T03:17:22.524Z] 4c7163046ea9: Verifying Checksum [2022-04-07T03:17:22.524Z] 4c7163046ea9: Download complete [2022-04-07T03:17:22.524Z] 3e5f54012d9b: Pull complete [2022-04-07T03:17:22.785Z] 4c7163046ea9: Pull complete [2022-04-07T03:17:23.048Z] 0c2d73faf560: Pull complete [2022-04-07T03:17:23.048Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-07T03:17:23.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-07T03:17:23.048Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-07T03:17:23.239Z] prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container [2022-04-07T03:17:23.312Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-07T03:17:24.018Z] $ docker top 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-07T03:17:24.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T03:17:24.126Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T03:17:24.255Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T03:17:24.265Z] $ docker exec 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 ssh-agent [2022-04-07T03:17:24.397Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGFPhHe/agent.14 [2022-04-07T03:17:24.397Z] SSH_AGENT_PID=20 [2022-04-07T03:17:24.406Z] Running ssh-add (command line suppressed) [2022-04-07T03:17:24.533Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_7619384532381843602.key (/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_7619384532381843602.key) [2022-04-07T03:17:24.543Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T03:17:24.839Z] + git tag --points-at HEAD [Pipeline] } [2022-04-07T03:17:24.866Z] $ docker exec --env ******** --env ******** 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 ssh-agent -k [2022-04-07T03:17:24.983Z] unset SSH_AUTH_SOCK; [2022-04-07T03:17:24.984Z] unset SSH_AGENT_PID; [2022-04-07T03:17:24.984Z] echo Agent pid 20 killed; [2022-04-07T03:17:24.988Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-07T03:17:25.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-07T03:17:25.017Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-07T03:17:25.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-07T03:17:25.143Z] $ docker exec 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 ssh-agent [2022-04-07T03:17:25.262Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGmmalj/agent.52 [2022-04-07T03:17:25.262Z] SSH_AGENT_PID=58 [2022-04-07T03:17:25.267Z] Running ssh-add (command line suppressed) [2022-04-07T03:17:25.395Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_7001978755963087614.key (/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/private_key_7001978755963087614.key) [2022-04-07T03:17:25.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-07T03:17:25.696Z] + git semver init [2022-04-07T03:17:25.696Z] # -> Open(): unable to determine branch for HEAD [2022-04-07T03:17:25.696Z] # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-341/.git [2022-04-07T03:17:25.696Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-341 [2022-04-07T03:17:25.696Z] # $SEMVER_REMOTE_NAME = origin [2022-04-07T03:17:25.696Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-07T03:17:25.696Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-07T03:17:25.696Z] # $SEMVER_BRANCH = PR-341 [2022-04-07T03:17:25.696Z] # $SEMVER_TEMP = /tmp/semver-280127142 [2022-04-07T03:17:25.696Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-04-07T03:17:26.642Z] # '/tmp/semver-280127142' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-341/.semver' [2022-04-07T03:17:26.642Z] # -> Force: false [2022-04-07T03:17:26.642Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-341/.semver [Pipeline] } [2022-04-07T03:17:26.659Z] $ docker exec --env ******** --env ******** 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 ssh-agent -k [2022-04-07T03:17:26.774Z] unset SSH_AUTH_SOCK; [2022-04-07T03:17:26.774Z] unset SSH_AGENT_PID; [2022-04-07T03:17:26.774Z] echo Agent pid 58 killed; [2022-04-07T03:17:26.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-07T03:17:27.095Z] + git semver [Pipeline] } [2022-04-07T03:17:27.115Z] $ docker stop --time=1 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 [2022-04-07T03:17:28.480Z] $ docker rm -f 51679b85f4785ae900190e1cd2229f148da3d97b210124322a4040739f0831b1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T03:17:28.835Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-07T03:17:29.091Z] Stashed 1 file(s) [Pipeline] echo [2022-04-07T03:17:29.094Z] [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-07T03:17:29.245Z] provisioning config files... [2022-04-07T03:17:29.255Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config4810438451913508125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:17:29.564Z] ---> docker-login.sh [2022-04-07T03:17:29.564Z] nexus3.edgexfoundry.org:10001 [2022-04-07T03:17:29.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:29.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:29.564Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:29.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:29.564Z] [2022-04-07T03:17:29.564Z] Login Succeeded [2022-04-07T03:17:29.564Z] nexus3.edgexfoundry.org:10002 [2022-04-07T03:17:29.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:29.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:29.827Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:29.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:29.827Z] [2022-04-07T03:17:29.827Z] Login Succeeded [2022-04-07T03:17:29.827Z] nexus3.edgexfoundry.org:10003 [2022-04-07T03:17:29.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:29.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:29.827Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:29.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:29.827Z] [2022-04-07T03:17:29.827Z] Login Succeeded [2022-04-07T03:17:29.827Z] nexus3.edgexfoundry.org:10004 [2022-04-07T03:17:30.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:30.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:30.089Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:30.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:30.089Z] [2022-04-07T03:17:30.089Z] Login Succeeded [2022-04-07T03:17:30.089Z] docker.io [2022-04-07T03:17:30.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:17:30.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:17:30.611Z] Configure a credential helper to remove this warning. See [2022-04-07T03:17:30.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:17:30.611Z] [2022-04-07T03:17:30.611Z] Login Succeeded [2022-04-07T03:17:30.611Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T03:17:30.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T03:17:30.685Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T03:17:30.698Z] ========================================================= [2022-04-07T03:17:30.698Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-07T03:17:30.698Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:17:31.016Z] + 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-07T03:17:31.016Z] Sending build context to Docker daemon 5.906MB [2022-04-07T03:17:31.016Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T03:17:31.016Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-07T03:17:31.278Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-07T03:17:31.278Z] 59bf1c3509f3: Pulling fs layer [2022-04-07T03:17:31.278Z] 666ba61612fd: Pulling fs layer [2022-04-07T03:17:31.278Z] 8ed8ca486205: Pulling fs layer [2022-04-07T03:17:31.278Z] 4fe6c5a15a65: Pulling fs layer [2022-04-07T03:17:31.278Z] 22a0e8bec74d: Pulling fs layer [2022-04-07T03:17:31.278Z] 640e595b4fbd: Pulling fs layer [2022-04-07T03:17:31.278Z] 763cafe07f6e: Pulling fs layer [2022-04-07T03:17:31.278Z] 0c0b528cf693: Pulling fs layer [2022-04-07T03:17:31.278Z] 10935f4eaf8b: Pulling fs layer [2022-04-07T03:17:31.278Z] 4fe6c5a15a65: Waiting [2022-04-07T03:17:31.278Z] 763cafe07f6e: Waiting [2022-04-07T03:17:31.278Z] 0c0b528cf693: Waiting [2022-04-07T03:17:31.278Z] 22a0e8bec74d: Waiting [2022-04-07T03:17:31.278Z] 10935f4eaf8b: Waiting [2022-04-07T03:17:31.278Z] 640e595b4fbd: Waiting [2022-04-07T03:17:31.278Z] 8ed8ca486205: Verifying Checksum [2022-04-07T03:17:31.278Z] 8ed8ca486205: Download complete [2022-04-07T03:17:31.278Z] 666ba61612fd: Verifying Checksum [2022-04-07T03:17:31.278Z] 666ba61612fd: Download complete [2022-04-07T03:17:31.539Z] 59bf1c3509f3: Verifying Checksum [2022-04-07T03:17:31.539Z] 59bf1c3509f3: Download complete [2022-04-07T03:17:31.539Z] 640e595b4fbd: Verifying Checksum [2022-04-07T03:17:31.539Z] 640e595b4fbd: Download complete [2022-04-07T03:17:31.539Z] 22a0e8bec74d: Download complete [2022-04-07T03:17:31.540Z] 763cafe07f6e: Verifying Checksum [2022-04-07T03:17:31.540Z] 763cafe07f6e: Download complete [2022-04-07T03:17:31.540Z] 59bf1c3509f3: Pull complete [2022-04-07T03:17:31.801Z] 0c0b528cf693: Verifying Checksum [2022-04-07T03:17:31.801Z] 0c0b528cf693: Download complete [2022-04-07T03:17:31.801Z] 666ba61612fd: Pull complete [2022-04-07T03:17:31.801Z] 8ed8ca486205: Pull complete [2022-04-07T03:17:32.373Z] 4fe6c5a15a65: Verifying Checksum [2022-04-07T03:17:32.373Z] 4fe6c5a15a65: Download complete [2022-04-07T03:17:32.634Z] 10935f4eaf8b: Verifying Checksum [2022-04-07T03:17:32.634Z] 10935f4eaf8b: Download complete [2022-04-07T03:17:36.838Z] 4fe6c5a15a65: Pull complete [2022-04-07T03:17:36.838Z] 22a0e8bec74d: Pull complete [2022-04-07T03:17:36.838Z] 640e595b4fbd: Pull complete [2022-04-07T03:17:36.838Z] 763cafe07f6e: Pull complete [2022-04-07T03:17:37.098Z] 0c0b528cf693: Pull complete [2022-04-07T03:17:39.642Z] 10935f4eaf8b: Pull complete [2022-04-07T03:17:39.642Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-07T03:17:39.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-07T03:17:39.642Z] ---> 99d49a6021b9 [2022-04-07T03:17:39.642Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T03:17:40.588Z] ---> Running in f03b0c4c5357 [2022-04-07T03:17:40.849Z] Removing intermediate container f03b0c4c5357 [2022-04-07T03:17:40.849Z] ---> ba9010c1fc42 [2022-04-07T03:17:40.849Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T03:17:40.849Z] ---> Running in 1db0c7a46b77 [2022-04-07T03:17:40.849Z] Removing intermediate container 1db0c7a46b77 [2022-04-07T03:17:40.849Z] ---> b9fac22b55a4 [2022-04-07T03:17:40.849Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T03:17:40.849Z] ---> Running in db9e3ce99541 [2022-04-07T03:17:41.796Z] Removing intermediate container db9e3ce99541 [2022-04-07T03:17:41.796Z] ---> c5a03bf2fb44 [2022-04-07T03:17:41.796Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T03:17:41.796Z] ---> Running in fc1cd934795d [2022-04-07T03:17:42.059Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T03:17:43.015Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T03:17:43.276Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-07T03:17:43.276Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-07T03:17:43.276Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-07T03:17:43.537Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-07T03:17:43.537Z] Executing busybox-1.34.1-r3.trigger [2022-04-07T03:17:43.537Z] OK: 224 MiB in 56 packages [2022-04-07T03:17:44.106Z] Removing intermediate container fc1cd934795d [2022-04-07T03:17:44.106Z] ---> fc653bb30e49 [2022-04-07T03:17:44.106Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-07T03:17:44.106Z] ---> Running in 82854e1b1073 [2022-04-07T03:17:44.106Z] Removing intermediate container 82854e1b1073 [2022-04-07T03:17:44.106Z] ---> f5ce97c17518 [2022-04-07T03:17:44.106Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-07T03:17:44.204Z] Still waiting to schedule task [2022-04-07T03:17:44.204Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-04-07T03:17:44.366Z] ---> d4998329e92d [2022-04-07T03:17:44.366Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T03:17:44.366Z] ---> Running in d25cd768da85 [2022-04-07T03:18:02.494Z] Removing intermediate container d25cd768da85 [2022-04-07T03:18:02.494Z] ---> 451f5a7f82cc [2022-04-07T03:18:02.494Z] Step 10/12 : COPY . . [2022-04-07T03:18:02.494Z] ---> 8b223d2c4278 [2022-04-07T03:18:02.494Z] Step 11/12 : ARG MAKE='make build' [2022-04-07T03:18:02.494Z] ---> Running in f92da1c6d479 [2022-04-07T03:18:02.494Z] Removing intermediate container f92da1c6d479 [2022-04-07T03:18:02.494Z] ---> cc55c38779d0 [2022-04-07T03:18:02.494Z] Step 12/12 : RUN $MAKE [2022-04-07T03:18:02.494Z] ---> Running in f5c3196943dc [2022-04-07T03:18:02.494Z] noop [2022-04-07T03:18:02.494Z] Removing intermediate container f5c3196943dc [2022-04-07T03:18:02.494Z] ---> 228e66643d4d [2022-04-07T03:18:02.494Z] Successfully built 228e66643d4d [2022-04-07T03:18:02.494Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:18:02.800Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T03:18:02.800Z] . [Pipeline] withDockerContainer [2022-04-07T03:18:02.877Z] prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container [2022-04-07T03:18:02.920Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-07T03:18:03.353Z] $ docker top b90fdd1797f25d18049df52f8575784dff36e34033ce819e34d06f81291d991e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T03:18:03.724Z] + go version [2022-04-07T03:18:03.725Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-07T03:18:03.745Z] $ docker stop --time=1 b90fdd1797f25d18049df52f8575784dff36e34033ce819e34d06f81291d991e [2022-04-07T03:18:05.050Z] $ docker rm -f b90fdd1797f25d18049df52f8575784dff36e34033ce819e34d06f81291d991e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:18:05.477Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-07T03:18:05.477Z] . [Pipeline] withDockerContainer [2022-04-07T03:18:05.553Z] prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container [2022-04-07T03:18:05.601Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-04-07T03:18:06.039Z] $ docker top 7f4821cdf544dc91aefe00f95d50eec899f990071da4213bf635548b671645a7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T03:18:06.426Z] + make test [2022-04-07T03:18:06.426Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-07T03:18:06.998Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-07T03:18:16.994Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-07T03:18:16.994Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-04-07T03:18:16.994Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-07T03:18:25.134Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-07T03:18:29.343Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T03:18:29.343Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T03:18:29.343Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T03:18:29.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T03:18:29.399Z] $ docker stop --time=1 7f4821cdf544dc91aefe00f95d50eec899f990071da4213bf635548b671645a7 [2022-04-07T03:18:31.114Z] $ docker rm -f 7f4821cdf544dc91aefe00f95d50eec899f990071da4213bf635548b671645a7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T03:18:31.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T03:18:31.670Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-07T03:18:32.686Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T03:18:32.983Z] + ls -al . [2022-04-07T03:18:32.983Z] total 176 [2022-04-07T03:18:32.983Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 03:18 . [2022-04-07T03:18:32.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:17 .. [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 03:17 .dockerignore [2022-04-07T03:18:32.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 03:17 .git [2022-04-07T03:18:32.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:17 .github [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 03:17 .gitignore [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 03:17 .golangci.yml [2022-04-07T03:18:32.983Z] drwx------ 3 jenkins jenkins 4096 Apr 7 03:17 .semver [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 7 03:17 Attribution.txt [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 7 03:17 CHANGELOG.md [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 7 03:17 Dockerfile [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 03:17 GOVERNANCE.md [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 03:17 Jenkinsfile [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 03:17 LICENSE [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 1544 Apr 7 03:17 Makefile [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 03:17 OWNERS.md [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 7 03:17 README.md [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 03:17 VERSION [2022-04-07T03:18:32.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:17 bin [2022-04-07T03:18:32.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:17 cmd [2022-04-07T03:18:32.983Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 7 03:18 coverage.out [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 7 03:17 go.mod [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 7 03:17 go.sum [2022-04-07T03:18:32.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:17 internal [2022-04-07T03:18:32.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:17 mock [2022-04-07T03:18:32.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:17 snap [2022-04-07T03:18:32.983Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 03:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:18:33.291Z] + 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=1a55f4adae1ba8778254e62c86c4e2cde5785df0 --label arch=amd64 --label version=0.0.0 . [2022-04-07T03:18:33.291Z] Sending build context to Docker daemon 5.924MB [2022-04-07T03:18:33.291Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T03:18:33.291Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-07T03:18:33.291Z] ---> 228e66643d4d [2022-04-07T03:18:33.291Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T03:18:33.291Z] ---> Running in 45db4bda291c [2022-04-07T03:18:33.555Z] Removing intermediate container 45db4bda291c [2022-04-07T03:18:33.556Z] ---> 4657344671c0 [2022-04-07T03:18:33.556Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T03:18:33.556Z] ---> Running in 7093f489ba53 [2022-04-07T03:18:33.556Z] Removing intermediate container 7093f489ba53 [2022-04-07T03:18:33.556Z] ---> ba9ee5949a8e [2022-04-07T03:18:33.556Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T03:18:33.556Z] ---> Running in 80c44896c737 [2022-04-07T03:18:34.500Z] Removing intermediate container 80c44896c737 [2022-04-07T03:18:34.500Z] ---> a1f0c621f7dd [2022-04-07T03:18:34.500Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T03:18:34.500Z] ---> Running in 8509e81344c6 [2022-04-07T03:18:34.762Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-07T03:18:35.705Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-07T03:18:35.705Z] OK: 224 MiB in 56 packages [2022-04-07T03:18:36.276Z] Removing intermediate container 8509e81344c6 [2022-04-07T03:18:36.276Z] ---> 63a4695c1186 [2022-04-07T03:18:36.276Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-07T03:18:36.276Z] ---> Running in b794f0ea871c [2022-04-07T03:18:36.276Z] Removing intermediate container b794f0ea871c [2022-04-07T03:18:36.276Z] ---> 8ab83fd5c60e [2022-04-07T03:18:36.276Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-07T03:18:36.537Z] ---> 964f1c50a7d1 [2022-04-07T03:18:36.537Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T03:18:36.537Z] ---> Running in b870adca63fe [2022-04-07T03:18:37.109Z] Removing intermediate container b870adca63fe [2022-04-07T03:18:37.109Z] ---> c3bf59eb9576 [2022-04-07T03:18:37.109Z] Step 10/24 : COPY . . [2022-04-07T03:18:37.690Z] ---> dd6228eac165 [2022-04-07T03:18:37.690Z] Step 11/24 : ARG MAKE='make build' [2022-04-07T03:18:37.690Z] ---> Running in 99040f6c5f57 [2022-04-07T03:18:37.690Z] Removing intermediate container 99040f6c5f57 [2022-04-07T03:18:37.690Z] ---> 94b24eb26cae [2022-04-07T03:18:37.690Z] Step 12/24 : RUN $MAKE [2022-04-07T03:18:37.690Z] ---> Running in b80cbdbf084b [2022-04-07T03:18:37.950Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-07T03:18:52.858Z] Removing intermediate container b80cbdbf084b [2022-04-07T03:18:52.858Z] ---> 155866fbd0c3 [2022-04-07T03:18:52.858Z] Step 13/24 : FROM alpine:3.14 [2022-04-07T03:18:52.858Z] 3.14: Pulling from library/alpine [2022-04-07T03:18:52.858Z] 8663204ce13b: Pulling fs layer [2022-04-07T03:18:52.858Z] 8663204ce13b: Verifying Checksum [2022-04-07T03:18:52.858Z] 8663204ce13b: Download complete [2022-04-07T03:18:52.858Z] 8663204ce13b: Pull complete [2022-04-07T03:18:52.858Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T03:18:52.858Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T03:18:52.858Z] ---> e04c818066af [2022-04-07T03:18:52.858Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-07T03:18:52.858Z] ---> Running in 5ea9735c05a9 [2022-04-07T03:18:52.858Z] Removing intermediate container 5ea9735c05a9 [2022-04-07T03:18:52.858Z] ---> d1f60960697c [2022-04-07T03:18:52.858Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-07T03:18:52.858Z] ---> Running in af9202d18bc4 [2022-04-07T03:18:52.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-07T03:18:52.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-07T03:18:52.858Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-07T03:18:52.858Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T03:18:52.858Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-07T03:18:52.858Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T03:18:52.858Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-07T03:18:52.858Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-07T03:18:52.858Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T03:18:52.858Z] OK: 8 MiB in 20 packages [2022-04-07T03:18:53.430Z] Removing intermediate container af9202d18bc4 [2022-04-07T03:18:53.430Z] ---> 86a52aaebcfa [2022-04-07T03:18:53.430Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-07T03:18:54.002Z] ---> 02da98d74c1b [2022-04-07T03:18:54.002Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-07T03:18:54.002Z] ---> ffd82ef5fac2 [2022-04-07T03:18:54.002Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-07T03:18:54.263Z] ---> 9ac8678bd577 [2022-04-07T03:18:54.263Z] Step 19/24 : EXPOSE 59982 [2022-04-07T03:18:54.263Z] ---> Running in 5745792ab8d0 [2022-04-07T03:18:54.263Z] Removing intermediate container 5745792ab8d0 [2022-04-07T03:18:54.263Z] ---> 8a58081230fa [2022-04-07T03:18:54.263Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-07T03:18:54.540Z] ---> Running in ceb146ec5d33 [2022-04-07T03:18:54.540Z] Removing intermediate container ceb146ec5d33 [2022-04-07T03:18:54.540Z] ---> 57ad62194973 [2022-04-07T03:18:54.540Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-07T03:18:54.540Z] ---> Running in ed3cdfd96f26 [2022-04-07T03:18:54.540Z] Removing intermediate container ed3cdfd96f26 [2022-04-07T03:18:54.540Z] ---> 891112872c3b [2022-04-07T03:18:54.540Z] Step 22/24 : LABEL arch=amd64 [2022-04-07T03:18:54.803Z] ---> Running in c8c52b695244 [2022-04-07T03:18:54.803Z] Removing intermediate container c8c52b695244 [2022-04-07T03:18:54.803Z] ---> 56c03ccf72b7 [2022-04-07T03:18:54.803Z] Step 23/24 : LABEL git_sha=1a55f4adae1ba8778254e62c86c4e2cde5785df0 [2022-04-07T03:18:54.803Z] ---> Running in 2ce9ae2132e5 [2022-04-07T03:18:54.803Z] Removing intermediate container 2ce9ae2132e5 [2022-04-07T03:18:54.803Z] ---> 3416ee131931 [2022-04-07T03:18:54.803Z] Step 24/24 : LABEL version=0.0.0 [2022-04-07T03:18:55.065Z] ---> Running in 7d98bdbcb369 [2022-04-07T03:18:55.065Z] Removing intermediate container 7d98bdbcb369 [2022-04-07T03:18:55.065Z] ---> 4cc88131ebe6 [2022-04-07T03:18:55.065Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T03:18:55.065Z] Successfully built 4cc88131ebe6 [2022-04-07T03:18:55.065Z] 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-07T03:18:55.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T03:18:55.494Z] [2022-04-07T03:18:55.494Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:18:55.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T03:18:55.803Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-07T03:18:55.803Z] 5eb5b503b376: Pulling fs layer [2022-04-07T03:18:55.803Z] 5c69ac0246d0: Pulling fs layer [2022-04-07T03:18:55.803Z] ec43610c2a17: Pulling fs layer [2022-04-07T03:18:55.803Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-07T03:18:55.803Z] 33b1e0a273af: Pulling fs layer [2022-04-07T03:18:55.803Z] 5d3b04190fa2: Pulling fs layer [2022-04-07T03:18:55.803Z] 2f39f015ded8: Pulling fs layer [2022-04-07T03:18:55.803Z] 33b1e0a273af: Waiting [2022-04-07T03:18:55.803Z] 2f39f015ded8: Waiting [2022-04-07T03:18:55.803Z] 3a2ae6a8a46f: Waiting [2022-04-07T03:18:55.803Z] 5c69ac0246d0: Verifying Checksum [2022-04-07T03:18:55.803Z] 5c69ac0246d0: Download complete [2022-04-07T03:18:55.803Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-07T03:18:55.803Z] 3a2ae6a8a46f: Download complete [2022-04-07T03:18:56.065Z] 33b1e0a273af: Verifying Checksum [2022-04-07T03:18:56.065Z] 33b1e0a273af: Download complete [2022-04-07T03:18:56.065Z] 5d3b04190fa2: Verifying Checksum [2022-04-07T03:18:56.065Z] 5d3b04190fa2: Download complete [2022-04-07T03:18:56.065Z] ec43610c2a17: Verifying Checksum [2022-04-07T03:18:56.065Z] 5eb5b503b376: Verifying Checksum [2022-04-07T03:18:56.065Z] 5eb5b503b376: Download complete [2022-04-07T03:18:56.636Z] 2f39f015ded8: Download complete [2022-04-07T03:18:57.578Z] 5eb5b503b376: Pull complete [2022-04-07T03:18:57.578Z] 5c69ac0246d0: Pull complete [2022-04-07T03:18:58.147Z] ec43610c2a17: Pull complete [2022-04-07T03:18:58.147Z] 3a2ae6a8a46f: Pull complete [2022-04-07T03:18:58.408Z] 33b1e0a273af: Pull complete [2022-04-07T03:18:58.668Z] 5d3b04190fa2: Pull complete [2022-04-07T03:19:03.956Z] 2f39f015ded8: Pull complete [2022-04-07T03:19:03.956Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-07T03:19:03.956Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T03:19:03.956Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-07T03:19:04.032Z] prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container [2022-04-07T03:19:04.080Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-07T03:19:05.699Z] $ docker top 8818a4ae072bac4a2744b250ce179852608f3b8f2fceb7b8f9c933d8cfd90b51 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:19:06.148Z] ---> job-cost.sh [2022-04-07T03:19:06.148Z] lf-activate-venv: SKIPPING [2022-04-07T03:19:06.148Z] INFO: No Stack... [2022-04-07T03:19:06.719Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T03:19:06.981Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T03:19:07.282Z] + + cat /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/cost.csv [2022-04-07T03:19:07.282Z] cut -d, -f6 [Pipeline] lock [2022-04-07T03:19:07.296Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [2022-04-07T03:19:07.304Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] did not exist. Created. [2022-04-07T03:19:07.304Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T03:19:07.612Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-07T03:19:07.651Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T03:19:07.657Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T03:19:07.685Z] $ docker stop --time=1 8818a4ae072bac4a2744b250ce179852608f3b8f2fceb7b8f9c933d8cfd90b51 [2022-04-07T03:19:08.875Z] $ docker rm -f 8818a4ae072bac4a2744b250ce179852608f3b8f2fceb7b8f9c933d8cfd90b51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-07T03:19:18.703Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11386 in /w/workspace/gexfoundry_device-mqtt-go_PR-341 [Pipeline] { [Pipeline] ws [2022-04-07T03:19:18.715Z] Running in /w/workspace/device-mqtt-go/12 [Pipeline] { [Pipeline] checkout [2022-04-07T03:19:19.359Z] Selected Git installation does not exist. Using Default [2022-04-07T03:19:19.359Z] The recommended git tool is: NONE [2022-04-07T03:19:26.468Z] using credential edgex-jenkins-ssh [2022-04-07T03:19:26.489Z] Cloning the remote Git repository [2022-04-07T03:19:26.605Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-07T03:19:26.776Z] > git init /w/workspace/device-mqtt-go/12 # timeout=10 [2022-04-07T03:19:26.987Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-07T03:19:26.989Z] > git --version # timeout=10 [2022-04-07T03:19:27.107Z] > git --version # 'git version 2.25.1' [2022-04-07T03:19:27.109Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T03:19:27.229Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T03:19:29.181Z] Merging remotes/origin/main commit f2e2f8ada396003354e6b6ef510b55319cadc912 into PR head commit fd9a27eb9feca985b531b7e41b017e7d5070406d [2022-04-07T03:19:29.561Z] Merge succeeded, producing 50a080a4fed696b372d69fd9a55d92737e59f87b [2022-04-07T03:19:29.562Z] Checking out Revision 50a080a4fed696b372d69fd9a55d92737e59f87b (PR-341) [2022-04-07T03:19:28.447Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-07T03:19:28.482Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-07T03:19:28.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-04-07T03:19:28.550Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-04-07T03:19:28.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T03:19:28.568Z] > 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-07T03:19:29.202Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T03:19:29.246Z] > git checkout -f fd9a27eb9feca985b531b7e41b017e7d5070406d # timeout=10 [2022-04-07T03:19:29.375Z] > git remote # timeout=10 [2022-04-07T03:19:29.404Z] > git config --get remote.origin.url # timeout=10 [2022-04-07T03:19:29.452Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-07T03:19:29.469Z] > git merge f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 [2022-04-07T03:19:29.547Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-04-07T03:19:29.570Z] > git config core.sparsecheckout # timeout=10 [2022-04-07T03:19:29.588Z] > git checkout -f 50a080a4fed696b372d69fd9a55d92737e59f87b # timeout=10 [2022-04-07T03:19:33.835Z] Commit message: "Merge commit 'f2e2f8ada396003354e6b6ef510b55319cadc912' into HEAD" [2022-04-07T03:19:33.860Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T03:19:33.844Z] > git rev-list --no-walk 0a415ea9bfe36a85a856b5e78368d178a3d08c44 # timeout=10 [2022-04-07T03:19:34.864Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-07T03:19:34.864Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T03:19:34.864Z] Dload Upload Total Spent Left Speed [2022-04-07T03:19:34.864Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 50182 0 --:--:-- --:--:-- --:--:-- 50182 [Pipeline] sh [2022-04-07T03:19:35.381Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-07T03:19:35.725Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-07T03:19:35.725Z] + sudo tee /etc/docker/daemon.new [2022-04-07T03:19:35.725Z] { [2022-04-07T03:19:35.725Z] "registry-mirrors": [ [2022-04-07T03:19:35.725Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-07T03:19:35.725Z] ], [2022-04-07T03:19:35.725Z] "bip": "10.250.0.254/24", [2022-04-07T03:19:35.725Z] "hosts": [ [2022-04-07T03:19:35.725Z] "tcp://0.0.0.0:5555", [2022-04-07T03:19:35.725Z] "unix:///var/run/docker.sock" [2022-04-07T03:19:35.725Z] ], [2022-04-07T03:19:35.725Z] "mtu": 1458, [2022-04-07T03:19:35.725Z] "selinux-enabled": true, [2022-04-07T03:19:35.725Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-07T03:19:35.725Z] } [Pipeline] sh [2022-04-07T03:19:36.073Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-07T03:19:36.422Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T03:19:54.823Z] provisioning config files... [2022-04-07T03:19:54.848Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/12@tmp/config1756319358679435352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:19:55.213Z] ---> docker-login.sh [2022-04-07T03:19:55.213Z] nexus3.edgexfoundry.org:10001 [2022-04-07T03:19:55.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:19:56.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:19:56.086Z] Configure a credential helper to remove this warning. See [2022-04-07T03:19:56.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:19:56.086Z] [2022-04-07T03:19:56.086Z] Login Succeeded [2022-04-07T03:19:56.086Z] nexus3.edgexfoundry.org:10002 [2022-04-07T03:19:56.360Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:19:56.360Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:19:56.360Z] Configure a credential helper to remove this warning. See [2022-04-07T03:19:56.360Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:19:56.360Z] [2022-04-07T03:19:56.360Z] Login Succeeded [2022-04-07T03:19:56.360Z] nexus3.edgexfoundry.org:10003 [2022-04-07T03:19:56.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:19:56.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:19:56.959Z] Configure a credential helper to remove this warning. See [2022-04-07T03:19:56.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:19:56.959Z] [2022-04-07T03:19:56.960Z] Login Succeeded [2022-04-07T03:19:56.960Z] nexus3.edgexfoundry.org:10004 [2022-04-07T03:19:57.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:19:57.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:19:57.512Z] Configure a credential helper to remove this warning. See [2022-04-07T03:19:57.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:19:57.512Z] [2022-04-07T03:19:57.512Z] Login Succeeded [2022-04-07T03:19:57.512Z] docker.io [2022-04-07T03:19:57.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-07T03:19:58.060Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-07T03:19:58.060Z] Configure a credential helper to remove this warning. See [2022-04-07T03:19:58.060Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-07T03:19:58.060Z] [2022-04-07T03:19:58.060Z] Login Succeeded [2022-04-07T03:19:58.060Z] ---> docker-login.sh ends [Pipeline] } [2022-04-07T03:19:58.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-07T03:19:58.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-07T03:19:58.650Z] ========================================================= [2022-04-07T03:19:58.650Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-07T03:19:58.650Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:19:59.000Z] + 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-07T03:19:59.279Z] Sending build context to Docker daemon 3.115MB [2022-04-07T03:19:59.279Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T03:19:59.279Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-07T03:19:59.554Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-07T03:19:59.554Z] 9b3977197b4f: Pulling fs layer [2022-04-07T03:19:59.554Z] 1a89e8eeedd5: Pulling fs layer [2022-04-07T03:19:59.554Z] 94645a83ff95: Pulling fs layer [2022-04-07T03:19:59.554Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-07T03:19:59.554Z] 0c92f367c5e7: Pulling fs layer [2022-04-07T03:19:59.554Z] f7c0051592d6: Pulling fs layer [2022-04-07T03:19:59.554Z] a227ed2f7395: Pulling fs layer [2022-04-07T03:19:59.554Z] 7b1c46037f91: Pulling fs layer [2022-04-07T03:19:59.554Z] 3f3a8bcf1eab: Waiting [2022-04-07T03:19:59.554Z] f7c0051592d6: Waiting [2022-04-07T03:19:59.554Z] 0c92f367c5e7: Waiting [2022-04-07T03:19:59.554Z] 7b1c46037f91: Waiting [2022-04-07T03:19:59.555Z] 94645a83ff95: Verifying Checksum [2022-04-07T03:19:59.555Z] 94645a83ff95: Download complete [2022-04-07T03:19:59.555Z] 1a89e8eeedd5: Verifying Checksum [2022-04-07T03:19:59.555Z] 1a89e8eeedd5: Download complete [2022-04-07T03:19:59.555Z] 0c92f367c5e7: Verifying Checksum [2022-04-07T03:19:59.555Z] 0c92f367c5e7: Download complete [2022-04-07T03:19:59.842Z] f7c0051592d6: Download complete [2022-04-07T03:19:59.842Z] 9b3977197b4f: Verifying Checksum [2022-04-07T03:19:59.842Z] 9b3977197b4f: Download complete [2022-04-07T03:19:59.842Z] a227ed2f7395: Verifying Checksum [2022-04-07T03:19:59.842Z] a227ed2f7395: Download complete [2022-04-07T03:20:00.450Z] 9b3977197b4f: Pull complete [2022-04-07T03:20:01.060Z] 1a89e8eeedd5: Pull complete [2022-04-07T03:20:01.345Z] 94645a83ff95: Pull complete [2022-04-07T03:20:01.627Z] 7b1c46037f91: Verifying Checksum [2022-04-07T03:20:01.627Z] 7b1c46037f91: Download complete [2022-04-07T03:20:02.224Z] 3f3a8bcf1eab: Download complete [2022-04-07T03:20:14.637Z] 3f3a8bcf1eab: Pull complete [2022-04-07T03:20:14.637Z] 0c92f367c5e7: Pull complete [2022-04-07T03:20:14.637Z] f7c0051592d6: Pull complete [2022-04-07T03:20:14.911Z] a227ed2f7395: Pull complete [2022-04-07T03:20:21.632Z] 7b1c46037f91: Pull complete [2022-04-07T03:20:21.632Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-07T03:20:21.632Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-07T03:20:21.632Z] ---> f79e39bc4007 [2022-04-07T03:20:21.632Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T03:20:22.641Z] ---> Running in 7f395e2a525f [2022-04-07T03:20:22.917Z] Removing intermediate container 7f395e2a525f [2022-04-07T03:20:22.917Z] ---> c6a2cb7db20e [2022-04-07T03:20:22.917Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T03:20:22.917Z] ---> Running in ad9ab420684d [2022-04-07T03:20:23.189Z] Removing intermediate container ad9ab420684d [2022-04-07T03:20:23.190Z] ---> c6d9befad4ff [2022-04-07T03:20:23.190Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T03:20:23.190Z] ---> Running in cded68c687ae [2022-04-07T03:20:25.168Z] Removing intermediate container cded68c687ae [2022-04-07T03:20:25.168Z] ---> 2f1ee026b3c6 [2022-04-07T03:20:25.168Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T03:20:25.168Z] ---> Running in b4317c15ea73 [2022-04-07T03:20:26.149Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T03:20:26.740Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T03:20:27.719Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-07T03:20:27.719Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-07T03:20:27.719Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-07T03:20:27.993Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-07T03:20:27.993Z] Executing busybox-1.34.1-r3.trigger [2022-04-07T03:20:28.269Z] OK: 224 MiB in 56 packages [2022-04-07T03:20:29.259Z] Removing intermediate container b4317c15ea73 [2022-04-07T03:20:29.259Z] ---> 7a52d339f4e7 [2022-04-07T03:20:29.259Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-04-07T03:20:29.259Z] ---> Running in 4068a88f2955 [2022-04-07T03:20:29.259Z] Removing intermediate container 4068a88f2955 [2022-04-07T03:20:29.259Z] ---> 19910b4b83a6 [2022-04-07T03:20:29.259Z] Step 8/12 : COPY go.mod vendor* ./ [2022-04-07T03:20:29.857Z] ---> 3031f41b9001 [2022-04-07T03:20:29.857Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T03:20:29.857Z] ---> Running in 503fcdb340d8 [2022-04-07T03:21:16.853Z] Removing intermediate container 503fcdb340d8 [2022-04-07T03:21:16.853Z] ---> 36533ba5ac96 [2022-04-07T03:21:16.853Z] Step 10/12 : COPY . . [2022-04-07T03:21:16.853Z] ---> 23f56148d837 [2022-04-07T03:21:16.853Z] Step 11/12 : ARG MAKE='make build' [2022-04-07T03:21:16.853Z] ---> Running in 9f1b8e7b159a [2022-04-07T03:21:16.853Z] Removing intermediate container 9f1b8e7b159a [2022-04-07T03:21:16.853Z] ---> dac792cfc87d [2022-04-07T03:21:16.854Z] Step 12/12 : RUN $MAKE [2022-04-07T03:21:16.854Z] ---> Running in cfa99b1a76ed [2022-04-07T03:21:17.128Z] noop [2022-04-07T03:21:18.115Z] Removing intermediate container cfa99b1a76ed [2022-04-07T03:21:18.115Z] ---> 39487d6ef06a [2022-04-07T03:21:18.115Z] Successfully built 39487d6ef06a [2022-04-07T03:21:18.115Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:21:18.464Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T03:21:18.465Z] . [Pipeline] withDockerContainer [2022-04-07T03:21:18.707Z] prd-ubuntu20.04-docker-arm64-4c-16g-11386 does not seem to be running inside a container [2022-04-07T03:21:18.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@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-07T03:21:20.087Z] $ docker top 9cfaa1ff63af5f158919995c343d40342e2738b984c76da69412382983eeb96a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T03:21:21.017Z] + go version [2022-04-07T03:21:21.017Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-07T03:21:21.044Z] $ docker stop --time=1 9cfaa1ff63af5f158919995c343d40342e2738b984c76da69412382983eeb96a [2022-04-07T03:21:22.696Z] $ docker rm -f 9cfaa1ff63af5f158919995c343d40342e2738b984c76da69412382983eeb96a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:21:23.335Z] + docker inspect -f . ci-base-image-arm64 [2022-04-07T03:21:23.335Z] . [Pipeline] withDockerContainer [2022-04-07T03:21:23.575Z] prd-ubuntu20.04-docker-arm64-4c-16g-11386 does not seem to be running inside a container [2022-04-07T03:21:23.662Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@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-07T03:21:24.943Z] $ docker top 6efe2c5cc49ad93b594f065449a1e35fcaf923f5921506250f88f8d4b531e5d3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-07T03:21:25.873Z] + make test [2022-04-07T03:21:25.873Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-07T03:21:27.323Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-04-07T03:22:49.183Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-04-07T03:22:49.183Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements [2022-04-07T03:22:49.183Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-04-07T03:22:49.183Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-07T03:22:49.183Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-07T03:23:11.385Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-07T03:23:11.385Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-07T03:23:11.385Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-07T03:23:12.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-07T03:23:12.405Z] $ docker stop --time=1 6efe2c5cc49ad93b594f065449a1e35fcaf923f5921506250f88f8d4b531e5d3 [2022-04-07T03:23:14.153Z] $ docker rm -f 6efe2c5cc49ad93b594f065449a1e35fcaf923f5921506250f88f8d4b531e5d3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-07T03:23:15.078Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-07T03:23:15.111Z] Warning: overwriting stash ‘coverage-report’ [2022-04-07T03:23:15.587Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-07T03:23:15.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-07T03:23:16.334Z] + ls -al . [2022-04-07T03:23:16.334Z] total 172 [2022-04-07T03:23:16.334Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 03:23 . [2022-04-07T03:23:16.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:19 .. [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 03:19 .dockerignore [2022-04-07T03:23:16.334Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 03:19 .git [2022-04-07T03:23:16.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:19 .github [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 03:19 .gitignore [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 03:19 .golangci.yml [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 8523 Apr 7 03:19 Attribution.txt [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 7447 Apr 7 03:19 CHANGELOG.md [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 1930 Apr 7 03:19 Dockerfile [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 03:19 GOVERNANCE.md [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 03:19 Jenkinsfile [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 03:19 LICENSE [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 1544 Apr 7 03:19 Makefile [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 03:19 OWNERS.md [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 2643 Apr 7 03:19 README.md [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 03:17 VERSION [2022-04-07T03:23:16.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:19 bin [2022-04-07T03:23:16.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:19 cmd [2022-04-07T03:23:16.334Z] -rw-r--r-- 1 jenkins jenkins 17887 Apr 7 03:22 coverage.out [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 3216 Apr 7 03:19 go.mod [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 7 03:19 go.sum [2022-04-07T03:23:16.334Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 03:19 internal [2022-04-07T03:23:16.334Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 03:19 mock [2022-04-07T03:23:16.334Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 03:19 snap [2022-04-07T03:23:16.334Z] -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 03:19 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:23:16.689Z] + 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=50a080a4fed696b372d69fd9a55d92737e59f87b --label arch=arm64 --label version=0.0.0 . [2022-04-07T03:23:16.963Z] Sending build context to Docker daemon 3.133MB [2022-04-07T03:23:17.240Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-04-07T03:23:17.240Z] Step 2/24 : FROM ${BASE} AS builder [2022-04-07T03:23:17.240Z] ---> 39487d6ef06a [2022-04-07T03:23:17.240Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-07T03:23:17.240Z] ---> Running in b0d58eaf4d54 [2022-04-07T03:23:17.514Z] Removing intermediate container b0d58eaf4d54 [2022-04-07T03:23:17.514Z] ---> 39c3988c2990 [2022-04-07T03:23:17.514Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-04-07T03:23:17.514Z] ---> Running in e1fd8084b4f0 [2022-04-07T03:23:17.790Z] Removing intermediate container e1fd8084b4f0 [2022-04-07T03:23:17.790Z] ---> 5ddf67a18151 [2022-04-07T03:23:17.790Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-07T03:23:18.071Z] ---> Running in 060c1116fc4d [2022-04-07T03:23:19.517Z] Removing intermediate container 060c1116fc4d [2022-04-07T03:23:19.517Z] ---> cf3ab8cce4b8 [2022-04-07T03:23:19.517Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-07T03:23:19.517Z] ---> Running in baffc93905b7 [2022-04-07T03:23:20.506Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-07T03:23:21.482Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-07T03:23:22.459Z] OK: 224 MiB in 56 packages [2022-04-07T03:23:23.067Z] Removing intermediate container baffc93905b7 [2022-04-07T03:23:23.067Z] ---> dfbc44181765 [2022-04-07T03:23:23.067Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-04-07T03:23:23.067Z] ---> Running in 02cc16aac7df [2022-04-07T03:23:23.340Z] Removing intermediate container 02cc16aac7df [2022-04-07T03:23:23.340Z] ---> 4c4e7947e77c [2022-04-07T03:23:23.340Z] Step 8/24 : COPY go.mod vendor* ./ [2022-04-07T03:23:23.958Z] ---> 7938229b0bf6 [2022-04-07T03:23:23.958Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-07T03:23:23.958Z] ---> Running in e876e5792543 [2022-04-07T03:23:26.066Z] Removing intermediate container e876e5792543 [2022-04-07T03:23:26.066Z] ---> 4d7bf3b6abc2 [2022-04-07T03:23:26.066Z] Step 10/24 : COPY . . [2022-04-07T03:23:27.525Z] ---> 4deb42b13c13 [2022-04-07T03:23:27.525Z] Step 11/24 : ARG MAKE='make build' [2022-04-07T03:23:27.525Z] ---> Running in f7c698c27216 [2022-04-07T03:23:27.817Z] Removing intermediate container f7c698c27216 [2022-04-07T03:23:27.817Z] ---> 039148035ac5 [2022-04-07T03:23:27.817Z] Step 12/24 : RUN $MAKE [2022-04-07T03:23:27.817Z] ---> Running in bed08bce9e82 [2022-04-07T03:23:28.824Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2022-04-07T03:24:50.630Z] Removing intermediate container bed08bce9e82 [2022-04-07T03:24:50.630Z] ---> 60abfc601404 [2022-04-07T03:24:50.630Z] Step 13/24 : FROM alpine:3.14 [2022-04-07T03:24:50.630Z] 3.14: Pulling from library/alpine [2022-04-07T03:24:50.630Z] 455c02918c45: Pulling fs layer [2022-04-07T03:24:50.630Z] 455c02918c45: Download complete [2022-04-07T03:24:50.630Z] 455c02918c45: Pull complete [2022-04-07T03:24:50.630Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-07T03:24:50.630Z] Status: Downloaded newer image for alpine:3.14 [2022-04-07T03:24:50.630Z] ---> ac73e934f311 [2022-04-07T03:24:50.630Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-04-07T03:24:50.630Z] ---> Running in 206adcd45ff0 [2022-04-07T03:24:50.630Z] Removing intermediate container 206adcd45ff0 [2022-04-07T03:24:50.630Z] ---> a05f23d3eb97 [2022-04-07T03:24:50.630Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-07T03:24:50.630Z] ---> Running in 9b526649264c [2022-04-07T03:24:50.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-07T03:24:50.630Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-07T03:24:50.630Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-07T03:24:50.630Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-07T03:24:50.630Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-07T03:24:50.630Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-07T03:24:50.630Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-07T03:24:50.630Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-07T03:24:50.630Z] Executing busybox-1.33.1-r7.trigger [2022-04-07T03:24:50.630Z] OK: 8 MiB in 20 packages [2022-04-07T03:24:50.630Z] Removing intermediate container 9b526649264c [2022-04-07T03:24:50.630Z] ---> f36fe683f77a [2022-04-07T03:24:50.630Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-04-07T03:24:50.630Z] ---> c09f8afaa0b0 [2022-04-07T03:24:50.630Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-04-07T03:24:50.630Z] ---> 1ad2824c0869 [2022-04-07T03:24:50.630Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-04-07T03:24:50.630Z] ---> 85a60c913e13 [2022-04-07T03:24:50.630Z] Step 19/24 : EXPOSE 59982 [2022-04-07T03:24:50.630Z] ---> Running in f21080d185f3 [2022-04-07T03:24:50.630Z] Removing intermediate container f21080d185f3 [2022-04-07T03:24:50.630Z] ---> c1f66aa63d43 [2022-04-07T03:24:50.630Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-04-07T03:24:50.630Z] ---> Running in 0720c0e66d5b [2022-04-07T03:24:50.630Z] Removing intermediate container 0720c0e66d5b [2022-04-07T03:24:50.630Z] ---> 12046bba8a2c [2022-04-07T03:24:50.630Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-04-07T03:24:50.630Z] ---> Running in 2e80a3d086dd [2022-04-07T03:24:50.630Z] Removing intermediate container 2e80a3d086dd [2022-04-07T03:24:50.630Z] ---> 50d67b392909 [2022-04-07T03:24:50.630Z] Step 22/24 : LABEL arch=arm64 [2022-04-07T03:24:50.630Z] ---> Running in 2d0acf48325c [2022-04-07T03:24:50.630Z] Removing intermediate container 2d0acf48325c [2022-04-07T03:24:50.630Z] ---> 8aeb2ad9c110 [2022-04-07T03:24:50.630Z] Step 23/24 : LABEL git_sha=50a080a4fed696b372d69fd9a55d92737e59f87b [2022-04-07T03:24:50.630Z] ---> Running in 06298db0f9d2 [2022-04-07T03:24:50.630Z] Removing intermediate container 06298db0f9d2 [2022-04-07T03:24:50.630Z] ---> 7afdca35934a [2022-04-07T03:24:50.630Z] Step 24/24 : LABEL version=0.0.0 [2022-04-07T03:24:50.630Z] ---> Running in 824bdd4c61d5 [2022-04-07T03:24:50.630Z] Removing intermediate container 824bdd4c61d5 [2022-04-07T03:24:50.630Z] ---> 91590436c57c [2022-04-07T03:24:50.630Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-07T03:24:50.630Z] Successfully built 91590436c57c [2022-04-07T03:24:50.630Z] 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-07T03:24:51.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T03:24:51.071Z] [2022-04-07T03:24:51.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:24:51.422Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T03:24:51.697Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-07T03:24:51.697Z] 8998bd30e6a1: Pulling fs layer [2022-04-07T03:24:51.697Z] 04944245beec: Pulling fs layer [2022-04-07T03:24:51.697Z] 699f458cf7ca: Pulling fs layer [2022-04-07T03:24:51.697Z] 765212b225bb: Pulling fs layer [2022-04-07T03:24:51.697Z] f23df028b6ca: Pulling fs layer [2022-04-07T03:24:51.697Z] d65c8cfc05b1: Pulling fs layer [2022-04-07T03:24:51.697Z] 2437ff75d9bd: Pulling fs layer [2022-04-07T03:24:51.697Z] 765212b225bb: Waiting [2022-04-07T03:24:51.697Z] f23df028b6ca: Waiting [2022-04-07T03:24:51.697Z] d65c8cfc05b1: Waiting [2022-04-07T03:24:51.697Z] 2437ff75d9bd: Waiting [2022-04-07T03:24:51.697Z] 04944245beec: Verifying Checksum [2022-04-07T03:24:51.697Z] 04944245beec: Download complete [2022-04-07T03:24:51.697Z] 765212b225bb: Verifying Checksum [2022-04-07T03:24:51.697Z] 765212b225bb: Download complete [2022-04-07T03:24:51.697Z] f23df028b6ca: Verifying Checksum [2022-04-07T03:24:51.697Z] f23df028b6ca: Download complete [2022-04-07T03:24:51.697Z] d65c8cfc05b1: Verifying Checksum [2022-04-07T03:24:51.697Z] d65c8cfc05b1: Download complete [2022-04-07T03:24:51.976Z] 699f458cf7ca: Verifying Checksum [2022-04-07T03:24:51.976Z] 699f458cf7ca: Download complete [2022-04-07T03:24:52.251Z] 8998bd30e6a1: Download complete [2022-04-07T03:24:54.886Z] 2437ff75d9bd: Verifying Checksum [2022-04-07T03:24:54.886Z] 2437ff75d9bd: Download complete [2022-04-07T03:24:56.332Z] 8998bd30e6a1: Pull complete [2022-04-07T03:24:56.929Z] 04944245beec: Pull complete [2022-04-07T03:24:58.360Z] 699f458cf7ca: Pull complete [2022-04-07T03:24:58.634Z] 765212b225bb: Pull complete [2022-04-07T03:24:59.620Z] f23df028b6ca: Pull complete [2022-04-07T03:24:59.620Z] d65c8cfc05b1: Pull complete [2022-04-07T03:25:14.705Z] 2437ff75d9bd: Pull complete [2022-04-07T03:25:14.705Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-07T03:25:14.705Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-07T03:25:14.705Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-07T03:25:14.923Z] prd-ubuntu20.04-docker-arm64-4c-16g-11386 does not seem to be running inside a container [2022-04-07T03:25:14.998Z] $ 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/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@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-07T03:25:17.583Z] $ docker top e5e2d82f8b7c32964176dbf23cab05459d0e3faf9fc4f390262a676e15d273d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:25:18.509Z] ---> job-cost.sh [2022-04-07T03:25:18.509Z] lf-activate-venv: SKIPPING [2022-04-07T03:25:18.509Z] INFO: No Stack... [2022-04-07T03:25:19.102Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-07T03:25:19.696Z] INFO: Archiving Costs [Pipeline] sh [2022-04-07T03:25:20.356Z] + cat /w/workspace/device-mqtt-go/12/archives/cost.csv [2022-04-07T03:25:20.356Z] + cut -d, -f6 [Pipeline] lock [2022-04-07T03:25:20.423Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [2022-04-07T03:25:20.429Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] did not exist. Created. [2022-04-07T03:25:20.429Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-07T03:25:21.107Z] /w/workspace/device-mqtt-go/12@tmp/durable-3b5cff60/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-07T03:25:21.784Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-07T03:25:21.811Z] Warning: overwriting stash ‘stack-cost’ [2022-04-07T03:25:21.856Z] Stashed 1 file(s) [Pipeline] } [2022-04-07T03:25:21.867Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-341-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-07T03:25:21.887Z] $ docker stop --time=1 e5e2d82f8b7c32964176dbf23cab05459d0e3faf9fc4f390262a676e15d273d5 [2022-04-07T03:25:23.383Z] $ docker rm -f e5e2d82f8b7c32964176dbf23cab05459d0e3faf9fc4f390262a676e15d273d5 [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-07T03:25:23.911Z] provisioning config files... [2022-04-07T03:25:23.921Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config438126868245830161tmp [Pipeline] { [Pipeline] sh [2022-04-07T03:25:24.220Z] + set +x [2022-04-07T03:25:24.220Z] + curl -s https://codecov.io/bash [2022-04-07T03:25:24.220Z] + bash -s -- [2022-04-07T03:25:24.220Z] [2022-04-07T03:25:24.220Z] _____ _ [2022-04-07T03:25:24.220Z] / ____| | | [2022-04-07T03:25:24.220Z] | | ___ __| | ___ ___ _____ __ [2022-04-07T03:25:24.220Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-07T03:25:24.220Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-07T03:25:24.220Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-07T03:25:24.220Z] Bash-1.0.6 [2022-04-07T03:25:24.220Z] [2022-04-07T03:25:24.220Z] [2022-04-07T03:25:24.220Z] ==> git version 2.25.1 found [2022-04-07T03:25:24.220Z] ==> 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-07T03:25:24.220Z] Release-Date: 2020-01-08 [2022-04-07T03:25:24.220Z] 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-07T03:25:24.220Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-07T03:25:24.220Z] ==> Jenkins CI detected. [2022-04-07T03:25:24.220Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-341 [2022-04-07T03:25:24.220Z] project root: . [2022-04-07T03:25:24.220Z] --> token set from env [2022-04-07T03:25:24.220Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-07T03:25:24.482Z] ==> Running gcov in . (disable via -X gcov) [2022-04-07T03:25:24.482Z] ==> Python coveragepy not found [2022-04-07T03:25:24.482Z] ==> Searching for coverage reports in: [2022-04-07T03:25:24.482Z] + . [2022-04-07T03:25:24.482Z] -> Found 1 reports [2022-04-07T03:25:24.482Z] ==> Detecting git/mercurial file structure [2022-04-07T03:25:24.482Z] ==> Reading reports [2022-04-07T03:25:24.482Z] + ./coverage.out bytes=17887 [2022-04-07T03:25:24.482Z] ==> Appending adjustments [2022-04-07T03:25:24.482Z] https://docs.codecov.io/docs/fixing-reports [2022-04-07T03:25:24.482Z] + Found adjustments [2022-04-07T03:25:24.482Z] ==> Gzipping contents [2022-04-07T03:25:24.482Z] 4.0K /tmp/codecov.Zbm7Rp.gz [2022-04-07T03:25:24.482Z] ==> Uploading reports [2022-04-07T03:25:24.482Z] url: https://codecov.io [2022-04-07T03:25:24.482Z] query: branch=PR-341&commit=1a55f4adae1ba8778254e62c86c4e2cde5785df0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-341%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=341&job=&cmd_args= [2022-04-07T03:25:24.482Z] -> Pinging Codecov [2022-04-07T03:25:24.482Z] 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=1a55f4adae1ba8778254e62c86c4e2cde5785df0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-341%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=341&job=&cmd_args= [2022-04-07T03:25:24.743Z] -> Uploading to [2022-04-07T03:25:24.743Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-07/7D719EC7BBE17E464838252E33014C33/1a55f4adae1ba8778254e62c86c4e2cde5785df0/0e667387-c1ae-4cde-b217-30a887b4c468.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T032524Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3b44014c13680cb325aa9208b08927e1d59b3d0eb31f1e4e7f778925787a409a [2022-04-07T03:25:24.743Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-07T03:25:24.743Z] Dload Upload Total Spent Left Speed [2022-04-07T03:25:25.005Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3241 0 0 100 3241 0 12230 --:--:-- --:--:-- --:--:-- 12230 [2022-04-07T03:25:25.005Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/1a55f4adae1ba8778254e62c86c4e2cde5785df0 [Pipeline] } [2022-04-07T03:25:25.014Z] 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-07T03:25:25.780Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives ] [2022-04-07T03:25:25.780Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives [2022-04-07T03:25:25.780Z] total 16 [2022-04-07T03:25:25.780Z] drwxr-xr-x 3 root root 4096 Apr 7 03:19 . [2022-04-07T03:25:25.780Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 03:19 .. [2022-04-07T03:25:25.780Z] drwxr-xr-x 2 root root 4096 Apr 7 03:19 cost [2022-04-07T03:25:25.780Z] -rw-r--r-- 1 root root 86 Apr 7 03:19 cost.csv [2022-04-07T03:25:25.780Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives [2022-04-07T03:25:25.780Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives [2022-04-07T03:25:25.780Z] total 16 [2022-04-07T03:25:25.780Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 03:19 . [2022-04-07T03:25:25.780Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 03:19 .. [2022-04-07T03:25:25.780Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 03:19 cost [2022-04-07T03:25:25.780Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 7 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:25:26.082Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:25:26.953Z] ---> package-listing.sh [2022-04-07T03:25:26.953Z] ++ facter osfamily [2022-04-07T03:25:26.953Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-07T03:25:27.214Z] + OS_FAMILY=debian [2022-04-07T03:25:27.214Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-341 [2022-04-07T03:25:27.214Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-07T03:25:27.214Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-07T03:25:27.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-07T03:25:27.214Z] + PACKAGES=/tmp/packages_start.txt [2022-04-07T03:25:27.214Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-341 ']' [2022-04-07T03:25:27.214Z] + PACKAGES=/tmp/packages_end.txt [2022-04-07T03:25:27.214Z] + case "${OS_FAMILY}" in [2022-04-07T03:25:27.214Z] + dpkg -l [2022-04-07T03:25:27.214Z] + grep '^ii' [2022-04-07T03:25:27.214Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-07T03:25:27.214Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-07T03:25:27.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-07T03:25:27.214Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-341 ']' [2022-04-07T03:25:27.214Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-341/archives/ [2022-04-07T03:25:27.214Z] + 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-07T03:25:27.229Z] 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-07T03:25:27.517Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-07T03:25:28.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-07T03:25:28.185Z] . [Pipeline] withDockerContainer [2022-04-07T03:25:28.257Z] prd-ubuntu20.04-docker-8c-8g-11385 does not seem to be running inside a container [2022-04-07T03:25:28.301Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-07T03:25:28.568Z] $ docker top 7fa108098e242bfe89a5f29db893cd0d6375f7bba8b12f982b3e72949d91b630 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-07T03:25:28.939Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-07T03:25:29.232Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-07T03:25:29.522Z] + ls /var/log/sa-host [2022-04-07T03:25:29.523Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-07T03:25:29.746Z] provisioning config files... [2022-04-07T03:25:29.757Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-341@tmp/config4042856153472094714tmp [Pipeline] { [Pipeline] echo [2022-04-07T03:25:29.771Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:25:30.060Z] ---> create-netrc.sh [Pipeline] } [2022-04-07T03:25:30.070Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:25:30.408Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-07T03:25:30.418Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:25:30.705Z] ---> sudo-logs.sh [2022-04-07T03:25:30.705Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-07T03:25:30.734Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:25:31.025Z] ---> job-cost.sh [2022-04-07T03:25:31.025Z] lf-activate-venv: SKIPPING [2022-04-07T03:25:31.025Z] DEBUG: total: 0.2199999988079071 [2022-04-07T03:25:31.025Z] INFO: Retrieving Stack Cost... [2022-04-07T03:25:31.596Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-07T03:25:31.858Z] INFO: Archiving Costs [Pipeline] echo [2022-04-07T03:25:31.875Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-07T03:25:32.163Z] ---> logs-deploy.sh [2022-04-07T03:25:32.163Z] lf-activate-venv: SKIPPING [2022-04-07T03:25:32.163Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-341/12 [2022-04-07T03:25:32.163Z] INFO: archiving workspace using pattern(s): [2022-04-07T03:25:33.103Z] Archives upload complete. [2022-04-07T03:25:33.103Z] INFO: archiving logs to Nexus