Pull request #396 opened 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 farshidtz for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b+af7f42834155496da65d108934e36d5a2fb2bcc1 (b56ba11363fe8d3e7944bded16797e6d45d71eca) 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-ssh5954901200524604764.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh17615482152570722313.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2681058785928612986.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-396/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh847087769002350642.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh11430576700227724503.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-396/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2687558110913739237.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16085’ Running on prd-ubuntu20.04-docker-8c-8g-16088 in /w/workspace/gexfoundry_device-mqtt-go_PR-396 [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-396 # 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 af7f42834155496da65d108934e36d5a2fb2bcc1 into PR head commit 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b Merge succeeded, producing 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b Checking out Revision 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b (PR-396) > 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/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b # 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 af7f42834155496da65d108934e36d5a2fb2bcc1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b # timeout=10 Commit message: "fix: replace broker host config with a valid example" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T12:09:54.465Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T12:09:54.639Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T12:09:54.733Z] ========================================================= [2022-06-27T12:09:54.733Z] EdgeX Global Pipelines Version Info [2022-06-27T12:09:54.733Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:09:55.531Z] ------------------- [2022-06-27T12:09:55.531Z] stable info: [2022-06-27T12:09:55.531Z] ------------------- [2022-06-27T12:09:55.531Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T12:09:55.532Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T12:09:55.532Z] Message: update stable to v1.0.234 [2022-06-27T12:09:56.105Z] ------------------- [2022-06-27T12:09:56.105Z] experimental info: [2022-06-27T12:09:56.105Z] ------------------- [2022-06-27T12:09:56.105Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T12:09:56.105Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T12:09:56.105Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T12:09:56.458Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-27T12:09:56.495Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-27T12:09:56.531Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T12:09:56.569Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T12:09:56.608Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T12:09:56.644Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T12:09:56.681Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T12:09:56.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T12:09:56.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T12:09:56.794Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T12:09:56.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T12:09:56.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-27T12:09:56.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T12:09:56.941Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T12:09:56.976Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T12:09:57.014Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T12:09:57.056Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T12:09:57.091Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T12:09:57.130Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T12:09:57.168Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T12:09:57.206Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T12:09:57.244Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T12:09:57.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T12:09:57.323Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T12:09:57.364Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T12:09:57.408Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T12:09:57.445Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T12:09:57.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-396 [Pipeline] echo [2022-06-27T12:09:57.523Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-396 [Pipeline] echo [2022-06-27T12:09:57.566Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-396 [Pipeline] echo [2022-06-27T12:09:57.603Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] echo [2022-06-27T12:09:57.641Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8ee1ea5 [Pipeline] echo [2022-06-27T12:09:57.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T12:09:57.792Z] provisioning config files... [2022-06-27T12:09:57.805Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/config1718133661332055485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:09:58.155Z] ---> docker-login.sh [2022-06-27T12:09:58.155Z] nexus3.edgexfoundry.org:10001 [2022-06-27T12:09:58.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:09:58.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:09:58.679Z] Configure a credential helper to remove this warning. See [2022-06-27T12:09:58.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:09:58.679Z] [2022-06-27T12:09:58.679Z] Login Succeeded [2022-06-27T12:09:58.679Z] nexus3.edgexfoundry.org:10002 [2022-06-27T12:09:58.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:09:58.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:09:58.679Z] Configure a credential helper to remove this warning. See [2022-06-27T12:09:58.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:09:58.679Z] [2022-06-27T12:09:58.679Z] Login Succeeded [2022-06-27T12:09:58.679Z] nexus3.edgexfoundry.org:10003 [2022-06-27T12:09:58.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:09:58.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:09:58.943Z] Configure a credential helper to remove this warning. See [2022-06-27T12:09:58.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:09:58.943Z] [2022-06-27T12:09:58.943Z] Login Succeeded [2022-06-27T12:09:58.943Z] nexus3.edgexfoundry.org:10004 [2022-06-27T12:09:58.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:09:58.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:09:58.943Z] Configure a credential helper to remove this warning. See [2022-06-27T12:09:58.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:09:58.944Z] [2022-06-27T12:09:58.944Z] Login Succeeded [2022-06-27T12:09:58.944Z] docker.io [2022-06-27T12:09:59.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:09:59.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:09:59.469Z] Configure a credential helper to remove this warning. See [2022-06-27T12:09:59.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:09:59.469Z] [2022-06-27T12:09:59.469Z] Login Succeeded [2022-06-27T12:09:59.469Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T12:09:59.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T12:10:00.170Z] + git rev-list -1 --merges 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b~1..8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] echo [2022-06-27T12:10:00.215Z] -----------> git rev-list -1 --merges 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b~1..8ee1ea56f803a2b2c9168ac21e71316d7ccb353b 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [false] [Pipeline] sh [2022-06-27T12:10:00.528Z] + git log --format=format:%s -1 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] echo [2022-06-27T12:10:00.566Z] ========================================================= [2022-06-27T12:10:00.566Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T12:10:00.566Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T12:10:01.027Z] + git log --format=format:%s -1 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] echo [2022-06-27T12:10:01.058Z] [semverPrep] GIT_COMMIT: 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b, Commit Message: fix: replace broker host config with a valid example [Pipeline] echo [2022-06-27T12:10:01.087Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T12:10:01.532Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T12:10:01.532Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T12:10:01.532Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T12:10:01.532Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T12:10:01.532Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T12:10:01.532Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T12:10:01.532Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:10:01.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T12:10:01.960Z] [2022-06-27T12:10:01.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:10:02.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T12:10:02.397Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T12:10:02.397Z] 42c077c10790: Pulling fs layer [2022-06-27T12:10:02.397Z] f63e77b7563a: Pulling fs layer [2022-06-27T12:10:02.397Z] bd5fdadae976: Pulling fs layer [2022-06-27T12:10:02.397Z] 205491f53016: Pulling fs layer [2022-06-27T12:10:02.397Z] df18705c85c3: Pulling fs layer [2022-06-27T12:10:02.397Z] bdb3f477010e: Pulling fs layer [2022-06-27T12:10:02.397Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T12:10:02.397Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T12:10:02.397Z] bdb8f0575790: Pulling fs layer [2022-06-27T12:10:02.397Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T12:10:02.397Z] 2343380bae48: Pulling fs layer [2022-06-27T12:10:02.397Z] c8a8fc8e1c8f: Waiting [2022-06-27T12:10:02.397Z] 2c6e9b1d212d: Waiting [2022-06-27T12:10:02.397Z] bdb8f0575790: Waiting [2022-06-27T12:10:02.397Z] 386e3cb2ff24: Waiting [2022-06-27T12:10:02.397Z] 2343380bae48: Waiting [2022-06-27T12:10:02.397Z] 205491f53016: Waiting [2022-06-27T12:10:02.397Z] bdb3f477010e: Waiting [2022-06-27T12:10:02.397Z] f63e77b7563a: Verifying Checksum [2022-06-27T12:10:02.397Z] f63e77b7563a: Download complete [2022-06-27T12:10:02.397Z] 205491f53016: Verifying Checksum [2022-06-27T12:10:02.397Z] 205491f53016: Download complete [2022-06-27T12:10:02.660Z] df18705c85c3: Verifying Checksum [2022-06-27T12:10:02.660Z] df18705c85c3: Download complete [2022-06-27T12:10:02.660Z] bdb3f477010e: Verifying Checksum [2022-06-27T12:10:02.660Z] bdb3f477010e: Download complete [2022-06-27T12:10:02.660Z] bd5fdadae976: Verifying Checksum [2022-06-27T12:10:02.660Z] bd5fdadae976: Download complete [2022-06-27T12:10:02.660Z] 2c6e9b1d212d: Verifying Checksum [2022-06-27T12:10:02.660Z] 2c6e9b1d212d: Download complete [2022-06-27T12:10:02.660Z] bdb8f0575790: Verifying Checksum [2022-06-27T12:10:02.660Z] bdb8f0575790: Download complete [2022-06-27T12:10:02.660Z] 386e3cb2ff24: Verifying Checksum [2022-06-27T12:10:02.660Z] 386e3cb2ff24: Download complete [2022-06-27T12:10:02.660Z] 2343380bae48: Verifying Checksum [2022-06-27T12:10:02.660Z] 2343380bae48: Download complete [2022-06-27T12:10:02.660Z] 42c077c10790: Verifying Checksum [2022-06-27T12:10:02.660Z] 42c077c10790: Download complete [2022-06-27T12:10:02.919Z] c8a8fc8e1c8f: Download complete [2022-06-27T12:10:04.301Z] 42c077c10790: Pull complete [2022-06-27T12:10:04.301Z] f63e77b7563a: Pull complete [2022-06-27T12:10:04.874Z] bd5fdadae976: Pull complete [2022-06-27T12:10:04.874Z] 205491f53016: Pull complete [2022-06-27T12:10:05.135Z] df18705c85c3: Pull complete [2022-06-27T12:10:05.397Z] bdb3f477010e: Pull complete [2022-06-27T12:10:07.316Z] c8a8fc8e1c8f: Pull complete [2022-06-27T12:10:07.582Z] 2c6e9b1d212d: Pull complete [2022-06-27T12:10:07.582Z] bdb8f0575790: Pull complete [2022-06-27T12:10:07.843Z] 386e3cb2ff24: Pull complete [2022-06-27T12:10:07.843Z] 2343380bae48: Pull complete [2022-06-27T12:10:07.843Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T12:10:07.843Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T12:10:07.843Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T12:10:08.080Z] prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container [2022-06-27T12:10:08.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T12:10:09.812Z] $ docker top bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 -eo pid,comm [2022-06-27T12:10:09.875Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-06-27T12:10:09.875Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T12:10:09.992Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T12:10:09.992Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T12:10:10.128Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T12:10:10.136Z] $ docker exec bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 ssh-agent [2022-06-27T12:10:10.248Z] SSH_AUTH_SOCK=/tmp/ssh-ugGSBjKd9pgF/agent.33 [2022-06-27T12:10:10.248Z] SSH_AGENT_PID=39 [2022-06-27T12:10:10.255Z] Running ssh-add (command line suppressed) [2022-06-27T12:10:10.383Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/private_key_5956386085461772676.key (/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/private_key_5956386085461772676.key) [2022-06-27T12:10:10.395Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T12:10:10.724Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T12:10:10.755Z] $ docker exec --env ******** --env ******** bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 ssh-agent -k [2022-06-27T12:10:10.875Z] unset SSH_AUTH_SOCK; [2022-06-27T12:10:10.876Z] unset SSH_AGENT_PID; [2022-06-27T12:10:10.876Z] echo Agent pid 39 killed; [2022-06-27T12:10:10.886Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T12:10:10.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T12:10:10.966Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T12:10:11.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T12:10:11.102Z] $ docker exec bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 ssh-agent [2022-06-27T12:10:11.240Z] SSH_AUTH_SOCK=/tmp/ssh-CEb7ptyuK4pd/agent.73 [2022-06-27T12:10:11.240Z] SSH_AGENT_PID=79 [2022-06-27T12:10:11.247Z] Running ssh-add (command line suppressed) [2022-06-27T12:10:11.369Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/private_key_7587256729483262123.key (/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/private_key_7587256729483262123.key) [2022-06-27T12:10:11.382Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T12:10:11.716Z] + git semver init [2022-06-27T12:10:11.978Z] 2022-06-27 12:10:11,937 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T12:10:11.978Z] 2022-06-27 12:10:11,938 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver [2022-06-27T12:10:11.978Z] 2022-06-27 12:10:11,939 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver [2022-06-27T12:10:11.978Z] 2022-06-27 12:10:11,939 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-396, universal_newlines=False, shell=None, istream=None) [2022-06-27T12:10:12.922Z] 2022-06-27 12:10:12,668 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396/.git/info/exclude [2022-06-27T12:10:12.922Z] 2022-06-27 12:10:12,669 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver/PR-396 with force:False [2022-06-27T12:10:12.922Z] 2022-06-27 12:10:12,669 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver/PR-396 [2022-06-27T12:10:12.922Z] 2022-06-27 12:10:12,675 [execute] INFO git cat-file --batch-check [2022-06-27T12:10:12.922Z] 2022-06-27 12:10:12,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T12:10:12.922Z] 2022-06-27 12:10:12,683 [execute] INFO git cat-file --batch [2022-06-27T12:10:12.922Z] 2022-06-27 12:10:12,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T12:10:12.922Z] 2022-06-27 12:10:12,691 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-396/.semver/PR-396 [2022-06-27T12:10:12.922Z] 0.0.0 [Pipeline] } [2022-06-27T12:10:12.955Z] $ docker exec --env ******** --env ******** bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 ssh-agent -k [2022-06-27T12:10:13.067Z] unset SSH_AUTH_SOCK; [2022-06-27T12:10:13.068Z] unset SSH_AGENT_PID; [2022-06-27T12:10:13.068Z] echo Agent pid 79 killed; [2022-06-27T12:10:13.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T12:10:13.500Z] + git semver [Pipeline] } [2022-06-27T12:10:14.105Z] $ docker stop --time=1 bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 [2022-06-27T12:10:15.466Z] $ docker rm -f bc72152674fcee9a65b18f67d6d4f759d503313d8d716084b1b5e296406e48f6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T12:10:15.891Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T12:10:16.230Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T12:10:16.247Z] [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-06-27T12:10:16.930Z] provisioning config files... [2022-06-27T12:10:16.941Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/config2686041597624455849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:10:17.300Z] ---> docker-login.sh [2022-06-27T12:10:17.300Z] nexus3.edgexfoundry.org:10001 [2022-06-27T12:10:17.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:10:17.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:10:17.300Z] Configure a credential helper to remove this warning. See [2022-06-27T12:10:17.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:10:17.300Z] [2022-06-27T12:10:17.300Z] Login Succeeded [2022-06-27T12:10:17.300Z] nexus3.edgexfoundry.org:10002 [2022-06-27T12:10:17.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:10:17.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:10:17.560Z] Configure a credential helper to remove this warning. See [2022-06-27T12:10:17.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:10:17.560Z] [2022-06-27T12:10:17.560Z] Login Succeeded [2022-06-27T12:10:17.560Z] nexus3.edgexfoundry.org:10003 [2022-06-27T12:10:17.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:10:17.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:10:17.560Z] Configure a credential helper to remove this warning. See [2022-06-27T12:10:17.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:10:17.560Z] [2022-06-27T12:10:17.560Z] Login Succeeded [2022-06-27T12:10:17.560Z] nexus3.edgexfoundry.org:10004 [2022-06-27T12:10:17.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:10:17.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:10:17.821Z] Configure a credential helper to remove this warning. See [2022-06-27T12:10:17.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:10:17.821Z] [2022-06-27T12:10:17.821Z] Login Succeeded [2022-06-27T12:10:17.821Z] docker.io [2022-06-27T12:10:17.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:10:18.084Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:10:18.084Z] Configure a credential helper to remove this warning. See [2022-06-27T12:10:18.084Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:10:18.084Z] [2022-06-27T12:10:18.084Z] Login Succeeded [2022-06-27T12:10:18.084Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T12:10:18.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T12:10:18.302Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T12:10:18.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T12:10:18.372Z] ========================================================= [2022-06-27T12:10:18.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T12:10:18.372Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:10:18.845Z] + 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-06-27T12:10:18.845Z] Sending build context to Docker daemon 6.01MB [2022-06-27T12:10:18.845Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T12:10:18.845Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T12:10:18.845Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T12:10:18.845Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T12:10:18.845Z] 666ba61612fd: Pulling fs layer [2022-06-27T12:10:18.845Z] 8ed8ca486205: Pulling fs layer [2022-06-27T12:10:18.845Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T12:10:18.845Z] c516ae0d96e1: Pulling fs layer [2022-06-27T12:10:18.845Z] 684cea983483: Pulling fs layer [2022-06-27T12:10:18.845Z] dd3240ac7de5: Pulling fs layer [2022-06-27T12:10:18.845Z] b1e948a4e11c: Pulling fs layer [2022-06-27T12:10:18.845Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T12:10:18.845Z] 646ad004c059: Pulling fs layer [2022-06-27T12:10:18.845Z] cc1cd167ecdc: Waiting [2022-06-27T12:10:18.845Z] c516ae0d96e1: Waiting [2022-06-27T12:10:18.845Z] 684cea983483: Waiting [2022-06-27T12:10:18.845Z] dd3240ac7de5: Waiting [2022-06-27T12:10:18.845Z] b1e948a4e11c: Waiting [2022-06-27T12:10:18.845Z] a8fd76ee1af6: Waiting [2022-06-27T12:10:18.845Z] 646ad004c059: Waiting [2022-06-27T12:10:19.112Z] 8ed8ca486205: Verifying Checksum [2022-06-27T12:10:19.112Z] 666ba61612fd: Verifying Checksum [2022-06-27T12:10:19.112Z] 666ba61612fd: Download complete [2022-06-27T12:10:19.112Z] c516ae0d96e1: Verifying Checksum [2022-06-27T12:10:19.112Z] c516ae0d96e1: Download complete [2022-06-27T12:10:19.112Z] 684cea983483: Verifying Checksum [2022-06-27T12:10:19.112Z] 684cea983483: Download complete [2022-06-27T12:10:19.112Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T12:10:19.112Z] 59bf1c3509f3: Download complete [2022-06-27T12:10:19.112Z] dd3240ac7de5: Verifying Checksum [2022-06-27T12:10:19.112Z] dd3240ac7de5: Download complete [2022-06-27T12:10:19.112Z] b1e948a4e11c: Verifying Checksum [2022-06-27T12:10:19.112Z] b1e948a4e11c: Download complete [2022-06-27T12:10:19.112Z] 59bf1c3509f3: Pull complete [2022-06-27T12:10:19.374Z] 666ba61612fd: Pull complete [2022-06-27T12:10:19.374Z] 8ed8ca486205: Pull complete [2022-06-27T12:10:19.635Z] 646ad004c059: Verifying Checksum [2022-06-27T12:10:19.635Z] 646ad004c059: Download complete [2022-06-27T12:10:19.907Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T12:10:19.907Z] cc1cd167ecdc: Download complete [2022-06-27T12:10:19.907Z] a8fd76ee1af6: Download complete [2022-06-27T12:10:24.103Z] cc1cd167ecdc: Pull complete [2022-06-27T12:10:24.103Z] c516ae0d96e1: Pull complete [2022-06-27T12:10:24.103Z] 684cea983483: Pull complete [2022-06-27T12:10:24.103Z] dd3240ac7de5: Pull complete [2022-06-27T12:10:24.103Z] b1e948a4e11c: Pull complete [2022-06-27T12:10:26.644Z] a8fd76ee1af6: Pull complete [2022-06-27T12:10:27.213Z] 646ad004c059: Pull complete [2022-06-27T12:10:27.213Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T12:10:27.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T12:10:27.213Z] ---> 8f69c11f6b0c [2022-06-27T12:10:27.213Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T12:10:30.553Z] ---> Running in b3dd962c5d58 [2022-06-27T12:10:30.553Z] Removing intermediate container b3dd962c5d58 [2022-06-27T12:10:30.553Z] ---> f56afb799f5f [2022-06-27T12:10:30.553Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T12:10:30.553Z] ---> Running in b532e9e289f6 [2022-06-27T12:10:30.553Z] Removing intermediate container b532e9e289f6 [2022-06-27T12:10:30.553Z] ---> cb66e9f85301 [2022-06-27T12:10:30.553Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T12:10:30.815Z] ---> Running in a8e288a82834 [2022-06-27T12:10:31.387Z] Removing intermediate container a8e288a82834 [2022-06-27T12:10:31.387Z] ---> 2077662b6d37 [2022-06-27T12:10:31.387Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T12:10:31.387Z] ---> Running in c2f2d300e6ba [2022-06-27T12:10:31.647Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T12:10:31.716Z] Still waiting to schedule task [2022-06-27T12:10:31.716Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-16087’ is offline [2022-06-27T12:10:32.605Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T12:10:32.866Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T12:10:32.866Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T12:10:33.126Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T12:10:33.126Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T12:10:33.126Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T12:10:33.126Z] OK: 224 MiB in 56 packages [2022-06-27T12:10:33.698Z] Removing intermediate container c2f2d300e6ba [2022-06-27T12:10:33.698Z] ---> d509b3a8b2e7 [2022-06-27T12:10:33.698Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-27T12:10:33.698Z] ---> Running in ed3c9c534201 [2022-06-27T12:10:33.698Z] Removing intermediate container ed3c9c534201 [2022-06-27T12:10:33.698Z] ---> fef6914e7c2a [2022-06-27T12:10:33.698Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-27T12:10:33.956Z] ---> 3ea09fe37308 [2022-06-27T12:10:33.956Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T12:10:33.956Z] ---> Running in 6516e5bbeca7 [2022-06-27T12:10:52.091Z] Removing intermediate container 6516e5bbeca7 [2022-06-27T12:10:52.091Z] ---> 9b95d2efc9bc [2022-06-27T12:10:52.091Z] Step 10/12 : COPY . . [2022-06-27T12:10:52.091Z] ---> b7b7423416ef [2022-06-27T12:10:52.091Z] Step 11/12 : ARG MAKE='make build' [2022-06-27T12:10:52.091Z] ---> Running in 925edf510490 [2022-06-27T12:10:52.091Z] Removing intermediate container 925edf510490 [2022-06-27T12:10:52.091Z] ---> e01cceebc177 [2022-06-27T12:10:52.091Z] Step 12/12 : RUN $MAKE [2022-06-27T12:10:52.091Z] ---> Running in 46e972e3fd90 [2022-06-27T12:10:52.091Z] noop [2022-06-27T12:10:52.091Z] Removing intermediate container 46e972e3fd90 [2022-06-27T12:10:52.091Z] ---> 634688fd651d [2022-06-27T12:10:52.091Z] Successfully built 634688fd651d [2022-06-27T12:10:52.091Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:10:52.531Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T12:10:52.531Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T12:10:52.707Z] prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container [2022-06-27T12:10:52.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T12:10:53.208Z] $ docker top c279896daa9499dd108a5fc65cc1b9265bb2a511c8edd176856750b9844c53c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T12:10:53.698Z] + go version [2022-06-27T12:10:53.698Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T12:10:53.735Z] $ docker stop --time=1 c279896daa9499dd108a5fc65cc1b9265bb2a511c8edd176856750b9844c53c4 [2022-06-27T12:10:55.048Z] $ docker rm -f c279896daa9499dd108a5fc65cc1b9265bb2a511c8edd176856750b9844c53c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:10:55.795Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T12:10:55.795Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T12:10:55.960Z] prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container [2022-06-27T12:10:55.999Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T12:10:56.443Z] $ docker top 7b0ed373888a552bd2eec3e094c4688572825734f903bfed331e3fc55bbd13d1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T12:10:56.894Z] + make test [2022-06-27T12:10:56.894Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T12:10:57.152Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-27T12:11:07.161Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-27T12:11:07.161Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-06-27T12:11:07.161Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-27T12:11:15.331Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T12:11:19.529Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T12:11:19.529Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T12:11:19.529Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T12:11:19.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T12:11:19.599Z] $ docker stop --time=1 7b0ed373888a552bd2eec3e094c4688572825734f903bfed331e3fc55bbd13d1 [2022-06-27T12:11:21.542Z] $ docker rm -f 7b0ed373888a552bd2eec3e094c4688572825734f903bfed331e3fc55bbd13d1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T12:11:22.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T12:11:22.134Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-27T12:11:22.798Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T12:11:23.129Z] + ls -al . [2022-06-27T12:11:23.129Z] total 180 [2022-06-27T12:11:23.129Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 12:11 . [2022-06-27T12:11:23.129Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 12:09 .. [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 12:09 .dockerignore [2022-06-27T12:11:23.129Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 12:10 .git [2022-06-27T12:11:23.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:09 .github [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 12:09 .gitignore [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 12:09 .golangci.yml [2022-06-27T12:11:23.129Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 12:10 .semver [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 12:09 Attribution.txt [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 12:09 CHANGELOG.md [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 12:09 Dockerfile [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 12:09 GOVERNANCE.md [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 12:09 Jenkinsfile [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 12:09 LICENSE [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 12:09 Makefile [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 12:09 OWNERS.md [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 12:09 README.md [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 12:10 VERSION [2022-06-27T12:11:23.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 12:09 bin [2022-06-27T12:11:23.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:09 cmd [2022-06-27T12:11:23.129Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 12:11 coverage.out [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 12:09 go.mod [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 12:09 go.sum [2022-06-27T12:11:23.129Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:09 internal [2022-06-27T12:11:23.129Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 12:09 mock [2022-06-27T12:11:23.129Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 12:09 snap [2022-06-27T12:11:23.129Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 12:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:11:23.620Z] + 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=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b --label arch=amd64 --label version=0.0.0 . [2022-06-27T12:11:23.620Z] Sending build context to Docker daemon 6.029MB [2022-06-27T12:11:23.620Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T12:11:23.620Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-27T12:11:23.620Z] ---> 634688fd651d [2022-06-27T12:11:23.620Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T12:11:23.620Z] ---> Running in d36f2bcdc365 [2022-06-27T12:11:23.880Z] Removing intermediate container d36f2bcdc365 [2022-06-27T12:11:23.880Z] ---> 3e6410f656b2 [2022-06-27T12:11:23.880Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T12:11:23.880Z] ---> Running in c40488430797 [2022-06-27T12:11:23.880Z] Removing intermediate container c40488430797 [2022-06-27T12:11:23.880Z] ---> 5cd0193fd23e [2022-06-27T12:11:23.880Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T12:11:24.143Z] ---> Running in d0b326b71534 [2022-06-27T12:11:24.712Z] Removing intermediate container d0b326b71534 [2022-06-27T12:11:24.712Z] ---> ecde0f9fbc5f [2022-06-27T12:11:24.712Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T12:11:24.712Z] ---> Running in a66b5d7fe204 [2022-06-27T12:11:24.972Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T12:11:25.912Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T12:11:26.173Z] OK: 224 MiB in 56 packages [2022-06-27T12:11:26.434Z] Removing intermediate container a66b5d7fe204 [2022-06-27T12:11:26.434Z] ---> ad9879a63630 [2022-06-27T12:11:26.434Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-27T12:11:26.434Z] ---> Running in ed68a94dd8c0 [2022-06-27T12:11:26.696Z] Removing intermediate container ed68a94dd8c0 [2022-06-27T12:11:26.696Z] ---> 211c1a9e618b [2022-06-27T12:11:26.697Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-27T12:11:26.697Z] ---> 16b92149e094 [2022-06-27T12:11:26.697Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T12:11:26.958Z] ---> Running in 6e4717fe384c [2022-06-27T12:11:27.528Z] Removing intermediate container 6e4717fe384c [2022-06-27T12:11:27.528Z] ---> caf6bd9a1172 [2022-06-27T12:11:27.528Z] Step 10/24 : COPY . . [2022-06-27T12:11:27.788Z] ---> da5cebbd06d6 [2022-06-27T12:11:27.788Z] Step 11/24 : ARG MAKE='make build' [2022-06-27T12:11:27.788Z] ---> Running in fcbcec15c3ff [2022-06-27T12:11:28.047Z] Removing intermediate container fcbcec15c3ff [2022-06-27T12:11:28.047Z] ---> 12c209cdb4ad [2022-06-27T12:11:28.047Z] Step 12/24 : RUN $MAKE [2022-06-27T12:11:28.047Z] ---> Running in a8647fa18031 [2022-06-27T12:11:28.306Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-27T12:11:50.258Z] Removing intermediate container a8647fa18031 [2022-06-27T12:11:50.258Z] ---> 5dc33e7dd81c [2022-06-27T12:11:50.258Z] Step 13/24 : FROM alpine:3.14 [2022-06-27T12:11:50.258Z] 3.14: Pulling from library/alpine [2022-06-27T12:11:50.258Z] 8663204ce13b: Pulling fs layer [2022-06-27T12:11:50.258Z] 8663204ce13b: Verifying Checksum [2022-06-27T12:11:50.258Z] 8663204ce13b: Download complete [2022-06-27T12:11:50.258Z] 8663204ce13b: Pull complete [2022-06-27T12:11:50.258Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T12:11:50.259Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T12:11:50.259Z] ---> e04c818066af [2022-06-27T12:11:50.259Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-27T12:11:50.259Z] ---> Running in 94de2d2824fb [2022-06-27T12:11:50.259Z] Removing intermediate container 94de2d2824fb [2022-06-27T12:11:50.259Z] ---> 1ec3c08febb7 [2022-06-27T12:11:50.259Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T12:11:50.259Z] ---> Running in 16a9581fbd93 [2022-06-27T12:11:50.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-27T12:11:50.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-27T12:11:50.828Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T12:11:50.828Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T12:11:50.828Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T12:11:51.107Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T12:11:51.107Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T12:11:51.107Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T12:11:51.107Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T12:11:51.107Z] OK: 8 MiB in 20 packages [2022-06-27T12:11:51.372Z] Removing intermediate container 16a9581fbd93 [2022-06-27T12:11:51.372Z] ---> 44cd8e2e958c [2022-06-27T12:11:51.372Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-27T12:11:52.316Z] ---> 87d1cf8bd398 [2022-06-27T12:11:52.316Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-27T12:11:52.316Z] ---> 4c18df9237e7 [2022-06-27T12:11:52.316Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-27T12:11:52.579Z] ---> d52380d6b9ac [2022-06-27T12:11:52.579Z] Step 19/24 : EXPOSE 59982 [2022-06-27T12:11:52.579Z] ---> Running in 63441d2c8e38 [2022-06-27T12:11:52.579Z] Removing intermediate container 63441d2c8e38 [2022-06-27T12:11:52.579Z] ---> aee5d95d0732 [2022-06-27T12:11:52.579Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-27T12:11:52.579Z] ---> Running in ba707ed7a196 [2022-06-27T12:11:52.840Z] Removing intermediate container ba707ed7a196 [2022-06-27T12:11:52.840Z] ---> 46000f7aef59 [2022-06-27T12:11:52.840Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T12:11:52.840Z] ---> Running in d5f5b590105b [2022-06-27T12:11:52.840Z] Removing intermediate container d5f5b590105b [2022-06-27T12:11:52.840Z] ---> a290f2f31243 [2022-06-27T12:11:52.840Z] Step 22/24 : LABEL arch=amd64 [2022-06-27T12:11:53.101Z] ---> Running in f8d2b3d54483 [2022-06-27T12:11:53.101Z] Removing intermediate container f8d2b3d54483 [2022-06-27T12:11:53.101Z] ---> ef5a112762df [2022-06-27T12:11:53.101Z] Step 23/24 : LABEL git_sha=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [2022-06-27T12:11:53.101Z] ---> Running in 27efdb6794ed [2022-06-27T12:11:53.363Z] Removing intermediate container 27efdb6794ed [2022-06-27T12:11:53.363Z] ---> 2f3262de1c39 [2022-06-27T12:11:53.363Z] Step 24/24 : LABEL version=0.0.0 [2022-06-27T12:11:53.363Z] ---> Running in e336e480b3e9 [2022-06-27T12:11:53.363Z] Removing intermediate container e336e480b3e9 [2022-06-27T12:11:53.363Z] ---> 316b137f4671 [2022-06-27T12:11:53.363Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T12:11:53.363Z] Successfully built 316b137f4671 [2022-06-27T12:11:53.363Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:11:54.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T12:11:54.226Z] [2022-06-27T12:11:54.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:11:54.608Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T12:11:54.608Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T12:11:54.608Z] 5eb5b503b376: Pulling fs layer [2022-06-27T12:11:54.608Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T12:11:54.608Z] ec43610c2a17: Pulling fs layer [2022-06-27T12:11:54.608Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T12:11:54.608Z] 33b1e0a273af: Pulling fs layer [2022-06-27T12:11:54.608Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T12:11:54.608Z] 2f39f015ded8: Pulling fs layer [2022-06-27T12:11:54.608Z] 3a2ae6a8a46f: Waiting [2022-06-27T12:11:54.608Z] 33b1e0a273af: Waiting [2022-06-27T12:11:54.608Z] 5d3b04190fa2: Waiting [2022-06-27T12:11:54.608Z] 2f39f015ded8: Waiting [2022-06-27T12:11:54.608Z] 5c69ac0246d0: Download complete [2022-06-27T12:11:54.608Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T12:11:54.608Z] 3a2ae6a8a46f: Download complete [2022-06-27T12:11:54.608Z] 33b1e0a273af: Verifying Checksum [2022-06-27T12:11:54.608Z] 33b1e0a273af: Download complete [2022-06-27T12:11:54.608Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T12:11:54.608Z] 5d3b04190fa2: Download complete [2022-06-27T12:11:54.868Z] ec43610c2a17: Download complete [2022-06-27T12:11:54.868Z] 5eb5b503b376: Verifying Checksum [2022-06-27T12:11:54.868Z] 5eb5b503b376: Download complete [2022-06-27T12:11:55.440Z] 2f39f015ded8: Download complete [2022-06-27T12:11:56.379Z] 5eb5b503b376: Pull complete [2022-06-27T12:11:56.379Z] 5c69ac0246d0: Pull complete [2022-06-27T12:11:56.957Z] ec43610c2a17: Pull complete [2022-06-27T12:11:56.957Z] 3a2ae6a8a46f: Pull complete [2022-06-27T12:11:57.217Z] 33b1e0a273af: Pull complete [2022-06-27T12:11:57.217Z] 5d3b04190fa2: Pull complete [2022-06-27T12:12:02.516Z] 2f39f015ded8: Pull complete [2022-06-27T12:12:02.516Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T12:12:02.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T12:12:02.516Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T12:12:02.734Z] prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container [2022-06-27T12:12:02.770Z] $ 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-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@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-06-27T12:12:05.066Z] $ docker top 840084a33217ddd185a6c113bdd2afa60fffc47f08b95e10e965d18f2ee635f7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:12:05.531Z] ---> job-cost.sh [2022-06-27T12:12:05.531Z] lf-activate-venv: SKIPPING [2022-06-27T12:12:05.531Z] INFO: No Stack... [2022-06-27T12:12:06.101Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T12:12:06.363Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T12:12:06.676Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives/cost.csv [2022-06-27T12:12:06.676Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T12:12:06.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [2022-06-27T12:12:06.714Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] did not exist. Created. [2022-06-27T12:12:06.714Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T12:12:07.173Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T12:12:07.244Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T12:12:07.259Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T12:12:07.343Z] $ docker stop --time=1 840084a33217ddd185a6c113bdd2afa60fffc47f08b95e10e965d18f2ee635f7 [2022-06-27T12:12:07.646Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16090 in /w/workspace/gexfoundry_device-mqtt-go_PR-396 [2022-06-27T12:12:08.544Z] $ docker rm -f 840084a33217ddd185a6c113bdd2afa60fffc47f08b95e10e965d18f2ee635f7 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws [2022-06-27T12:12:08.726Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-06-27T12:12:08.795Z] Selected Git installation does not exist. Using Default [2022-06-27T12:12:08.795Z] The recommended git tool is: NONE [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T12:12:14.888Z] using credential edgex-jenkins-ssh [2022-06-27T12:12:14.911Z] Cloning the remote Git repository [2022-06-27T12:12:14.975Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-27T12:12:15.050Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-06-27T12:12:15.131Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-27T12:12:15.132Z] > git --version # timeout=10 [2022-06-27T12:12:15.156Z] > git --version # 'git version 2.25.1' [2022-06-27T12:12:15.158Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T12:12:15.273Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T12:12:16.316Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-27T12:12:16.333Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T12:12:16.365Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-27T12:12:16.399Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-27T12:12:16.400Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T12:12:16.414Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/396/head:refs/remotes/origin/PR-396 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T12:12:17.028Z] Merging remotes/origin/main commit af7f42834155496da65d108934e36d5a2fb2bcc1 into PR head commit 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [2022-06-27T12:12:17.248Z] Merge succeeded, producing 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [2022-06-27T12:12:17.248Z] Checking out Revision 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b (PR-396) [2022-06-27T12:12:17.052Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T12:12:17.080Z] > git checkout -f 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b # timeout=10 [2022-06-27T12:12:17.167Z] > git remote # timeout=10 [2022-06-27T12:12:17.182Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T12:12:17.194Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T12:12:17.206Z] > git merge af7f42834155496da65d108934e36d5a2fb2bcc1 # timeout=10 [2022-06-27T12:12:17.228Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T12:12:17.260Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T12:12:17.272Z] > git checkout -f 8ee1ea56f803a2b2c9168ac21e71316d7ccb353b # timeout=10 [2022-06-27T12:12:21.442Z] Commit message: "fix: replace broker host config with a valid example" [2022-06-27T12:12:21.508Z] > git --version # timeout=10 [2022-06-27T12:12:21.519Z] > git --version # 'git version 2.25.1' [2022-06-27T12:12:21.539Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T12:12:22.652Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T12:12:22.652Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T12:12:22.652Z] Dload Upload Total Spent Left Speed [2022-06-27T12:12:22.652Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 82234 0 --:--:-- --:--:-- --:--:-- 82790 [Pipeline] sh [2022-06-27T12:12:23.514Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T12:12:23.871Z] + sudo tee /etc/docker/daemon.new [2022-06-27T12:12:23.871Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-27T12:12:23.871Z] { [2022-06-27T12:12:23.871Z] "registry-mirrors": [ [2022-06-27T12:12:23.871Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T12:12:23.871Z] ], [2022-06-27T12:12:23.871Z] "bip": "10.250.0.254/24", [2022-06-27T12:12:23.871Z] "hosts": [ [2022-06-27T12:12:23.871Z] "tcp://0.0.0.0:5555", [2022-06-27T12:12:23.871Z] "unix:///var/run/docker.sock" [2022-06-27T12:12:23.871Z] ], [2022-06-27T12:12:23.871Z] "mtu": 1458, [2022-06-27T12:12:23.871Z] "selinux-enabled": true, [2022-06-27T12:12:23.871Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T12:12:23.871Z] } [Pipeline] sh [2022-06-27T12:12:24.220Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T12:12:24.573Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T12:12:43.117Z] provisioning config files... [2022-06-27T12:12:43.141Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7400867672713817913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:12:43.548Z] ---> docker-login.sh [2022-06-27T12:12:43.548Z] nexus3.edgexfoundry.org:10001 [2022-06-27T12:12:44.147Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:12:44.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:12:44.424Z] Configure a credential helper to remove this warning. See [2022-06-27T12:12:44.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:12:44.424Z] [2022-06-27T12:12:44.424Z] Login Succeeded [2022-06-27T12:12:44.424Z] nexus3.edgexfoundry.org:10002 [2022-06-27T12:12:44.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:12:44.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:12:44.698Z] Configure a credential helper to remove this warning. See [2022-06-27T12:12:44.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:12:44.698Z] [2022-06-27T12:12:44.698Z] Login Succeeded [2022-06-27T12:12:44.972Z] nexus3.edgexfoundry.org:10003 [2022-06-27T12:12:45.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:12:45.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:12:45.249Z] Configure a credential helper to remove this warning. See [2022-06-27T12:12:45.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:12:45.249Z] [2022-06-27T12:12:45.249Z] Login Succeeded [2022-06-27T12:12:45.249Z] nexus3.edgexfoundry.org:10004 [2022-06-27T12:12:45.844Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:12:45.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:12:45.845Z] Configure a credential helper to remove this warning. See [2022-06-27T12:12:45.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:12:45.845Z] [2022-06-27T12:12:45.845Z] Login Succeeded [2022-06-27T12:12:45.845Z] docker.io [2022-06-27T12:12:46.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T12:12:46.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T12:12:46.398Z] Configure a credential helper to remove this warning. See [2022-06-27T12:12:46.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T12:12:46.398Z] [2022-06-27T12:12:46.670Z] Login Succeeded [2022-06-27T12:12:46.670Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T12:12:46.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T12:12:47.138Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T12:12:47.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T12:12:47.211Z] ========================================================= [2022-06-27T12:12:47.211Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T12:12:47.211Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:12:47.726Z] + 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-06-27T12:12:48.001Z] Sending build context to Docker daemon 3.107MB [2022-06-27T12:12:48.001Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T12:12:48.001Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-27T12:12:48.278Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T12:12:48.278Z] 9b3977197b4f: Pulling fs layer [2022-06-27T12:12:48.278Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T12:12:48.278Z] 94645a83ff95: Pulling fs layer [2022-06-27T12:12:48.278Z] e6fb740bc735: Pulling fs layer [2022-06-27T12:12:48.278Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T12:12:48.278Z] 355e64cbe906: Pulling fs layer [2022-06-27T12:12:48.278Z] 63ab81a10011: Pulling fs layer [2022-06-27T12:12:48.278Z] 555d1d1c4555: Pulling fs layer [2022-06-27T12:12:48.278Z] 7d9057610161: Pulling fs layer [2022-06-27T12:12:48.278Z] 63ab81a10011: Waiting [2022-06-27T12:12:48.278Z] e6fb740bc735: Waiting [2022-06-27T12:12:48.278Z] 555d1d1c4555: Waiting [2022-06-27T12:12:48.278Z] 3a77bd46dcc9: Waiting [2022-06-27T12:12:48.278Z] 355e64cbe906: Waiting [2022-06-27T12:12:48.278Z] 7d9057610161: Waiting [2022-06-27T12:12:48.278Z] 94645a83ff95: Verifying Checksum [2022-06-27T12:12:48.278Z] 94645a83ff95: Download complete [2022-06-27T12:12:48.278Z] 1a89e8eeedd5: Verifying Checksum [2022-06-27T12:12:48.278Z] 1a89e8eeedd5: Download complete [2022-06-27T12:12:48.278Z] 3a77bd46dcc9: Download complete [2022-06-27T12:12:48.278Z] 355e64cbe906: Verifying Checksum [2022-06-27T12:12:48.278Z] 355e64cbe906: Download complete [2022-06-27T12:12:48.278Z] 9b3977197b4f: Verifying Checksum [2022-06-27T12:12:48.278Z] 9b3977197b4f: Download complete [2022-06-27T12:12:48.278Z] 63ab81a10011: Verifying Checksum [2022-06-27T12:12:48.278Z] 63ab81a10011: Download complete [2022-06-27T12:12:49.272Z] 9b3977197b4f: Pull complete [2022-06-27T12:12:49.272Z] 7d9057610161: Verifying Checksum [2022-06-27T12:12:49.272Z] 7d9057610161: Download complete [2022-06-27T12:12:49.875Z] 1a89e8eeedd5: Pull complete [2022-06-27T12:12:50.151Z] 94645a83ff95: Pull complete [2022-06-27T12:12:50.424Z] 555d1d1c4555: Verifying Checksum [2022-06-27T12:12:50.424Z] 555d1d1c4555: Download complete [2022-06-27T12:12:51.022Z] e6fb740bc735: Verifying Checksum [2022-06-27T12:12:51.022Z] e6fb740bc735: Download complete [2022-06-27T12:13:03.446Z] e6fb740bc735: Pull complete [2022-06-27T12:13:03.446Z] 3a77bd46dcc9: Pull complete [2022-06-27T12:13:03.446Z] 355e64cbe906: Pull complete [2022-06-27T12:13:03.722Z] 63ab81a10011: Pull complete [2022-06-27T12:13:10.447Z] 555d1d1c4555: Pull complete [2022-06-27T12:13:12.427Z] 7d9057610161: Pull complete [2022-06-27T12:13:12.427Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T12:13:12.427Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T12:13:12.427Z] ---> 819e984ddca1 [2022-06-27T12:13:12.427Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T12:13:13.027Z] ---> Running in 8c4c7186122b [2022-06-27T12:13:13.309Z] Removing intermediate container 8c4c7186122b [2022-06-27T12:13:13.309Z] ---> 7195d5f9ed85 [2022-06-27T12:13:13.309Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T12:13:13.583Z] ---> Running in e35c25f8a41b [2022-06-27T12:13:13.863Z] Removing intermediate container e35c25f8a41b [2022-06-27T12:13:13.863Z] ---> 93e7c08c3006 [2022-06-27T12:13:13.863Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T12:13:13.863Z] ---> Running in d21f777b2471 [2022-06-27T12:13:16.512Z] Removing intermediate container d21f777b2471 [2022-06-27T12:13:16.512Z] ---> cb2d34b1465a [2022-06-27T12:13:16.512Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T12:13:16.512Z] ---> Running in dab336416de2 [2022-06-27T12:13:17.502Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T12:13:18.483Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T12:13:19.078Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-27T12:13:19.078Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-27T12:13:19.353Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-27T12:13:19.353Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-27T12:13:19.627Z] Executing busybox-1.34.1-r3.trigger [2022-06-27T12:13:19.627Z] OK: 224 MiB in 56 packages [2022-06-27T12:13:20.620Z] Removing intermediate container dab336416de2 [2022-06-27T12:13:20.620Z] ---> 39660acfdf8b [2022-06-27T12:13:20.620Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-27T12:13:20.620Z] ---> Running in 2fe9717aec7a [2022-06-27T12:13:20.897Z] Removing intermediate container 2fe9717aec7a [2022-06-27T12:13:20.898Z] ---> 7ca11feb084e [2022-06-27T12:13:20.898Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-27T12:13:21.501Z] ---> e64099e0d2ce [2022-06-27T12:13:21.501Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T12:13:21.501Z] ---> Running in 6b01d226af02 [2022-06-27T12:14:08.509Z] Removing intermediate container 6b01d226af02 [2022-06-27T12:14:08.509Z] ---> 8bdfc90f8d11 [2022-06-27T12:14:08.509Z] Step 10/12 : COPY . . [2022-06-27T12:14:08.509Z] ---> 91068cb82866 [2022-06-27T12:14:08.509Z] Step 11/12 : ARG MAKE='make build' [2022-06-27T12:14:08.509Z] ---> Running in a80ab3f3cbc6 [2022-06-27T12:14:08.509Z] Removing intermediate container a80ab3f3cbc6 [2022-06-27T12:14:08.509Z] ---> 55a055078801 [2022-06-27T12:14:08.509Z] Step 12/12 : RUN $MAKE [2022-06-27T12:14:08.509Z] ---> Running in 4693f9534f18 [2022-06-27T12:14:08.509Z] noop [2022-06-27T12:14:08.509Z] Removing intermediate container 4693f9534f18 [2022-06-27T12:14:08.509Z] ---> ec96899ad1ec [2022-06-27T12:14:08.509Z] Successfully built ec96899ad1ec [2022-06-27T12:14:08.509Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:14:08.985Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T12:14:08.985Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T12:14:09.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-16090 does not seem to be running inside a container [2022-06-27T12:14:09.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T12:14:10.668Z] $ docker top 7f5c9acd60f48a26dc232e007af0399eda60674bfb147904a0531a5d99f2224e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T12:14:11.600Z] + go version [2022-06-27T12:14:11.600Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T12:14:11.637Z] $ docker stop --time=1 7f5c9acd60f48a26dc232e007af0399eda60674bfb147904a0531a5d99f2224e [2022-06-27T12:14:13.253Z] $ docker rm -f 7f5c9acd60f48a26dc232e007af0399eda60674bfb147904a0531a5d99f2224e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:14:14.138Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T12:14:14.138Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T12:14:14.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-16090 does not seem to be running inside a container [2022-06-27T12:14:14.539Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-27T12:14:15.834Z] $ docker top d8b044388f17b59a34ab73ab4c1d172acbafff14a2891ec8428bfad65e8b12b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T12:14:16.845Z] + make test [2022-06-27T12:14:16.845Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T12:14:18.281Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-27T12:15:40.135Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-27T12:15:40.135Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements [2022-06-27T12:15:40.135Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-27T12:15:40.135Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T12:15:40.135Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T12:16:02.331Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T12:16:02.331Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T12:16:02.331Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-27T12:16:04.988Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-27T12:16:05.023Z] $ docker stop --time=1 d8b044388f17b59a34ab73ab4c1d172acbafff14a2891ec8428bfad65e8b12b9 [2022-06-27T12:16:06.781Z] $ docker rm -f d8b044388f17b59a34ab73ab4c1d172acbafff14a2891ec8428bfad65e8b12b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T12:16:07.793Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-27T12:16:07.829Z] Warning: overwriting stash ‘coverage-report’ [2022-06-27T12:16:08.272Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T12:16:08.868Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-27T12:16:09.217Z] + ls -al . [2022-06-27T12:16:09.217Z] total 176 [2022-06-27T12:16:09.217Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 12:16 . [2022-06-27T12:16:09.217Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 12:12 .. [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 12:12 .dockerignore [2022-06-27T12:16:09.217Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 12:12 .git [2022-06-27T12:16:09.217Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:12 .github [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 12:12 .gitignore [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 12:12 .golangci.yml [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 12:12 Attribution.txt [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 12:12 CHANGELOG.md [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 12:12 Dockerfile [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 12:12 GOVERNANCE.md [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 12:12 Jenkinsfile [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 12:12 LICENSE [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 12:12 Makefile [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 12:12 OWNERS.md [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 12:12 README.md [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 27 12:10 VERSION [2022-06-27T12:16:09.217Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 12:12 bin [2022-06-27T12:16:09.217Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:12 cmd [2022-06-27T12:16:09.217Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 12:15 coverage.out [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 12:12 go.mod [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 12:12 go.sum [2022-06-27T12:16:09.217Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 12:12 internal [2022-06-27T12:16:09.217Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 12:12 mock [2022-06-27T12:16:09.217Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 12:12 snap [2022-06-27T12:16:09.217Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 12:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:16:09.650Z] + 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=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b --label arch=arm64 --label version=0.0.0 . [2022-06-27T12:16:09.925Z] Sending build context to Docker daemon 3.125MB [2022-06-27T12:16:09.925Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T12:16:09.925Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-27T12:16:09.925Z] ---> ec96899ad1ec [2022-06-27T12:16:09.925Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T12:16:10.199Z] ---> Running in e2644c2c8a2e [2022-06-27T12:16:10.472Z] Removing intermediate container e2644c2c8a2e [2022-06-27T12:16:10.472Z] ---> 47dc8a97cb08 [2022-06-27T12:16:10.472Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T12:16:10.472Z] ---> Running in a188bc25d036 [2022-06-27T12:16:10.750Z] Removing intermediate container a188bc25d036 [2022-06-27T12:16:10.750Z] ---> d7968eeed7f0 [2022-06-27T12:16:10.750Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T12:16:10.750Z] ---> Running in 87ecae1c4294 [2022-06-27T12:16:12.749Z] Removing intermediate container 87ecae1c4294 [2022-06-27T12:16:12.749Z] ---> 16739a073900 [2022-06-27T12:16:12.749Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T12:16:12.749Z] ---> Running in b688ebc7c212 [2022-06-27T12:16:13.729Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T12:16:14.317Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T12:16:15.293Z] OK: 224 MiB in 56 packages [2022-06-27T12:16:15.893Z] Removing intermediate container b688ebc7c212 [2022-06-27T12:16:15.893Z] ---> 5b0474d357c4 [2022-06-27T12:16:15.893Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-27T12:16:16.173Z] ---> Running in 032c10b99e9b [2022-06-27T12:16:16.446Z] Removing intermediate container 032c10b99e9b [2022-06-27T12:16:16.446Z] ---> 910cc488e257 [2022-06-27T12:16:16.446Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-27T12:16:17.049Z] ---> e5202d69c083 [2022-06-27T12:16:17.049Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T12:16:17.049Z] ---> Running in 2dc2e361706d [2022-06-27T12:16:19.027Z] Removing intermediate container 2dc2e361706d [2022-06-27T12:16:19.027Z] ---> 32943caf4483 [2022-06-27T12:16:19.027Z] Step 10/24 : COPY . . [2022-06-27T12:16:20.010Z] ---> 5d7f45adfc08 [2022-06-27T12:16:20.010Z] Step 11/24 : ARG MAKE='make build' [2022-06-27T12:16:20.010Z] ---> Running in a75de38ca445 [2022-06-27T12:16:20.285Z] Removing intermediate container a75de38ca445 [2022-06-27T12:16:20.285Z] ---> 0ae5b95a907e [2022-06-27T12:16:20.285Z] Step 12/24 : RUN $MAKE [2022-06-27T12:16:20.285Z] ---> Running in bf5cfff3f603 [2022-06-27T12:16:21.270Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-27T12:18:28.162Z] Removing intermediate container bf5cfff3f603 [2022-06-27T12:18:28.162Z] ---> 9c0c32218b5f [2022-06-27T12:18:28.162Z] Step 13/24 : FROM alpine:3.14 [2022-06-27T12:18:28.162Z] 3.14: Pulling from library/alpine [2022-06-27T12:18:28.162Z] 455c02918c45: Pulling fs layer [2022-06-27T12:18:28.162Z] 455c02918c45: Verifying Checksum [2022-06-27T12:18:28.162Z] 455c02918c45: Download complete [2022-06-27T12:18:28.162Z] 455c02918c45: Pull complete [2022-06-27T12:18:28.162Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-27T12:18:28.162Z] Status: Downloaded newer image for alpine:3.14 [2022-06-27T12:18:28.162Z] ---> ac73e934f311 [2022-06-27T12:18:28.162Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-27T12:18:28.162Z] ---> Running in 78209931f986 [2022-06-27T12:18:28.162Z] Removing intermediate container 78209931f986 [2022-06-27T12:18:28.162Z] ---> 4844b35e15e4 [2022-06-27T12:18:28.162Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-27T12:18:28.162Z] ---> Running in 0cc37c2b291d [2022-06-27T12:18:28.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-27T12:18:28.162Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-27T12:18:28.162Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-27T12:18:28.162Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-27T12:18:28.162Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-27T12:18:28.162Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-27T12:18:28.162Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-27T12:18:28.162Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-27T12:18:28.162Z] Executing busybox-1.33.1-r7.trigger [2022-06-27T12:18:28.162Z] OK: 8 MiB in 20 packages [2022-06-27T12:18:28.162Z] Removing intermediate container 0cc37c2b291d [2022-06-27T12:18:28.162Z] ---> cd8f9a38aab7 [2022-06-27T12:18:28.162Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-27T12:18:28.162Z] ---> f37e8c699e65 [2022-06-27T12:18:28.162Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-27T12:18:28.162Z] ---> 2b8d9764978b [2022-06-27T12:18:28.162Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-27T12:18:28.162Z] ---> fe1f24726b61 [2022-06-27T12:18:28.162Z] Step 19/24 : EXPOSE 59982 [2022-06-27T12:18:28.162Z] ---> Running in 54fb47dc37d9 [2022-06-27T12:18:28.162Z] Removing intermediate container 54fb47dc37d9 [2022-06-27T12:18:28.162Z] ---> e127d022c5be [2022-06-27T12:18:28.162Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-27T12:18:28.162Z] ---> Running in 22bd07e443c6 [2022-06-27T12:18:28.162Z] Removing intermediate container 22bd07e443c6 [2022-06-27T12:18:28.162Z] ---> b726519469c1 [2022-06-27T12:18:28.162Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-27T12:18:28.162Z] ---> Running in 85cff407e738 [2022-06-27T12:18:28.162Z] Removing intermediate container 85cff407e738 [2022-06-27T12:18:28.162Z] ---> fab565f24cb6 [2022-06-27T12:18:28.162Z] Step 22/24 : LABEL arch=arm64 [2022-06-27T12:18:28.162Z] ---> Running in 3cd133a02cee [2022-06-27T12:18:28.162Z] Removing intermediate container 3cd133a02cee [2022-06-27T12:18:28.162Z] ---> 3e00656751b1 [2022-06-27T12:18:28.162Z] Step 23/24 : LABEL git_sha=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [2022-06-27T12:18:28.162Z] ---> Running in f6422c1e9c96 [2022-06-27T12:18:28.162Z] Removing intermediate container f6422c1e9c96 [2022-06-27T12:18:28.162Z] ---> f271e50d5e44 [2022-06-27T12:18:28.162Z] Step 24/24 : LABEL version=0.0.0 [2022-06-27T12:18:28.162Z] ---> Running in eaeb51317057 [2022-06-27T12:18:28.162Z] Removing intermediate container eaeb51317057 [2022-06-27T12:18:28.162Z] ---> 4ec20b335dc5 [2022-06-27T12:18:28.162Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-27T12:18:28.162Z] Successfully built 4ec20b335dc5 [2022-06-27T12:18:28.162Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:18:28.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T12:18:28.938Z] [2022-06-27T12:18:28.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:18:29.352Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T12:18:29.352Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T12:18:29.352Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T12:18:29.352Z] 04944245beec: Pulling fs layer [2022-06-27T12:18:29.352Z] 699f458cf7ca: Pulling fs layer [2022-06-27T12:18:29.352Z] 765212b225bb: Pulling fs layer [2022-06-27T12:18:29.352Z] f23df028b6ca: Pulling fs layer [2022-06-27T12:18:29.352Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T12:18:29.352Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T12:18:29.352Z] f23df028b6ca: Waiting [2022-06-27T12:18:29.352Z] d65c8cfc05b1: Waiting [2022-06-27T12:18:29.352Z] 2437ff75d9bd: Waiting [2022-06-27T12:18:29.352Z] 765212b225bb: Waiting [2022-06-27T12:18:29.627Z] 04944245beec: Verifying Checksum [2022-06-27T12:18:29.627Z] 04944245beec: Download complete [2022-06-27T12:18:29.627Z] 765212b225bb: Verifying Checksum [2022-06-27T12:18:29.627Z] 765212b225bb: Download complete [2022-06-27T12:18:29.627Z] f23df028b6ca: Verifying Checksum [2022-06-27T12:18:29.627Z] f23df028b6ca: Download complete [2022-06-27T12:18:29.627Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T12:18:29.627Z] d65c8cfc05b1: Download complete [2022-06-27T12:18:29.907Z] 699f458cf7ca: Verifying Checksum [2022-06-27T12:18:29.907Z] 699f458cf7ca: Download complete [2022-06-27T12:18:30.184Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T12:18:30.184Z] 8998bd30e6a1: Download complete [2022-06-27T12:18:32.818Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T12:18:32.818Z] 2437ff75d9bd: Download complete [2022-06-27T12:18:34.268Z] 8998bd30e6a1: Pull complete [2022-06-27T12:18:34.882Z] 04944245beec: Pull complete [2022-06-27T12:18:36.324Z] 699f458cf7ca: Pull complete [2022-06-27T12:18:36.601Z] 765212b225bb: Pull complete [2022-06-27T12:18:37.206Z] f23df028b6ca: Pull complete [2022-06-27T12:18:37.483Z] d65c8cfc05b1: Pull complete [2022-06-27T12:18:52.600Z] 2437ff75d9bd: Pull complete [2022-06-27T12:18:52.600Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T12:18:52.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T12:18:52.600Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T12:18:52.978Z] prd-ubuntu20.04-docker-arm64-4c-16g-16090 does not seem to be running inside a container [2022-06-27T12:18:53.069Z] $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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:arm64 cat [2022-06-27T12:18:55.592Z] $ docker top 280cb2465796ddb7c268f4441d05274332d72031b1a9dcee8fcca9a47426211e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:18:56.583Z] ---> job-cost.sh [2022-06-27T12:18:56.583Z] lf-activate-venv: SKIPPING [2022-06-27T12:18:56.583Z] INFO: No Stack... [2022-06-27T12:18:57.179Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T12:18:57.776Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T12:18:58.457Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-06-27T12:18:58.457Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T12:18:58.540Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [2022-06-27T12:18:58.544Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] did not exist. Created. [2022-06-27T12:18:58.544Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T12:18:59.287Z] /w/workspace/device-mqtt-go/1@tmp/durable-e3b3cd68/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T12:18:59.983Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T12:19:00.019Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T12:19:00.069Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T12:19:00.084Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-396-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T12:19:00.168Z] $ docker stop --time=1 280cb2465796ddb7c268f4441d05274332d72031b1a9dcee8fcca9a47426211e [2022-06-27T12:19:01.681Z] $ docker rm -f 280cb2465796ddb7c268f4441d05274332d72031b1a9dcee8fcca9a47426211e [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-06-27T12:19:02.746Z] provisioning config files... [2022-06-27T12:19:02.754Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/config8748625834866906565tmp [Pipeline] { [Pipeline] sh [2022-06-27T12:19:03.093Z] + set +x [2022-06-27T12:19:03.093Z] + curl -s https://codecov.io/bash [2022-06-27T12:19:03.093Z] + bash -s -- [2022-06-27T12:19:03.093Z] [2022-06-27T12:19:03.093Z] _____ _ [2022-06-27T12:19:03.093Z] / ____| | | [2022-06-27T12:19:03.093Z] | | ___ __| | ___ ___ _____ __ [2022-06-27T12:19:03.093Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-27T12:19:03.093Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-27T12:19:03.093Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-27T12:19:03.093Z] Bash-1.0.6 [2022-06-27T12:19:03.093Z] [2022-06-27T12:19:03.093Z] [2022-06-27T12:19:03.093Z] ==> git version 2.25.1 found [2022-06-27T12:19:03.093Z] ==> 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-06-27T12:19:03.093Z] Release-Date: 2020-01-08 [2022-06-27T12:19:03.093Z] 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-06-27T12:19:03.093Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-27T12:19:03.093Z] ==> Jenkins CI detected. [2022-06-27T12:19:03.093Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-396 [2022-06-27T12:19:03.093Z] project root: . [2022-06-27T12:19:03.093Z] --> token set from env [2022-06-27T12:19:03.093Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-27T12:19:03.093Z] ==> Running gcov in . (disable via -X gcov) [2022-06-27T12:19:03.093Z] ==> Python coveragepy not found [2022-06-27T12:19:03.093Z] ==> Searching for coverage reports in: [2022-06-27T12:19:03.093Z] + . [2022-06-27T12:19:03.093Z] -> Found 1 reports [2022-06-27T12:19:03.093Z] ==> Detecting git/mercurial file structure [2022-06-27T12:19:03.093Z] ==> Reading reports [2022-06-27T12:19:03.093Z] + ./coverage.out bytes=17887 [2022-06-27T12:19:03.093Z] ==> Appending adjustments [2022-06-27T12:19:03.093Z] https://docs.codecov.io/docs/fixing-reports [2022-06-27T12:19:03.355Z] + Found adjustments [2022-06-27T12:19:03.355Z] ==> Gzipping contents [2022-06-27T12:19:03.355Z] 4.0K /tmp/codecov.jRJIa3.gz [2022-06-27T12:19:03.355Z] ==> Uploading reports [2022-06-27T12:19:03.355Z] url: https://codecov.io [2022-06-27T12:19:03.355Z] query: branch=PR-396&commit=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=396&job=&cmd_args= [2022-06-27T12:19:03.355Z] -> Pinging Codecov [2022-06-27T12:19:03.355Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-396&commit=8ee1ea56f803a2b2c9168ac21e71316d7ccb353b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-396%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=396&job=&cmd_args= [2022-06-27T12:19:03.615Z] -> Uploading to [2022-06-27T12:19:03.616Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-27/7D719EC7BBE17E464838252E33014C33/8ee1ea56f803a2b2c9168ac21e71316d7ccb353b/1cbeb135-0049-4b05-9f46-2b504b216ad1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T121903Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06c411921cc6e1676ca1450de90f47117d5cace98a1dbbc35a7f97e55bf920df [2022-06-27T12:19:03.616Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T12:19:03.616Z] Dload Upload Total Spent Left Speed [2022-06-27T12:19:03.877Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 9287 --:--:-- --:--:-- --:--:-- 9287 [2022-06-27T12:19:03.877Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8ee1ea56f803a2b2c9168ac21e71316d7ccb353b [Pipeline] } [2022-06-27T12:19:03.905Z] 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-06-27T12:19:05.670Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives ] [2022-06-27T12:19:05.671Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives [2022-06-27T12:19:05.671Z] total 16 [2022-06-27T12:19:05.671Z] drwxr-xr-x 3 root root 4096 Jun 27 12:12 . [2022-06-27T12:19:05.671Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 12:12 .. [2022-06-27T12:19:05.671Z] drwxr-xr-x 2 root root 4096 Jun 27 12:12 cost [2022-06-27T12:19:05.671Z] -rw-r--r-- 1 root root 85 Jun 27 12:12 cost.csv [2022-06-27T12:19:05.671Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives [2022-06-27T12:19:05.671Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives [2022-06-27T12:19:05.671Z] total 16 [2022-06-27T12:19:05.671Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 12:12 . [2022-06-27T12:19:05.671Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 12:12 .. [2022-06-27T12:19:05.671Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 12:12 cost [2022-06-27T12:19:05.671Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 27 12:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:19:06.000Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:19:06.894Z] ---> package-listing.sh [2022-06-27T12:19:06.894Z] ++ facter osfamily [2022-06-27T12:19:06.894Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T12:19:07.156Z] + OS_FAMILY=debian [2022-06-27T12:19:07.156Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-396 [2022-06-27T12:19:07.156Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T12:19:07.156Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T12:19:07.156Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T12:19:07.156Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T12:19:07.156Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-396 ']' [2022-06-27T12:19:07.156Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T12:19:07.156Z] + case "${OS_FAMILY}" in [2022-06-27T12:19:07.156Z] + dpkg -l [2022-06-27T12:19:07.156Z] + grep '^ii' [2022-06-27T12:19:07.156Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T12:19:07.156Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T12:19:07.156Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T12:19:07.156Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-396 ']' [2022-06-27T12:19:07.156Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives/ [2022-06-27T12:19:07.156Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-396/archives/ [Pipeline] echo [2022-06-27T12:19:07.192Z] 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-396/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T12:19:07.491Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T12:19:07.880Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T12:19:07.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T12:19:08.039Z] prd-ubuntu20.04-docker-8c-8g-16088 does not seem to be running inside a container [2022-06-27T12:19:08.076Z] $ 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-396/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-396 -v /w/workspace/gexfoundry_device-mqtt-go_PR-396:/w/workspace/gexfoundry_device-mqtt-go_PR-396:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T12:19:08.326Z] $ docker top 19b97eeac9f20fb6c72c573f8bee885c1640d5a522df8e0fff76999112e2fb97 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T12:19:08.726Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T12:19:09.036Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T12:19:09.348Z] + ls /var/log/sa-host [2022-06-27T12:19:09.348Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T12:19:09.473Z] provisioning config files... [2022-06-27T12:19:09.483Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-396@tmp/config3622445485752641650tmp [Pipeline] { [Pipeline] echo [2022-06-27T12:19:09.536Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:19:09.843Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T12:19:09.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:19:10.280Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T12:19:10.310Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:19:10.631Z] ---> sudo-logs.sh [2022-06-27T12:19:10.631Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T12:19:10.709Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:19:11.022Z] ---> job-cost.sh [2022-06-27T12:19:11.022Z] lf-activate-venv: SKIPPING [2022-06-27T12:19:11.022Z] DEBUG: total: 0.2199999988079071 [2022-06-27T12:19:11.022Z] INFO: Retrieving Stack Cost... [2022-06-27T12:19:11.283Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T12:19:11.853Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T12:19:11.891Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T12:19:12.206Z] ---> logs-deploy.sh [2022-06-27T12:19:12.206Z] lf-activate-venv: SKIPPING [2022-06-27T12:19:12.206Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-396/1 [2022-06-27T12:19:12.206Z] INFO: archiving workspace using pattern(s): [2022-06-27T12:19:13.145Z] Archives upload complete. [2022-06-27T12:19:13.145Z] INFO: archiving logs to Nexus