Pull request #414 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from b5d3fda0339980389ae8f7aec506bc64b1848aa7+e3b17c36aac665b2f67a5aeebf35b3bad318417a (d5b768a8e464df0f86e9d55bacbfd0ec01e1f209) 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-ssh5228469500999715397.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh12251640165231260418.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9996688690709674704.key Verifying host key using known hosts file > 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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14227709312106485859.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh9855732261909725990.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6680114911629684059.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-671 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [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-414 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit b5d3fda0339980389ae8f7aec506bc64b1848aa7 Merge succeeded, producing b5d3fda0339980389ae8f7aec506bc64b1848aa7 Checking out Revision b5d3fda0339980389ae8f7aec506bc64b1848aa7 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f b5d3fda0339980389ae8f7aec506bc64b1848aa7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5d3fda0339980389ae8f7aec506bc64b1848aa7 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T22:43:53.328Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T22:43:53.508Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T22:43:53.605Z] ========================================================= [2022-09-22T22:43:53.605Z] EdgeX Global Pipelines Version Info [2022-09-22T22:43:53.605Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:43:54.351Z] ------------------- [2022-09-22T22:43:54.351Z] stable info: [2022-09-22T22:43:54.351Z] ------------------- [2022-09-22T22:43:54.351Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T22:43:54.351Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T22:43:54.351Z] Message: update stable to v1.0.239 [2022-09-22T22:43:54.920Z] ------------------- [2022-09-22T22:43:54.920Z] experimental info: [2022-09-22T22:43:54.920Z] ------------------- [2022-09-22T22:43:54.920Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T22:43:54.920Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T22:43:54.920Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T22:43:55.175Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-09-22T22:43:55.214Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-09-22T22:43:55.255Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T22:43:55.291Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T22:43:55.330Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T22:43:55.368Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T22:43:55.410Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T22:43:55.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T22:43:55.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T22:43:55.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T22:43:55.566Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T22:43:55.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-09-22T22:43:55.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T22:43:55.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T22:43:55.741Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T22:43:55.782Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T22:43:55.824Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T22:43:55.861Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T22:43:55.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T22:43:55.949Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T22:43:55.990Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T22:43:56.029Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T22:43:56.069Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T22:43:56.109Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T22:43:56.148Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T22:43:56.185Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T22:43:56.224Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T22:43:56.264Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo [2022-09-22T22:43:56.304Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo [2022-09-22T22:43:56.345Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo [2022-09-22T22:43:56.385Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5d3fda0339980389ae8f7aec506bc64b1848aa7 [Pipeline] echo [2022-09-22T22:43:56.427Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5d3fda [Pipeline] echo [2022-09-22T22:43:56.470Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:43:56.588Z] provisioning config files... [2022-09-22T22:43:56.602Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config16480856196968517075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:43:56.949Z] ---> docker-login.sh [2022-09-22T22:43:56.949Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:43:56.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:43:57.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:43:57.212Z] Configure a credential helper to remove this warning. See [2022-09-22T22:43:57.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:43:57.212Z] [2022-09-22T22:43:57.212Z] Login Succeeded [2022-09-22T22:43:57.212Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:43:57.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:43:57.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:43:57.212Z] Configure a credential helper to remove this warning. See [2022-09-22T22:43:57.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:43:57.212Z] [2022-09-22T22:43:57.212Z] Login Succeeded [2022-09-22T22:43:57.212Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:43:57.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:43:57.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:43:57.473Z] Configure a credential helper to remove this warning. See [2022-09-22T22:43:57.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:43:57.473Z] [2022-09-22T22:43:57.473Z] Login Succeeded [2022-09-22T22:43:57.473Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:43:57.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:43:57.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:43:57.473Z] Configure a credential helper to remove this warning. See [2022-09-22T22:43:57.473Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:43:57.473Z] [2022-09-22T22:43:57.473Z] Login Succeeded [2022-09-22T22:43:57.473Z] docker.io [2022-09-22T22:43:57.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:43:58.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:43:58.043Z] Configure a credential helper to remove this warning. See [2022-09-22T22:43:58.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:43:58.043Z] [2022-09-22T22:43:58.043Z] Login Succeeded [2022-09-22T22:43:58.043Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:43:58.069Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T22:43:58.690Z] + git rev-list -1 --merges b5d3fda0339980389ae8f7aec506bc64b1848aa7~1..b5d3fda0339980389ae8f7aec506bc64b1848aa7 [Pipeline] echo [2022-09-22T22:43:58.738Z] -----------> git rev-list -1 --merges b5d3fda0339980389ae8f7aec506bc64b1848aa7~1..b5d3fda0339980389ae8f7aec506bc64b1848aa7 b5d3fda0339980389ae8f7aec506bc64b1848aa7 [false] [Pipeline] sh [2022-09-22T22:43:59.046Z] + git log --format=format:%s -1 b5d3fda0339980389ae8f7aec506bc64b1848aa7 [Pipeline] echo [2022-09-22T22:43:59.080Z] ========================================================= [2022-09-22T22:43:59.080Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T22:43:59.080Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T22:43:59.494Z] + git log --format=format:%s -1 b5d3fda0339980389ae8f7aec506bc64b1848aa7 [Pipeline] echo [2022-09-22T22:43:59.525Z] [semverPrep] GIT_COMMIT: b5d3fda0339980389ae8f7aec506bc64b1848aa7, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-22T22:43:59.560Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T22:43:59.927Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T22:43:59.927Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T22:43:59.927Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T22:43:59.927Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T22:43:59.927Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T22:43:59.927Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T22:43:59.927Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:44:00.423Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:44:00.423Z] [2022-09-22T22:44:00.423Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:44:00.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:44:00.788Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T22:44:00.788Z] b85a868b505f: Pulling fs layer [2022-09-22T22:44:00.788Z] e2be974225ed: Pulling fs layer [2022-09-22T22:44:00.788Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T22:44:00.788Z] 988bab9f4d93: Pulling fs layer [2022-09-22T22:44:00.788Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T22:44:00.788Z] eaf3925da568: Pulling fs layer [2022-09-22T22:44:00.788Z] bab4dde63d76: Pulling fs layer [2022-09-22T22:44:00.789Z] bde34c3a00c8: Pulling fs layer [2022-09-22T22:44:00.789Z] b352a97aabf1: Pulling fs layer [2022-09-22T22:44:00.789Z] 4872d77fe225: Pulling fs layer [2022-09-22T22:44:00.789Z] 5851b861e8e6: Pulling fs layer [2022-09-22T22:44:00.789Z] 1469e6f7b9e6: Waiting [2022-09-22T22:44:00.789Z] eaf3925da568: Waiting [2022-09-22T22:44:00.789Z] bab4dde63d76: Waiting [2022-09-22T22:44:00.789Z] bde34c3a00c8: Waiting [2022-09-22T22:44:00.789Z] b352a97aabf1: Waiting [2022-09-22T22:44:00.789Z] 4872d77fe225: Waiting [2022-09-22T22:44:00.789Z] 5851b861e8e6: Waiting [2022-09-22T22:44:00.789Z] 988bab9f4d93: Waiting [2022-09-22T22:44:00.789Z] e2be974225ed: Download complete [2022-09-22T22:44:00.789Z] 988bab9f4d93: Verifying Checksum [2022-09-22T22:44:00.789Z] 988bab9f4d93: Download complete [2022-09-22T22:44:01.049Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T22:44:01.049Z] 1469e6f7b9e6: Download complete [2022-09-22T22:44:01.049Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T22:44:01.049Z] 339a4e72a1f5: Download complete [2022-09-22T22:44:01.049Z] eaf3925da568: Verifying Checksum [2022-09-22T22:44:01.049Z] eaf3925da568: Download complete [2022-09-22T22:44:01.049Z] bde34c3a00c8: Verifying Checksum [2022-09-22T22:44:01.049Z] bde34c3a00c8: Download complete [2022-09-22T22:44:01.049Z] b352a97aabf1: Verifying Checksum [2022-09-22T22:44:01.049Z] b352a97aabf1: Download complete [2022-09-22T22:44:01.049Z] 4872d77fe225: Verifying Checksum [2022-09-22T22:44:01.049Z] 4872d77fe225: Download complete [2022-09-22T22:44:01.049Z] 5851b861e8e6: Verifying Checksum [2022-09-22T22:44:01.049Z] 5851b861e8e6: Download complete [2022-09-22T22:44:01.049Z] b85a868b505f: Verifying Checksum [2022-09-22T22:44:01.049Z] b85a868b505f: Download complete [2022-09-22T22:44:01.309Z] bab4dde63d76: Verifying Checksum [2022-09-22T22:44:01.309Z] bab4dde63d76: Download complete [2022-09-22T22:44:02.248Z] b85a868b505f: Pull complete [2022-09-22T22:44:02.507Z] e2be974225ed: Pull complete [2022-09-22T22:44:03.076Z] 339a4e72a1f5: Pull complete [2022-09-22T22:44:03.076Z] 988bab9f4d93: Pull complete [2022-09-22T22:44:03.335Z] 1469e6f7b9e6: Pull complete [2022-09-22T22:44:03.335Z] eaf3925da568: Pull complete [2022-09-22T22:44:05.307Z] bab4dde63d76: Pull complete [2022-09-22T22:44:05.307Z] bde34c3a00c8: Pull complete [2022-09-22T22:44:05.567Z] b352a97aabf1: Pull complete [2022-09-22T22:44:05.567Z] 4872d77fe225: Pull complete [2022-09-22T22:44:05.567Z] 5851b861e8e6: Pull complete [2022-09-22T22:44:05.829Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T22:44:05.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T22:44:05.829Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:44:06.049Z] prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container [2022-09-22T22:44:06.089Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-22T22:44:07.329Z] $ docker top 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 -eo pid,comm [2022-09-22T22:44:07.386Z] 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-09-22T22:44:07.386Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T22:44:07.507Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T22:44:07.507Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T22:44:07.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T22:44:07.633Z] $ docker exec 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 ssh-agent [2022-09-22T22:44:07.735Z] SSH_AUTH_SOCK=/tmp/ssh-OHRiYBssAcTv/agent.32 [2022-09-22T22:44:07.735Z] SSH_AGENT_PID=38 [2022-09-22T22:44:07.743Z] Running ssh-add (command line suppressed) [2022-09-22T22:44:07.848Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_2596283664640121929.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_2596283664640121929.key) [2022-09-22T22:44:07.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T22:44:08.187Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T22:44:08.220Z] $ docker exec --env ******** --env ******** 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 ssh-agent -k [2022-09-22T22:44:08.326Z] unset SSH_AUTH_SOCK; [2022-09-22T22:44:08.326Z] unset SSH_AGENT_PID; [2022-09-22T22:44:08.327Z] echo Agent pid 38 killed; [2022-09-22T22:44:08.333Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T22:44:08.413Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T22:44:08.413Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T22:44:08.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T22:44:08.551Z] $ docker exec 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 ssh-agent [2022-09-22T22:44:08.665Z] SSH_AUTH_SOCK=/tmp/ssh-FLcP8lK2vhHR/agent.71 [2022-09-22T22:44:08.665Z] SSH_AGENT_PID=77 [2022-09-22T22:44:08.670Z] Running ssh-add (command line suppressed) [2022-09-22T22:44:08.785Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8803983864931104053.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8803983864931104053.key) [2022-09-22T22:44:08.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T22:44:09.115Z] + git semver init [2022-09-22T22:44:09.377Z] 2022-09-22 22:44:09,300 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T22:44:09.377Z] 2022-09-22 22:44:09,300 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver [2022-09-22T22:44:09.377Z] 2022-09-22 22:44:09,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver [2022-09-22T22:44:09.377Z] 2022-09-22 22:44:09,301 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414, universal_newlines=False, shell=None, istream=None) [2022-09-22T22:44:10.315Z] 2022-09-22 22:44:10,151 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude [2022-09-22T22:44:10.315Z] 2022-09-22 22:44:10,151 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False [2022-09-22T22:44:10.315Z] 2022-09-22 22:44:10,151 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 [2022-09-22T22:44:10.315Z] 2022-09-22 22:44:10,156 [execute] INFO git cat-file --batch-check [2022-09-22T22:44:10.315Z] 2022-09-22 22:44:10,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T22:44:10.315Z] 2022-09-22 22:44:10,162 [execute] INFO git cat-file --batch [2022-09-22T22:44:10.315Z] 2022-09-22 22:44:10,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T22:44:10.315Z] 2022-09-22 22:44:10,168 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 [2022-09-22T22:44:10.315Z] 0.0.0 [Pipeline] } [2022-09-22T22:44:10.349Z] $ docker exec --env ******** --env ******** 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 ssh-agent -k [2022-09-22T22:44:10.445Z] unset SSH_AUTH_SOCK; [2022-09-22T22:44:10.445Z] unset SSH_AGENT_PID; [2022-09-22T22:44:10.445Z] echo Agent pid 77 killed; [2022-09-22T22:44:10.452Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T22:44:10.884Z] + git semver [Pipeline] } [2022-09-22T22:44:11.172Z] $ docker stop --time=1 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 [2022-09-22T22:44:12.515Z] $ docker rm -f 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:44:12.920Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T22:44:13.167Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T22:44:13.188Z] [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-09-22T22:44:13.782Z] provisioning config files... [2022-09-22T22:44:13.793Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config2484174296712016763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:44:14.143Z] ---> docker-login.sh [2022-09-22T22:44:14.143Z] nexus3.edgexfoundry.org:10001 [2022-09-22T22:44:14.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:44:14.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:44:14.143Z] Configure a credential helper to remove this warning. See [2022-09-22T22:44:14.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:44:14.143Z] [2022-09-22T22:44:14.143Z] Login Succeeded [2022-09-22T22:44:14.143Z] nexus3.edgexfoundry.org:10002 [2022-09-22T22:44:14.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:44:14.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:44:14.143Z] Configure a credential helper to remove this warning. See [2022-09-22T22:44:14.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:44:14.143Z] [2022-09-22T22:44:14.143Z] Login Succeeded [2022-09-22T22:44:14.143Z] nexus3.edgexfoundry.org:10003 [2022-09-22T22:44:14.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:44:14.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:44:14.404Z] Configure a credential helper to remove this warning. See [2022-09-22T22:44:14.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:44:14.404Z] [2022-09-22T22:44:14.404Z] Login Succeeded [2022-09-22T22:44:14.404Z] nexus3.edgexfoundry.org:10004 [2022-09-22T22:44:14.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:44:14.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:44:14.404Z] Configure a credential helper to remove this warning. See [2022-09-22T22:44:14.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:44:14.404Z] [2022-09-22T22:44:14.404Z] Login Succeeded [2022-09-22T22:44:14.404Z] docker.io [2022-09-22T22:44:14.663Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T22:44:14.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T22:44:14.926Z] Configure a credential helper to remove this warning. See [2022-09-22T22:44:14.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T22:44:14.926Z] [2022-09-22T22:44:14.926Z] Login Succeeded [2022-09-22T22:44:14.926Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T22:44:14.957Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T22:44:15.150Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:44:15.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T22:44:15.220Z] ========================================================= [2022-09-22T22:44:15.220Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T22:44:15.220Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:44:15.690Z] + 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-09-22T22:44:15.690Z] Sending build context to Docker daemon 6.147MB [2022-09-22T22:44:15.690Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:44:15.690Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T22:44:15.690Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T22:44:15.690Z] 2408cc74d12b: Pulling fs layer [2022-09-22T22:44:15.690Z] ea60b727a1ce: Pulling fs layer [2022-09-22T22:44:15.690Z] 30c4a7721957: Pulling fs layer [2022-09-22T22:44:15.690Z] 370296b7ddb6: Pulling fs layer [2022-09-22T22:44:15.690Z] 7c6cee850709: Pulling fs layer [2022-09-22T22:44:15.690Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T22:44:15.690Z] d94ebbe4e438: Pulling fs layer [2022-09-22T22:44:15.690Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T22:44:15.690Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T22:44:15.690Z] 7c6cee850709: Waiting [2022-09-22T22:44:15.690Z] 39a5fcdaea64: Waiting [2022-09-22T22:44:15.690Z] d94ebbe4e438: Waiting [2022-09-22T22:44:15.690Z] bcfd1f05c69d: Waiting [2022-09-22T22:44:15.690Z] 59ccb84bbe0f: Waiting [2022-09-22T22:44:15.690Z] 370296b7ddb6: Waiting [2022-09-22T22:44:15.690Z] 30c4a7721957: Verifying Checksum [2022-09-22T22:44:15.690Z] 30c4a7721957: Download complete [2022-09-22T22:44:15.690Z] 7c6cee850709: Download complete [2022-09-22T22:44:15.951Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T22:44:15.951Z] 39a5fcdaea64: Download complete [2022-09-22T22:44:15.951Z] 2408cc74d12b: Verifying Checksum [2022-09-22T22:44:15.951Z] 2408cc74d12b: Download complete [2022-09-22T22:44:15.951Z] d94ebbe4e438: Download complete [2022-09-22T22:44:15.951Z] 2408cc74d12b: Pull complete [2022-09-22T22:44:16.217Z] ea60b727a1ce: Pull complete [2022-09-22T22:44:16.217Z] 30c4a7721957: Pull complete [2022-09-22T22:44:16.479Z] 59ccb84bbe0f: Download complete [2022-09-22T22:44:16.479Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T22:44:16.479Z] bcfd1f05c69d: Download complete [2022-09-22T22:44:16.737Z] 370296b7ddb6: Verifying Checksum [2022-09-22T22:44:16.737Z] 370296b7ddb6: Download complete [2022-09-22T22:44:20.927Z] 370296b7ddb6: Pull complete [2022-09-22T22:44:20.927Z] 7c6cee850709: Pull complete [2022-09-22T22:44:20.927Z] 39a5fcdaea64: Pull complete [2022-09-22T22:44:20.927Z] d94ebbe4e438: Pull complete [2022-09-22T22:44:22.833Z] bcfd1f05c69d: Pull complete [2022-09-22T22:44:23.765Z] 59ccb84bbe0f: Pull complete [2022-09-22T22:44:23.765Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T22:44:23.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T22:44:23.765Z] ---> a4fb48ad2a94 [2022-09-22T22:44:23.765Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:44:25.142Z] ---> Running in 9b16cf404554 [2022-09-22T22:44:25.142Z] Removing intermediate container 9b16cf404554 [2022-09-22T22:44:25.142Z] ---> db868acc1f4b [2022-09-22T22:44:25.142Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:44:25.142Z] ---> Running in dcbfc4e2d448 [2022-09-22T22:44:25.400Z] Removing intermediate container dcbfc4e2d448 [2022-09-22T22:44:25.400Z] ---> bb0b4db79f56 [2022-09-22T22:44:25.400Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:44:25.400Z] ---> Running in 0408ede74978 [2022-09-22T22:44:25.400Z] Removing intermediate container 0408ede74978 [2022-09-22T22:44:25.400Z] ---> 448881db01b1 [2022-09-22T22:44:25.400Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:44:25.400Z] ---> Running in 757489b8c64c [2022-09-22T22:44:25.659Z] Removing intermediate container 757489b8c64c [2022-09-22T22:44:25.659Z] ---> e44d557f9a9f [2022-09-22T22:44:25.659Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:44:25.659Z] ---> Running in dba2cdc5295a [2022-09-22T22:44:26.227Z] Removing intermediate container dba2cdc5295a [2022-09-22T22:44:26.227Z] ---> dffb79acd815 [2022-09-22T22:44:26.227Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:44:26.227Z] ---> Running in a7d83b1c20e0 [2022-09-22T22:44:26.487Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:44:27.428Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:44:27.687Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T22:44:27.687Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T22:44:27.946Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T22:44:27.946Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T22:44:28.205Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T22:44:28.205Z] OK: 216 MiB in 55 packages [2022-09-22T22:44:28.467Z] Removing intermediate container a7d83b1c20e0 [2022-09-22T22:44:28.467Z] ---> dbb68aac9f74 [2022-09-22T22:44:28.467Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-09-22T22:44:28.467Z] ---> Running in 8f87a9982ed1 [2022-09-22T22:44:28.467Z] Removing intermediate container 8f87a9982ed1 [2022-09-22T22:44:28.467Z] ---> 11087db7ef7f [2022-09-22T22:44:28.467Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T22:44:28.598Z] Still waiting to schedule task [2022-09-22T22:44:28.598Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-22T22:44:28.726Z] ---> bc8b5a28471f [2022-09-22T22:44:28.726Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:44:28.726Z] ---> Running in febcc8536ddc [2022-09-22T22:44:46.824Z] Removing intermediate container febcc8536ddc [2022-09-22T22:44:46.824Z] ---> d430983d46b5 [2022-09-22T22:44:46.824Z] Step 12/13 : COPY . . [2022-09-22T22:44:46.824Z] ---> 5deef816d76d [2022-09-22T22:44:46.824Z] Step 13/13 : RUN $MAKE [2022-09-22T22:44:46.824Z] ---> Running in d15f05c46eed [2022-09-22T22:44:46.824Z] noop [2022-09-22T22:44:46.824Z] Removing intermediate container d15f05c46eed [2022-09-22T22:44:46.824Z] ---> eb7410a254bb [2022-09-22T22:44:46.824Z] Successfully built eb7410a254bb [2022-09-22T22:44:46.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:44:47.274Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T22:44:47.274Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:44:47.428Z] prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container [2022-09-22T22:44:47.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T22:44:47.858Z] $ docker top e4cc675e87a374b7019ac335f2eb147541774ebdefa9f3fc47c88b67597ede76 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:44:48.257Z] + go version [2022-09-22T22:44:48.257Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T22:44:48.290Z] $ docker stop --time=1 e4cc675e87a374b7019ac335f2eb147541774ebdefa9f3fc47c88b67597ede76 [2022-09-22T22:44:49.568Z] $ docker rm -f e4cc675e87a374b7019ac335f2eb147541774ebdefa9f3fc47c88b67597ede76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:44:50.272Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T22:44:50.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:44:50.419Z] prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container [2022-09-22T22:44:50.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T22:44:50.834Z] $ docker top ecec7de485a6b05d0eeae03c1c266d30ead61df3918a7a3d0dfd955213958532 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:44:51.224Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh [2022-09-22T22:44:51.582Z] + make test [2022-09-22T22:44:51.582Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T22:44:51.841Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-22T22:45:01.821Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-22T22:45:02.081Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements [2022-09-22T22:45:02.081Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-22T22:45:10.193Z] 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-09-22T22:45:10.193Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T22:45:13.473Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T22:45:13.473Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T22:45:13.473Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T22:45:13.511Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T22:45:13.540Z] $ docker stop --time=1 ecec7de485a6b05d0eeae03c1c266d30ead61df3918a7a3d0dfd955213958532 [2022-09-22T22:45:15.248Z] $ docker rm -f ecec7de485a6b05d0eeae03c1c266d30ead61df3918a7a3d0dfd955213958532 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T22:45:15.760Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T22:45:15.827Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T22:45:16.413Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T22:45:16.725Z] + ls -al . [2022-09-22T22:45:16.725Z] total 184 [2022-09-22T22:45:16.725Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:44 . [2022-09-22T22:45:16.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:43 .. [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 22:43 .dockerignore [2022-09-22T22:45:16.725Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:45 .git [2022-09-22T22:45:16.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:43 .github [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:43 .gitignore [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:43 .golangci.yml [2022-09-22T22:45:16.725Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:44 .semver [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 9293 Sep 22 22:43 Attribution.txt [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 22 22:43 CHANGELOG.md [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 1988 Sep 22 22:43 Dockerfile [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:43 GOVERNANCE.md [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 22 22:43 Jenkinsfile [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:43 LICENSE [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 2126 Sep 22 22:43 Makefile [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:43 OWNERS.md [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 2883 Sep 22 22:43 README.md [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:44 VERSION [2022-09-22T22:45:16.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:43 bin [2022-09-22T22:45:16.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:43 cmd [2022-09-22T22:45:16.725Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 22 22:45 coverage.out [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 3523 Sep 22 22:43 go.mod [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:43 go.sum [2022-09-22T22:45:16.725Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:43 internal [2022-09-22T22:45:16.725Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:43 mock [2022-09-22T22:45:16.725Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:43 snap [2022-09-22T22:45:16.725Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 22 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:45:17.119Z] + 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=b5d3fda0339980389ae8f7aec506bc64b1848aa7 --label arch=amd64 --label version=0.0.0 . [2022-09-22T22:45:17.119Z] Sending build context to Docker daemon 6.165MB [2022-09-22T22:45:17.119Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T22:45:17.119Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T22:45:17.119Z] ---> eb7410a254bb [2022-09-22T22:45:17.119Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-22T22:45:17.119Z] ---> Running in 5193f4c4283e [2022-09-22T22:45:17.378Z] Removing intermediate container 5193f4c4283e [2022-09-22T22:45:17.378Z] ---> 190c12fb2524 [2022-09-22T22:45:17.378Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T22:45:17.378Z] ---> Running in f865eaffe8f9 [2022-09-22T22:45:17.378Z] Removing intermediate container f865eaffe8f9 [2022-09-22T22:45:17.378Z] ---> 49e0faf113c8 [2022-09-22T22:45:17.378Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T22:45:17.378Z] ---> Running in a94e4d662531 [2022-09-22T22:45:17.637Z] Removing intermediate container a94e4d662531 [2022-09-22T22:45:17.637Z] ---> 379b631c6e04 [2022-09-22T22:45:17.637Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T22:45:17.637Z] ---> Running in 52af81824753 [2022-09-22T22:45:17.637Z] Removing intermediate container 52af81824753 [2022-09-22T22:45:17.637Z] ---> c22ccf55ec3e [2022-09-22T22:45:17.637Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T22:45:17.637Z] ---> Running in 83add13e1da8 [2022-09-22T22:45:18.205Z] Removing intermediate container 83add13e1da8 [2022-09-22T22:45:18.205Z] ---> e972187e2708 [2022-09-22T22:45:18.205Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T22:45:18.205Z] ---> Running in 32bc982e156f [2022-09-22T22:45:18.464Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:45:19.402Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:45:19.661Z] OK: 216 MiB in 55 packages [2022-09-22T22:45:20.231Z] Removing intermediate container 32bc982e156f [2022-09-22T22:45:20.231Z] ---> 71d70cdbeda0 [2022-09-22T22:45:20.231Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-09-22T22:45:20.231Z] ---> Running in 489da54afff5 [2022-09-22T22:45:20.231Z] Removing intermediate container 489da54afff5 [2022-09-22T22:45:20.231Z] ---> 7053946367fa [2022-09-22T22:45:20.231Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-22T22:45:20.490Z] ---> 2786d20bc0ad [2022-09-22T22:45:20.490Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T22:45:20.490Z] ---> Running in d00ed132401f [2022-09-22T22:45:21.058Z] Removing intermediate container d00ed132401f [2022-09-22T22:45:21.059Z] ---> 4fc646c46d7c [2022-09-22T22:45:21.059Z] Step 12/25 : COPY . . [2022-09-22T22:45:21.317Z] ---> 5770f5e2282a [2022-09-22T22:45:21.317Z] Step 13/25 : RUN $MAKE [2022-09-22T22:45:21.317Z] ---> Running in 1527e70d465f [2022-09-22T22:45:21.575Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -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-09-22T22:45:43.503Z] Removing intermediate container 1527e70d465f [2022-09-22T22:45:43.503Z] ---> 060679c53dc1 [2022-09-22T22:45:43.503Z] Step 14/25 : FROM alpine:3.16 [2022-09-22T22:45:43.503Z] 3.16: Pulling from library/alpine [2022-09-22T22:45:43.503Z] 213ec9aee27d: Pulling fs layer [2022-09-22T22:45:43.503Z] 213ec9aee27d: Verifying Checksum [2022-09-22T22:45:43.503Z] 213ec9aee27d: Download complete [2022-09-22T22:45:43.503Z] 213ec9aee27d: Pull complete [2022-09-22T22:45:43.503Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T22:45:43.503Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T22:45:43.503Z] ---> 9c6f07244728 [2022-09-22T22:45:43.503Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-22T22:45:43.503Z] ---> Running in 7da8c29fdee7 [2022-09-22T22:45:43.503Z] Removing intermediate container 7da8c29fdee7 [2022-09-22T22:45:43.503Z] ---> 675c882b9a0b [2022-09-22T22:45:43.503Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T22:45:43.503Z] ---> Running in 126600e07acc [2022-09-22T22:45:43.761Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T22:45:44.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T22:45:44.277Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T22:45:44.277Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T22:45:44.277Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T22:45:44.277Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T22:45:44.277Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T22:45:44.277Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T22:45:44.277Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T22:45:44.277Z] OK: 8 MiB in 20 packages [2022-09-22T22:45:44.843Z] Removing intermediate container 126600e07acc [2022-09-22T22:45:44.843Z] ---> ebdd53c3744c [2022-09-22T22:45:44.843Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-22T22:45:45.101Z] ---> f2a05e329758 [2022-09-22T22:45:45.101Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-22T22:45:45.359Z] ---> ea4ab7c17ff9 [2022-09-22T22:45:45.359Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-22T22:45:45.359Z] ---> 91db198bf6c8 [2022-09-22T22:45:45.359Z] Step 20/25 : EXPOSE 59982 [2022-09-22T22:45:45.359Z] ---> Running in 68ae137fd299 [2022-09-22T22:45:45.617Z] Removing intermediate container 68ae137fd299 [2022-09-22T22:45:45.617Z] ---> 0cf615247938 [2022-09-22T22:45:45.617Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-09-22T22:45:45.617Z] ---> Running in 36f26a83a7db [2022-09-22T22:45:45.617Z] Removing intermediate container 36f26a83a7db [2022-09-22T22:45:45.617Z] ---> 342183b2f158 [2022-09-22T22:45:45.617Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T22:45:45.617Z] ---> Running in 22bc08134dae [2022-09-22T22:45:45.875Z] Removing intermediate container 22bc08134dae [2022-09-22T22:45:45.875Z] ---> 35c6fb2f1565 [2022-09-22T22:45:45.875Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T22:45:45.875Z] ---> Running in c17c9e3d6445 [2022-09-22T22:45:45.875Z] Removing intermediate container c17c9e3d6445 [2022-09-22T22:45:45.875Z] ---> 7528a38e23cd [2022-09-22T22:45:45.875Z] Step 24/25 : LABEL git_sha=b5d3fda0339980389ae8f7aec506bc64b1848aa7 [2022-09-22T22:45:45.875Z] ---> Running in 8f81e513167a [2022-09-22T22:45:45.875Z] Removing intermediate container 8f81e513167a [2022-09-22T22:45:45.875Z] ---> 6266e9a07059 [2022-09-22T22:45:45.875Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T22:45:46.133Z] ---> Running in 4504dc312154 [2022-09-22T22:45:46.133Z] Removing intermediate container 4504dc312154 [2022-09-22T22:45:46.133Z] ---> 7e18c4280dce [2022-09-22T22:45:46.133Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T22:45:46.133Z] Successfully built 7e18c4280dce [2022-09-22T22:45:46.133Z] 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-09-22T22:45:46.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:45:46.967Z] [2022-09-22T22:45:46.967Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:45:47.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:45:47.336Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T22:45:47.336Z] 5eb5b503b376: Pulling fs layer [2022-09-22T22:45:47.336Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T22:45:47.336Z] ec43610c2a17: Pulling fs layer [2022-09-22T22:45:47.336Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T22:45:47.336Z] 33b1e0a273af: Pulling fs layer [2022-09-22T22:45:47.336Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T22:45:47.336Z] 2f39f015ded8: Pulling fs layer [2022-09-22T22:45:47.336Z] 3a2ae6a8a46f: Waiting [2022-09-22T22:45:47.336Z] 33b1e0a273af: Waiting [2022-09-22T22:45:47.336Z] 5d3b04190fa2: Waiting [2022-09-22T22:45:47.336Z] 2f39f015ded8: Waiting [2022-09-22T22:45:47.336Z] 5c69ac0246d0: Verifying Checksum [2022-09-22T22:45:47.336Z] 5c69ac0246d0: Download complete [2022-09-22T22:45:47.336Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-22T22:45:47.336Z] 3a2ae6a8a46f: Download complete [2022-09-22T22:45:47.595Z] 33b1e0a273af: Verifying Checksum [2022-09-22T22:45:47.595Z] 33b1e0a273af: Download complete [2022-09-22T22:45:47.595Z] ec43610c2a17: Verifying Checksum [2022-09-22T22:45:47.595Z] ec43610c2a17: Download complete [2022-09-22T22:45:47.595Z] 5d3b04190fa2: Download complete [2022-09-22T22:45:47.595Z] 5eb5b503b376: Download complete [2022-09-22T22:45:48.160Z] 2f39f015ded8: Verifying Checksum [2022-09-22T22:45:48.160Z] 2f39f015ded8: Download complete [2022-09-22T22:45:48.728Z] 5eb5b503b376: Pull complete [2022-09-22T22:45:48.988Z] 5c69ac0246d0: Pull complete [2022-09-22T22:45:49.553Z] ec43610c2a17: Pull complete [2022-09-22T22:45:49.553Z] 3a2ae6a8a46f: Pull complete [2022-09-22T22:45:49.814Z] 33b1e0a273af: Pull complete [2022-09-22T22:45:49.814Z] 5d3b04190fa2: Pull complete [2022-09-22T22:45:50.418Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-672 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws [2022-09-22T22:45:50.463Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-09-22T22:45:50.542Z] Selected Git installation does not exist. Using Default [2022-09-22T22:45:50.542Z] The recommended git tool is: NONE [2022-09-22T22:45:54.003Z] 2f39f015ded8: Pull complete [2022-09-22T22:45:54.003Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T22:45:54.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:45:54.003Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:45:54.209Z] prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container [2022-09-22T22:45:54.236Z] $ 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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T22:45:55.136Z] using credential edgex-jenkins-ssh [2022-09-22T22:45:55.149Z] Cloning the remote Git repository [2022-09-22T22:45:55.186Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-22T22:45:55.251Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-09-22T22:45:55.623Z] $ docker top 8a5e3ee33a35b7cbc8fff547ef7130cf0b5a412172520c2db8e37b4e4c45ef93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:45:56.060Z] ---> job-cost.sh [2022-09-22T22:45:56.060Z] lf-activate-venv: SKIPPING [2022-09-22T22:45:56.060Z] INFO: No Stack... [2022-09-22T22:45:56.319Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T22:45:55.371Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-22T22:45:55.378Z] > git --version # timeout=10 [2022-09-22T22:45:55.401Z] > git --version # 'git version 2.25.1' [2022-09-22T22:45:55.403Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:45:55.450Z] Verifying host key using known hosts file [2022-09-22T22:45:55.623Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T22:45:55.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T22:45:56.886Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T22:45:57.202Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv [2022-09-22T22:45:57.202Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T22:45:57.245Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-1-stack-cost] [2022-09-22T22:45:57.250Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-1-stack-cost] did not exist. Created. [2022-09-22T22:45:57.250Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T22:45:57.635Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T22:45:57.682Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T22:45:57.713Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T22:45:57.787Z] $ docker stop --time=1 8a5e3ee33a35b7cbc8fff547ef7130cf0b5a412172520c2db8e37b4e4c45ef93 [2022-09-22T22:45:56.704Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-22T22:45:56.735Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T22:45:57.470Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-22T22:45:57.509Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-22T22:45:57.510Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T22:45:57.514Z] Verifying host key using known hosts file [2022-09-22T22:45:57.523Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T22:45:57.533Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T22:45:58.152Z] Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit b5d3fda0339980389ae8f7aec506bc64b1848aa7 [2022-09-22T22:45:58.959Z] $ docker rm -f 8a5e3ee33a35b7cbc8fff547ef7130cf0b5a412172520c2db8e37b4e4c45ef93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // ws [Pipeline] } [2022-09-22T22:45:58.168Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T22:45:58.185Z] > git checkout -f b5d3fda0339980389ae8f7aec506bc64b1848aa7 # timeout=10 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T22:45:59.303Z] Failed in branch arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-09-22T22:46:01.324Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] [2022-09-22T22:46:01.324Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-22T22:46:01.324Z] total 16 [2022-09-22T22:46:01.324Z] drwxr-xr-x 3 root root 4096 Sep 22 22:45 . [2022-09-22T22:46:01.324Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 22:45 .. [2022-09-22T22:46:01.324Z] drwxr-xr-x 2 root root 4096 Sep 22 22:45 cost [2022-09-22T22:46:01.324Z] -rw-r--r-- 1 root root 86 Sep 22 22:45 cost.csv [2022-09-22T22:46:01.324Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-22T22:46:01.324Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-22T22:46:01.324Z] total 16 [2022-09-22T22:46:01.324Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:45 . [2022-09-22T22:46:01.324Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 22:45 .. [2022-09-22T22:46:01.324Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:45 cost [2022-09-22T22:46:01.324Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 22 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:46:01.654Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:46:02.550Z] ---> package-listing.sh [2022-09-22T22:46:02.550Z] ++ facter osfamily [2022-09-22T22:46:02.550Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T22:46:02.810Z] + OS_FAMILY=debian [2022-09-22T22:46:02.810Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 [2022-09-22T22:46:02.810Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T22:46:02.810Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T22:46:02.810Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T22:46:02.810Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T22:46:02.810Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' [2022-09-22T22:46:02.810Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T22:46:02.810Z] + case "${OS_FAMILY}" in [2022-09-22T22:46:02.810Z] + dpkg -l [2022-09-22T22:46:02.810Z] + grep '^ii' [2022-09-22T22:46:02.810Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T22:46:02.810Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T22:46:02.810Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T22:46:02.810Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' [2022-09-22T22:46:02.810Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [2022-09-22T22:46:02.810Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [Pipeline] echo [2022-09-22T22:46:02.850Z] 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T22:46:03.141Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T22:46:03.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T22:46:03.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T22:46:03.922Z] prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container [2022-09-22T22:46:03.949Z] $ 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-414/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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T22:46:04.173Z] $ docker top fe2b3dc56966d4ee318f4688ccf3eaf3aef790c5dd9119f7917bd1b860a7423f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T22:46:04.566Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T22:46:04.878Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T22:46:05.186Z] + ls /var/log/sa-host [2022-09-22T22:46:05.186Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T22:46:05.318Z] provisioning config files... [2022-09-22T22:46:05.329Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config11967940358327251274tmp [Pipeline] { [Pipeline] echo [2022-09-22T22:46:05.380Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:46:05.689Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T22:46:05.716Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:46:06.120Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T22:46:06.151Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:46:06.464Z] ---> sudo-logs.sh [2022-09-22T22:46:06.464Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T22:46:06.550Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:46:06.857Z] ---> job-cost.sh [2022-09-22T22:46:06.857Z] lf-activate-venv: SKIPPING [2022-09-22T22:46:06.857Z] DEBUG: total: 0.2199999988079071 [2022-09-22T22:46:06.857Z] INFO: Retrieving Stack Cost... [2022-09-22T22:46:06.857Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T22:46:07.425Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T22:46:07.461Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T22:46:07.777Z] ---> logs-deploy.sh [2022-09-22T22:46:07.777Z] lf-activate-venv: SKIPPING [2022-09-22T22:46:07.777Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/1 [2022-09-22T22:46:07.777Z] INFO: archiving workspace using pattern(s): [2022-09-22T22:46:09.169Z] Archives upload complete. [2022-09-22T22:46:09.169Z] INFO: archiving logs to Nexus