Pull request #423 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 459ccc30368983c74f8fc0b30a8da774d92164b5 rather than 98ddf2f5dcf1658cb762613530fc768454cbe723 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-ssh11847195240631469388.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-ssh12384452628306835778.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10468624512826063330.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10026214081663552152.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17119508850173326079.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8838164270672497523.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7522 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 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit 98ddf2f5dcf1658cb762613530fc768454cbe723 Merge succeeded, producing 98ddf2f5dcf1658cb762613530fc768454cbe723 Checking out Revision 98ddf2f5dcf1658cb762613530fc768454cbe723 (PR-423) > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 98ddf2f5dcf1658cb762613530fc768454cbe723 # 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 98ddf2f5dcf1658cb762613530fc768454cbe723 # timeout=10 Commit message: "refactor(snap): : Set unique name for config interface" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:23:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:23:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:23:05 ========================================================= 14:23:05 EdgeX Global Pipelines Version Info 14:23:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:23:06 ------------------- 14:23:06 stable info: 14:23:06 ------------------- 14:23:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:23:06 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:23:06 Message: update stable to v1.0.239 14:23:06 ------------------- 14:23:06 experimental info: 14:23:06 ------------------- 14:23:06 Commited By: **** collab-it+edgex@linuxfoundation.org 14:23:06 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:23:06 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:23:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98ddf2f [Pipeline] echo 14:23:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:23:08 provisioning config files... 14:23:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config16543153029516218709tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:08 ---> docker-login.sh 14:23:08 nexus3.edgexfoundry.org:10001 14:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:09 Configure a credential helper to remove this warning. See 14:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:09 14:23:09 Login Succeeded 14:23:09 nexus3.edgexfoundry.org:10002 14:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:09 Configure a credential helper to remove this warning. See 14:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:09 14:23:09 Login Succeeded 14:23:09 nexus3.edgexfoundry.org:10003 14:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:09 Configure a credential helper to remove this warning. See 14:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:09 14:23:09 Login Succeeded 14:23:09 nexus3.edgexfoundry.org:10004 14:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:09 Configure a credential helper to remove this warning. See 14:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:09 14:23:09 Login Succeeded 14:23:09 docker.io 14:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:10 Configure a credential helper to remove this warning. See 14:23:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:10 14:23:10 Login Succeeded 14:23:10 ---> docker-login.sh ends [Pipeline] } 14:23:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:23:10 + git rev-list -1 --merges 98ddf2f5dcf1658cb762613530fc768454cbe723~1..98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] echo 14:23:10 -----------> git rev-list -1 --merges 98ddf2f5dcf1658cb762613530fc768454cbe723~1..98ddf2f5dcf1658cb762613530fc768454cbe723 98ddf2f5dcf1658cb762613530fc768454cbe723 [false] [Pipeline] sh 14:23:11 + git log --format=format:%s -1 98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] echo 14:23:11 ========================================================= 14:23:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:23:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:23:11 + git log --format=format:%s -1 98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] echo 14:23:11 [semverPrep] GIT_COMMIT: 98ddf2f5dcf1658cb762613530fc768454cbe723, Commit Message: refactor(snap): : Set unique name for config interface [Pipeline] echo 14:23:11 [semverPrep] This is not a build commit. [Pipeline] sh 14:23:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:23:12 + grep -v github /etc/ssh/ssh_known_hosts 14:23:12 + [ -e /tmp/ssh_known_hosts ] 14:23:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:23:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:23:12 + sudo tee -a /etc/ssh/ssh_known_hosts 14:23:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:23:12 14:23:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:23:12 0.1.4: Pulling from edgex-devops/py-git-semver 14:23:12 b85a868b505f: Pulling fs layer 14:23:12 e2be974225ed: Pulling fs layer 14:23:12 339a4e72a1f5: Pulling fs layer 14:23:12 988bab9f4d93: Pulling fs layer 14:23:12 1469e6f7b9e6: Pulling fs layer 14:23:12 eaf3925da568: Pulling fs layer 14:23:12 bab4dde63d76: Pulling fs layer 14:23:12 bde34c3a00c8: Pulling fs layer 14:23:12 b352a97aabf1: Pulling fs layer 14:23:12 4872d77fe225: Pulling fs layer 14:23:12 5851b861e8e6: Pulling fs layer 14:23:12 988bab9f4d93: Waiting 14:23:12 1469e6f7b9e6: Waiting 14:23:12 eaf3925da568: Waiting 14:23:12 bab4dde63d76: Waiting 14:23:12 bde34c3a00c8: Waiting 14:23:12 b352a97aabf1: Waiting 14:23:12 5851b861e8e6: Waiting 14:23:12 4872d77fe225: Waiting 14:23:12 e2be974225ed: Verifying Checksum 14:23:12 e2be974225ed: Download complete 14:23:12 988bab9f4d93: Download complete 14:23:13 1469e6f7b9e6: Verifying Checksum 14:23:13 1469e6f7b9e6: Download complete 14:23:13 339a4e72a1f5: Verifying Checksum 14:23:13 339a4e72a1f5: Download complete 14:23:13 eaf3925da568: Verifying Checksum 14:23:13 eaf3925da568: Download complete 14:23:13 bde34c3a00c8: Download complete 14:23:13 b352a97aabf1: Verifying Checksum 14:23:13 b352a97aabf1: Download complete 14:23:13 4872d77fe225: Verifying Checksum 14:23:13 4872d77fe225: Download complete 14:23:13 5851b861e8e6: Verifying Checksum 14:23:13 5851b861e8e6: Download complete 14:23:13 b85a868b505f: Verifying Checksum 14:23:13 b85a868b505f: Download complete 14:23:13 bab4dde63d76: Verifying Checksum 14:23:13 bab4dde63d76: Download complete 14:23:14 b85a868b505f: Pull complete 14:23:14 e2be974225ed: Pull complete 14:23:15 339a4e72a1f5: Pull complete 14:23:15 988bab9f4d93: Pull complete 14:23:15 1469e6f7b9e6: Pull complete 14:23:16 eaf3925da568: Pull complete 14:23:17 bab4dde63d76: Pull complete 14:23:17 bde34c3a00c8: Pull complete 14:23:18 b352a97aabf1: Pull complete 14:23:18 4872d77fe225: Pull complete 14:23:18 5851b861e8e6: Pull complete 14:23:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:23:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:23:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:18 prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container 14:23:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:23:23 $ docker top 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 -eo pid,comm 14:23:23 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:23:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:23:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:23:23 [ssh-agent] Looking for ssh-agent implementation... 14:23:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:23:23 $ docker exec 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 ssh-agent 14:23:23 SSH_AUTH_SOCK=/tmp/ssh-Opzma0xc718R/agent.32 14:23:23 SSH_AGENT_PID=38 14:23:23 Running ssh-add (command line suppressed) 14:23:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_10433179428409763522.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_10433179428409763522.key) 14:23:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:23:24 + git tag --points-at HEAD [Pipeline] } 14:23:24 $ docker exec --env ******** --env ******** 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 ssh-agent -k 14:23:24 unset SSH_AUTH_SOCK; 14:23:24 unset SSH_AGENT_PID; 14:23:24 echo Agent pid 38 killed; 14:23:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:23:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:23:24 [ssh-agent] Looking for ssh-agent implementation... 14:23:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:23:24 $ docker exec 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 ssh-agent 14:23:24 SSH_AUTH_SOCK=/tmp/ssh-JILBjGtFhdH7/agent.70 14:23:24 SSH_AGENT_PID=76 14:23:24 Running ssh-add (command line suppressed) 14:23:24 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_16823710798466027800.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_16823710798466027800.key) 14:23:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:23:24 + git semver init 14:23:25 2022-10-10 14:23:25,180 [run_init] DEBUG init version:0.0.0 force:False 14:23:25 2022-10-10 14:23:25,182 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 14:23:25 2022-10-10 14:23:25,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 14:23:25 2022-10-10 14:23:25,184 [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:23:26 2022-10-10 14:23:26,124 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude 14:23:26 2022-10-10 14:23:26,125 [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:23:26 2022-10-10 14:23:26,125 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 14:23:26 2022-10-10 14:23:26,130 [execute] INFO git cat-file --batch-check 14:23:26 2022-10-10 14:23:26,130 [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:23:26 2022-10-10 14:23:26,138 [execute] INFO git cat-file --batch 14:23:26 2022-10-10 14:23:26,138 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 14:23:26 2022-10-10 14:23:26,143 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 14:23:26 0.0.0 [Pipeline] } 14:23:26 $ docker exec --env ******** --env ******** 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 ssh-agent -k 14:23:26 unset SSH_AUTH_SOCK; 14:23:26 unset SSH_AGENT_PID; 14:23:26 echo Agent pid 76 killed; 14:23:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:23:26 + git semver [Pipeline] } 14:23:27 $ docker stop --time=1 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 14:23:28 $ docker rm -f 8fde031445c6ae5f6117ef31044a0b99b4054813ad40afe0c7140b847aef2cc7 [Pipeline] // withDockerContainer [Pipeline] sh 14:23:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:23:29 Stashed 1 file(s) [Pipeline] echo 14:23:29 [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:23:29 provisioning config files... 14:23:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config16842445570150434330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:30 ---> docker-login.sh 14:23:30 nexus3.edgexfoundry.org:10001 14:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:30 Configure a credential helper to remove this warning. See 14:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:30 14:23:30 Login Succeeded 14:23:30 nexus3.edgexfoundry.org:10002 14:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:30 Configure a credential helper to remove this warning. See 14:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:30 14:23:30 Login Succeeded 14:23:30 nexus3.edgexfoundry.org:10003 14:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:30 Configure a credential helper to remove this warning. See 14:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:30 14:23:30 Login Succeeded 14:23:30 nexus3.edgexfoundry.org:10004 14:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:30 Configure a credential helper to remove this warning. See 14:23:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:30 14:23:30 Login Succeeded 14:23:30 docker.io 14:23:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:23:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:23:31 Configure a credential helper to remove this warning. See 14:23:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:23:31 14:23:31 Login Succeeded 14:23:31 ---> docker-login.sh ends [Pipeline] } 14:23:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:23:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:23:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:23:31 ========================================================= 14:23:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:23:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:31 + 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:23:31 Sending build context to Docker daemon 6.171MB 14:23:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:23:31 Step 2/13 : FROM ${BASE} AS builder 14:23:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:23:31 2408cc74d12b: Pulling fs layer 14:23:31 ea60b727a1ce: Pulling fs layer 14:23:31 30c4a7721957: Pulling fs layer 14:23:31 370296b7ddb6: Pulling fs layer 14:23:31 7c6cee850709: Pulling fs layer 14:23:31 370296b7ddb6: Waiting 14:23:31 aa9baa53a306: Pulling fs layer 14:23:31 8b309c321861: Pulling fs layer 14:23:31 7c6cee850709: Waiting 14:23:31 aa9baa53a306: Waiting 14:23:31 d8d76fd02f46: Pulling fs layer 14:23:31 fa31f396de31: Pulling fs layer 14:23:31 8b309c321861: Waiting 14:23:31 fa31f396de31: Waiting 14:23:31 30c4a7721957: Verifying Checksum 14:23:31 30c4a7721957: Download complete 14:23:31 ea60b727a1ce: Verifying Checksum 14:23:31 ea60b727a1ce: Download complete 14:23:31 7c6cee850709: Verifying Checksum 14:23:31 7c6cee850709: Download complete 14:23:32 aa9baa53a306: Verifying Checksum 14:23:32 aa9baa53a306: Download complete 14:23:32 2408cc74d12b: Verifying Checksum 14:23:32 2408cc74d12b: Download complete 14:23:32 8b309c321861: Download complete 14:23:32 2408cc74d12b: Pull complete 14:23:32 ea60b727a1ce: Pull complete 14:23:32 fa31f396de31: Verifying Checksum 14:23:32 30c4a7721957: Pull complete 14:23:33 370296b7ddb6: Verifying Checksum 14:23:33 370296b7ddb6: Download complete 14:23:33 d8d76fd02f46: Verifying Checksum 14:23:33 d8d76fd02f46: Download complete 14:23:37 370296b7ddb6: Pull complete 14:23:37 7c6cee850709: Pull complete 14:23:37 aa9baa53a306: Pull complete 14:23:37 8b309c321861: Pull complete 14:23:39 d8d76fd02f46: Pull complete 14:23:40 fa31f396de31: Pull complete 14:23:40 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 14:23:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:23:40 ---> cef68f9685f8 14:23:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 14:23:44 Still waiting to schedule task 14:23:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 14:23:48 ---> Running in 870570cdb84d 14:23:48 Removing intermediate container 870570cdb84d 14:23:48 ---> f48d739b302e 14:23:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:23:48 ---> Running in 9551c36503b5 14:23:48 Removing intermediate container 9551c36503b5 14:23:48 ---> a12cb3741a42 14:23:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:23:48 ---> Running in 44fe73e622fc 14:23:48 Removing intermediate container 44fe73e622fc 14:23:48 ---> a6d2672f59f3 14:23:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 14:23:48 ---> Running in 694afbee1f58 14:23:48 Removing intermediate container 694afbee1f58 14:23:48 ---> 03dd94a947c9 14:23:48 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:23:48 ---> Running in 020c9ee48e68 14:23:48 Removing intermediate container 020c9ee48e68 14:23:48 ---> 64e9e6fe484e 14:23:48 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:23:48 ---> Running in 4f0078efb93e 14:23:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:23:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:23:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:23:49 (2/4) Installing libedit (20210910.3.1-r0) 14:23:50 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:23:50 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:23:50 Executing busybox-1.35.0-r13.trigger 14:23:50 OK: 216 MiB in 55 packages 14:23:50 Removing intermediate container 4f0078efb93e 14:23:50 ---> 200551fe621c 14:23:50 Step 9/13 : WORKDIR /device-mqtt-go 14:23:50 ---> Running in edb036363843 14:23:51 Removing intermediate container edb036363843 14:23:51 ---> d7ce981a3760 14:23:51 Step 10/13 : COPY go.mod vendor* ./ 14:23:51 ---> 2ad3aca070ef 14:23:51 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:23:51 ---> Running in 6b12018b1be3 14:24:29 Removing intermediate container 6b12018b1be3 14:24:29 ---> 74aba3f54d94 14:24:29 Step 12/13 : COPY . . 14:24:29 ---> 4f61e2cd5ea4 14:24:29 Step 13/13 : RUN $MAKE 14:24:29 ---> Running in a7f5343d2d05 14:24:29 noop 14:24:29 Removing intermediate container a7f5343d2d05 14:24:29 ---> 8cff451ca5c2 14:24:29 Successfully built 8cff451ca5c2 14:24:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:30 + docker inspect -f . ci-base-image-x86_64 14:24:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:30 prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container 14:24:30 $ 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 ******** ci-base-image-x86_64 cat 14:24:30 $ docker top 40ea59065b733081d80116b92420c244c165e58e027c99392b251fe3928c5808 -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:31 + go version 14:24:31 go version go1.18.3 linux/amd64 [Pipeline] } 14:24:31 $ docker stop --time=1 40ea59065b733081d80116b92420c244c165e58e027c99392b251fe3928c5808 14:24:32 $ docker rm -f 40ea59065b733081d80116b92420c244c165e58e027c99392b251fe3928c5808 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:33 + docker inspect -f . ci-base-image-x86_64 14:24:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:33 prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container 14:24:33 $ 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 ******** ci-base-image-x86_64 cat 14:24:33 $ docker top ce26dac7c09cf74f92ed7ce47a053ebbdd7b48c86c3d169e138142d34d3b26eb -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh 14:24:34 + make test 14:24:34 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:24:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:24:44 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:24:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 14:24:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:24:53 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:24:53 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:24:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:24:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:24:56 ./bin/test-attribution-txt.sh [Pipeline] echo 14:24:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:24:56 $ docker stop --time=1 ce26dac7c09cf74f92ed7ce47a053ebbdd7b48c86c3d169e138142d34d3b26eb 14:24:59 $ docker rm -f ce26dac7c09cf74f92ed7ce47a053ebbdd7b48c86c3d169e138142d34d3b26eb [Pipeline] // withDockerContainer [Pipeline] sh 14:24:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:24:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:25:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:25:00 + ls -al . 14:25:00 total 184 14:25:00 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 14:24 . 14:25:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:22 .. 14:25:00 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 14:23 .dockerignore 14:25:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 14:24 .git 14:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:23 .github 14:25:00 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 14:23 .gitignore 14:25:00 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 14:23 .golangci.yml 14:25:00 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 14:23 .semver 14:25:00 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 14:23 Attribution.txt 14:25:00 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 14:23 CHANGELOG.md 14:25:00 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 14:23 Dockerfile 14:25:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 14:23 GOVERNANCE.md 14:25:00 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 14:23 Jenkinsfile 14:25:00 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 14:23 LICENSE 14:25:00 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 14:23 Makefile 14:25:00 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 14:23 OWNERS.md 14:25:00 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 14:23 README.md 14:25:00 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 14:23 VERSION 14:25:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:23 bin 14:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:23 cmd 14:25:00 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 14:24 coverage.out 14:25:00 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 14:23 go.mod 14:25:00 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 14:23 go.sum 14:25:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:23 internal 14:25:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:23 mock 14:25:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:23 snap 14:25:00 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 14:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:01 + 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=98ddf2f5dcf1658cb762613530fc768454cbe723 --label arch=amd64 --label version=0.0.0 . 14:25:01 Sending build context to Docker daemon 6.19MB 14:25:01 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:25:01 Step 2/25 : FROM ${BASE} AS builder 14:25:01 ---> 8cff451ca5c2 14:25:01 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:25:01 ---> Running in e6f52ed07d21 14:25:01 Removing intermediate container e6f52ed07d21 14:25:01 ---> 7de270d53b4e 14:25:01 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:25:01 ---> Running in 4bd7767b2a30 14:25:01 Removing intermediate container 4bd7767b2a30 14:25:01 ---> 2a9cdda49c7b 14:25:01 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:25:01 ---> Running in 34964db926a0 14:25:01 Removing intermediate container 34964db926a0 14:25:01 ---> 7e4b149070ba 14:25:01 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:25:01 ---> Running in 5f538fc00a9f 14:25:01 Removing intermediate container 5f538fc00a9f 14:25:01 ---> f4ee1c646934 14:25:01 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:25:02 ---> Running in 8c028ea98a16 14:25:02 Removing intermediate container 8c028ea98a16 14:25:02 ---> d6930d049f48 14:25:02 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:25:02 ---> Running in 5b930ef9eac2 14:25:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:25:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:25:04 OK: 216 MiB in 55 packages 14:25:04 Removing intermediate container 5b930ef9eac2 14:25:04 ---> a106f3a92342 14:25:04 Step 9/25 : WORKDIR /device-mqtt-go 14:25:04 ---> Running in 4be80755b5de 14:25:04 Removing intermediate container 4be80755b5de 14:25:04 ---> 92f7eeeb6e91 14:25:04 Step 10/25 : COPY go.mod vendor* ./ 14:25:04 ---> 0403bcab4eb6 14:25:04 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:25:04 ---> Running in 25034d0b9293 14:25:05 Removing intermediate container 25034d0b9293 14:25:05 ---> a3d3ef2fba56 14:25:05 Step 12/25 : COPY . . 14:25:06 ---> d949a972cc43 14:25:06 Step 13/25 : RUN $MAKE 14:25:06 ---> Running in 5d1c7edd4805 14:25:06 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:25:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7523 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] ws 14:25:12 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 14:25:12 Selected Git installation does not exist. Using Default 14:25:12 The recommended git tool is: NONE 14:25:17 using credential edgex-jenkins-ssh 14:25:17 Cloning the remote Git repository 14:25:18 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:25:18 > git init /w/workspace/device-mqtt-go/1 # timeout=10 14:25:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:25:18 > git --version # timeout=10 14:25:18 > git --version # 'git version 2.25.1' 14:25:18 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:18 Verifying host key using known hosts file 14:25:18 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:25:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:25:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:25:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:25:21 Merging remotes/origin/main commit 459ccc30368983c74f8fc0b30a8da774d92164b5 into PR head commit 98ddf2f5dcf1658cb762613530fc768454cbe723 14:25:21 Merge succeeded, producing 98ddf2f5dcf1658cb762613530fc768454cbe723 14:25:21 Checking out Revision 98ddf2f5dcf1658cb762613530fc768454cbe723 (PR-423) 14:25:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:25:20 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:25:20 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:20 Verifying host key using known hosts file 14:25:20 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:25:20 > 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:25:21 > git config core.sparsecheckout # timeout=10 14:25:21 > git checkout -f 98ddf2f5dcf1658cb762613530fc768454cbe723 # timeout=10 14:25:21 > git remote # timeout=10 14:25:21 > git config --get remote.origin.url # timeout=10 14:25:21 using GIT_SSH to set credentials SSH Credentials for GitHub 14:25:21 Verifying host key using known hosts file 14:25:21 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:25:21 > git merge 459ccc30368983c74f8fc0b30a8da774d92164b5 # timeout=10 14:25:21 > git rev-parse HEAD^{commit} # timeout=10 14:25:21 > git config core.sparsecheckout # timeout=10 14:25:21 > git checkout -f 98ddf2f5dcf1658cb762613530fc768454cbe723 # timeout=10 14:25:24 Commit message: "refactor(snap): : Set unique name for config interface" 14:25:24 > git --version # timeout=10 14:25:24 > git --version # 'git version 2.25.1' 14:25:24 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:25:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:25:25 % Total % Received % Xferd Average Speed Time Time Time Current 14:25:25 Dload Upload Total Spent Left Speed 14:25:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78762 [Pipeline] sh 14:25:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:25:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:25:27 + sudo tee /etc/docker/daemon.new 14:25:27 { 14:25:27 "registry-mirrors": [ 14:25:27 "https://nexus3.edgexfoundry.org:10001" 14:25:27 ], 14:25:27 "bip": "10.250.0.254/24", 14:25:27 "hosts": [ 14:25:27 "tcp://0.0.0.0:5555", 14:25:27 "unix:///var/run/docker.sock" 14:25:27 ], 14:25:27 "mtu": 1458, 14:25:27 "selinux-enabled": true, 14:25:27 "seccomp-profile": "/etc/docker/seccomp.json" 14:25:27 } [Pipeline] sh 14:25:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:25:27 + sudo service docker restart 14:25:32 Removing intermediate container 5d1c7edd4805 14:25:32 ---> 891c505c7ce2 14:25:32 Step 14/25 : FROM alpine:3.16 14:25:32 3.16: Pulling from library/alpine 14:25:32 213ec9aee27d: Pulling fs layer 14:25:32 213ec9aee27d: Verifying Checksum 14:25:32 213ec9aee27d: Download complete 14:25:32 213ec9aee27d: Pull complete 14:25:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:25:32 Status: Downloaded newer image for alpine:3.16 14:25:32 ---> 9c6f07244728 14:25:32 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:25:32 ---> Running in c5575f1642fa 14:25:32 Removing intermediate container c5575f1642fa 14:25:32 ---> 3f875d39a86f 14:25:32 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:25:32 ---> Running in 10a784e8bc4d 14:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:25:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:25:32 (1/6) Installing dumb-init (1.2.5-r1) 14:25:32 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:25:32 (3/6) Installing libsodium (1.0.18-r0) 14:25:32 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:25:32 (5/6) Installing libzmq (4.3.4-r0) 14:25:32 (6/6) Installing zeromq (4.3.4-r0) 14:25:32 Executing busybox-1.35.0-r17.trigger 14:25:32 OK: 8 MiB in 20 packages 14:25:33 Removing intermediate container 10a784e8bc4d 14:25:33 ---> 6e1685ff52ca 14:25:33 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 14:25:34 ---> f5ec93e7351d 14:25:34 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 14:25:34 ---> 10b62495d543 14:25:34 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:25:35 ---> bb5ef7686c18 14:25:35 Step 20/25 : EXPOSE 59982 14:25:35 ---> Running in 9a8f39acc6ef 14:25:35 Removing intermediate container 9a8f39acc6ef 14:25:35 ---> 9d6b8c5a6be1 14:25:35 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 14:25:35 ---> Running in 01849c10fd9f 14:25:36 Removing intermediate container 01849c10fd9f 14:25:36 ---> a62c49b12d2e 14:25:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:25:36 ---> Running in baddc46ba491 14:25:37 Removing intermediate container baddc46ba491 14:25:37 ---> 1373a1fc49c8 14:25:37 Step 23/25 : LABEL arch=amd64 14:25:37 ---> Running in 3e2269c7fe55 14:25:37 Removing intermediate container 3e2269c7fe55 14:25:37 ---> 7effe4077846 14:25:37 Step 24/25 : LABEL git_sha=98ddf2f5dcf1658cb762613530fc768454cbe723 14:25:37 ---> Running in 291c222e04c0 14:25:37 Removing intermediate container 291c222e04c0 14:25:37 ---> e9ee5744c738 14:25:37 Step 25/25 : LABEL version=0.0.0 14:25:37 ---> Running in aac1a52ef420 14:25:38 Removing intermediate container aac1a52ef420 14:25:38 ---> 0239f1ef4749 14:25:38 [Warning] One or more build-args [ARCH] were not consumed 14:25:38 Successfully built 0239f1ef4749 14:25:38 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:25:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:25:39 14:25:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:25:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:25:39 latest: Pulling from edgex-lftools-log-publisher 14:25:39 5eb5b503b376: Pulling fs layer 14:25:39 5c69ac0246d0: Pulling fs layer 14:25:39 ec43610c2a17: Pulling fs layer 14:25:39 3a2ae6a8a46f: Pulling fs layer 14:25:39 33b1e0a273af: Pulling fs layer 14:25:39 5d3b04190fa2: Pulling fs layer 14:25:39 2f39f015ded8: Pulling fs layer 14:25:39 3a2ae6a8a46f: Waiting 14:25:39 33b1e0a273af: Waiting 14:25:39 2f39f015ded8: Waiting 14:25:39 5c69ac0246d0: Verifying Checksum 14:25:39 5c69ac0246d0: Download complete 14:25:39 3a2ae6a8a46f: Verifying Checksum 14:25:39 3a2ae6a8a46f: Download complete 14:25:39 33b1e0a273af: Verifying Checksum 14:25:39 33b1e0a273af: Download complete 14:25:39 ec43610c2a17: Verifying Checksum 14:25:39 ec43610c2a17: Download complete 14:25:39 5d3b04190fa2: Verifying Checksum 14:25:39 5eb5b503b376: Verifying Checksum 14:25:39 5eb5b503b376: Download complete 14:25:40 2f39f015ded8: Download complete 14:25:41 5eb5b503b376: Pull complete 14:25:41 5c69ac0246d0: Pull complete 14:25:41 ec43610c2a17: Pull complete 14:25:41 3a2ae6a8a46f: Pull complete 14:25:42 33b1e0a273af: Pull complete 14:25:42 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:25:46 provisioning config files... 14:25:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5356593303403628278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:25:46 ---> docker-login.sh 14:25:46 nexus3.edgexfoundry.org:10001 14:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:47 Configure a credential helper to remove this warning. See 14:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:47 14:25:47 Login Succeeded 14:25:47 nexus3.edgexfoundry.org:10002 14:25:47 2f39f015ded8: Pull complete 14:25:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:25:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:25:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } 14:25:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:25:47 prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container 14:25:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:47 Configure a credential helper to remove this warning. See 14:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:47 14:25:47 Login Succeeded 14:25:47 nexus3.edgexfoundry.org:10003 14:25:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:47 Configure a credential helper to remove this warning. See 14:25:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:47 14:25:47 Login Succeeded 14:25:47 nexus3.edgexfoundry.org:10004 14:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:48 Configure a credential helper to remove this warning. See 14:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:48 14:25:48 Login Succeeded 14:25:48 docker.io 14:25:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:25:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:25:48 Configure a credential helper to remove this warning. See 14:25:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:25:48 14:25:48 Login Succeeded 14:25:48 ---> docker-login.sh ends 14:25:53 $ docker top 11d05b7c7338ddcbf04a66716bd786b00f801d8a4dab476b41ceb7f9708055c1 -eo pid,comm [Pipeline] { [Pipeline] } 14:25:53 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 14:25:53 ---> job-cost.sh 14:25:53 lf-activate-venv: SKIPPING 14:25:53 INFO: No Stack... [Pipeline] echo 14:25:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:25:53 ========================================================= 14:25:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:25:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { 14:25:53 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 14:25:54 INFO: Archiving Costs [Pipeline] sh 14:25:54 + 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:25:54 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv 14:25:54 + cut -d, -f6 [Pipeline] lock 14:25:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] 14:25:54 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] did not exist. Created. 14:25:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] 14:25:54 Sending build context to Docker daemon 3.195MB 14:25:54 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 14:25:54 Step 2/13 : FROM ${BASE} AS builder [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:25:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:25:54 b3c136eddcbf: Pulling fs layer 14:25:54 c0a3192eca97: Pulling fs layer 14:25:54 a050256f5b6f: Pulling fs layer 14:25:54 656be50a0ddc: Pulling fs layer 14:25:54 2bbca73fdf42: Pulling fs layer 14:25:54 f607e4fc86c3: Pulling fs layer 14:25:54 4d572c569a2c: Pulling fs layer 14:25:54 fcf976331f73: Pulling fs layer 14:25:54 656be50a0ddc: Waiting 14:25:54 2bbca73fdf42: Waiting 14:25:54 f607e4fc86c3: Waiting 14:25:54 fcf976331f73: Waiting 14:25:54 a050256f5b6f: Download complete 14:25:54 c0a3192eca97: Verifying Checksum 14:25:54 c0a3192eca97: Download complete 14:25:54 2bbca73fdf42: Verifying Checksum 14:25:54 2bbca73fdf42: Download complete 14:25:54 f607e4fc86c3: Verifying Checksum 14:25:54 f607e4fc86c3: Download complete 14:25:54 b3c136eddcbf: Verifying Checksum 14:25:54 b3c136eddcbf: Download complete 14:25:54 + echo total: 0.2199999988079071 [Pipeline] stash 14:25:55 Stashed 1 file(s) [Pipeline] } 14:25:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:25:55 $ docker stop --time=1 11d05b7c7338ddcbf04a66716bd786b00f801d8a4dab476b41ceb7f9708055c1 14:25:55 b3c136eddcbf: Pull complete 14:25:55 fcf976331f73: Download complete 14:25:56 c0a3192eca97: Pull complete 14:25:56 $ docker rm -f 11d05b7c7338ddcbf04a66716bd786b00f801d8a4dab476b41ceb7f9708055c1 14:25:56 a050256f5b6f: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:25:56 4d572c569a2c: Verifying Checksum 14:25:56 4d572c569a2c: Download complete 14:25:57 656be50a0ddc: Verifying Checksum 14:25:57 656be50a0ddc: Download complete 14:26:09 656be50a0ddc: Pull complete 14:26:09 2bbca73fdf42: Pull complete 14:26:09 f607e4fc86c3: Pull complete 14:26:16 4d572c569a2c: Pull complete 14:26:17 fcf976331f73: Pull complete 14:26:17 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 14:26:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:26:17 ---> 3970a7415f9e 14:26:17 Step 3/13 : ARG ADD_BUILD_TAGS="" 14:26:19 ---> Running in cdbb948531c9 14:26:19 Removing intermediate container cdbb948531c9 14:26:19 ---> 3b1dc6593c30 14:26:19 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:26:20 ---> Running in 537fd8ec2f5d 14:26:20 Removing intermediate container 537fd8ec2f5d 14:26:20 ---> d9bed7f39e1b 14:26:20 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:26:20 ---> Running in 9a0967ca7dae 14:26:20 Removing intermediate container 9a0967ca7dae 14:26:20 ---> 3e95362437f3 14:26:20 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 14:26:20 ---> Running in 964d0d525236 14:26:20 Removing intermediate container 964d0d525236 14:26:20 ---> d291a77826ad 14:26:20 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:26:21 ---> Running in 501a13ab0c0e 14:26:23 Removing intermediate container 501a13ab0c0e 14:26:23 ---> 635ee0f7737f 14:26:23 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:26:23 ---> Running in 3e4c37a56f88 14:26:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:26:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:26:25 (1/4) Installing openssh-keygen (9.0_p1-r2) 14:26:25 (2/4) Installing libedit (20210910.3.1-r0) 14:26:25 (3/4) Installing openssh-client-common (9.0_p1-r2) 14:26:25 (4/4) Installing openssh-client-default (9.0_p1-r2) 14:26:25 Executing busybox-1.35.0-r13.trigger 14:26:26 OK: 226 MiB in 55 packages 14:26:27 Removing intermediate container 3e4c37a56f88 14:26:27 ---> b5fba508f056 14:26:27 Step 9/13 : WORKDIR /device-mqtt-go 14:26:27 ---> Running in fbff7aa539e4 14:26:27 Removing intermediate container fbff7aa539e4 14:26:27 ---> 3840adeec24c 14:26:27 Step 10/13 : COPY go.mod vendor* ./ 14:26:28 ---> 7a687d89f241 14:26:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:26:28 ---> Running in b1511067e7d8 14:27:15 Removing intermediate container b1511067e7d8 14:27:15 ---> 4e9b4608cb83 14:27:15 Step 12/13 : COPY . . 14:27:15 ---> bcfc47db8be9 14:27:15 Step 13/13 : RUN $MAKE 14:27:15 ---> Running in 1b690a262062 14:27:15 noop 14:27:16 Removing intermediate container 1b690a262062 14:27:16 ---> 98f4e40b5cb8 14:27:16 Successfully built 98f4e40b5cb8 14:27:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:16 + docker inspect -f . ci-base-image-arm64 14:27:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:17 prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container 14:27:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:27:18 $ docker top 23f0bd1a9048a70ad9c88c8035c1ad40d6ec14059e31a12e6ad69bf6777d2136 -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:19 + go version 14:27:19 go version go1.18.3 linux/arm64 [Pipeline] } 14:27:19 $ docker stop --time=1 23f0bd1a9048a70ad9c88c8035c1ad40d6ec14059e31a12e6ad69bf6777d2136 14:27:20 $ docker rm -f 23f0bd1a9048a70ad9c88c8035c1ad40d6ec14059e31a12e6ad69bf6777d2136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:27:21 + docker inspect -f . ci-base-image-arm64 14:27:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:27:21 prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container 14:27:21 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:27:22 $ docker top d2eacbaa3b0028bc479385ef377fc488e9048a55288121c77cce44d345143005 -eo pid,comm [Pipeline] { [Pipeline] sh 14:27:23 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 14:27:23 + make test 14:27:23 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 14:27:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:28:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 14:28:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 14:28:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 14:28:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:28:47 GCO_ENABLED=1 GO111MODULE=on go vet ./... 14:29:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:29:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:29:09 ./bin/test-attribution-txt.sh [Pipeline] echo 14:29:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:29:09 $ docker stop --time=1 d2eacbaa3b0028bc479385ef377fc488e9048a55288121c77cce44d345143005 14:29:11 $ docker rm -f d2eacbaa3b0028bc479385ef377fc488e9048a55288121c77cce44d345143005 [Pipeline] // withDockerContainer [Pipeline] sh 14:29:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:29:12 Warning: overwriting stash ‘coverage-report’ 14:29:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:29:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:29:13 + ls -al . 14:29:13 total 180 14:29:13 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 14:27 . 14:29:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:25 .. 14:29:13 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 14:25 .dockerignore 14:29:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 14:25 .git 14:29:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:25 .github 14:29:13 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 14:25 .gitignore 14:29:13 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 14:25 .golangci.yml 14:29:13 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 14:25 Attribution.txt 14:29:13 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 14:25 CHANGELOG.md 14:29:13 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 14:25 Dockerfile 14:29:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 14:25 GOVERNANCE.md 14:29:13 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 14:25 Jenkinsfile 14:29:13 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 14:25 LICENSE 14:29:13 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 14:25 Makefile 14:29:13 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 14:25 OWNERS.md 14:29:13 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 14:25 README.md 14:29:13 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 14:23 VERSION 14:29:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:25 bin 14:29:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:25 cmd 14:29:13 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 14:28 coverage.out 14:29:13 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 14:25 go.mod 14:29:13 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 14:25 go.sum 14:29:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 14:25 internal 14:29:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 14:25 mock 14:29:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 14:25 snap 14:29:13 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 14:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:29:14 + 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=98ddf2f5dcf1658cb762613530fc768454cbe723 --label arch=arm64 --label version=0.0.0 . 14:29:14 Sending build context to Docker daemon 3.213MB 14:29:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:29:14 Step 2/25 : FROM ${BASE} AS builder 14:29:14 ---> 98f4e40b5cb8 14:29:14 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:29:14 ---> Running in d82f1b2f8b1a 14:29:14 Removing intermediate container d82f1b2f8b1a 14:29:14 ---> e1d7c945d74e 14:29:14 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:29:14 ---> Running in 647691defb06 14:29:15 Removing intermediate container 647691defb06 14:29:15 ---> f67c00fdde41 14:29:15 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 14:29:15 ---> Running in 064450db9112 14:29:15 Removing intermediate container 064450db9112 14:29:15 ---> 1234648c580a 14:29:15 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:29:15 ---> Running in e37eddd47e67 14:29:15 Removing intermediate container e37eddd47e67 14:29:15 ---> c1f1beebe4d1 14:29:15 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:29:16 ---> Running in c01dfb4a6956 14:29:17 Removing intermediate container c01dfb4a6956 14:29:17 ---> 2293aefcdb14 14:29:17 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:29:17 ---> Running in bf9c7c97222b 14:29:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:29:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:29:20 OK: 226 MiB in 55 packages 14:29:20 Removing intermediate container bf9c7c97222b 14:29:20 ---> 1215990eb919 14:29:20 Step 9/25 : WORKDIR /device-mqtt-go 14:29:21 ---> Running in aed05b4d9d63 14:29:21 Removing intermediate container aed05b4d9d63 14:29:21 ---> 2c355674305c 14:29:21 Step 10/25 : COPY go.mod vendor* ./ 14:29:21 ---> 6833fe03919f 14:29:21 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:29:22 ---> Running in 8579dc526ff6 14:29:24 Removing intermediate container 8579dc526ff6 14:29:24 ---> 5cab5f632fc9 14:29:24 Step 12/25 : COPY . . 14:29:24 ---> 8efd74789812 14:29:24 Step 13/25 : RUN $MAKE 14:29:24 ---> Running in 5c6ccaff4e5a 14:29:25 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:32:02 Removing intermediate container 5c6ccaff4e5a 14:32:02 ---> a97c0bbb3006 14:32:02 Step 14/25 : FROM alpine:3.16 14:32:02 3.16: Pulling from library/alpine 14:32:02 9b18e9b68314: Pulling fs layer 14:32:02 9b18e9b68314: Verifying Checksum 14:32:02 9b18e9b68314: Download complete 14:32:02 9b18e9b68314: Pull complete 14:32:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:32:02 Status: Downloaded newer image for alpine:3.16 14:32:02 ---> a6215f271958 14:32:02 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 14:32:02 ---> Running in c06abc4e8658 14:32:02 Removing intermediate container c06abc4e8658 14:32:02 ---> e45e742646ff 14:32:02 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 14:32:02 ---> Running in 425adbcaee4e 14:32:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:32:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:32:02 (1/6) Installing dumb-init (1.2.5-r1) 14:32:02 (2/6) Installing libgcc (11.2.1_git20220219-r2) 14:32:02 (3/6) Installing libsodium (1.0.18-r0) 14:32:02 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 14:32:02 (5/6) Installing libzmq (4.3.4-r0) 14:32:02 (6/6) Installing zeromq (4.3.4-r0) 14:32:02 Executing busybox-1.35.0-r17.trigger 14:32:02 OK: 8 MiB in 20 packages 14:32:02 Removing intermediate container 425adbcaee4e 14:32:02 ---> bd09d7d79738 14:32:02 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 14:32:02 ---> a23d2be7ebe5 14:32:02 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 14:32:02 ---> 0ef25badd2ce 14:32:02 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:32:02 ---> f76955658bfd 14:32:02 Step 20/25 : EXPOSE 59982 14:32:02 ---> Running in ee6a8f7b8f78 14:32:02 Removing intermediate container ee6a8f7b8f78 14:32:02 ---> 5271ccfe59dd 14:32:02 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 14:32:02 ---> Running in 796cc2527fdd 14:32:02 Removing intermediate container 796cc2527fdd 14:32:02 ---> ccfd607fe3d7 14:32:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:32:02 ---> Running in b729842c08a0 14:32:02 Removing intermediate container b729842c08a0 14:32:02 ---> 2e0dea0944a1 14:32:02 Step 23/25 : LABEL arch=arm64 14:32:02 ---> Running in f2f294010fb6 14:32:02 Removing intermediate container f2f294010fb6 14:32:02 ---> 4732933c8bcc 14:32:02 Step 24/25 : LABEL git_sha=98ddf2f5dcf1658cb762613530fc768454cbe723 14:32:02 ---> Running in db531de6713a 14:32:02 Removing intermediate container db531de6713a 14:32:02 ---> a33ecf1df654 14:32:02 Step 25/25 : LABEL version=0.0.0 14:32:02 ---> Running in 0124e5a0969b 14:32:02 Removing intermediate container 0124e5a0969b 14:32:02 ---> ece037c82ed1 14:32:02 [Warning] One or more build-args [ARCH] were not consumed 14:32:02 Successfully built ece037c82ed1 14:32:02 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:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:32:03 14:32:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:32:04 arm64: Pulling from edgex-lftools-log-publisher 14:32:04 8998bd30e6a1: Pulling fs layer 14:32:04 04944245beec: Pulling fs layer 14:32:04 699f458cf7ca: Pulling fs layer 14:32:04 765212b225bb: Pulling fs layer 14:32:04 f23df028b6ca: Pulling fs layer 14:32:04 d65c8cfc05b1: Pulling fs layer 14:32:04 2437ff75d9bd: Pulling fs layer 14:32:04 f23df028b6ca: Waiting 14:32:04 d65c8cfc05b1: Waiting 14:32:04 2437ff75d9bd: Waiting 14:32:04 765212b225bb: Waiting 14:32:04 04944245beec: Verifying Checksum 14:32:04 04944245beec: Download complete 14:32:04 765212b225bb: Verifying Checksum 14:32:04 765212b225bb: Download complete 14:32:04 f23df028b6ca: Verifying Checksum 14:32:04 f23df028b6ca: Download complete 14:32:04 d65c8cfc05b1: Download complete 14:32:04 699f458cf7ca: Verifying Checksum 14:32:04 699f458cf7ca: Download complete 14:32:04 8998bd30e6a1: Verifying Checksum 14:32:04 8998bd30e6a1: Download complete 14:32:07 2437ff75d9bd: Verifying Checksum 14:32:07 2437ff75d9bd: Download complete 14:32:08 8998bd30e6a1: Pull complete 14:32:09 04944245beec: Pull complete 14:32:10 699f458cf7ca: Pull complete 14:32:10 765212b225bb: Pull complete 14:32:11 f23df028b6ca: Pull complete 14:32:11 d65c8cfc05b1: Pull complete 14:32:26 2437ff75d9bd: Pull complete 14:32:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:32:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:32:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:26 prd-ubuntu20.04-docker-arm64-4c-16g-7523 does not seem to be running inside a container 14:32:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:32:29 $ docker top 9b7c946de44406e3cc500188dcd2a5ce1ce48aad7204d014d6f34a9482109e83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:32:30 ---> job-cost.sh 14:32:30 lf-activate-venv: SKIPPING 14:32:30 INFO: No Stack... 14:32:30 INFO: Retrieving Pricing Info for: v3-standard-4 14:32:31 INFO: Archiving Costs [Pipeline] sh 14:32:31 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 14:32:31 + cut -d, -f6 [Pipeline] lock 14:32:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] 14:32:32 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] did not exist. Created. 14:32:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:32:32 /w/workspace/device-mqtt-go/1@tmp/durable-09ef026d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:32:33 + echo total: 0.10999999940395355 [Pipeline] stash 14:32:33 Warning: overwriting stash ‘stack-cost’ 14:32:33 Stashed 1 file(s) [Pipeline] } 14:32:33 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:32:33 $ docker stop --time=1 9b7c946de44406e3cc500188dcd2a5ce1ce48aad7204d014d6f34a9482109e83 14:32:35 $ docker rm -f 9b7c946de44406e3cc500188dcd2a5ce1ce48aad7204d014d6f34a9482109e83 [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:32:36 provisioning config files... 14:32:36 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config6810624029999097335tmp [Pipeline] { [Pipeline] sh 14:32:36 + set +x 14:32:36 + curl -s https://codecov.io/bash 14:32:36 + bash -s -- 14:32:36 14:32:36 _____ _ 14:32:36 / ____| | | 14:32:36 | | ___ __| | ___ ___ _____ __ 14:32:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:32:36 | |___| (_) | (_| | __/ (_| (_) \ V / 14:32:36 \_____\___/ \__,_|\___|\___\___/ \_/ 14:32:36 Bash-1.0.6 14:32:36 14:32:36 14:32:36 ==> git version 2.25.1 found 14:32:36 ==> 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:32:36 Release-Date: 2020-01-08 14:32:36 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:32:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:32:36 ==> Jenkins CI detected. 14:32:36 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 14:32:36 project root: . 14:32:36 --> token set from env 14:32:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:32:36 ==> Running gcov in . (disable via -X gcov) 14:32:36 ==> Python coveragepy not found 14:32:36 ==> Searching for coverage reports in: 14:32:36 + . 14:32:36 -> Found 1 reports 14:32:36 ==> Detecting git/mercurial file structure 14:32:36 ==> Reading reports 14:32:36 + ./coverage.out bytes=17887 14:32:36 ==> Appending adjustments 14:32:36 https://docs.codecov.io/docs/fixing-reports 14:32:36 + Found adjustments 14:32:36 ==> Gzipping contents 14:32:36 4.0K /tmp/codecov.lvrONh.gz 14:32:36 ==> Uploading reports 14:32:36 url: https://codecov.io 14:32:36 query: branch=PR-423&commit=98ddf2f5dcf1658cb762613530fc768454cbe723&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 14:32:36 -> Pinging Codecov 14:32:36 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=98ddf2f5dcf1658cb762613530fc768454cbe723&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 14:32:36 -> Uploading to 14:32:36 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/98ddf2f5dcf1658cb762613530fc768454cbe723/59f2c6cd-85f7-4f45-b9ee-5bb4f6e9c722.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T143236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a63734ef914c0f2cc39af69019ef1954af41a5dbd54fbd8bfff0a896c0e1426e 14:32:36 % Total % Received % Xferd Average Speed Time Time Time Current 14:32:36 Dload Upload Total Spent Left Speed 14:32:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 13311 --:--:-- --:--:-- --:--:-- 13311 14:32:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/98ddf2f5dcf1658cb762613530fc768454cbe723 [Pipeline] } 14:32:37 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:32:39 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] 14:32:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 14:32:39 total 16 14:32:39 drwxr-xr-x 3 root root 4096 Oct 10 14:25 . 14:32:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 14:25 .. 14:32:39 drwxr-xr-x 2 root root 4096 Oct 10 14:25 cost 14:32:39 -rw-r--r-- 1 root root 86 Oct 10 14:25 cost.csv 14:32:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 14:32:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 14:32:39 total 16 14:32:39 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 14:25 . 14:32:39 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 14:25 .. 14:32:39 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 14:25 cost 14:32:39 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 14:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:32:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:32:40 ---> package-listing.sh 14:32:40 ++ facter osfamily 14:32:40 ++ tr '[:upper:]' '[:lower:]' 14:32:40 + OS_FAMILY=debian 14:32:40 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 14:32:40 + START_PACKAGES=/tmp/packages_start.txt 14:32:40 + END_PACKAGES=/tmp/packages_end.txt 14:32:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:32:40 + PACKAGES=/tmp/packages_start.txt 14:32:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 14:32:40 + PACKAGES=/tmp/packages_end.txt 14:32:40 + case "${OS_FAMILY}" in 14:32:40 + dpkg -l 14:32:40 + grep '^ii' 14:32:40 + '[' -f /tmp/packages_start.txt ']' 14:32:40 + '[' -f /tmp/packages_end.txt ']' 14:32:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:32:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 14:32:40 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ 14:32:40 + 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:32:40 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:32:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:32:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:41 prd-ubuntu20.04-docker-8c-8g-7522 does not seem to be running inside a container 14:32:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:32:41 $ docker top a0f31301ea8f2790d477418ee9561e7b1cb1ed0efd1030baafc156a929700a9d -eo pid,comm [Pipeline] { [Pipeline] sh 14:32:42 + touch /tmp/pre-build-complete [Pipeline] sh 14:32:42 + mkdir -p /var/log/sysstat [Pipeline] sh 14:32:42 + ls /var/log/sa-host 14:32:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:32:42 provisioning config files... 14:32:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config14613521375380180283tmp [Pipeline] { [Pipeline] echo 14:32:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:32:43 ---> create-netrc.sh [Pipeline] } 14:32:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:32:43 ---> python-tools-install.sh [Pipeline] echo 14:32:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:32:44 ---> sudo-logs.sh 14:32:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:32:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:32:44 ---> job-cost.sh 14:32:44 lf-activate-venv: SKIPPING 14:32:44 DEBUG: total: 0.2199999988079071 14:32:44 INFO: Retrieving Stack Cost... 14:32:45 INFO: Retrieving Pricing Info for: v3-standard-8 14:32:45 INFO: Archiving Costs [Pipeline] echo 14:32:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:32:45 ---> logs-deploy.sh 14:32:45 lf-activate-venv: SKIPPING 14:32:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/1 14:32:45 INFO: archiving workspace using pattern(s): 14:32:46 Archives upload complete. 14:32:46 INFO: archiving logs to Nexus