Pull request #399 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6157573bc68ae76d3587f58547794fe9973c7964+8b7bfd06f10d442433da09be4b1bd94ea6f5832d (6e58701aec401697e300b3333fc7746d630ed799) 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-ssh4003139284441120403.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-ssh8044458347534508907.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-399/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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7536345899588784061.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-399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10121223960148142081.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-ssh7914554848467233105.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-399/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-399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9359235387555039483.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-16763’ Running on prd-ubuntu20.04-docker-8c-8g-16771 in /w/workspace/gexfoundry_device-mqtt-go_PR-399 [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-399 # 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 8b7bfd06f10d442433da09be4b1bd94ea6f5832d into PR head commit 6157573bc68ae76d3587f58547794fe9973c7964 Merge succeeded, producing 6157573bc68ae76d3587f58547794fe9973c7964 Checking out Revision 6157573bc68ae76d3587f58547794fe9973c7964 (PR-399) > 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/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6157573bc68ae76d3587f58547794fe9973c7964 # 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 8b7bfd06f10d442433da09be4b1bd94ea6f5832d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6157573bc68ae76d3587f58547794fe9973c7964 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0" 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-07-04T01:27:40.203Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-04T01:27:40.398Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-04T01:27:40.512Z] ========================================================= [2022-07-04T01:27:40.512Z] EdgeX Global Pipelines Version Info [2022-07-04T01:27:40.512Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:27:41.333Z] ------------------- [2022-07-04T01:27:41.334Z] stable info: [2022-07-04T01:27:41.334Z] ------------------- [2022-07-04T01:27:41.334Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-04T01:27:41.334Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-07-04T01:27:41.334Z] Message: update stable to v1.0.234 [2022-07-04T01:27:41.912Z] ------------------- [2022-07-04T01:27:41.912Z] experimental info: [2022-07-04T01:27:41.912Z] ------------------- [2022-07-04T01:27:41.912Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-04T01:27:41.912Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-07-04T01:27:41.912Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-04T01:27:42.292Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-07-04T01:27:42.337Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-07-04T01:27:42.377Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-04T01:27:42.420Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-04T01:27:42.468Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-04T01:27:42.514Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-07-04T01:27:42.557Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-04T01:27:42.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-04T01:27:42.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-04T01:27:42.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-04T01:27:42.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-04T01:27:42.771Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-07-04T01:27:42.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-04T01:27:42.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-04T01:27:42.904Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-04T01:27:42.953Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-04T01:27:42.993Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-04T01:27:43.032Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-04T01:27:43.070Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-04T01:27:43.108Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-04T01:27:43.154Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-04T01:27:43.196Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-04T01:27:43.238Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-04T01:27:43.283Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-04T01:27:43.328Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-04T01:27:43.368Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-04T01:27:43.411Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-04T01:27:43.457Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-399 [Pipeline] echo [2022-07-04T01:27:43.501Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-399 [Pipeline] echo [2022-07-04T01:27:43.543Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-399 [Pipeline] echo [2022-07-04T01:27:43.582Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6157573bc68ae76d3587f58547794fe9973c7964 [Pipeline] echo [2022-07-04T01:27:43.625Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6157573 [Pipeline] echo [2022-07-04T01:27:43.666Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T01:27:43.785Z] provisioning config files... [2022-07-04T01:27:43.800Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp/config1955892107687989124tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:27:44.147Z] ---> docker-login.sh [2022-07-04T01:27:44.147Z] nexus3.edgexfoundry.org:10001 [2022-07-04T01:27:44.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:27:44.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:27:44.670Z] Configure a credential helper to remove this warning. See [2022-07-04T01:27:44.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:27:44.670Z] [2022-07-04T01:27:44.670Z] Login Succeeded [2022-07-04T01:27:44.670Z] nexus3.edgexfoundry.org:10002 [2022-07-04T01:27:44.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:27:44.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:27:44.670Z] Configure a credential helper to remove this warning. See [2022-07-04T01:27:44.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:27:44.670Z] [2022-07-04T01:27:44.670Z] Login Succeeded [2022-07-04T01:27:44.670Z] nexus3.edgexfoundry.org:10003 [2022-07-04T01:27:44.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:27:44.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:27:44.931Z] Configure a credential helper to remove this warning. See [2022-07-04T01:27:44.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:27:44.931Z] [2022-07-04T01:27:44.931Z] Login Succeeded [2022-07-04T01:27:44.931Z] nexus3.edgexfoundry.org:10004 [2022-07-04T01:27:44.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:27:44.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:27:44.932Z] Configure a credential helper to remove this warning. See [2022-07-04T01:27:44.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:27:44.932Z] [2022-07-04T01:27:44.932Z] Login Succeeded [2022-07-04T01:27:44.932Z] docker.io [2022-07-04T01:27:45.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:27:45.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:27:45.453Z] Configure a credential helper to remove this warning. See [2022-07-04T01:27:45.453Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:27:45.453Z] [2022-07-04T01:27:45.453Z] Login Succeeded [2022-07-04T01:27:45.453Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T01:27:45.484Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-04T01:27:46.141Z] + git rev-list -1 --merges 6157573bc68ae76d3587f58547794fe9973c7964~1..6157573bc68ae76d3587f58547794fe9973c7964 [Pipeline] echo [2022-07-04T01:27:46.189Z] -----------> git rev-list -1 --merges 6157573bc68ae76d3587f58547794fe9973c7964~1..6157573bc68ae76d3587f58547794fe9973c7964 6157573bc68ae76d3587f58547794fe9973c7964 [false] [Pipeline] sh [2022-07-04T01:27:46.506Z] + git log --format=format:%s -1 6157573bc68ae76d3587f58547794fe9973c7964 [Pipeline] echo [2022-07-04T01:27:46.548Z] ========================================================= [2022-07-04T01:27:46.548Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-04T01:27:46.548Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T01:27:47.011Z] + git log --format=format:%s -1 6157573bc68ae76d3587f58547794fe9973c7964 [Pipeline] echo [2022-07-04T01:27:47.048Z] [semverPrep] GIT_COMMIT: 6157573bc68ae76d3587f58547794fe9973c7964, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 [Pipeline] echo [2022-07-04T01:27:47.081Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-04T01:27:47.484Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-04T01:27:47.484Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-04T01:27:47.484Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-04T01:27:47.484Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-04T01:27:47.484Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-04T01:27:47.484Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-04T01:27:47.484Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:27:48.023Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T01:27:48.023Z] [2022-07-04T01:27:48.023Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:27:48.403Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T01:27:48.403Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-04T01:27:48.403Z] 42c077c10790: Pulling fs layer [2022-07-04T01:27:48.403Z] f63e77b7563a: Pulling fs layer [2022-07-04T01:27:48.403Z] bd5fdadae976: Pulling fs layer [2022-07-04T01:27:48.403Z] 205491f53016: Pulling fs layer [2022-07-04T01:27:48.403Z] df18705c85c3: Pulling fs layer [2022-07-04T01:27:48.403Z] df18705c85c3: Waiting [2022-07-04T01:27:48.403Z] bdb3f477010e: Pulling fs layer [2022-07-04T01:27:48.403Z] c8a8fc8e1c8f: Pulling fs layer [2022-07-04T01:27:48.403Z] 2c6e9b1d212d: Pulling fs layer [2022-07-04T01:27:48.403Z] c8a8fc8e1c8f: Waiting [2022-07-04T01:27:48.403Z] 2c6e9b1d212d: Waiting [2022-07-04T01:27:48.403Z] bdb3f477010e: Waiting [2022-07-04T01:27:48.403Z] bdb8f0575790: Pulling fs layer [2022-07-04T01:27:48.403Z] 386e3cb2ff24: Pulling fs layer [2022-07-04T01:27:48.403Z] 2343380bae48: Pulling fs layer [2022-07-04T01:27:48.403Z] 2343380bae48: Waiting [2022-07-04T01:27:48.403Z] bdb8f0575790: Waiting [2022-07-04T01:27:48.403Z] f63e77b7563a: Download complete [2022-07-04T01:27:48.403Z] 205491f53016: Download complete [2022-07-04T01:27:48.666Z] df18705c85c3: Verifying Checksum [2022-07-04T01:27:48.666Z] df18705c85c3: Download complete [2022-07-04T01:27:48.666Z] bdb3f477010e: Verifying Checksum [2022-07-04T01:27:48.666Z] bd5fdadae976: Verifying Checksum [2022-07-04T01:27:48.666Z] bd5fdadae976: Download complete [2022-07-04T01:27:48.666Z] 2c6e9b1d212d: Verifying Checksum [2022-07-04T01:27:48.666Z] 2c6e9b1d212d: Download complete [2022-07-04T01:27:48.666Z] bdb8f0575790: Verifying Checksum [2022-07-04T01:27:48.666Z] bdb8f0575790: Download complete [2022-07-04T01:27:48.666Z] 386e3cb2ff24: Verifying Checksum [2022-07-04T01:27:48.666Z] 386e3cb2ff24: Download complete [2022-07-04T01:27:48.666Z] 2343380bae48: Verifying Checksum [2022-07-04T01:27:48.666Z] 2343380bae48: Download complete [2022-07-04T01:27:48.666Z] 42c077c10790: Verifying Checksum [2022-07-04T01:27:48.666Z] 42c077c10790: Download complete [2022-07-04T01:27:48.928Z] c8a8fc8e1c8f: Download complete [2022-07-04T01:27:50.313Z] 42c077c10790: Pull complete [2022-07-04T01:27:50.313Z] f63e77b7563a: Pull complete [2022-07-04T01:27:50.884Z] bd5fdadae976: Pull complete [2022-07-04T01:27:50.884Z] 205491f53016: Pull complete [2022-07-04T01:27:51.147Z] df18705c85c3: Pull complete [2022-07-04T01:27:51.147Z] bdb3f477010e: Pull complete [2022-07-04T01:27:53.694Z] c8a8fc8e1c8f: Pull complete [2022-07-04T01:27:53.694Z] 2c6e9b1d212d: Pull complete [2022-07-04T01:27:53.694Z] bdb8f0575790: Pull complete [2022-07-04T01:27:53.694Z] 386e3cb2ff24: Pull complete [2022-07-04T01:27:53.694Z] 2343380bae48: Pull complete [2022-07-04T01:27:53.694Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-07-04T01:27:53.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-04T01:27:53.694Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T01:27:53.944Z] prd-ubuntu20.04-docker-8c-8g-16771 does not seem to be running inside a container [2022-07-04T01:27:53.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-399 -v /w/workspace/gexfoundry_device-mqtt-go_PR-399:/w/workspace/gexfoundry_device-mqtt-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-04T01:27:55.394Z] $ docker top f8a5f610d3a601a1bc8790d4c2495d795205bae9820bbb7a667dadabb62318c4 -eo pid,comm [2022-07-04T01:27:55.480Z] 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-07-04T01:27:55.480Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-04T01:27:55.611Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-04T01:27:55.611Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-04T01:27:55.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-04T01:27:55.749Z] $ docker exec f8a5f610d3a601a1bc8790d4c2495d795205bae9820bbb7a667dadabb62318c4 ssh-agent [2022-07-04T01:27:55.892Z] SSH_AUTH_SOCK=/tmp/ssh-gv4uXYAbASI2/agent.32 [2022-07-04T01:27:55.892Z] SSH_AGENT_PID=38 [2022-07-04T01:27:55.899Z] Running ssh-add (command line suppressed) [2022-07-04T01:27:56.039Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp/private_key_2213137804383555183.key (/w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp/private_key_2213137804383555183.key) [2022-07-04T01:27:56.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-04T01:27:56.397Z] + git tag --points-at HEAD [Pipeline] } [2022-07-04T01:27:56.422Z] $ docker exec --env ******** --env ******** f8a5f610d3a601a1bc8790d4c2495d795205bae9820bbb7a667dadabb62318c4 ssh-agent -k [2022-07-04T01:27:56.540Z] unset SSH_AUTH_SOCK; [2022-07-04T01:27:56.541Z] unset SSH_AGENT_PID; [2022-07-04T01:27:56.541Z] echo Agent pid 38 killed; [2022-07-04T01:27:56.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-04T01:27:56.647Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-04T01:27:56.647Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-04T01:27:56.774Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-04T01:27:56.778Z] $ docker exec f8a5f610d3a601a1bc8790d4c2495d795205bae9820bbb7a667dadabb62318c4 ssh-agent [2022-07-04T01:27:56.904Z] SSH_AUTH_SOCK=/tmp/ssh-2gFDN7Sux227/agent.72 [2022-07-04T01:27:56.904Z] SSH_AGENT_PID=78 [2022-07-04T01:27:56.909Z] Running ssh-add (command line suppressed) [2022-07-04T01:27:57.025Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp/private_key_3226887327299038022.key (/w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp/private_key_3226887327299038022.key) [2022-07-04T01:27:57.040Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-04T01:27:57.379Z] + git semver init [2022-07-04T01:27:57.640Z] 2022-07-04 01:27:57,568 [run_init] DEBUG init version:0.0.0 force:False [2022-07-04T01:27:57.640Z] 2022-07-04 01:27:57,569 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-399/.semver [2022-07-04T01:27:57.640Z] 2022-07-04 01:27:57,569 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-399/.semver [2022-07-04T01:27:57.640Z] 2022-07-04 01:27:57,569 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-399/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-399, universal_newlines=False, shell=None, istream=None) [2022-07-04T01:27:58.582Z] 2022-07-04 01:27:58,304 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-399/.git/info/exclude [2022-07-04T01:27:58.582Z] 2022-07-04 01:27:58,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-399/.semver/PR-399 with force:False [2022-07-04T01:27:58.582Z] 2022-07-04 01:27:58,305 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-399/.semver/PR-399 [2022-07-04T01:27:58.582Z] 2022-07-04 01:27:58,311 [execute] INFO git cat-file --batch-check [2022-07-04T01:27:58.582Z] 2022-07-04 01:27:58,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) [2022-07-04T01:27:58.582Z] 2022-07-04 01:27:58,318 [execute] INFO git cat-file --batch [2022-07-04T01:27:58.582Z] 2022-07-04 01:27:58,318 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-399/.semver, universal_newlines=False, shell=None, istream=) [2022-07-04T01:27:58.582Z] 2022-07-04 01:27:58,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-399/.semver/PR-399 [2022-07-04T01:27:58.582Z] 0.0.0 [Pipeline] } [2022-07-04T01:27:58.613Z] $ docker exec --env ******** --env ******** f8a5f610d3a601a1bc8790d4c2495d795205bae9820bbb7a667dadabb62318c4 ssh-agent -k [2022-07-04T01:27:58.730Z] unset SSH_AUTH_SOCK; [2022-07-04T01:27:58.731Z] unset SSH_AGENT_PID; [2022-07-04T01:27:58.731Z] echo Agent pid 78 killed; [2022-07-04T01:27:58.747Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-04T01:27:59.192Z] + git semver [Pipeline] } [2022-07-04T01:27:59.485Z] $ docker stop --time=1 f8a5f610d3a601a1bc8790d4c2495d795205bae9820bbb7a667dadabb62318c4 [2022-07-04T01:28:00.811Z] $ docker rm -f f8a5f610d3a601a1bc8790d4c2495d795205bae9820bbb7a667dadabb62318c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T01:28:01.249Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-04T01:28:01.578Z] Stashed 1 file(s) [Pipeline] echo [2022-07-04T01:28:01.595Z] [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-07-04T01:28:02.236Z] provisioning config files... [2022-07-04T01:28:02.248Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp/config7105019900873486627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:28:02.605Z] ---> docker-login.sh [2022-07-04T01:28:02.605Z] nexus3.edgexfoundry.org:10001 [2022-07-04T01:28:02.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:28:02.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:28:02.605Z] Configure a credential helper to remove this warning. See [2022-07-04T01:28:02.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:28:02.605Z] [2022-07-04T01:28:02.605Z] Login Succeeded [2022-07-04T01:28:02.605Z] nexus3.edgexfoundry.org:10002 [2022-07-04T01:28:02.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:28:02.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:28:02.866Z] Configure a credential helper to remove this warning. See [2022-07-04T01:28:02.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:28:02.866Z] [2022-07-04T01:28:02.866Z] Login Succeeded [2022-07-04T01:28:02.866Z] nexus3.edgexfoundry.org:10003 [2022-07-04T01:28:02.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:28:02.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:28:02.866Z] Configure a credential helper to remove this warning. See [2022-07-04T01:28:02.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:28:02.866Z] [2022-07-04T01:28:02.866Z] Login Succeeded [2022-07-04T01:28:02.866Z] nexus3.edgexfoundry.org:10004 [2022-07-04T01:28:03.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:28:03.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:28:03.128Z] Configure a credential helper to remove this warning. See [2022-07-04T01:28:03.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:28:03.128Z] [2022-07-04T01:28:03.128Z] Login Succeeded [2022-07-04T01:28:03.128Z] docker.io [2022-07-04T01:28:03.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:28:03.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:28:03.391Z] Configure a credential helper to remove this warning. See [2022-07-04T01:28:03.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:28:03.391Z] [2022-07-04T01:28:03.391Z] Login Succeeded [2022-07-04T01:28:03.391Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T01:28:03.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-04T01:28:03.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T01:28:03.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T01:28:03.708Z] ========================================================= [2022-07-04T01:28:03.708Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-07-04T01:28:03.708Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:28:04.190Z] + 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-07-04T01:28:04.190Z] Sending build context to Docker daemon 6.029MB [2022-07-04T01:28:04.190Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T01:28:04.190Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-04T01:28:04.190Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-04T01:28:04.190Z] 59bf1c3509f3: Pulling fs layer [2022-07-04T01:28:04.190Z] 666ba61612fd: Pulling fs layer [2022-07-04T01:28:04.190Z] 8ed8ca486205: Pulling fs layer [2022-07-04T01:28:04.190Z] cc1cd167ecdc: Pulling fs layer [2022-07-04T01:28:04.190Z] c516ae0d96e1: Pulling fs layer [2022-07-04T01:28:04.190Z] 684cea983483: Pulling fs layer [2022-07-04T01:28:04.190Z] dd3240ac7de5: Pulling fs layer [2022-07-04T01:28:04.190Z] b1e948a4e11c: Pulling fs layer [2022-07-04T01:28:04.190Z] a8fd76ee1af6: Pulling fs layer [2022-07-04T01:28:04.190Z] 646ad004c059: Pulling fs layer [2022-07-04T01:28:04.190Z] 684cea983483: Waiting [2022-07-04T01:28:04.190Z] a8fd76ee1af6: Waiting [2022-07-04T01:28:04.190Z] 646ad004c059: Waiting [2022-07-04T01:28:04.190Z] b1e948a4e11c: Waiting [2022-07-04T01:28:04.190Z] cc1cd167ecdc: Waiting [2022-07-04T01:28:04.190Z] c516ae0d96e1: Waiting [2022-07-04T01:28:04.190Z] 8ed8ca486205: Verifying Checksum [2022-07-04T01:28:04.190Z] 8ed8ca486205: Download complete [2022-07-04T01:28:04.190Z] 666ba61612fd: Download complete [2022-07-04T01:28:04.190Z] c516ae0d96e1: Verifying Checksum [2022-07-04T01:28:04.190Z] c516ae0d96e1: Download complete [2022-07-04T01:28:04.452Z] 684cea983483: Verifying Checksum [2022-07-04T01:28:04.452Z] 684cea983483: Download complete [2022-07-04T01:28:04.452Z] dd3240ac7de5: Verifying Checksum [2022-07-04T01:28:04.452Z] dd3240ac7de5: Download complete [2022-07-04T01:28:04.452Z] 59bf1c3509f3: Verifying Checksum [2022-07-04T01:28:04.452Z] 59bf1c3509f3: Download complete [2022-07-04T01:28:04.452Z] b1e948a4e11c: Verifying Checksum [2022-07-04T01:28:04.452Z] b1e948a4e11c: Download complete [2022-07-04T01:28:04.452Z] 59bf1c3509f3: Pull complete [2022-07-04T01:28:04.725Z] 666ba61612fd: Pull complete [2022-07-04T01:28:04.725Z] 8ed8ca486205: Pull complete [2022-07-04T01:28:04.992Z] 646ad004c059: Download complete [2022-07-04T01:28:04.992Z] a8fd76ee1af6: Verifying Checksum [2022-07-04T01:28:04.992Z] a8fd76ee1af6: Download complete [2022-07-04T01:28:05.251Z] cc1cd167ecdc: Verifying Checksum [2022-07-04T01:28:05.251Z] cc1cd167ecdc: Download complete [2022-07-04T01:28:09.452Z] cc1cd167ecdc: Pull complete [2022-07-04T01:28:09.452Z] c516ae0d96e1: Pull complete [2022-07-04T01:28:09.452Z] 684cea983483: Pull complete [2022-07-04T01:28:09.452Z] dd3240ac7de5: Pull complete [2022-07-04T01:28:09.452Z] b1e948a4e11c: Pull complete [2022-07-04T01:28:11.990Z] a8fd76ee1af6: Pull complete [2022-07-04T01:28:12.560Z] 646ad004c059: Pull complete [2022-07-04T01:28:12.560Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-07-04T01:28:12.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-07-04T01:28:12.823Z] ---> 8f69c11f6b0c [2022-07-04T01:28:12.823Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-04T01:28:14.738Z] ---> Running in aad8c8f72032 [2022-07-04T01:28:14.738Z] Removing intermediate container aad8c8f72032 [2022-07-04T01:28:14.738Z] ---> d6d2c0e26c75 [2022-07-04T01:28:14.738Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-04T01:28:14.738Z] ---> Running in ae0927bb4857 [2022-07-04T01:28:14.738Z] Removing intermediate container ae0927bb4857 [2022-07-04T01:28:14.738Z] ---> 545843e170b6 [2022-07-04T01:28:14.738Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T01:28:14.738Z] ---> Running in 7c6c0a8b4ee5 [2022-07-04T01:28:15.310Z] Removing intermediate container 7c6c0a8b4ee5 [2022-07-04T01:28:15.310Z] ---> b0438a18966e [2022-07-04T01:28:15.310Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-04T01:28:15.310Z] ---> Running in 55f2ade638fb [2022-07-04T01:28:15.569Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-04T01:28:16.513Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-04T01:28:16.775Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-04T01:28:17.035Z] Still waiting to schedule task [2022-07-04T01:28:17.035Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16768’ [2022-07-04T01:28:17.036Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-04T01:28:17.036Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-04T01:28:17.036Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-04T01:28:17.299Z] Executing busybox-1.34.1-r3.trigger [2022-07-04T01:28:17.299Z] OK: 224 MiB in 56 packages [2022-07-04T01:28:17.562Z] Removing intermediate container 55f2ade638fb [2022-07-04T01:28:17.562Z] ---> 961d9519f305 [2022-07-04T01:28:17.562Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-04T01:28:17.562Z] ---> Running in 18053fe992e3 [2022-07-04T01:28:17.823Z] Removing intermediate container 18053fe992e3 [2022-07-04T01:28:17.823Z] ---> f031b67cfbb9 [2022-07-04T01:28:17.823Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-04T01:28:17.823Z] ---> 11c335023c9f [2022-07-04T01:28:17.823Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T01:28:18.083Z] ---> Running in 054d62e629b1 [2022-07-04T01:28:44.674Z] Removing intermediate container 054d62e629b1 [2022-07-04T01:28:44.674Z] ---> d447cdbaf655 [2022-07-04T01:28:44.674Z] Step 10/12 : COPY . . [2022-07-04T01:28:44.674Z] ---> 39833d4f30fc [2022-07-04T01:28:44.674Z] Step 11/12 : ARG MAKE='make build' [2022-07-04T01:28:44.674Z] ---> Running in 4307eb56482d [2022-07-04T01:28:44.674Z] Removing intermediate container 4307eb56482d [2022-07-04T01:28:44.674Z] ---> dc660b97b38c [2022-07-04T01:28:44.674Z] Step 12/12 : RUN $MAKE [2022-07-04T01:28:44.674Z] ---> Running in 77cfdc058bb0 [2022-07-04T01:28:44.674Z] noop [2022-07-04T01:28:44.674Z] Removing intermediate container 77cfdc058bb0 [2022-07-04T01:28:44.674Z] ---> b66ebbe6989a [2022-07-04T01:28:44.674Z] Successfully built b66ebbe6989a [2022-07-04T01:28:44.674Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:28:45.115Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-04T01:28:45.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T01:28:45.277Z] prd-ubuntu20.04-docker-8c-8g-16771 does not seem to be running inside a container [2022-07-04T01:28:45.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-399 -v /w/workspace/gexfoundry_device-mqtt-go_PR-399:/w/workspace/gexfoundry_device-mqtt-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-399@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 ******** ci-base-image-x86_64 cat [2022-07-04T01:28:45.733Z] $ docker top 113fdda78c69de315be058cfd4b81a5de560f6123a4c434fa962fda4f7d7cd80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T01:28:46.178Z] + go version [2022-07-04T01:28:46.178Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-07-04T01:28:46.205Z] $ docker stop --time=1 113fdda78c69de315be058cfd4b81a5de560f6123a4c434fa962fda4f7d7cd80 [2022-07-04T01:28:47.509Z] $ docker rm -f 113fdda78c69de315be058cfd4b81a5de560f6123a4c434fa962fda4f7d7cd80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:28:48.263Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-04T01:28:48.263Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T01:28:48.436Z] prd-ubuntu20.04-docker-8c-8g-16771 does not seem to be running inside a container [2022-07-04T01:28:48.474Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-399 -v /w/workspace/gexfoundry_device-mqtt-go_PR-399:/w/workspace/gexfoundry_device-mqtt-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-399@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 ******** ci-base-image-x86_64 cat [2022-07-04T01:28:48.866Z] $ docker top c57b95fcbf37a38d02b1e0ae408798434a01ba2bf0122aae31d948889987836b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-04T01:28:49.318Z] + make test [2022-07-04T01:28:49.318Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-04T01:28:49.580Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-04T01:28:59.571Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-04T01:28:59.571Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-07-04T01:28:59.571Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-04T01:29:06.158Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-04T01:29:10.363Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-04T01:29:10.363Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-04T01:29:10.363Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-04T01:29:10.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-04T01:29:10.700Z] $ docker stop --time=1 c57b95fcbf37a38d02b1e0ae408798434a01ba2bf0122aae31d948889987836b [2022-07-04T01:29:12.535Z] $ docker rm -f c57b95fcbf37a38d02b1e0ae408798434a01ba2bf0122aae31d948889987836b [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T01:29:13.057Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-04T01:29:13.114Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-04T01:29:13.800Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-04T01:29:14.120Z] + ls -al . [2022-07-04T01:29:14.120Z] total 180 [2022-07-04T01:29:14.120Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 4 01:29 . [2022-07-04T01:29:14.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 01:27 .. [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 01:27 .dockerignore [2022-07-04T01:29:14.120Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 01:27 .git [2022-07-04T01:29:14.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 01:27 .github [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 4 01:27 .gitignore [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 01:27 .golangci.yml [2022-07-04T01:29:14.120Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 01:27 .semver [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 4 01:27 Attribution.txt [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 4 01:27 CHANGELOG.md [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jul 4 01:27 Dockerfile [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 01:27 GOVERNANCE.md [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 4 01:27 Jenkinsfile [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 01:27 LICENSE [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jul 4 01:27 Makefile [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 01:27 OWNERS.md [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 4 01:27 README.md [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 01:28 VERSION [2022-07-04T01:29:14.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 01:27 bin [2022-07-04T01:29:14.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 01:27 cmd [2022-07-04T01:29:14.120Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 4 01:28 coverage.out [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jul 4 01:27 go.mod [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 36105 Jul 4 01:27 go.sum [2022-07-04T01:29:14.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 01:27 internal [2022-07-04T01:29:14.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 01:27 mock [2022-07-04T01:29:14.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 01:27 snap [2022-07-04T01:29:14.120Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 4 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:29:14.513Z] + 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=6157573bc68ae76d3587f58547794fe9973c7964 --label arch=amd64 --label version=0.0.0 . [2022-07-04T01:29:14.513Z] Sending build context to Docker daemon 6.048MB [2022-07-04T01:29:14.513Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T01:29:14.513Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-04T01:29:14.513Z] ---> b66ebbe6989a [2022-07-04T01:29:14.513Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-04T01:29:14.513Z] ---> Running in fbf3258443b7 [2022-07-04T01:29:14.774Z] Removing intermediate container fbf3258443b7 [2022-07-04T01:29:14.774Z] ---> c82ad7ef05da [2022-07-04T01:29:14.774Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-04T01:29:14.774Z] ---> Running in aff4bdd21391 [2022-07-04T01:29:14.774Z] Removing intermediate container aff4bdd21391 [2022-07-04T01:29:14.774Z] ---> 0b3ece1ae2f3 [2022-07-04T01:29:14.774Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T01:29:14.774Z] ---> Running in 9d33b48e1383 [2022-07-04T01:29:15.719Z] Removing intermediate container 9d33b48e1383 [2022-07-04T01:29:15.719Z] ---> f1c72a60fa67 [2022-07-04T01:29:15.719Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-04T01:29:15.719Z] ---> Running in 46fe9aa58010 [2022-07-04T01:29:15.981Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-04T01:29:16.553Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-04T01:29:17.123Z] OK: 224 MiB in 56 packages [2022-07-04T01:29:17.382Z] Removing intermediate container 46fe9aa58010 [2022-07-04T01:29:17.382Z] ---> 3f701b61004f [2022-07-04T01:29:17.382Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-04T01:29:17.382Z] ---> Running in 38822c133640 [2022-07-04T01:29:17.382Z] Removing intermediate container 38822c133640 [2022-07-04T01:29:17.382Z] ---> 275355b0a42b [2022-07-04T01:29:17.382Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-04T01:29:17.642Z] ---> 41cd4d07b660 [2022-07-04T01:29:17.642Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T01:29:17.642Z] ---> Running in 6f37ee17cea4 [2022-07-04T01:29:18.212Z] Removing intermediate container 6f37ee17cea4 [2022-07-04T01:29:18.212Z] ---> e470f96e1283 [2022-07-04T01:29:18.212Z] Step 10/24 : COPY . . [2022-07-04T01:29:18.475Z] ---> e587438708d2 [2022-07-04T01:29:18.475Z] Step 11/24 : ARG MAKE='make build' [2022-07-04T01:29:18.737Z] ---> Running in cfdc5a760c4e [2022-07-04T01:29:18.737Z] Removing intermediate container cfdc5a760c4e [2022-07-04T01:29:18.737Z] ---> c4d4b5605282 [2022-07-04T01:29:18.737Z] Step 12/24 : RUN $MAKE [2022-07-04T01:29:18.737Z] ---> Running in c5fa2aaecb9d [2022-07-04T01:29:19.000Z] 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-07-04T01:29:40.953Z] Removing intermediate container c5fa2aaecb9d [2022-07-04T01:29:40.953Z] ---> e6d66c548432 [2022-07-04T01:29:40.953Z] Step 13/24 : FROM alpine:3.14 [2022-07-04T01:29:40.953Z] 3.14: Pulling from library/alpine [2022-07-04T01:29:40.953Z] 8663204ce13b: Pulling fs layer [2022-07-04T01:29:40.953Z] 8663204ce13b: Download complete [2022-07-04T01:29:40.953Z] 8663204ce13b: Pull complete [2022-07-04T01:29:40.953Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-04T01:29:40.953Z] Status: Downloaded newer image for alpine:3.14 [2022-07-04T01:29:40.953Z] ---> e04c818066af [2022-07-04T01:29:40.953Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-04T01:29:40.953Z] ---> Running in 35f1bc34bed0 [2022-07-04T01:29:40.953Z] Removing intermediate container 35f1bc34bed0 [2022-07-04T01:29:40.953Z] ---> fa618a064735 [2022-07-04T01:29:40.953Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-04T01:29:40.953Z] ---> Running in a9b03c4384f9 [2022-07-04T01:29:40.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-07-04T01:29:40.953Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-07-04T01:29:40.953Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-04T01:29:40.953Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-04T01:29:40.953Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-04T01:29:40.953Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-04T01:29:40.953Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-04T01:29:40.953Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-04T01:29:40.953Z] Executing busybox-1.33.1-r7.trigger [2022-07-04T01:29:40.953Z] OK: 8 MiB in 20 packages [2022-07-04T01:29:40.953Z] Removing intermediate container a9b03c4384f9 [2022-07-04T01:29:40.953Z] ---> 3545ea9c7cbf [2022-07-04T01:29:40.953Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-04T01:29:40.953Z] ---> 21659ce6b574 [2022-07-04T01:29:40.953Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-04T01:29:41.211Z] ---> 26736a24506f [2022-07-04T01:29:41.212Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-04T01:29:41.472Z] ---> 6e4dda208258 [2022-07-04T01:29:41.472Z] Step 19/24 : EXPOSE 59982 [2022-07-04T01:29:41.472Z] ---> Running in 30ae7b23604d [2022-07-04T01:29:41.472Z] Removing intermediate container 30ae7b23604d [2022-07-04T01:29:41.472Z] ---> 5d44a1ed3169 [2022-07-04T01:29:41.472Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-04T01:29:41.472Z] ---> Running in bae59149a6b5 [2022-07-04T01:29:41.733Z] Removing intermediate container bae59149a6b5 [2022-07-04T01:29:41.733Z] ---> c7a46e21536e [2022-07-04T01:29:41.733Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-04T01:29:41.733Z] ---> Running in bfb7b41ec30b [2022-07-04T01:29:41.733Z] Removing intermediate container bfb7b41ec30b [2022-07-04T01:29:41.733Z] ---> 81b62759e419 [2022-07-04T01:29:41.733Z] Step 22/24 : LABEL arch=amd64 [2022-07-04T01:29:41.733Z] ---> Running in a036a7307368 [2022-07-04T01:29:41.994Z] Removing intermediate container a036a7307368 [2022-07-04T01:29:41.994Z] ---> f962578d14de [2022-07-04T01:29:41.994Z] Step 23/24 : LABEL git_sha=6157573bc68ae76d3587f58547794fe9973c7964 [2022-07-04T01:29:41.994Z] ---> Running in a7588a2694c1 [2022-07-04T01:29:41.994Z] Removing intermediate container a7588a2694c1 [2022-07-04T01:29:41.994Z] ---> 4c88a4afb655 [2022-07-04T01:29:41.994Z] Step 24/24 : LABEL version=0.0.0 [2022-07-04T01:29:41.994Z] ---> Running in 8a69449b3bb6 [2022-07-04T01:29:42.254Z] Removing intermediate container 8a69449b3bb6 [2022-07-04T01:29:42.254Z] ---> ca645da66c01 [2022-07-04T01:29:42.254Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-04T01:29:42.254Z] Successfully built ca645da66c01 [2022-07-04T01:29:42.254Z] 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-07-04T01:29:43.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T01:29:43.114Z] [2022-07-04T01:29:43.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:29:43.492Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T01:29:43.492Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-04T01:29:43.492Z] 5eb5b503b376: Pulling fs layer [2022-07-04T01:29:43.492Z] 5c69ac0246d0: Pulling fs layer [2022-07-04T01:29:43.492Z] ec43610c2a17: Pulling fs layer [2022-07-04T01:29:43.492Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-04T01:29:43.492Z] 33b1e0a273af: Pulling fs layer [2022-07-04T01:29:43.492Z] 5d3b04190fa2: Pulling fs layer [2022-07-04T01:29:43.492Z] 2f39f015ded8: Pulling fs layer [2022-07-04T01:29:43.492Z] 3a2ae6a8a46f: Waiting [2022-07-04T01:29:43.492Z] 33b1e0a273af: Waiting [2022-07-04T01:29:43.492Z] 5d3b04190fa2: Waiting [2022-07-04T01:29:43.492Z] 2f39f015ded8: Waiting [2022-07-04T01:29:43.492Z] 5c69ac0246d0: Verifying Checksum [2022-07-04T01:29:43.492Z] 5c69ac0246d0: Download complete [2022-07-04T01:29:43.492Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-04T01:29:43.492Z] 3a2ae6a8a46f: Download complete [2022-07-04T01:29:43.492Z] 33b1e0a273af: Verifying Checksum [2022-07-04T01:29:43.492Z] 33b1e0a273af: Download complete [2022-07-04T01:29:43.492Z] 5d3b04190fa2: Download complete [2022-07-04T01:29:43.752Z] ec43610c2a17: Verifying Checksum [2022-07-04T01:29:43.752Z] ec43610c2a17: Download complete [2022-07-04T01:29:43.752Z] 5eb5b503b376: Verifying Checksum [2022-07-04T01:29:43.752Z] 5eb5b503b376: Download complete [2022-07-04T01:29:44.322Z] 2f39f015ded8: Verifying Checksum [2022-07-04T01:29:44.322Z] 2f39f015ded8: Download complete [2022-07-04T01:29:45.263Z] 5eb5b503b376: Pull complete [2022-07-04T01:29:45.263Z] 5c69ac0246d0: Pull complete [2022-07-04T01:29:45.831Z] ec43610c2a17: Pull complete [2022-07-04T01:29:45.831Z] 3a2ae6a8a46f: Pull complete [2022-07-04T01:29:46.090Z] 33b1e0a273af: Pull complete [2022-07-04T01:29:46.090Z] 5d3b04190fa2: Pull complete [2022-07-04T01:29:51.365Z] 2f39f015ded8: Pull complete [2022-07-04T01:29:51.365Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-04T01:29:51.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T01:29:51.365Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T01:29:51.628Z] prd-ubuntu20.04-docker-8c-8g-16771 does not seem to be running inside a container [2022-07-04T01:29:51.656Z] $ 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-399 -v /w/workspace/gexfoundry_device-mqtt-go_PR-399:/w/workspace/gexfoundry_device-mqtt-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-399@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-04T01:29:53.256Z] $ docker top 2dffa8d1b5f0baf0cdc75874dabfee39a1863f929b76e84aaeb1d54ab57e6742 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:29:53.718Z] ---> job-cost.sh [2022-07-04T01:29:53.718Z] lf-activate-venv: SKIPPING [2022-07-04T01:29:53.718Z] INFO: No Stack... [2022-07-04T01:29:53.982Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-04T01:29:54.561Z] INFO: Archiving Costs [Pipeline] sh [2022-07-04T01:29:54.885Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-399/archives/cost.csv [2022-07-04T01:29:54.885Z] + cut -d, -f6 [Pipeline] lock [2022-07-04T01:29:54.924Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-399-1-stack-cost] [2022-07-04T01:29:54.928Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-399-1-stack-cost] did not exist. Created. [2022-07-04T01:29:54.928Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-04T01:29:55.322Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-04T01:29:55.392Z] Stashed 1 file(s) [Pipeline] } [2022-07-04T01:29:55.408Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-04T01:29:55.484Z] $ docker stop --time=1 2dffa8d1b5f0baf0cdc75874dabfee39a1863f929b76e84aaeb1d54ab57e6742 [2022-07-04T01:29:56.686Z] $ docker rm -f 2dffa8d1b5f0baf0cdc75874dabfee39a1863f929b76e84aaeb1d54ab57e6742 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-04T01:31:24.945Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16774 in /w/workspace/gexfoundry_device-mqtt-go_PR-399 [Pipeline] { [Pipeline] ws [2022-07-04T01:31:24.990Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-07-04T01:31:25.084Z] Selected Git installation does not exist. Using Default [2022-07-04T01:31:25.084Z] The recommended git tool is: NONE [2022-07-04T01:31:33.074Z] using credential edgex-jenkins-ssh [2022-07-04T01:31:33.091Z] Cloning the remote Git repository [2022-07-04T01:31:33.163Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-04T01:31:33.256Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-07-04T01:31:33.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-04T01:31:33.362Z] > git --version # timeout=10 [2022-07-04T01:31:33.390Z] > git --version # 'git version 2.25.1' [2022-07-04T01:31:33.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T01:31:33.470Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-04T01:31:35.351Z] Merging remotes/origin/main commit 8b7bfd06f10d442433da09be4b1bd94ea6f5832d into PR head commit 6157573bc68ae76d3587f58547794fe9973c7964 [2022-07-04T01:31:35.610Z] Merge succeeded, producing 6157573bc68ae76d3587f58547794fe9973c7964 [2022-07-04T01:31:35.610Z] Checking out Revision 6157573bc68ae76d3587f58547794fe9973c7964 (PR-399) [2022-07-04T01:31:34.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-07-04T01:31:34.733Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-04T01:31:34.779Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-07-04T01:31:34.830Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-04T01:31:34.830Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T01:31:34.846Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/399/head:refs/remotes/origin/PR-399 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-04T01:31:35.376Z] > git config core.sparsecheckout # timeout=10 [2022-07-04T01:31:35.393Z] > git checkout -f 6157573bc68ae76d3587f58547794fe9973c7964 # timeout=10 [2022-07-04T01:31:35.500Z] > git remote # timeout=10 [2022-07-04T01:31:35.525Z] > git config --get remote.origin.url # timeout=10 [2022-07-04T01:31:35.545Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-04T01:31:35.559Z] > git merge 8b7bfd06f10d442433da09be4b1bd94ea6f5832d # timeout=10 [2022-07-04T01:31:35.590Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-04T01:31:35.621Z] > git config core.sparsecheckout # timeout=10 [2022-07-04T01:31:35.644Z] > git checkout -f 6157573bc68ae76d3587f58547794fe9973c7964 # timeout=10 [2022-07-04T01:31:40.132Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0" [2022-07-04T01:31:40.217Z] > git --version # timeout=10 [2022-07-04T01:31:40.235Z] > git --version # 'git version 2.25.1' [2022-07-04T01:31:40.254Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T01:31:41.313Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-04T01:31:41.313Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-04T01:31:41.313Z] Dload Upload Total Spent Left Speed [2022-07-04T01:31:41.313Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 72076 0 --:--:-- --:--:-- --:--:-- 72502 [Pipeline] sh [2022-07-04T01:31:42.064Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-04T01:31:42.434Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-04T01:31:42.435Z] + sudo tee /etc/docker/daemon.new [2022-07-04T01:31:42.435Z] { [2022-07-04T01:31:42.435Z] "registry-mirrors": [ [2022-07-04T01:31:42.435Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-04T01:31:42.435Z] ], [2022-07-04T01:31:42.435Z] "bip": "10.250.0.254/24", [2022-07-04T01:31:42.435Z] "hosts": [ [2022-07-04T01:31:42.435Z] "tcp://0.0.0.0:5555", [2022-07-04T01:31:42.435Z] "unix:///var/run/docker.sock" [2022-07-04T01:31:42.435Z] ], [2022-07-04T01:31:42.435Z] "mtu": 1458, [2022-07-04T01:31:42.435Z] "selinux-enabled": true, [2022-07-04T01:31:42.435Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-04T01:31:42.435Z] } [Pipeline] sh [2022-07-04T01:31:42.875Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-04T01:31:43.526Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T01:32:01.943Z] provisioning config files... [2022-07-04T01:32:01.974Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config639270213031196146tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:32:02.386Z] ---> docker-login.sh [2022-07-04T01:32:02.386Z] nexus3.edgexfoundry.org:10001 [2022-07-04T01:32:03.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:32:03.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:32:03.277Z] Configure a credential helper to remove this warning. See [2022-07-04T01:32:03.277Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:32:03.277Z] [2022-07-04T01:32:03.277Z] Login Succeeded [2022-07-04T01:32:03.277Z] nexus3.edgexfoundry.org:10002 [2022-07-04T01:32:03.886Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:32:03.886Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:32:03.886Z] Configure a credential helper to remove this warning. See [2022-07-04T01:32:03.886Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:32:03.886Z] [2022-07-04T01:32:03.886Z] Login Succeeded [2022-07-04T01:32:03.886Z] nexus3.edgexfoundry.org:10003 [2022-07-04T01:32:04.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:32:04.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:32:04.450Z] Configure a credential helper to remove this warning. See [2022-07-04T01:32:04.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:32:04.450Z] [2022-07-04T01:32:04.450Z] Login Succeeded [2022-07-04T01:32:04.450Z] nexus3.edgexfoundry.org:10004 [2022-07-04T01:32:04.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:32:05.001Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:32:05.001Z] Configure a credential helper to remove this warning. See [2022-07-04T01:32:05.001Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:32:05.001Z] [2022-07-04T01:32:05.001Z] Login Succeeded [2022-07-04T01:32:05.001Z] docker.io [2022-07-04T01:32:05.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-04T01:32:05.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-04T01:32:05.555Z] Configure a credential helper to remove this warning. See [2022-07-04T01:32:05.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-04T01:32:05.555Z] [2022-07-04T01:32:05.555Z] Login Succeeded [2022-07-04T01:32:05.833Z] ---> docker-login.sh ends [Pipeline] } [2022-07-04T01:32:05.862Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-04T01:32:06.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T01:32:06.333Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-04T01:32:06.369Z] ========================================================= [2022-07-04T01:32:06.369Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-07-04T01:32:06.369Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:32:06.877Z] + 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-07-04T01:32:07.161Z] Sending build context to Docker daemon 3.111MB [2022-07-04T01:32:07.449Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T01:32:07.449Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-04T01:32:07.449Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-04T01:32:07.449Z] 9b3977197b4f: Pulling fs layer [2022-07-04T01:32:07.449Z] 1a89e8eeedd5: Pulling fs layer [2022-07-04T01:32:07.449Z] 94645a83ff95: Pulling fs layer [2022-07-04T01:32:07.449Z] e6fb740bc735: Pulling fs layer [2022-07-04T01:32:07.449Z] 3a77bd46dcc9: Pulling fs layer [2022-07-04T01:32:07.449Z] 355e64cbe906: Pulling fs layer [2022-07-04T01:32:07.449Z] 63ab81a10011: Pulling fs layer [2022-07-04T01:32:07.449Z] 555d1d1c4555: Pulling fs layer [2022-07-04T01:32:07.449Z] 7d9057610161: Pulling fs layer [2022-07-04T01:32:07.449Z] 355e64cbe906: Waiting [2022-07-04T01:32:07.449Z] 63ab81a10011: Waiting [2022-07-04T01:32:07.449Z] 555d1d1c4555: Waiting [2022-07-04T01:32:07.449Z] 7d9057610161: Waiting [2022-07-04T01:32:07.449Z] e6fb740bc735: Waiting [2022-07-04T01:32:07.449Z] 3a77bd46dcc9: Waiting [2022-07-04T01:32:07.449Z] 94645a83ff95: Verifying Checksum [2022-07-04T01:32:07.449Z] 94645a83ff95: Download complete [2022-07-04T01:32:07.449Z] 1a89e8eeedd5: Verifying Checksum [2022-07-04T01:32:07.449Z] 1a89e8eeedd5: Download complete [2022-07-04T01:32:07.449Z] 3a77bd46dcc9: Verifying Checksum [2022-07-04T01:32:07.449Z] 3a77bd46dcc9: Download complete [2022-07-04T01:32:07.731Z] 355e64cbe906: Verifying Checksum [2022-07-04T01:32:07.731Z] 355e64cbe906: Download complete [2022-07-04T01:32:07.731Z] 9b3977197b4f: Verifying Checksum [2022-07-04T01:32:07.731Z] 9b3977197b4f: Download complete [2022-07-04T01:32:07.731Z] 63ab81a10011: Verifying Checksum [2022-07-04T01:32:07.731Z] 63ab81a10011: Download complete [2022-07-04T01:32:08.733Z] 9b3977197b4f: Pull complete [2022-07-04T01:32:08.733Z] 7d9057610161: Verifying Checksum [2022-07-04T01:32:09.351Z] 1a89e8eeedd5: Pull complete [2022-07-04T01:32:09.630Z] 94645a83ff95: Pull complete [2022-07-04T01:32:09.904Z] 555d1d1c4555: Verifying Checksum [2022-07-04T01:32:09.904Z] 555d1d1c4555: Download complete [2022-07-04T01:32:10.503Z] e6fb740bc735: Download complete [2022-07-04T01:32:25.626Z] e6fb740bc735: Pull complete [2022-07-04T01:32:25.626Z] 3a77bd46dcc9: Pull complete [2022-07-04T01:32:25.626Z] 355e64cbe906: Pull complete [2022-07-04T01:32:25.626Z] 63ab81a10011: Pull complete [2022-07-04T01:32:31.086Z] 555d1d1c4555: Pull complete [2022-07-04T01:32:33.085Z] 7d9057610161: Pull complete [2022-07-04T01:32:33.360Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-07-04T01:32:33.360Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-07-04T01:32:33.360Z] ---> 819e984ddca1 [2022-07-04T01:32:33.360Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-04T01:32:34.355Z] ---> Running in 111b4cbdacf5 [2022-07-04T01:32:34.632Z] Removing intermediate container 111b4cbdacf5 [2022-07-04T01:32:34.632Z] ---> 024790e0796e [2022-07-04T01:32:34.632Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-04T01:32:34.632Z] ---> Running in f09c9e39f3eb [2022-07-04T01:32:34.911Z] Removing intermediate container f09c9e39f3eb [2022-07-04T01:32:34.911Z] ---> 99174147a9ae [2022-07-04T01:32:34.911Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T01:32:35.187Z] ---> Running in 2f97b5accf80 [2022-07-04T01:32:37.172Z] Removing intermediate container 2f97b5accf80 [2022-07-04T01:32:37.172Z] ---> f90bfe095e46 [2022-07-04T01:32:37.172Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-04T01:32:37.172Z] ---> Running in 7cfae55600de [2022-07-04T01:32:38.165Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-04T01:32:39.151Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-04T01:32:40.140Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-07-04T01:32:40.140Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-04T01:32:40.418Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-07-04T01:32:40.418Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-07-04T01:32:40.696Z] Executing busybox-1.34.1-r3.trigger [2022-07-04T01:32:40.696Z] OK: 224 MiB in 56 packages [2022-07-04T01:32:41.727Z] Removing intermediate container 7cfae55600de [2022-07-04T01:32:41.727Z] ---> 6ba2c9bedda1 [2022-07-04T01:32:41.727Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-04T01:32:41.727Z] ---> Running in 6507d69321e9 [2022-07-04T01:32:42.332Z] Removing intermediate container 6507d69321e9 [2022-07-04T01:32:42.332Z] ---> 7e407ced5bd2 [2022-07-04T01:32:42.332Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-04T01:32:42.607Z] ---> 41d029ae7cad [2022-07-04T01:32:42.607Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T01:32:42.882Z] ---> Running in a7837c3534db [2022-07-04T01:33:29.906Z] Removing intermediate container a7837c3534db [2022-07-04T01:33:29.906Z] ---> 366715b8ec82 [2022-07-04T01:33:29.906Z] Step 10/12 : COPY . . [2022-07-04T01:33:30.505Z] ---> ad7bc3db4496 [2022-07-04T01:33:30.505Z] Step 11/12 : ARG MAKE='make build' [2022-07-04T01:33:30.505Z] ---> Running in f895258bcd55 [2022-07-04T01:33:30.779Z] Removing intermediate container f895258bcd55 [2022-07-04T01:33:30.779Z] ---> 2ad306aeeda5 [2022-07-04T01:33:30.779Z] Step 12/12 : RUN $MAKE [2022-07-04T01:33:30.779Z] ---> Running in ffbcf419e327 [2022-07-04T01:33:31.763Z] noop [2022-07-04T01:33:32.743Z] Removing intermediate container ffbcf419e327 [2022-07-04T01:33:32.743Z] ---> 8a86357c9a03 [2022-07-04T01:33:32.743Z] Successfully built 8a86357c9a03 [2022-07-04T01:33:32.743Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:33:33.241Z] + docker inspect -f . ci-base-image-arm64 [2022-07-04T01:33:33.241Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T01:33:33.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-16774 does not seem to be running inside a container [2022-07-04T01:33:33.645Z] $ 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 ******** ci-base-image-arm64 cat [2022-07-04T01:33:34.946Z] $ docker top aa8378dd01d4809b67ae6ba2ccc7e3624eefd79786356224913f4770dfdb953d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T01:33:35.924Z] + go version [2022-07-04T01:33:35.924Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-07-04T01:33:35.963Z] $ docker stop --time=1 aa8378dd01d4809b67ae6ba2ccc7e3624eefd79786356224913f4770dfdb953d [2022-07-04T01:33:37.651Z] $ docker rm -f aa8378dd01d4809b67ae6ba2ccc7e3624eefd79786356224913f4770dfdb953d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:33:38.581Z] + docker inspect -f . ci-base-image-arm64 [2022-07-04T01:33:38.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T01:33:38.900Z] prd-ubuntu20.04-docker-arm64-4c-16g-16774 does not seem to be running inside a container [2022-07-04T01:33:38.982Z] $ 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 ******** ci-base-image-arm64 cat [2022-07-04T01:33:40.279Z] $ docker top ab1f0ee9726cf5bb3d1881570dff9ae0ee986543bf8e513e8ab1529c9844bf52 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-07-04T01:33:41.293Z] + make test [2022-07-04T01:33:41.293Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-04T01:33:43.273Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-04T01:35:20.175Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-04T01:35:20.175Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-07-04T01:35:20.175Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-04T01:35:20.175Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-04T01:35:20.175Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-04T01:35:42.455Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-04T01:35:42.455Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-04T01:35:42.455Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-04T01:35:44.475Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-04T01:35:44.505Z] $ docker stop --time=1 ab1f0ee9726cf5bb3d1881570dff9ae0ee986543bf8e513e8ab1529c9844bf52 [2022-07-04T01:35:46.309Z] $ docker rm -f ab1f0ee9726cf5bb3d1881570dff9ae0ee986543bf8e513e8ab1529c9844bf52 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-04T01:35:47.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-04T01:35:47.387Z] Warning: overwriting stash ‘coverage-report’ [2022-07-04T01:35:47.906Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-04T01:35:48.510Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-04T01:35:48.879Z] + ls -al . [2022-07-04T01:35:48.879Z] total 176 [2022-07-04T01:35:48.879Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 4 01:35 . [2022-07-04T01:35:48.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 01:31 .. [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 4 01:31 .dockerignore [2022-07-04T01:35:48.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 4 01:31 .git [2022-07-04T01:35:48.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 01:31 .github [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 4 01:31 .gitignore [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 4 01:31 .golangci.yml [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 4 01:31 Attribution.txt [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 4 01:31 CHANGELOG.md [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jul 4 01:31 Dockerfile [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 4 01:31 GOVERNANCE.md [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 4 01:31 Jenkinsfile [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 4 01:31 LICENSE [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jul 4 01:31 Makefile [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 4 01:31 OWNERS.md [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 4 01:31 README.md [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 4 01:28 VERSION [2022-07-04T01:35:48.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 01:31 bin [2022-07-04T01:35:48.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 01:31 cmd [2022-07-04T01:35:48.879Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 4 01:35 coverage.out [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jul 4 01:31 go.mod [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 36105 Jul 4 01:31 go.sum [2022-07-04T01:35:48.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 4 01:31 internal [2022-07-04T01:35:48.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 4 01:31 mock [2022-07-04T01:35:48.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 4 01:31 snap [2022-07-04T01:35:48.879Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 4 01:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:35:49.323Z] + 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=6157573bc68ae76d3587f58547794fe9973c7964 --label arch=arm64 --label version=0.0.0 . [2022-07-04T01:35:49.604Z] Sending build context to Docker daemon 3.13MB [2022-07-04T01:35:49.604Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-07-04T01:35:49.604Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-04T01:35:49.604Z] ---> 8a86357c9a03 [2022-07-04T01:35:49.604Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-04T01:35:49.878Z] ---> Running in 3f7122b1fbad [2022-07-04T01:35:50.154Z] Removing intermediate container 3f7122b1fbad [2022-07-04T01:35:50.154Z] ---> af035a2608d1 [2022-07-04T01:35:50.154Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-04T01:35:50.154Z] ---> Running in 273c52411859 [2022-07-04T01:35:50.436Z] Removing intermediate container 273c52411859 [2022-07-04T01:35:50.436Z] ---> 90b41883cf74 [2022-07-04T01:35:50.436Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-04T01:35:50.711Z] ---> Running in 595df075fd1b [2022-07-04T01:35:52.165Z] Removing intermediate container 595df075fd1b [2022-07-04T01:35:52.165Z] ---> cea538b453df [2022-07-04T01:35:52.166Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-04T01:35:52.448Z] ---> Running in 935aa7bb33e1 [2022-07-04T01:35:53.434Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-07-04T01:35:54.417Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-07-04T01:35:55.015Z] OK: 224 MiB in 56 packages [2022-07-04T01:35:56.007Z] Removing intermediate container 935aa7bb33e1 [2022-07-04T01:35:56.007Z] ---> 8ccb1818761f [2022-07-04T01:35:56.007Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-04T01:35:56.007Z] ---> Running in 176f40cbcd2a [2022-07-04T01:35:56.610Z] Removing intermediate container 176f40cbcd2a [2022-07-04T01:35:56.610Z] ---> 3a83fd38ae86 [2022-07-04T01:35:56.610Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-04T01:35:57.213Z] ---> 1d4abeb435df [2022-07-04T01:35:57.213Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-04T01:35:57.213Z] ---> Running in fccd11ddebb6 [2022-07-04T01:35:59.197Z] Removing intermediate container fccd11ddebb6 [2022-07-04T01:35:59.197Z] ---> 34ba3c643181 [2022-07-04T01:35:59.197Z] Step 10/24 : COPY . . [2022-07-04T01:36:00.182Z] ---> c4ec4518f246 [2022-07-04T01:36:00.182Z] Step 11/24 : ARG MAKE='make build' [2022-07-04T01:36:00.182Z] ---> Running in cd48bda9efb8 [2022-07-04T01:36:00.462Z] Removing intermediate container cd48bda9efb8 [2022-07-04T01:36:00.462Z] ---> da8a4d376317 [2022-07-04T01:36:00.462Z] Step 12/24 : RUN $MAKE [2022-07-04T01:36:00.462Z] ---> Running in 1e399338acad [2022-07-04T01:36:01.904Z] 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-07-04T01:38:23.812Z] Removing intermediate container 1e399338acad [2022-07-04T01:38:23.812Z] ---> e18dcb542dc4 [2022-07-04T01:38:23.812Z] Step 13/24 : FROM alpine:3.14 [2022-07-04T01:38:23.812Z] 3.14: Pulling from library/alpine [2022-07-04T01:38:23.812Z] 455c02918c45: Pulling fs layer [2022-07-04T01:38:23.812Z] 455c02918c45: Verifying Checksum [2022-07-04T01:38:23.812Z] 455c02918c45: Download complete [2022-07-04T01:38:23.812Z] 455c02918c45: Pull complete [2022-07-04T01:38:23.812Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-07-04T01:38:23.812Z] Status: Downloaded newer image for alpine:3.14 [2022-07-04T01:38:23.812Z] ---> ac73e934f311 [2022-07-04T01:38:23.812Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-04T01:38:23.812Z] ---> Running in 97e5fd63cfc4 [2022-07-04T01:38:23.812Z] Removing intermediate container 97e5fd63cfc4 [2022-07-04T01:38:23.812Z] ---> 265cac95c448 [2022-07-04T01:38:23.812Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-04T01:38:23.812Z] ---> Running in 205990407f70 [2022-07-04T01:38:23.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-07-04T01:38:23.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-07-04T01:38:23.812Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-04T01:38:23.812Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-07-04T01:38:23.812Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-04T01:38:23.812Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-07-04T01:38:23.812Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-04T01:38:23.812Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-04T01:38:23.812Z] Executing busybox-1.33.1-r7.trigger [2022-07-04T01:38:23.812Z] OK: 8 MiB in 20 packages [2022-07-04T01:38:24.085Z] Removing intermediate container 205990407f70 [2022-07-04T01:38:24.085Z] ---> daf072d8c654 [2022-07-04T01:38:24.085Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-04T01:38:25.525Z] ---> 73451b7ff83d [2022-07-04T01:38:25.525Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-04T01:38:26.122Z] ---> 2eb74f080fe4 [2022-07-04T01:38:26.122Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-04T01:38:26.724Z] ---> c10cff11fd8d [2022-07-04T01:38:26.724Z] Step 19/24 : EXPOSE 59982 [2022-07-04T01:38:26.724Z] ---> Running in c1c71a225f6b [2022-07-04T01:38:27.332Z] Removing intermediate container c1c71a225f6b [2022-07-04T01:38:27.332Z] ---> d687ffa097b9 [2022-07-04T01:38:27.332Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-04T01:38:27.332Z] ---> Running in 1f296130d4c5 [2022-07-04T01:38:27.606Z] Removing intermediate container 1f296130d4c5 [2022-07-04T01:38:27.606Z] ---> 69302b711134 [2022-07-04T01:38:27.606Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-04T01:38:27.606Z] ---> Running in b679aff2b94e [2022-07-04T01:38:28.203Z] Removing intermediate container b679aff2b94e [2022-07-04T01:38:28.203Z] ---> a1e5271efb48 [2022-07-04T01:38:28.203Z] Step 22/24 : LABEL arch=arm64 [2022-07-04T01:38:28.203Z] ---> Running in 22d30ab18752 [2022-07-04T01:38:28.476Z] Removing intermediate container 22d30ab18752 [2022-07-04T01:38:28.476Z] ---> 02080b2faad2 [2022-07-04T01:38:28.476Z] Step 23/24 : LABEL git_sha=6157573bc68ae76d3587f58547794fe9973c7964 [2022-07-04T01:38:28.476Z] ---> Running in 85c6b6beb97e [2022-07-04T01:38:28.751Z] Removing intermediate container 85c6b6beb97e [2022-07-04T01:38:28.751Z] ---> 0a783ca782fe [2022-07-04T01:38:28.751Z] Step 24/24 : LABEL version=0.0.0 [2022-07-04T01:38:29.024Z] ---> Running in 551fa0ad0b67 [2022-07-04T01:38:29.300Z] Removing intermediate container 551fa0ad0b67 [2022-07-04T01:38:29.300Z] ---> 5a363c9c079c [2022-07-04T01:38:29.300Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-04T01:38:29.300Z] Successfully built 5a363c9c079c [2022-07-04T01:38:29.300Z] 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-07-04T01:38:30.127Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T01:38:30.127Z] [2022-07-04T01:38:30.127Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:38:30.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T01:38:30.833Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-04T01:38:30.833Z] 8998bd30e6a1: Pulling fs layer [2022-07-04T01:38:30.833Z] 04944245beec: Pulling fs layer [2022-07-04T01:38:30.833Z] 699f458cf7ca: Pulling fs layer [2022-07-04T01:38:30.833Z] 765212b225bb: Pulling fs layer [2022-07-04T01:38:30.833Z] f23df028b6ca: Pulling fs layer [2022-07-04T01:38:30.833Z] d65c8cfc05b1: Pulling fs layer [2022-07-04T01:38:30.833Z] 2437ff75d9bd: Pulling fs layer [2022-07-04T01:38:30.833Z] f23df028b6ca: Waiting [2022-07-04T01:38:30.833Z] d65c8cfc05b1: Waiting [2022-07-04T01:38:30.833Z] 2437ff75d9bd: Waiting [2022-07-04T01:38:30.833Z] 765212b225bb: Waiting [2022-07-04T01:38:30.833Z] 04944245beec: Verifying Checksum [2022-07-04T01:38:30.833Z] 04944245beec: Download complete [2022-07-04T01:38:30.833Z] 765212b225bb: Verifying Checksum [2022-07-04T01:38:30.833Z] 765212b225bb: Download complete [2022-07-04T01:38:30.833Z] f23df028b6ca: Verifying Checksum [2022-07-04T01:38:30.833Z] f23df028b6ca: Download complete [2022-07-04T01:38:31.110Z] d65c8cfc05b1: Verifying Checksum [2022-07-04T01:38:31.110Z] d65c8cfc05b1: Download complete [2022-07-04T01:38:31.110Z] 699f458cf7ca: Verifying Checksum [2022-07-04T01:38:31.110Z] 699f458cf7ca: Download complete [2022-07-04T01:38:31.385Z] 8998bd30e6a1: Verifying Checksum [2022-07-04T01:38:31.385Z] 8998bd30e6a1: Download complete [2022-07-04T01:38:34.016Z] 2437ff75d9bd: Verifying Checksum [2022-07-04T01:38:34.016Z] 2437ff75d9bd: Download complete [2022-07-04T01:38:35.457Z] 8998bd30e6a1: Pull complete [2022-07-04T01:38:36.055Z] 04944245beec: Pull complete [2022-07-04T01:38:37.492Z] 699f458cf7ca: Pull complete [2022-07-04T01:38:37.765Z] 765212b225bb: Pull complete [2022-07-04T01:38:38.361Z] f23df028b6ca: Pull complete [2022-07-04T01:38:38.639Z] d65c8cfc05b1: Pull complete [2022-07-04T01:38:53.721Z] 2437ff75d9bd: Pull complete [2022-07-04T01:38:53.721Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-04T01:38:53.721Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-04T01:38:53.721Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T01:38:54.116Z] prd-ubuntu20.04-docker-arm64-4c-16g-16774 does not seem to be running inside a container [2022-07-04T01:38:54.207Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-04T01:38:56.999Z] $ docker top 23ef9e908a168d15d45ac2136a2022f9e158908911bbfe5fa7f6ddd5abc97a14 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:38:58.012Z] ---> job-cost.sh [2022-07-04T01:38:58.012Z] lf-activate-venv: SKIPPING [2022-07-04T01:38:58.012Z] INFO: No Stack... [2022-07-04T01:38:58.285Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-04T01:38:59.263Z] INFO: Archiving Costs [Pipeline] sh [2022-07-04T01:38:59.935Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-07-04T01:38:59.935Z] + cut -d, -f6 [Pipeline] lock [2022-07-04T01:39:00.022Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-399-1-stack-cost] [2022-07-04T01:39:00.026Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-399-1-stack-cost] did not exist. Created. [2022-07-04T01:39:00.027Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-04T01:39:00.781Z] /w/workspace/device-mqtt-go/1@tmp/durable-8a9a7bf9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-04T01:39:01.471Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-04T01:39:01.507Z] Warning: overwriting stash ‘stack-cost’ [2022-07-04T01:39:01.549Z] Stashed 1 file(s) [Pipeline] } [2022-07-04T01:39:01.564Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-399-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-04T01:39:01.628Z] $ docker stop --time=1 23ef9e908a168d15d45ac2136a2022f9e158908911bbfe5fa7f6ddd5abc97a14 [2022-07-04T01:39:03.120Z] $ docker rm -f 23ef9e908a168d15d45ac2136a2022f9e158908911bbfe5fa7f6ddd5abc97a14 [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-07-04T01:39:04.095Z] provisioning config files... [2022-07-04T01:39:04.104Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp/config1889824695689599037tmp [Pipeline] { [Pipeline] sh [2022-07-04T01:39:04.441Z] + set +x [2022-07-04T01:39:04.442Z] + curl -s https://codecov.io/bash [2022-07-04T01:39:04.442Z] + bash -s -- [2022-07-04T01:39:04.442Z] [2022-07-04T01:39:04.442Z] _____ _ [2022-07-04T01:39:04.442Z] / ____| | | [2022-07-04T01:39:04.442Z] | | ___ __| | ___ ___ _____ __ [2022-07-04T01:39:04.442Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-04T01:39:04.442Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-04T01:39:04.442Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-04T01:39:04.442Z] Bash-1.0.6 [2022-07-04T01:39:04.442Z] [2022-07-04T01:39:04.442Z] [2022-07-04T01:39:04.442Z] ==> git version 2.25.1 found [2022-07-04T01:39:04.442Z] ==> 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-07-04T01:39:04.442Z] Release-Date: 2020-01-08 [2022-07-04T01:39:04.442Z] 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-07-04T01:39:04.442Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-04T01:39:04.442Z] ==> Jenkins CI detected. [2022-07-04T01:39:04.442Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-399 [2022-07-04T01:39:04.442Z] project root: . [2022-07-04T01:39:04.442Z] --> token set from env [2022-07-04T01:39:04.442Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-04T01:39:04.442Z] ==> Running gcov in . (disable via -X gcov) [2022-07-04T01:39:04.442Z] ==> Python coveragepy not found [2022-07-04T01:39:04.442Z] ==> Searching for coverage reports in: [2022-07-04T01:39:04.442Z] + . [2022-07-04T01:39:04.442Z] -> Found 1 reports [2022-07-04T01:39:04.442Z] ==> Detecting git/mercurial file structure [2022-07-04T01:39:04.442Z] ==> Reading reports [2022-07-04T01:39:04.442Z] + ./coverage.out bytes=17887 [2022-07-04T01:39:04.442Z] ==> Appending adjustments [2022-07-04T01:39:04.442Z] https://docs.codecov.io/docs/fixing-reports [2022-07-04T01:39:04.702Z] + Found adjustments [2022-07-04T01:39:04.702Z] ==> Gzipping contents [2022-07-04T01:39:04.702Z] 4.0K /tmp/codecov.196Dem.gz [2022-07-04T01:39:04.702Z] ==> Uploading reports [2022-07-04T01:39:04.702Z] url: https://codecov.io [2022-07-04T01:39:04.702Z] query: branch=PR-399&commit=6157573bc68ae76d3587f58547794fe9973c7964&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=399&job=&cmd_args= [2022-07-04T01:39:04.702Z] -> Pinging Codecov [2022-07-04T01:39:04.702Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-399&commit=6157573bc68ae76d3587f58547794fe9973c7964&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-399%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=399&job=&cmd_args= [2022-07-04T01:39:04.960Z] -> Uploading to [2022-07-04T01:39:04.960Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-04/7D719EC7BBE17E464838252E33014C33/6157573bc68ae76d3587f58547794fe9973c7964/8dc9d0b5-9585-46b1-8995-7c3abdc0beae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220704%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220704T013904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5083db27a984edfa1f5b7aaba8f021b854a47efa9dbd105616be50e3b582c997 [2022-07-04T01:39:04.960Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-04T01:39:04.960Z] Dload Upload Total Spent Left Speed [2022-07-04T01:39:05.220Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 14493 --:--:-- --:--:-- --:--:-- 14493 100 3203 0 0 100 3203 0 13806 --:--:-- --:--:-- --:--:-- 13746 [2022-07-04T01:39:05.220Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/6157573bc68ae76d3587f58547794fe9973c7964 [Pipeline] } [2022-07-04T01:39:05.246Z] 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-07-04T01:39:06.992Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-399/archives ] [2022-07-04T01:39:06.992Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-399/archives [2022-07-04T01:39:06.992Z] total 16 [2022-07-04T01:39:06.992Z] drwxr-xr-x 3 root root 4096 Jul 4 01:29 . [2022-07-04T01:39:06.992Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 4 01:29 .. [2022-07-04T01:39:06.992Z] drwxr-xr-x 2 root root 4096 Jul 4 01:29 cost [2022-07-04T01:39:06.992Z] -rw-r--r-- 1 root root 85 Jul 4 01:29 cost.csv [2022-07-04T01:39:06.992Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-399/archives [2022-07-04T01:39:06.992Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-399/archives [2022-07-04T01:39:06.992Z] total 16 [2022-07-04T01:39:06.992Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 4 01:29 . [2022-07-04T01:39:06.992Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 4 01:29 .. [2022-07-04T01:39:06.992Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 4 01:29 cost [2022-07-04T01:39:06.992Z] -rw-r--r-- 1 jenkins jenkins 85 Jul 4 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:39:07.332Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:39:08.229Z] ---> package-listing.sh [2022-07-04T01:39:08.229Z] ++ facter osfamily [2022-07-04T01:39:08.229Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-04T01:39:08.489Z] + OS_FAMILY=debian [2022-07-04T01:39:08.489Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-399 [2022-07-04T01:39:08.489Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-04T01:39:08.489Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-04T01:39:08.489Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-04T01:39:08.489Z] + PACKAGES=/tmp/packages_start.txt [2022-07-04T01:39:08.489Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-399 ']' [2022-07-04T01:39:08.489Z] + PACKAGES=/tmp/packages_end.txt [2022-07-04T01:39:08.489Z] + case "${OS_FAMILY}" in [2022-07-04T01:39:08.489Z] + dpkg -l [2022-07-04T01:39:08.489Z] + grep '^ii' [2022-07-04T01:39:08.489Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-04T01:39:08.489Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-04T01:39:08.489Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-04T01:39:08.489Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-399 ']' [2022-07-04T01:39:08.489Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-399/archives/ [2022-07-04T01:39:08.489Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-399/archives/ [Pipeline] echo [2022-07-04T01:39:08.524Z] 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-399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-04T01:39:08.821Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-04T01:39:09.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-04T01:39:09.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-04T01:39:09.601Z] prd-ubuntu20.04-docker-8c-8g-16771 does not seem to be running inside a container [2022-07-04T01:39:09.634Z] $ 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-399/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-399 -v /w/workspace/gexfoundry_device-mqtt-go_PR-399:/w/workspace/gexfoundry_device-mqtt-go_PR-399:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-399@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-04T01:39:09.868Z] $ docker top ae38560056a2c1a0db1a8b80c971a6af66fc17c13997ec8f58b300a48d98b99f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-04T01:39:10.279Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-04T01:39:10.593Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-04T01:39:10.908Z] + ls /var/log/sa-host [2022-07-04T01:39:10.908Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-04T01:39:11.097Z] provisioning config files... [2022-07-04T01:39:11.106Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-399@tmp/config6011895144812038769tmp [Pipeline] { [Pipeline] echo [2022-07-04T01:39:11.149Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:39:11.460Z] ---> create-netrc.sh [Pipeline] } [2022-07-04T01:39:11.487Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:39:11.900Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-04T01:39:11.940Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:39:12.256Z] ---> sudo-logs.sh [2022-07-04T01:39:12.256Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-04T01:39:12.350Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:39:12.664Z] ---> job-cost.sh [2022-07-04T01:39:12.664Z] lf-activate-venv: SKIPPING [2022-07-04T01:39:12.664Z] DEBUG: total: 0.2199999988079071 [2022-07-04T01:39:12.664Z] INFO: Retrieving Stack Cost... [2022-07-04T01:39:13.239Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-04T01:39:13.500Z] INFO: Archiving Costs [Pipeline] echo [2022-07-04T01:39:13.533Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-04T01:39:13.843Z] ---> logs-deploy.sh [2022-07-04T01:39:13.843Z] lf-activate-venv: SKIPPING [2022-07-04T01:39:13.843Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-399/1 [2022-07-04T01:39:13.843Z] INFO: archiving workspace using pattern(s): [2022-07-04T01:39:14.783Z] Archives upload complete. [2022-07-04T01:39:14.783Z] INFO: archiving logs to Nexus