Pull request #411 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a+179cca868af1b00faff609cce4fd97c31e151189 (e5849b927ad0339552f11f7260c4ff1776f8ea1a) 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-ssh13651581854069905691.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh7648328716023978946.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-411/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-411/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh595448122492856529.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-411/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5374086332957110825.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh5246516822108691548.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d 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-411/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-411/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5330071546940567286.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 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e 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.18 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22747 in /w/workspace/gexfoundry_device-mqtt-go_PR-411 [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-411 # 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 > 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 Merging remotes/origin/main commit 179cca868af1b00faff609cce4fd97c31e151189 into PR head commit 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a Merge succeeded, producing 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a Checking out Revision 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a (PR-411) 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/411/head:refs/remotes/origin/PR-411 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a # 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 179cca868af1b00faff609cce4fd97c31e151189 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-15T01:29:36.938Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T01:29:37.112Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T01:29:37.217Z] ========================================================= [2022-08-15T01:29:37.217Z] EdgeX Global Pipelines Version Info [2022-08-15T01:29:37.217Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:29:38.018Z] ------------------- [2022-08-15T01:29:38.018Z] stable info: [2022-08-15T01:29:38.018Z] ------------------- [2022-08-15T01:29:38.018Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T01:29:38.018Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T01:29:38.018Z] Message: update stable to v1.0.238 [2022-08-15T01:29:38.592Z] ------------------- [2022-08-15T01:29:38.592Z] experimental info: [2022-08-15T01:29:38.592Z] ------------------- [2022-08-15T01:29:38.592Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T01:29:38.592Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T01:29:38.592Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T01:29:38.952Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-08-15T01:29:38.987Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-08-15T01:29:39.028Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T01:29:39.062Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T01:29:39.101Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T01:29:39.142Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T01:29:39.184Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T01:29:39.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T01:29:39.271Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T01:29:39.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T01:29:39.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T01:29:39.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-08-15T01:29:39.455Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T01:29:39.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T01:29:39.542Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T01:29:39.581Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T01:29:39.625Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T01:29:39.673Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T01:29:39.718Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T01:29:39.777Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T01:29:39.820Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T01:29:39.861Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T01:29:39.897Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T01:29:39.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T01:29:39.984Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T01:29:40.022Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T01:29:40.066Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T01:29:40.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-411 [Pipeline] echo [2022-08-15T01:29:40.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-411 [Pipeline] echo [2022-08-15T01:29:40.188Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-411 [Pipeline] echo [2022-08-15T01:29:40.234Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [Pipeline] echo [2022-08-15T01:29:40.273Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e09f87 [Pipeline] echo [2022-08-15T01:29:40.313Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T01:29:40.434Z] provisioning config files... [2022-08-15T01:29:40.448Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp/config5573981508433831741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:29:40.791Z] ---> docker-login.sh [2022-08-15T01:29:40.791Z] nexus3.edgexfoundry.org:10001 [2022-08-15T01:29:41.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:41.051Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:41.051Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:41.051Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:41.051Z] [2022-08-15T01:29:41.051Z] Login Succeeded [2022-08-15T01:29:41.051Z] nexus3.edgexfoundry.org:10002 [2022-08-15T01:29:41.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:41.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:41.313Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:41.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:41.313Z] [2022-08-15T01:29:41.313Z] Login Succeeded [2022-08-15T01:29:41.313Z] nexus3.edgexfoundry.org:10003 [2022-08-15T01:29:41.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:41.313Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:41.313Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:41.313Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:41.313Z] [2022-08-15T01:29:41.313Z] Login Succeeded [2022-08-15T01:29:41.313Z] nexus3.edgexfoundry.org:10004 [2022-08-15T01:29:41.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:41.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:41.575Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:41.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:41.575Z] [2022-08-15T01:29:41.575Z] Login Succeeded [2022-08-15T01:29:41.575Z] docker.io [2022-08-15T01:29:41.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:42.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:42.149Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:42.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:42.149Z] [2022-08-15T01:29:42.149Z] Login Succeeded [2022-08-15T01:29:42.149Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T01:29:42.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T01:29:42.811Z] + git rev-list -1 --merges 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a~1..9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [Pipeline] echo [2022-08-15T01:29:42.861Z] -----------> git rev-list -1 --merges 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a~1..9e09f877ad2f476e41c87d02ad4e2a5ca134e27a 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [false] [Pipeline] sh [2022-08-15T01:29:43.176Z] + git log --format=format:%s -1 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [Pipeline] echo [2022-08-15T01:29:43.214Z] ========================================================= [2022-08-15T01:29:43.214Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T01:29:43.214Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T01:29:43.644Z] + git log --format=format:%s -1 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [Pipeline] echo [2022-08-15T01:29:43.679Z] [semverPrep] GIT_COMMIT: 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-15T01:29:43.708Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T01:29:44.084Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T01:29:44.084Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T01:29:44.084Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T01:29:44.084Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T01:29:44.084Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T01:29:44.084Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T01:29:44.084Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:29:44.510Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T01:29:44.510Z] [2022-08-15T01:29:44.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:29:44.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T01:29:44.893Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T01:29:44.893Z] b85a868b505f: Pulling fs layer [2022-08-15T01:29:44.893Z] e2be974225ed: Pulling fs layer [2022-08-15T01:29:44.893Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T01:29:44.893Z] 988bab9f4d93: Pulling fs layer [2022-08-15T01:29:44.893Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T01:29:44.893Z] 988bab9f4d93: Waiting [2022-08-15T01:29:44.893Z] eaf3925da568: Pulling fs layer [2022-08-15T01:29:44.893Z] bab4dde63d76: Pulling fs layer [2022-08-15T01:29:44.893Z] eaf3925da568: Waiting [2022-08-15T01:29:44.893Z] 1469e6f7b9e6: Waiting [2022-08-15T01:29:44.893Z] bab4dde63d76: Waiting [2022-08-15T01:29:44.893Z] bde34c3a00c8: Pulling fs layer [2022-08-15T01:29:44.893Z] b352a97aabf1: Pulling fs layer [2022-08-15T01:29:44.893Z] bde34c3a00c8: Waiting [2022-08-15T01:29:44.893Z] 4872d77fe225: Pulling fs layer [2022-08-15T01:29:44.893Z] 5851b861e8e6: Pulling fs layer [2022-08-15T01:29:44.893Z] b352a97aabf1: Waiting [2022-08-15T01:29:44.893Z] e2be974225ed: Verifying Checksum [2022-08-15T01:29:44.893Z] e2be974225ed: Download complete [2022-08-15T01:29:44.893Z] 988bab9f4d93: Verifying Checksum [2022-08-15T01:29:44.893Z] 988bab9f4d93: Download complete [2022-08-15T01:29:45.155Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T01:29:45.155Z] 1469e6f7b9e6: Download complete [2022-08-15T01:29:45.155Z] eaf3925da568: Download complete [2022-08-15T01:29:45.155Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T01:29:45.155Z] 339a4e72a1f5: Download complete [2022-08-15T01:29:45.155Z] bde34c3a00c8: Verifying Checksum [2022-08-15T01:29:45.155Z] bde34c3a00c8: Download complete [2022-08-15T01:29:45.155Z] b352a97aabf1: Verifying Checksum [2022-08-15T01:29:45.155Z] b352a97aabf1: Download complete [2022-08-15T01:29:45.155Z] 4872d77fe225: Verifying Checksum [2022-08-15T01:29:45.155Z] 4872d77fe225: Download complete [2022-08-15T01:29:45.155Z] 5851b861e8e6: Verifying Checksum [2022-08-15T01:29:45.155Z] 5851b861e8e6: Download complete [2022-08-15T01:29:45.155Z] b85a868b505f: Verifying Checksum [2022-08-15T01:29:45.155Z] b85a868b505f: Download complete [2022-08-15T01:29:45.736Z] bab4dde63d76: Verifying Checksum [2022-08-15T01:29:45.736Z] bab4dde63d76: Download complete [2022-08-15T01:29:46.681Z] b85a868b505f: Pull complete [2022-08-15T01:29:46.681Z] e2be974225ed: Pull complete [2022-08-15T01:29:47.256Z] 339a4e72a1f5: Pull complete [2022-08-15T01:29:47.256Z] 988bab9f4d93: Pull complete [2022-08-15T01:29:47.827Z] 1469e6f7b9e6: Pull complete [2022-08-15T01:29:47.827Z] eaf3925da568: Pull complete [2022-08-15T01:29:49.735Z] bab4dde63d76: Pull complete [2022-08-15T01:29:49.735Z] bde34c3a00c8: Pull complete [2022-08-15T01:29:49.997Z] b352a97aabf1: Pull complete [2022-08-15T01:29:49.997Z] 4872d77fe225: Pull complete [2022-08-15T01:29:50.257Z] 5851b861e8e6: Pull complete [2022-08-15T01:29:50.257Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T01:29:50.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T01:29:50.257Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:29:50.489Z] prd-ubuntu20.04-docker-8c-8g-22747 does not seem to be running inside a container [2022-08-15T01:29:50.531Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-411 -v /w/workspace/gexfoundry_device-mqtt-go_PR-411:/w/workspace/gexfoundry_device-mqtt-go_PR-411:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-411@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-15T01:29:51.898Z] $ docker top d2ef136a214f5a1e1ad0922559a35441691653b31911c6ae12a827a975a5807c -eo pid,comm [2022-08-15T01:29:51.987Z] 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-08-15T01:29:51.987Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T01:29:52.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T01:29:52.115Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T01:29:52.256Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T01:29:52.262Z] $ docker exec d2ef136a214f5a1e1ad0922559a35441691653b31911c6ae12a827a975a5807c ssh-agent [2022-08-15T01:29:52.394Z] SSH_AUTH_SOCK=/tmp/ssh-rcZAINSo8kwz/agent.15 [2022-08-15T01:29:52.394Z] SSH_AGENT_PID=28 [2022-08-15T01:29:52.400Z] Running ssh-add (command line suppressed) [2022-08-15T01:29:52.531Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp/private_key_7167124180524994933.key (/w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp/private_key_7167124180524994933.key) [2022-08-15T01:29:52.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T01:29:52.879Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T01:29:52.907Z] $ docker exec --env ******** --env ******** d2ef136a214f5a1e1ad0922559a35441691653b31911c6ae12a827a975a5807c ssh-agent -k [2022-08-15T01:29:53.033Z] unset SSH_AUTH_SOCK; [2022-08-15T01:29:53.034Z] unset SSH_AGENT_PID; [2022-08-15T01:29:53.034Z] echo Agent pid 28 killed; [2022-08-15T01:29:53.042Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T01:29:53.130Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T01:29:53.130Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T01:29:53.273Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T01:29:53.281Z] $ docker exec d2ef136a214f5a1e1ad0922559a35441691653b31911c6ae12a827a975a5807c ssh-agent [2022-08-15T01:29:53.406Z] SSH_AUTH_SOCK=/tmp/ssh-0eDoUkXS8vFy/agent.72 [2022-08-15T01:29:53.406Z] SSH_AGENT_PID=78 [2022-08-15T01:29:53.412Z] Running ssh-add (command line suppressed) [2022-08-15T01:29:53.529Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp/private_key_5718404425529760271.key (/w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp/private_key_5718404425529760271.key) [2022-08-15T01:29:53.540Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T01:29:53.874Z] + git semver init [2022-08-15T01:29:54.138Z] 2022-08-15 01:29:54,094 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T01:29:54.138Z] 2022-08-15 01:29:54,095 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-411/.semver [2022-08-15T01:29:54.138Z] 2022-08-15 01:29:54,095 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-411/.semver [2022-08-15T01:29:54.138Z] 2022-08-15 01:29:54,096 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-411/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-411, universal_newlines=False, shell=None, istream=None) [2022-08-15T01:29:55.096Z] 2022-08-15 01:29:54,793 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-411/.git/info/exclude [2022-08-15T01:29:55.096Z] 2022-08-15 01:29:54,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-411/.semver/PR-411 with force:False [2022-08-15T01:29:55.096Z] 2022-08-15 01:29:54,793 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-411/.semver/PR-411 [2022-08-15T01:29:55.096Z] 2022-08-15 01:29:54,797 [execute] INFO git cat-file --batch-check [2022-08-15T01:29:55.096Z] 2022-08-15 01:29:54,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-411/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T01:29:55.096Z] 2022-08-15 01:29:54,805 [execute] INFO git cat-file --batch [2022-08-15T01:29:55.096Z] 2022-08-15 01:29:54,805 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-411/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T01:29:55.096Z] 2022-08-15 01:29:54,811 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-411/.semver/PR-411 [2022-08-15T01:29:55.096Z] 0.0.0 [Pipeline] } [2022-08-15T01:29:55.126Z] $ docker exec --env ******** --env ******** d2ef136a214f5a1e1ad0922559a35441691653b31911c6ae12a827a975a5807c ssh-agent -k [2022-08-15T01:29:55.253Z] unset SSH_AUTH_SOCK; [2022-08-15T01:29:55.253Z] unset SSH_AGENT_PID; [2022-08-15T01:29:55.253Z] echo Agent pid 78 killed; [2022-08-15T01:29:55.275Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T01:29:55.730Z] + git semver [Pipeline] } [2022-08-15T01:29:56.023Z] $ docker stop --time=1 d2ef136a214f5a1e1ad0922559a35441691653b31911c6ae12a827a975a5807c [2022-08-15T01:29:57.373Z] $ docker rm -f d2ef136a214f5a1e1ad0922559a35441691653b31911c6ae12a827a975a5807c [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T01:29:57.798Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T01:29:58.126Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T01:29:58.145Z] [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-08-15T01:29:58.828Z] provisioning config files... [2022-08-15T01:29:58.838Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp/config4891358633388997586tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:29:59.187Z] ---> docker-login.sh [2022-08-15T01:29:59.187Z] nexus3.edgexfoundry.org:10001 [2022-08-15T01:29:59.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:59.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:59.187Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:59.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:59.187Z] [2022-08-15T01:29:59.187Z] Login Succeeded [2022-08-15T01:29:59.187Z] nexus3.edgexfoundry.org:10002 [2022-08-15T01:29:59.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:59.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:59.447Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:59.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:59.447Z] [2022-08-15T01:29:59.447Z] Login Succeeded [2022-08-15T01:29:59.447Z] nexus3.edgexfoundry.org:10003 [2022-08-15T01:29:59.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:59.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:59.447Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:59.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:59.447Z] [2022-08-15T01:29:59.447Z] Login Succeeded [2022-08-15T01:29:59.447Z] nexus3.edgexfoundry.org:10004 [2022-08-15T01:29:59.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:59.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:59.706Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:59.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:59.706Z] [2022-08-15T01:29:59.706Z] Login Succeeded [2022-08-15T01:29:59.706Z] docker.io [2022-08-15T01:29:59.706Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:29:59.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:29:59.966Z] Configure a credential helper to remove this warning. See [2022-08-15T01:29:59.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:29:59.966Z] [2022-08-15T01:29:59.966Z] Login Succeeded [2022-08-15T01:29:59.966Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T01:29:59.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T01:30:00.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T01:30:00.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T01:30:00.238Z] ========================================================= [2022-08-15T01:30:00.238Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T01:30:00.238Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:30:00.715Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-15T01:30:00.715Z] Sending build context to Docker daemon 6.098MB [2022-08-15T01:30:00.715Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T01:30:00.715Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T01:30:00.715Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T01:30:00.715Z] 2408cc74d12b: Pulling fs layer [2022-08-15T01:30:00.715Z] ea60b727a1ce: Pulling fs layer [2022-08-15T01:30:00.715Z] 30c4a7721957: Pulling fs layer [2022-08-15T01:30:00.715Z] 370296b7ddb6: Pulling fs layer [2022-08-15T01:30:00.715Z] 7c6cee850709: Pulling fs layer [2022-08-15T01:30:00.715Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T01:30:00.715Z] d94ebbe4e438: Pulling fs layer [2022-08-15T01:30:00.715Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T01:30:00.715Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T01:30:00.715Z] 39a5fcdaea64: Waiting [2022-08-15T01:30:00.715Z] 7c6cee850709: Waiting [2022-08-15T01:30:00.715Z] bcfd1f05c69d: Waiting [2022-08-15T01:30:00.715Z] d94ebbe4e438: Waiting [2022-08-15T01:30:00.715Z] 59ccb84bbe0f: Waiting [2022-08-15T01:30:00.715Z] 30c4a7721957: Verifying Checksum [2022-08-15T01:30:00.715Z] 30c4a7721957: Download complete [2022-08-15T01:30:00.715Z] ea60b727a1ce: Verifying Checksum [2022-08-15T01:30:00.715Z] ea60b727a1ce: Download complete [2022-08-15T01:30:00.715Z] 7c6cee850709: Verifying Checksum [2022-08-15T01:30:00.715Z] 7c6cee850709: Download complete [2022-08-15T01:30:00.715Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T01:30:00.715Z] 39a5fcdaea64: Download complete [2022-08-15T01:30:00.979Z] 2408cc74d12b: Verifying Checksum [2022-08-15T01:30:00.979Z] 2408cc74d12b: Download complete [2022-08-15T01:30:00.979Z] d94ebbe4e438: Download complete [2022-08-15T01:30:00.979Z] 2408cc74d12b: Pull complete [2022-08-15T01:30:01.239Z] ea60b727a1ce: Pull complete [2022-08-15T01:30:01.239Z] 30c4a7721957: Pull complete [2022-08-15T01:30:01.239Z] 59ccb84bbe0f: Verifying Checksum [2022-08-15T01:30:01.239Z] 59ccb84bbe0f: Download complete [2022-08-15T01:30:01.817Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T01:30:01.817Z] bcfd1f05c69d: Download complete [2022-08-15T01:30:01.817Z] 370296b7ddb6: Verifying Checksum [2022-08-15T01:30:01.817Z] 370296b7ddb6: Download complete [2022-08-15T01:30:06.020Z] 370296b7ddb6: Pull complete [2022-08-15T01:30:06.020Z] 7c6cee850709: Pull complete [2022-08-15T01:30:06.020Z] 39a5fcdaea64: Pull complete [2022-08-15T01:30:06.020Z] d94ebbe4e438: Pull complete [2022-08-15T01:30:07.925Z] bcfd1f05c69d: Pull complete [2022-08-15T01:30:08.867Z] 59ccb84bbe0f: Pull complete [2022-08-15T01:30:08.868Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T01:30:08.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T01:30:08.868Z] ---> a4fb48ad2a94 [2022-08-15T01:30:08.868Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T01:30:10.255Z] ---> Running in 093eac7642ed [2022-08-15T01:30:10.255Z] Removing intermediate container 093eac7642ed [2022-08-15T01:30:10.255Z] ---> 71bedece02c9 [2022-08-15T01:30:10.255Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T01:30:10.255Z] ---> Running in 528fc877310a [2022-08-15T01:30:10.515Z] Removing intermediate container 528fc877310a [2022-08-15T01:30:10.515Z] ---> 2fd27e1e8629 [2022-08-15T01:30:10.515Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:30:10.515Z] ---> Running in c6bad9bdf705 [2022-08-15T01:30:11.086Z] Removing intermediate container c6bad9bdf705 [2022-08-15T01:30:11.086Z] ---> 69b51bc2fa9a [2022-08-15T01:30:11.086Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T01:30:11.086Z] ---> Running in 7c540c9cbed9 [2022-08-15T01:30:11.348Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T01:30:12.289Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T01:30:12.550Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T01:30:12.550Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T01:30:12.811Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T01:30:12.811Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T01:30:12.811Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T01:30:12.811Z] OK: 216 MiB in 55 packages [2022-08-15T01:30:13.385Z] Removing intermediate container 7c540c9cbed9 [2022-08-15T01:30:13.385Z] ---> 9cd62e416a59 [2022-08-15T01:30:13.385Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-15T01:30:13.385Z] ---> Running in d38ea18cdf51 [2022-08-15T01:30:13.385Z] Removing intermediate container d38ea18cdf51 [2022-08-15T01:30:13.385Z] ---> deaf109305eb [2022-08-15T01:30:13.385Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-15T01:30:13.571Z] Still waiting to schedule task [2022-08-15T01:30:13.572Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-22749’ is offline [2022-08-15T01:30:13.644Z] ---> fe4222628e32 [2022-08-15T01:30:13.644Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T01:30:13.644Z] ---> Running in 6edcd5a6d93b [2022-08-15T01:30:28.612Z] Removing intermediate container 6edcd5a6d93b [2022-08-15T01:30:28.612Z] ---> 936e05863126 [2022-08-15T01:30:28.612Z] Step 10/12 : COPY . . [2022-08-15T01:30:28.612Z] ---> a11fe0ea7b2b [2022-08-15T01:30:28.612Z] Step 11/12 : ARG MAKE='make build' [2022-08-15T01:30:28.612Z] ---> Running in 04c483f6d3a2 [2022-08-15T01:30:28.612Z] Removing intermediate container 04c483f6d3a2 [2022-08-15T01:30:28.612Z] ---> dcbdc9f4f3af [2022-08-15T01:30:28.612Z] Step 12/12 : RUN $MAKE [2022-08-15T01:30:28.612Z] ---> Running in a826bb782517 [2022-08-15T01:30:28.612Z] noop [2022-08-15T01:30:28.612Z] Removing intermediate container a826bb782517 [2022-08-15T01:30:28.612Z] ---> 28d1128b5499 [2022-08-15T01:30:28.612Z] Successfully built 28d1128b5499 [2022-08-15T01:30:28.612Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:30:29.062Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T01:30:29.062Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:30:29.226Z] prd-ubuntu20.04-docker-8c-8g-22747 does not seem to be running inside a container [2022-08-15T01:30:29.297Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-411 -v /w/workspace/gexfoundry_device-mqtt-go_PR-411:/w/workspace/gexfoundry_device-mqtt-go_PR-411:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-411@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-x86_64 cat [2022-08-15T01:30:29.741Z] $ docker top e836d5deb0824d5581982e5fd345298d40e356d97a1a6ae980239523c976ac2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:30:30.186Z] + go version [2022-08-15T01:30:30.186Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T01:30:30.222Z] $ docker stop --time=1 e836d5deb0824d5581982e5fd345298d40e356d97a1a6ae980239523c976ac2c [2022-08-15T01:30:31.502Z] $ docker rm -f e836d5deb0824d5581982e5fd345298d40e356d97a1a6ae980239523c976ac2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:30:32.302Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T01:30:32.302Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:30:32.461Z] prd-ubuntu20.04-docker-8c-8g-22747 does not seem to be running inside a container [2022-08-15T01:30:32.499Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-mqtt-go_PR-411 -v /w/workspace/gexfoundry_device-mqtt-go_PR-411:/w/workspace/gexfoundry_device-mqtt-go_PR-411:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-411@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-x86_64 cat [2022-08-15T01:30:32.863Z] $ docker top 5cd44ca82dd4a93ea804354abd4b560cf208feb06049dbf0b35f95da2e8bb040 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:30:33.283Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-411 [Pipeline] fileExists [Pipeline] sh [2022-08-15T01:30:33.643Z] + make test [2022-08-15T01:30:33.643Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T01:30:33.902Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-15T01:30:43.897Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-15T01:30:43.897Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-08-15T01:30:43.897Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-15T01:30:50.471Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-15T01:30:50.471Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T01:30:53.025Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T01:30:53.025Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T01:30:53.025Z] ./bin/test-attribution-txt.sh [2022-08-15T01:30:53.025Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T01:30:53.025Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T01:30:53.025Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T01:30:53.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T01:30:53.095Z] $ docker stop --time=1 5cd44ca82dd4a93ea804354abd4b560cf208feb06049dbf0b35f95da2e8bb040 [2022-08-15T01:30:55.126Z] $ docker rm -f 5cd44ca82dd4a93ea804354abd4b560cf208feb06049dbf0b35f95da2e8bb040 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T01:30:55.648Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T01:30:55.713Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T01:30:56.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T01:30:56.612Z] + ls -al . [2022-08-15T01:30:56.612Z] total 180 [2022-08-15T01:30:56.612Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 01:30 . [2022-08-15T01:30:56.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:29 .. [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 01:29 .dockerignore [2022-08-15T01:30:56.612Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:30 .git [2022-08-15T01:30:56.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:29 .github [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 01:29 .gitignore [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 01:29 .golangci.yml [2022-08-15T01:30:56.612Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 01:29 .semver [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 15 01:29 Attribution.txt [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 15 01:29 CHANGELOG.md [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 15 01:29 Dockerfile [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 01:29 GOVERNANCE.md [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 01:29 Jenkinsfile [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 01:29 LICENSE [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 15 01:29 Makefile [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 01:29 OWNERS.md [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 15 01:29 README.md [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 01:29 VERSION [2022-08-15T01:30:56.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:29 bin [2022-08-15T01:30:56.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:29 cmd [2022-08-15T01:30:56.612Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 15 01:30 coverage.out [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 15 01:29 go.mod [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 01:29 go.sum [2022-08-15T01:30:56.612Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:29 internal [2022-08-15T01:30:56.612Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:29 mock [2022-08-15T01:30:56.612Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:29 snap [2022-08-15T01:30:56.612Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 15 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:30:57.007Z] + 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=9e09f877ad2f476e41c87d02ad4e2a5ca134e27a --label arch=amd64 --label version=0.0.0 . [2022-08-15T01:30:57.007Z] Sending build context to Docker daemon 6.116MB [2022-08-15T01:30:57.007Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T01:30:57.007Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-15T01:30:57.007Z] ---> 28d1128b5499 [2022-08-15T01:30:57.007Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T01:30:57.007Z] ---> Running in ef1971fbde8f [2022-08-15T01:30:57.268Z] Removing intermediate container ef1971fbde8f [2022-08-15T01:30:57.268Z] ---> c4505cd9c7ba [2022-08-15T01:30:57.268Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T01:30:57.268Z] ---> Running in 7f3095539834 [2022-08-15T01:30:57.268Z] Removing intermediate container 7f3095539834 [2022-08-15T01:30:57.268Z] ---> fe13e8052496 [2022-08-15T01:30:57.268Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:30:57.268Z] ---> Running in 9e8b5ef67ecd [2022-08-15T01:30:57.841Z] Removing intermediate container 9e8b5ef67ecd [2022-08-15T01:30:57.841Z] ---> 156454b05f39 [2022-08-15T01:30:57.841Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T01:30:58.102Z] ---> Running in 5cc2a07ba482 [2022-08-15T01:30:58.363Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T01:30:58.934Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T01:30:59.503Z] OK: 216 MiB in 55 packages [2022-08-15T01:30:59.764Z] Removing intermediate container 5cc2a07ba482 [2022-08-15T01:30:59.764Z] ---> 0ffe86aa9570 [2022-08-15T01:30:59.764Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-15T01:30:59.764Z] ---> Running in d609bad2a727 [2022-08-15T01:31:00.025Z] Removing intermediate container d609bad2a727 [2022-08-15T01:31:00.025Z] ---> 1912a05d524f [2022-08-15T01:31:00.025Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-15T01:31:00.025Z] ---> 71b772016aca [2022-08-15T01:31:00.025Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T01:31:00.025Z] ---> Running in b9bdffb654f3 [2022-08-15T01:31:00.592Z] Removing intermediate container b9bdffb654f3 [2022-08-15T01:31:00.592Z] ---> 88dea6e95054 [2022-08-15T01:31:00.592Z] Step 10/24 : COPY . . [2022-08-15T01:31:01.164Z] ---> 9eab919bd71c [2022-08-15T01:31:01.164Z] Step 11/24 : ARG MAKE='make build' [2022-08-15T01:31:01.164Z] ---> Running in 527172ad5d34 [2022-08-15T01:31:01.164Z] Removing intermediate container 527172ad5d34 [2022-08-15T01:31:01.164Z] ---> fea7534af6c7 [2022-08-15T01:31:01.164Z] Step 12/24 : RUN $MAKE [2022-08-15T01:31:01.164Z] ---> Running in f65cdb484980 [2022-08-15T01:31:01.424Z] 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-08-15T01:31:23.375Z] Removing intermediate container f65cdb484980 [2022-08-15T01:31:23.375Z] ---> e7be51d7b266 [2022-08-15T01:31:23.375Z] Step 13/24 : FROM alpine:3.16 [2022-08-15T01:31:23.634Z] 3.16: Pulling from library/alpine [2022-08-15T01:31:23.896Z] 213ec9aee27d: Pulling fs layer [2022-08-15T01:31:24.156Z] 213ec9aee27d: Verifying Checksum [2022-08-15T01:31:24.156Z] 213ec9aee27d: Download complete [2022-08-15T01:31:24.417Z] 213ec9aee27d: Pull complete [2022-08-15T01:31:24.417Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T01:31:24.417Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T01:31:24.417Z] ---> 9c6f07244728 [2022-08-15T01:31:24.417Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-15T01:31:24.417Z] ---> Running in 2351b2d55309 [2022-08-15T01:31:24.417Z] Removing intermediate container 2351b2d55309 [2022-08-15T01:31:24.417Z] ---> 21647c2cdb81 [2022-08-15T01:31:24.417Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T01:31:24.685Z] ---> Running in 98f20a3d2caa [2022-08-15T01:31:24.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T01:31:24.945Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T01:31:25.205Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T01:31:25.205Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T01:31:25.205Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T01:31:25.205Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T01:31:25.205Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T01:31:25.205Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T01:31:25.205Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T01:31:25.205Z] OK: 8 MiB in 20 packages [2022-08-15T01:31:25.777Z] Removing intermediate container 98f20a3d2caa [2022-08-15T01:31:25.777Z] ---> 2b87322d0903 [2022-08-15T01:31:25.777Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-15T01:31:26.717Z] ---> e7fe04bd9700 [2022-08-15T01:31:26.717Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-15T01:31:26.717Z] ---> 9012b96ea6e1 [2022-08-15T01:31:26.717Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-15T01:31:26.717Z] ---> 4b61e9e7692f [2022-08-15T01:31:26.717Z] Step 19/24 : EXPOSE 59982 [2022-08-15T01:31:26.717Z] ---> Running in 388289c15030 [2022-08-15T01:31:26.980Z] Removing intermediate container 388289c15030 [2022-08-15T01:31:26.980Z] ---> 8be2f4511523 [2022-08-15T01:31:26.980Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-15T01:31:26.980Z] ---> Running in 560a1f19c3ea [2022-08-15T01:31:27.244Z] Removing intermediate container 560a1f19c3ea [2022-08-15T01:31:27.244Z] ---> f0b413ee8285 [2022-08-15T01:31:27.244Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T01:31:27.244Z] ---> Running in 713e68567f75 [2022-08-15T01:31:27.244Z] Removing intermediate container 713e68567f75 [2022-08-15T01:31:27.244Z] ---> dc25c3a4fc13 [2022-08-15T01:31:27.244Z] Step 22/24 : LABEL arch=amd64 [2022-08-15T01:31:27.244Z] ---> Running in c1f6f3944056 [2022-08-15T01:31:27.507Z] Removing intermediate container c1f6f3944056 [2022-08-15T01:31:27.507Z] ---> a2b24eb5da56 [2022-08-15T01:31:27.507Z] Step 23/24 : LABEL git_sha=9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [2022-08-15T01:31:27.507Z] ---> Running in 88286cf5979a [2022-08-15T01:31:27.507Z] Removing intermediate container 88286cf5979a [2022-08-15T01:31:27.507Z] ---> 0586065beb04 [2022-08-15T01:31:27.507Z] Step 24/24 : LABEL version=0.0.0 [2022-08-15T01:31:27.507Z] ---> Running in 96d61cce6c54 [2022-08-15T01:31:27.507Z] Removing intermediate container 96d61cce6c54 [2022-08-15T01:31:27.507Z] ---> 78639d1de13e [2022-08-15T01:31:27.507Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T01:31:27.507Z] Successfully built 78639d1de13e [2022-08-15T01:31:27.507Z] 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-08-15T01:31:28.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T01:31:28.359Z] [2022-08-15T01:31:28.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:31:28.740Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T01:31:28.740Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T01:31:28.740Z] 5eb5b503b376: Pulling fs layer [2022-08-15T01:31:28.740Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T01:31:28.740Z] ec43610c2a17: Pulling fs layer [2022-08-15T01:31:28.740Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T01:31:28.740Z] 33b1e0a273af: Pulling fs layer [2022-08-15T01:31:28.740Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T01:31:28.740Z] 2f39f015ded8: Pulling fs layer [2022-08-15T01:31:28.740Z] 33b1e0a273af: Waiting [2022-08-15T01:31:28.740Z] 5d3b04190fa2: Waiting [2022-08-15T01:31:28.740Z] 3a2ae6a8a46f: Waiting [2022-08-15T01:31:28.740Z] 2f39f015ded8: Waiting [2022-08-15T01:31:28.740Z] 5c69ac0246d0: Download complete [2022-08-15T01:31:28.740Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T01:31:28.740Z] 3a2ae6a8a46f: Download complete [2022-08-15T01:31:28.740Z] 33b1e0a273af: Verifying Checksum [2022-08-15T01:31:28.740Z] 33b1e0a273af: Download complete [2022-08-15T01:31:28.740Z] 5d3b04190fa2: Download complete [2022-08-15T01:31:29.003Z] ec43610c2a17: Verifying Checksum [2022-08-15T01:31:29.003Z] ec43610c2a17: Download complete [2022-08-15T01:31:29.003Z] 5eb5b503b376: Verifying Checksum [2022-08-15T01:31:29.003Z] 5eb5b503b376: Download complete [2022-08-15T01:31:29.571Z] 2f39f015ded8: Download complete [2022-08-15T01:31:30.510Z] 5eb5b503b376: Pull complete [2022-08-15T01:31:30.510Z] 5c69ac0246d0: Pull complete [2022-08-15T01:31:31.080Z] ec43610c2a17: Pull complete [2022-08-15T01:31:31.080Z] 3a2ae6a8a46f: Pull complete [2022-08-15T01:31:31.342Z] 33b1e0a273af: Pull complete [2022-08-15T01:31:31.603Z] 5d3b04190fa2: Pull complete [2022-08-15T01:31:36.886Z] 2f39f015ded8: Pull complete [2022-08-15T01:31:36.886Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T01:31:36.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T01:31:36.886Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:31:37.113Z] prd-ubuntu20.04-docker-8c-8g-22747 does not seem to be running inside a container [2022-08-15T01:31:37.158Z] $ 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-411 -v /w/workspace/gexfoundry_device-mqtt-go_PR-411:/w/workspace/gexfoundry_device-mqtt-go_PR-411:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-411@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:latest cat [2022-08-15T01:31:40.520Z] $ docker top 61ed331d03676262302e74a4d61bcbf3525d2d841320fab2947a168a259fe2f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:31:40.973Z] ---> job-cost.sh [2022-08-15T01:31:40.973Z] lf-activate-venv: SKIPPING [2022-08-15T01:31:40.973Z] INFO: No Stack... [2022-08-15T01:31:41.234Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T01:31:41.805Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T01:31:42.120Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-411/archives/cost.csv [2022-08-15T01:31:42.120Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T01:31:42.159Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-411-1-stack-cost] [2022-08-15T01:31:42.164Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-411-1-stack-cost] did not exist. Created. [2022-08-15T01:31:42.164Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-411-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T01:31:42.626Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T01:31:42.695Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T01:31:42.711Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-411-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T01:31:42.787Z] $ docker stop --time=1 61ed331d03676262302e74a4d61bcbf3525d2d841320fab2947a168a259fe2f5 [2022-08-15T01:31:44.023Z] $ docker rm -f 61ed331d03676262302e74a4d61bcbf3525d2d841320fab2947a168a259fe2f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T01:34:00.697Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22750 in /w/workspace/gexfoundry_device-mqtt-go_PR-411 [Pipeline] { [Pipeline] ws [2022-08-15T01:34:00.738Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-08-15T01:34:00.843Z] Selected Git installation does not exist. Using Default [2022-08-15T01:34:00.843Z] The recommended git tool is: NONE [2022-08-15T01:34:08.658Z] using credential edgex-jenkins-ssh [2022-08-15T01:34:08.679Z] Cloning the remote Git repository [2022-08-15T01:34:08.754Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-15T01:34:08.850Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-08-15T01:34:09.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-15T01:34:09.053Z] > git --version # timeout=10 [2022-08-15T01:34:09.122Z] > git --version # 'git version 2.25.1' [2022-08-15T01:34:09.125Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T01:34:09.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T01:34:11.115Z] Merging remotes/origin/main commit 179cca868af1b00faff609cce4fd97c31e151189 into PR head commit 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [2022-08-15T01:34:11.383Z] Merge succeeded, producing 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [2022-08-15T01:34:11.384Z] Checking out Revision 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a (PR-411) [2022-08-15T01:34:10.465Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-08-15T01:34:10.487Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T01:34:10.522Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-08-15T01:34:10.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-15T01:34:10.569Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T01:34:10.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/411/head:refs/remotes/origin/PR-411 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-15T01:34:11.141Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T01:34:11.167Z] > git checkout -f 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a # timeout=10 [2022-08-15T01:34:11.268Z] > git remote # timeout=10 [2022-08-15T01:34:11.297Z] > git config --get remote.origin.url # timeout=10 [2022-08-15T01:34:11.317Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T01:34:11.330Z] > git merge 179cca868af1b00faff609cce4fd97c31e151189 # timeout=10 [2022-08-15T01:34:11.362Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-15T01:34:11.397Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T01:34:11.418Z] > git checkout -f 9e09f877ad2f476e41c87d02ad4e2a5ca134e27a # timeout=10 [2022-08-15T01:34:15.826Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-15T01:34:16.002Z] > git --version # timeout=10 [2022-08-15T01:34:16.015Z] > git --version # 'git version 2.25.1' [2022-08-15T01:34:16.035Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T01:34:17.149Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T01:34:17.149Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T01:34:17.149Z] Dload Upload Total Spent Left Speed [2022-08-15T01:34:17.149Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2022-08-15T01:34:18.342Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T01:34:18.718Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T01:34:18.718Z] + sudo tee /etc/docker/daemon.new [2022-08-15T01:34:18.718Z] { [2022-08-15T01:34:18.718Z] "registry-mirrors": [ [2022-08-15T01:34:18.718Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T01:34:18.718Z] ], [2022-08-15T01:34:18.718Z] "bip": "10.250.0.254/24", [2022-08-15T01:34:18.718Z] "hosts": [ [2022-08-15T01:34:18.718Z] "tcp://0.0.0.0:5555", [2022-08-15T01:34:18.718Z] "unix:///var/run/docker.sock" [2022-08-15T01:34:18.718Z] ], [2022-08-15T01:34:18.718Z] "mtu": 1458, [2022-08-15T01:34:18.718Z] "selinux-enabled": true, [2022-08-15T01:34:18.718Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T01:34:18.718Z] } [Pipeline] sh [2022-08-15T01:34:19.084Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T01:34:19.447Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T01:34:37.860Z] provisioning config files... [2022-08-15T01:34:37.889Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6356506838005777255tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:34:38.305Z] ---> docker-login.sh [2022-08-15T01:34:38.305Z] nexus3.edgexfoundry.org:10001 [2022-08-15T01:34:38.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:34:39.186Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:34:39.186Z] Configure a credential helper to remove this warning. See [2022-08-15T01:34:39.186Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:34:39.186Z] [2022-08-15T01:34:39.186Z] Login Succeeded [2022-08-15T01:34:39.186Z] nexus3.edgexfoundry.org:10002 [2022-08-15T01:34:39.786Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:34:39.786Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:34:39.786Z] Configure a credential helper to remove this warning. See [2022-08-15T01:34:39.786Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:34:39.786Z] [2022-08-15T01:34:39.786Z] Login Succeeded [2022-08-15T01:34:39.786Z] nexus3.edgexfoundry.org:10003 [2022-08-15T01:34:40.071Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:34:40.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:34:40.346Z] Configure a credential helper to remove this warning. See [2022-08-15T01:34:40.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:34:40.346Z] [2022-08-15T01:34:40.346Z] Login Succeeded [2022-08-15T01:34:40.346Z] nexus3.edgexfoundry.org:10004 [2022-08-15T01:34:40.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:34:40.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:34:40.894Z] Configure a credential helper to remove this warning. See [2022-08-15T01:34:40.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:34:40.894Z] [2022-08-15T01:34:40.894Z] Login Succeeded [2022-08-15T01:34:40.894Z] docker.io [2022-08-15T01:34:41.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T01:34:41.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T01:34:41.770Z] Configure a credential helper to remove this warning. See [2022-08-15T01:34:41.770Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T01:34:41.770Z] [2022-08-15T01:34:41.770Z] Login Succeeded [2022-08-15T01:34:41.770Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T01:34:41.804Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T01:34:42.227Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T01:34:42.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T01:34:42.296Z] ========================================================= [2022-08-15T01:34:42.296Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T01:34:42.296Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:34:42.810Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-15T01:34:43.089Z] Sending build context to Docker daemon 3.152MB [2022-08-15T01:34:43.089Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T01:34:43.089Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T01:34:43.364Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T01:34:43.364Z] b3c136eddcbf: Pulling fs layer [2022-08-15T01:34:43.364Z] c0a3192eca97: Pulling fs layer [2022-08-15T01:34:43.364Z] a050256f5b6f: Pulling fs layer [2022-08-15T01:34:43.364Z] 656be50a0ddc: Pulling fs layer [2022-08-15T01:34:43.364Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T01:34:43.364Z] 46d945488cbd: Pulling fs layer [2022-08-15T01:34:43.364Z] 656be50a0ddc: Waiting [2022-08-15T01:34:43.364Z] 2bbca73fdf42: Waiting [2022-08-15T01:34:43.364Z] 8a5474983e97: Pulling fs layer [2022-08-15T01:34:43.364Z] 329c88fbcd65: Pulling fs layer [2022-08-15T01:34:43.364Z] 46d945488cbd: Waiting [2022-08-15T01:34:43.364Z] 329c88fbcd65: Waiting [2022-08-15T01:34:43.364Z] 8a5474983e97: Waiting [2022-08-15T01:34:43.364Z] a050256f5b6f: Verifying Checksum [2022-08-15T01:34:43.364Z] a050256f5b6f: Download complete [2022-08-15T01:34:43.364Z] c0a3192eca97: Download complete [2022-08-15T01:34:43.364Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T01:34:43.364Z] 2bbca73fdf42: Download complete [2022-08-15T01:34:43.364Z] 46d945488cbd: Verifying Checksum [2022-08-15T01:34:43.364Z] 46d945488cbd: Download complete [2022-08-15T01:34:43.364Z] b3c136eddcbf: Download complete [2022-08-15T01:34:44.363Z] b3c136eddcbf: Pull complete [2022-08-15T01:34:44.644Z] 329c88fbcd65: Verifying Checksum [2022-08-15T01:34:44.644Z] 329c88fbcd65: Download complete [2022-08-15T01:34:45.255Z] c0a3192eca97: Pull complete [2022-08-15T01:34:45.534Z] a050256f5b6f: Pull complete [2022-08-15T01:34:45.810Z] 8a5474983e97: Verifying Checksum [2022-08-15T01:34:45.810Z] 8a5474983e97: Download complete [2022-08-15T01:34:46.794Z] 656be50a0ddc: Verifying Checksum [2022-08-15T01:34:46.794Z] 656be50a0ddc: Download complete [2022-08-15T01:35:01.893Z] 656be50a0ddc: Pull complete [2022-08-15T01:35:01.893Z] 2bbca73fdf42: Pull complete [2022-08-15T01:35:01.893Z] 46d945488cbd: Pull complete [2022-08-15T01:35:07.336Z] 8a5474983e97: Pull complete [2022-08-15T01:35:09.973Z] 329c88fbcd65: Pull complete [2022-08-15T01:35:09.973Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T01:35:09.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T01:35:09.973Z] ---> ff4287adb874 [2022-08-15T01:35:09.973Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T01:35:11.964Z] ---> Running in 12bc1f3fc4cc [2022-08-15T01:35:11.964Z] Removing intermediate container 12bc1f3fc4cc [2022-08-15T01:35:11.964Z] ---> 432ef6224aa2 [2022-08-15T01:35:11.964Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T01:35:12.238Z] ---> Running in be796079a829 [2022-08-15T01:35:12.517Z] Removing intermediate container be796079a829 [2022-08-15T01:35:12.517Z] ---> 39907a89452d [2022-08-15T01:35:12.517Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:35:12.517Z] ---> Running in 2d0fb8e843d0 [2022-08-15T01:35:14.502Z] Removing intermediate container 2d0fb8e843d0 [2022-08-15T01:35:14.502Z] ---> 08297c950469 [2022-08-15T01:35:14.502Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T01:35:14.502Z] ---> Running in 30d646c31248 [2022-08-15T01:35:15.487Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T01:35:16.474Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T01:35:17.457Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T01:35:17.457Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T01:35:17.457Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T01:35:17.730Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T01:35:17.730Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T01:35:18.003Z] OK: 226 MiB in 55 packages [2022-08-15T01:35:18.985Z] Removing intermediate container 30d646c31248 [2022-08-15T01:35:18.985Z] ---> b6ad8981ff88 [2022-08-15T01:35:18.985Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-15T01:35:18.985Z] ---> Running in 111b89b0f1ca [2022-08-15T01:35:19.257Z] Removing intermediate container 111b89b0f1ca [2022-08-15T01:35:19.257Z] ---> d5fd8ccacd9a [2022-08-15T01:35:19.257Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-15T01:35:19.854Z] ---> 5e5331a16ce9 [2022-08-15T01:35:19.854Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T01:35:19.854Z] ---> Running in 7d1b53b010fe [2022-08-15T01:36:16.414Z] Removing intermediate container 7d1b53b010fe [2022-08-15T01:36:16.414Z] ---> 5adbcb04fa7b [2022-08-15T01:36:16.414Z] Step 10/12 : COPY . . [2022-08-15T01:36:16.414Z] ---> 0c2a04a10145 [2022-08-15T01:36:16.414Z] Step 11/12 : ARG MAKE='make build' [2022-08-15T01:36:16.414Z] ---> Running in c12ad541bae3 [2022-08-15T01:36:16.414Z] Removing intermediate container c12ad541bae3 [2022-08-15T01:36:16.414Z] ---> 3d4112edf00b [2022-08-15T01:36:16.414Z] Step 12/12 : RUN $MAKE [2022-08-15T01:36:16.414Z] ---> Running in 394078b83b3a [2022-08-15T01:36:16.414Z] noop [2022-08-15T01:36:16.414Z] Removing intermediate container 394078b83b3a [2022-08-15T01:36:16.414Z] ---> 1728000b7081 [2022-08-15T01:36:16.414Z] Successfully built 1728000b7081 [2022-08-15T01:36:16.414Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:36:16.909Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T01:36:16.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:36:17.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-22750 does not seem to be running inside a container [2022-08-15T01:36:17.325Z] $ 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-08-15T01:36:18.724Z] $ docker top 1557ae555badacfb7fca5ffb22cb5d933005bf4131e0e10a5279d8ac1541e84e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:36:19.692Z] + go version [2022-08-15T01:36:19.692Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T01:36:19.729Z] $ docker stop --time=1 1557ae555badacfb7fca5ffb22cb5d933005bf4131e0e10a5279d8ac1541e84e [2022-08-15T01:36:21.418Z] $ docker rm -f 1557ae555badacfb7fca5ffb22cb5d933005bf4131e0e10a5279d8ac1541e84e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:36:22.379Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T01:36:22.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:36:22.724Z] prd-ubuntu20.04-docker-arm64-4c-16g-22750 does not seem to be running inside a container [2022-08-15T01:36:22.814Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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-08-15T01:36:24.217Z] $ docker top e0b31c45b21ca4eb9a8e878689926f5cee3f72a59050e7a7ca53e5a81ab4b8b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:36:25.187Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-15T01:36:25.929Z] + make test [2022-08-15T01:36:25.929Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T01:36:27.382Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-15T01:38:04.326Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-15T01:38:04.326Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-08-15T01:38:04.326Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-15T01:38:04.326Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T01:38:04.326Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T01:38:16.776Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T01:38:16.776Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T01:38:16.776Z] ./bin/test-attribution-txt.sh [2022-08-15T01:38:16.776Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T01:38:16.776Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T01:38:16.776Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T01:38:16.811Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T01:38:16.846Z] $ docker stop --time=1 e0b31c45b21ca4eb9a8e878689926f5cee3f72a59050e7a7ca53e5a81ab4b8b3 [2022-08-15T01:38:18.680Z] $ docker rm -f e0b31c45b21ca4eb9a8e878689926f5cee3f72a59050e7a7ca53e5a81ab4b8b3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T01:38:19.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T01:38:19.777Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T01:38:20.271Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T01:38:21.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T01:38:21.384Z] + ls -al . [2022-08-15T01:38:21.384Z] total 176 [2022-08-15T01:38:21.384Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 01:36 . [2022-08-15T01:38:21.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:34 .. [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 15 01:34 .dockerignore [2022-08-15T01:38:21.384Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 01:34 .git [2022-08-15T01:38:21.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:34 .github [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 01:34 .gitignore [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 01:34 .golangci.yml [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 15 01:34 Attribution.txt [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 15 01:34 CHANGELOG.md [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 15 01:34 Dockerfile [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 01:34 GOVERNANCE.md [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 15 01:34 Jenkinsfile [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 01:34 LICENSE [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 15 01:34 Makefile [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 01:34 OWNERS.md [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 15 01:34 README.md [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 15 01:29 VERSION [2022-08-15T01:38:21.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:34 bin [2022-08-15T01:38:21.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:34 cmd [2022-08-15T01:38:21.384Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 15 01:37 coverage.out [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 15 01:34 go.mod [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 01:34 go.sum [2022-08-15T01:38:21.384Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 01:34 internal [2022-08-15T01:38:21.384Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 01:34 mock [2022-08-15T01:38:21.384Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 01:34 snap [2022-08-15T01:38:21.384Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 15 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:38:21.821Z] + 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=9e09f877ad2f476e41c87d02ad4e2a5ca134e27a --label arch=arm64 --label version=0.0.0 . [2022-08-15T01:38:22.100Z] Sending build context to Docker daemon 3.17MB [2022-08-15T01:38:22.100Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T01:38:22.100Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-15T01:38:22.100Z] ---> 1728000b7081 [2022-08-15T01:38:22.100Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T01:38:22.377Z] ---> Running in d8f58d60421e [2022-08-15T01:38:22.655Z] Removing intermediate container d8f58d60421e [2022-08-15T01:38:22.655Z] ---> f84b6d4c51ff [2022-08-15T01:38:22.655Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T01:38:22.655Z] ---> Running in 3ea6b73a74a0 [2022-08-15T01:38:22.931Z] Removing intermediate container 3ea6b73a74a0 [2022-08-15T01:38:22.931Z] ---> d1d1451f6203 [2022-08-15T01:38:22.931Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T01:38:23.208Z] ---> Running in 900d85449e4e [2022-08-15T01:38:25.197Z] Removing intermediate container 900d85449e4e [2022-08-15T01:38:25.197Z] ---> 5cbb261ec627 [2022-08-15T01:38:25.197Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T01:38:25.197Z] ---> Running in ca290f1d430e [2022-08-15T01:38:26.187Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T01:38:27.183Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T01:38:28.166Z] OK: 226 MiB in 55 packages [2022-08-15T01:38:28.767Z] Removing intermediate container ca290f1d430e [2022-08-15T01:38:28.767Z] ---> ddd16709c006 [2022-08-15T01:38:28.767Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-15T01:38:29.046Z] ---> Running in 014aa64d29d8 [2022-08-15T01:38:29.320Z] Removing intermediate container 014aa64d29d8 [2022-08-15T01:38:29.320Z] ---> 1efa05146008 [2022-08-15T01:38:29.320Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-15T01:38:29.919Z] ---> dceaf99da2a5 [2022-08-15T01:38:29.919Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T01:38:29.919Z] ---> Running in 4b742439e27d [2022-08-15T01:38:31.913Z] Removing intermediate container 4b742439e27d [2022-08-15T01:38:31.913Z] ---> 11c41ef1760c [2022-08-15T01:38:31.913Z] Step 10/24 : COPY . . [2022-08-15T01:38:32.903Z] ---> 2b1356a3ba98 [2022-08-15T01:38:32.903Z] Step 11/24 : ARG MAKE='make build' [2022-08-15T01:38:32.903Z] ---> Running in ec3bd944265f [2022-08-15T01:38:33.180Z] Removing intermediate container ec3bd944265f [2022-08-15T01:38:33.180Z] ---> 061f10f7a67c [2022-08-15T01:38:33.180Z] Step 12/24 : RUN $MAKE [2022-08-15T01:38:33.458Z] ---> Running in 004ff6460001 [2022-08-15T01:38:34.444Z] 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-08-15T01:40:56.395Z] Removing intermediate container 004ff6460001 [2022-08-15T01:40:56.395Z] ---> adf1426a4149 [2022-08-15T01:40:56.395Z] Step 13/24 : FROM alpine:3.16 [2022-08-15T01:40:56.395Z] 3.16: Pulling from library/alpine [2022-08-15T01:40:56.395Z] 9b18e9b68314: Pulling fs layer [2022-08-15T01:40:56.395Z] 9b18e9b68314: Verifying Checksum [2022-08-15T01:40:56.395Z] 9b18e9b68314: Download complete [2022-08-15T01:40:56.395Z] 9b18e9b68314: Pull complete [2022-08-15T01:40:56.395Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T01:40:56.395Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T01:40:56.395Z] ---> a6215f271958 [2022-08-15T01:40:56.395Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-15T01:40:56.395Z] ---> Running in 1f9e4f64c534 [2022-08-15T01:40:56.395Z] Removing intermediate container 1f9e4f64c534 [2022-08-15T01:40:56.395Z] ---> 81519261ba17 [2022-08-15T01:40:56.395Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T01:40:56.395Z] ---> Running in 6eec524064e1 [2022-08-15T01:40:56.999Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T01:40:57.275Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T01:40:58.280Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T01:40:58.280Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T01:40:58.280Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T01:40:58.280Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T01:40:58.280Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T01:40:58.280Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T01:40:58.557Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T01:40:58.557Z] OK: 8 MiB in 20 packages [2022-08-15T01:40:59.559Z] Removing intermediate container 6eec524064e1 [2022-08-15T01:40:59.559Z] ---> 22edb2cf5e53 [2022-08-15T01:40:59.559Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-15T01:41:00.996Z] ---> 1ba1ce7508e7 [2022-08-15T01:41:00.996Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-15T01:41:01.269Z] ---> 69754c4763bc [2022-08-15T01:41:01.269Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-15T01:41:01.888Z] ---> 47813273a236 [2022-08-15T01:41:01.888Z] Step 19/24 : EXPOSE 59982 [2022-08-15T01:41:01.888Z] ---> Running in dee4dc8f4b04 [2022-08-15T01:41:02.168Z] Removing intermediate container dee4dc8f4b04 [2022-08-15T01:41:02.168Z] ---> f1273b2b5065 [2022-08-15T01:41:02.168Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-15T01:41:02.445Z] ---> Running in 490621c9fa20 [2022-08-15T01:41:02.729Z] Removing intermediate container 490621c9fa20 [2022-08-15T01:41:02.730Z] ---> ad8a80eefe34 [2022-08-15T01:41:02.730Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-15T01:41:02.730Z] ---> Running in e2cb3ac2d5b8 [2022-08-15T01:41:03.007Z] Removing intermediate container e2cb3ac2d5b8 [2022-08-15T01:41:03.007Z] ---> 1fc6dd49fc19 [2022-08-15T01:41:03.007Z] Step 22/24 : LABEL arch=arm64 [2022-08-15T01:41:03.283Z] ---> Running in b043d920d182 [2022-08-15T01:41:03.560Z] Removing intermediate container b043d920d182 [2022-08-15T01:41:03.560Z] ---> 3220f1d7d866 [2022-08-15T01:41:03.560Z] Step 23/24 : LABEL git_sha=9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [2022-08-15T01:41:03.560Z] ---> Running in d3d4caa23ef7 [2022-08-15T01:41:03.837Z] Removing intermediate container d3d4caa23ef7 [2022-08-15T01:41:03.837Z] ---> 4b5ea00f3685 [2022-08-15T01:41:03.837Z] Step 24/24 : LABEL version=0.0.0 [2022-08-15T01:41:03.837Z] ---> Running in 055818a4574c [2022-08-15T01:41:04.445Z] Removing intermediate container 055818a4574c [2022-08-15T01:41:04.445Z] ---> ef8aeb276388 [2022-08-15T01:41:04.445Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T01:41:04.445Z] Successfully built ef8aeb276388 [2022-08-15T01:41:04.445Z] 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-08-15T01:41:05.259Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T01:41:05.259Z] [2022-08-15T01:41:05.259Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:41:05.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T01:41:05.956Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T01:41:05.956Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T01:41:05.956Z] 04944245beec: Pulling fs layer [2022-08-15T01:41:05.956Z] 699f458cf7ca: Pulling fs layer [2022-08-15T01:41:05.956Z] 765212b225bb: Pulling fs layer [2022-08-15T01:41:05.956Z] f23df028b6ca: Pulling fs layer [2022-08-15T01:41:05.956Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T01:41:05.956Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T01:41:05.956Z] 765212b225bb: Waiting [2022-08-15T01:41:05.956Z] f23df028b6ca: Waiting [2022-08-15T01:41:05.956Z] d65c8cfc05b1: Waiting [2022-08-15T01:41:05.956Z] 2437ff75d9bd: Waiting [2022-08-15T01:41:05.956Z] 04944245beec: Verifying Checksum [2022-08-15T01:41:05.956Z] 04944245beec: Download complete [2022-08-15T01:41:05.956Z] 765212b225bb: Verifying Checksum [2022-08-15T01:41:05.956Z] 765212b225bb: Download complete [2022-08-15T01:41:05.956Z] f23df028b6ca: Verifying Checksum [2022-08-15T01:41:05.956Z] f23df028b6ca: Download complete [2022-08-15T01:41:05.956Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T01:41:05.956Z] d65c8cfc05b1: Download complete [2022-08-15T01:41:06.237Z] 699f458cf7ca: Verifying Checksum [2022-08-15T01:41:06.237Z] 699f458cf7ca: Download complete [2022-08-15T01:41:06.513Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T01:41:06.513Z] 8998bd30e6a1: Download complete [2022-08-15T01:41:09.138Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T01:41:09.138Z] 2437ff75d9bd: Download complete [2022-08-15T01:41:10.569Z] 8998bd30e6a1: Pull complete [2022-08-15T01:41:10.848Z] 04944245beec: Pull complete [2022-08-15T01:41:12.288Z] 699f458cf7ca: Pull complete [2022-08-15T01:41:12.563Z] 765212b225bb: Pull complete [2022-08-15T01:41:13.543Z] f23df028b6ca: Pull complete [2022-08-15T01:41:13.543Z] d65c8cfc05b1: Pull complete [2022-08-15T01:41:28.619Z] 2437ff75d9bd: Pull complete [2022-08-15T01:41:28.619Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T01:41:28.619Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T01:41:28.619Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:41:29.013Z] prd-ubuntu20.04-docker-arm64-4c-16g-22750 does not seem to be running inside a container [2022-08-15T01:41:29.104Z] $ 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-08-15T01:41:31.835Z] $ docker top 83c943525c2e56471e1a5b3f4656bb7a7f6f8783ff0ca33c3c1b74f3dc514ed7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:41:32.873Z] ---> job-cost.sh [2022-08-15T01:41:32.873Z] lf-activate-venv: SKIPPING [2022-08-15T01:41:32.873Z] INFO: No Stack... [2022-08-15T01:41:33.468Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T01:41:34.065Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T01:41:34.753Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [2022-08-15T01:41:34.753Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T01:41:34.843Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-411-1-stack-cost] [2022-08-15T01:41:34.848Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-411-1-stack-cost] did not exist. Created. [2022-08-15T01:41:34.848Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-411-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T01:41:35.599Z] /w/workspace/device-mqtt-go/1@tmp/durable-798d5039/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T01:41:36.327Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T01:41:36.368Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T01:41:36.419Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T01:41:36.440Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-411-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T01:41:36.530Z] $ docker stop --time=1 83c943525c2e56471e1a5b3f4656bb7a7f6f8783ff0ca33c3c1b74f3dc514ed7 [2022-08-15T01:41:38.125Z] $ docker rm -f 83c943525c2e56471e1a5b3f4656bb7a7f6f8783ff0ca33c3c1b74f3dc514ed7 [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-08-15T01:41:39.256Z] provisioning config files... [2022-08-15T01:41:39.264Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp/config7430786212908645578tmp [Pipeline] { [Pipeline] sh [2022-08-15T01:41:39.603Z] + set +x [2022-08-15T01:41:39.604Z] + curl -s https://codecov.io/bash [2022-08-15T01:41:39.604Z] + bash -s -- [2022-08-15T01:41:39.604Z] [2022-08-15T01:41:39.604Z] _____ _ [2022-08-15T01:41:39.604Z] / ____| | | [2022-08-15T01:41:39.604Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T01:41:39.604Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T01:41:39.604Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T01:41:39.604Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T01:41:39.604Z] Bash-1.0.6 [2022-08-15T01:41:39.604Z] [2022-08-15T01:41:39.604Z] [2022-08-15T01:41:39.604Z] ==> git version 2.25.1 found [2022-08-15T01:41:39.604Z] ==> 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-08-15T01:41:39.604Z] Release-Date: 2020-01-08 [2022-08-15T01:41:39.604Z] 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-08-15T01:41:39.604Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T01:41:39.604Z] ==> Jenkins CI detected. [2022-08-15T01:41:39.604Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-411 [2022-08-15T01:41:39.604Z] project root: . [2022-08-15T01:41:39.604Z] --> token set from env [2022-08-15T01:41:39.604Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T01:41:39.604Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T01:41:39.604Z] ==> Python coveragepy not found [2022-08-15T01:41:39.604Z] ==> Searching for coverage reports in: [2022-08-15T01:41:39.604Z] + . [2022-08-15T01:41:39.604Z] -> Found 1 reports [2022-08-15T01:41:39.604Z] ==> Detecting git/mercurial file structure [2022-08-15T01:41:39.604Z] ==> Reading reports [2022-08-15T01:41:39.604Z] + ./coverage.out bytes=17887 [2022-08-15T01:41:39.604Z] ==> Appending adjustments [2022-08-15T01:41:39.604Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T01:41:39.863Z] + Found adjustments [2022-08-15T01:41:39.863Z] ==> Gzipping contents [2022-08-15T01:41:39.863Z] 4.0K /tmp/codecov.c2B9YD.gz [2022-08-15T01:41:39.863Z] ==> Uploading reports [2022-08-15T01:41:39.863Z] url: https://codecov.io [2022-08-15T01:41:39.864Z] query: branch=PR-411&commit=9e09f877ad2f476e41c87d02ad4e2a5ca134e27a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-411%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=411&job=&cmd_args= [2022-08-15T01:41:39.864Z] -> Pinging Codecov [2022-08-15T01:41:39.864Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-411&commit=9e09f877ad2f476e41c87d02ad4e2a5ca134e27a&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-411%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=411&job=&cmd_args= [2022-08-15T01:41:40.123Z] -> Uploading to [2022-08-15T01:41:40.123Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/7D719EC7BBE17E464838252E33014C33/9e09f877ad2f476e41c87d02ad4e2a5ca134e27a/7c09cc50-d6e9-4a42-a544-f6f9f12102c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T014139Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=948613b1dfea8a5a6a97dedb61bad54e882022df378403b1ca7344af6962cbf1 [2022-08-15T01:41:40.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T01:41:40.123Z] Dload Upload Total Spent Left Speed [2022-08-15T01:41:40.382Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 15847 --:--:-- --:--:-- --:--:-- 15769 100 3217 0 0 100 3217 0 15319 --:--:-- --:--:-- --:--:-- 15246 [2022-08-15T01:41:40.382Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9e09f877ad2f476e41c87d02ad4e2a5ca134e27a [Pipeline] } [2022-08-15T01:41:40.407Z] 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-08-15T01:41:42.060Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-411/archives ] [2022-08-15T01:41:42.060Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-411/archives [2022-08-15T01:41:42.060Z] total 16 [2022-08-15T01:41:42.060Z] drwxr-xr-x 3 root root 4096 Aug 15 01:31 . [2022-08-15T01:41:42.060Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 01:31 .. [2022-08-15T01:41:42.060Z] drwxr-xr-x 2 root root 4096 Aug 15 01:31 cost [2022-08-15T01:41:42.060Z] -rw-r--r-- 1 root root 86 Aug 15 01:31 cost.csv [2022-08-15T01:41:42.060Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-411/archives [2022-08-15T01:41:42.060Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-411/archives [2022-08-15T01:41:42.060Z] total 16 [2022-08-15T01:41:42.060Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 01:31 . [2022-08-15T01:41:42.060Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 15 01:31 .. [2022-08-15T01:41:42.060Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 01:31 cost [2022-08-15T01:41:42.060Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 15 01:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:41:42.392Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:41:43.282Z] ---> package-listing.sh [2022-08-15T01:41:43.282Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T01:41:43.282Z] ++ facter osfamily [2022-08-15T01:41:43.543Z] + OS_FAMILY=debian [2022-08-15T01:41:43.543Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-411 [2022-08-15T01:41:43.543Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T01:41:43.543Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T01:41:43.543Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T01:41:43.543Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T01:41:43.543Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-411 ']' [2022-08-15T01:41:43.543Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T01:41:43.543Z] + case "${OS_FAMILY}" in [2022-08-15T01:41:43.543Z] + dpkg -l [2022-08-15T01:41:43.543Z] + grep '^ii' [2022-08-15T01:41:43.543Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T01:41:43.543Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T01:41:43.543Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T01:41:43.543Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-411 ']' [2022-08-15T01:41:43.543Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-411/archives/ [2022-08-15T01:41:43.543Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-411/archives/ [Pipeline] echo [2022-08-15T01:41:43.580Z] 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-411/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-15T01:41:43.877Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T01:41:44.511Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T01:41:44.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T01:41:44.671Z] prd-ubuntu20.04-docker-8c-8g-22747 does not seem to be running inside a container [2022-08-15T01:41:44.722Z] $ 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-411/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-411 -v /w/workspace/gexfoundry_device-mqtt-go_PR-411:/w/workspace/gexfoundry_device-mqtt-go_PR-411:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-411@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-08-15T01:41:44.918Z] $ docker top fa2cfc8badc582e0a7f248678ccaf1446f15307393515d69a722e7b3e630bc2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T01:41:45.329Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T01:41:45.640Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T01:41:45.951Z] + ls /var/log/sa-host [2022-08-15T01:41:45.951Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T01:41:46.091Z] provisioning config files... [2022-08-15T01:41:46.101Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-411@tmp/config3450882254265836677tmp [Pipeline] { [Pipeline] echo [2022-08-15T01:41:46.158Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:41:46.471Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T01:41:46.499Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:41:46.908Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T01:41:46.940Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:41:47.257Z] ---> sudo-logs.sh [2022-08-15T01:41:47.257Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T01:41:47.343Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:41:47.657Z] ---> job-cost.sh [2022-08-15T01:41:47.657Z] lf-activate-venv: SKIPPING [2022-08-15T01:41:47.657Z] DEBUG: total: 0.2199999988079071 [2022-08-15T01:41:47.657Z] INFO: Retrieving Stack Cost... [2022-08-15T01:41:47.923Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T01:41:48.493Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T01:41:48.533Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T01:41:48.845Z] ---> logs-deploy.sh [2022-08-15T01:41:48.845Z] lf-activate-venv: SKIPPING [2022-08-15T01:41:48.845Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-411/1 [2022-08-15T01:41:48.845Z] INFO: archiving workspace using pattern(s): [2022-08-15T01:41:49.787Z] Archives upload complete. [2022-08-15T01:41:49.787Z] INFO: archiving logs to Nexus