Pull request #382 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31+7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec (480729afe78e3cf8a359acefef4d83dd232e4313) 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-ssh14342912151800176604.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh6536475326664946878.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 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-382/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9844751072826164787.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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 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-ssh2487881857630246938.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-382/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16125430437155082333.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 ‘prd-centos7-blackbox-4c-2g-17291’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-17292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-19753’ is offline Running on prd-ubuntu20.04-docker-8c-8g-19756 in /w/workspace/gexfoundry_device-mqtt-go_PR-382 [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-382 # 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 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec into PR head commit 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 Merge succeeded, producing 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 Checking out Revision 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 (PR-382) > 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/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 # 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 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 # timeout=10 Commit message: "build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T20:19:30.599Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T20:19:30.658Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T20:19:30.675Z] ========================================================= [2022-07-12T20:19:30.675Z] EdgeX Global Pipelines Version Info [2022-07-12T20:19:30.675Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1589729008a2668ddd610fbbda4179d2313af3db # timeout=10 [2022-07-12T20:19:31.423Z] ------------------- [2022-07-12T20:19:31.423Z] stable info: [2022-07-12T20:19:31.423Z] ------------------- [2022-07-12T20:19:31.424Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T20:19:31.424Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T20:19:31.424Z] Message: update stable to v1.0.237 [2022-07-12T20:19:31.995Z] ------------------- [2022-07-12T20:19:31.995Z] experimental info: [2022-07-12T20:19:31.995Z] ------------------- [2022-07-12T20:19:31.995Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T20:19:31.995Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T20:19:31.995Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T20:19:32.272Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-07-12T20:19:32.285Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-07-12T20:19:32.301Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T20:19:32.311Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T20:19:32.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T20:19:32.335Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T20:19:32.347Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T20:19:32.360Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T20:19:32.372Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T20:19:32.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T20:19:32.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T20:19:32.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-07-12T20:19:32.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T20:19:32.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T20:19:32.447Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T20:19:32.461Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T20:19:32.477Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T20:19:32.495Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T20:19:32.504Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T20:19:32.517Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T20:19:32.531Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T20:19:32.541Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T20:19:32.553Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T20:19:32.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T20:19:32.579Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T20:19:32.591Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T20:19:32.604Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T20:19:32.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-382 [Pipeline] echo [2022-07-12T20:19:32.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-382 [Pipeline] echo [2022-07-12T20:19:32.641Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-382 [Pipeline] echo [2022-07-12T20:19:32.649Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [Pipeline] echo [2022-07-12T20:19:32.668Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7ca8e37 [Pipeline] echo [2022-07-12T20:19:32.682Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:19:32.734Z] provisioning config files... [2022-07-12T20:19:32.750Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/config6837546308994556251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:19:33.051Z] ---> docker-login.sh [2022-07-12T20:19:33.051Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:19:33.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:33.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:33.312Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:33.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:33.312Z] [2022-07-12T20:19:33.312Z] Login Succeeded [2022-07-12T20:19:33.312Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:19:33.312Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:33.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:33.575Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:33.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:33.575Z] [2022-07-12T20:19:33.575Z] Login Succeeded [2022-07-12T20:19:33.576Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:19:33.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:33.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:33.576Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:33.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:33.576Z] [2022-07-12T20:19:33.576Z] Login Succeeded [2022-07-12T20:19:33.576Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:19:33.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:33.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:33.837Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:33.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:33.837Z] [2022-07-12T20:19:33.837Z] Login Succeeded [2022-07-12T20:19:33.837Z] docker.io [2022-07-12T20:19:33.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:34.099Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:34.099Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:34.099Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:34.099Z] [2022-07-12T20:19:34.100Z] Login Succeeded [2022-07-12T20:19:34.100Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:19:34.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T20:19:34.487Z] + git rev-list -1 --merges 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31~1..7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [Pipeline] echo [2022-07-12T20:19:34.523Z] -----------> git rev-list -1 --merges 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31~1..7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [false] [Pipeline] sh [2022-07-12T20:19:34.821Z] + git log --format=format:%s -1 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [Pipeline] echo [2022-07-12T20:19:34.839Z] ========================================================= [2022-07-12T20:19:34.839Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T20:19:34.839Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:19:35.189Z] + git log --format=format:%s -1 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [Pipeline] echo [2022-07-12T20:19:35.204Z] [semverPrep] GIT_COMMIT: 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31, Commit Message: build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0 [Pipeline] echo [2022-07-12T20:19:35.212Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T20:19:35.558Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T20:19:35.558Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T20:19:35.558Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T20:19:35.558Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T20:19:35.558Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T20:19:35.558Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T20:19:35.558Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:35.919Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:19:35.919Z] [2022-07-12T20:19:35.919Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:36.229Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:19:36.229Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T20:19:36.229Z] b85a868b505f: Pulling fs layer [2022-07-12T20:19:36.229Z] e2be974225ed: Pulling fs layer [2022-07-12T20:19:36.229Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T20:19:36.229Z] 988bab9f4d93: Pulling fs layer [2022-07-12T20:19:36.229Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T20:19:36.229Z] eaf3925da568: Pulling fs layer [2022-07-12T20:19:36.229Z] bab4dde63d76: Pulling fs layer [2022-07-12T20:19:36.229Z] bde34c3a00c8: Pulling fs layer [2022-07-12T20:19:36.229Z] b352a97aabf1: Pulling fs layer [2022-07-12T20:19:36.229Z] 4872d77fe225: Pulling fs layer [2022-07-12T20:19:36.229Z] 5851b861e8e6: Pulling fs layer [2022-07-12T20:19:36.229Z] 988bab9f4d93: Waiting [2022-07-12T20:19:36.229Z] 1469e6f7b9e6: Waiting [2022-07-12T20:19:36.229Z] eaf3925da568: Waiting [2022-07-12T20:19:36.229Z] bab4dde63d76: Waiting [2022-07-12T20:19:36.229Z] bde34c3a00c8: Waiting [2022-07-12T20:19:36.229Z] b352a97aabf1: Waiting [2022-07-12T20:19:36.229Z] 4872d77fe225: Waiting [2022-07-12T20:19:36.229Z] 5851b861e8e6: Waiting [2022-07-12T20:19:36.229Z] e2be974225ed: Download complete [2022-07-12T20:19:36.229Z] 988bab9f4d93: Download complete [2022-07-12T20:19:36.490Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T20:19:36.490Z] 339a4e72a1f5: Download complete [2022-07-12T20:19:36.490Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T20:19:36.490Z] 1469e6f7b9e6: Download complete [2022-07-12T20:19:36.490Z] eaf3925da568: Verifying Checksum [2022-07-12T20:19:36.490Z] eaf3925da568: Download complete [2022-07-12T20:19:36.490Z] bde34c3a00c8: Verifying Checksum [2022-07-12T20:19:36.490Z] bde34c3a00c8: Download complete [2022-07-12T20:19:36.490Z] b352a97aabf1: Download complete [2022-07-12T20:19:36.490Z] 4872d77fe225: Verifying Checksum [2022-07-12T20:19:36.490Z] 4872d77fe225: Download complete [2022-07-12T20:19:36.490Z] 5851b861e8e6: Verifying Checksum [2022-07-12T20:19:36.490Z] 5851b861e8e6: Download complete [2022-07-12T20:19:36.490Z] b85a868b505f: Verifying Checksum [2022-07-12T20:19:36.490Z] b85a868b505f: Download complete [2022-07-12T20:19:36.750Z] bab4dde63d76: Verifying Checksum [2022-07-12T20:19:36.750Z] bab4dde63d76: Download complete [2022-07-12T20:19:38.132Z] b85a868b505f: Pull complete [2022-07-12T20:19:38.132Z] e2be974225ed: Pull complete [2022-07-12T20:19:38.710Z] 339a4e72a1f5: Pull complete [2022-07-12T20:19:38.710Z] 988bab9f4d93: Pull complete [2022-07-12T20:19:38.973Z] 1469e6f7b9e6: Pull complete [2022-07-12T20:19:38.973Z] eaf3925da568: Pull complete [2022-07-12T20:19:40.888Z] bab4dde63d76: Pull complete [2022-07-12T20:19:41.168Z] bde34c3a00c8: Pull complete [2022-07-12T20:19:41.168Z] b352a97aabf1: Pull complete [2022-07-12T20:19:41.431Z] 4872d77fe225: Pull complete [2022-07-12T20:19:41.431Z] 5851b861e8e6: Pull complete [2022-07-12T20:19:41.431Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T20:19:41.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T20:19:41.431Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:19:41.547Z] prd-ubuntu20.04-docker-8c-8g-19756 does not seem to be running inside a container [2022-07-12T20:19:41.589Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@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-07-12T20:19:43.072Z] $ docker top eca446194494ec771eaed8cca40a5b5fc71044bda672a96c14374fc3084d0eb4 -eo pid,comm [2022-07-12T20:19:43.148Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-07-12T20:19:43.148Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T20:19:43.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:19:43.192Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:19:43.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:19:43.337Z] $ docker exec eca446194494ec771eaed8cca40a5b5fc71044bda672a96c14374fc3084d0eb4 ssh-agent [2022-07-12T20:19:43.468Z] SSH_AUTH_SOCK=/tmp/ssh-Gt9a8n5PAsIv/agent.33 [2022-07-12T20:19:43.468Z] SSH_AGENT_PID=40 [2022-07-12T20:19:43.474Z] Running ssh-add (command line suppressed) [2022-07-12T20:19:43.608Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/private_key_881210080531398950.key (/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/private_key_881210080531398950.key) [2022-07-12T20:19:43.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:19:43.921Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T20:19:43.936Z] $ docker exec --env ******** --env ******** eca446194494ec771eaed8cca40a5b5fc71044bda672a96c14374fc3084d0eb4 ssh-agent -k [2022-07-12T20:19:44.067Z] unset SSH_AUTH_SOCK; [2022-07-12T20:19:44.067Z] unset SSH_AGENT_PID; [2022-07-12T20:19:44.067Z] echo Agent pid 40 killed; [2022-07-12T20:19:44.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T20:19:44.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T20:19:44.105Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T20:19:44.231Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T20:19:44.235Z] $ docker exec eca446194494ec771eaed8cca40a5b5fc71044bda672a96c14374fc3084d0eb4 ssh-agent [2022-07-12T20:19:44.378Z] SSH_AUTH_SOCK=/tmp/ssh-WNYJqZoEHHCS/agent.74 [2022-07-12T20:19:44.379Z] SSH_AGENT_PID=80 [2022-07-12T20:19:44.384Z] Running ssh-add (command line suppressed) [2022-07-12T20:19:44.507Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/private_key_7711554217716467352.key (/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/private_key_7711554217716467352.key) [2022-07-12T20:19:44.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T20:19:44.813Z] + git semver init [2022-07-12T20:19:45.075Z] 2022-07-12 20:19:45,022 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T20:19:45.075Z] 2022-07-12 20:19:45,023 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver [2022-07-12T20:19:45.075Z] 2022-07-12 20:19:45,024 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver [2022-07-12T20:19:45.075Z] 2022-07-12 20:19:45,024 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-382, universal_newlines=False, shell=None, istream=None) [2022-07-12T20:19:46.019Z] 2022-07-12 20:19:45,744 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382/.git/info/exclude [2022-07-12T20:19:46.019Z] 2022-07-12 20:19:45,744 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver/PR-382 with force:False [2022-07-12T20:19:46.019Z] 2022-07-12 20:19:45,744 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver/PR-382 [2022-07-12T20:19:46.019Z] 2022-07-12 20:19:45,749 [execute] INFO git cat-file --batch-check [2022-07-12T20:19:46.019Z] 2022-07-12 20:19:45,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T20:19:46.019Z] 2022-07-12 20:19:45,757 [execute] INFO git cat-file --batch [2022-07-12T20:19:46.019Z] 2022-07-12 20:19:45,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T20:19:46.020Z] 2022-07-12 20:19:45,762 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-382/.semver/PR-382 [2022-07-12T20:19:46.020Z] 0.0.0 [Pipeline] } [2022-07-12T20:19:46.032Z] $ docker exec --env ******** --env ******** eca446194494ec771eaed8cca40a5b5fc71044bda672a96c14374fc3084d0eb4 ssh-agent -k [2022-07-12T20:19:46.155Z] unset SSH_AUTH_SOCK; [2022-07-12T20:19:46.155Z] unset SSH_AGENT_PID; [2022-07-12T20:19:46.155Z] echo Agent pid 80 killed; [2022-07-12T20:19:46.171Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T20:19:46.483Z] + git semver [Pipeline] } [2022-07-12T20:19:46.761Z] $ docker stop --time=1 eca446194494ec771eaed8cca40a5b5fc71044bda672a96c14374fc3084d0eb4 [2022-07-12T20:19:48.099Z] $ docker rm -f eca446194494ec771eaed8cca40a5b5fc71044bda672a96c14374fc3084d0eb4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:19:48.457Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T20:19:48.715Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T20:19:48.718Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:19:48.859Z] provisioning config files... [2022-07-12T20:19:48.867Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/config7383433082086975328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:19:49.157Z] ---> docker-login.sh [2022-07-12T20:19:49.157Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:19:49.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:49.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:49.157Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:49.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:49.157Z] [2022-07-12T20:19:49.157Z] Login Succeeded [2022-07-12T20:19:49.157Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:19:49.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:49.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:49.416Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:49.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:49.416Z] [2022-07-12T20:19:49.416Z] Login Succeeded [2022-07-12T20:19:49.416Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:19:49.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:49.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:49.416Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:49.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:49.416Z] [2022-07-12T20:19:49.416Z] Login Succeeded [2022-07-12T20:19:49.416Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:19:49.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:49.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:49.675Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:49.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:49.675Z] [2022-07-12T20:19:49.675Z] Login Succeeded [2022-07-12T20:19:49.675Z] docker.io [2022-07-12T20:19:49.675Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:19:49.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:19:49.935Z] Configure a credential helper to remove this warning. See [2022-07-12T20:19:49.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:19:49.935Z] [2022-07-12T20:19:49.935Z] Login Succeeded [2022-07-12T20:19:49.935Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:19:49.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T20:19:50.007Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:19:50.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:19:50.032Z] ========================================================= [2022-07-12T20:19:50.032Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T20:19:50.032Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:19:50.348Z] + 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-07-12T20:19:50.348Z] Sending build context to Docker daemon 6.083MB [2022-07-12T20:19:50.348Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:19:50.348Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T20:19:50.348Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T20:19:50.348Z] 2408cc74d12b: Pulling fs layer [2022-07-12T20:19:50.348Z] ea60b727a1ce: Pulling fs layer [2022-07-12T20:19:50.348Z] 30c4a7721957: Pulling fs layer [2022-07-12T20:19:50.348Z] 370296b7ddb6: Pulling fs layer [2022-07-12T20:19:50.348Z] 7c6cee850709: Pulling fs layer [2022-07-12T20:19:50.348Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T20:19:50.348Z] d94ebbe4e438: Pulling fs layer [2022-07-12T20:19:50.348Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T20:19:50.348Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T20:19:50.348Z] 370296b7ddb6: Waiting [2022-07-12T20:19:50.348Z] 7c6cee850709: Waiting [2022-07-12T20:19:50.348Z] 39a5fcdaea64: Waiting [2022-07-12T20:19:50.348Z] d94ebbe4e438: Waiting [2022-07-12T20:19:50.348Z] bcfd1f05c69d: Waiting [2022-07-12T20:19:50.348Z] 59ccb84bbe0f: Waiting [2022-07-12T20:19:50.348Z] 30c4a7721957: Verifying Checksum [2022-07-12T20:19:50.348Z] 30c4a7721957: Download complete [2022-07-12T20:19:50.348Z] ea60b727a1ce: Download complete [2022-07-12T20:19:50.611Z] 7c6cee850709: Download complete [2022-07-12T20:19:50.611Z] 2408cc74d12b: Verifying Checksum [2022-07-12T20:19:50.611Z] 2408cc74d12b: Download complete [2022-07-12T20:19:50.611Z] 39a5fcdaea64: Download complete [2022-07-12T20:19:50.611Z] d94ebbe4e438: Download complete [2022-07-12T20:19:50.611Z] 2408cc74d12b: Pull complete [2022-07-12T20:19:50.879Z] ea60b727a1ce: Pull complete [2022-07-12T20:19:50.879Z] 30c4a7721957: Pull complete [2022-07-12T20:19:50.879Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T20:19:50.879Z] 59ccb84bbe0f: Download complete [2022-07-12T20:19:51.139Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T20:19:51.139Z] bcfd1f05c69d: Download complete [2022-07-12T20:19:51.400Z] 370296b7ddb6: Verifying Checksum [2022-07-12T20:19:51.400Z] 370296b7ddb6: Download complete [2022-07-12T20:19:55.591Z] 370296b7ddb6: Pull complete [2022-07-12T20:19:55.591Z] 7c6cee850709: Pull complete [2022-07-12T20:19:55.591Z] 39a5fcdaea64: Pull complete [2022-07-12T20:19:55.591Z] d94ebbe4e438: Pull complete [2022-07-12T20:19:58.131Z] bcfd1f05c69d: Pull complete [2022-07-12T20:19:58.702Z] 59ccb84bbe0f: Pull complete [2022-07-12T20:19:58.702Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T20:19:58.702Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T20:19:58.702Z] ---> a4fb48ad2a94 [2022-07-12T20:19:58.703Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:20:00.624Z] ---> Running in 81c9ea4784ad [2022-07-12T20:20:00.624Z] Removing intermediate container 81c9ea4784ad [2022-07-12T20:20:00.624Z] ---> 0b30f6a6db73 [2022-07-12T20:20:00.624Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:20:00.624Z] ---> Running in 1ee9045a6e9a [2022-07-12T20:20:00.624Z] Removing intermediate container 1ee9045a6e9a [2022-07-12T20:20:00.624Z] ---> f1c6989ea0aa [2022-07-12T20:20:00.624Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:20:00.624Z] ---> Running in 95f723010548 [2022-07-12T20:20:01.192Z] Removing intermediate container 95f723010548 [2022-07-12T20:20:01.192Z] ---> 1d3903dde762 [2022-07-12T20:20:01.192Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:20:01.192Z] ---> Running in 24bf26a95222 [2022-07-12T20:20:01.452Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:20:02.395Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:20:02.967Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T20:20:02.967Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T20:20:02.967Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T20:20:03.229Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T20:20:03.491Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:20:03.491Z] OK: 216 MiB in 55 packages [2022-07-12T20:20:03.762Z] Removing intermediate container 24bf26a95222 [2022-07-12T20:20:03.762Z] ---> 7392d675ec9e [2022-07-12T20:20:03.762Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-12T20:20:03.820Z] Still waiting to schedule task [2022-07-12T20:20:03.820Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19755’ [2022-07-12T20:20:04.025Z] ---> Running in 1f9fb52774c0 [2022-07-12T20:20:04.025Z] Removing intermediate container 1f9fb52774c0 [2022-07-12T20:20:04.025Z] ---> e4afeef9f275 [2022-07-12T20:20:04.025Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-12T20:20:04.285Z] ---> 134333091353 [2022-07-12T20:20:04.285Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:20:04.285Z] ---> Running in 000aa9f18503 [2022-07-12T20:20:19.239Z] Removing intermediate container 000aa9f18503 [2022-07-12T20:20:19.239Z] ---> f0364c085fc1 [2022-07-12T20:20:19.239Z] Step 10/12 : COPY . . [2022-07-12T20:20:19.239Z] ---> 50e5e719e62d [2022-07-12T20:20:19.239Z] Step 11/12 : ARG MAKE='make build' [2022-07-12T20:20:19.239Z] ---> Running in d2a69c8e8fab [2022-07-12T20:20:19.501Z] Removing intermediate container d2a69c8e8fab [2022-07-12T20:20:19.501Z] ---> 7be1f99bb9e8 [2022-07-12T20:20:19.501Z] Step 12/12 : RUN $MAKE [2022-07-12T20:20:19.501Z] ---> Running in 27ed3f6aaafb [2022-07-12T20:20:19.762Z] noop [2022-07-12T20:20:20.339Z] Removing intermediate container 27ed3f6aaafb [2022-07-12T20:20:20.339Z] ---> d2e8544a2fd9 [2022-07-12T20:20:20.339Z] Successfully built d2e8544a2fd9 [2022-07-12T20:20:20.339Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:20.671Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T20:20:20.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:20:20.754Z] prd-ubuntu20.04-docker-8c-8g-19756 does not seem to be running inside a container [2022-07-12T20:20:20.800Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@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-07-12T20:20:21.232Z] $ docker top 6330690ab33dd9f55aa54e37da2d9200aa0d4934d8bdff067253cc7c567c2444 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:20:21.688Z] + go version [2022-07-12T20:20:21.688Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T20:20:21.699Z] $ docker stop --time=1 6330690ab33dd9f55aa54e37da2d9200aa0d4934d8bdff067253cc7c567c2444 [2022-07-12T20:20:23.029Z] $ docker rm -f 6330690ab33dd9f55aa54e37da2d9200aa0d4934d8bdff067253cc7c567c2444 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:23.441Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T20:20:23.441Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:20:23.533Z] prd-ubuntu20.04-docker-8c-8g-19756 does not seem to be running inside a container [2022-07-12T20:20:23.574Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-mqtt-go_PR-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@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-07-12T20:20:23.965Z] $ docker top 0876f1f603213c9f1770cfd70bd0a2af21a2bb9f0b13b6af5755a44ac058d9d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:20:24.332Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-382 [Pipeline] fileExists [Pipeline] sh [2022-07-12T20:20:24.632Z] + make test [2022-07-12T20:20:24.632Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T20:20:25.201Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-12T20:20:35.199Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-12T20:20:35.199Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.021s coverage: 21.8% of statements [2022-07-12T20:20:35.199Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-12T20:20:43.342Z] 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-07-12T20:20:43.342Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T20:20:46.657Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T20:20:46.657Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T20:20:46.657Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T20:20:46.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T20:20:46.686Z] $ docker stop --time=1 0876f1f603213c9f1770cfd70bd0a2af21a2bb9f0b13b6af5755a44ac058d9d2 [2022-07-12T20:20:48.604Z] $ docker rm -f 0876f1f603213c9f1770cfd70bd0a2af21a2bb9f0b13b6af5755a44ac058d9d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:20:49.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T20:20:49.104Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T20:20:49.544Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T20:20:49.840Z] + ls -al . [2022-07-12T20:20:49.840Z] total 180 [2022-07-12T20:20:49.840Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 20:20 . [2022-07-12T20:20:49.840Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:19 .. [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:19 .dockerignore [2022-07-12T20:20:49.840Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:20 .git [2022-07-12T20:20:49.840Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:19 .github [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:19 .gitignore [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:19 .golangci.yml [2022-07-12T20:20:49.840Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:19 .semver [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:19 Attribution.txt [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:19 CHANGELOG.md [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:19 Dockerfile [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:19 GOVERNANCE.md [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:19 Jenkinsfile [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:19 LICENSE [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:19 Makefile [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:19 OWNERS.md [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:19 README.md [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 20:19 VERSION [2022-07-12T20:20:49.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:19 bin [2022-07-12T20:20:49.840Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:19 cmd [2022-07-12T20:20:49.840Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 20:20 coverage.out [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:19 go.mod [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 20:19 go.sum [2022-07-12T20:20:49.840Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:19 internal [2022-07-12T20:20:49.840Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:19 mock [2022-07-12T20:20:49.840Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:19 snap [2022-07-12T20:20:49.840Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:20:50.149Z] + 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=7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 --label arch=amd64 --label version=0.0.0 . [2022-07-12T20:20:50.149Z] Sending build context to Docker daemon 6.102MB [2022-07-12T20:20:50.149Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:20:50.149Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T20:20:50.149Z] ---> d2e8544a2fd9 [2022-07-12T20:20:50.149Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:20:50.149Z] ---> Running in 2958dfd6c3db [2022-07-12T20:20:50.411Z] Removing intermediate container 2958dfd6c3db [2022-07-12T20:20:50.411Z] ---> 25e0a1baff9b [2022-07-12T20:20:50.411Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:20:50.411Z] ---> Running in 40d157eaf26d [2022-07-12T20:20:50.676Z] Removing intermediate container 40d157eaf26d [2022-07-12T20:20:50.676Z] ---> c1aaeedbf680 [2022-07-12T20:20:50.676Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:20:50.676Z] ---> Running in e6bd0ae565d6 [2022-07-12T20:20:51.246Z] Removing intermediate container e6bd0ae565d6 [2022-07-12T20:20:51.246Z] ---> 8cf9b2daad25 [2022-07-12T20:20:51.246Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:20:51.246Z] ---> Running in a2da862d7200 [2022-07-12T20:20:51.507Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:20:52.447Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:20:52.708Z] OK: 216 MiB in 55 packages [2022-07-12T20:20:53.287Z] Removing intermediate container a2da862d7200 [2022-07-12T20:20:53.287Z] ---> b234360026af [2022-07-12T20:20:53.287Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-12T20:20:53.287Z] ---> Running in 13c451cca17d [2022-07-12T20:20:53.287Z] Removing intermediate container 13c451cca17d [2022-07-12T20:20:53.287Z] ---> bd0c1990206b [2022-07-12T20:20:53.287Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-12T20:20:53.287Z] ---> 18b91f47348d [2022-07-12T20:20:53.287Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:20:53.548Z] ---> Running in 7dc03826f336 [2022-07-12T20:20:54.120Z] Removing intermediate container 7dc03826f336 [2022-07-12T20:20:54.120Z] ---> 9111a49d48e4 [2022-07-12T20:20:54.120Z] Step 10/24 : COPY . . [2022-07-12T20:20:54.689Z] ---> 4d16c287e407 [2022-07-12T20:20:54.689Z] Step 11/24 : ARG MAKE='make build' [2022-07-12T20:20:54.689Z] ---> Running in 02949b05b3a6 [2022-07-12T20:20:54.689Z] Removing intermediate container 02949b05b3a6 [2022-07-12T20:20:54.689Z] ---> b1af78b2cd79 [2022-07-12T20:20:54.689Z] Step 12/24 : RUN $MAKE [2022-07-12T20:20:54.689Z] ---> Running in 8d0a80d617be [2022-07-12T20:20:54.948Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-07-12T20:21:16.903Z] Removing intermediate container 8d0a80d617be [2022-07-12T20:21:16.903Z] ---> 0600a71e3705 [2022-07-12T20:21:16.903Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T20:21:16.903Z] 3.16: Pulling from library/alpine [2022-07-12T20:21:16.903Z] 2408cc74d12b: Already exists [2022-07-12T20:21:16.903Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T20:21:16.903Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T20:21:16.903Z] ---> e66264b98777 [2022-07-12T20:21:16.903Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-12T20:21:16.903Z] ---> Running in 5bddf124e7a7 [2022-07-12T20:21:16.903Z] Removing intermediate container 5bddf124e7a7 [2022-07-12T20:21:16.903Z] ---> a58dc4d5377e [2022-07-12T20:21:16.903Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T20:21:16.903Z] ---> Running in 7033d1ca1217 [2022-07-12T20:21:16.903Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T20:21:17.163Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T20:21:17.163Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T20:21:17.423Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T20:21:17.423Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T20:21:17.423Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T20:21:17.423Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T20:21:17.423Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T20:21:17.423Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:21:17.423Z] OK: 8 MiB in 20 packages [2022-07-12T20:21:17.683Z] Removing intermediate container 7033d1ca1217 [2022-07-12T20:21:17.683Z] ---> eae85f6505df [2022-07-12T20:21:17.683Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-12T20:21:18.252Z] ---> 47ab015d38bd [2022-07-12T20:21:18.252Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-12T20:21:18.511Z] ---> 7f340839cfdd [2022-07-12T20:21:18.511Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-12T20:21:18.772Z] ---> 0185674d7727 [2022-07-12T20:21:18.772Z] Step 19/24 : EXPOSE 59982 [2022-07-12T20:21:18.772Z] ---> Running in ef80d61c1e5b [2022-07-12T20:21:18.772Z] Removing intermediate container ef80d61c1e5b [2022-07-12T20:21:18.772Z] ---> 0eeceb7a6a4c [2022-07-12T20:21:18.772Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-12T20:21:18.772Z] ---> Running in 353bbf086713 [2022-07-12T20:21:19.032Z] Removing intermediate container 353bbf086713 [2022-07-12T20:21:19.032Z] ---> 5d9cb48ebd17 [2022-07-12T20:21:19.032Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T20:21:19.032Z] ---> Running in 6d9f0f7f4a92 [2022-07-12T20:21:19.032Z] Removing intermediate container 6d9f0f7f4a92 [2022-07-12T20:21:19.032Z] ---> 5917f6bb9d59 [2022-07-12T20:21:19.032Z] Step 22/24 : LABEL arch=amd64 [2022-07-12T20:21:19.291Z] ---> Running in bc128255d727 [2022-07-12T20:21:19.291Z] Removing intermediate container bc128255d727 [2022-07-12T20:21:19.291Z] ---> 540a06d292f0 [2022-07-12T20:21:19.291Z] Step 23/24 : LABEL git_sha=7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [2022-07-12T20:21:19.291Z] ---> Running in 21167456c4e1 [2022-07-12T20:21:19.550Z] Removing intermediate container 21167456c4e1 [2022-07-12T20:21:19.550Z] ---> 9689411ca962 [2022-07-12T20:21:19.550Z] Step 24/24 : LABEL version=0.0.0 [2022-07-12T20:21:19.550Z] ---> Running in 942d0f385488 [2022-07-12T20:21:19.550Z] Removing intermediate container 942d0f385488 [2022-07-12T20:21:19.550Z] ---> 0b4b22c9cc69 [2022-07-12T20:21:19.550Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T20:21:19.550Z] Successfully built 0b4b22c9cc69 [2022-07-12T20:21:19.550Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:21:19.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:21:19.941Z] [2022-07-12T20:21:19.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:21:20.251Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:21:20.251Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T20:21:20.251Z] 5eb5b503b376: Pulling fs layer [2022-07-12T20:21:20.251Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T20:21:20.251Z] ec43610c2a17: Pulling fs layer [2022-07-12T20:21:20.251Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T20:21:20.251Z] 33b1e0a273af: Pulling fs layer [2022-07-12T20:21:20.251Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T20:21:20.251Z] 2f39f015ded8: Pulling fs layer [2022-07-12T20:21:20.251Z] 33b1e0a273af: Waiting [2022-07-12T20:21:20.251Z] 5d3b04190fa2: Waiting [2022-07-12T20:21:20.251Z] 2f39f015ded8: Waiting [2022-07-12T20:21:20.251Z] 3a2ae6a8a46f: Waiting [2022-07-12T20:21:20.251Z] 5c69ac0246d0: Download complete [2022-07-12T20:21:20.251Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T20:21:20.251Z] 3a2ae6a8a46f: Download complete [2022-07-12T20:21:20.251Z] 33b1e0a273af: Verifying Checksum [2022-07-12T20:21:20.251Z] 33b1e0a273af: Download complete [2022-07-12T20:21:20.510Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T20:21:20.510Z] 5d3b04190fa2: Download complete [2022-07-12T20:21:20.510Z] ec43610c2a17: Verifying Checksum [2022-07-12T20:21:20.510Z] ec43610c2a17: Download complete [2022-07-12T20:21:20.510Z] 5eb5b503b376: Verifying Checksum [2022-07-12T20:21:20.510Z] 5eb5b503b376: Download complete [2022-07-12T20:21:21.078Z] 2f39f015ded8: Verifying Checksum [2022-07-12T20:21:21.078Z] 2f39f015ded8: Download complete [2022-07-12T20:21:22.016Z] 5eb5b503b376: Pull complete [2022-07-12T20:21:22.016Z] 5c69ac0246d0: Pull complete [2022-07-12T20:21:22.585Z] ec43610c2a17: Pull complete [2022-07-12T20:21:22.585Z] 3a2ae6a8a46f: Pull complete [2022-07-12T20:21:22.843Z] 33b1e0a273af: Pull complete [2022-07-12T20:21:22.843Z] 5d3b04190fa2: Pull complete [2022-07-12T20:21:28.120Z] 2f39f015ded8: Pull complete [2022-07-12T20:21:28.120Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T20:21:28.120Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:21:28.120Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:21:28.219Z] prd-ubuntu20.04-docker-8c-8g-19756 does not seem to be running inside a container [2022-07-12T20:21:28.251Z] $ 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-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@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-07-12T20:21:30.775Z] $ docker top 4169e87e6acf3f62b5727f380563333f1d524866a402f6aad9b9a5dcd8c72a8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:21:31.167Z] ---> job-cost.sh [2022-07-12T20:21:31.167Z] lf-activate-venv: SKIPPING [2022-07-12T20:21:31.167Z] INFO: No Stack... [2022-07-12T20:21:31.428Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T20:21:31.997Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T20:21:32.289Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives/cost.csv [2022-07-12T20:21:32.289Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T20:21:32.304Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-382-12-stack-cost] [2022-07-12T20:21:32.311Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-382-12-stack-cost] did not exist. Created. [2022-07-12T20:21:32.311Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-382-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T20:21:32.619Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T20:21:32.642Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T20:21:32.648Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-382-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T20:21:32.671Z] $ docker stop --time=1 4169e87e6acf3f62b5727f380563333f1d524866a402f6aad9b9a5dcd8c72a8a [2022-07-12T20:21:33.900Z] $ docker rm -f 4169e87e6acf3f62b5727f380563333f1d524866a402f6aad9b9a5dcd8c72a8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T20:22:39.780Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19759 in /w/workspace/gexfoundry_device-mqtt-go_PR-382 [Pipeline] { [Pipeline] ws [2022-07-12T20:22:39.789Z] Running in /w/workspace/device-mqtt-go/12 [Pipeline] { [Pipeline] checkout [2022-07-12T20:22:39.860Z] Selected Git installation does not exist. Using Default [2022-07-12T20:22:39.860Z] The recommended git tool is: NONE [2022-07-12T20:22:49.550Z] using credential edgex-jenkins-ssh [2022-07-12T20:22:49.573Z] Cloning the remote Git repository [2022-07-12T20:22:49.716Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-12T20:22:49.832Z] > git init /w/workspace/device-mqtt-go/12 # timeout=10 [2022-07-12T20:22:50.036Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-12T20:22:50.037Z] > git --version # timeout=10 [2022-07-12T20:22:50.089Z] > git --version # 'git version 2.25.1' [2022-07-12T20:22:50.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T20:22:50.208Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T20:22:51.286Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-07-12T20:22:51.310Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T20:22:51.339Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-07-12T20:22:51.377Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-07-12T20:22:51.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T20:22:51.394Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/382/head:refs/remotes/origin/PR-382 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T20:22:51.858Z] Merging remotes/origin/main commit 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec into PR head commit 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [2022-07-12T20:22:52.105Z] Merge succeeded, producing 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [2022-07-12T20:22:52.106Z] Checking out Revision 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 (PR-382) [2022-07-12T20:22:51.885Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T20:22:51.903Z] > git checkout -f 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 # timeout=10 [2022-07-12T20:22:51.997Z] > git remote # timeout=10 [2022-07-12T20:22:52.021Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T20:22:52.037Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T20:22:52.050Z] > git merge 7e9452bdc8d38730e6d9ae79bed0fd7f84de74ec # timeout=10 [2022-07-12T20:22:52.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T20:22:52.117Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T20:22:52.135Z] > git checkout -f 7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 # timeout=10 [2022-07-12T20:22:56.503Z] Commit message: "build(deps): bump github.com/spf13/cast from 1.4.1 to 1.5.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:22:57.431Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T20:22:57.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T20:22:57.431Z] Dload Upload Total Spent Left Speed [2022-07-12T20:22:57.431Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 190k 0 --:--:-- --:--:-- --:--:-- 190k [Pipeline] sh [2022-07-12T20:22:58.198Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T20:22:58.554Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T20:22:58.554Z] + sudo tee /etc/docker/daemon.new [2022-07-12T20:22:58.554Z] { [2022-07-12T20:22:58.554Z] "registry-mirrors": [ [2022-07-12T20:22:58.554Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T20:22:58.554Z] ], [2022-07-12T20:22:58.554Z] "bip": "10.250.0.254/24", [2022-07-12T20:22:58.554Z] "hosts": [ [2022-07-12T20:22:58.554Z] "tcp://0.0.0.0:5555", [2022-07-12T20:22:58.554Z] "unix:///var/run/docker.sock" [2022-07-12T20:22:58.554Z] ], [2022-07-12T20:22:58.554Z] "mtu": 1458, [2022-07-12T20:22:58.554Z] "selinux-enabled": true, [2022-07-12T20:22:58.554Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T20:22:58.554Z] } [Pipeline] sh [2022-07-12T20:22:58.913Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T20:22:59.258Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:23:17.635Z] provisioning config files... [2022-07-12T20:23:17.669Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/12@tmp/config1156657423893020665tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:23:18.386Z] ---> docker-login.sh [2022-07-12T20:23:18.386Z] nexus3.edgexfoundry.org:10001 [2022-07-12T20:23:18.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:23:19.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:23:19.602Z] Configure a credential helper to remove this warning. See [2022-07-12T20:23:19.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:23:19.602Z] [2022-07-12T20:23:19.602Z] Login Succeeded [2022-07-12T20:23:19.602Z] nexus3.edgexfoundry.org:10002 [2022-07-12T20:23:19.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:23:20.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:23:20.157Z] Configure a credential helper to remove this warning. See [2022-07-12T20:23:20.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:23:20.157Z] [2022-07-12T20:23:20.157Z] Login Succeeded [2022-07-12T20:23:20.157Z] nexus3.edgexfoundry.org:10003 [2022-07-12T20:23:20.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:23:20.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:23:20.717Z] Configure a credential helper to remove this warning. See [2022-07-12T20:23:20.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:23:20.717Z] [2022-07-12T20:23:20.717Z] Login Succeeded [2022-07-12T20:23:20.717Z] nexus3.edgexfoundry.org:10004 [2022-07-12T20:23:20.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:23:20.995Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:23:20.995Z] Configure a credential helper to remove this warning. See [2022-07-12T20:23:20.995Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:23:20.995Z] [2022-07-12T20:23:20.995Z] Login Succeeded [2022-07-12T20:23:21.273Z] docker.io [2022-07-12T20:23:21.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T20:23:21.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T20:23:21.823Z] Configure a credential helper to remove this warning. See [2022-07-12T20:23:21.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T20:23:21.823Z] [2022-07-12T20:23:21.823Z] Login Succeeded [2022-07-12T20:23:21.823Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T20:23:21.844Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T20:23:22.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:23:22.187Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T20:23:22.196Z] ========================================================= [2022-07-12T20:23:22.197Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T20:23:22.197Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:23:22.578Z] + 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-07-12T20:23:22.853Z] Sending build context to Docker daemon 3.138MB [2022-07-12T20:23:23.131Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:23:23.131Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T20:23:23.131Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T20:23:23.131Z] b3c136eddcbf: Pulling fs layer [2022-07-12T20:23:23.131Z] c0a3192eca97: Pulling fs layer [2022-07-12T20:23:23.131Z] a050256f5b6f: Pulling fs layer [2022-07-12T20:23:23.131Z] 656be50a0ddc: Pulling fs layer [2022-07-12T20:23:23.131Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T20:23:23.131Z] 46d945488cbd: Pulling fs layer [2022-07-12T20:23:23.131Z] 8a5474983e97: Pulling fs layer [2022-07-12T20:23:23.131Z] 2bbca73fdf42: Waiting [2022-07-12T20:23:23.131Z] 329c88fbcd65: Pulling fs layer [2022-07-12T20:23:23.131Z] 656be50a0ddc: Waiting [2022-07-12T20:23:23.131Z] 8a5474983e97: Waiting [2022-07-12T20:23:23.131Z] 46d945488cbd: Waiting [2022-07-12T20:23:23.131Z] a050256f5b6f: Verifying Checksum [2022-07-12T20:23:23.131Z] a050256f5b6f: Download complete [2022-07-12T20:23:23.131Z] c0a3192eca97: Verifying Checksum [2022-07-12T20:23:23.131Z] c0a3192eca97: Download complete [2022-07-12T20:23:23.131Z] 2bbca73fdf42: Download complete [2022-07-12T20:23:23.418Z] 46d945488cbd: Verifying Checksum [2022-07-12T20:23:23.418Z] 46d945488cbd: Download complete [2022-07-12T20:23:23.418Z] b3c136eddcbf: Verifying Checksum [2022-07-12T20:23:23.418Z] b3c136eddcbf: Download complete [2022-07-12T20:23:24.421Z] b3c136eddcbf: Pull complete [2022-07-12T20:23:24.698Z] 329c88fbcd65: Verifying Checksum [2022-07-12T20:23:24.698Z] 329c88fbcd65: Download complete [2022-07-12T20:23:24.977Z] c0a3192eca97: Pull complete [2022-07-12T20:23:25.256Z] a050256f5b6f: Pull complete [2022-07-12T20:23:25.858Z] 8a5474983e97: Download complete [2022-07-12T20:23:26.457Z] 656be50a0ddc: Verifying Checksum [2022-07-12T20:23:26.457Z] 656be50a0ddc: Download complete [2022-07-12T20:23:41.570Z] 656be50a0ddc: Pull complete [2022-07-12T20:23:41.570Z] 2bbca73fdf42: Pull complete [2022-07-12T20:23:41.570Z] 46d945488cbd: Pull complete [2022-07-12T20:23:48.308Z] 8a5474983e97: Pull complete [2022-07-12T20:23:49.285Z] 329c88fbcd65: Pull complete [2022-07-12T20:23:49.285Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T20:23:49.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T20:23:49.285Z] ---> ff4287adb874 [2022-07-12T20:23:49.285Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:23:50.724Z] ---> Running in 40a546357700 [2022-07-12T20:23:50.724Z] Removing intermediate container 40a546357700 [2022-07-12T20:23:50.724Z] ---> 0bb27a5dfb0d [2022-07-12T20:23:50.724Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:23:50.724Z] ---> Running in 4bc04bb82cd3 [2022-07-12T20:23:51.322Z] Removing intermediate container 4bc04bb82cd3 [2022-07-12T20:23:51.323Z] ---> fd4977a900e3 [2022-07-12T20:23:51.323Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:23:51.323Z] ---> Running in dd30b53a9d40 [2022-07-12T20:23:54.720Z] Removing intermediate container dd30b53a9d40 [2022-07-12T20:23:54.720Z] ---> 13cbd21fc8d2 [2022-07-12T20:23:54.720Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:23:54.720Z] ---> Running in 90e9a5fd80df [2022-07-12T20:23:55.701Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:23:56.680Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:23:58.114Z] (1/4) Installing openssh-keygen (9.0_p1-r1) [2022-07-12T20:23:58.114Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-07-12T20:23:58.114Z] (3/4) Installing openssh-client-common (9.0_p1-r1) [2022-07-12T20:23:58.390Z] (4/4) Installing openssh-client-default (9.0_p1-r1) [2022-07-12T20:23:58.390Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:23:58.390Z] OK: 226 MiB in 55 packages [2022-07-12T20:23:59.389Z] Removing intermediate container 90e9a5fd80df [2022-07-12T20:23:59.389Z] ---> c277ddcdd60a [2022-07-12T20:23:59.389Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-07-12T20:23:59.666Z] ---> Running in ff8511dd5caf [2022-07-12T20:23:59.939Z] Removing intermediate container ff8511dd5caf [2022-07-12T20:23:59.939Z] ---> 81e582e3ae36 [2022-07-12T20:23:59.939Z] Step 8/12 : COPY go.mod vendor* ./ [2022-07-12T20:24:00.543Z] ---> 991199b973b0 [2022-07-12T20:24:00.543Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:24:00.543Z] ---> Running in 49771aa8bc12 [2022-07-12T20:24:47.575Z] Removing intermediate container 49771aa8bc12 [2022-07-12T20:24:47.575Z] ---> d20b0dd61cb5 [2022-07-12T20:24:47.575Z] Step 10/12 : COPY . . [2022-07-12T20:24:47.575Z] ---> ea5955e603be [2022-07-12T20:24:47.575Z] Step 11/12 : ARG MAKE='make build' [2022-07-12T20:24:47.575Z] ---> Running in 64d842665e6d [2022-07-12T20:24:47.575Z] Removing intermediate container 64d842665e6d [2022-07-12T20:24:47.575Z] ---> d0a85e395d11 [2022-07-12T20:24:47.575Z] Step 12/12 : RUN $MAKE [2022-07-12T20:24:47.575Z] ---> Running in b458a2ca2681 [2022-07-12T20:24:47.852Z] noop [2022-07-12T20:24:48.452Z] Removing intermediate container b458a2ca2681 [2022-07-12T20:24:48.452Z] ---> 30d61e143976 [2022-07-12T20:24:48.452Z] Successfully built 30d61e143976 [2022-07-12T20:24:48.452Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:24:48.824Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T20:24:48.824Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:24:49.100Z] prd-ubuntu20.04-docker-arm64-4c-16g-19759 does not seem to be running inside a container [2022-07-12T20:24:49.196Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T20:24:50.598Z] $ docker top f8a03396585989343751e9870f2794a38714882545011b23c7983df4f3266c33 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:24:51.547Z] + go version [2022-07-12T20:24:51.547Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T20:24:51.584Z] $ docker stop --time=1 f8a03396585989343751e9870f2794a38714882545011b23c7983df4f3266c33 [2022-07-12T20:24:53.289Z] $ docker rm -f f8a03396585989343751e9870f2794a38714882545011b23c7983df4f3266c33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:24:53.930Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T20:24:53.930Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:24:54.191Z] prd-ubuntu20.04-docker-arm64-4c-16g-19759 does not seem to be running inside a container [2022-07-12T20:24:54.294Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-mqtt-go/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T20:24:55.689Z] $ docker top 968b7c19d720fe8b3ae46a9b80bd500d9b62cceaf183faa334f8e8ebe31064d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:24:56.635Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/12 [Pipeline] fileExists [Pipeline] sh [2022-07-12T20:24:57.330Z] + make test [2022-07-12T20:24:57.330Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T20:24:59.318Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-07-12T20:26:36.243Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-07-12T20:26:36.243Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements [2022-07-12T20:26:36.243Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-07-12T20:26:36.844Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T20:26:36.844Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T20:27:03.720Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T20:27:03.720Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T20:27:03.720Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T20:27:03.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T20:27:03.767Z] $ docker stop --time=1 968b7c19d720fe8b3ae46a9b80bd500d9b62cceaf183faa334f8e8ebe31064d9 [2022-07-12T20:27:05.539Z] $ docker rm -f 968b7c19d720fe8b3ae46a9b80bd500d9b62cceaf183faa334f8e8ebe31064d9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T20:27:06.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T20:27:06.597Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T20:27:07.129Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T20:27:07.526Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T20:27:07.865Z] + ls -al . [2022-07-12T20:27:07.865Z] total 176 [2022-07-12T20:27:07.865Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 12 20:24 . [2022-07-12T20:27:07.865Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:22 .. [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 20:22 .dockerignore [2022-07-12T20:27:07.865Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 20:22 .git [2022-07-12T20:27:07.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:22 .github [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 329 Jul 12 20:22 .gitignore [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 20:22 .golangci.yml [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jul 12 20:22 Attribution.txt [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jul 12 20:22 CHANGELOG.md [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 1932 Jul 12 20:22 Dockerfile [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 20:22 GOVERNANCE.md [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 12 20:22 Jenkinsfile [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 12 20:22 LICENSE [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 1917 Jul 12 20:22 Makefile [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 12 20:22 OWNERS.md [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jul 12 20:22 README.md [2022-07-12T20:27:07.865Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 20:19 VERSION [2022-07-12T20:27:07.865Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:22 bin [2022-07-12T20:27:07.865Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:22 cmd [2022-07-12T20:27:07.865Z] -rw-r--r-- 1 jenkins jenkins 17887 Jul 12 20:26 coverage.out [2022-07-12T20:27:07.866Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jul 12 20:22 go.mod [2022-07-12T20:27:07.866Z] -rw-rw-r-- 1 jenkins jenkins 35351 Jul 12 20:22 go.sum [2022-07-12T20:27:07.866Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 20:22 internal [2022-07-12T20:27:07.866Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 20:22 mock [2022-07-12T20:27:07.866Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 20:22 snap [2022-07-12T20:27:07.866Z] -rw-rw-r-- 1 jenkins jenkins 227 Jul 12 20:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:27:08.227Z] + 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=7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 --label arch=arm64 --label version=0.0.0 . [2022-07-12T20:27:08.505Z] Sending build context to Docker daemon 3.156MB [2022-07-12T20:27:08.505Z] Step 1/24 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T20:27:08.505Z] Step 2/24 : FROM ${BASE} AS builder [2022-07-12T20:27:08.505Z] ---> 30d61e143976 [2022-07-12T20:27:08.505Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-07-12T20:27:08.778Z] ---> Running in 21d58c5906b2 [2022-07-12T20:27:09.058Z] Removing intermediate container 21d58c5906b2 [2022-07-12T20:27:09.058Z] ---> 7e446924d64c [2022-07-12T20:27:09.058Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T20:27:09.058Z] ---> Running in c4883fd006af [2022-07-12T20:27:09.658Z] Removing intermediate container c4883fd006af [2022-07-12T20:27:09.658Z] ---> 69295be6573d [2022-07-12T20:27:09.658Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T20:27:09.658Z] ---> Running in 9327b939e35f [2022-07-12T20:27:11.643Z] Removing intermediate container 9327b939e35f [2022-07-12T20:27:11.643Z] ---> 921bd7747d82 [2022-07-12T20:27:11.643Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T20:27:11.643Z] ---> Running in dde09dcf5467 [2022-07-12T20:27:12.627Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:27:13.612Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:27:14.591Z] OK: 226 MiB in 55 packages [2022-07-12T20:27:15.580Z] Removing intermediate container dde09dcf5467 [2022-07-12T20:27:15.580Z] ---> 973daa5350b6 [2022-07-12T20:27:15.580Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-07-12T20:27:15.580Z] ---> Running in 004bfc553a9a [2022-07-12T20:27:15.855Z] Removing intermediate container 004bfc553a9a [2022-07-12T20:27:15.855Z] ---> 133de591df59 [2022-07-12T20:27:15.855Z] Step 8/24 : COPY go.mod vendor* ./ [2022-07-12T20:27:16.453Z] ---> 2e4724e61a38 [2022-07-12T20:27:16.453Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T20:27:16.730Z] ---> Running in c9eeb48a7a93 [2022-07-12T20:27:18.721Z] Removing intermediate container c9eeb48a7a93 [2022-07-12T20:27:18.721Z] ---> 8dbfbfd63075 [2022-07-12T20:27:18.721Z] Step 10/24 : COPY . . [2022-07-12T20:27:19.704Z] ---> 6beb70c9f3ed [2022-07-12T20:27:19.704Z] Step 11/24 : ARG MAKE='make build' [2022-07-12T20:27:19.704Z] ---> Running in 263a8751a24f [2022-07-12T20:27:19.989Z] Removing intermediate container 263a8751a24f [2022-07-12T20:27:19.989Z] ---> 5b297c8f1830 [2022-07-12T20:27:19.989Z] Step 12/24 : RUN $MAKE [2022-07-12T20:27:19.989Z] ---> Running in 277e9de988a8 [2022-07-12T20:27:21.445Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-07-12T20:29:43.434Z] Removing intermediate container 277e9de988a8 [2022-07-12T20:29:43.434Z] ---> 36be16f2d07f [2022-07-12T20:29:43.434Z] Step 13/24 : FROM alpine:3.16 [2022-07-12T20:29:43.434Z] 3.16: Pulling from library/alpine [2022-07-12T20:29:43.434Z] b3c136eddcbf: Already exists [2022-07-12T20:29:43.434Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T20:29:43.434Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T20:29:43.434Z] ---> 6e30ab57aeee [2022-07-12T20:29:43.434Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-07-12T20:29:43.434Z] ---> Running in 517b1251e45d [2022-07-12T20:29:43.434Z] Removing intermediate container 517b1251e45d [2022-07-12T20:29:43.434Z] ---> 46f02f9b2e3d [2022-07-12T20:29:43.434Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T20:29:43.434Z] ---> Running in fa3f8d224775 [2022-07-12T20:29:44.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T20:29:44.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T20:29:45.871Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T20:29:45.871Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T20:29:45.871Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T20:29:45.871Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T20:29:45.871Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T20:29:45.871Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T20:29:46.149Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T20:29:46.149Z] OK: 8 MiB in 20 packages [2022-07-12T20:29:47.139Z] Removing intermediate container fa3f8d224775 [2022-07-12T20:29:47.139Z] ---> 2df67181dc83 [2022-07-12T20:29:47.139Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-07-12T20:29:48.585Z] ---> 1356092f6e3b [2022-07-12T20:29:48.585Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-07-12T20:29:49.183Z] ---> e70fc62f6fd8 [2022-07-12T20:29:49.183Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-07-12T20:29:49.789Z] ---> d4410db43092 [2022-07-12T20:29:49.789Z] Step 19/24 : EXPOSE 59982 [2022-07-12T20:29:50.063Z] ---> Running in 2389efad1e43 [2022-07-12T20:29:50.339Z] Removing intermediate container 2389efad1e43 [2022-07-12T20:29:50.339Z] ---> 66405ab59a50 [2022-07-12T20:29:50.339Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-07-12T20:29:50.339Z] ---> Running in 16bd02fe9765 [2022-07-12T20:29:50.613Z] Removing intermediate container 16bd02fe9765 [2022-07-12T20:29:50.613Z] ---> ded7232c3afb [2022-07-12T20:29:50.613Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-07-12T20:29:50.890Z] ---> Running in 0fc90f7f8f96 [2022-07-12T20:29:51.169Z] Removing intermediate container 0fc90f7f8f96 [2022-07-12T20:29:51.169Z] ---> 9b054a3c919c [2022-07-12T20:29:51.169Z] Step 22/24 : LABEL arch=arm64 [2022-07-12T20:29:51.169Z] ---> Running in d351f78653dc [2022-07-12T20:29:51.768Z] Removing intermediate container d351f78653dc [2022-07-12T20:29:51.768Z] ---> 32319f5d6559 [2022-07-12T20:29:51.768Z] Step 23/24 : LABEL git_sha=7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [2022-07-12T20:29:51.768Z] ---> Running in 7d1658919f13 [2022-07-12T20:29:52.040Z] Removing intermediate container 7d1658919f13 [2022-07-12T20:29:52.040Z] ---> 9b84777f1ebf [2022-07-12T20:29:52.040Z] Step 24/24 : LABEL version=0.0.0 [2022-07-12T20:29:52.040Z] ---> Running in a1b0e3f771dd [2022-07-12T20:29:52.316Z] Removing intermediate container a1b0e3f771dd [2022-07-12T20:29:52.316Z] ---> 50e6e25edc95 [2022-07-12T20:29:52.316Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T20:29:52.316Z] Successfully built 50e6e25edc95 [2022-07-12T20:29:52.589Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:53.066Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:29:53.067Z] [2022-07-12T20:29:53.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:29:53.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:29:53.703Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T20:29:53.703Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T20:29:53.703Z] 04944245beec: Pulling fs layer [2022-07-12T20:29:53.703Z] 699f458cf7ca: Pulling fs layer [2022-07-12T20:29:53.703Z] 765212b225bb: Pulling fs layer [2022-07-12T20:29:53.703Z] f23df028b6ca: Pulling fs layer [2022-07-12T20:29:53.703Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T20:29:53.703Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T20:29:53.703Z] 765212b225bb: Waiting [2022-07-12T20:29:53.703Z] f23df028b6ca: Waiting [2022-07-12T20:29:53.704Z] d65c8cfc05b1: Waiting [2022-07-12T20:29:53.704Z] 2437ff75d9bd: Waiting [2022-07-12T20:29:53.704Z] 04944245beec: Verifying Checksum [2022-07-12T20:29:53.704Z] 04944245beec: Download complete [2022-07-12T20:29:53.704Z] 765212b225bb: Verifying Checksum [2022-07-12T20:29:53.704Z] 765212b225bb: Download complete [2022-07-12T20:29:53.704Z] f23df028b6ca: Verifying Checksum [2022-07-12T20:29:53.704Z] f23df028b6ca: Download complete [2022-07-12T20:29:53.980Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T20:29:53.980Z] d65c8cfc05b1: Download complete [2022-07-12T20:29:53.980Z] 699f458cf7ca: Verifying Checksum [2022-07-12T20:29:53.980Z] 699f458cf7ca: Download complete [2022-07-12T20:29:54.258Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T20:29:54.258Z] 8998bd30e6a1: Download complete [2022-07-12T20:29:56.902Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T20:29:56.902Z] 2437ff75d9bd: Download complete [2022-07-12T20:29:58.977Z] 8998bd30e6a1: Pull complete [2022-07-12T20:29:59.574Z] 04944245beec: Pull complete [2022-07-12T20:30:01.013Z] 699f458cf7ca: Pull complete [2022-07-12T20:30:01.286Z] 765212b225bb: Pull complete [2022-07-12T20:30:01.889Z] f23df028b6ca: Pull complete [2022-07-12T20:30:02.163Z] d65c8cfc05b1: Pull complete [2022-07-12T20:30:17.273Z] 2437ff75d9bd: Pull complete [2022-07-12T20:30:17.273Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T20:30:17.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T20:30:17.273Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:30:17.532Z] prd-ubuntu20.04-docker-arm64-4c-16g-19759 does not seem to be running inside a container [2022-07-12T20:30:17.640Z] $ 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/12 -v /w/workspace/device-mqtt-go/12:/w/workspace/device-mqtt-go/12:rw,z -v /w/workspace/device-mqtt-go/12@tmp:/w/workspace/device-mqtt-go/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T20:30:20.405Z] $ docker top 7f56395264745d582501a2808e925e9ba2c9bdba909f2522f79599c438ce7e46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:21.339Z] ---> job-cost.sh [2022-07-12T20:30:21.339Z] lf-activate-venv: SKIPPING [2022-07-12T20:30:21.339Z] INFO: No Stack... [2022-07-12T20:30:21.613Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T20:30:22.590Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T20:30:23.264Z] + + cutcat -d, -f6 [2022-07-12T20:30:23.265Z] /w/workspace/device-mqtt-go/12/archives/cost.csv [Pipeline] lock [2022-07-12T20:30:23.330Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-382-12-stack-cost] [2022-07-12T20:30:23.335Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-382-12-stack-cost] did not exist. Created. [2022-07-12T20:30:23.335Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-382-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T20:30:24.026Z] /w/workspace/device-mqtt-go/12@tmp/durable-5e0833fc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T20:30:24.716Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T20:30:24.741Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T20:30:24.788Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T20:30:24.798Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-382-12-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T20:30:24.835Z] $ docker stop --time=1 7f56395264745d582501a2808e925e9ba2c9bdba909f2522f79599c438ce7e46 [2022-07-12T20:30:26.336Z] $ docker rm -f 7f56395264745d582501a2808e925e9ba2c9bdba909f2522f79599c438ce7e46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-07-12T20:30:26.740Z] provisioning config files... [2022-07-12T20:30:26.748Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/config4445589713866569508tmp [Pipeline] { [Pipeline] sh [2022-07-12T20:30:27.042Z] + set +x [2022-07-12T20:30:27.042Z] + + curlbash -s -s https://codecov.io/bash -- [2022-07-12T20:30:27.042Z] [2022-07-12T20:30:27.042Z] [2022-07-12T20:30:27.042Z] _____ _ [2022-07-12T20:30:27.042Z] / ____| | | [2022-07-12T20:30:27.042Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T20:30:27.042Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T20:30:27.042Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T20:30:27.042Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T20:30:27.042Z] Bash-1.0.6 [2022-07-12T20:30:27.042Z] [2022-07-12T20:30:27.042Z] [2022-07-12T20:30:27.042Z] ==> git version 2.25.1 found [2022-07-12T20:30:27.042Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-07-12T20:30:27.042Z] Release-Date: 2020-01-08 [2022-07-12T20:30:27.042Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-07-12T20:30:27.042Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T20:30:27.042Z] ==> Jenkins CI detected. [2022-07-12T20:30:27.042Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-382 [2022-07-12T20:30:27.042Z] project root: . [2022-07-12T20:30:27.042Z] --> token set from env [2022-07-12T20:30:27.042Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T20:30:27.042Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T20:30:27.042Z] ==> Python coveragepy not found [2022-07-12T20:30:27.042Z] ==> Searching for coverage reports in: [2022-07-12T20:30:27.042Z] + . [2022-07-12T20:30:27.042Z] -> Found 1 reports [2022-07-12T20:30:27.042Z] ==> Detecting git/mercurial file structure [2022-07-12T20:30:27.042Z] ==> Reading reports [2022-07-12T20:30:27.042Z] + ./coverage.out bytes=17887 [2022-07-12T20:30:27.042Z] ==> Appending adjustments [2022-07-12T20:30:27.042Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T20:30:27.302Z] + Found adjustments [2022-07-12T20:30:27.302Z] ==> Gzipping contents [2022-07-12T20:30:27.302Z] 4.0K /tmp/codecov.D2xrum.gz [2022-07-12T20:30:27.302Z] ==> Uploading reports [2022-07-12T20:30:27.302Z] url: https://codecov.io [2022-07-12T20:30:27.302Z] query: branch=PR-382&commit=7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-382%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=382&job=&cmd_args= [2022-07-12T20:30:27.302Z] -> Pinging Codecov [2022-07-12T20:30:27.302Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-382&commit=7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-382%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=382&job=&cmd_args= [2022-07-12T20:30:27.563Z] -> Uploading to [2022-07-12T20:30:27.563Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/7D719EC7BBE17E464838252E33014C33/7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31/2bb68bf6-9c88-47b7-82cd-ac427288ae4a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T203027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5e4ef26cb52386c9d4f75fdee14fd05e4199e55194dc887c810eefab5943b1e3 [2022-07-12T20:30:27.563Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T20:30:27.563Z] Dload Upload Total Spent Left Speed [2022-07-12T20:30:27.824Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3220 0 0 100 3220 0 15784 --:--:-- --:--:-- --:--:-- 15784 [2022-07-12T20:30:27.824Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/7ca8e37b0e9b47d4c2e1c777e3c92d3e7420af31 [Pipeline] } [2022-07-12T20:30:27.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-07-12T20:30:28.513Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives ] [2022-07-12T20:30:28.513Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives [2022-07-12T20:30:28.513Z] total 16 [2022-07-12T20:30:28.513Z] drwxr-xr-x 3 root root 4096 Jul 12 20:21 . [2022-07-12T20:30:28.513Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 20:21 .. [2022-07-12T20:30:28.513Z] drwxr-xr-x 2 root root 4096 Jul 12 20:21 cost [2022-07-12T20:30:28.513Z] -rw-r--r-- 1 root root 86 Jul 12 20:21 cost.csv [2022-07-12T20:30:28.513Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives [2022-07-12T20:30:28.513Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives [2022-07-12T20:30:28.513Z] total 16 [2022-07-12T20:30:28.513Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 20:21 . [2022-07-12T20:30:28.513Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 20:21 .. [2022-07-12T20:30:28.513Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 20:21 cost [2022-07-12T20:30:28.513Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 12 20:21 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:28.811Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:29.682Z] ---> package-listing.sh [2022-07-12T20:30:29.682Z] ++ facter osfamily [2022-07-12T20:30:29.682Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T20:30:29.942Z] + OS_FAMILY=debian [2022-07-12T20:30:29.942Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-382 [2022-07-12T20:30:29.942Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T20:30:29.942Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T20:30:29.942Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T20:30:29.942Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T20:30:29.942Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-382 ']' [2022-07-12T20:30:29.942Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T20:30:29.942Z] + case "${OS_FAMILY}" in [2022-07-12T20:30:29.942Z] + dpkg -l [2022-07-12T20:30:29.942Z] + grep '^ii' [2022-07-12T20:30:29.942Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T20:30:29.942Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T20:30:29.942Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T20:30:29.942Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-382 ']' [2022-07-12T20:30:29.942Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives/ [2022-07-12T20:30:29.942Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-382/archives/ [Pipeline] echo [2022-07-12T20:30:29.953Z] 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-382/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T20:30:30.233Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T20:30:30.798Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T20:30:30.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T20:30:30.873Z] prd-ubuntu20.04-docker-8c-8g-19756 does not seem to be running inside a container [2022-07-12T20:30:30.904Z] $ 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-382/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-382 -v /w/workspace/gexfoundry_device-mqtt-go_PR-382:/w/workspace/gexfoundry_device-mqtt-go_PR-382:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-382@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-07-12T20:30:31.170Z] $ docker top 3e4f29b10284d58e02cd0f13cb7eccc5437f96999c6ad81616418092bf41761e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T20:30:31.532Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T20:30:31.820Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T20:30:32.108Z] + ls /var/log/sa-host [2022-07-12T20:30:32.108Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T20:30:32.172Z] provisioning config files... [2022-07-12T20:30:32.180Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-382@tmp/config2094882828625789690tmp [Pipeline] { [Pipeline] echo [2022-07-12T20:30:32.194Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:32.477Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T20:30:32.485Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:32.813Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T20:30:32.822Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:33.110Z] ---> sudo-logs.sh [2022-07-12T20:30:33.110Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T20:30:33.132Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:33.414Z] ---> job-cost.sh [2022-07-12T20:30:33.414Z] lf-activate-venv: SKIPPING [2022-07-12T20:30:33.414Z] DEBUG: total: 0.2199999988079071 [2022-07-12T20:30:33.414Z] INFO: Retrieving Stack Cost... [2022-07-12T20:30:33.676Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T20:30:34.248Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T20:30:34.260Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T20:30:34.549Z] ---> logs-deploy.sh [2022-07-12T20:30:34.549Z] lf-activate-venv: SKIPPING [2022-07-12T20:30:34.549Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-382/12 [2022-07-12T20:30:34.549Z] INFO: archiving workspace using pattern(s): [2022-07-12T20:30:35.488Z] Archives upload complete. [2022-07-12T20:30:35.488Z] INFO: archiving logs to Nexus