Pull request #422 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6c6658be644320c88b61369ef56939c7ea182beb+1a028d96f2f1053b1975dad0f0d16109b5d4490c (93a67c5f89553e664af5d61d1e321123c2cd6e2d) 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-ssh15430783262764898803.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-ssh2342913601682016350.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-422/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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10012622910863870582.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-422/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10427776057555142694.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-ssh3144270801977400748.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-422/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-422/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15122162017420610074.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-7460’ Running on prd-ubuntu20.04-docker-8c-8g-7470 in /w/workspace/gexfoundry_device-mqtt-go_PR-422 [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-422 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a028d96f2f1053b1975dad0f0d16109b5d4490c into PR head commit 6c6658be644320c88b61369ef56939c7ea182beb Merge succeeded, producing 6c6658be644320c88b61369ef56939c7ea182beb Checking out Revision 6c6658be644320c88b61369ef56939c7ea182beb (PR-422) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d > git config core.sparsecheckout # timeout=10 > git checkout -f 6c6658be644320c88b61369ef56939c7ea182beb # 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 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6c6658be644320c88b61369ef56939c7ea182beb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:30:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:30:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:30:04 ========================================================= 01:30:04 EdgeX Global Pipelines Version Info 01:30:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:30:05 ------------------- 01:30:05 stable info: 01:30:05 ------------------- 01:30:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:30:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:30:05 Message: update stable to v1.0.239 01:30:05 ------------------- 01:30:05 experimental info: 01:30:05 ------------------- 01:30:05 Commited By: **** collab-it+edgex@linuxfoundation.org 01:30:05 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:30:05 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:30:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-422 [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-422 [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-422 [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c6658b [Pipeline] echo 01:30:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:07 provisioning config files... 01:30:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/config15505568030477380094tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:07 ---> docker-login.sh 01:30:07 nexus3.edgexfoundry.org:10001 01:30:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:08 Configure a credential helper to remove this warning. See 01:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:08 01:30:08 Login Succeeded 01:30:08 nexus3.edgexfoundry.org:10002 01:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:08 Configure a credential helper to remove this warning. See 01:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:08 01:30:08 Login Succeeded 01:30:08 nexus3.edgexfoundry.org:10003 01:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:08 Configure a credential helper to remove this warning. See 01:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:08 01:30:08 Login Succeeded 01:30:08 nexus3.edgexfoundry.org:10004 01:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:08 Configure a credential helper to remove this warning. See 01:30:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:08 01:30:08 Login Succeeded 01:30:08 docker.io 01:30:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:09 Configure a credential helper to remove this warning. See 01:30:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:09 01:30:09 Login Succeeded 01:30:09 ---> docker-login.sh ends [Pipeline] } 01:30:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:30:09 + git rev-list -1 --merges 6c6658be644320c88b61369ef56939c7ea182beb~1..6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] echo 01:30:09 -----------> git rev-list -1 --merges 6c6658be644320c88b61369ef56939c7ea182beb~1..6c6658be644320c88b61369ef56939c7ea182beb 6c6658be644320c88b61369ef56939c7ea182beb [false] [Pipeline] sh 01:30:10 + git log --format=format:%s -1 6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] echo 01:30:10 ========================================================= 01:30:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:30:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:10 + git log --format=format:%s -1 6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] echo 01:30:10 [semverPrep] GIT_COMMIT: 6c6658be644320c88b61369ef56939c7ea182beb, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:30:10 [semverPrep] This is not a build commit. [Pipeline] sh 01:30:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:30:11 + grep -v github /etc/ssh/ssh_known_hosts 01:30:11 + [ -e /tmp/ssh_known_hosts ] 01:30:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:30:11 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:30:11 sudo tee -a /etc/ssh/ssh_known_hosts 01:30:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:11 01:30:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:11 0.1.4: Pulling from edgex-devops/py-git-semver 01:30:11 b85a868b505f: Pulling fs layer 01:30:11 e2be974225ed: Pulling fs layer 01:30:11 339a4e72a1f5: Pulling fs layer 01:30:11 988bab9f4d93: Pulling fs layer 01:30:11 1469e6f7b9e6: Pulling fs layer 01:30:11 eaf3925da568: Pulling fs layer 01:30:11 988bab9f4d93: Waiting 01:30:11 1469e6f7b9e6: Waiting 01:30:11 eaf3925da568: Waiting 01:30:11 bab4dde63d76: Pulling fs layer 01:30:11 bde34c3a00c8: Pulling fs layer 01:30:11 b352a97aabf1: Pulling fs layer 01:30:11 bab4dde63d76: Waiting 01:30:11 bde34c3a00c8: Waiting 01:30:11 4872d77fe225: Pulling fs layer 01:30:11 b352a97aabf1: Waiting 01:30:11 5851b861e8e6: Pulling fs layer 01:30:11 4872d77fe225: Waiting 01:30:11 5851b861e8e6: Waiting 01:30:11 e2be974225ed: Verifying Checksum 01:30:11 e2be974225ed: Download complete 01:30:11 988bab9f4d93: Verifying Checksum 01:30:11 988bab9f4d93: Download complete 01:30:12 1469e6f7b9e6: Verifying Checksum 01:30:12 1469e6f7b9e6: Download complete 01:30:12 eaf3925da568: Verifying Checksum 01:30:12 eaf3925da568: Download complete 01:30:12 339a4e72a1f5: Verifying Checksum 01:30:12 339a4e72a1f5: Download complete 01:30:12 bde34c3a00c8: Verifying Checksum 01:30:12 bde34c3a00c8: Download complete 01:30:12 b352a97aabf1: Verifying Checksum 01:30:12 b352a97aabf1: Download complete 01:30:12 4872d77fe225: Verifying Checksum 01:30:12 4872d77fe225: Download complete 01:30:12 5851b861e8e6: Verifying Checksum 01:30:12 5851b861e8e6: Download complete 01:30:12 b85a868b505f: Verifying Checksum 01:30:12 b85a868b505f: Download complete 01:30:12 bab4dde63d76: Verifying Checksum 01:30:12 bab4dde63d76: Download complete 01:30:13 b85a868b505f: Pull complete 01:30:13 e2be974225ed: Pull complete 01:30:14 339a4e72a1f5: Pull complete 01:30:14 988bab9f4d93: Pull complete 01:30:14 1469e6f7b9e6: Pull complete 01:30:14 eaf3925da568: Pull complete 01:30:16 bab4dde63d76: Pull complete 01:30:16 bde34c3a00c8: Pull complete 01:30:16 b352a97aabf1: Pull complete 01:30:16 4872d77fe225: Pull complete 01:30:16 5851b861e8e6: Pull complete 01:30:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:30:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:16 prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container 01:30:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:30:20 $ docker top f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 -eo pid,comm 01:30:20 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). 01:30:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:30:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:20 [ssh-agent] Looking for ssh-agent implementation... 01:30:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:20 $ docker exec f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 ssh-agent 01:30:20 SSH_AUTH_SOCK=/tmp/ssh-UO1A3pP4qAz5/agent.33 01:30:20 SSH_AGENT_PID=39 01:30:20 Running ssh-add (command line suppressed) 01:30:20 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/private_key_3230970130355114202.key (/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/private_key_3230970130355114202.key) 01:30:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:20 + git tag --points-at HEAD [Pipeline] } 01:30:20 $ docker exec --env ******** --env ******** f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 ssh-agent -k 01:30:21 unset SSH_AUTH_SOCK; 01:30:21 unset SSH_AGENT_PID; 01:30:21 echo Agent pid 39 killed; 01:30:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:30:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:21 [ssh-agent] Looking for ssh-agent implementation... 01:30:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:21 $ docker exec f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 ssh-agent 01:30:21 SSH_AUTH_SOCK=/tmp/ssh-IMafMvz4oOJH/agent.70 01:30:21 SSH_AGENT_PID=76 01:30:21 Running ssh-add (command line suppressed) 01:30:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/private_key_12337227605192096985.key (/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/private_key_12337227605192096985.key) 01:30:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:21 + git semver init 01:30:22 2022-10-10 01:30:21,992 [run_init] DEBUG init version:0.0.0 force:False 01:30:22 2022-10-10 01:30:21,993 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver 01:30:22 2022-10-10 01:30:21,994 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver 01:30:22 2022-10-10 01:30:21,994 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-422, universal_newlines=False, shell=None, istream=None) 01:30:22 2022-10-10 01:30:22,935 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422/.git/info/exclude 01:30:22 2022-10-10 01:30:22,936 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver/PR-422 with force:False 01:30:22 2022-10-10 01:30:22,936 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver/PR-422 01:30:22 2022-10-10 01:30:22,941 [execute] INFO git cat-file --batch-check 01:30:22 2022-10-10 01:30:22,941 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) 01:30:22 2022-10-10 01:30:22,948 [execute] INFO git cat-file --batch 01:30:22 2022-10-10 01:30:22,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver, universal_newlines=False, shell=None, istream=) 01:30:22 2022-10-10 01:30:22,953 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-422/.semver/PR-422 01:30:22 0.0.0 [Pipeline] } 01:30:23 $ docker exec --env ******** --env ******** f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 ssh-agent -k 01:30:23 unset SSH_AUTH_SOCK; 01:30:23 unset SSH_AGENT_PID; 01:30:23 echo Agent pid 76 killed; 01:30:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:30:23 + git semver [Pipeline] } 01:30:23 $ docker stop --time=1 f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 01:30:25 $ docker rm -f f582d3ed4c6a08701f627d1a844ea9f5e4e55fc042ecf77b1c3303fb5da879f6 [Pipeline] // withDockerContainer [Pipeline] sh 01:30:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:30:25 Stashed 1 file(s) [Pipeline] echo 01:30:25 [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 01:30:26 provisioning config files... 01:30:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/config700382988322831337tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:26 ---> docker-login.sh 01:30:26 nexus3.edgexfoundry.org:10001 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10002 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10003 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10004 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 docker.io 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:27 Configure a credential helper to remove this warning. See 01:30:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:27 01:30:27 Login Succeeded 01:30:27 ---> docker-login.sh ends [Pipeline] } 01:30:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:27 ========================================================= 01:30:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:30:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:28 + 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 . 01:30:28 Sending build context to Docker daemon 6.161MB 01:30:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:30:28 Step 2/13 : FROM ${BASE} AS builder 01:30:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:30:28 2408cc74d12b: Pulling fs layer 01:30:28 ea60b727a1ce: Pulling fs layer 01:30:28 30c4a7721957: Pulling fs layer 01:30:28 370296b7ddb6: Pulling fs layer 01:30:28 7c6cee850709: Pulling fs layer 01:30:28 aa9baa53a306: Pulling fs layer 01:30:28 8b309c321861: Pulling fs layer 01:30:28 d8d76fd02f46: Pulling fs layer 01:30:28 fa31f396de31: Pulling fs layer 01:30:28 8b309c321861: Waiting 01:30:28 d8d76fd02f46: Waiting 01:30:28 fa31f396de31: Waiting 01:30:28 370296b7ddb6: Waiting 01:30:28 7c6cee850709: Waiting 01:30:28 30c4a7721957: Verifying Checksum 01:30:28 30c4a7721957: Download complete 01:30:28 ea60b727a1ce: Verifying Checksum 01:30:28 ea60b727a1ce: Download complete 01:30:28 7c6cee850709: Verifying Checksum 01:30:28 7c6cee850709: Download complete 01:30:28 aa9baa53a306: Verifying Checksum 01:30:28 aa9baa53a306: Download complete 01:30:28 2408cc74d12b: Verifying Checksum 01:30:28 2408cc74d12b: Download complete 01:30:28 8b309c321861: Download complete 01:30:28 2408cc74d12b: Pull complete 01:30:28 ea60b727a1ce: Pull complete 01:30:28 30c4a7721957: Pull complete 01:30:28 fa31f396de31: Verifying Checksum 01:30:28 fa31f396de31: Download complete 01:30:29 d8d76fd02f46: Verifying Checksum 01:30:29 d8d76fd02f46: Download complete 01:30:29 370296b7ddb6: Verifying Checksum 01:30:29 370296b7ddb6: Download complete 01:30:32 370296b7ddb6: Pull complete 01:30:32 7c6cee850709: Pull complete 01:30:32 aa9baa53a306: Pull complete 01:30:32 8b309c321861: Pull complete 01:30:34 d8d76fd02f46: Pull complete 01:30:35 fa31f396de31: Pull complete 01:30:35 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 01:30:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:30:35 ---> cef68f9685f8 01:30:35 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:30:40 ---> Running in 48213d45e4c1 01:30:40 Removing intermediate container 48213d45e4c1 01:30:40 ---> ef6473fad498 01:30:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:40 ---> Running in 5fbf5b702ffc 01:30:40 Removing intermediate container 5fbf5b702ffc 01:30:40 ---> 2ed0701e6bc2 01:30:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:30:40 ---> Running in b77282b648d1 01:30:40 Removing intermediate container b77282b648d1 01:30:40 ---> e1c0829d7726 01:30:40 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:30:40 ---> Running in f762b59cc4de 01:30:40 Removing intermediate container f762b59cc4de 01:30:40 ---> 1ee42d3ab5e9 01:30:40 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:30:40 ---> Running in 551efdbfc536 01:30:40 Removing intermediate container 551efdbfc536 01:30:40 ---> 42c6f8f4bb63 01:30:40 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:40 ---> Running in 154ed89b943a 01:30:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:30:41 Still waiting to schedule task 01:30:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7464’ 01:30:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:30:42 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:30:42 (2/4) Installing libedit (20210910.3.1-r0) 01:30:42 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:30:42 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:30:42 Executing busybox-1.35.0-r13.trigger 01:30:42 OK: 216 MiB in 55 packages 01:30:43 Removing intermediate container 154ed89b943a 01:30:43 ---> 1907a82b0b37 01:30:43 Step 9/13 : WORKDIR /device-mqtt-go 01:30:43 ---> Running in 520bc6801b23 01:30:43 Removing intermediate container 520bc6801b23 01:30:43 ---> 51a1353f7b4d 01:30:43 Step 10/13 : COPY go.mod vendor* ./ 01:30:43 ---> 2eaefeda21e5 01:30:43 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:43 ---> Running in 4579bdb96b89 01:31:05 Removing intermediate container 4579bdb96b89 01:31:05 ---> 43d736762dfb 01:31:05 Step 12/13 : COPY . . 01:31:05 ---> 72a1136b6b32 01:31:05 Step 13/13 : RUN $MAKE 01:31:05 ---> Running in 5755ef7e309b 01:31:06 noop 01:31:06 Removing intermediate container 5755ef7e309b 01:31:06 ---> 7c8f996c38a4 01:31:06 Successfully built 7c8f996c38a4 01:31:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:06 + docker inspect -f . ci-base-image-x86_64 01:31:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:06 prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container 01:31:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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 ******** ci-base-image-x86_64 cat 01:31:07 $ docker top 2ada8b302d03835ea499c239115923a166bc32bce79e5a84dd2b210ce21db6c8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:07 + go version 01:31:07 go version go1.18.3 linux/amd64 [Pipeline] } 01:31:07 $ docker stop --time=1 2ada8b302d03835ea499c239115923a166bc32bce79e5a84dd2b210ce21db6c8 01:31:08 $ docker rm -f 2ada8b302d03835ea499c239115923a166bc32bce79e5a84dd2b210ce21db6c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:09 + docker inspect -f . ci-base-image-x86_64 01:31:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:09 prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container 01:31:09 $ 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-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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 ******** ci-base-image-x86_64 cat 01:31:10 $ docker top 3c04f72bfd42c9c84ee977c9ad3b8327c60d1505668112585332af505e4ba439 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-422 [Pipeline] fileExists [Pipeline] sh 01:31:10 + make test 01:31:10 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:31:11 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:31:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:31:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 01:31:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:31:26 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." 01:31:26 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:31:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:31:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:31:28 ./bin/test-attribution-txt.sh [Pipeline] echo 01:31:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:31:29 $ docker stop --time=1 3c04f72bfd42c9c84ee977c9ad3b8327c60d1505668112585332af505e4ba439 01:31:31 $ docker rm -f 3c04f72bfd42c9c84ee977c9ad3b8327c60d1505668112585332af505e4ba439 [Pipeline] // withDockerContainer [Pipeline] sh 01:31:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:31:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:31:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:31:33 + ls -al . 01:31:33 total 184 01:31:33 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 01:31 . 01:31:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:30 .. 01:31:33 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:30 .dockerignore 01:31:33 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:31 .git 01:31:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:30 .github 01:31:33 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 01:30 .gitignore 01:31:33 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:30 .golangci.yml 01:31:33 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:30 .semver 01:31:33 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 01:30 Attribution.txt 01:31:33 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 01:30 CHANGELOG.md 01:31:33 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 01:30 Dockerfile 01:31:33 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:30 GOVERNANCE.md 01:31:33 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 01:30 Jenkinsfile 01:31:33 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:30 LICENSE 01:31:33 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 01:30 Makefile 01:31:33 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:30 OWNERS.md 01:31:33 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 01:30 README.md 01:31:33 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:30 VERSION 01:31:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:30 bin 01:31:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:30 cmd 01:31:33 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 01:31 coverage.out 01:31:33 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 01:30 go.mod 01:31:33 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 01:30 go.sum 01:31:33 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:30 internal 01:31:33 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:30 mock 01:31:33 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:30 snap 01:31:33 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:33 + 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=6c6658be644320c88b61369ef56939c7ea182beb --label arch=amd64 --label version=0.0.0 . 01:31:33 Sending build context to Docker daemon 6.179MB 01:31:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:31:33 Step 2/25 : FROM ${BASE} AS builder 01:31:33 ---> 7c8f996c38a4 01:31:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:31:33 ---> Running in 4268583d3119 01:31:33 Removing intermediate container 4268583d3119 01:31:33 ---> b24673b5c49c 01:31:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:31:33 ---> Running in eb84eeeec65a 01:31:33 Removing intermediate container eb84eeeec65a 01:31:33 ---> e314b01d806b 01:31:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:31:33 ---> Running in a92343c24b26 01:31:33 Removing intermediate container a92343c24b26 01:31:33 ---> 29ae4f389198 01:31:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:31:34 ---> Running in c40cbddb7cca 01:31:34 Removing intermediate container c40cbddb7cca 01:31:34 ---> eb3fa3be9ef9 01:31:34 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:31:34 ---> Running in b98493401cab 01:31:34 Removing intermediate container b98493401cab 01:31:34 ---> 89f4e5875b6e 01:31:34 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:34 ---> Running in 7bc5079335fd 01:31:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:31:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:31:36 OK: 216 MiB in 55 packages 01:31:36 Removing intermediate container 7bc5079335fd 01:31:36 ---> 8794bc3a2604 01:31:36 Step 9/25 : WORKDIR /device-mqtt-go 01:31:36 ---> Running in d9d7c9da5c18 01:31:36 Removing intermediate container d9d7c9da5c18 01:31:36 ---> 01eab3928787 01:31:36 Step 10/25 : COPY go.mod vendor* ./ 01:31:36 ---> 6bf082a0feaa 01:31:36 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:36 ---> Running in 2bb79e33b662 01:31:37 Removing intermediate container 2bb79e33b662 01:31:37 ---> 56b911b654f7 01:31:37 Step 12/25 : COPY . . 01:31:37 ---> a4addf3dc4d1 01:31:37 Step 13/25 : RUN $MAKE 01:31:37 ---> Running in 33735b5f36e6 01:31:37 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 01:31:59 Removing intermediate container 33735b5f36e6 01:31:59 ---> e35ad9682175 01:31:59 Step 14/25 : FROM alpine:3.16 01:31:59 3.16: Pulling from library/alpine 01:31:59 213ec9aee27d: Pulling fs layer 01:31:59 213ec9aee27d: Verifying Checksum 01:31:59 213ec9aee27d: Download complete 01:31:59 213ec9aee27d: Pull complete 01:31:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:31:59 Status: Downloaded newer image for alpine:3.16 01:31:59 ---> 9c6f07244728 01:31:59 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:31:59 ---> Running in 8f45ee4a0897 01:31:59 Removing intermediate container 8f45ee4a0897 01:31:59 ---> 7417f602290c 01:31:59 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:31:59 ---> Running in 5a68f7c3430a 01:31:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:32:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:32:00 (1/6) Installing dumb-init (1.2.5-r1) 01:32:00 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:32:00 (3/6) Installing libsodium (1.0.18-r0) 01:32:00 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:32:00 (5/6) Installing libzmq (4.3.4-r0) 01:32:00 (6/6) Installing zeromq (4.3.4-r0) 01:32:00 Executing busybox-1.35.0-r17.trigger 01:32:00 OK: 8 MiB in 20 packages 01:32:00 Removing intermediate container 5a68f7c3430a 01:32:00 ---> fb482ca0b232 01:32:00 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:32:01 ---> d0be53f24c15 01:32:01 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:32:01 ---> a8d69883e038 01:32:01 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:32:02 ---> 3a38cd740791 01:32:02 Step 20/25 : EXPOSE 59982 01:32:02 ---> Running in 1783277076cd 01:32:02 Removing intermediate container 1783277076cd 01:32:02 ---> 1e2b9c0dd40a 01:32:02 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:32:02 ---> Running in cef68dad1953 01:32:02 Removing intermediate container cef68dad1953 01:32:02 ---> 4822f50fa875 01:32:02 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:32:02 ---> Running in ee7a2b026de5 01:32:02 Removing intermediate container ee7a2b026de5 01:32:02 ---> 7fab4a7097ec 01:32:02 Step 23/25 : LABEL arch=amd64 01:32:02 ---> Running in 7e031396f0d3 01:32:02 Removing intermediate container 7e031396f0d3 01:32:02 ---> 4433b7c4402c 01:32:02 Step 24/25 : LABEL git_sha=6c6658be644320c88b61369ef56939c7ea182beb 01:32:02 ---> Running in 57993a4d988a 01:32:02 Removing intermediate container 57993a4d988a 01:32:02 ---> 3db8d31b01da 01:32:02 Step 25/25 : LABEL version=0.0.0 01:32:02 ---> Running in b4fa8b5cc258 01:32:02 Removing intermediate container b4fa8b5cc258 01:32:02 ---> aa631fb2a798 01:32:02 [Warning] One or more build-args [ARCH] were not consumed 01:32:02 Successfully built aa631fb2a798 01:32:02 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 01:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:03 01:32:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:03 latest: Pulling from edgex-lftools-log-publisher 01:32:03 5eb5b503b376: Pulling fs layer 01:32:03 5c69ac0246d0: Pulling fs layer 01:32:03 ec43610c2a17: Pulling fs layer 01:32:03 3a2ae6a8a46f: Pulling fs layer 01:32:03 33b1e0a273af: Pulling fs layer 01:32:03 5d3b04190fa2: Pulling fs layer 01:32:03 2f39f015ded8: Pulling fs layer 01:32:03 2f39f015ded8: Waiting 01:32:03 5d3b04190fa2: Waiting 01:32:03 3a2ae6a8a46f: Waiting 01:32:03 33b1e0a273af: Waiting 01:32:03 5c69ac0246d0: Download complete 01:32:03 3a2ae6a8a46f: Verifying Checksum 01:32:03 3a2ae6a8a46f: Download complete 01:32:03 33b1e0a273af: Verifying Checksum 01:32:03 33b1e0a273af: Download complete 01:32:03 5d3b04190fa2: Verifying Checksum 01:32:03 5d3b04190fa2: Download complete 01:32:03 ec43610c2a17: Verifying Checksum 01:32:03 ec43610c2a17: Download complete 01:32:04 5eb5b503b376: Verifying Checksum 01:32:04 5eb5b503b376: Download complete 01:32:04 2f39f015ded8: Download complete 01:32:05 5eb5b503b376: Pull complete 01:32:05 5c69ac0246d0: Pull complete 01:32:05 ec43610c2a17: Pull complete 01:32:05 3a2ae6a8a46f: Pull complete 01:32:06 33b1e0a273af: Pull complete 01:32:06 5d3b04190fa2: Pull complete 01:32:10 2f39f015ded8: Pull complete 01:32:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:32:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:10 prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container 01:32:10 $ 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-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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-lftools-log-publisher:latest cat 01:32:14 $ docker top 26bbf3ff907d197b49904ca3b2f1c85e958545767e17297feb6c1060c5457360 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:14 ---> job-cost.sh 01:32:14 lf-activate-venv: SKIPPING 01:32:14 INFO: No Stack... 01:32:15 INFO: Retrieving Pricing Info for: v3-standard-8 01:32:15 INFO: Archiving Costs [Pipeline] sh 01:32:15 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives/cost.csv 01:32:15 + cut -d, -f6 [Pipeline] lock 01:32:15 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] 01:32:15 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] did not exist. Created. 01:32:15 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:32:16 + echo total: 0.2199999988079071 [Pipeline] stash 01:32:16 Stashed 1 file(s) [Pipeline] } 01:32:16 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:32:16 $ docker stop --time=1 26bbf3ff907d197b49904ca3b2f1c85e958545767e17297feb6c1060c5457360 01:32:17 $ docker rm -f 26bbf3ff907d197b49904ca3b2f1c85e958545767e17297feb6c1060c5457360 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:33:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7475 in /w/workspace/gexfoundry_device-mqtt-go_PR-422 [Pipeline] { [Pipeline] ws 01:33:39 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:33:39 Selected Git installation does not exist. Using Default 01:33:39 The recommended git tool is: NONE 01:33:45 using credential edgex-jenkins-ssh 01:33:45 Cloning the remote Git repository 01:33:45 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:33:45 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:33:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:33:45 > git --version # timeout=10 01:33:45 > git --version # 'git version 2.25.1' 01:33:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:33:45 Verifying host key using known hosts file 01:33:45 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. 01:33:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:33:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:33:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:33:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:33:48 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:33:48 using GIT_SSH to set credentials SSH Credentials for GitHub 01:33:48 Verifying host key using known hosts file 01:33:48 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. 01:33:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/422/head:refs/remotes/origin/PR-422 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:33:48 Merging remotes/origin/main commit 1a028d96f2f1053b1975dad0f0d16109b5d4490c into PR head commit 6c6658be644320c88b61369ef56939c7ea182beb 01:33:48 Merge succeeded, producing 6c6658be644320c88b61369ef56939c7ea182beb 01:33:48 Checking out Revision 6c6658be644320c88b61369ef56939c7ea182beb (PR-422) 01:33:49 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:33:49 > git --version # timeout=10 01:33:49 > git --version # 'git version 2.25.1' 01:33:49 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 01:33:48 > git config core.sparsecheckout # timeout=10 01:33:48 > git checkout -f 6c6658be644320c88b61369ef56939c7ea182beb # timeout=10 01:33:48 > git remote # timeout=10 01:33:48 > git config --get remote.origin.url # timeout=10 01:33:48 using GIT_SSH to set credentials SSH Credentials for GitHub 01:33:48 Verifying host key using known hosts file 01:33:48 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. 01:33:48 > git merge 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 01:33:48 > git rev-parse HEAD^{commit} # timeout=10 01:33:48 > git config core.sparsecheckout # timeout=10 01:33:48 > git checkout -f 6c6658be644320c88b61369ef56939c7ea182beb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:33:50 % Total % Received % Xferd Average Speed Time Time Time Current 01:33:50 Dload Upload Total Spent Left Speed 01:33:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh 01:33:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:33:51 + sudo tee /etc/docker/daemon.new 01:33:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:33:51 { 01:33:51 "registry-mirrors": [ 01:33:51 "https://nexus3.edgexfoundry.org:10001" 01:33:51 ], 01:33:51 "bip": "10.250.0.254/24", 01:33:51 "hosts": [ 01:33:51 "tcp://0.0.0.0:5555", 01:33:51 "unix:///var/run/docker.sock" 01:33:51 ], 01:33:51 "mtu": 1458, 01:33:51 "selinux-enabled": true, 01:33:51 "seccomp-profile": "/etc/docker/seccomp.json" 01:33:51 } [Pipeline] sh 01:33:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:33:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:10 provisioning config files... 01:34:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7515956327218308521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:10 ---> docker-login.sh 01:34:10 nexus3.edgexfoundry.org:10001 01:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:11 Configure a credential helper to remove this warning. See 01:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:11 01:34:11 Login Succeeded 01:34:11 nexus3.edgexfoundry.org:10002 01:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:11 Configure a credential helper to remove this warning. See 01:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:11 01:34:11 Login Succeeded 01:34:11 nexus3.edgexfoundry.org:10003 01:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:12 Configure a credential helper to remove this warning. See 01:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:12 01:34:12 Login Succeeded 01:34:12 nexus3.edgexfoundry.org:10004 01:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:12 Configure a credential helper to remove this warning. See 01:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:12 01:34:12 Login Succeeded 01:34:12 docker.io 01:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:13 Configure a credential helper to remove this warning. See 01:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:13 01:34:13 Login Succeeded 01:34:13 ---> docker-login.sh ends [Pipeline] } 01:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:34:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:13 ========================================================= 01:34:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:34:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:14 + 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 . 01:34:14 Sending build context to Docker daemon 3.188MB 01:34:14 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:34:14 Step 2/13 : FROM ${BASE} AS builder 01:34:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:34:14 b3c136eddcbf: Pulling fs layer 01:34:14 c0a3192eca97: Pulling fs layer 01:34:14 a050256f5b6f: Pulling fs layer 01:34:14 656be50a0ddc: Pulling fs layer 01:34:14 2bbca73fdf42: Pulling fs layer 01:34:14 f607e4fc86c3: Pulling fs layer 01:34:14 4d572c569a2c: Pulling fs layer 01:34:14 fcf976331f73: Pulling fs layer 01:34:14 656be50a0ddc: Waiting 01:34:14 2bbca73fdf42: Waiting 01:34:14 f607e4fc86c3: Waiting 01:34:14 4d572c569a2c: Waiting 01:34:14 fcf976331f73: Waiting 01:34:14 a050256f5b6f: Verifying Checksum 01:34:14 a050256f5b6f: Download complete 01:34:14 c0a3192eca97: Verifying Checksum 01:34:14 c0a3192eca97: Download complete 01:34:14 2bbca73fdf42: Verifying Checksum 01:34:14 2bbca73fdf42: Download complete 01:34:14 f607e4fc86c3: Verifying Checksum 01:34:14 f607e4fc86c3: Download complete 01:34:14 b3c136eddcbf: Verifying Checksum 01:34:14 b3c136eddcbf: Download complete 01:34:15 fcf976331f73: Verifying Checksum 01:34:15 fcf976331f73: Download complete 01:34:16 b3c136eddcbf: Pull complete 01:34:16 c0a3192eca97: Pull complete 01:34:16 a050256f5b6f: Pull complete 01:34:16 4d572c569a2c: Verifying Checksum 01:34:16 4d572c569a2c: Download complete 01:34:18 656be50a0ddc: Verifying Checksum 01:34:18 656be50a0ddc: Download complete 01:34:30 656be50a0ddc: Pull complete 01:34:30 2bbca73fdf42: Pull complete 01:34:30 f607e4fc86c3: Pull complete 01:34:37 4d572c569a2c: Pull complete 01:34:38 fcf976331f73: Pull complete 01:34:38 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 01:34:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:34:38 ---> 3970a7415f9e 01:34:38 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:34:40 ---> Running in e5a9b5b9fbc9 01:34:40 Removing intermediate container e5a9b5b9fbc9 01:34:40 ---> 9c2f101dea91 01:34:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:34:40 ---> Running in 0f3f5dbf495f 01:34:41 Removing intermediate container 0f3f5dbf495f 01:34:41 ---> 87739969e02f 01:34:41 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:34:41 ---> Running in 7fe8b4ef3458 01:34:41 Removing intermediate container 7fe8b4ef3458 01:34:41 ---> 7fc55ab8d5aa 01:34:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:34:41 ---> Running in 032d4ca5a87b 01:34:42 Removing intermediate container 032d4ca5a87b 01:34:42 ---> ee235c011a04 01:34:42 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:42 ---> Running in 05928cb00bef 01:34:44 Removing intermediate container 05928cb00bef 01:34:44 ---> 4136111a82ec 01:34:44 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:44 ---> Running in f27913f211fd 01:34:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:34:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:34:47 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:34:47 (2/4) Installing libedit (20210910.3.1-r0) 01:34:47 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:34:47 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:34:47 Executing busybox-1.35.0-r13.trigger 01:34:47 OK: 226 MiB in 55 packages 01:34:48 Removing intermediate container f27913f211fd 01:34:48 ---> 662e913850e9 01:34:48 Step 9/13 : WORKDIR /device-mqtt-go 01:34:48 ---> Running in 2a5ec625008c 01:34:49 Removing intermediate container 2a5ec625008c 01:34:49 ---> 79bcfd5b5b9c 01:34:49 Step 10/13 : COPY go.mod vendor* ./ 01:34:49 ---> b4fdf7b78782 01:34:49 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:49 ---> Running in b70f6b8053c6 01:35:36 Removing intermediate container b70f6b8053c6 01:35:36 ---> 3c97cf7981e9 01:35:36 Step 12/13 : COPY . . 01:35:37 ---> 55aed1a40e19 01:35:37 Step 13/13 : RUN $MAKE 01:35:37 ---> Running in b787d5197ab2 01:35:38 noop 01:35:39 Removing intermediate container b787d5197ab2 01:35:39 ---> 75efe066be17 01:35:39 Successfully built 75efe066be17 01:35:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:39 + docker inspect -f . ci-base-image-arm64 01:35:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:39 prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container 01:35:40 $ 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 ******** ci-base-image-arm64 cat 01:35:41 $ docker top b00436753da20d7e8e921152c03985417e260c085a5e3d0e5bb27b3e6fdac052 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:42 + go version 01:35:42 go version go1.18.3 linux/arm64 [Pipeline] } 01:35:42 $ docker stop --time=1 b00436753da20d7e8e921152c03985417e260c085a5e3d0e5bb27b3e6fdac052 01:35:43 $ docker rm -f b00436753da20d7e8e921152c03985417e260c085a5e3d0e5bb27b3e6fdac052 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:44 + docker inspect -f . ci-base-image-arm64 01:35:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:44 prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container 01:35:45 $ 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 ******** ci-base-image-arm64 cat 01:35:46 $ docker top e9be7c0e888de21ade783f6cd8e25b7d3f7aba947bbd9554c9e35b9a1f611558 -eo pid,comm [Pipeline] { [Pipeline] sh 01:35:47 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:35:47 + make test 01:35:47 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:35:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:37:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:37:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 01:37:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:37:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:37:25 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:37:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:37:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:37:44 ./bin/test-attribution-txt.sh [Pipeline] echo 01:37:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:37:44 $ docker stop --time=1 e9be7c0e888de21ade783f6cd8e25b7d3f7aba947bbd9554c9e35b9a1f611558 01:37:46 $ docker rm -f e9be7c0e888de21ade783f6cd8e25b7d3f7aba947bbd9554c9e35b9a1f611558 [Pipeline] // withDockerContainer [Pipeline] sh 01:37:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:37:47 Warning: overwriting stash ‘coverage-report’ 01:37:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:37:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:37:48 + ls -al . 01:37:48 total 180 01:37:48 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 01:35 . 01:37:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:33 .. 01:37:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:33 .dockerignore 01:37:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:33 .git 01:37:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:33 .github 01:37:48 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 01:33 .gitignore 01:37:48 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:33 .golangci.yml 01:37:48 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 01:33 Attribution.txt 01:37:48 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 01:33 CHANGELOG.md 01:37:48 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 01:33 Dockerfile 01:37:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:33 GOVERNANCE.md 01:37:48 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 01:33 Jenkinsfile 01:37:48 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:33 LICENSE 01:37:48 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 01:33 Makefile 01:37:48 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:33 OWNERS.md 01:37:48 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 01:33 README.md 01:37:48 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:30 VERSION 01:37:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:33 bin 01:37:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:33 cmd 01:37:48 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 01:37 coverage.out 01:37:48 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 01:33 go.mod 01:37:48 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 01:33 go.sum 01:37:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:33 internal 01:37:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:33 mock 01:37:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:33 snap 01:37:48 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:49 + 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=6c6658be644320c88b61369ef56939c7ea182beb --label arch=arm64 --label version=0.0.0 . 01:37:49 Sending build context to Docker daemon 3.206MB 01:37:49 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:37:49 Step 2/25 : FROM ${BASE} AS builder 01:37:49 ---> 75efe066be17 01:37:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:37:49 ---> Running in e218de1fbc10 01:37:49 Removing intermediate container e218de1fbc10 01:37:49 ---> 5f12fbb81936 01:37:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:37:49 ---> Running in eb9367a0f569 01:37:50 Removing intermediate container eb9367a0f569 01:37:50 ---> b83ac45cb7b5 01:37:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:37:50 ---> Running in 6ae9db6ae510 01:37:50 Removing intermediate container 6ae9db6ae510 01:37:50 ---> 8d07daeae5f0 01:37:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:37:50 ---> Running in eef085393e3d 01:37:51 Removing intermediate container eef085393e3d 01:37:51 ---> 6fb975da1fc5 01:37:51 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:37:51 ---> Running in 8406b16f09b2 01:37:53 Removing intermediate container 8406b16f09b2 01:37:53 ---> 5f76a15e612a 01:37:53 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:53 ---> Running in 3b112567be6c 01:37:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:37:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:37:56 OK: 226 MiB in 55 packages 01:37:57 Removing intermediate container 3b112567be6c 01:37:57 ---> 0bcdadddde1c 01:37:57 Step 9/25 : WORKDIR /device-mqtt-go 01:37:57 ---> Running in 283e323f8cc7 01:37:58 Removing intermediate container 283e323f8cc7 01:37:58 ---> ebd42adbf629 01:37:58 Step 10/25 : COPY go.mod vendor* ./ 01:37:58 ---> aa626556b17c 01:37:58 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:58 ---> Running in f2e1d96039ce 01:38:01 Removing intermediate container f2e1d96039ce 01:38:01 ---> 7ad9ccabc83b 01:38:01 Step 12/25 : COPY . . 01:38:02 ---> 4304437e5ec7 01:38:02 Step 13/25 : RUN $MAKE 01:38:02 ---> Running in 61909b00b6b2 01:38:03 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 01:40:40 Removing intermediate container 61909b00b6b2 01:40:40 ---> 434e6a11747a 01:40:40 Step 14/25 : FROM alpine:3.16 01:40:40 3.16: Pulling from library/alpine 01:40:40 9b18e9b68314: Pulling fs layer 01:40:40 9b18e9b68314: Verifying Checksum 01:40:40 9b18e9b68314: Download complete 01:40:40 9b18e9b68314: Pull complete 01:40:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:40:40 Status: Downloaded newer image for alpine:3.16 01:40:40 ---> a6215f271958 01:40:40 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:40:40 ---> Running in 764d133afe53 01:40:40 Removing intermediate container 764d133afe53 01:40:40 ---> 813e55a088f3 01:40:40 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:40:40 ---> Running in a899a2f21f30 01:40:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:40:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:40:42 (1/6) Installing dumb-init (1.2.5-r1) 01:40:42 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:40:42 (3/6) Installing libsodium (1.0.18-r0) 01:40:42 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:40:42 (5/6) Installing libzmq (4.3.4-r0) 01:40:42 (6/6) Installing zeromq (4.3.4-r0) 01:40:42 Executing busybox-1.35.0-r17.trigger 01:40:42 OK: 8 MiB in 20 packages 01:40:43 Removing intermediate container a899a2f21f30 01:40:43 ---> 653d962ea101 01:40:43 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:40:44 ---> 651e2dd2cffb 01:40:44 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:40:45 ---> 5f1df509fc2f 01:40:45 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:40:45 ---> 2158ae54a0bb 01:40:45 Step 20/25 : EXPOSE 59982 01:40:45 ---> Running in 28f64225406e 01:40:46 Removing intermediate container 28f64225406e 01:40:46 ---> aaac1eb5347d 01:40:46 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:40:46 ---> Running in 4004c8d9f990 01:40:46 Removing intermediate container 4004c8d9f990 01:40:46 ---> ef9d82a4ce83 01:40:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:40:46 ---> Running in dec1786e9e36 01:40:46 Removing intermediate container dec1786e9e36 01:40:46 ---> 4240adaa66c3 01:40:46 Step 23/25 : LABEL arch=arm64 01:40:46 ---> Running in 729cb6032307 01:40:47 Removing intermediate container 729cb6032307 01:40:47 ---> 4147cc64cff0 01:40:47 Step 24/25 : LABEL git_sha=6c6658be644320c88b61369ef56939c7ea182beb 01:40:47 ---> Running in cdf866249fca 01:40:47 Removing intermediate container cdf866249fca 01:40:47 ---> 41790f4635cd 01:40:47 Step 25/25 : LABEL version=0.0.0 01:40:47 ---> Running in 20635b853c3d 01:40:47 Removing intermediate container 20635b853c3d 01:40:47 ---> d1e6ad50acb3 01:40:47 [Warning] One or more build-args [ARCH] were not consumed 01:40:47 Successfully built d1e6ad50acb3 01:40:47 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 01:40:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:40:48 01:40:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:40:48 arm64: Pulling from edgex-lftools-log-publisher 01:40:48 8998bd30e6a1: Pulling fs layer 01:40:48 04944245beec: Pulling fs layer 01:40:48 699f458cf7ca: Pulling fs layer 01:40:48 765212b225bb: Pulling fs layer 01:40:48 f23df028b6ca: Pulling fs layer 01:40:48 d65c8cfc05b1: Pulling fs layer 01:40:48 2437ff75d9bd: Pulling fs layer 01:40:48 f23df028b6ca: Waiting 01:40:48 d65c8cfc05b1: Waiting 01:40:48 2437ff75d9bd: Waiting 01:40:48 765212b225bb: Waiting 01:40:49 04944245beec: Verifying Checksum 01:40:49 04944245beec: Download complete 01:40:49 765212b225bb: Verifying Checksum 01:40:49 765212b225bb: Download complete 01:40:49 f23df028b6ca: Download complete 01:40:49 d65c8cfc05b1: Verifying Checksum 01:40:49 d65c8cfc05b1: Download complete 01:40:49 699f458cf7ca: Verifying Checksum 01:40:49 699f458cf7ca: Download complete 01:40:49 8998bd30e6a1: Verifying Checksum 01:40:49 8998bd30e6a1: Download complete 01:40:52 2437ff75d9bd: Verifying Checksum 01:40:52 2437ff75d9bd: Download complete 01:40:53 8998bd30e6a1: Pull complete 01:40:53 04944245beec: Pull complete 01:40:55 699f458cf7ca: Pull complete 01:40:55 765212b225bb: Pull complete 01:40:56 f23df028b6ca: Pull complete 01:40:56 d65c8cfc05b1: Pull complete 01:41:11 2437ff75d9bd: Pull complete 01:41:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:41:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:41:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:11 prd-ubuntu20.04-docker-arm64-4c-16g-7475 does not seem to be running inside a container 01:41:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:41:15 $ docker top 5efea49b00a8c2d72f16e7f6dbda10ed3d09bda6c295fa420d0b0ebc5fa4cc3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:15 ---> job-cost.sh 01:41:15 lf-activate-venv: SKIPPING 01:41:15 INFO: No Stack... 01:41:16 INFO: Retrieving Pricing Info for: v3-standard-4 01:41:17 INFO: Archiving Costs [Pipeline] sh 01:41:17 + cut -d, -f6 01:41:17 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 01:41:17 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] 01:41:17 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] did not exist. Created. 01:41:17 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:41:18 /w/workspace/device-mqtt-go/1@tmp/durable-28db3313/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:41:18 + echo total: 0.10999999940395355 [Pipeline] stash 01:41:18 Warning: overwriting stash ‘stack-cost’ 01:41:18 Stashed 1 file(s) [Pipeline] } 01:41:18 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-422-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:41:19 $ docker stop --time=1 5efea49b00a8c2d72f16e7f6dbda10ed3d09bda6c295fa420d0b0ebc5fa4cc3e 01:41:20 $ docker rm -f 5efea49b00a8c2d72f16e7f6dbda10ed3d09bda6c295fa420d0b0ebc5fa4cc3e [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 01:41:21 provisioning config files... 01:41:21 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/config6268717944905178452tmp [Pipeline] { [Pipeline] sh 01:41:21 + set +x 01:41:21 + bash -s -- 01:41:21 + curl -s https://codecov.io/bash 01:41:21 01:41:21 _____ _ 01:41:21 / ____| | | 01:41:21 | | ___ __| | ___ ___ _____ __ 01:41:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:41:21 | |___| (_) | (_| | __/ (_| (_) \ V / 01:41:21 \_____\___/ \__,_|\___|\___\___/ \_/ 01:41:21 Bash-1.0.6 01:41:21 01:41:21 01:41:21 ==> git version 2.25.1 found 01:41:21 ==> 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 01:41:21 Release-Date: 2020-01-08 01:41:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:41:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:41:21 ==> Jenkins CI detected. 01:41:21 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-422 01:41:21 project root: . 01:41:21 --> token set from env 01:41:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:41:21 ==> Running gcov in . (disable via -X gcov) 01:41:21 ==> Python coveragepy not found 01:41:21 ==> Searching for coverage reports in: 01:41:21 + . 01:41:21 -> Found 1 reports 01:41:21 ==> Detecting git/mercurial file structure 01:41:21 ==> Reading reports 01:41:21 + ./coverage.out bytes=17887 01:41:21 ==> Appending adjustments 01:41:21 https://docs.codecov.io/docs/fixing-reports 01:41:22 + Found adjustments 01:41:22 ==> Gzipping contents 01:41:22 4.0K /tmp/codecov.3xUCEx.gz 01:41:22 ==> Uploading reports 01:41:22 url: https://codecov.io 01:41:22 query: branch=PR-422&commit=6c6658be644320c88b61369ef56939c7ea182beb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=422&job=&cmd_args= 01:41:22 -> Pinging Codecov 01:41:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-422&commit=6c6658be644320c88b61369ef56939c7ea182beb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-422%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=422&job=&cmd_args= 01:41:22 -> Uploading to 01:41:22 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/6c6658be644320c88b61369ef56939c7ea182beb/e90220c3-cd26-45cd-8a06-f33b1750626b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T014122Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9d1f28322847c2ff5fca6fce60ccb4790622089c0b8af51ce1791cc166a3eb27 01:41:22 % Total % Received % Xferd Average Speed Time Time Time Current 01:41:22 Dload Upload Total Spent Left Speed 01:41:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14226 --:--:-- --:--:-- --:--:-- 14226 01:41:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/6c6658be644320c88b61369ef56939c7ea182beb [Pipeline] } 01:41:22 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 01:41:24 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives ] 01:41:24 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives 01:41:24 total 16 01:41:24 drwxr-xr-x 3 root root 4096 Oct 10 01:32 . 01:41:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 01:32 .. 01:41:24 drwxr-xr-x 2 root root 4096 Oct 10 01:32 cost 01:41:24 -rw-r--r-- 1 root root 86 Oct 10 01:32 cost.csv 01:41:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives 01:41:24 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives 01:41:24 total 16 01:41:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:32 . 01:41:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 01:32 .. 01:41:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 01:32 cost 01:41:24 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 01:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:41:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:41:25 ---> package-listing.sh 01:41:25 ++ facter osfamily 01:41:25 ++ tr '[:upper:]' '[:lower:]' 01:41:25 + OS_FAMILY=debian 01:41:25 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-422 01:41:25 + START_PACKAGES=/tmp/packages_start.txt 01:41:25 + END_PACKAGES=/tmp/packages_end.txt 01:41:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:41:25 + PACKAGES=/tmp/packages_start.txt 01:41:25 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-422 ']' 01:41:25 + PACKAGES=/tmp/packages_end.txt 01:41:25 + case "${OS_FAMILY}" in 01:41:25 + dpkg -l 01:41:25 + grep '^ii' 01:41:25 + '[' -f /tmp/packages_start.txt ']' 01:41:25 + '[' -f /tmp/packages_end.txt ']' 01:41:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:41:25 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-422 ']' 01:41:25 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives/ 01:41:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-422/archives/ [Pipeline] echo 01:41:25 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-422/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:41:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:26 prd-ubuntu20.04-docker-8c-8g-7470 does not seem to be running inside a container 01:41:26 $ 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-422/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-422 -v /w/workspace/gexfoundry_device-mqtt-go_PR-422:/w/workspace/gexfoundry_device-mqtt-go_PR-422:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-422@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:41:27 $ docker top f88d936a824b5db0bf1128e598aaf59662345e23db1f423490357e7d26e9cf12 -eo pid,comm [Pipeline] { [Pipeline] sh 01:41:27 + touch /tmp/pre-build-complete [Pipeline] sh 01:41:27 + mkdir -p /var/log/sysstat [Pipeline] sh 01:41:28 + ls /var/log/sa-host 01:41:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:28 provisioning config files... 01:41:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-422@tmp/config16876522348244278021tmp [Pipeline] { [Pipeline] echo 01:41:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:41:28 ---> create-netrc.sh [Pipeline] } 01:41:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:41:29 ---> python-tools-install.sh [Pipeline] echo 01:41:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:41:29 ---> sudo-logs.sh 01:41:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:41:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:41:29 ---> job-cost.sh 01:41:29 lf-activate-venv: SKIPPING 01:41:29 DEBUG: total: 0.2199999988079071 01:41:29 INFO: Retrieving Stack Cost... 01:41:30 INFO: Retrieving Pricing Info for: v3-standard-8 01:41:30 INFO: Archiving Costs [Pipeline] echo 01:41:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:41:31 ---> logs-deploy.sh 01:41:31 lf-activate-venv: SKIPPING 01:41:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-422/1 01:41:31 INFO: archiving workspace using pattern(s): 01:41:31 Archives upload complete. 01:41:31 INFO: archiving logs to Nexus 01:41:32 ---> uname -a: 01:41:32 Linux prd-ubuntu20-04-docker-8c-8g-7470 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:41:32 01:41:32