Pull request #406 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1345d64ee65f0d436676717ea2e7bb3cc6ddde4+adfcd8475fa2a20fe672f9c26fef4422551b8595 (ed78f1be388d9cd4cfb163371ffb1c900b563eba) 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-ssh12173171951734888714.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-ssh2008590264918424964.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-406/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-406/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2854287126141407121.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-406/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3059466869172685861.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-ssh1917065279185333453.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-406/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-406/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6379555812142988600.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 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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-21623 in /w/workspace/gexfoundry_device-mqtt-go_PR-406 [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-406 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit adfcd8475fa2a20fe672f9c26fef4422551b8595 into PR head commit c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 Merge succeeded, producing c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 Checking out Revision c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 (PR-406) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 # 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 adfcd8475fa2a20fe672f9c26fef4422551b8595 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 # 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-01T01:34:52.473Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-01T01:34:52.661Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-01T01:34:52.768Z] ========================================================= [2022-08-01T01:34:52.768Z] EdgeX Global Pipelines Version Info [2022-08-01T01:34:52.768Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:34:53.535Z] ------------------- [2022-08-01T01:34:53.535Z] stable info: [2022-08-01T01:34:53.535Z] ------------------- [2022-08-01T01:34:53.535Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T01:34:53.535Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T01:34:53.535Z] Message: update stable to v1.0.238 [2022-08-01T01:34:54.110Z] ------------------- [2022-08-01T01:34:54.110Z] experimental info: [2022-08-01T01:34:54.110Z] ------------------- [2022-08-01T01:34:54.110Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-01T01:34:54.110Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-01T01:34:54.110Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-01T01:34:54.507Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-08-01T01:34:54.549Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-08-01T01:34:54.593Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-01T01:34:54.635Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-01T01:34:54.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-01T01:34:54.722Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-01T01:34:54.776Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-01T01:34:54.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-01T01:34:54.876Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-01T01:34:54.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-01T01:34:54.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-01T01:34:55.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-08-01T01:34:55.066Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-01T01:34:55.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-01T01:34:55.155Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T01:34:55.196Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-01T01:34:55.250Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T01:34:55.297Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-01T01:34:55.352Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-01T01:34:55.403Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-01T01:34:55.446Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-01T01:34:55.486Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-01T01:34:55.524Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-01T01:34:55.564Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-01T01:34:55.607Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-01T01:34:55.644Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-01T01:34:55.690Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-01T01:34:55.734Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-406 [Pipeline] echo [2022-08-01T01:34:55.777Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-406 [Pipeline] echo [2022-08-01T01:34:55.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-406 [Pipeline] echo [2022-08-01T01:34:55.875Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [Pipeline] echo [2022-08-01T01:34:55.918Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1345d6 [Pipeline] echo [2022-08-01T01:34:55.964Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T01:34:56.087Z] provisioning config files... [2022-08-01T01:34:56.103Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp/config6129720112478155915tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:34:56.456Z] ---> docker-login.sh [2022-08-01T01:34:56.456Z] nexus3.edgexfoundry.org:10001 [2022-08-01T01:34:56.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:34:56.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:34:56.720Z] Configure a credential helper to remove this warning. See [2022-08-01T01:34:56.720Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:34:56.720Z] [2022-08-01T01:34:56.720Z] Login Succeeded [2022-08-01T01:34:56.720Z] nexus3.edgexfoundry.org:10002 [2022-08-01T01:34:56.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:34:56.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:34:56.986Z] Configure a credential helper to remove this warning. See [2022-08-01T01:34:56.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:34:56.986Z] [2022-08-01T01:34:56.986Z] Login Succeeded [2022-08-01T01:34:56.986Z] nexus3.edgexfoundry.org:10003 [2022-08-01T01:34:56.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:34:56.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:34:56.986Z] Configure a credential helper to remove this warning. See [2022-08-01T01:34:56.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:34:56.986Z] [2022-08-01T01:34:56.986Z] Login Succeeded [2022-08-01T01:34:56.986Z] nexus3.edgexfoundry.org:10004 [2022-08-01T01:34:57.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:34:57.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:34:57.248Z] Configure a credential helper to remove this warning. See [2022-08-01T01:34:57.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:34:57.248Z] [2022-08-01T01:34:57.248Z] Login Succeeded [2022-08-01T01:34:57.248Z] docker.io [2022-08-01T01:34:57.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:34:57.510Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:34:57.510Z] Configure a credential helper to remove this warning. See [2022-08-01T01:34:57.510Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:34:57.510Z] [2022-08-01T01:34:57.510Z] Login Succeeded [2022-08-01T01:34:57.510Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T01:34:57.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-01T01:34:58.187Z] + git rev-list -1 --merges c1345d64ee65f0d436676717ea2e7bb3cc6ddde4~1..c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [Pipeline] echo [2022-08-01T01:34:58.235Z] -----------> git rev-list -1 --merges c1345d64ee65f0d436676717ea2e7bb3cc6ddde4~1..c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [false] [Pipeline] sh [2022-08-01T01:34:58.549Z] + git log --format=format:%s -1 c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [Pipeline] echo [2022-08-01T01:34:58.589Z] ========================================================= [2022-08-01T01:34:58.589Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-01T01:34:58.589Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T01:34:59.027Z] + git log --format=format:%s -1 c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [Pipeline] echo [2022-08-01T01:34:59.062Z] [semverPrep] GIT_COMMIT: c1345d64ee65f0d436676717ea2e7bb3cc6ddde4, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-08-01T01:34:59.095Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-01T01:34:59.495Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-01T01:34:59.495Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-01T01:34:59.495Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-01T01:34:59.495Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-01T01:34:59.495Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-01T01:34:59.495Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-01T01:34:59.495Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:35:00.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T01:35:00.001Z] [2022-08-01T01:35:00.001Z] 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-01T01:35:00.379Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T01:35:00.379Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-01T01:35:00.379Z] b85a868b505f: Pulling fs layer [2022-08-01T01:35:00.379Z] e2be974225ed: Pulling fs layer [2022-08-01T01:35:00.379Z] 339a4e72a1f5: Pulling fs layer [2022-08-01T01:35:00.379Z] 988bab9f4d93: Pulling fs layer [2022-08-01T01:35:00.379Z] 1469e6f7b9e6: Pulling fs layer [2022-08-01T01:35:00.379Z] eaf3925da568: Pulling fs layer [2022-08-01T01:35:00.379Z] bab4dde63d76: Pulling fs layer [2022-08-01T01:35:00.379Z] bde34c3a00c8: Pulling fs layer [2022-08-01T01:35:00.379Z] b352a97aabf1: Pulling fs layer [2022-08-01T01:35:00.379Z] 4872d77fe225: Pulling fs layer [2022-08-01T01:35:00.379Z] 5851b861e8e6: Pulling fs layer [2022-08-01T01:35:00.379Z] b352a97aabf1: Waiting [2022-08-01T01:35:00.379Z] bde34c3a00c8: Waiting [2022-08-01T01:35:00.379Z] 4872d77fe225: Waiting [2022-08-01T01:35:00.379Z] bab4dde63d76: Waiting [2022-08-01T01:35:00.379Z] 988bab9f4d93: Waiting [2022-08-01T01:35:00.379Z] 1469e6f7b9e6: Waiting [2022-08-01T01:35:00.379Z] 5851b861e8e6: Waiting [2022-08-01T01:35:00.379Z] eaf3925da568: Waiting [2022-08-01T01:35:00.379Z] e2be974225ed: Download complete [2022-08-01T01:35:00.379Z] 988bab9f4d93: Verifying Checksum [2022-08-01T01:35:00.379Z] 988bab9f4d93: Download complete [2022-08-01T01:35:00.379Z] 339a4e72a1f5: Verifying Checksum [2022-08-01T01:35:00.379Z] 339a4e72a1f5: Download complete [2022-08-01T01:35:00.379Z] 1469e6f7b9e6: Verifying Checksum [2022-08-01T01:35:00.379Z] 1469e6f7b9e6: Download complete [2022-08-01T01:35:00.642Z] eaf3925da568: Verifying Checksum [2022-08-01T01:35:00.642Z] eaf3925da568: Download complete [2022-08-01T01:35:00.642Z] bde34c3a00c8: Download complete [2022-08-01T01:35:00.642Z] b352a97aabf1: Download complete [2022-08-01T01:35:00.642Z] 4872d77fe225: Download complete [2022-08-01T01:35:00.642Z] 5851b861e8e6: Verifying Checksum [2022-08-01T01:35:00.642Z] b85a868b505f: Verifying Checksum [2022-08-01T01:35:00.642Z] b85a868b505f: Download complete [2022-08-01T01:35:00.902Z] bab4dde63d76: Verifying Checksum [2022-08-01T01:35:00.902Z] bab4dde63d76: Download complete [2022-08-01T01:35:01.846Z] b85a868b505f: Pull complete [2022-08-01T01:35:02.111Z] e2be974225ed: Pull complete [2022-08-01T01:35:02.689Z] 339a4e72a1f5: Pull complete [2022-08-01T01:35:02.689Z] 988bab9f4d93: Pull complete [2022-08-01T01:35:03.263Z] 1469e6f7b9e6: Pull complete [2022-08-01T01:35:03.263Z] eaf3925da568: Pull complete [2022-08-01T01:35:05.178Z] bab4dde63d76: Pull complete [2022-08-01T01:35:05.178Z] bde34c3a00c8: Pull complete [2022-08-01T01:35:05.438Z] b352a97aabf1: Pull complete [2022-08-01T01:35:05.438Z] 4872d77fe225: Pull complete [2022-08-01T01:35:05.715Z] 5851b861e8e6: Pull complete [2022-08-01T01:35:05.715Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-01T01:35:05.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-01T01:35:05.715Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:35:05.954Z] prd-ubuntu20.04-docker-8c-8g-21623 does not seem to be running inside a container [2022-08-01T01:35:06.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-406 -v /w/workspace/gexfoundry_device-mqtt-go_PR-406:/w/workspace/gexfoundry_device-mqtt-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-01T01:35:07.571Z] $ docker top 77a785de789ae0007057fdc48b13aad13289ef82818c49330c74292877982b96 -eo pid,comm [2022-08-01T01:35:07.646Z] 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-01T01:35:07.646Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-01T01:35:07.780Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T01:35:07.780Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T01:35:07.922Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T01:35:07.929Z] $ docker exec 77a785de789ae0007057fdc48b13aad13289ef82818c49330c74292877982b96 ssh-agent [2022-08-01T01:35:08.071Z] SSH_AUTH_SOCK=/tmp/ssh-ehgLDSMLp82U/agent.34 [2022-08-01T01:35:08.071Z] SSH_AGENT_PID=40 [2022-08-01T01:35:08.077Z] Running ssh-add (command line suppressed) [2022-08-01T01:35:08.194Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp/private_key_2315793942643596903.key (/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp/private_key_2315793942643596903.key) [2022-08-01T01:35:08.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T01:35:08.550Z] + git tag --points-at HEAD [Pipeline] } [2022-08-01T01:35:08.583Z] $ docker exec --env ******** --env ******** 77a785de789ae0007057fdc48b13aad13289ef82818c49330c74292877982b96 ssh-agent -k [2022-08-01T01:35:08.693Z] unset SSH_AUTH_SOCK; [2022-08-01T01:35:08.694Z] unset SSH_AGENT_PID; [2022-08-01T01:35:08.694Z] echo Agent pid 40 killed; [2022-08-01T01:35:08.702Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-01T01:35:08.786Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-01T01:35:08.786Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-01T01:35:08.910Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-01T01:35:08.918Z] $ docker exec 77a785de789ae0007057fdc48b13aad13289ef82818c49330c74292877982b96 ssh-agent [2022-08-01T01:35:09.045Z] SSH_AUTH_SOCK=/tmp/ssh-KPQcEDzJxlg4/agent.73 [2022-08-01T01:35:09.045Z] SSH_AGENT_PID=79 [2022-08-01T01:35:09.051Z] Running ssh-add (command line suppressed) [2022-08-01T01:35:09.186Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp/private_key_525188693453089533.key (/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp/private_key_525188693453089533.key) [2022-08-01T01:35:09.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-01T01:35:09.532Z] + git semver init [2022-08-01T01:35:09.793Z] 2022-08-01 01:35:09,753 [run_init] DEBUG init version:0.0.0 force:False [2022-08-01T01:35:09.793Z] 2022-08-01 01:35:09,754 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-406/.semver [2022-08-01T01:35:09.793Z] 2022-08-01 01:35:09,754 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-406/.semver [2022-08-01T01:35:09.793Z] 2022-08-01 01:35:09,754 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-406/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-406, universal_newlines=False, shell=None, istream=None) [2022-08-01T01:35:10.739Z] 2022-08-01 01:35:10,459 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-406/.git/info/exclude [2022-08-01T01:35:10.739Z] 2022-08-01 01:35:10,460 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-406/.semver/PR-406 with force:False [2022-08-01T01:35:10.739Z] 2022-08-01 01:35:10,460 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-406/.semver/PR-406 [2022-08-01T01:35:10.739Z] 2022-08-01 01:35:10,465 [execute] INFO git cat-file --batch-check [2022-08-01T01:35:10.739Z] 2022-08-01 01:35:10,465 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-406/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T01:35:10.739Z] 2022-08-01 01:35:10,473 [execute] INFO git cat-file --batch [2022-08-01T01:35:10.739Z] 2022-08-01 01:35:10,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-406/.semver, universal_newlines=False, shell=None, istream=) [2022-08-01T01:35:10.739Z] 2022-08-01 01:35:10,479 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-406/.semver/PR-406 [2022-08-01T01:35:10.739Z] 0.0.0 [Pipeline] } [2022-08-01T01:35:10.769Z] $ docker exec --env ******** --env ******** 77a785de789ae0007057fdc48b13aad13289ef82818c49330c74292877982b96 ssh-agent -k [2022-08-01T01:35:10.905Z] unset SSH_AUTH_SOCK; [2022-08-01T01:35:10.905Z] unset SSH_AGENT_PID; [2022-08-01T01:35:10.905Z] echo Agent pid 79 killed; [2022-08-01T01:35:10.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-01T01:35:11.427Z] + git semver [Pipeline] } [2022-08-01T01:35:11.712Z] $ docker stop --time=1 77a785de789ae0007057fdc48b13aad13289ef82818c49330c74292877982b96 [2022-08-01T01:35:13.058Z] $ docker rm -f 77a785de789ae0007057fdc48b13aad13289ef82818c49330c74292877982b96 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T01:35:13.478Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-01T01:35:13.794Z] Stashed 1 file(s) [Pipeline] echo [2022-08-01T01:35:13.811Z] [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-01T01:35:14.407Z] provisioning config files... [2022-08-01T01:35:14.418Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp/config8732700082501264648tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:35:14.761Z] ---> docker-login.sh [2022-08-01T01:35:14.761Z] nexus3.edgexfoundry.org:10001 [2022-08-01T01:35:14.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:35:14.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:35:14.761Z] Configure a credential helper to remove this warning. See [2022-08-01T01:35:14.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:35:14.761Z] [2022-08-01T01:35:14.761Z] Login Succeeded [2022-08-01T01:35:14.761Z] nexus3.edgexfoundry.org:10002 [2022-08-01T01:35:15.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:35:15.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:35:15.023Z] Configure a credential helper to remove this warning. See [2022-08-01T01:35:15.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:35:15.023Z] [2022-08-01T01:35:15.023Z] Login Succeeded [2022-08-01T01:35:15.023Z] nexus3.edgexfoundry.org:10003 [2022-08-01T01:35:15.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:35:15.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:35:15.023Z] Configure a credential helper to remove this warning. See [2022-08-01T01:35:15.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:35:15.023Z] [2022-08-01T01:35:15.023Z] Login Succeeded [2022-08-01T01:35:15.023Z] nexus3.edgexfoundry.org:10004 [2022-08-01T01:35:15.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:35:15.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:35:15.285Z] Configure a credential helper to remove this warning. See [2022-08-01T01:35:15.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:35:15.285Z] [2022-08-01T01:35:15.285Z] Login Succeeded [2022-08-01T01:35:15.285Z] docker.io [2022-08-01T01:35:15.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:35:15.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:35:15.546Z] Configure a credential helper to remove this warning. See [2022-08-01T01:35:15.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:35:15.546Z] [2022-08-01T01:35:15.546Z] Login Succeeded [2022-08-01T01:35:15.546Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T01:35:15.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T01:35:15.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T01:35:15.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T01:35:15.830Z] ========================================================= [2022-08-01T01:35:15.830Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-01T01:35:15.830Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:35:16.305Z] + 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-01T01:35:16.305Z] Sending build context to Docker daemon 6.07MB [2022-08-01T01:35:16.305Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T01:35:16.305Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-01T01:35:16.305Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-01T01:35:16.305Z] 2408cc74d12b: Pulling fs layer [2022-08-01T01:35:16.305Z] ea60b727a1ce: Pulling fs layer [2022-08-01T01:35:16.305Z] 30c4a7721957: Pulling fs layer [2022-08-01T01:35:16.305Z] 370296b7ddb6: Pulling fs layer [2022-08-01T01:35:16.305Z] 7c6cee850709: Pulling fs layer [2022-08-01T01:35:16.305Z] 39a5fcdaea64: Pulling fs layer [2022-08-01T01:35:16.305Z] d94ebbe4e438: Pulling fs layer [2022-08-01T01:35:16.305Z] bcfd1f05c69d: Pulling fs layer [2022-08-01T01:35:16.305Z] 59ccb84bbe0f: Pulling fs layer [2022-08-01T01:35:16.305Z] 370296b7ddb6: Waiting [2022-08-01T01:35:16.305Z] 7c6cee850709: Waiting [2022-08-01T01:35:16.305Z] 39a5fcdaea64: Waiting [2022-08-01T01:35:16.305Z] bcfd1f05c69d: Waiting [2022-08-01T01:35:16.305Z] 59ccb84bbe0f: Waiting [2022-08-01T01:35:16.305Z] d94ebbe4e438: Waiting [2022-08-01T01:35:16.305Z] 30c4a7721957: Download complete [2022-08-01T01:35:16.569Z] ea60b727a1ce: Download complete [2022-08-01T01:35:16.569Z] 7c6cee850709: Verifying Checksum [2022-08-01T01:35:16.569Z] 7c6cee850709: Download complete [2022-08-01T01:35:16.569Z] 39a5fcdaea64: Download complete [2022-08-01T01:35:16.569Z] 2408cc74d12b: Verifying Checksum [2022-08-01T01:35:16.569Z] 2408cc74d12b: Download complete [2022-08-01T01:35:16.569Z] d94ebbe4e438: Download complete [2022-08-01T01:35:16.569Z] 2408cc74d12b: Pull complete [2022-08-01T01:35:16.836Z] ea60b727a1ce: Pull complete [2022-08-01T01:35:16.836Z] 30c4a7721957: Pull complete [2022-08-01T01:35:16.836Z] 59ccb84bbe0f: Verifying Checksum [2022-08-01T01:35:16.836Z] 59ccb84bbe0f: Download complete [2022-08-01T01:35:17.097Z] bcfd1f05c69d: Verifying Checksum [2022-08-01T01:35:17.097Z] bcfd1f05c69d: Download complete [2022-08-01T01:35:17.358Z] 370296b7ddb6: Verifying Checksum [2022-08-01T01:35:17.358Z] 370296b7ddb6: Download complete [2022-08-01T01:35:22.641Z] 370296b7ddb6: Pull complete [2022-08-01T01:35:22.641Z] 7c6cee850709: Pull complete [2022-08-01T01:35:22.641Z] 39a5fcdaea64: Pull complete [2022-08-01T01:35:22.641Z] d94ebbe4e438: Pull complete [2022-08-01T01:35:24.549Z] bcfd1f05c69d: Pull complete [2022-08-01T01:35:25.123Z] 59ccb84bbe0f: Pull complete [2022-08-01T01:35:25.123Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-01T01:35:25.123Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-01T01:35:25.123Z] ---> a4fb48ad2a94 [2022-08-01T01:35:25.123Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T01:35:27.044Z] ---> Running in 37fc3873dc7b [2022-08-01T01:35:27.044Z] Removing intermediate container 37fc3873dc7b [2022-08-01T01:35:27.044Z] ---> 8148c4cb1eb8 [2022-08-01T01:35:27.044Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T01:35:27.044Z] ---> Running in 1e693228a1e0 [2022-08-01T01:35:27.306Z] Removing intermediate container 1e693228a1e0 [2022-08-01T01:35:27.306Z] ---> df512002ac5a [2022-08-01T01:35:27.306Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T01:35:27.306Z] ---> Running in 08567f8dc8c2 [2022-08-01T01:35:27.880Z] Removing intermediate container 08567f8dc8c2 [2022-08-01T01:35:27.880Z] ---> 1c95542b16fd [2022-08-01T01:35:27.880Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T01:35:27.880Z] ---> Running in 4cf6cd0a95e8 [2022-08-01T01:35:28.144Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T01:35:29.090Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T01:35:29.229Z] Still waiting to schedule task [2022-08-01T01:35:29.230Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-01T01:35:29.355Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T01:35:29.355Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-01T01:35:29.618Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T01:35:29.618Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T01:35:29.618Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T01:35:29.919Z] OK: 216 MiB in 55 packages [2022-08-01T01:35:30.180Z] Removing intermediate container 4cf6cd0a95e8 [2022-08-01T01:35:30.180Z] ---> a63f80354f39 [2022-08-01T01:35:30.180Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-01T01:35:30.180Z] ---> Running in 90feaf676bf8 [2022-08-01T01:35:30.442Z] Removing intermediate container 90feaf676bf8 [2022-08-01T01:35:30.442Z] ---> 32402b3b71a2 [2022-08-01T01:35:30.442Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-01T01:35:30.442Z] ---> 24b66ae55795 [2022-08-01T01:35:30.442Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T01:35:30.703Z] ---> Running in 7490a65f8d96 [2022-08-01T01:35:49.045Z] Removing intermediate container 7490a65f8d96 [2022-08-01T01:35:49.045Z] ---> f3d9e71e5ee5 [2022-08-01T01:35:49.045Z] Step 10/12 : COPY . . [2022-08-01T01:35:49.045Z] ---> cd23ce24390a [2022-08-01T01:35:49.045Z] Step 11/12 : ARG MAKE='make build' [2022-08-01T01:35:49.045Z] ---> Running in 379e6297a0f4 [2022-08-01T01:35:49.045Z] Removing intermediate container 379e6297a0f4 [2022-08-01T01:35:49.045Z] ---> b42129841e82 [2022-08-01T01:35:49.045Z] Step 12/12 : RUN $MAKE [2022-08-01T01:35:49.045Z] ---> Running in ac7fa2b19877 [2022-08-01T01:35:49.045Z] noop [2022-08-01T01:35:49.045Z] Removing intermediate container ac7fa2b19877 [2022-08-01T01:35:49.045Z] ---> 4837b62870b6 [2022-08-01T01:35:49.045Z] Successfully built 4837b62870b6 [2022-08-01T01:35:49.045Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:35:49.502Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T01:35:49.502Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:35:49.661Z] prd-ubuntu20.04-docker-8c-8g-21623 does not seem to be running inside a container [2022-08-01T01:35:49.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-406 -v /w/workspace/gexfoundry_device-mqtt-go_PR-406:/w/workspace/gexfoundry_device-mqtt-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-01T01:35:50.127Z] $ docker top 4d789f7eff915f924128c5b0a84ea0e441ac1917a055f4d8029066b5eac7bf8b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T01:35:50.594Z] + go version [2022-08-01T01:35:50.594Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-01T01:35:50.637Z] $ docker stop --time=1 4d789f7eff915f924128c5b0a84ea0e441ac1917a055f4d8029066b5eac7bf8b [2022-08-01T01:35:51.963Z] $ docker rm -f 4d789f7eff915f924128c5b0a84ea0e441ac1917a055f4d8029066b5eac7bf8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:35:52.729Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-01T01:35:52.729Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:35:52.901Z] prd-ubuntu20.04-docker-8c-8g-21623 does not seem to be running inside a container [2022-08-01T01:35:52.942Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-mqtt-go_PR-406 -v /w/workspace/gexfoundry_device-mqtt-go_PR-406:/w/workspace/gexfoundry_device-mqtt-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-01T01:35:53.373Z] $ docker top 213abaa8dd4e02cbda5cd2096707c5f15d0302af36f78341c0d93f637ca8f2b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T01:35:53.790Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-406 [Pipeline] fileExists [Pipeline] sh [2022-08-01T01:35:54.149Z] + make test [2022-08-01T01:35:54.149Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-01T01:35:54.409Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-01T01:36:04.401Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-01T01:36:04.974Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements [2022-08-01T01:36:04.974Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-01T01:36:13.113Z] 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-01T01:36:13.113Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T01:36:15.656Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T01:36:15.656Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T01:36:15.656Z] ./bin/test-attribution-txt.sh [2022-08-01T01:36:15.656Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T01:36:15.656Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T01:36:15.656Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T01:36:15.700Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T01:36:15.736Z] $ docker stop --time=1 213abaa8dd4e02cbda5cd2096707c5f15d0302af36f78341c0d93f637ca8f2b2 [2022-08-01T01:36:17.620Z] $ docker rm -f 213abaa8dd4e02cbda5cd2096707c5f15d0302af36f78341c0d93f637ca8f2b2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T01:36:18.159Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T01:36:18.227Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-01T01:36:18.968Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T01:36:19.287Z] + ls -al . [2022-08-01T01:36:19.288Z] total 180 [2022-08-01T01:36:19.288Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 1 01:35 . [2022-08-01T01:36:19.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:34 .. [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 1 01:34 .dockerignore [2022-08-01T01:36:19.288Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 01:36 .git [2022-08-01T01:36:19.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:34 .github [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 1 01:34 .gitignore [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 01:34 .golangci.yml [2022-08-01T01:36:19.288Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 01:35 .semver [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 1 01:34 Attribution.txt [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 1 01:34 CHANGELOG.md [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 1 01:34 Dockerfile [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 01:34 GOVERNANCE.md [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 1 01:34 Jenkinsfile [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 01:34 LICENSE [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 1 01:34 Makefile [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 01:34 OWNERS.md [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 1 01:34 README.md [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 01:35 VERSION [2022-08-01T01:36:19.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:34 bin [2022-08-01T01:36:19.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:34 cmd [2022-08-01T01:36:19.288Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 1 01:36 coverage.out [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 1 01:34 go.mod [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 1 01:34 go.sum [2022-08-01T01:36:19.288Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:34 internal [2022-08-01T01:36:19.288Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:34 mock [2022-08-01T01:36:19.288Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:34 snap [2022-08-01T01:36:19.288Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 1 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:36:19.690Z] + 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=c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 --label arch=amd64 --label version=0.0.0 . [2022-08-01T01:36:19.690Z] Sending build context to Docker daemon 6.089MB [2022-08-01T01:36:19.690Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T01:36:19.690Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-01T01:36:19.690Z] ---> 4837b62870b6 [2022-08-01T01:36:19.690Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T01:36:19.690Z] ---> Running in a2b67fc3bb86 [2022-08-01T01:36:19.951Z] Removing intermediate container a2b67fc3bb86 [2022-08-01T01:36:19.951Z] ---> 5a204e85486e [2022-08-01T01:36:19.951Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T01:36:19.951Z] ---> Running in 7f7fda9029bc [2022-08-01T01:36:19.951Z] Removing intermediate container 7f7fda9029bc [2022-08-01T01:36:19.951Z] ---> 19462c1b6b4b [2022-08-01T01:36:19.951Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T01:36:20.212Z] ---> Running in d36ac2a48b91 [2022-08-01T01:36:20.782Z] Removing intermediate container d36ac2a48b91 [2022-08-01T01:36:20.782Z] ---> ceef3e473c81 [2022-08-01T01:36:20.782Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T01:36:20.782Z] ---> Running in 5d13488fcad3 [2022-08-01T01:36:21.047Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T01:36:21.992Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T01:36:22.255Z] OK: 216 MiB in 55 packages [2022-08-01T01:36:22.825Z] Removing intermediate container 5d13488fcad3 [2022-08-01T01:36:22.825Z] ---> 41ffd2ffe0c5 [2022-08-01T01:36:22.825Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-01T01:36:22.825Z] ---> Running in b2800830c560 [2022-08-01T01:36:22.825Z] Removing intermediate container b2800830c560 [2022-08-01T01:36:22.825Z] ---> c9f3493021d1 [2022-08-01T01:36:22.825Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-01T01:36:23.085Z] ---> f33994c64a1f [2022-08-01T01:36:23.085Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T01:36:23.085Z] ---> Running in 3dfd7b09ce9a [2022-08-01T01:36:23.656Z] Removing intermediate container 3dfd7b09ce9a [2022-08-01T01:36:23.656Z] ---> 22e8c1cbbc75 [2022-08-01T01:36:23.656Z] Step 10/24 : COPY . . [2022-08-01T01:36:23.917Z] ---> aadf0e9719bb [2022-08-01T01:36:23.917Z] Step 11/24 : ARG MAKE='make build' [2022-08-01T01:36:24.178Z] ---> Running in 448ca127cff1 [2022-08-01T01:36:24.178Z] Removing intermediate container 448ca127cff1 [2022-08-01T01:36:24.178Z] ---> 26859ae95be2 [2022-08-01T01:36:24.178Z] Step 12/24 : RUN $MAKE [2022-08-01T01:36:24.178Z] ---> Running in 05521312f931 [2022-08-01T01:36:24.438Z] 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-01T01:36:46.413Z] Removing intermediate container 05521312f931 [2022-08-01T01:36:46.413Z] ---> 9694c42812fc [2022-08-01T01:36:46.413Z] Step 13/24 : FROM alpine:3.16 [2022-08-01T01:36:46.413Z] 3.16: Pulling from library/alpine [2022-08-01T01:36:46.413Z] 530afca65e2e: Pulling fs layer [2022-08-01T01:36:46.413Z] 530afca65e2e: Verifying Checksum [2022-08-01T01:36:46.413Z] 530afca65e2e: Download complete [2022-08-01T01:36:46.413Z] 530afca65e2e: Pull complete [2022-08-01T01:36:46.413Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-01T01:36:46.413Z] Status: Downloaded newer image for alpine:3.16 [2022-08-01T01:36:46.413Z] ---> d7d3d98c851f [2022-08-01T01:36:46.413Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-01T01:36:46.413Z] ---> Running in cd9fa9e97dc7 [2022-08-01T01:36:46.413Z] Removing intermediate container cd9fa9e97dc7 [2022-08-01T01:36:46.413Z] ---> 7eb9a522a012 [2022-08-01T01:36:46.413Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-01T01:36:46.414Z] ---> Running in b00398a77ecc [2022-08-01T01:36:46.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-01T01:36:46.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-01T01:36:46.414Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-01T01:36:46.414Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-01T01:36:46.414Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-01T01:36:46.414Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-01T01:36:46.414Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-01T01:36:46.414Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-01T01:36:46.414Z] Executing busybox-1.35.0-r15.trigger [2022-08-01T01:36:46.414Z] OK: 8 MiB in 20 packages [2022-08-01T01:36:46.414Z] Removing intermediate container b00398a77ecc [2022-08-01T01:36:46.414Z] ---> 8d365a6ff115 [2022-08-01T01:36:46.414Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-01T01:36:46.985Z] ---> 056541ae5bbe [2022-08-01T01:36:46.985Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-01T01:36:46.985Z] ---> 8c78d00a46c9 [2022-08-01T01:36:46.985Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-01T01:36:47.246Z] ---> 3f6f7f05097b [2022-08-01T01:36:47.246Z] Step 19/24 : EXPOSE 59982 [2022-08-01T01:36:47.246Z] ---> Running in 1afcd907e03a [2022-08-01T01:36:47.246Z] Removing intermediate container 1afcd907e03a [2022-08-01T01:36:47.246Z] ---> 185175502454 [2022-08-01T01:36:47.246Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-01T01:36:47.246Z] ---> Running in 418c1e8e872d [2022-08-01T01:36:47.509Z] Removing intermediate container 418c1e8e872d [2022-08-01T01:36:47.509Z] ---> 5543c18b057c [2022-08-01T01:36:47.509Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-01T01:36:47.509Z] ---> Running in 393d65de8d8f [2022-08-01T01:36:47.509Z] Removing intermediate container 393d65de8d8f [2022-08-01T01:36:47.509Z] ---> ab76971dfdd0 [2022-08-01T01:36:47.509Z] Step 22/24 : LABEL arch=amd64 [2022-08-01T01:36:47.509Z] ---> Running in 69b1e07cc697 [2022-08-01T01:36:47.770Z] Removing intermediate container 69b1e07cc697 [2022-08-01T01:36:47.770Z] ---> 267af22300c1 [2022-08-01T01:36:47.770Z] Step 23/24 : LABEL git_sha=c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [2022-08-01T01:36:47.770Z] ---> Running in 5189a840642d [2022-08-01T01:36:47.770Z] Removing intermediate container 5189a840642d [2022-08-01T01:36:47.770Z] ---> 6ce02fa4155d [2022-08-01T01:36:47.770Z] Step 24/24 : LABEL version=0.0.0 [2022-08-01T01:36:48.030Z] ---> Running in 384fa77c8b51 [2022-08-01T01:36:48.030Z] Removing intermediate container 384fa77c8b51 [2022-08-01T01:36:48.030Z] ---> 0b71a8fc0af8 [2022-08-01T01:36:48.030Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T01:36:48.030Z] Successfully built 0b71a8fc0af8 [2022-08-01T01:36:48.030Z] 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-01T01:36:48.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T01:36:48.907Z] [2022-08-01T01:36:48.907Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:36:49.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T01:36:49.294Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-01T01:36:49.294Z] 5eb5b503b376: Pulling fs layer [2022-08-01T01:36:49.294Z] 5c69ac0246d0: Pulling fs layer [2022-08-01T01:36:49.294Z] ec43610c2a17: Pulling fs layer [2022-08-01T01:36:49.294Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-01T01:36:49.294Z] 33b1e0a273af: Pulling fs layer [2022-08-01T01:36:49.294Z] 5d3b04190fa2: Pulling fs layer [2022-08-01T01:36:49.294Z] 2f39f015ded8: Pulling fs layer [2022-08-01T01:36:49.294Z] 3a2ae6a8a46f: Waiting [2022-08-01T01:36:49.294Z] 33b1e0a273af: Waiting [2022-08-01T01:36:49.294Z] 2f39f015ded8: Waiting [2022-08-01T01:36:49.294Z] 5d3b04190fa2: Waiting [2022-08-01T01:36:49.294Z] 5c69ac0246d0: Download complete [2022-08-01T01:36:49.294Z] 3a2ae6a8a46f: Download complete [2022-08-01T01:36:49.294Z] 33b1e0a273af: Verifying Checksum [2022-08-01T01:36:49.294Z] 33b1e0a273af: Download complete [2022-08-01T01:36:49.294Z] 5d3b04190fa2: Download complete [2022-08-01T01:36:49.556Z] ec43610c2a17: Download complete [2022-08-01T01:36:49.556Z] 5eb5b503b376: Verifying Checksum [2022-08-01T01:36:49.556Z] 5eb5b503b376: Download complete [2022-08-01T01:36:50.127Z] 2f39f015ded8: Download complete [2022-08-01T01:36:51.070Z] 5eb5b503b376: Pull complete [2022-08-01T01:36:51.070Z] 5c69ac0246d0: Pull complete [2022-08-01T01:36:51.639Z] ec43610c2a17: Pull complete [2022-08-01T01:36:51.640Z] 3a2ae6a8a46f: Pull complete [2022-08-01T01:36:51.900Z] 33b1e0a273af: Pull complete [2022-08-01T01:36:51.900Z] 5d3b04190fa2: Pull complete [2022-08-01T01:36:57.180Z] 2f39f015ded8: Pull complete [2022-08-01T01:36:57.181Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-01T01:36:57.181Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T01:36:57.181Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:36:57.405Z] prd-ubuntu20.04-docker-8c-8g-21623 does not seem to be running inside a container [2022-08-01T01:36:57.447Z] $ 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-406 -v /w/workspace/gexfoundry_device-mqtt-go_PR-406:/w/workspace/gexfoundry_device-mqtt-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-406@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-01T01:36:59.447Z] $ docker top ff55c226931b35c34bea916074f40292d3f23b77be8c6f848ae1891259879da8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:36:59.937Z] ---> job-cost.sh [2022-08-01T01:36:59.937Z] lf-activate-venv: SKIPPING [2022-08-01T01:36:59.937Z] INFO: No Stack... [2022-08-01T01:37:00.509Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T01:37:00.771Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T01:37:01.098Z] + cut -d, -f6 [2022-08-01T01:37:01.098Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-406/archives/cost.csv [Pipeline] lock [2022-08-01T01:37:01.144Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-406-1-stack-cost] [2022-08-01T01:37:01.150Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-406-1-stack-cost] did not exist. Created. [2022-08-01T01:37:01.150Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T01:37:01.573Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-01T01:37:01.627Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T01:37:01.653Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T01:37:01.777Z] $ docker stop --time=1 ff55c226931b35c34bea916074f40292d3f23b77be8c6f848ae1891259879da8 [2022-08-01T01:37:02.950Z] $ docker rm -f ff55c226931b35c34bea916074f40292d3f23b77be8c6f848ae1891259879da8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-01T01:39:06.359Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21624 in /w/workspace/gexfoundry_device-mqtt-go_PR-406 [Pipeline] { [Pipeline] ws [2022-08-01T01:39:06.403Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-08-01T01:39:06.581Z] Selected Git installation does not exist. Using Default [2022-08-01T01:39:06.581Z] The recommended git tool is: NONE [2022-08-01T01:39:12.120Z] using credential edgex-jenkins-ssh [2022-08-01T01:39:12.140Z] Cloning the remote Git repository [2022-08-01T01:39:12.198Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-01T01:39:12.291Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-08-01T01:39:12.380Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-01T01:39:12.381Z] > git --version # timeout=10 [2022-08-01T01:39:12.403Z] > git --version # 'git version 2.25.1' [2022-08-01T01:39:12.405Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T01:39:12.567Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T01:39:14.184Z] Merging remotes/origin/main commit adfcd8475fa2a20fe672f9c26fef4422551b8595 into PR head commit c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [2022-08-01T01:39:14.399Z] Merge succeeded, producing c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [2022-08-01T01:39:14.399Z] Checking out Revision c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 (PR-406) [2022-08-01T01:39:13.617Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-08-01T01:39:13.638Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-01T01:39:13.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-08-01T01:39:13.709Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-08-01T01:39:13.710Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T01:39:13.723Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/406/head:refs/remotes/origin/PR-406 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-01T01:39:14.207Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T01:39:14.225Z] > git checkout -f c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 # timeout=10 [2022-08-01T01:39:14.316Z] > git remote # timeout=10 [2022-08-01T01:39:14.332Z] > git config --get remote.origin.url # timeout=10 [2022-08-01T01:39:14.349Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-01T01:39:14.362Z] > git merge adfcd8475fa2a20fe672f9c26fef4422551b8595 # timeout=10 [2022-08-01T01:39:14.386Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-01T01:39:14.409Z] > git config core.sparsecheckout # timeout=10 [2022-08-01T01:39:14.421Z] > git checkout -f c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 # timeout=10 [2022-08-01T01:39:18.756Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-08-01T01:39:18.824Z] > git --version # timeout=10 [2022-08-01T01:39:18.839Z] > git --version # 'git version 2.25.1' [2022-08-01T01:39:18.856Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T01:39:19.985Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-01T01:39:19.985Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T01:39:19.985Z] Dload Upload Total Spent Left Speed [2022-08-01T01:39:19.985Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97k 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2022-08-01T01:39:20.982Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-01T01:39:21.354Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-01T01:39:21.355Z] + sudo tee /etc/docker/daemon.new [2022-08-01T01:39:21.355Z] { [2022-08-01T01:39:21.355Z] "registry-mirrors": [ [2022-08-01T01:39:21.355Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-01T01:39:21.355Z] ], [2022-08-01T01:39:21.355Z] "bip": "10.250.0.254/24", [2022-08-01T01:39:21.355Z] "hosts": [ [2022-08-01T01:39:21.355Z] "tcp://0.0.0.0:5555", [2022-08-01T01:39:21.355Z] "unix:///var/run/docker.sock" [2022-08-01T01:39:21.355Z] ], [2022-08-01T01:39:21.355Z] "mtu": 1458, [2022-08-01T01:39:21.355Z] "selinux-enabled": true, [2022-08-01T01:39:21.355Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-01T01:39:21.355Z] } [Pipeline] sh [2022-08-01T01:39:21.726Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-01T01:39:22.091Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T01:39:40.486Z] provisioning config files... [2022-08-01T01:39:40.511Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7270453457893299447tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:39:40.911Z] ---> docker-login.sh [2022-08-01T01:39:40.911Z] nexus3.edgexfoundry.org:10001 [2022-08-01T01:39:41.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:39:41.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:39:41.789Z] Configure a credential helper to remove this warning. See [2022-08-01T01:39:41.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:39:41.789Z] [2022-08-01T01:39:41.789Z] Login Succeeded [2022-08-01T01:39:41.789Z] nexus3.edgexfoundry.org:10002 [2022-08-01T01:39:42.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:39:42.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:39:42.356Z] Configure a credential helper to remove this warning. See [2022-08-01T01:39:42.356Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:39:42.356Z] [2022-08-01T01:39:42.356Z] Login Succeeded [2022-08-01T01:39:42.356Z] nexus3.edgexfoundry.org:10003 [2022-08-01T01:39:42.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:39:42.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:39:42.634Z] Configure a credential helper to remove this warning. See [2022-08-01T01:39:42.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:39:42.634Z] [2022-08-01T01:39:42.634Z] Login Succeeded [2022-08-01T01:39:42.634Z] nexus3.edgexfoundry.org:10004 [2022-08-01T01:39:43.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:39:43.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:39:43.240Z] Configure a credential helper to remove this warning. See [2022-08-01T01:39:43.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:39:43.240Z] [2022-08-01T01:39:43.240Z] Login Succeeded [2022-08-01T01:39:43.240Z] docker.io [2022-08-01T01:39:43.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-01T01:39:43.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-01T01:39:43.789Z] Configure a credential helper to remove this warning. See [2022-08-01T01:39:43.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-01T01:39:43.789Z] [2022-08-01T01:39:43.789Z] Login Succeeded [2022-08-01T01:39:43.789Z] ---> docker-login.sh ends [Pipeline] } [2022-08-01T01:39:43.816Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-01T01:39:44.215Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T01:39:44.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-01T01:39:44.286Z] ========================================================= [2022-08-01T01:39:44.286Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-01T01:39:44.286Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:39:44.808Z] + 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-01T01:39:45.081Z] Sending build context to Docker daemon 3.137MB [2022-08-01T01:39:45.081Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T01:39:45.081Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-01T01:39:45.358Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-01T01:39:45.358Z] b3c136eddcbf: Pulling fs layer [2022-08-01T01:39:45.358Z] c0a3192eca97: Pulling fs layer [2022-08-01T01:39:45.358Z] a050256f5b6f: Pulling fs layer [2022-08-01T01:39:45.358Z] 656be50a0ddc: Pulling fs layer [2022-08-01T01:39:45.358Z] 2bbca73fdf42: Pulling fs layer [2022-08-01T01:39:45.358Z] 46d945488cbd: Pulling fs layer [2022-08-01T01:39:45.358Z] 8a5474983e97: Pulling fs layer [2022-08-01T01:39:45.358Z] 329c88fbcd65: Pulling fs layer [2022-08-01T01:39:45.358Z] 656be50a0ddc: Waiting [2022-08-01T01:39:45.358Z] 2bbca73fdf42: Waiting [2022-08-01T01:39:45.358Z] 46d945488cbd: Waiting [2022-08-01T01:39:45.358Z] 8a5474983e97: Waiting [2022-08-01T01:39:45.358Z] 329c88fbcd65: Waiting [2022-08-01T01:39:45.358Z] a050256f5b6f: Verifying Checksum [2022-08-01T01:39:45.358Z] a050256f5b6f: Download complete [2022-08-01T01:39:45.358Z] c0a3192eca97: Verifying Checksum [2022-08-01T01:39:45.358Z] c0a3192eca97: Download complete [2022-08-01T01:39:45.358Z] 2bbca73fdf42: Verifying Checksum [2022-08-01T01:39:45.358Z] 2bbca73fdf42: Download complete [2022-08-01T01:39:45.358Z] 46d945488cbd: Verifying Checksum [2022-08-01T01:39:45.358Z] 46d945488cbd: Download complete [2022-08-01T01:39:45.358Z] b3c136eddcbf: Verifying Checksum [2022-08-01T01:39:46.360Z] b3c136eddcbf: Pull complete [2022-08-01T01:39:46.643Z] 329c88fbcd65: Verifying Checksum [2022-08-01T01:39:46.643Z] 329c88fbcd65: Download complete [2022-08-01T01:39:46.922Z] c0a3192eca97: Pull complete [2022-08-01T01:39:47.529Z] a050256f5b6f: Pull complete [2022-08-01T01:39:47.802Z] 8a5474983e97: Verifying Checksum [2022-08-01T01:39:47.802Z] 8a5474983e97: Download complete [2022-08-01T01:39:48.397Z] 656be50a0ddc: Verifying Checksum [2022-08-01T01:39:48.397Z] 656be50a0ddc: Download complete [2022-08-01T01:40:03.504Z] 656be50a0ddc: Pull complete [2022-08-01T01:40:03.504Z] 2bbca73fdf42: Pull complete [2022-08-01T01:40:03.504Z] 46d945488cbd: Pull complete [2022-08-01T01:40:08.927Z] 8a5474983e97: Pull complete [2022-08-01T01:40:10.924Z] 329c88fbcd65: Pull complete [2022-08-01T01:40:10.924Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-01T01:40:10.924Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-01T01:40:10.924Z] ---> ff4287adb874 [2022-08-01T01:40:10.924Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T01:40:11.920Z] ---> Running in 2c33f997b6eb [2022-08-01T01:40:12.196Z] Removing intermediate container 2c33f997b6eb [2022-08-01T01:40:12.196Z] ---> bd0848bb1cfb [2022-08-01T01:40:12.196Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T01:40:12.196Z] ---> Running in 885f23f52431 [2022-08-01T01:40:12.480Z] Removing intermediate container 885f23f52431 [2022-08-01T01:40:12.480Z] ---> ed2e14936d6b [2022-08-01T01:40:12.480Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T01:40:12.480Z] ---> Running in 3650b5789e3c [2022-08-01T01:40:14.464Z] Removing intermediate container 3650b5789e3c [2022-08-01T01:40:14.464Z] ---> 20df970e8725 [2022-08-01T01:40:14.464Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T01:40:14.464Z] ---> Running in d5dd6957afac [2022-08-01T01:40:15.448Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T01:40:16.429Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T01:40:17.409Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-01T01:40:17.409Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-01T01:40:17.409Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-01T01:40:17.681Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-01T01:40:17.681Z] Executing busybox-1.35.0-r13.trigger [2022-08-01T01:40:17.955Z] OK: 226 MiB in 55 packages [2022-08-01T01:40:18.936Z] Removing intermediate container d5dd6957afac [2022-08-01T01:40:18.936Z] ---> 423df6b93df0 [2022-08-01T01:40:18.936Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-08-01T01:40:18.936Z] ---> Running in 63461dbbfeff [2022-08-01T01:40:19.210Z] Removing intermediate container 63461dbbfeff [2022-08-01T01:40:19.210Z] ---> 8f8775fe2d7c [2022-08-01T01:40:19.210Z] Step 8/12 : COPY go.mod vendor* ./ [2022-08-01T01:40:19.827Z] ---> 289f686c7321 [2022-08-01T01:40:19.827Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T01:40:19.827Z] ---> Running in 489943f84eae [2022-08-01T01:41:06.845Z] Removing intermediate container 489943f84eae [2022-08-01T01:41:06.845Z] ---> 63e91bcbbc19 [2022-08-01T01:41:06.845Z] Step 10/12 : COPY . . [2022-08-01T01:41:06.845Z] ---> ceb2c64ce673 [2022-08-01T01:41:06.845Z] Step 11/12 : ARG MAKE='make build' [2022-08-01T01:41:06.845Z] ---> Running in 6de0d198cbad [2022-08-01T01:41:06.845Z] Removing intermediate container 6de0d198cbad [2022-08-01T01:41:06.845Z] ---> fb31c704d05e [2022-08-01T01:41:06.845Z] Step 12/12 : RUN $MAKE [2022-08-01T01:41:06.845Z] ---> Running in 57cbb1558bb6 [2022-08-01T01:41:07.123Z] noop [2022-08-01T01:41:07.725Z] Removing intermediate container 57cbb1558bb6 [2022-08-01T01:41:07.725Z] ---> a250c0f6777b [2022-08-01T01:41:07.725Z] Successfully built a250c0f6777b [2022-08-01T01:41:07.725Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:41:08.213Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T01:41:08.213Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:41:08.517Z] prd-ubuntu20.04-docker-arm64-4c-16g-21624 does not seem to be running inside a container [2022-08-01T01:41:08.598Z] $ 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-01T01:41:09.871Z] $ docker top c37bebce8abaaa7630e8ea1128ef8fb6605e1cbdb8fbcc692508237d3c11a7dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T01:41:10.840Z] + go version [2022-08-01T01:41:10.840Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-01T01:41:10.878Z] $ docker stop --time=1 c37bebce8abaaa7630e8ea1128ef8fb6605e1cbdb8fbcc692508237d3c11a7dd [2022-08-01T01:41:12.515Z] $ docker rm -f c37bebce8abaaa7630e8ea1128ef8fb6605e1cbdb8fbcc692508237d3c11a7dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:41:13.463Z] + docker inspect -f . ci-base-image-arm64 [2022-08-01T01:41:13.463Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:41:13.776Z] prd-ubuntu20.04-docker-arm64-4c-16g-21624 does not seem to be running inside a container [2022-08-01T01:41:13.865Z] $ 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-01T01:41:15.125Z] $ docker top c44da130fbc8186b77498b4fbcd889dcd58972f71a800041a7b398f62d945ccc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T01:41:16.086Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh [2022-08-01T01:41:16.804Z] + make test [2022-08-01T01:41:16.804Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-01T01:41:18.248Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-08-01T01:42:40.129Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-08-01T01:42:40.129Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements [2022-08-01T01:42:40.129Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-08-01T01:42:40.129Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-01T01:42:40.129Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-01T01:42:58.492Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-01T01:42:58.492Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-01T01:42:58.492Z] ./bin/test-attribution-txt.sh [2022-08-01T01:42:58.492Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-01T01:42:58.492Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-01T01:42:58.492Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-01T01:42:58.808Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-01T01:42:58.850Z] $ docker stop --time=1 c44da130fbc8186b77498b4fbcd889dcd58972f71a800041a7b398f62d945ccc [2022-08-01T01:43:00.685Z] $ docker rm -f c44da130fbc8186b77498b4fbcd889dcd58972f71a800041a7b398f62d945ccc [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-01T01:43:01.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-01T01:43:01.739Z] Warning: overwriting stash ‘coverage-report’ [2022-08-01T01:43:02.225Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-01T01:43:02.851Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-01T01:43:03.465Z] + ls -al . [2022-08-01T01:43:03.465Z] total 176 [2022-08-01T01:43:03.465Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 1 01:41 . [2022-08-01T01:43:03.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:39 .. [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 1 01:39 .dockerignore [2022-08-01T01:43:03.465Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 1 01:39 .git [2022-08-01T01:43:03.465Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:39 .github [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 1 01:39 .gitignore [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 1 01:39 .golangci.yml [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 8917 Aug 1 01:39 Attribution.txt [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 11365 Aug 1 01:39 CHANGELOG.md [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 1932 Aug 1 01:39 Dockerfile [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 1 01:39 GOVERNANCE.md [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 678 Aug 1 01:39 Jenkinsfile [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 1 01:39 LICENSE [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 1917 Aug 1 01:39 Makefile [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 1 01:39 OWNERS.md [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 2501 Aug 1 01:39 README.md [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 1 01:35 VERSION [2022-08-01T01:43:03.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:39 bin [2022-08-01T01:43:03.465Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:39 cmd [2022-08-01T01:43:03.465Z] -rw-r--r-- 1 jenkins jenkins 17887 Aug 1 01:42 coverage.out [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 3452 Aug 1 01:39 go.mod [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 1 01:39 go.sum [2022-08-01T01:43:03.465Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 1 01:39 internal [2022-08-01T01:43:03.465Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 1 01:39 mock [2022-08-01T01:43:03.465Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 1 01:39 snap [2022-08-01T01:43:03.465Z] -rw-rw-r-- 1 jenkins jenkins 227 Aug 1 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:43:03.902Z] + 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=c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 --label arch=arm64 --label version=0.0.0 . [2022-08-01T01:43:04.180Z] Sending build context to Docker daemon 3.155MB [2022-08-01T01:43:04.180Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-08-01T01:43:04.180Z] Step 2/24 : FROM ${BASE} AS builder [2022-08-01T01:43:04.180Z] ---> a250c0f6777b [2022-08-01T01:43:04.180Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-01T01:43:04.452Z] ---> Running in ec88a369d53c [2022-08-01T01:43:04.729Z] Removing intermediate container ec88a369d53c [2022-08-01T01:43:04.729Z] ---> e6f9a21c8e93 [2022-08-01T01:43:04.729Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-08-01T01:43:04.729Z] ---> Running in 705dd1991297 [2022-08-01T01:43:05.009Z] Removing intermediate container 705dd1991297 [2022-08-01T01:43:05.009Z] ---> d032309ffa37 [2022-08-01T01:43:05.009Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-01T01:43:05.009Z] ---> Running in c5824968a1a1 [2022-08-01T01:43:07.000Z] Removing intermediate container c5824968a1a1 [2022-08-01T01:43:07.001Z] ---> d02878d75bef [2022-08-01T01:43:07.001Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-01T01:43:07.001Z] ---> Running in 6a6439bb44e2 [2022-08-01T01:43:07.597Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T01:43:08.586Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T01:43:09.570Z] OK: 226 MiB in 55 packages [2022-08-01T01:43:10.177Z] Removing intermediate container 6a6439bb44e2 [2022-08-01T01:43:10.177Z] ---> d6551f64cf5e [2022-08-01T01:43:10.177Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-08-01T01:43:10.177Z] ---> Running in 0a82f09778e6 [2022-08-01T01:43:10.453Z] Removing intermediate container 0a82f09778e6 [2022-08-01T01:43:10.453Z] ---> f14f2ff1722a [2022-08-01T01:43:10.453Z] Step 8/24 : COPY go.mod vendor* ./ [2022-08-01T01:43:11.063Z] ---> ae02858219eb [2022-08-01T01:43:11.063Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-01T01:43:11.063Z] ---> Running in 33485c44dacf [2022-08-01T01:43:13.055Z] Removing intermediate container 33485c44dacf [2022-08-01T01:43:13.055Z] ---> a7114cb0ec4c [2022-08-01T01:43:13.055Z] Step 10/24 : COPY . . [2022-08-01T01:43:14.040Z] ---> 49ed999cd88a [2022-08-01T01:43:14.040Z] Step 11/24 : ARG MAKE='make build' [2022-08-01T01:43:14.040Z] ---> Running in 6515cc9863f6 [2022-08-01T01:43:14.315Z] Removing intermediate container 6515cc9863f6 [2022-08-01T01:43:14.316Z] ---> a5b1af25f296 [2022-08-01T01:43:14.316Z] Step 12/24 : RUN $MAKE [2022-08-01T01:43:14.316Z] ---> Running in 779de4b04d31 [2022-08-01T01:43:15.300Z] 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-01T01:45:37.250Z] Removing intermediate container 779de4b04d31 [2022-08-01T01:45:37.250Z] ---> 730daf4977f3 [2022-08-01T01:45:37.250Z] Step 13/24 : FROM alpine:3.16 [2022-08-01T01:45:37.250Z] 3.16: Pulling from library/alpine [2022-08-01T01:45:37.250Z] f97344484467: Pulling fs layer [2022-08-01T01:45:37.250Z] f97344484467: Verifying Checksum [2022-08-01T01:45:37.250Z] f97344484467: Download complete [2022-08-01T01:45:37.250Z] f97344484467: Pull complete [2022-08-01T01:45:37.250Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-01T01:45:37.250Z] Status: Downloaded newer image for alpine:3.16 [2022-08-01T01:45:37.250Z] ---> 3d81c46cd875 [2022-08-01T01:45:37.250Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-08-01T01:45:37.250Z] ---> Running in 78b0ef5b6dd0 [2022-08-01T01:45:37.250Z] Removing intermediate container 78b0ef5b6dd0 [2022-08-01T01:45:37.250Z] ---> fe5fba2569c9 [2022-08-01T01:45:37.250Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-01T01:45:37.250Z] ---> Running in 0905f678ca86 [2022-08-01T01:45:37.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-01T01:45:37.250Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-01T01:45:37.250Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-01T01:45:37.250Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-01T01:45:37.250Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-01T01:45:37.250Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-01T01:45:37.250Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-01T01:45:37.250Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-01T01:45:37.250Z] Executing busybox-1.35.0-r15.trigger [2022-08-01T01:45:37.250Z] OK: 8 MiB in 20 packages [2022-08-01T01:45:37.250Z] Removing intermediate container 0905f678ca86 [2022-08-01T01:45:37.250Z] ---> 52a9a80b7734 [2022-08-01T01:45:37.250Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-08-01T01:45:37.250Z] ---> e862688a2dec [2022-08-01T01:45:37.250Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-08-01T01:45:37.250Z] ---> e280ca410e74 [2022-08-01T01:45:37.250Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-08-01T01:45:37.250Z] ---> 6fc9715238a2 [2022-08-01T01:45:37.250Z] Step 19/24 : EXPOSE 59982 [2022-08-01T01:45:37.250Z] ---> Running in 207b5d7097e5 [2022-08-01T01:45:37.250Z] Removing intermediate container 207b5d7097e5 [2022-08-01T01:45:37.250Z] ---> 6bc7cf819aa0 [2022-08-01T01:45:37.250Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-08-01T01:45:37.250Z] ---> Running in 92e3b9725efe [2022-08-01T01:45:37.250Z] Removing intermediate container 92e3b9725efe [2022-08-01T01:45:37.250Z] ---> 2260e6d90313 [2022-08-01T01:45:37.250Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-01T01:45:37.250Z] ---> Running in 66b4aac7a91a [2022-08-01T01:45:37.250Z] Removing intermediate container 66b4aac7a91a [2022-08-01T01:45:37.250Z] ---> b7395009c52b [2022-08-01T01:45:37.250Z] Step 22/24 : LABEL arch=arm64 [2022-08-01T01:45:37.250Z] ---> Running in 0043a7d47c83 [2022-08-01T01:45:37.251Z] Removing intermediate container 0043a7d47c83 [2022-08-01T01:45:37.251Z] ---> a131a13a1f15 [2022-08-01T01:45:37.251Z] Step 23/24 : LABEL git_sha=c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [2022-08-01T01:45:37.251Z] ---> Running in 073a46dbc0cd [2022-08-01T01:45:37.251Z] Removing intermediate container 073a46dbc0cd [2022-08-01T01:45:37.251Z] ---> 9d1e56ddc575 [2022-08-01T01:45:37.251Z] Step 24/24 : LABEL version=0.0.0 [2022-08-01T01:45:37.251Z] ---> Running in 1bbc8f3b94d2 [2022-08-01T01:45:37.251Z] Removing intermediate container 1bbc8f3b94d2 [2022-08-01T01:45:37.251Z] ---> 0201bb5b909c [2022-08-01T01:45:37.251Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-01T01:45:37.251Z] Successfully built 0201bb5b909c [2022-08-01T01:45:37.251Z] 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-01T01:45:38.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T01:45:38.110Z] [2022-08-01T01:45:38.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:45:38.545Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T01:45:38.824Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-01T01:45:38.824Z] 8998bd30e6a1: Pulling fs layer [2022-08-01T01:45:38.824Z] 04944245beec: Pulling fs layer [2022-08-01T01:45:38.824Z] 699f458cf7ca: Pulling fs layer [2022-08-01T01:45:38.824Z] 765212b225bb: Pulling fs layer [2022-08-01T01:45:38.824Z] f23df028b6ca: Pulling fs layer [2022-08-01T01:45:38.824Z] d65c8cfc05b1: Pulling fs layer [2022-08-01T01:45:38.824Z] 2437ff75d9bd: Pulling fs layer [2022-08-01T01:45:38.824Z] f23df028b6ca: Waiting [2022-08-01T01:45:38.824Z] d65c8cfc05b1: Waiting [2022-08-01T01:45:38.824Z] 2437ff75d9bd: Waiting [2022-08-01T01:45:38.824Z] 765212b225bb: Waiting [2022-08-01T01:45:38.824Z] 04944245beec: Verifying Checksum [2022-08-01T01:45:38.824Z] 04944245beec: Download complete [2022-08-01T01:45:38.824Z] 765212b225bb: Verifying Checksum [2022-08-01T01:45:38.824Z] 765212b225bb: Download complete [2022-08-01T01:45:38.824Z] f23df028b6ca: Verifying Checksum [2022-08-01T01:45:38.824Z] f23df028b6ca: Download complete [2022-08-01T01:45:38.824Z] d65c8cfc05b1: Verifying Checksum [2022-08-01T01:45:38.824Z] d65c8cfc05b1: Download complete [2022-08-01T01:45:39.106Z] 699f458cf7ca: Verifying Checksum [2022-08-01T01:45:39.106Z] 699f458cf7ca: Download complete [2022-08-01T01:45:39.383Z] 8998bd30e6a1: Verifying Checksum [2022-08-01T01:45:39.383Z] 8998bd30e6a1: Download complete [2022-08-01T01:45:42.024Z] 2437ff75d9bd: Verifying Checksum [2022-08-01T01:45:42.024Z] 2437ff75d9bd: Download complete [2022-08-01T01:45:44.020Z] 8998bd30e6a1: Pull complete [2022-08-01T01:45:44.294Z] 04944245beec: Pull complete [2022-08-01T01:45:45.740Z] 699f458cf7ca: Pull complete [2022-08-01T01:45:46.015Z] 765212b225bb: Pull complete [2022-08-01T01:45:46.999Z] f23df028b6ca: Pull complete [2022-08-01T01:45:47.280Z] d65c8cfc05b1: Pull complete [2022-08-01T01:46:05.612Z] 2437ff75d9bd: Pull complete [2022-08-01T01:46:05.612Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-01T01:46:05.612Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-01T01:46:05.612Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:46:06.023Z] prd-ubuntu20.04-docker-arm64-4c-16g-21624 does not seem to be running inside a container [2022-08-01T01:46:06.122Z] $ 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-01T01:46:09.038Z] $ docker top 1cb685b0d423143f4af8de7fa539d132ee60bce8a616d261b8a8d3ee2c9ec8cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:46:10.047Z] ---> job-cost.sh [2022-08-01T01:46:10.048Z] lf-activate-venv: SKIPPING [2022-08-01T01:46:10.048Z] INFO: No Stack... [2022-08-01T01:46:10.645Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-01T01:46:11.256Z] INFO: Archiving Costs [Pipeline] sh [2022-08-01T01:46:11.946Z] + + cut -d, -f6cat [2022-08-01T01:46:11.946Z] /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-08-01T01:46:12.038Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-406-1-stack-cost] [2022-08-01T01:46:12.043Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-406-1-stack-cost] did not exist. Created. [2022-08-01T01:46:12.043Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-406-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-01T01:46:12.801Z] /w/workspace/device-mqtt-go/1@tmp/durable-9e49918a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-01T01:46:13.511Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-01T01:46:13.548Z] Warning: overwriting stash ‘stack-cost’ [2022-08-01T01:46:13.602Z] Stashed 1 file(s) [Pipeline] } [2022-08-01T01:46:13.616Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-406-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-01T01:46:13.701Z] $ docker stop --time=1 1cb685b0d423143f4af8de7fa539d132ee60bce8a616d261b8a8d3ee2c9ec8cc [2022-08-01T01:46:15.209Z] $ docker rm -f 1cb685b0d423143f4af8de7fa539d132ee60bce8a616d261b8a8d3ee2c9ec8cc [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-01T01:46:16.284Z] provisioning config files... [2022-08-01T01:46:16.292Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp/config7922204878740651573tmp [Pipeline] { [Pipeline] sh [2022-08-01T01:46:16.631Z] + set +x [2022-08-01T01:46:16.631Z] + curl -s https://codecov.io/bash [2022-08-01T01:46:16.631Z] + bash -s -- [2022-08-01T01:46:16.631Z] [2022-08-01T01:46:16.631Z] _____ _ [2022-08-01T01:46:16.631Z] / ____| | | [2022-08-01T01:46:16.631Z] | | ___ __| | ___ ___ _____ __ [2022-08-01T01:46:16.631Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-01T01:46:16.631Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-01T01:46:16.631Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-01T01:46:16.631Z] Bash-1.0.6 [2022-08-01T01:46:16.631Z] [2022-08-01T01:46:16.631Z] [2022-08-01T01:46:16.631Z] ==> git version 2.25.1 found [2022-08-01T01:46:16.631Z] ==> 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-01T01:46:16.631Z] Release-Date: 2020-01-08 [2022-08-01T01:46:16.631Z] 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-01T01:46:16.631Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-01T01:46:16.631Z] ==> Jenkins CI detected. [2022-08-01T01:46:16.631Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-406 [2022-08-01T01:46:16.631Z] project root: . [2022-08-01T01:46:16.631Z] --> token set from env [2022-08-01T01:46:16.631Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-01T01:46:16.631Z] ==> Running gcov in . (disable via -X gcov) [2022-08-01T01:46:16.631Z] ==> Python coveragepy not found [2022-08-01T01:46:16.631Z] ==> Searching for coverage reports in: [2022-08-01T01:46:16.631Z] + . [2022-08-01T01:46:16.631Z] -> Found 1 reports [2022-08-01T01:46:16.631Z] ==> Detecting git/mercurial file structure [2022-08-01T01:46:16.631Z] ==> Reading reports [2022-08-01T01:46:16.631Z] + ./coverage.out bytes=17887 [2022-08-01T01:46:16.631Z] ==> Appending adjustments [2022-08-01T01:46:16.631Z] https://docs.codecov.io/docs/fixing-reports [2022-08-01T01:46:16.893Z] + Found adjustments [2022-08-01T01:46:16.893Z] ==> Gzipping contents [2022-08-01T01:46:16.893Z] 4.0K /tmp/codecov.YYyH0S.gz [2022-08-01T01:46:16.893Z] ==> Uploading reports [2022-08-01T01:46:16.893Z] url: https://codecov.io [2022-08-01T01:46:16.893Z] query: branch=PR-406&commit=c1345d64ee65f0d436676717ea2e7bb3cc6ddde4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-406%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=406&job=&cmd_args= [2022-08-01T01:46:16.893Z] -> Pinging Codecov [2022-08-01T01:46:16.893Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-406&commit=c1345d64ee65f0d436676717ea2e7bb3cc6ddde4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-406%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=406&job=&cmd_args= [2022-08-01T01:46:17.155Z] -> Uploading to [2022-08-01T01:46:17.155Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-01/7D719EC7BBE17E464838252E33014C33/c1345d64ee65f0d436676717ea2e7bb3cc6ddde4/5d1ff90c-ad6f-4ebc-8dc3-89fb49df458f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220801%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220801T014616Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e0f4df27312d3fd9ddfb0805dad101b7cec5fd3777531cc3189d965260248b9 [2022-08-01T01:46:17.155Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-01T01:46:17.155Z] Dload Upload Total Spent Left Speed [2022-08-01T01:46:17.415Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 13293 --:--:-- --:--:-- --:--:-- 13293 [2022-08-01T01:46:17.415Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c1345d64ee65f0d436676717ea2e7bb3cc6ddde4 [Pipeline] } [2022-08-01T01:46:17.447Z] 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-01T01:46:19.244Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-406/archives ] [2022-08-01T01:46:19.244Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-406/archives [2022-08-01T01:46:19.244Z] total 16 [2022-08-01T01:46:19.244Z] drwxr-xr-x 3 root root 4096 Aug 1 01:37 . [2022-08-01T01:46:19.244Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 01:37 .. [2022-08-01T01:46:19.244Z] drwxr-xr-x 2 root root 4096 Aug 1 01:37 cost [2022-08-01T01:46:19.244Z] -rw-r--r-- 1 root root 86 Aug 1 01:37 cost.csv [2022-08-01T01:46:19.244Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-406/archives [2022-08-01T01:46:19.244Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-406/archives [2022-08-01T01:46:19.244Z] total 16 [2022-08-01T01:46:19.244Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 1 01:37 . [2022-08-01T01:46:19.244Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 1 01:37 .. [2022-08-01T01:46:19.244Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 1 01:37 cost [2022-08-01T01:46:19.244Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 1 01:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:46:19.578Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:46:20.471Z] ---> package-listing.sh [2022-08-01T01:46:20.471Z] ++ facter osfamily [2022-08-01T01:46:20.471Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-01T01:46:20.732Z] + OS_FAMILY=debian [2022-08-01T01:46:20.732Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-406 [2022-08-01T01:46:20.732Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-01T01:46:20.732Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-01T01:46:20.732Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-01T01:46:20.732Z] + PACKAGES=/tmp/packages_start.txt [2022-08-01T01:46:20.732Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-406 ']' [2022-08-01T01:46:20.733Z] + PACKAGES=/tmp/packages_end.txt [2022-08-01T01:46:20.733Z] + case "${OS_FAMILY}" in [2022-08-01T01:46:20.733Z] + dpkg -l [2022-08-01T01:46:20.733Z] + grep '^ii' [2022-08-01T01:46:20.733Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-01T01:46:20.733Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-01T01:46:20.733Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-01T01:46:20.733Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-406 ']' [2022-08-01T01:46:20.733Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-406/archives/ [2022-08-01T01:46:20.733Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-406/archives/ [Pipeline] echo [2022-08-01T01:46:20.769Z] 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-406/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-01T01:46:21.068Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-01T01:46:21.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-01T01:46:21.702Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-01T01:46:21.859Z] prd-ubuntu20.04-docker-8c-8g-21623 does not seem to be running inside a container [2022-08-01T01:46:21.898Z] $ 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-406/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-406 -v /w/workspace/gexfoundry_device-mqtt-go_PR-406:/w/workspace/gexfoundry_device-mqtt-go_PR-406:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-01T01:46:22.114Z] $ docker top 1c0dd2c5c85e7842139011af8ba665aad4532a9863fb4770f8c7fde1b973f099 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-01T01:46:22.519Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-01T01:46:22.830Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-01T01:46:23.152Z] + ls /var/log/sa-host [2022-08-01T01:46:23.152Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-01T01:46:23.377Z] provisioning config files... [2022-08-01T01:46:23.387Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-406@tmp/config3778854364087948709tmp [Pipeline] { [Pipeline] echo [2022-08-01T01:46:23.441Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:46:23.754Z] ---> create-netrc.sh [Pipeline] } [2022-08-01T01:46:23.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:46:24.194Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-01T01:46:24.226Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:46:24.541Z] ---> sudo-logs.sh [2022-08-01T01:46:24.541Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-01T01:46:24.638Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:46:24.961Z] ---> job-cost.sh [2022-08-01T01:46:24.961Z] lf-activate-venv: SKIPPING [2022-08-01T01:46:24.961Z] DEBUG: total: 0.2199999988079071 [2022-08-01T01:46:24.961Z] INFO: Retrieving Stack Cost... [2022-08-01T01:46:25.221Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-01T01:46:25.793Z] INFO: Archiving Costs [Pipeline] echo [2022-08-01T01:46:25.829Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-01T01:46:26.146Z] ---> logs-deploy.sh [2022-08-01T01:46:26.146Z] lf-activate-venv: SKIPPING [2022-08-01T01:46:26.146Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-406/1 [2022-08-01T01:46:26.146Z] INFO: archiving workspace using pattern(s): [2022-08-01T01:46:27.087Z] Archives upload complete. [2022-08-01T01:46:27.349Z] INFO: archiving logs to Nexus [2022-08-01T01:46:27.922Z] ---> uname -a: [2022-08-01T01:46:27.922Z] Linux prd-ubuntu20-04-docker-8c-8g-21623 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-08-01T01:46:27.922Z] [2022-08-01T01:46:27.922Z] [2022-08-01T01:46:27.922Z] ---> lscpu: [2022-08-01T01:46:27.922Z] Architecture: x86_64 [2022-08-01T01:46:27.922Z] CPU op-mode(s): 32-bit, 64-bit [2022-08-01T01:46:27.922Z] Byte Order: Little Endian [2022-08-01T01:46:27.922Z] Address sizes: 40 bits physical, 48 bits virtual [2022-08-01T01:46:27.922Z] CPU(s): 8 [2022-08-01T01:46:27.922Z] On-line CPU(s) list: 0-7 [2022-08-01T01:46:27.922Z] Thread(s) per core: 1 [2022-08-01T01:46:27.922Z] Core(s) per socket: 1 [2022-08-01T01:46:27.922Z] Socket(s): 8 [2022-08-01T01:46:27.922Z] NUMA node(s): 1 [2022-08-01T01:46:27.922Z] Vendor ID: AuthenticAMD [2022-08-01T01:46:27.922Z] CPU family: 23 [2022-08-01T01:46:27.922Z] Model: 49 [2022-08-01T01:46:27.922Z] Model name: AMD EPYC-Rome Processor [2022-08-01T01:46:27.922Z] Stepping: 0 [2022-08-01T01:46:27.922Z] CPU MHz: 2799.996 [2022-08-01T01:46:27.922Z] BogoMIPS: 5599.99 [2022-08-01T01:46:27.922Z] Virtualization: AMD-V [2022-08-01T01:46:27.922Z] Hypervisor vendor: KVM [2022-08-01T01:46:27.922Z] Virtualization type: full [2022-08-01T01:46:27.923Z] L1d cache: 256 KiB [2022-08-01T01:46:27.923Z] L1i cache: 256 KiB [2022-08-01T01:46:27.923Z] L2 cache: 4 MiB [2022-08-01T01:46:27.923Z] L3 cache: 128 MiB [2022-08-01T01:46:27.923Z] NUMA node0 CPU(s): 0-7 [2022-08-01T01:46:27.923Z] Vulnerability Itlb multihit: Not affected [2022-08-01T01:46:27.923Z] Vulnerability L1tf: Not affected [2022-08-01T01:46:27.923Z] Vulnerability Mds: Not affected [2022-08-01T01:46:27.923Z] Vulnerability Meltdown: Not affected [2022-08-01T01:46:27.923Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-08-01T01:46:27.923Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-08-01T01:46:27.923Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-08-01T01:46:27.923Z] Vulnerability Srbds: Not affected [2022-08-01T01:46:27.923Z] Vulnerability Tsx async abort: Not affected [2022-08-01T01:46:27.923Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-08-01T01:46:27.923Z] [2022-08-01T01:46:27.923Z] [2022-08-01T01:46:27.923Z] ---> nproc: [2022-08-01T01:46:27.923Z] 8 [2022-08-01T01:46:27.923Z] [2022-08-01T01:46:27.923Z] [2022-08-01T01:46:27.923Z] ---> df -h: [2022-08-01T01:46:27.923Z] Filesystem Size Used Avail Use% Mounted on [2022-08-01T01:46:27.923Z] overlay 155G 11G 145G 7% / [2022-08-01T01:46:27.923Z] tmpfs 64M 0 64M 0% /dev [2022-08-01T01:46:27.923Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2022-08-01T01:46:27.923Z] shm 64M 0 64M 0% /dev/shm [2022-08-01T01:46:27.923Z] /dev/vda1 155G 11G 145G 7% /facter-os [2022-08-01T01:46:27.923Z] [2022-08-01T01:46:27.923Z]