Pull request #414 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 96c3debd235dda18a7fa7c4abd6d74e869e80f48+e3b17c36aac665b2f67a5aeebf35b3bad318417a (0605c21ff2f401aaea8be4931af633ec15ed5fa0) 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-ssh8733249967229927425.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2788795358633942761.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3339339750981918775.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh13058673090187950744.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4048700570053041621.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-679 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-414 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit 96c3debd235dda18a7fa7c4abd6d74e869e80f48 Merge succeeded, producing 96c3debd235dda18a7fa7c4abd6d74e869e80f48 Checking out Revision 96c3debd235dda18a7fa7c4abd6d74e869e80f48 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-22T23:00:36.113Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-22T23:00:36.173Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-22T23:00:36.190Z] ========================================================= [2022-09-22T23:00:36.190Z] EdgeX Global Pipelines Version Info [2022-09-22T23:00:36.190Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:00:36.911Z] ------------------- [2022-09-22T23:00:36.911Z] stable info: [2022-09-22T23:00:36.911Z] ------------------- [2022-09-22T23:00:36.911Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-22T23:00:36.911Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T23:00:36.911Z] Message: update stable to v1.0.239 [2022-09-22T23:00:37.481Z] ------------------- [2022-09-22T23:00:37.481Z] experimental info: [2022-09-22T23:00:37.481Z] ------------------- [2022-09-22T23:00:37.481Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-22T23:00:37.481Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-22T23:00:37.481Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-22T23:00:37.648Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-09-22T23:00:37.666Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-09-22T23:00:37.675Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-22T23:00:37.692Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-22T23:00:37.708Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-22T23:00:37.721Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-22T23:00:37.732Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-22T23:00:37.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-22T23:00:37.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-22T23:00:37.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-22T23:00:37.779Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-22T23:00:37.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-09-22T23:00:37.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-22T23:00:37.811Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-22T23:00:37.822Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T23:00:37.833Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-22T23:00:37.843Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T23:00:37.854Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-22T23:00:37.866Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-22T23:00:37.877Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-22T23:00:37.888Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-22T23:00:37.899Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-22T23:00:37.911Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-22T23:00:37.922Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-22T23:00:37.933Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-22T23:00:37.945Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-22T23:00:37.956Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-22T23:00:37.967Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo [2022-09-22T23:00:37.978Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo [2022-09-22T23:00:37.990Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo [2022-09-22T23:00:38.000Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] echo [2022-09-22T23:00:38.011Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96c3deb [Pipeline] echo [2022-09-22T23:00:38.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:00:38.061Z] provisioning config files... [2022-09-22T23:00:38.076Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config17673244292756845112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:00:38.375Z] ---> docker-login.sh [2022-09-22T23:00:38.375Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:00:38.635Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:38.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:38.894Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:38.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:38.894Z] [2022-09-22T23:00:38.894Z] Login Succeeded [2022-09-22T23:00:38.894Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:00:38.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:38.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:38.894Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:38.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:38.894Z] [2022-09-22T23:00:38.894Z] Login Succeeded [2022-09-22T23:00:38.894Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:00:38.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:39.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:39.153Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:39.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:39.153Z] [2022-09-22T23:00:39.153Z] Login Succeeded [2022-09-22T23:00:39.153Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:00:39.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:39.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:39.153Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:39.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:39.153Z] [2022-09-22T23:00:39.153Z] Login Succeeded [2022-09-22T23:00:39.153Z] docker.io [2022-09-22T23:00:39.153Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:39.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:39.722Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:39.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:39.722Z] [2022-09-22T23:00:39.722Z] Login Succeeded [2022-09-22T23:00:39.722Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:00:39.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-22T23:00:40.077Z] + git rev-list -1 --merges 96c3debd235dda18a7fa7c4abd6d74e869e80f48~1..96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] echo [2022-09-22T23:00:40.107Z] -----------> git rev-list -1 --merges 96c3debd235dda18a7fa7c4abd6d74e869e80f48~1..96c3debd235dda18a7fa7c4abd6d74e869e80f48 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [false] [Pipeline] sh [2022-09-22T23:00:40.391Z] + git log --format=format:%s -1 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] echo [2022-09-22T23:00:40.405Z] ========================================================= [2022-09-22T23:00:40.405Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-22T23:00:40.405Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:00:40.714Z] + git log --format=format:%s -1 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] echo [2022-09-22T23:00:40.726Z] [semverPrep] GIT_COMMIT: 96c3debd235dda18a7fa7c4abd6d74e869e80f48, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-22T23:00:40.735Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-22T23:00:41.079Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-22T23:00:41.079Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-22T23:00:41.079Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-22T23:00:41.079Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-22T23:00:41.079Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-22T23:00:41.079Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-22T23:00:41.079Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:00:41.474Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:00:41.474Z] [2022-09-22T23:00:41.474Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:00:41.777Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:00:41.778Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-22T23:00:41.778Z] b85a868b505f: Pulling fs layer [2022-09-22T23:00:41.778Z] e2be974225ed: Pulling fs layer [2022-09-22T23:00:41.778Z] 339a4e72a1f5: Pulling fs layer [2022-09-22T23:00:41.778Z] 988bab9f4d93: Pulling fs layer [2022-09-22T23:00:41.778Z] 1469e6f7b9e6: Pulling fs layer [2022-09-22T23:00:41.778Z] 988bab9f4d93: Waiting [2022-09-22T23:00:41.778Z] eaf3925da568: Pulling fs layer [2022-09-22T23:00:41.778Z] bab4dde63d76: Pulling fs layer [2022-09-22T23:00:41.778Z] bde34c3a00c8: Pulling fs layer [2022-09-22T23:00:41.778Z] 1469e6f7b9e6: Waiting [2022-09-22T23:00:41.778Z] eaf3925da568: Waiting [2022-09-22T23:00:41.778Z] bab4dde63d76: Waiting [2022-09-22T23:00:41.778Z] b352a97aabf1: Pulling fs layer [2022-09-22T23:00:41.778Z] 4872d77fe225: Pulling fs layer [2022-09-22T23:00:41.778Z] b352a97aabf1: Waiting [2022-09-22T23:00:41.778Z] 4872d77fe225: Waiting [2022-09-22T23:00:41.778Z] 5851b861e8e6: Pulling fs layer [2022-09-22T23:00:41.778Z] 5851b861e8e6: Waiting [2022-09-22T23:00:41.778Z] e2be974225ed: Verifying Checksum [2022-09-22T23:00:41.778Z] e2be974225ed: Download complete [2022-09-22T23:00:41.778Z] 988bab9f4d93: Verifying Checksum [2022-09-22T23:00:41.778Z] 988bab9f4d93: Download complete [2022-09-22T23:00:42.041Z] 1469e6f7b9e6: Verifying Checksum [2022-09-22T23:00:42.041Z] 1469e6f7b9e6: Download complete [2022-09-22T23:00:42.041Z] 339a4e72a1f5: Verifying Checksum [2022-09-22T23:00:42.041Z] 339a4e72a1f5: Download complete [2022-09-22T23:00:42.041Z] eaf3925da568: Verifying Checksum [2022-09-22T23:00:42.041Z] eaf3925da568: Download complete [2022-09-22T23:00:42.041Z] bde34c3a00c8: Verifying Checksum [2022-09-22T23:00:42.041Z] bde34c3a00c8: Download complete [2022-09-22T23:00:42.041Z] b352a97aabf1: Verifying Checksum [2022-09-22T23:00:42.041Z] b352a97aabf1: Download complete [2022-09-22T23:00:42.041Z] 4872d77fe225: Verifying Checksum [2022-09-22T23:00:42.041Z] 4872d77fe225: Download complete [2022-09-22T23:00:42.041Z] b85a868b505f: Verifying Checksum [2022-09-22T23:00:42.041Z] b85a868b505f: Download complete [2022-09-22T23:00:42.298Z] bab4dde63d76: Verifying Checksum [2022-09-22T23:00:42.298Z] bab4dde63d76: Download complete [2022-09-22T23:00:43.236Z] b85a868b505f: Pull complete [2022-09-22T23:00:43.494Z] e2be974225ed: Pull complete [2022-09-22T23:00:44.062Z] 339a4e72a1f5: Pull complete [2022-09-22T23:00:44.062Z] 988bab9f4d93: Pull complete [2022-09-22T23:00:44.323Z] 1469e6f7b9e6: Pull complete [2022-09-22T23:00:44.583Z] eaf3925da568: Pull complete [2022-09-22T23:00:46.490Z] bab4dde63d76: Pull complete [2022-09-22T23:00:46.490Z] bde34c3a00c8: Pull complete [2022-09-22T23:00:46.490Z] b352a97aabf1: Pull complete [2022-09-22T23:00:46.751Z] 4872d77fe225: Pull complete [2022-09-22T23:00:46.751Z] 5851b861e8e6: Pull complete [2022-09-22T23:00:46.751Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-22T23:00:46.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-22T23:00:46.751Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:00:46.853Z] prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container [2022-09-22T23:00:46.881Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-22T23:00:49.063Z] $ docker top 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 -eo pid,comm [2022-09-22T23:00:49.131Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-22T23:00:49.132Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-22T23:00:49.160Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T23:00:49.160Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T23:00:49.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T23:00:49.266Z] $ docker exec 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 ssh-agent [2022-09-22T23:00:49.384Z] SSH_AUTH_SOCK=/tmp/ssh-57tDOyWAg40z/agent.32 [2022-09-22T23:00:49.384Z] SSH_AGENT_PID=38 [2022-09-22T23:00:49.390Z] Running ssh-add (command line suppressed) [2022-09-22T23:00:49.508Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_10238314354391557614.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_10238314354391557614.key) [2022-09-22T23:00:49.530Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T23:00:49.818Z] + git tag --points-at HEAD [Pipeline] } [2022-09-22T23:00:49.825Z] $ docker exec --env ******** --env ******** 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 ssh-agent -k [2022-09-22T23:00:49.929Z] unset SSH_AUTH_SOCK; [2022-09-22T23:00:49.929Z] unset SSH_AGENT_PID; [2022-09-22T23:00:49.929Z] echo Agent pid 38 killed; [2022-09-22T23:00:49.945Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-22T23:00:49.966Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-22T23:00:49.966Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-22T23:00:50.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-22T23:00:50.087Z] $ docker exec 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 ssh-agent [2022-09-22T23:00:50.201Z] SSH_AUTH_SOCK=/tmp/ssh-xnhiWUiFKLXt/agent.69 [2022-09-22T23:00:50.201Z] SSH_AGENT_PID=75 [2022-09-22T23:00:50.205Z] Running ssh-add (command line suppressed) [2022-09-22T23:00:50.312Z] Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8362560837582675618.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8362560837582675618.key) [2022-09-22T23:00:50.329Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-22T23:00:50.620Z] + git semver init [2022-09-22T23:00:50.880Z] 2022-09-22 23:00:50,795 [run_init] DEBUG init version:0.0.0 force:False [2022-09-22T23:00:50.880Z] 2022-09-22 23:00:50,796 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver [2022-09-22T23:00:50.880Z] 2022-09-22 23:00:50,796 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver [2022-09-22T23:00:50.880Z] 2022-09-22 23:00:50,796 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414, universal_newlines=False, shell=None, istream=None) [2022-09-22T23:00:51.818Z] 2022-09-22 23:00:51,670 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude [2022-09-22T23:00:51.818Z] 2022-09-22 23:00:51,670 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False [2022-09-22T23:00:51.818Z] 2022-09-22 23:00:51,670 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 [2022-09-22T23:00:51.818Z] 2022-09-22 23:00:51,675 [execute] INFO git cat-file --batch-check [2022-09-22T23:00:51.818Z] 2022-09-22 23:00:51,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T23:00:51.818Z] 2022-09-22 23:00:51,681 [execute] INFO git cat-file --batch [2022-09-22T23:00:51.818Z] 2022-09-22 23:00:51,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) [2022-09-22T23:00:51.818Z] 2022-09-22 23:00:51,688 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 [2022-09-22T23:00:51.818Z] 0.0.0 [Pipeline] } [2022-09-22T23:00:51.824Z] $ docker exec --env ******** --env ******** 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 ssh-agent -k [2022-09-22T23:00:51.929Z] unset SSH_AUTH_SOCK; [2022-09-22T23:00:51.930Z] unset SSH_AGENT_PID; [2022-09-22T23:00:51.931Z] echo Agent pid 75 killed; [2022-09-22T23:00:51.947Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-22T23:00:52.250Z] + git semver [Pipeline] } [2022-09-22T23:00:52.519Z] $ docker stop --time=1 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 [2022-09-22T23:00:53.820Z] $ docker rm -f 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:00:54.169Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-22T23:00:54.336Z] Stashed 1 file(s) [Pipeline] echo [2022-09-22T23:00:54.338Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:00:54.482Z] provisioning config files... [2022-09-22T23:00:54.492Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config5791346375171542195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:00:54.792Z] ---> docker-login.sh [2022-09-22T23:00:54.792Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:00:54.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:54.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:54.792Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:54.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:54.792Z] [2022-09-22T23:00:54.792Z] Login Succeeded [2022-09-22T23:00:54.792Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:00:54.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:54.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:54.792Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:54.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:54.792Z] [2022-09-22T23:00:54.792Z] Login Succeeded [2022-09-22T23:00:54.792Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:00:55.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:55.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:55.052Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:55.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:55.052Z] [2022-09-22T23:00:55.052Z] Login Succeeded [2022-09-22T23:00:55.052Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:00:55.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:55.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:55.052Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:55.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:55.052Z] [2022-09-22T23:00:55.052Z] Login Succeeded [2022-09-22T23:00:55.052Z] docker.io [2022-09-22T23:00:55.309Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:00:55.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:00:55.567Z] Configure a credential helper to remove this warning. See [2022-09-22T23:00:55.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:00:55.567Z] [2022-09-22T23:00:55.567Z] Login Succeeded [2022-09-22T23:00:55.567Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:00:55.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T23:00:55.668Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:00:55.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:00:55.690Z] ========================================================= [2022-09-22T23:00:55.690Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-22T23:00:55.690Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:00:56.011Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-22T23:00:56.012Z] Sending build context to Docker daemon 6.145MB [2022-09-22T23:00:56.012Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:00:56.012Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T23:00:56.012Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-22T23:00:56.012Z] 2408cc74d12b: Pulling fs layer [2022-09-22T23:00:56.012Z] ea60b727a1ce: Pulling fs layer [2022-09-22T23:00:56.012Z] 30c4a7721957: Pulling fs layer [2022-09-22T23:00:56.012Z] 370296b7ddb6: Pulling fs layer [2022-09-22T23:00:56.012Z] 7c6cee850709: Pulling fs layer [2022-09-22T23:00:56.012Z] 39a5fcdaea64: Pulling fs layer [2022-09-22T23:00:56.012Z] d94ebbe4e438: Pulling fs layer [2022-09-22T23:00:56.012Z] bcfd1f05c69d: Pulling fs layer [2022-09-22T23:00:56.012Z] 59ccb84bbe0f: Pulling fs layer [2022-09-22T23:00:56.012Z] bcfd1f05c69d: Waiting [2022-09-22T23:00:56.012Z] 370296b7ddb6: Waiting [2022-09-22T23:00:56.012Z] 39a5fcdaea64: Waiting [2022-09-22T23:00:56.012Z] 59ccb84bbe0f: Waiting [2022-09-22T23:00:56.012Z] d94ebbe4e438: Waiting [2022-09-22T23:00:56.012Z] 7c6cee850709: Waiting [2022-09-22T23:00:56.012Z] 30c4a7721957: Verifying Checksum [2022-09-22T23:00:56.012Z] 30c4a7721957: Download complete [2022-09-22T23:00:56.012Z] ea60b727a1ce: Download complete [2022-09-22T23:00:56.276Z] 7c6cee850709: Verifying Checksum [2022-09-22T23:00:56.276Z] 7c6cee850709: Download complete [2022-09-22T23:00:56.276Z] 39a5fcdaea64: Verifying Checksum [2022-09-22T23:00:56.276Z] 39a5fcdaea64: Download complete [2022-09-22T23:00:56.276Z] 2408cc74d12b: Download complete [2022-09-22T23:00:56.276Z] d94ebbe4e438: Verifying Checksum [2022-09-22T23:00:56.276Z] d94ebbe4e438: Download complete [2022-09-22T23:00:56.276Z] 2408cc74d12b: Pull complete [2022-09-22T23:00:56.547Z] ea60b727a1ce: Pull complete [2022-09-22T23:00:56.547Z] 30c4a7721957: Pull complete [2022-09-22T23:00:56.809Z] 59ccb84bbe0f: Verifying Checksum [2022-09-22T23:00:56.809Z] 59ccb84bbe0f: Download complete [2022-09-22T23:00:56.809Z] bcfd1f05c69d: Verifying Checksum [2022-09-22T23:00:56.809Z] bcfd1f05c69d: Download complete [2022-09-22T23:00:57.068Z] 370296b7ddb6: Verifying Checksum [2022-09-22T23:00:57.068Z] 370296b7ddb6: Download complete [2022-09-22T23:01:01.252Z] 370296b7ddb6: Pull complete [2022-09-22T23:01:01.252Z] 7c6cee850709: Pull complete [2022-09-22T23:01:01.252Z] 39a5fcdaea64: Pull complete [2022-09-22T23:01:01.252Z] d94ebbe4e438: Pull complete [2022-09-22T23:01:03.163Z] bcfd1f05c69d: Pull complete [2022-09-22T23:01:04.098Z] 59ccb84bbe0f: Pull complete [2022-09-22T23:01:04.098Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-22T23:01:04.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-22T23:01:04.098Z] ---> a4fb48ad2a94 [2022-09-22T23:01:04.098Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:01:07.388Z] ---> Running in ee92e03cdf88 [2022-09-22T23:01:07.388Z] Removing intermediate container ee92e03cdf88 [2022-09-22T23:01:07.388Z] ---> 38ede0905741 [2022-09-22T23:01:07.388Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:01:07.647Z] ---> Running in 15b69dab0d72 [2022-09-22T23:01:07.647Z] Removing intermediate container 15b69dab0d72 [2022-09-22T23:01:07.647Z] ---> e181a29d7100 [2022-09-22T23:01:07.648Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T23:01:07.648Z] ---> Running in 8b1fe2e1bc5f [2022-09-22T23:01:07.648Z] Removing intermediate container 8b1fe2e1bc5f [2022-09-22T23:01:07.648Z] ---> 546921d2502e [2022-09-22T23:01:07.648Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:01:07.907Z] ---> Running in b98310c0a7b1 [2022-09-22T23:01:07.907Z] Removing intermediate container b98310c0a7b1 [2022-09-22T23:01:07.907Z] ---> 91419d001d31 [2022-09-22T23:01:07.907Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:01:07.907Z] ---> Running in 77647138b5d7 [2022-09-22T23:01:08.486Z] Removing intermediate container 77647138b5d7 [2022-09-22T23:01:08.486Z] ---> 775cf4920747 [2022-09-22T23:01:08.486Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:01:08.486Z] ---> Running in 4da74d002823 [2022-09-22T23:01:08.744Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:01:09.445Z] Still waiting to schedule task [2022-09-22T23:01:09.445Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-09-22T23:01:09.680Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:01:09.946Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T23:01:09.946Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T23:01:10.205Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T23:01:10.205Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T23:01:10.205Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T23:01:10.205Z] OK: 216 MiB in 55 packages [2022-09-22T23:01:10.775Z] Removing intermediate container 4da74d002823 [2022-09-22T23:01:10.775Z] ---> d95e6794d3ef [2022-09-22T23:01:10.775Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-09-22T23:01:10.775Z] ---> Running in 720075e5bf6b [2022-09-22T23:01:11.034Z] Removing intermediate container 720075e5bf6b [2022-09-22T23:01:11.034Z] ---> fb3ec93e01ae [2022-09-22T23:01:11.034Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T23:01:11.034Z] ---> bd58fa7138e5 [2022-09-22T23:01:11.034Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:01:11.034Z] ---> Running in a55fc5274f9a [2022-09-22T23:01:32.975Z] Removing intermediate container a55fc5274f9a [2022-09-22T23:01:32.975Z] ---> ab77d7a404d9 [2022-09-22T23:01:32.975Z] Step 12/13 : COPY . . [2022-09-22T23:01:32.975Z] ---> 8f294adc6d80 [2022-09-22T23:01:32.975Z] Step 13/13 : RUN $MAKE [2022-09-22T23:01:32.975Z] ---> Running in a49f988b7332 [2022-09-22T23:01:32.975Z] noop [2022-09-22T23:01:32.975Z] Removing intermediate container a49f988b7332 [2022-09-22T23:01:32.976Z] ---> 45b44aa1de38 [2022-09-22T23:01:32.976Z] Successfully built 45b44aa1de38 [2022-09-22T23:01:32.976Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:01:33.287Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T23:01:33.287Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:01:33.350Z] prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container [2022-09-22T23:01:33.382Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T23:01:33.716Z] $ docker top 439151cc6d51695c4806c716fc605216db031ac2be19026502ff3d0e557b4991 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:01:34.046Z] + go version [2022-09-22T23:01:34.046Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-22T23:01:34.063Z] $ docker stop --time=1 439151cc6d51695c4806c716fc605216db031ac2be19026502ff3d0e557b4991 [2022-09-22T23:01:35.340Z] $ docker rm -f 439151cc6d51695c4806c716fc605216db031ac2be19026502ff3d0e557b4991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:01:35.736Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-22T23:01:35.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:01:35.796Z] prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container [2022-09-22T23:01:35.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-22T23:01:36.176Z] $ docker top 3a05f3ffd158139002a871b3e42624650eb8604d4c063107d63c652e821d7621 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:01:36.512Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh [2022-09-22T23:01:36.805Z] + make test [2022-09-22T23:01:36.805Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T23:01:37.063Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-22T23:01:47.041Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-22T23:01:47.300Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements [2022-09-22T23:01:47.300Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-22T23:01:55.404Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-22T23:01:55.404Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T23:01:58.683Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T23:01:58.683Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T23:01:58.683Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T23:01:58.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T23:01:58.710Z] $ docker stop --time=1 3a05f3ffd158139002a871b3e42624650eb8604d4c063107d63c652e821d7621 [2022-09-22T23:02:00.951Z] $ docker rm -f 3a05f3ffd158139002a871b3e42624650eb8604d4c063107d63c652e821d7621 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:02:01.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T23:02:01.435Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-22T23:02:01.853Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T23:02:02.133Z] + ls -al . [2022-09-22T23:02:02.133Z] total 184 [2022-09-22T23:02:02.133Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 23:01 . [2022-09-22T23:02:02.133Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:00 .. [2022-09-22T23:02:02.133Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 23:00 .dockerignore [2022-09-22T23:02:02.133Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:01 .git [2022-09-22T23:02:02.133Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 .github [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 23:00 .gitignore [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:00 .golangci.yml [2022-09-22T23:02:02.134Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:00 .semver [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 9293 Sep 22 23:00 Attribution.txt [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 22 23:00 CHANGELOG.md [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 1988 Sep 22 23:00 Dockerfile [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:00 GOVERNANCE.md [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 22 23:00 Jenkinsfile [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:00 LICENSE [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 2126 Sep 22 23:00 Makefile [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 23:00 OWNERS.md [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 3165 Sep 22 23:00 README.md [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:00 VERSION [2022-09-22T23:02:02.134Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:00 bin [2022-09-22T23:02:02.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 cmd [2022-09-22T23:02:02.134Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 22 23:01 coverage.out [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 3523 Sep 22 23:00 go.mod [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 23:00 go.sum [2022-09-22T23:02:02.134Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 internal [2022-09-22T23:02:02.134Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:00 mock [2022-09-22T23:02:02.134Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:00 snap [2022-09-22T23:02:02.134Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 22 23:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:02.449Z] + 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=96c3debd235dda18a7fa7c4abd6d74e869e80f48 --label arch=amd64 --label version=0.0.0 . [2022-09-22T23:02:02.450Z] Sending build context to Docker daemon 6.163MB [2022-09-22T23:02:02.450Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:02:02.450Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T23:02:02.450Z] ---> 45b44aa1de38 [2022-09-22T23:02:02.450Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:02:02.708Z] ---> Running in f0e432a13937 [2022-09-22T23:02:02.708Z] Removing intermediate container f0e432a13937 [2022-09-22T23:02:02.708Z] ---> aedafb33a4ea [2022-09-22T23:02:02.708Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:02:02.708Z] ---> Running in 967ccae246e0 [2022-09-22T23:02:02.708Z] Removing intermediate container 967ccae246e0 [2022-09-22T23:02:02.708Z] ---> 924adf56e52c [2022-09-22T23:02:02.708Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T23:02:02.708Z] ---> Running in 283c38c04b64 [2022-09-22T23:02:02.967Z] Removing intermediate container 283c38c04b64 [2022-09-22T23:02:02.967Z] ---> 8b3d20ce7833 [2022-09-22T23:02:02.967Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:02:02.967Z] ---> Running in 30f0febb7f69 [2022-09-22T23:02:02.967Z] Removing intermediate container 30f0febb7f69 [2022-09-22T23:02:02.967Z] ---> cf49bd503b07 [2022-09-22T23:02:02.967Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:02:02.967Z] ---> Running in 83c2c45fac2b [2022-09-22T23:02:03.534Z] Removing intermediate container 83c2c45fac2b [2022-09-22T23:02:03.534Z] ---> cd5fca51b5b2 [2022-09-22T23:02:03.534Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:02:03.534Z] ---> Running in a78c748d3575 [2022-09-22T23:02:03.793Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:02:04.726Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:02:04.985Z] OK: 216 MiB in 55 packages [2022-09-22T23:02:05.551Z] Removing intermediate container a78c748d3575 [2022-09-22T23:02:05.551Z] ---> 5f12203d1954 [2022-09-22T23:02:05.551Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-09-22T23:02:05.551Z] ---> Running in a44aea38376d [2022-09-22T23:02:05.551Z] Removing intermediate container a44aea38376d [2022-09-22T23:02:05.551Z] ---> 66f07f74ab21 [2022-09-22T23:02:05.551Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-22T23:02:05.551Z] ---> a6a68328fd98 [2022-09-22T23:02:05.551Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:02:05.811Z] ---> Running in e5b8b92c854f [2022-09-22T23:02:06.377Z] Removing intermediate container e5b8b92c854f [2022-09-22T23:02:06.377Z] ---> ca22a0ce4ef7 [2022-09-22T23:02:06.377Z] Step 12/25 : COPY . . [2022-09-22T23:02:06.636Z] ---> 2195297bf7fb [2022-09-22T23:02:06.636Z] Step 13/25 : RUN $MAKE [2022-09-22T23:02:06.636Z] ---> Running in 1785fe6cca9c [2022-09-22T23:02:06.894Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-09-22T23:02:28.814Z] Removing intermediate container 1785fe6cca9c [2022-09-22T23:02:28.814Z] ---> 8361b0131698 [2022-09-22T23:02:28.814Z] Step 14/25 : FROM alpine:3.16 [2022-09-22T23:02:29.746Z] 3.16: Pulling from library/alpine [2022-09-22T23:02:29.746Z] 213ec9aee27d: Pulling fs layer [2022-09-22T23:02:29.747Z] 213ec9aee27d: Download complete [2022-09-22T23:02:30.006Z] 213ec9aee27d: Pull complete [2022-09-22T23:02:30.006Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T23:02:30.006Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T23:02:30.006Z] ---> 9c6f07244728 [2022-09-22T23:02:30.006Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-22T23:02:30.006Z] ---> Running in 340fce84db67 [2022-09-22T23:02:30.266Z] Removing intermediate container 340fce84db67 [2022-09-22T23:02:30.266Z] ---> ba61ae8f00be [2022-09-22T23:02:30.266Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T23:02:30.266Z] ---> Running in abbe068215e9 [2022-09-22T23:02:30.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-22T23:02:30.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-22T23:02:30.785Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T23:02:30.785Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T23:02:30.785Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T23:02:30.785Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T23:02:30.785Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T23:02:30.785Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T23:02:30.785Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T23:02:30.785Z] OK: 8 MiB in 20 packages [2022-09-22T23:02:31.352Z] Removing intermediate container abbe068215e9 [2022-09-22T23:02:31.352Z] ---> e0394b555d94 [2022-09-22T23:02:31.352Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-22T23:02:32.028Z] ---> 3656d6ef78f7 [2022-09-22T23:02:32.028Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-22T23:02:32.028Z] ---> 8c003cdf694a [2022-09-22T23:02:32.028Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-22T23:02:32.287Z] ---> 3e76218901f9 [2022-09-22T23:02:32.287Z] Step 20/25 : EXPOSE 59982 [2022-09-22T23:02:32.287Z] ---> Running in 8d066cd55573 [2022-09-22T23:02:32.287Z] Removing intermediate container 8d066cd55573 [2022-09-22T23:02:32.287Z] ---> 1f723b3f252f [2022-09-22T23:02:32.287Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-09-22T23:02:32.287Z] ---> Running in 8ee93ee98ad3 [2022-09-22T23:02:32.546Z] Removing intermediate container 8ee93ee98ad3 [2022-09-22T23:02:32.546Z] ---> f5d7bd36876e [2022-09-22T23:02:32.546Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T23:02:32.546Z] ---> Running in 1789ac2858ab [2022-09-22T23:02:32.546Z] Removing intermediate container 1789ac2858ab [2022-09-22T23:02:32.546Z] ---> 365c6b968d94 [2022-09-22T23:02:32.546Z] Step 23/25 : LABEL arch=amd64 [2022-09-22T23:02:32.546Z] ---> Running in 31daaefbbd6b [2022-09-22T23:02:32.546Z] Removing intermediate container 31daaefbbd6b [2022-09-22T23:02:32.546Z] ---> e2df3d299d4b [2022-09-22T23:02:32.546Z] Step 24/25 : LABEL git_sha=96c3debd235dda18a7fa7c4abd6d74e869e80f48 [2022-09-22T23:02:32.546Z] ---> Running in 69aed04152b6 [2022-09-22T23:02:32.804Z] Removing intermediate container 69aed04152b6 [2022-09-22T23:02:32.804Z] ---> 2b5868193e1c [2022-09-22T23:02:32.804Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T23:02:32.804Z] ---> Running in 32a9b6b1ddc9 [2022-09-22T23:02:32.804Z] Removing intermediate container 32a9b6b1ddc9 [2022-09-22T23:02:32.804Z] ---> 2a31ddd77b9d [2022-09-22T23:02:32.804Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T23:02:32.804Z] Successfully built 2a31ddd77b9d [2022-09-22T23:02:32.804Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:33.220Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:02:33.220Z] [2022-09-22T23:02:33.220Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:02:33.513Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:02:33.513Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-22T23:02:33.513Z] 5eb5b503b376: Pulling fs layer [2022-09-22T23:02:33.513Z] 5c69ac0246d0: Pulling fs layer [2022-09-22T23:02:33.513Z] ec43610c2a17: Pulling fs layer [2022-09-22T23:02:33.513Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-22T23:02:33.513Z] 33b1e0a273af: Pulling fs layer [2022-09-22T23:02:33.513Z] 5d3b04190fa2: Pulling fs layer [2022-09-22T23:02:33.513Z] 2f39f015ded8: Pulling fs layer [2022-09-22T23:02:33.513Z] 3a2ae6a8a46f: Waiting [2022-09-22T23:02:33.513Z] 33b1e0a273af: Waiting [2022-09-22T23:02:33.513Z] 5d3b04190fa2: Waiting [2022-09-22T23:02:33.513Z] 2f39f015ded8: Waiting [2022-09-22T23:02:33.513Z] 5c69ac0246d0: Download complete [2022-09-22T23:02:33.513Z] 3a2ae6a8a46f: Download complete [2022-09-22T23:02:33.514Z] ec43610c2a17: Verifying Checksum [2022-09-22T23:02:33.514Z] ec43610c2a17: Download complete [2022-09-22T23:02:33.514Z] 33b1e0a273af: Verifying Checksum [2022-09-22T23:02:33.514Z] 33b1e0a273af: Download complete [2022-09-22T23:02:33.774Z] 5d3b04190fa2: Verifying Checksum [2022-09-22T23:02:33.774Z] 5d3b04190fa2: Download complete [2022-09-22T23:02:33.774Z] 5eb5b503b376: Verifying Checksum [2022-09-22T23:02:33.774Z] 5eb5b503b376: Download complete [2022-09-22T23:02:34.344Z] 2f39f015ded8: Download complete [2022-09-22T23:02:35.277Z] 5eb5b503b376: Pull complete [2022-09-22T23:02:35.277Z] 5c69ac0246d0: Pull complete [2022-09-22T23:02:35.842Z] ec43610c2a17: Pull complete [2022-09-22T23:02:35.842Z] 3a2ae6a8a46f: Pull complete [2022-09-22T23:02:36.099Z] 33b1e0a273af: Pull complete [2022-09-22T23:02:36.100Z] 5d3b04190fa2: Pull complete [2022-09-22T23:02:41.362Z] 2f39f015ded8: Pull complete [2022-09-22T23:02:41.362Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-22T23:02:41.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:02:41.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:02:41.444Z] prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container [2022-09-22T23:02:41.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T23:02:44.483Z] $ docker top 5de3ee8b7882c1b8d22805374e19b85c5f3462b1de967feddd561ce015e1121f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:02:44.871Z] ---> job-cost.sh [2022-09-22T23:02:44.871Z] lf-activate-venv: SKIPPING [2022-09-22T23:02:44.871Z] INFO: No Stack... [2022-09-22T23:02:45.129Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T23:02:45.696Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T23:02:45.995Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv [2022-09-22T23:02:45.995Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T23:02:46.007Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [2022-09-22T23:02:46.013Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] did not exist. Created. [2022-09-22T23:02:46.013Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T23:02:46.306Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-22T23:02:46.329Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T23:02:46.336Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T23:02:46.354Z] $ docker stop --time=1 5de3ee8b7882c1b8d22805374e19b85c5f3462b1de967feddd561ce015e1121f [2022-09-22T23:02:47.505Z] $ docker rm -f 5de3ee8b7882c1b8d22805374e19b85c5f3462b1de967feddd561ce015e1121f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-22T23:03:47.448Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-681 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws [2022-09-22T23:03:47.459Z] Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout [2022-09-22T23:03:47.490Z] Selected Git installation does not exist. Using Default [2022-09-22T23:03:47.490Z] The recommended git tool is: NONE [2022-09-22T23:03:52.550Z] using credential edgex-jenkins-ssh [2022-09-22T23:03:52.572Z] Cloning the remote Git repository [2022-09-22T23:03:52.610Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-22T23:03:52.681Z] > git init /w/workspace/device-mqtt-go/3 # timeout=10 [2022-09-22T23:03:52.817Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-22T23:03:52.818Z] > git --version # timeout=10 [2022-09-22T23:03:52.847Z] > git --version # 'git version 2.25.1' [2022-09-22T23:03:52.849Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:03:52.897Z] Verifying host key using known hosts file [2022-09-22T23:03:53.087Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T23:03:53.100Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T23:03:54.198Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-22T23:03:54.219Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-22T23:03:55.705Z] Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [2022-09-22T23:03:55.921Z] Merge succeeded, producing 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [2022-09-22T23:03:55.921Z] Checking out Revision 96c3debd235dda18a7fa7c4abd6d74e869e80f48 (PR-414) [2022-09-22T23:03:55.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-09-22T23:03:55.043Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-09-22T23:03:55.044Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:03:55.049Z] Verifying host key using known hosts file [2022-09-22T23:03:55.055Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T23:03:55.064Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-22T23:03:55.720Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T23:03:55.743Z] > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 [2022-09-22T23:03:55.822Z] > git remote # timeout=10 [2022-09-22T23:03:55.839Z] > git config --get remote.origin.url # timeout=10 [2022-09-22T23:03:55.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-22T23:03:55.869Z] Verifying host key using known hosts file [2022-09-22T23:03:55.872Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-09-22T23:03:55.880Z] > git merge e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 [2022-09-22T23:03:55.901Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-22T23:03:55.923Z] > git config core.sparsecheckout # timeout=10 [2022-09-22T23:03:55.939Z] > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 [2022-09-22T23:03:59.385Z] Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:04:00.305Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-22T23:04:00.305Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T23:04:00.305Z] Dload Upload Total Spent Left Speed [2022-09-22T23:04:00.305Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2022-09-22T23:04:00.993Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-22T23:04:01.331Z] + sudo tee /etc/docker/daemon.new [2022-09-22T23:04:01.331Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-22T23:04:01.331Z] { [2022-09-22T23:04:01.331Z] "registry-mirrors": [ [2022-09-22T23:04:01.331Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-22T23:04:01.331Z] ], [2022-09-22T23:04:01.331Z] "bip": "10.250.0.254/24", [2022-09-22T23:04:01.331Z] "hosts": [ [2022-09-22T23:04:01.331Z] "tcp://0.0.0.0:5555", [2022-09-22T23:04:01.331Z] "unix:///var/run/docker.sock" [2022-09-22T23:04:01.331Z] ], [2022-09-22T23:04:01.331Z] "mtu": 1458, [2022-09-22T23:04:01.331Z] "selinux-enabled": true, [2022-09-22T23:04:01.331Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-22T23:04:01.331Z] } [Pipeline] sh [2022-09-22T23:04:01.657Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-22T23:04:01.992Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:04:20.238Z] provisioning config files... [2022-09-22T23:04:20.262Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config8856464297617959700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:04:20.606Z] ---> docker-login.sh [2022-09-22T23:04:20.606Z] nexus3.edgexfoundry.org:10001 [2022-09-22T23:04:20.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:04:21.145Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:04:21.145Z] Configure a credential helper to remove this warning. See [2022-09-22T23:04:21.145Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:04:21.145Z] [2022-09-22T23:04:21.145Z] Login Succeeded [2022-09-22T23:04:21.145Z] nexus3.edgexfoundry.org:10002 [2022-09-22T23:04:21.412Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:04:21.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:04:21.681Z] Configure a credential helper to remove this warning. See [2022-09-22T23:04:21.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:04:21.681Z] [2022-09-22T23:04:21.681Z] Login Succeeded [2022-09-22T23:04:21.681Z] nexus3.edgexfoundry.org:10003 [2022-09-22T23:04:21.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:04:21.950Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:04:21.950Z] Configure a credential helper to remove this warning. See [2022-09-22T23:04:21.951Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:04:21.951Z] [2022-09-22T23:04:21.951Z] Login Succeeded [2022-09-22T23:04:21.951Z] nexus3.edgexfoundry.org:10004 [2022-09-22T23:04:22.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:04:22.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:04:22.220Z] Configure a credential helper to remove this warning. See [2022-09-22T23:04:22.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:04:22.220Z] [2022-09-22T23:04:22.220Z] Login Succeeded [2022-09-22T23:04:22.220Z] docker.io [2022-09-22T23:04:22.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-22T23:04:22.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-22T23:04:22.763Z] Configure a credential helper to remove this warning. See [2022-09-22T23:04:22.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-22T23:04:22.763Z] [2022-09-22T23:04:22.763Z] Login Succeeded [2022-09-22T23:04:22.763Z] ---> docker-login.sh ends [Pipeline] } [2022-09-22T23:04:22.780Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-22T23:04:22.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:04:22.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-22T23:04:22.951Z] ========================================================= [2022-09-22T23:04:22.951Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-22T23:04:22.951Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:04:23.288Z] + 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-09-22T23:04:23.558Z] Sending build context to Docker daemon 3.193MB [2022-09-22T23:04:23.558Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:04:23.558Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-22T23:04:23.830Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-22T23:04:23.830Z] b3c136eddcbf: Pulling fs layer [2022-09-22T23:04:23.830Z] c0a3192eca97: Pulling fs layer [2022-09-22T23:04:23.830Z] a050256f5b6f: Pulling fs layer [2022-09-22T23:04:23.830Z] 656be50a0ddc: Pulling fs layer [2022-09-22T23:04:23.830Z] 2bbca73fdf42: Pulling fs layer [2022-09-22T23:04:23.830Z] 46d945488cbd: Pulling fs layer [2022-09-22T23:04:23.830Z] 8a5474983e97: Pulling fs layer [2022-09-22T23:04:23.830Z] 329c88fbcd65: Pulling fs layer [2022-09-22T23:04:23.830Z] 2bbca73fdf42: Waiting [2022-09-22T23:04:23.830Z] 46d945488cbd: Waiting [2022-09-22T23:04:23.830Z] 8a5474983e97: Waiting [2022-09-22T23:04:23.830Z] 329c88fbcd65: Waiting [2022-09-22T23:04:23.830Z] 656be50a0ddc: Waiting [2022-09-22T23:04:23.830Z] a050256f5b6f: Download complete [2022-09-22T23:04:23.830Z] c0a3192eca97: Download complete [2022-09-22T23:04:23.830Z] 2bbca73fdf42: Verifying Checksum [2022-09-22T23:04:23.830Z] 2bbca73fdf42: Download complete [2022-09-22T23:04:23.830Z] 46d945488cbd: Verifying Checksum [2022-09-22T23:04:23.830Z] 46d945488cbd: Download complete [2022-09-22T23:04:23.830Z] b3c136eddcbf: Verifying Checksum [2022-09-22T23:04:23.830Z] b3c136eddcbf: Download complete [2022-09-22T23:04:24.802Z] b3c136eddcbf: Pull complete [2022-09-22T23:04:25.074Z] 329c88fbcd65: Verifying Checksum [2022-09-22T23:04:25.074Z] 329c88fbcd65: Download complete [2022-09-22T23:04:25.355Z] c0a3192eca97: Pull complete [2022-09-22T23:04:25.623Z] a050256f5b6f: Pull complete [2022-09-22T23:04:26.221Z] 8a5474983e97: Verifying Checksum [2022-09-22T23:04:26.221Z] 8a5474983e97: Download complete [2022-09-22T23:04:26.807Z] 656be50a0ddc: Verifying Checksum [2022-09-22T23:04:26.807Z] 656be50a0ddc: Download complete [2022-09-22T23:04:39.135Z] 656be50a0ddc: Pull complete [2022-09-22T23:04:39.135Z] 2bbca73fdf42: Pull complete [2022-09-22T23:04:39.404Z] 46d945488cbd: Pull complete [2022-09-22T23:04:46.064Z] 8a5474983e97: Pull complete [2022-09-22T23:04:47.477Z] 329c88fbcd65: Pull complete [2022-09-22T23:04:47.477Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-22T23:04:47.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-22T23:04:47.477Z] ---> ff4287adb874 [2022-09-22T23:04:47.477Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:04:49.435Z] ---> Running in b51a97f3754c [2022-09-22T23:04:49.435Z] Removing intermediate container b51a97f3754c [2022-09-22T23:04:49.435Z] ---> 007ce7353f43 [2022-09-22T23:04:49.435Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:04:49.700Z] ---> Running in d6cce40bea88 [2022-09-22T23:04:49.974Z] Removing intermediate container d6cce40bea88 [2022-09-22T23:04:49.974Z] ---> 82b5a077a3a5 [2022-09-22T23:04:49.974Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T23:04:49.974Z] ---> Running in 4e6d0c9e78e9 [2022-09-22T23:04:50.246Z] Removing intermediate container 4e6d0c9e78e9 [2022-09-22T23:04:50.246Z] ---> bef0b54fdb72 [2022-09-22T23:04:50.246Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:04:50.515Z] ---> Running in b72e2b87db7b [2022-09-22T23:04:50.783Z] Removing intermediate container b72e2b87db7b [2022-09-22T23:04:50.783Z] ---> 80ce478852b1 [2022-09-22T23:04:50.783Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:04:50.783Z] ---> Running in f16eef24a83a [2022-09-22T23:04:52.738Z] Removing intermediate container f16eef24a83a [2022-09-22T23:04:52.738Z] ---> 5f2321fba506 [2022-09-22T23:04:52.738Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:04:52.738Z] ---> Running in 552888f27694 [2022-09-22T23:04:53.705Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:04:54.671Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:04:55.630Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-09-22T23:04:55.630Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-09-22T23:04:55.896Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-09-22T23:04:56.165Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-09-22T23:04:56.430Z] Executing busybox-1.35.0-r13.trigger [2022-09-22T23:04:56.430Z] OK: 226 MiB in 55 packages [2022-09-22T23:04:57.388Z] Removing intermediate container 552888f27694 [2022-09-22T23:04:57.388Z] ---> aa28dc77a1c0 [2022-09-22T23:04:57.388Z] Step 9/13 : WORKDIR /device-mqtt-go [2022-09-22T23:04:57.388Z] ---> Running in e5d8573b6d0b [2022-09-22T23:04:57.654Z] Removing intermediate container e5d8573b6d0b [2022-09-22T23:04:57.654Z] ---> 8cac28730a73 [2022-09-22T23:04:57.654Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-22T23:04:58.238Z] ---> 7307390086cb [2022-09-22T23:04:58.238Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:04:58.238Z] ---> Running in bc9cb1b6dbdf [2022-09-22T23:05:54.644Z] Removing intermediate container bc9cb1b6dbdf [2022-09-22T23:05:54.644Z] ---> cf60a0bce3a0 [2022-09-22T23:05:54.644Z] Step 12/13 : COPY . . [2022-09-22T23:05:54.644Z] ---> 4904a1353738 [2022-09-22T23:05:54.644Z] Step 13/13 : RUN $MAKE [2022-09-22T23:05:54.644Z] ---> Running in 1dce01a8e1d5 [2022-09-22T23:05:54.644Z] noop [2022-09-22T23:05:54.644Z] Removing intermediate container 1dce01a8e1d5 [2022-09-22T23:05:54.644Z] ---> 82e5e2beccee [2022-09-22T23:05:54.644Z] Successfully built 82e5e2beccee [2022-09-22T23:05:54.644Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:05:55.000Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T23:05:55.000Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:05:55.190Z] prd-ubuntu20.04-docker-arm64-4c-16g-681 does not seem to be running inside a container [2022-09-22T23:05:55.251Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T23:05:56.528Z] $ docker top b8bcac5b3f65aa4f8f52c33c4a6dbbaf6a2a2b689a6d23219cc7c2c176b86991 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:05:57.366Z] + go version [2022-09-22T23:05:57.366Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-22T23:05:57.384Z] $ docker stop --time=1 b8bcac5b3f65aa4f8f52c33c4a6dbbaf6a2a2b689a6d23219cc7c2c176b86991 [2022-09-22T23:05:59.906Z] $ docker rm -f b8bcac5b3f65aa4f8f52c33c4a6dbbaf6a2a2b689a6d23219cc7c2c176b86991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:06:00.458Z] + docker inspect -f . ci-base-image-arm64 [2022-09-22T23:06:00.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:06:00.630Z] prd-ubuntu20.04-docker-arm64-4c-16g-681 does not seem to be running inside a container [2022-09-22T23:06:00.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-22T23:06:01.948Z] $ docker top 65f7121303f105f3be99d25b0526cfbac7a7cb252cbb6c544af9e0e3e910ed17 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:06:02.787Z] + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh [2022-09-22T23:06:03.119Z] + make test [2022-09-22T23:06:03.390Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-22T23:06:04.803Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-09-22T23:07:41.475Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-09-22T23:07:41.475Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements [2022-09-22T23:07:41.475Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-09-22T23:07:41.475Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-22T23:07:41.475Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-22T23:07:53.842Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-22T23:07:53.842Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-22T23:07:53.842Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-22T23:07:53.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-22T23:07:53.873Z] $ docker stop --time=1 65f7121303f105f3be99d25b0526cfbac7a7cb252cbb6c544af9e0e3e910ed17 [2022-09-22T23:07:55.712Z] $ docker rm -f 65f7121303f105f3be99d25b0526cfbac7a7cb252cbb6c544af9e0e3e910ed17 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-22T23:07:56.659Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-22T23:07:56.681Z] Warning: overwriting stash ‘coverage-report’ [2022-09-22T23:07:57.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-22T23:07:57.520Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-22T23:07:57.843Z] + ls -al . [2022-09-22T23:07:57.843Z] total 180 [2022-09-22T23:07:57.843Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 23:06 . [2022-09-22T23:07:57.843Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:03 .. [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 23:03 .dockerignore [2022-09-22T23:07:57.843Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:03 .git [2022-09-22T23:07:57.843Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:03 .github [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 23:03 .gitignore [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:03 .golangci.yml [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 9293 Sep 22 23:03 Attribution.txt [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 11365 Sep 22 23:03 CHANGELOG.md [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 1988 Sep 22 23:03 Dockerfile [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:03 GOVERNANCE.md [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 678 Sep 22 23:03 Jenkinsfile [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:03 LICENSE [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 2126 Sep 22 23:03 Makefile [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 23:03 OWNERS.md [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 3165 Sep 22 23:03 README.md [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:00 VERSION [2022-09-22T23:07:57.843Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:03 bin [2022-09-22T23:07:57.843Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:03 cmd [2022-09-22T23:07:57.843Z] -rw-r--r-- 1 jenkins jenkins 17887 Sep 22 23:07 coverage.out [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 3523 Sep 22 23:03 go.mod [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 23:03 go.sum [2022-09-22T23:07:57.843Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:03 internal [2022-09-22T23:07:57.843Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:03 mock [2022-09-22T23:07:57.843Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:03 snap [2022-09-22T23:07:57.843Z] -rw-rw-r-- 1 jenkins jenkins 227 Sep 22 23:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:07:58.182Z] + 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=96c3debd235dda18a7fa7c4abd6d74e869e80f48 --label arch=arm64 --label version=0.0.0 . [2022-09-22T23:07:58.453Z] Sending build context to Docker daemon 3.212MB [2022-09-22T23:07:58.453Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-09-22T23:07:58.453Z] Step 2/25 : FROM ${BASE} AS builder [2022-09-22T23:07:58.453Z] ---> 82e5e2beccee [2022-09-22T23:07:58.453Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-09-22T23:07:58.721Z] ---> Running in a021218c9e06 [2022-09-22T23:07:58.988Z] Removing intermediate container a021218c9e06 [2022-09-22T23:07:58.988Z] ---> ea4c3d30bea3 [2022-09-22T23:07:58.988Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-22T23:07:58.988Z] ---> Running in 6cd30b77076e [2022-09-22T23:07:59.256Z] Removing intermediate container 6cd30b77076e [2022-09-22T23:07:59.256Z] ---> 1b1942c3cd41 [2022-09-22T23:07:59.256Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-09-22T23:07:59.527Z] ---> Running in 7052122fda8e [2022-09-22T23:07:59.797Z] Removing intermediate container 7052122fda8e [2022-09-22T23:07:59.797Z] ---> 2c6ba12cdab5 [2022-09-22T23:07:59.797Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-09-22T23:07:59.797Z] ---> Running in e615d992e009 [2022-09-22T23:08:00.065Z] Removing intermediate container e615d992e009 [2022-09-22T23:08:00.065Z] ---> 31030f7c8b59 [2022-09-22T23:08:00.065Z] Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-22T23:08:00.065Z] ---> Running in b8ec20df3e5b [2022-09-22T23:08:02.038Z] Removing intermediate container b8ec20df3e5b [2022-09-22T23:08:02.038Z] ---> 03108f7566cb [2022-09-22T23:08:02.038Z] Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-22T23:08:02.038Z] ---> Running in 9d66cdc8acbd [2022-09-22T23:08:03.002Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:08:03.963Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:08:04.928Z] OK: 226 MiB in 55 packages [2022-09-22T23:08:05.904Z] Removing intermediate container 9d66cdc8acbd [2022-09-22T23:08:05.904Z] ---> 21b5399316eb [2022-09-22T23:08:05.904Z] Step 9/25 : WORKDIR /device-mqtt-go [2022-09-22T23:08:05.904Z] ---> Running in a5516b4b9ef8 [2022-09-22T23:08:06.494Z] Removing intermediate container a5516b4b9ef8 [2022-09-22T23:08:06.494Z] ---> a0fc2137b931 [2022-09-22T23:08:06.494Z] Step 10/25 : COPY go.mod vendor* ./ [2022-09-22T23:08:07.080Z] ---> 9553e9395850 [2022-09-22T23:08:07.081Z] Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-22T23:08:07.081Z] ---> Running in f6157c5c6d81 [2022-09-22T23:08:09.871Z] Removing intermediate container f6157c5c6d81 [2022-09-22T23:08:09.871Z] ---> 3805c341ad93 [2022-09-22T23:08:09.871Z] Step 12/25 : COPY . . [2022-09-22T23:08:11.931Z] ---> a99d6f3770c1 [2022-09-22T23:08:11.931Z] Step 13/25 : RUN $MAKE [2022-09-22T23:08:11.931Z] ---> Running in 8b2208102920 [2022-09-22T23:08:13.352Z] GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-09-22T23:10:50.144Z] Removing intermediate container 8b2208102920 [2022-09-22T23:10:50.144Z] ---> 3d32d05bc1b7 [2022-09-22T23:10:50.144Z] Step 14/25 : FROM alpine:3.16 [2022-09-22T23:10:50.144Z] 3.16: Pulling from library/alpine [2022-09-22T23:10:50.144Z] 9b18e9b68314: Pulling fs layer [2022-09-22T23:10:50.144Z] 9b18e9b68314: Verifying Checksum [2022-09-22T23:10:50.144Z] 9b18e9b68314: Download complete [2022-09-22T23:10:50.144Z] 9b18e9b68314: Pull complete [2022-09-22T23:10:50.144Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-22T23:10:50.144Z] Status: Downloaded newer image for alpine:3.16 [2022-09-22T23:10:50.144Z] ---> a6215f271958 [2022-09-22T23:10:50.144Z] Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-09-22T23:10:50.144Z] ---> Running in 1a5e616e4c0c [2022-09-22T23:10:50.144Z] Removing intermediate container 1a5e616e4c0c [2022-09-22T23:10:50.144Z] ---> ebda578e1f6e [2022-09-22T23:10:50.144Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-22T23:10:50.144Z] ---> Running in ea1fdbe3c822 [2022-09-22T23:10:50.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-22T23:10:50.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-22T23:10:50.144Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-22T23:10:50.144Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-22T23:10:50.144Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-22T23:10:50.144Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-22T23:10:50.144Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-22T23:10:50.144Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-22T23:10:50.144Z] Executing busybox-1.35.0-r17.trigger [2022-09-22T23:10:50.144Z] OK: 8 MiB in 20 packages [2022-09-22T23:10:50.144Z] Removing intermediate container ea1fdbe3c822 [2022-09-22T23:10:50.144Z] ---> 98c3197fcd06 [2022-09-22T23:10:50.144Z] Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / [2022-09-22T23:10:50.144Z] ---> 9e8c0bb9c883 [2022-09-22T23:10:50.144Z] Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-09-22T23:10:50.413Z] ---> 3d8e00044d95 [2022-09-22T23:10:50.413Z] Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-09-22T23:10:51.004Z] ---> 1d5fb5293fa6 [2022-09-22T23:10:51.004Z] Step 20/25 : EXPOSE 59982 [2022-09-22T23:10:51.004Z] ---> Running in 5d02ea3b8c5f [2022-09-22T23:10:51.272Z] Removing intermediate container 5d02ea3b8c5f [2022-09-22T23:10:51.272Z] ---> 57d4c17b59b9 [2022-09-22T23:10:51.272Z] Step 21/25 : ENTRYPOINT ["/device-mqtt"] [2022-09-22T23:10:51.272Z] ---> Running in e75cad8fb78b [2022-09-22T23:10:51.542Z] Removing intermediate container e75cad8fb78b [2022-09-22T23:10:51.542Z] ---> 62f1f9aedad6 [2022-09-22T23:10:51.542Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-22T23:10:51.808Z] ---> Running in 887340ec7b34 [2022-09-22T23:10:52.074Z] Removing intermediate container 887340ec7b34 [2022-09-22T23:10:52.074Z] ---> 1acbc6f3f85c [2022-09-22T23:10:52.074Z] Step 23/25 : LABEL arch=arm64 [2022-09-22T23:10:52.074Z] ---> Running in bab78ed33d32 [2022-09-22T23:10:52.342Z] Removing intermediate container bab78ed33d32 [2022-09-22T23:10:52.342Z] ---> c3edbd71c1d8 [2022-09-22T23:10:52.342Z] Step 24/25 : LABEL git_sha=96c3debd235dda18a7fa7c4abd6d74e869e80f48 [2022-09-22T23:10:52.342Z] ---> Running in 892ec5507e09 [2022-09-22T23:10:52.612Z] Removing intermediate container 892ec5507e09 [2022-09-22T23:10:52.612Z] ---> d2c1bcb1c73b [2022-09-22T23:10:52.612Z] Step 25/25 : LABEL version=0.0.0 [2022-09-22T23:10:52.883Z] ---> Running in 4fde06c65c65 [2022-09-22T23:10:53.167Z] Removing intermediate container 4fde06c65c65 [2022-09-22T23:10:53.167Z] ---> 288a42772390 [2022-09-22T23:10:53.167Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-22T23:10:53.167Z] Successfully built 288a42772390 [2022-09-22T23:10:53.167Z] 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-09-22T23:10:53.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:10:53.606Z] [2022-09-22T23:10:53.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:10:53.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:10:53.940Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-22T23:10:53.940Z] 8998bd30e6a1: Pulling fs layer [2022-09-22T23:10:53.940Z] 04944245beec: Pulling fs layer [2022-09-22T23:10:53.940Z] 699f458cf7ca: Pulling fs layer [2022-09-22T23:10:53.940Z] 765212b225bb: Pulling fs layer [2022-09-22T23:10:53.940Z] f23df028b6ca: Pulling fs layer [2022-09-22T23:10:53.940Z] d65c8cfc05b1: Pulling fs layer [2022-09-22T23:10:53.940Z] 2437ff75d9bd: Pulling fs layer [2022-09-22T23:10:53.940Z] 765212b225bb: Waiting [2022-09-22T23:10:53.940Z] f23df028b6ca: Waiting [2022-09-22T23:10:53.940Z] 2437ff75d9bd: Waiting [2022-09-22T23:10:53.940Z] d65c8cfc05b1: Waiting [2022-09-22T23:10:54.210Z] 04944245beec: Verifying Checksum [2022-09-22T23:10:54.210Z] 04944245beec: Download complete [2022-09-22T23:10:54.210Z] 765212b225bb: Verifying Checksum [2022-09-22T23:10:54.210Z] 765212b225bb: Download complete [2022-09-22T23:10:54.210Z] f23df028b6ca: Verifying Checksum [2022-09-22T23:10:54.210Z] f23df028b6ca: Download complete [2022-09-22T23:10:54.210Z] d65c8cfc05b1: Verifying Checksum [2022-09-22T23:10:54.210Z] d65c8cfc05b1: Download complete [2022-09-22T23:10:54.480Z] 699f458cf7ca: Verifying Checksum [2022-09-22T23:10:54.480Z] 699f458cf7ca: Download complete [2022-09-22T23:10:54.750Z] 8998bd30e6a1: Verifying Checksum [2022-09-22T23:10:54.750Z] 8998bd30e6a1: Download complete [2022-09-22T23:10:57.338Z] 2437ff75d9bd: Verifying Checksum [2022-09-22T23:10:57.338Z] 2437ff75d9bd: Download complete [2022-09-22T23:10:58.743Z] 8998bd30e6a1: Pull complete [2022-09-22T23:10:59.008Z] 04944245beec: Pull complete [2022-09-22T23:11:00.418Z] 699f458cf7ca: Pull complete [2022-09-22T23:11:00.418Z] 765212b225bb: Pull complete [2022-09-22T23:11:01.381Z] f23df028b6ca: Pull complete [2022-09-22T23:11:01.648Z] d65c8cfc05b1: Pull complete [2022-09-22T23:11:16.656Z] 2437ff75d9bd: Pull complete [2022-09-22T23:11:16.656Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-22T23:11:16.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-22T23:11:16.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:11:16.839Z] prd-ubuntu20.04-docker-arm64-4c-16g-681 does not seem to be running inside a container [2022-09-22T23:11:16.910Z] $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-22T23:11:19.629Z] $ docker top e4e76164a23a5ada69831f895bf5cd69ec9e7c8ccc3b6219c8af6ec475ea6638 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:11:20.465Z] ---> job-cost.sh [2022-09-22T23:11:20.465Z] lf-activate-venv: SKIPPING [2022-09-22T23:11:20.465Z] INFO: No Stack... [2022-09-22T23:11:21.046Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-22T23:11:22.014Z] INFO: Archiving Costs [Pipeline] sh [2022-09-22T23:11:22.649Z] + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [2022-09-22T23:11:22.649Z] + cut -d, -f6 [Pipeline] lock [2022-09-22T23:11:22.758Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [2022-09-22T23:11:22.768Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] did not exist. Created. [2022-09-22T23:11:22.768Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-22T23:11:23.187Z] /w/workspace/device-mqtt-go/3@tmp/durable-4d78454c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-22T23:11:23.844Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-22T23:11:23.865Z] Warning: overwriting stash ‘stack-cost’ [2022-09-22T23:11:23.912Z] Stashed 1 file(s) [Pipeline] } [2022-09-22T23:11:23.921Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-22T23:11:23.939Z] $ docker stop --time=1 e4e76164a23a5ada69831f895bf5cd69ec9e7c8ccc3b6219c8af6ec475ea6638 [2022-09-22T23:11:25.420Z] $ docker rm -f e4e76164a23a5ada69831f895bf5cd69ec9e7c8ccc3b6219c8af6ec475ea6638 [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-09-22T23:11:25.776Z] provisioning config files... [2022-09-22T23:11:25.784Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config15647531096677926062tmp [Pipeline] { [Pipeline] sh [2022-09-22T23:11:26.074Z] + set +x [2022-09-22T23:11:26.074Z] + curl -s https://codecov.io/bash [2022-09-22T23:11:26.074Z] + bash -s -- [2022-09-22T23:11:26.074Z] [2022-09-22T23:11:26.074Z] _____ _ [2022-09-22T23:11:26.074Z] / ____| | | [2022-09-22T23:11:26.074Z] | | ___ __| | ___ ___ _____ __ [2022-09-22T23:11:26.074Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-22T23:11:26.074Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-22T23:11:26.074Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-22T23:11:26.074Z] Bash-1.0.6 [2022-09-22T23:11:26.074Z] [2022-09-22T23:11:26.074Z] [2022-09-22T23:11:26.074Z] ==> git version 2.25.1 found [2022-09-22T23:11:26.074Z] ==> 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-09-22T23:11:26.074Z] Release-Date: 2020-01-08 [2022-09-22T23:11:26.074Z] 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-09-22T23:11:26.074Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-22T23:11:26.074Z] ==> Jenkins CI detected. [2022-09-22T23:11:26.074Z] current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-414 [2022-09-22T23:11:26.074Z] project root: . [2022-09-22T23:11:26.074Z] --> token set from env [2022-09-22T23:11:26.074Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-22T23:11:26.074Z] ==> Running gcov in . (disable via -X gcov) [2022-09-22T23:11:26.074Z] ==> Python coveragepy not found [2022-09-22T23:11:26.074Z] ==> Searching for coverage reports in: [2022-09-22T23:11:26.074Z] + . [2022-09-22T23:11:26.074Z] -> Found 1 reports [2022-09-22T23:11:26.074Z] ==> Detecting git/mercurial file structure [2022-09-22T23:11:26.334Z] ==> Reading reports [2022-09-22T23:11:26.334Z] + ./coverage.out bytes=17887 [2022-09-22T23:11:26.334Z] ==> Appending adjustments [2022-09-22T23:11:26.334Z] https://docs.codecov.io/docs/fixing-reports [2022-09-22T23:11:26.334Z] + Found adjustments [2022-09-22T23:11:26.334Z] ==> Gzipping contents [2022-09-22T23:11:26.334Z] 4.0K /tmp/codecov.KGBEPU.gz [2022-09-22T23:11:26.334Z] ==> Uploading reports [2022-09-22T23:11:26.334Z] url: https://codecov.io [2022-09-22T23:11:26.334Z] query: branch=PR-414&commit=96c3debd235dda18a7fa7c4abd6d74e869e80f48&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2022-09-22T23:11:26.334Z] -> Pinging Codecov [2022-09-22T23:11:26.334Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-414&commit=96c3debd235dda18a7fa7c4abd6d74e869e80f48&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= [2022-09-22T23:11:26.592Z] -> Uploading to [2022-09-22T23:11:26.592Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7D719EC7BBE17E464838252E33014C33/96c3debd235dda18a7fa7c4abd6d74e869e80f48/4ec5c466-24ed-4fc0-93b1-099eaa441230.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T231126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c0f036dc6948db22449197afdd2054f14bbb15535cd31c00530dbf0c557cc7d [2022-09-22T23:11:26.592Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-22T23:11:26.592Z] Dload Upload Total Spent Left Speed [2022-09-22T23:11:26.851Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 13289 --:--:-- --:--:-- --:--:-- 13289 [2022-09-22T23:11:26.851Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] } [2022-09-22T23:11:26.857Z] 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-09-22T23:11:27.503Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] [2022-09-22T23:11:27.503Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-22T23:11:27.503Z] total 16 [2022-09-22T23:11:27.503Z] drwxr-xr-x 3 root root 4096 Sep 22 23:02 . [2022-09-22T23:11:27.503Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 23:02 .. [2022-09-22T23:11:27.503Z] drwxr-xr-x 2 root root 4096 Sep 22 23:02 cost [2022-09-22T23:11:27.503Z] -rw-r--r-- 1 root root 86 Sep 22 23:02 cost.csv [2022-09-22T23:11:27.503Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-22T23:11:27.503Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives [2022-09-22T23:11:27.503Z] total 16 [2022-09-22T23:11:27.503Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:02 . [2022-09-22T23:11:27.503Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 23:02 .. [2022-09-22T23:11:27.503Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 23:02 cost [2022-09-22T23:11:27.503Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 22 23:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:11:27.789Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:11:28.645Z] ---> package-listing.sh [2022-09-22T23:11:28.645Z] ++ facter osfamily [2022-09-22T23:11:28.645Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-22T23:11:28.903Z] + OS_FAMILY=debian [2022-09-22T23:11:28.903Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 [2022-09-22T23:11:28.903Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-22T23:11:28.903Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-22T23:11:28.903Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-22T23:11:28.903Z] + PACKAGES=/tmp/packages_start.txt [2022-09-22T23:11:28.903Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' [2022-09-22T23:11:28.903Z] + PACKAGES=/tmp/packages_end.txt [2022-09-22T23:11:28.903Z] + case "${OS_FAMILY}" in [2022-09-22T23:11:28.903Z] + dpkg -l [2022-09-22T23:11:28.903Z] + grep '^ii' [2022-09-22T23:11:28.903Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-22T23:11:28.903Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-22T23:11:28.903Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-22T23:11:28.903Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' [2022-09-22T23:11:28.903Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [2022-09-22T23:11:28.903Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [Pipeline] echo [2022-09-22T23:11:28.913Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-22T23:11:29.187Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-22T23:11:29.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-22T23:11:29.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-22T23:11:29.806Z] prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container [2022-09-22T23:11:29.848Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-22T23:11:30.096Z] $ docker top 6aeda37e25b94756aeb1863a828c3567df3c3959e7e21a50ac6057b8596a3a07 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-22T23:11:30.429Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-22T23:11:30.714Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-22T23:11:30.998Z] + ls /var/log/sa-host [2022-09-22T23:11:30.998Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-22T23:11:31.054Z] provisioning config files... [2022-09-22T23:11:31.062Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config5895519408354163661tmp [Pipeline] { [Pipeline] echo [2022-09-22T23:11:31.072Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:11:31.356Z] ---> create-netrc.sh [Pipeline] } [2022-09-22T23:11:31.363Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:11:31.688Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-22T23:11:31.697Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:11:31.983Z] ---> sudo-logs.sh [2022-09-22T23:11:31.983Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-22T23:11:32.008Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:11:32.300Z] ---> job-cost.sh [2022-09-22T23:11:32.300Z] lf-activate-venv: SKIPPING [2022-09-22T23:11:32.300Z] DEBUG: total: 0.2199999988079071 [2022-09-22T23:11:32.300Z] INFO: Retrieving Stack Cost... [2022-09-22T23:11:32.868Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-22T23:11:33.435Z] INFO: Archiving Costs [Pipeline] echo [2022-09-22T23:11:33.447Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-22T23:11:33.732Z] ---> logs-deploy.sh [2022-09-22T23:11:33.732Z] lf-activate-venv: SKIPPING [2022-09-22T23:11:33.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/3 [2022-09-22T23:11:33.732Z] INFO: archiving workspace using pattern(s): [2022-09-22T23:11:34.671Z] Archives upload complete. [2022-09-22T23:11:34.932Z] INFO: archiving logs to Nexus