Pull request #423 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 MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 459ccc30368983c74f8fc0b30a8da774d92164b5 rather than a29e63d7aa5605164e6e1c6cd07337351782d1a4 Obtained Jenkinsfile from 459ccc30368983c74f8fc0b30a8da774d92164b5 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-ssh11913111424223832538.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-ssh7635957126011691959.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-423/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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7222098936890745977.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-ssh12759097201485863056.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-423/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-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13127388556676095509.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 ‘prd-ubuntu20.04-docker-8c-8g-7522’ is offline Running on prd-ubuntu20.04-docker-8c-8g-7524 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [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-423 # 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/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit a29e63d7aa5605164e6e1c6cd07337351782d1a4 Merge succeeded, producing a29e63d7aa5605164e6e1c6cd07337351782d1a4 Checking out Revision a29e63d7aa5605164e6e1c6cd07337351782d1a4 (PR-423) > git config core.sparsecheckout # timeout=10 > git checkout -f a29e63d7aa5605164e6e1c6cd07337351782d1a4 # 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 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a29e63d7aa5605164e6e1c6cd07337351782d1a4 # timeout=10 Commit message: "refactor(snap): Note old field as deprecated" > git rev-list --no-walk 98ddf2f5dcf1658cb762613530fc768454cbe723 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:34:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:34:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:34:04 ========================================================= 14:34:04 EdgeX Global Pipelines Version Info 14:34:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:34:04 ------------------- 14:34:04 stable info: 14:34:04 ------------------- 14:34:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:34:04 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:34:04 Message: update stable to v1.0.239 14:34:05 ------------------- 14:34:05 experimental info: 14:34:05 ------------------- 14:34:05 Commited By: **** collab-it+edgex@linuxfoundation.org 14:34:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:34:05 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:34:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:34:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:34:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo 14:34:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo 14:34:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo 14:34:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] echo 14:34:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a29e63d [Pipeline] echo 14:34:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:34:06 provisioning config files... 14:34:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config17144729311969760210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:06 ---> docker-login.sh 14:34:06 nexus3.edgexfoundry.org:10001 14:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:06 Configure a credential helper to remove this warning. See 14:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:06 14:34:06 Login Succeeded 14:34:06 nexus3.edgexfoundry.org:10002 14:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:06 Configure a credential helper to remove this warning. See 14:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:06 14:34:06 Login Succeeded 14:34:06 nexus3.edgexfoundry.org:10003 14:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:06 Configure a credential helper to remove this warning. See 14:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:06 14:34:06 Login Succeeded 14:34:06 nexus3.edgexfoundry.org:10004 14:34:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:06 Configure a credential helper to remove this warning. See 14:34:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:06 14:34:06 Login Succeeded 14:34:06 docker.io 14:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:07 Configure a credential helper to remove this warning. See 14:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:07 14:34:07 Login Succeeded 14:34:07 ---> docker-login.sh ends [Pipeline] } 14:34:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:34:07 + git rev-list -1 --merges a29e63d7aa5605164e6e1c6cd07337351782d1a4~1..a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] echo 14:34:07 -----------> git rev-list -1 --merges a29e63d7aa5605164e6e1c6cd07337351782d1a4~1..a29e63d7aa5605164e6e1c6cd07337351782d1a4 a29e63d7aa5605164e6e1c6cd07337351782d1a4 [false] [Pipeline] sh 14:34:08 + git log --format=format:%s -1 a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] echo 14:34:08 ========================================================= 14:34:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:34:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:34:08 + git log --format=format:%s -1 a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] echo 14:34:08 [semverPrep] GIT_COMMIT: a29e63d7aa5605164e6e1c6cd07337351782d1a4, Commit Message: refactor(snap): Note old field as deprecated [Pipeline] echo 14:34:08 [semverPrep] This is not a build commit. [Pipeline] sh 14:34:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:34:08 + grep -v github /etc/ssh/ssh_known_hosts 14:34:08 + [ -e /tmp/ssh_known_hosts ] 14:34:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:34:08 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 14:34:08 -a /etc/ssh/ssh_known_hosts 14:34:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:34:09 14:34:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:34:09 0.1.4: Pulling from edgex-devops/py-git-semver 14:34:09 b85a868b505f: Pulling fs layer 14:34:09 e2be974225ed: Pulling fs layer 14:34:09 339a4e72a1f5: Pulling fs layer 14:34:09 988bab9f4d93: Pulling fs layer 14:34:09 1469e6f7b9e6: Pulling fs layer 14:34:09 eaf3925da568: Pulling fs layer 14:34:09 bab4dde63d76: Pulling fs layer 14:34:09 bde34c3a00c8: Pulling fs layer 14:34:09 b352a97aabf1: Pulling fs layer 14:34:09 4872d77fe225: Pulling fs layer 14:34:09 5851b861e8e6: Pulling fs layer 14:34:09 988bab9f4d93: Waiting 14:34:09 bde34c3a00c8: Waiting 14:34:09 1469e6f7b9e6: Waiting 14:34:09 bab4dde63d76: Waiting 14:34:09 eaf3925da568: Waiting 14:34:09 5851b861e8e6: Waiting 14:34:09 b352a97aabf1: Waiting 14:34:09 e2be974225ed: Verifying Checksum 14:34:09 e2be974225ed: Download complete 14:34:09 988bab9f4d93: Verifying Checksum 14:34:09 988bab9f4d93: Download complete 14:34:09 1469e6f7b9e6: Verifying Checksum 14:34:09 1469e6f7b9e6: Download complete 14:34:09 339a4e72a1f5: Verifying Checksum 14:34:09 339a4e72a1f5: Download complete 14:34:09 eaf3925da568: Verifying Checksum 14:34:09 eaf3925da568: Download complete 14:34:09 bde34c3a00c8: Download complete 14:34:09 b352a97aabf1: Verifying Checksum 14:34:09 b352a97aabf1: Download complete 14:34:09 4872d77fe225: Verifying Checksum 14:34:09 4872d77fe225: Download complete 14:34:09 5851b861e8e6: Download complete 14:34:09 b85a868b505f: Verifying Checksum 14:34:09 b85a868b505f: Download complete 14:34:10 bab4dde63d76: Verifying Checksum 14:34:10 bab4dde63d76: Download complete 14:34:10 b85a868b505f: Pull complete 14:34:11 e2be974225ed: Pull complete 14:34:11 339a4e72a1f5: Pull complete 14:34:11 988bab9f4d93: Pull complete 14:34:12 1469e6f7b9e6: Pull complete 14:34:12 eaf3925da568: Pull complete 14:34:13 bab4dde63d76: Pull complete 14:34:13 bde34c3a00c8: Pull complete 14:34:13 b352a97aabf1: Pull complete 14:34:14 4872d77fe225: Pull complete 14:34:14 5851b861e8e6: Pull complete 14:34:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:34:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:34:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:34:14 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 14:34:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:34:15 $ docker top d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 -eo pid,comm 14:34:15 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). 14:34:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:34:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:34:15 [ssh-agent] Looking for ssh-agent implementation... 14:34:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:34:15 $ docker exec d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 ssh-agent 14:34:16 SSH_AUTH_SOCK=/tmp/ssh-bsM9HAwyujZV/agent.33 14:34:16 SSH_AGENT_PID=39 14:34:16 Running ssh-add (command line suppressed) 14:34:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2160717754791344987.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_2160717754791344987.key) 14:34:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:34:16 + git tag --points-at HEAD [Pipeline] } 14:34:16 $ docker exec --env ******** --env ******** d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 ssh-agent -k 14:34:16 unset SSH_AUTH_SOCK; 14:34:16 unset SSH_AGENT_PID; 14:34:16 echo Agent pid 39 killed; 14:34:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:34:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:34:16 [ssh-agent] Looking for ssh-agent implementation... 14:34:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:34:16 $ docker exec d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 ssh-agent 14:34:16 SSH_AUTH_SOCK=/tmp/ssh-PeoezOCTNwiR/agent.72 14:34:16 SSH_AGENT_PID=78 14:34:16 Running ssh-add (command line suppressed) 14:34:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_18177911621856985667.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_18177911621856985667.key) 14:34:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:34:17 + git semver init 14:34:17 2022-10-10 14:34:17,478 [run_init] DEBUG init version:0.0.0 force:False 14:34:17 2022-10-10 14:34:17,479 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 14:34:17 2022-10-10 14:34:17,480 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 14:34:17 2022-10-10 14:34:17,480 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423, universal_newlines=False, shell=None, istream=None) 14:34:18 2022-10-10 14:34:18,408 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude 14:34:18 2022-10-10 14:34:18,408 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 with force:False 14:34:18 2022-10-10 14:34:18,408 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 14:34:18 2022-10-10 14:34:18,412 [execute] INFO git cat-file --batch-check 14:34:18 2022-10-10 14:34:18,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 14:34:18 2022-10-10 14:34:18,418 [execute] INFO git cat-file --batch 14:34:18 2022-10-10 14:34:18,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 14:34:18 2022-10-10 14:34:18,424 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 14:34:18 0.0.0 [Pipeline] } 14:34:18 $ docker exec --env ******** --env ******** d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 ssh-agent -k 14:34:18 unset SSH_AUTH_SOCK; 14:34:18 unset SSH_AGENT_PID; 14:34:18 echo Agent pid 78 killed; 14:34:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:34:18 + git semver [Pipeline] } 14:34:19 $ docker stop --time=1 d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 14:34:20 $ docker rm -f d90e684415e59cc7a2c77823f17e895185df639f05572c5088003255e8a5fed6 [Pipeline] // withDockerContainer [Pipeline] sh 14:34:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:34:21 Stashed 1 file(s) [Pipeline] echo 14:34:21 [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 14:34:21 provisioning config files... 14:34:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config881444838179795895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:34:21 ---> docker-login.sh 14:34:21 nexus3.edgexfoundry.org:10001 14:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:21 Configure a credential helper to remove this warning. See 14:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:21 14:34:21 Login Succeeded 14:34:21 nexus3.edgexfoundry.org:10002 14:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:21 Configure a credential helper to remove this warning. See 14:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:21 14:34:21 Login Succeeded 14:34:21 nexus3.edgexfoundry.org:10003 14:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:21 Configure a credential helper to remove this warning. See 14:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:21 14:34:21 Login Succeeded 14:34:21 nexus3.edgexfoundry.org:10004 14:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:21 Configure a credential helper to remove this warning. See 14:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:21 14:34:21 Login Succeeded 14:34:21 docker.io 14:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:34:22 Configure a credential helper to remove this warning. See 14:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:34:22 14:34:22 Login Succeeded 14:34:22 ---> docker-login.sh ends [Pipeline] } 14:34:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:34:22 ========================================================= 14:34:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:34:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:22 + 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 . 14:34:22 Sending build context to Docker daemon 6.178MB 14:34:22 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:34:22 Step 2/13 : FROM ${BASE} AS builder 14:34:22 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:34:22 2408cc74d12b: Pulling fs layer 14:34:22 ea60b727a1ce: Pulling fs layer 14:34:22 30c4a7721957: Pulling fs layer 14:34:22 370296b7ddb6: Pulling fs layer 14:34:22 7c6cee850709: Pulling fs layer 14:34:22 aa9baa53a306: Pulling fs layer 14:34:22 8b309c321861: Pulling fs layer 14:34:22 d8d76fd02f46: Pulling fs layer 14:34:22 fa31f396de31: Pulling fs layer 14:34:22 aa9baa53a306: Waiting 14:34:22 8b309c321861: Waiting 14:34:22 d8d76fd02f46: Waiting 14:34:22 370296b7ddb6: Waiting 14:34:22 7c6cee850709: Waiting 14:34:22 fa31f396de31: Waiting 14:34:22 30c4a7721957: Verifying Checksum 14:34:22 30c4a7721957: Download complete 14:34:22 ea60b727a1ce: Download complete 14:34:22 7c6cee850709: Verifying Checksum 14:34:22 7c6cee850709: Download complete 14:34:22 aa9baa53a306: Download complete 14:34:22 2408cc74d12b: Verifying Checksum 14:34:22 2408cc74d12b: Download complete 14:34:22 8b309c321861: Download complete 14:34:22 2408cc74d12b: Pull complete 14:34:23 ea60b727a1ce: Pull complete 14:34:23 30c4a7721957: Pull complete 14:34:23 fa31f396de31: Verifying Checksum 14:34:23 fa31f396de31: Download complete 14:34:23 d8d76fd02f46: Verifying Checksum 14:34:23 d8d76fd02f46: Download complete 14:34:23 370296b7ddb6: Download complete 14:34:26 370296b7ddb6: Pull complete 14:34:26 7c6cee850709: Pull complete 14:34:26 aa9baa53a306: Pull complete 14:34:27 8b309c321861: Pull complete 14:34:29 d8d76fd02f46: Pull complete 14:34:30 fa31f396de31: Pull complete 14:34:30 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 14:34:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:34:30 ---> cef68f9685f8 14:34:30 Step 3/13 : ARG ADD_BUILD_TAGS="" 14:34:31 ---> Running in d1e72c38a889 14:34:31 Removing intermediate container d1e72c38a889 14:34:31 ---> bcc42665ae3d 14:34:31 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:34:31 ---> Running in 7eeaed457fb4 14:34:31 Removing intermediate container 7eeaed457fb4 14:34:31 ---> 307f0fac99a5 14:34:31 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:34:32 ---> Running in 529465abc278 14:34:32 Removing intermediate container 529465abc278 14:34:32 ---> 0b0983844961 14:34:32 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 14:34:32 ---> Running in 1dd70e771bd9 14:34:32 Removing intermediate container 1dd70e771bd9 14:34:32 ---> 7f4db6ee05d3 14:34:32 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:34:32 ---> Running in 0016483a3c22 14:34:33 Removing intermediate container 0016483a3c22 14:34:33 ---> b0d82fded32f 14:34:33 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:34:33 ---> Running in f71ef469756d 14:34:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:34:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:34:34 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:34:34 (2/4) Installing libedit (20210910.3.1-r0) 14:34:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:34:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:34:34 Executing busybox-1.35.0-r13.trigger 14:34:34 OK: 216 MiB in 55 packages 14:34:35 Removing intermediate container f71ef469756d 14:34:35 ---> 09228ae1b5e7 14:34:35 Step 9/13 : WORKDIR /device-mqtt-go 14:34:35 ---> Running in 540a7cdb20fc 14:34:35 Removing intermediate container 540a7cdb20fc 14:34:35 ---> f35b9ace130d 14:34:35 Step 10/13 : COPY go.mod vendor* ./ 14:34:35 ---> 831cf6c82b59 14:34:35 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:34:35 ---> Running in 042ace93ab8e 14:34:36 Still waiting to schedule task 14:34:36 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7523’ is offline 14:34:50 Removing intermediate container 042ace93ab8e 14:34:50 ---> 4689aabc1fa6 14:34:50 Step 12/13 : COPY . . 14:34:50 ---> d1dac3d22104 14:34:50 Step 13/13 : RUN $MAKE 14:34:50 ---> Running in bc895d735dbc 14:34:50 noop 14:34:50 Removing intermediate container bc895d735dbc 14:34:50 ---> 4f4838777de0 14:34:50 Successfully built 4f4838777de0 14:34:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:50 + docker inspect -f . ci-base-image-x86_64 14:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:34:50 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 14:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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-x86_64 cat 14:34:51 $ docker top a8d6ff305986537fd0953b9beb6de22e1cd66571604dd318d89d170ac5c9537a -eo pid,comm [Pipeline] { [Pipeline] sh 14:34:51 + go version 14:34:51 go version go1.18.3 linux/amd64 [Pipeline] } 14:34:51 $ docker stop --time=1 a8d6ff305986537fd0953b9beb6de22e1cd66571604dd318d89d170ac5c9537a 14:34:52 $ docker rm -f a8d6ff305986537fd0953b9beb6de22e1cd66571604dd318d89d170ac5c9537a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:34:53 + docker inspect -f . ci-base-image-x86_64 14:34:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:34:53 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 14:34:53 $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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-x86_64 cat 14:34:53 $ docker top ab089fb98985507499860103635d0100a3364e51119b7fe5c5ddd2dc82974031 -eo pid,comm [Pipeline] { [Pipeline] sh 14:34:54 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh 14:34:54 + make test 14:34:54 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:34:54 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:35:04 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:35:04 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 14:35:04 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:35:09 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." 14:35:09 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:35:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:35:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:35:13 ./bin/test-attribution-txt.sh [Pipeline] echo 14:35:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:35:13 $ docker stop --time=1 ab089fb98985507499860103635d0100a3364e51119b7fe5c5ddd2dc82974031 14:35:14 $ docker rm -f ab089fb98985507499860103635d0100a3364e51119b7fe5c5ddd2dc82974031 [Pipeline] // withDockerContainer [Pipeline] sh 14:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:35:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:35:16 + ls -al . 14:35:16 total 184 14:35:16 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 14:34 . 14:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:33 .. 14:35:16 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 14:34 .dockerignore 14:35:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 14:35 .git 14:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:34 .github 14:35:16 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 14:34 .gitignore 14:35:16 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 14:34 .golangci.yml 14:35:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 14:34 .semver 14:35:16 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 14:34 Attribution.txt 14:35:16 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 14:34 CHANGELOG.md 14:35:16 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 14:34 Dockerfile 14:35:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 14:34 GOVERNANCE.md 14:35:16 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 14:34 Jenkinsfile 14:35:16 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 14:34 LICENSE 14:35:16 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 14:34 Makefile 14:35:16 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 14:34 OWNERS.md 14:35:16 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 14:34 README.md 14:35:16 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 14:34 VERSION 14:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:34 bin 14:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:34 cmd 14:35:16 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 14:35 coverage.out 14:35:16 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 14:34 go.mod 14:35:16 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 14:34 go.sum 14:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:34 internal 14:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:34 mock 14:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:34 snap 14:35:16 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 14:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:16 + 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=a29e63d7aa5605164e6e1c6cd07337351782d1a4 --label arch=amd64 --label version=0.0.0 . 14:35:16 Sending build context to Docker daemon 6.196MB 14:35:16 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:35:16 Step 2/25 : FROM ${BASE} AS builder 14:35:16 ---> 4f4838777de0 14:35:16 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:35:16 ---> Running in 332150c5d46a 14:35:16 Removing intermediate container 332150c5d46a 14:35:16 ---> 9cd62f54e89f 14:35:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:35:16 ---> Running in d84811d35c66 14:35:16 Removing intermediate container d84811d35c66 14:35:16 ---> 549e64eb1fe7 14:35:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:35:16 ---> Running in 7e6faa32ddda 14:35:16 Removing intermediate container 7e6faa32ddda 14:35:16 ---> b3b215d73c35 14:35:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:35:16 ---> Running in ecd65d122905 14:35:16 Removing intermediate container ecd65d122905 14:35:16 ---> 025f3cad0551 14:35:16 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:35:16 ---> Running in 558e49770875 14:35:17 Removing intermediate container 558e49770875 14:35:17 ---> 2a48bdfdf576 14:35:17 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:35:17 ---> Running in b8efcebff7b0 14:35:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:35:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:35:18 OK: 216 MiB in 55 packages 14:35:19 Removing intermediate container b8efcebff7b0 14:35:19 ---> 58749e6c7bb3 14:35:19 Step 9/25 : WORKDIR /device-mqtt-go 14:35:19 ---> Running in 58ab8050d438 14:35:19 Removing intermediate container 58ab8050d438 14:35:19 ---> cf2cb4799e65 14:35:19 Step 10/25 : COPY go.mod vendor* ./ 14:35:19 ---> 980786daf162 14:35:19 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:35:19 ---> Running in 0dd0c2c29618 14:35:20 Removing intermediate container 0dd0c2c29618 14:35:20 ---> 30c884451e66 14:35:20 Step 12/25 : COPY . . 14:35:20 ---> 13c04e8f46f0 14:35:20 Step 13/25 : RUN $MAKE 14:35:20 ---> Running in 62968c7357f8 14:35:20 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 14:35:42 Removing intermediate container 62968c7357f8 14:35:42 ---> ac92493fcfc4 14:35:42 Step 14/25 : FROM alpine:3.16 14:35:42 3.16: Pulling from library/alpine 14:35:42 213ec9aee27d: Pulling fs layer 14:35:42 213ec9aee27d: Verifying Checksum 14:35:42 213ec9aee27d: Download complete 14:35:42 213ec9aee27d: Pull complete 14:35:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:35:42 Status: Downloaded newer image for alpine:3.16 14:35:42 ---> 9c6f07244728 14:35:42 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:35:42 ---> Running in 89070649ce85 14:35:42 Removing intermediate container 89070649ce85 14:35:42 ---> 5f33781c83de 14:35:42 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:35:42 ---> Running in 4bf6e9679652 14:35:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:35:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:35:42 (1/6) Installing dumb-init (1.2.5-r1) 14:35:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:35:42 (3/6) Installing libsodium (1.0.18-r0) 14:35:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:35:42 (5/6) Installing libzmq (4.3.4-r0) 14:35:42 (6/6) Installing zeromq (4.3.4-r0) 14:35:42 Executing busybox-1.35.0-r17.trigger 14:35:42 OK: 8 MiB in 20 packages 14:35:42 Removing intermediate container 4bf6e9679652 14:35:42 ---> e5ce7bfce778 14:35:42 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 14:35:42 ---> cb79110b91fd 14:35:42 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 14:35:42 ---> 806e6981bf18 14:35:42 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:35:43 ---> 61f6ed87e778 14:35:43 Step 20/25 : EXPOSE 59982 14:35:43 ---> Running in f2be67c9cccc 14:35:43 Removing intermediate container f2be67c9cccc 14:35:43 ---> 7b44405ad78b 14:35:43 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 14:35:43 ---> Running in 554e1b4a0014 14:35:43 Removing intermediate container 554e1b4a0014 14:35:43 ---> 2f5948ece1d1 14:35:43 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:35:43 ---> Running in ef5854c7c349 14:35:43 Removing intermediate container ef5854c7c349 14:35:43 ---> 0427d74aba59 14:35:43 Step 23/25 : LABEL arch=amd64 14:35:43 ---> Running in 84a15456fc31 14:35:43 Removing intermediate container 84a15456fc31 14:35:43 ---> c13e5bb4c455 14:35:43 Step 24/25 : LABEL git_sha=a29e63d7aa5605164e6e1c6cd07337351782d1a4 14:35:43 ---> Running in e5025580df66 14:35:43 Removing intermediate container e5025580df66 14:35:43 ---> 0cf74b271c5b 14:35:43 Step 25/25 : LABEL version=0.0.0 14:35:43 ---> Running in 42a33cbfec13 14:35:43 Removing intermediate container 42a33cbfec13 14:35:43 ---> a7b78ca80896 14:35:43 [Warning] One or more build-args [ARCH] were not consumed 14:35:43 Successfully built a7b78ca80896 14:35:43 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 14:35:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:35:44 14:35:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:35:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:35:44 latest: Pulling from edgex-lftools-log-publisher 14:35:44 5eb5b503b376: Pulling fs layer 14:35:44 5c69ac0246d0: Pulling fs layer 14:35:44 ec43610c2a17: Pulling fs layer 14:35:44 3a2ae6a8a46f: Pulling fs layer 14:35:44 33b1e0a273af: Pulling fs layer 14:35:44 5d3b04190fa2: Pulling fs layer 14:35:44 2f39f015ded8: Pulling fs layer 14:35:44 33b1e0a273af: Waiting 14:35:44 5d3b04190fa2: Waiting 14:35:44 2f39f015ded8: Waiting 14:35:44 3a2ae6a8a46f: Waiting 14:35:44 5c69ac0246d0: Verifying Checksum 14:35:44 5c69ac0246d0: Download complete 14:35:44 3a2ae6a8a46f: Verifying Checksum 14:35:44 3a2ae6a8a46f: Download complete 14:35:44 33b1e0a273af: Verifying Checksum 14:35:44 33b1e0a273af: Download complete 14:35:44 5d3b04190fa2: Download complete 14:35:44 ec43610c2a17: Verifying Checksum 14:35:44 ec43610c2a17: Download complete 14:35:44 5eb5b503b376: Verifying Checksum 14:35:44 5eb5b503b376: Download complete 14:35:45 2f39f015ded8: Download complete 14:35:45 5eb5b503b376: Pull complete 14:35:45 5c69ac0246d0: Pull complete 14:35:46 ec43610c2a17: Pull complete 14:35:46 3a2ae6a8a46f: Pull complete 14:35:46 33b1e0a273af: Pull complete 14:35:46 5d3b04190fa2: Pull complete 14:35:50 2f39f015ded8: Pull complete 14:35:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:35:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:35:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:35:51 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 14:35:51 $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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:latest cat 14:35:52 $ docker top f904b93e11779d8c394b077721b81c2d75eb6ff20bdf43745179b717ab43697c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:35:52 ---> job-cost.sh 14:35:52 lf-activate-venv: SKIPPING 14:35:52 INFO: No Stack... 14:35:53 INFO: Retrieving Pricing Info for: v3-standard-8 14:35:53 INFO: Archiving Costs [Pipeline] sh 14:35:53 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv 14:35:53 + cut -d, -f6 [Pipeline] lock 14:35:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] 14:35:53 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] did not exist. Created. 14:35:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:35:53 + echo total: 0.2199999988079071 [Pipeline] stash 14:35:53 Stashed 1 file(s) [Pipeline] } 14:35:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:35:54 $ docker stop --time=1 f904b93e11779d8c394b077721b81c2d75eb6ff20bdf43745179b717ab43697c 14:35:55 $ docker rm -f f904b93e11779d8c394b077721b81c2d75eb6ff20bdf43745179b717ab43697c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:36:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7525 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] ws 14:36:02 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 14:36:02 Selected Git installation does not exist. Using Default 14:36:02 The recommended git tool is: NONE 14:36:07 using credential edgex-jenkins-ssh 14:36:07 Cloning the remote Git repository 14:36:07 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:36:07 > git init /w/workspace/device-mqtt-go/2 # timeout=10 14:36:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:36:07 > git --version # timeout=10 14:36:07 > git --version # 'git version 2.25.1' 14:36:07 using GIT_SSH to set credentials SSH Credentials for GitHub 14:36:07 Verifying host key using known hosts file 14:36:07 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. 14:36:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:36:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:36:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:36:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:36:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:36:09 using GIT_SSH to set credentials SSH Credentials for GitHub 14:36:09 Verifying host key using known hosts file 14:36:09 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. 14:36:10 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit a29e63d7aa5605164e6e1c6cd07337351782d1a4 14:36:10 Merge succeeded, producing a29e63d7aa5605164e6e1c6cd07337351782d1a4 14:36:10 Checking out Revision a29e63d7aa5605164e6e1c6cd07337351782d1a4 (PR-423) 14:36:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 14:36:10 > git config core.sparsecheckout # timeout=10 14:36:10 > git checkout -f a29e63d7aa5605164e6e1c6cd07337351782d1a4 # timeout=10 14:36:10 > git remote # timeout=10 14:36:10 > git config --get remote.origin.url # timeout=10 14:36:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:36:10 Verifying host key using known hosts file 14:36:10 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. 14:36:10 > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 14:36:10 > git rev-parse HEAD^{commit} # timeout=10 14:36:10 > git config core.sparsecheckout # timeout=10 14:36:10 > git checkout -f a29e63d7aa5605164e6e1c6cd07337351782d1a4 # timeout=10 14:36:13 Commit message: "refactor(snap): Note old field as deprecated" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:36:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:36:14 % Total % Received % Xferd Average Speed Time Time Time Current 14:36:14 Dload Upload Total Spent Left Speed 14:36:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98453 0 --:--:-- --:--:-- --:--:-- 98453 [Pipeline] sh 14:36:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:36:15 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 14:36:15 14:36:15 { 14:36:15 "registry-mirrors": [ 14:36:15 "https://nexus3.edgexfoundry.org:10001" 14:36:15 ], 14:36:15 "bip": "10.250.0.254/24", 14:36:15 "hosts": [ 14:36:15 "tcp://0.0.0.0:5555", 14:36:15 "unix:///var/run/docker.sock" 14:36:15 ], 14:36:15 "mtu": 1458, 14:36:15 "selinux-enabled": true, 14:36:15 "seccomp-profile": "/etc/docker/seccomp.json" 14:36:15 } [Pipeline] sh 14:36:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:36:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:36:34 provisioning config files... 14:36:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config937213563550625729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:36:35 ---> docker-login.sh 14:36:35 nexus3.edgexfoundry.org:10001 14:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:35 Configure a credential helper to remove this warning. See 14:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:35 14:36:35 Login Succeeded 14:36:35 nexus3.edgexfoundry.org:10002 14:36:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:35 Configure a credential helper to remove this warning. See 14:36:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:35 14:36:35 Login Succeeded 14:36:36 nexus3.edgexfoundry.org:10003 14:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:36 Configure a credential helper to remove this warning. See 14:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:36 14:36:36 Login Succeeded 14:36:36 nexus3.edgexfoundry.org:10004 14:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:36 Configure a credential helper to remove this warning. See 14:36:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:36 14:36:36 Login Succeeded 14:36:36 docker.io 14:36:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:36:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:36:37 Configure a credential helper to remove this warning. See 14:36:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:36:37 14:36:37 Login Succeeded 14:36:37 ---> docker-login.sh ends [Pipeline] } 14:36:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:36:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:36:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:36:37 ========================================================= 14:36:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:36:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:36:38 + 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 . 14:36:38 Sending build context to Docker daemon 3.203MB 14:36:38 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:36:38 Step 2/13 : FROM ${BASE} AS builder 14:36:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:36:38 b3c136eddcbf: Pulling fs layer 14:36:38 c0a3192eca97: Pulling fs layer 14:36:38 a050256f5b6f: Pulling fs layer 14:36:38 656be50a0ddc: Pulling fs layer 14:36:38 2bbca73fdf42: Pulling fs layer 14:36:38 f607e4fc86c3: Pulling fs layer 14:36:38 4d572c569a2c: Pulling fs layer 14:36:38 fcf976331f73: Pulling fs layer 14:36:38 656be50a0ddc: Waiting 14:36:38 2bbca73fdf42: Waiting 14:36:38 f607e4fc86c3: Waiting 14:36:38 4d572c569a2c: Waiting 14:36:38 fcf976331f73: Waiting 14:36:38 a050256f5b6f: Verifying Checksum 14:36:38 a050256f5b6f: Download complete 14:36:38 c0a3192eca97: Verifying Checksum 14:36:38 c0a3192eca97: Download complete 14:36:38 2bbca73fdf42: Verifying Checksum 14:36:38 2bbca73fdf42: Download complete 14:36:38 b3c136eddcbf: Verifying Checksum 14:36:38 b3c136eddcbf: Download complete 14:36:38 f607e4fc86c3: Verifying Checksum 14:36:38 f607e4fc86c3: Download complete 14:36:39 fcf976331f73: Verifying Checksum 14:36:39 fcf976331f73: Download complete 14:36:39 b3c136eddcbf: Pull complete 14:36:40 c0a3192eca97: Pull complete 14:36:40 a050256f5b6f: Pull complete 14:36:41 4d572c569a2c: Verifying Checksum 14:36:41 4d572c569a2c: Download complete 14:36:41 656be50a0ddc: Verifying Checksum 14:36:41 656be50a0ddc: Download complete 14:36:53 656be50a0ddc: Pull complete 14:36:53 2bbca73fdf42: Pull complete 14:36:53 f607e4fc86c3: Pull complete 14:37:00 4d572c569a2c: Pull complete 14:37:02 fcf976331f73: Pull complete 14:37:02 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 14:37:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:37:02 ---> 3970a7415f9e 14:37:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 14:37:04 ---> Running in 0692727e4ea5 14:37:04 Removing intermediate container 0692727e4ea5 14:37:04 ---> ab3f8643b38a 14:37:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:37:04 ---> Running in b35421975d06 14:37:04 Removing intermediate container b35421975d06 14:37:04 ---> 4a4ec5b78f4d 14:37:04 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:37:04 ---> Running in 3533cf99cb41 14:37:05 Removing intermediate container 3533cf99cb41 14:37:05 ---> 839dc6f494fd 14:37:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 14:37:05 ---> Running in 923a07000167 14:37:05 Removing intermediate container 923a07000167 14:37:05 ---> ce8e58567826 14:37:05 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:37:05 ---> Running in 79fd5f07b370 14:37:07 Removing intermediate container 79fd5f07b370 14:37:07 ---> c3af8afec8b8 14:37:07 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:37:07 ---> Running in 0a3b63f81613 14:37:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:37:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:37:10 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:37:10 (2/4) Installing libedit (20210910.3.1-r0) 14:37:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:37:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:37:10 Executing busybox-1.35.0-r13.trigger 14:37:10 OK: 226 MiB in 55 packages 14:37:11 Removing intermediate container 0a3b63f81613 14:37:11 ---> a931aac73ba0 14:37:11 Step 9/13 : WORKDIR /device-mqtt-go 14:37:11 ---> Running in e21996817322 14:37:12 Removing intermediate container e21996817322 14:37:12 ---> 6e9d3b2dc66e 14:37:12 Step 10/13 : COPY go.mod vendor* ./ 14:37:12 ---> d1591f5e26ad 14:37:12 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:37:12 ---> Running in 8114c91cb1e7 14:38:09 Removing intermediate container 8114c91cb1e7 14:38:09 ---> fd26af105795 14:38:09 Step 12/13 : COPY . . 14:38:09 ---> 335c2031b9e0 14:38:09 Step 13/13 : RUN $MAKE 14:38:09 ---> Running in 8de7b7f38761 14:38:09 noop 14:38:09 Removing intermediate container 8de7b7f38761 14:38:09 ---> 86e42705d87d 14:38:09 Successfully built 86e42705d87d 14:38:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:09 + docker inspect -f . ci-base-image-arm64 14:38:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:38:09 prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container 14:38:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 14:38:10 $ docker top 864a3e8d799d9e5bef8b91ef8ed9234e8c92f9bc531f9ee92ca68d136007f52d -eo pid,comm [Pipeline] { [Pipeline] sh 14:38:11 + go version 14:38:11 go version go1.18.3 linux/arm64 [Pipeline] } 14:38:11 $ docker stop --time=1 864a3e8d799d9e5bef8b91ef8ed9234e8c92f9bc531f9ee92ca68d136007f52d 14:38:13 $ docker rm -f 864a3e8d799d9e5bef8b91ef8ed9234e8c92f9bc531f9ee92ca68d136007f52d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:38:13 + docker inspect -f . ci-base-image-arm64 14:38:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:38:14 prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container 14:38:14 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 14:38:15 $ docker top 9a554e7aed76094b8ae60153a53abaf1d36d30a9124035e8140ddecdb6ca7c86 -eo pid,comm [Pipeline] { [Pipeline] sh 14:38:15 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 14:38:16 + make test 14:38:16 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:38:18 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:39:39 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:39:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 14:39:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:39:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:39:39 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:40:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:40:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:40:01 ./bin/test-attribution-txt.sh [Pipeline] echo 14:40:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:40:01 $ docker stop --time=1 9a554e7aed76094b8ae60153a53abaf1d36d30a9124035e8140ddecdb6ca7c86 14:40:03 $ docker rm -f 9a554e7aed76094b8ae60153a53abaf1d36d30a9124035e8140ddecdb6ca7c86 [Pipeline] // withDockerContainer [Pipeline] sh 14:40:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:40:04 Warning: overwriting stash ‘coverage-report’ 14:40:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:40:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:40:05 + ls -al . 14:40:05 total 180 14:40:05 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 14:38 . 14:40:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:36 .. 14:40:05 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 14:36 .dockerignore 14:40:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 14:36 .git 14:40:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:36 .github 14:40:05 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 14:36 .gitignore 14:40:05 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 14:36 .golangci.yml 14:40:05 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 14:36 Attribution.txt 14:40:05 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 14:36 CHANGELOG.md 14:40:05 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 14:36 Dockerfile 14:40:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 14:36 GOVERNANCE.md 14:40:05 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 14:36 Jenkinsfile 14:40:05 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 14:36 LICENSE 14:40:05 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 14:36 Makefile 14:40:05 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 14:36 OWNERS.md 14:40:05 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 14:36 README.md 14:40:05 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 14:34 VERSION 14:40:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:36 bin 14:40:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:36 cmd 14:40:05 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 14:39 coverage.out 14:40:05 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 14:36 go.mod 14:40:05 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 14:36 go.sum 14:40:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:36 internal 14:40:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:36 mock 14:40:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:36 snap 14:40:05 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 14:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:40:05 + 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=a29e63d7aa5605164e6e1c6cd07337351782d1a4 --label arch=arm64 --label version=0.0.0 . 14:40:06 Sending build context to Docker daemon 3.222MB 14:40:06 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:40:06 Step 2/25 : FROM ${BASE} AS builder 14:40:06 ---> 86e42705d87d 14:40:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:40:06 ---> Running in 9c9898dc4165 14:40:06 Removing intermediate container 9c9898dc4165 14:40:06 ---> cea828d0e8ce 14:40:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:40:06 ---> Running in db34e541717d 14:40:06 Removing intermediate container db34e541717d 14:40:06 ---> 6a75584b9ed2 14:40:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:40:06 ---> Running in ce7aa2f3c246 14:40:07 Removing intermediate container ce7aa2f3c246 14:40:07 ---> 4a71ca219d21 14:40:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:40:07 ---> Running in 27ff0a4fc9a2 14:40:07 Removing intermediate container 27ff0a4fc9a2 14:40:07 ---> b49af6765f03 14:40:07 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:40:07 ---> Running in cf9cf7567c9d 14:40:09 Removing intermediate container cf9cf7567c9d 14:40:09 ---> 107db2b777cd 14:40:09 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:40:09 ---> Running in 120b81f5c3ed 14:40:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:40:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:40:11 OK: 226 MiB in 55 packages 14:40:12 Removing intermediate container 120b81f5c3ed 14:40:12 ---> 3835a062e9ee 14:40:12 Step 9/25 : WORKDIR /device-mqtt-go 14:40:12 ---> Running in 91fa34f68422 14:40:12 Removing intermediate container 91fa34f68422 14:40:12 ---> 956767334110 14:40:12 Step 10/25 : COPY go.mod vendor* ./ 14:40:13 ---> 3fa22f8f6bc9 14:40:13 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:40:13 ---> Running in 8b0f0f288019 14:40:15 Removing intermediate container 8b0f0f288019 14:40:15 ---> ffa0015ed8cd 14:40:15 Step 12/25 : COPY . . 14:40:16 ---> 51ee6ca819bd 14:40:16 Step 13/25 : RUN $MAKE 14:40:16 ---> Running in a2b26ad1aa71 14:40:17 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 14:42:54 Removing intermediate container a2b26ad1aa71 14:42:54 ---> 9c707535f169 14:42:54 Step 14/25 : FROM alpine:3.16 14:42:54 3.16: Pulling from library/alpine 14:42:54 9b18e9b68314: Pulling fs layer 14:42:54 9b18e9b68314: Verifying Checksum 14:42:54 9b18e9b68314: Download complete 14:42:54 9b18e9b68314: Pull complete 14:42:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:42:54 Status: Downloaded newer image for alpine:3.16 14:42:54 ---> a6215f271958 14:42:54 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:42:54 ---> Running in 9dc161f6143b 14:42:54 Removing intermediate container 9dc161f6143b 14:42:54 ---> 6fa7ce904272 14:42:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:42:54 ---> Running in 6b0b658240f8 14:42:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:42:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:42:54 (1/6) Installing dumb-init (1.2.5-r1) 14:42:54 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:42:54 (3/6) Installing libsodium (1.0.18-r0) 14:42:54 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:42:54 (5/6) Installing libzmq (4.3.4-r0) 14:42:54 (6/6) Installing zeromq (4.3.4-r0) 14:42:54 Executing busybox-1.35.0-r17.trigger 14:42:54 OK: 8 MiB in 20 packages 14:42:54 Removing intermediate container 6b0b658240f8 14:42:54 ---> 2c630b20255d 14:42:54 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 14:42:54 ---> 091d2a3d2e68 14:42:54 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 14:42:54 ---> 4a59fb368af9 14:42:54 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:42:54 ---> bc15fee9a5b5 14:42:54 Step 20/25 : EXPOSE 59982 14:42:54 ---> Running in 941c77ac7a4c 14:42:54 Removing intermediate container 941c77ac7a4c 14:42:54 ---> c3a5799fbb90 14:42:54 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 14:42:54 ---> Running in 5e80a55cd9a2 14:42:54 Removing intermediate container 5e80a55cd9a2 14:42:54 ---> 9773ae83b3d0 14:42:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:42:54 ---> Running in 286050d5887a 14:42:54 Removing intermediate container 286050d5887a 14:42:54 ---> 3f7b4c5733e7 14:42:54 Step 23/25 : LABEL arch=arm64 14:42:54 ---> Running in ec99d45a9f2b 14:42:54 Removing intermediate container ec99d45a9f2b 14:42:54 ---> 5f0507e75837 14:42:54 Step 24/25 : LABEL git_sha=a29e63d7aa5605164e6e1c6cd07337351782d1a4 14:42:54 ---> Running in cbd63207466a 14:42:54 Removing intermediate container cbd63207466a 14:42:54 ---> 88e10ce3adde 14:42:54 Step 25/25 : LABEL version=0.0.0 14:42:54 ---> Running in bf9e56527b92 14:42:54 Removing intermediate container bf9e56527b92 14:42:54 ---> 93a3043ee870 14:42:54 [Warning] One or more build-args [ARCH] were not consumed 14:42:54 Successfully built 93a3043ee870 14:42:54 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 14:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:42:54 14:42:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:42:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:42:54 arm64: Pulling from edgex-lftools-log-publisher 14:42:54 8998bd30e6a1: Pulling fs layer 14:42:54 04944245beec: Pulling fs layer 14:42:54 699f458cf7ca: Pulling fs layer 14:42:54 765212b225bb: Pulling fs layer 14:42:54 f23df028b6ca: Pulling fs layer 14:42:54 d65c8cfc05b1: Pulling fs layer 14:42:54 2437ff75d9bd: Pulling fs layer 14:42:54 f23df028b6ca: Waiting 14:42:54 d65c8cfc05b1: Waiting 14:42:54 2437ff75d9bd: Waiting 14:42:54 765212b225bb: Waiting 14:42:55 04944245beec: Verifying Checksum 14:42:55 04944245beec: Download complete 14:42:55 765212b225bb: Verifying Checksum 14:42:55 765212b225bb: Download complete 14:42:55 f23df028b6ca: Verifying Checksum 14:42:55 f23df028b6ca: Download complete 14:42:55 d65c8cfc05b1: Verifying Checksum 14:42:55 d65c8cfc05b1: Download complete 14:42:55 699f458cf7ca: Verifying Checksum 14:42:55 8998bd30e6a1: Verifying Checksum 14:42:55 8998bd30e6a1: Download complete 14:42:57 2437ff75d9bd: Verifying Checksum 14:42:57 2437ff75d9bd: Download complete 14:42:59 8998bd30e6a1: Pull complete 14:42:59 04944245beec: Pull complete 14:43:01 699f458cf7ca: Pull complete 14:43:01 765212b225bb: Pull complete 14:43:01 f23df028b6ca: Pull complete 14:43:02 d65c8cfc05b1: Pull complete 14:43:17 2437ff75d9bd: Pull complete 14:43:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:43:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:43:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:17 prd-ubuntu20.04-docker-arm64-4c-16g-7525 does not seem to be running inside a container 14:43:17 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 14:43:20 $ docker top cfca28f66b97f753f5bf0919a31b8af01e0871fc1393e57766898d15a7dfab39 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:43:20 ---> job-cost.sh 14:43:20 lf-activate-venv: SKIPPING 14:43:20 INFO: No Stack... 14:43:21 INFO: Retrieving Pricing Info for: v3-standard-4 14:43:21 INFO: Archiving Costs [Pipeline] sh 14:43:22 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 14:43:22 + cut -d, -f6 [Pipeline] lock 14:43:22 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] 14:43:22 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] did not exist. Created. 14:43:22 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:43:22 /w/workspace/device-mqtt-go/2@tmp/durable-d76747c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:43:23 + echo total: 0.10999999940395355 [Pipeline] stash 14:43:23 Warning: overwriting stash ‘stack-cost’ 14:43:23 Stashed 1 file(s) [Pipeline] } 14:43:23 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-2-stack-cost] [Pipeline] // lock [Pipeline] } 14:43:23 $ docker stop --time=1 cfca28f66b97f753f5bf0919a31b8af01e0871fc1393e57766898d15a7dfab39 14:43:24 $ docker rm -f cfca28f66b97f753f5bf0919a31b8af01e0871fc1393e57766898d15a7dfab39 [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 14:43:25 provisioning config files... 14:43:25 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config8682003530173636145tmp [Pipeline] { [Pipeline] sh 14:43:25 + set +x 14:43:25 + curl -s https://codecov.io/bash 14:43:25 + bash -s -- 14:43:25 14:43:25 _____ _ 14:43:25 / ____| | | 14:43:25 | | ___ __| | ___ ___ _____ __ 14:43:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:43:25 | |___| (_) | (_| | __/ (_| (_) \ V / 14:43:25 \_____\___/ \__,_|\___|\___\___/ \_/ 14:43:25 Bash-1.0.6 14:43:25 14:43:25 14:43:25 ==> git version 2.25.1 found 14:43:25 ==> 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 14:43:25 Release-Date: 2020-01-08 14:43:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:43:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:43:25 ==> Jenkins CI detected. 14:43:25 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 14:43:25 project root: . 14:43:25 --> token set from env 14:43:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:43:25 ==> Running gcov in . (disable via -X gcov) 14:43:25 ==> Python coveragepy not found 14:43:25 ==> Searching for coverage reports in: 14:43:25 + . 14:43:25 -> Found 1 reports 14:43:25 ==> Detecting git/mercurial file structure 14:43:25 ==> Reading reports 14:43:25 + ./coverage.out bytes=17887 14:43:25 ==> Appending adjustments 14:43:25 https://docs.codecov.io/docs/fixing-reports 14:43:25 + Found adjustments 14:43:25 ==> Gzipping contents 14:43:25 4.0K /tmp/codecov.zR8O7U.gz 14:43:25 ==> Uploading reports 14:43:25 url: https://codecov.io 14:43:25 query: branch=PR-423&commit=a29e63d7aa5605164e6e1c6cd07337351782d1a4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 14:43:25 -> Pinging Codecov 14:43:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-423&commit=a29e63d7aa5605164e6e1c6cd07337351782d1a4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 14:43:26 -> Uploading to 14:43:26 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/a29e63d7aa5605164e6e1c6cd07337351782d1a4/5bf8c816-135f-4405-97e7-b97e335d5e36.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T144325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=73e5d5319527daf4b22075c649805114d38db1badaaadbd6296b5eea3fc20fa7 14:43:26 % Total % Received % Xferd Average Speed Time Time Time Current 14:43:26 Dload Upload Total Spent Left Speed 14:43:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 10857 --:--:-- --:--:-- --:--:-- 10857 14:43:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/a29e63d7aa5605164e6e1c6cd07337351782d1a4 [Pipeline] } 14:43:26 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 14:43:27 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] 14:43:27 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 14:43:27 total 16 14:43:27 drwxr-xr-x 3 root root 4096 Oct 10 14:35 . 14:43:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 14:35 .. 14:43:27 drwxr-xr-x 2 root root 4096 Oct 10 14:35 cost 14:43:27 -rw-r--r-- 1 root root 86 Oct 10 14:35 cost.csv 14:43:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 14:43:27 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 14:43:27 total 16 14:43:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 14:35 . 14:43:27 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 14:35 .. 14:43:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 14:35 cost 14:43:27 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 14:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:43:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:43:28 ---> package-listing.sh 14:43:28 ++ facter osfamily 14:43:28 ++ tr '[:upper:]' '[:lower:]' 14:43:28 + OS_FAMILY=debian 14:43:28 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 14:43:28 + START_PACKAGES=/tmp/packages_start.txt 14:43:28 + END_PACKAGES=/tmp/packages_end.txt 14:43:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:43:28 + PACKAGES=/tmp/packages_start.txt 14:43:28 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 14:43:28 + PACKAGES=/tmp/packages_end.txt 14:43:28 + case "${OS_FAMILY}" in 14:43:28 + dpkg -l 14:43:28 + grep '^ii' 14:43:28 + '[' -f /tmp/packages_start.txt ']' 14:43:28 + '[' -f /tmp/packages_end.txt ']' 14:43:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:43:28 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 14:43:28 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ 14:43:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [Pipeline] echo 14:43:28 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 14:43:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:43:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:43:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:43:29 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 14:43:29 $ 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-423/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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 14:43:29 $ docker top cf39c2cfa676ceac3d86f867d1948e56c26648ec715e1d529e9cab411255ee5e -eo pid,comm [Pipeline] { [Pipeline] sh 14:43:29 + touch /tmp/pre-build-complete [Pipeline] sh 14:43:30 + mkdir -p /var/log/sysstat [Pipeline] sh 14:43:30 + ls /var/log/sa-host 14:43:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:43:30 provisioning config files... 14:43:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config18052057580085506503tmp [Pipeline] { [Pipeline] echo 14:43:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:43:30 ---> create-netrc.sh [Pipeline] } 14:43:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:43:31 ---> python-tools-install.sh [Pipeline] echo 14:43:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:43:31 ---> sudo-logs.sh 14:43:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:43:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:43:31 ---> job-cost.sh 14:43:31 lf-activate-venv: SKIPPING 14:43:31 DEBUG: total: 0.2199999988079071 14:43:31 INFO: Retrieving Stack Cost... 14:43:32 INFO: Retrieving Pricing Info for: v3-standard-8 14:43:32 INFO: Archiving Costs [Pipeline] echo 14:43:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:43:32 ---> logs-deploy.sh 14:43:32 lf-activate-venv: SKIPPING 14:43:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/2 14:43:32 INFO: archiving workspace using pattern(s): 14:43:33 Archives upload complete. 14:43:33 INFO: archiving logs to Nexus