Pull request #421 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea7901679514ef073c4369edce0c60c6e214a218+1a028d96f2f1053b1975dad0f0d16109b5d4490c (cf3458b9f6f1d53c300382aeb2c20ff0b61b8e18) 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-ssh1975070328821131981.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-ssh14293866936718622154.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-421/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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12163139296759041814.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-421/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6922697511570265689.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-ssh8296873838400502521.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-421/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-421/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11327694157027077686.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-7469 in /w/workspace/gexfoundry_device-mqtt-go_PR-421 [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-421 # 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/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1a028d96f2f1053b1975dad0f0d16109b5d4490c into PR head commit ea7901679514ef073c4369edce0c60c6e214a218 Merge succeeded, producing ea7901679514ef073c4369edce0c60c6e214a218 Checking out Revision ea7901679514ef073c4369edce0c60c6e214a218 (PR-421) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:29:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:29:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:29:08 ========================================================= 01:29:08 EdgeX Global Pipelines Version Info 01:29:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ea7901679514ef073c4369edce0c60c6e214a218 # 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 ea7901679514ef073c4369edce0c60c6e214a218 # timeout=10 01:29:09 ------------------- 01:29:09 stable info: 01:29:09 ------------------- 01:29:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:29:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:29:09 Message: update stable to v1.0.239 01:29:09 ------------------- 01:29:09 experimental info: 01:29:09 ------------------- 01:29:09 Commited By: **** collab-it+edgex@linuxfoundation.org 01:29:09 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:29:09 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-421 [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-421 [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-421 [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea79016 [Pipeline] echo 01:29:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:11 provisioning config files... 01:29:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config10739287361115865014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:11 ---> docker-login.sh 01:29:11 nexus3.edgexfoundry.org:10001 01:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:12 Configure a credential helper to remove this warning. See 01:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:12 01:29:12 Login Succeeded 01:29:12 nexus3.edgexfoundry.org:10002 01:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:12 Configure a credential helper to remove this warning. See 01:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:12 01:29:12 Login Succeeded 01:29:12 nexus3.edgexfoundry.org:10003 01:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:12 Configure a credential helper to remove this warning. See 01:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:12 01:29:12 Login Succeeded 01:29:12 nexus3.edgexfoundry.org:10004 01:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:12 Configure a credential helper to remove this warning. See 01:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:12 01:29:12 Login Succeeded 01:29:12 docker.io 01:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:13 Configure a credential helper to remove this warning. See 01:29:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:13 01:29:13 Login Succeeded 01:29:13 ---> docker-login.sh ends [Pipeline] } 01:29:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:29:14 + git rev-list -1 --merges ea7901679514ef073c4369edce0c60c6e214a218~1..ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] echo 01:29:14 -----------> git rev-list -1 --merges ea7901679514ef073c4369edce0c60c6e214a218~1..ea7901679514ef073c4369edce0c60c6e214a218 ea7901679514ef073c4369edce0c60c6e214a218 [false] [Pipeline] sh 01:29:14 + git log --format=format:%s -1 ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] echo 01:29:14 ========================================================= 01:29:14 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:29:14 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:14 + git log --format=format:%s -1 ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] echo 01:29:14 [semverPrep] GIT_COMMIT: ea7901679514ef073c4369edce0c60c6e214a218, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 01:29:14 [semverPrep] This is not a build commit. [Pipeline] sh 01:29:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:29:15 + grep -v github /etc/ssh/ssh_known_hosts 01:29:15 + [ -e /tmp/ssh_known_hosts ] 01:29:15 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:29:15 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:29:15 + sudo tee -a /etc/ssh/ssh_known_hosts 01:29:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:15 01:29:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:16 0.1.4: Pulling from edgex-devops/py-git-semver 01:29:16 b85a868b505f: Pulling fs layer 01:29:16 e2be974225ed: Pulling fs layer 01:29:16 339a4e72a1f5: Pulling fs layer 01:29:16 988bab9f4d93: Pulling fs layer 01:29:16 1469e6f7b9e6: Pulling fs layer 01:29:16 eaf3925da568: Pulling fs layer 01:29:16 1469e6f7b9e6: Waiting 01:29:16 988bab9f4d93: Waiting 01:29:16 eaf3925da568: Waiting 01:29:16 bab4dde63d76: Pulling fs layer 01:29:16 bde34c3a00c8: Pulling fs layer 01:29:16 b352a97aabf1: Pulling fs layer 01:29:16 4872d77fe225: Pulling fs layer 01:29:16 5851b861e8e6: Pulling fs layer 01:29:16 bab4dde63d76: Waiting 01:29:16 bde34c3a00c8: Waiting 01:29:16 b352a97aabf1: Waiting 01:29:16 4872d77fe225: Waiting 01:29:16 5851b861e8e6: Waiting 01:29:16 e2be974225ed: Verifying Checksum 01:29:16 e2be974225ed: Download complete 01:29:16 988bab9f4d93: Verifying Checksum 01:29:16 988bab9f4d93: Download complete 01:29:16 1469e6f7b9e6: Verifying Checksum 01:29:16 1469e6f7b9e6: Download complete 01:29:16 eaf3925da568: Verifying Checksum 01:29:16 eaf3925da568: Download complete 01:29:16 339a4e72a1f5: Verifying Checksum 01:29:16 339a4e72a1f5: Download complete 01:29:16 bde34c3a00c8: Verifying Checksum 01:29:16 bde34c3a00c8: Download complete 01:29:16 b352a97aabf1: Download complete 01:29:16 4872d77fe225: Download complete 01:29:16 5851b861e8e6: Verifying Checksum 01:29:16 5851b861e8e6: Download complete 01:29:16 b85a868b505f: Verifying Checksum 01:29:16 b85a868b505f: Download complete 01:29:16 bab4dde63d76: Verifying Checksum 01:29:16 bab4dde63d76: Download complete 01:29:17 b85a868b505f: Pull complete 01:29:17 e2be974225ed: Pull complete 01:29:18 339a4e72a1f5: Pull complete 01:29:18 988bab9f4d93: Pull complete 01:29:18 1469e6f7b9e6: Pull complete 01:29:18 eaf3925da568: Pull complete 01:29:20 bab4dde63d76: Pull complete 01:29:20 bde34c3a00c8: Pull complete 01:29:20 b352a97aabf1: Pull complete 01:29:20 4872d77fe225: Pull complete 01:29:20 5851b861e8e6: Pull complete 01:29:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:29:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:21 prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container 01:29:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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:29:26 $ docker top afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 -eo pid,comm 01:29:26 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:29:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:29:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:26 [ssh-agent] Looking for ssh-agent implementation... 01:29:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:26 $ docker exec afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 ssh-agent 01:29:26 SSH_AUTH_SOCK=/tmp/ssh-Lpt1XtOOjig7/agent.31 01:29:26 SSH_AGENT_PID=37 01:29:26 Running ssh-add (command line suppressed) 01:29:26 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_9869619617645209099.key (/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_9869619617645209099.key) 01:29:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:26 + git tag --points-at HEAD [Pipeline] } 01:29:27 $ docker exec --env ******** --env ******** afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 ssh-agent -k 01:29:27 unset SSH_AUTH_SOCK; 01:29:27 unset SSH_AGENT_PID; 01:29:27 echo Agent pid 37 killed; 01:29:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:29:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:27 [ssh-agent] Looking for ssh-agent implementation... 01:29:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:27 $ docker exec afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 ssh-agent 01:29:27 SSH_AUTH_SOCK=/tmp/ssh-OqRs87NkG3PM/agent.70 01:29:27 SSH_AGENT_PID=76 01:29:27 Running ssh-add (command line suppressed) 01:29:27 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_12959740252215148825.key (/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/private_key_12959740252215148825.key) 01:29:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:27 + git semver init 01:29:28 2022-10-10 01:29:28,275 [run_init] DEBUG init version:0.0.0 force:False 01:29:28 2022-10-10 01:29:28,277 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver 01:29:28 2022-10-10 01:29:28,278 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver 01:29:28 2022-10-10 01:29:28,279 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421, universal_newlines=False, shell=None, istream=None) 01:29:29 2022-10-10 01:29:29,248 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.git/info/exclude 01:29:29 2022-10-10 01:29:29,249 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 with force:False 01:29:29 2022-10-10 01:29:29,249 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 01:29:29 2022-10-10 01:29:29,254 [execute] INFO git cat-file --batch-check 01:29:29 2022-10-10 01:29:29,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) 01:29:29 2022-10-10 01:29:29,261 [execute] INFO git cat-file --batch 01:29:29 2022-10-10 01:29:29,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver, universal_newlines=False, shell=None, istream=) 01:29:29 2022-10-10 01:29:29,267 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-421/.semver/PR-421 01:29:29 0.0.0 [Pipeline] } 01:29:29 $ docker exec --env ******** --env ******** afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 ssh-agent -k 01:29:29 unset SSH_AUTH_SOCK; 01:29:29 unset SSH_AGENT_PID; 01:29:29 echo Agent pid 76 killed; 01:29:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:29:30 + git semver [Pipeline] } 01:29:30 $ docker stop --time=1 afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 01:29:32 $ docker rm -f afcd64a9a5dcc7fc766556e519e76c6f9d6405c16b210930d7a401ab7ea9b169 [Pipeline] // withDockerContainer [Pipeline] sh 01:29:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:29:32 Stashed 1 file(s) [Pipeline] echo 01:29:32 [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:29:33 provisioning config files... 01:29:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config12731907168389080923tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:33 ---> docker-login.sh 01:29:33 nexus3.edgexfoundry.org:10001 01:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:33 Configure a credential helper to remove this warning. See 01:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:33 01:29:33 Login Succeeded 01:29:33 nexus3.edgexfoundry.org:10002 01:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:33 Configure a credential helper to remove this warning. See 01:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:33 01:29:33 Login Succeeded 01:29:33 nexus3.edgexfoundry.org:10003 01:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:33 Configure a credential helper to remove this warning. See 01:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:33 01:29:33 Login Succeeded 01:29:33 nexus3.edgexfoundry.org:10004 01:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:34 Configure a credential helper to remove this warning. See 01:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:34 01:29:34 Login Succeeded 01:29:34 docker.io 01:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:29:34 Configure a credential helper to remove this warning. See 01:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:29:34 01:29:34 Login Succeeded 01:29:34 ---> docker-login.sh ends [Pipeline] } 01:29:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:29:34 ========================================================= 01:29:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:29:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:35 + 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:29:35 Sending build context to Docker daemon 6.162MB 01:29:35 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:29:35 Step 2/13 : FROM ${BASE} AS builder 01:29:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:29:35 2408cc74d12b: Pulling fs layer 01:29:35 ea60b727a1ce: Pulling fs layer 01:29:35 30c4a7721957: Pulling fs layer 01:29:35 370296b7ddb6: Pulling fs layer 01:29:35 7c6cee850709: Pulling fs layer 01:29:35 aa9baa53a306: Pulling fs layer 01:29:35 8b309c321861: Pulling fs layer 01:29:35 d8d76fd02f46: Pulling fs layer 01:29:35 fa31f396de31: Pulling fs layer 01:29:35 aa9baa53a306: Waiting 01:29:35 370296b7ddb6: Waiting 01:29:35 8b309c321861: Waiting 01:29:35 d8d76fd02f46: Waiting 01:29:35 fa31f396de31: Waiting 01:29:35 7c6cee850709: Waiting 01:29:35 30c4a7721957: Verifying Checksum 01:29:35 30c4a7721957: Download complete 01:29:35 ea60b727a1ce: Verifying Checksum 01:29:35 ea60b727a1ce: Download complete 01:29:35 7c6cee850709: Verifying Checksum 01:29:35 7c6cee850709: Download complete 01:29:35 aa9baa53a306: Download complete 01:29:35 2408cc74d12b: Verifying Checksum 01:29:35 2408cc74d12b: Download complete 01:29:35 8b309c321861: Download complete 01:29:35 2408cc74d12b: Pull complete 01:29:35 ea60b727a1ce: Pull complete 01:29:35 30c4a7721957: Pull complete 01:29:36 fa31f396de31: Verifying Checksum 01:29:36 fa31f396de31: Download complete 01:29:36 370296b7ddb6: Verifying Checksum 01:29:36 370296b7ddb6: Download complete 01:29:36 d8d76fd02f46: Verifying Checksum 01:29:36 d8d76fd02f46: Download complete 01:29:40 370296b7ddb6: Pull complete 01:29:40 7c6cee850709: Pull complete 01:29:40 aa9baa53a306: Pull complete 01:29:40 8b309c321861: Pull complete 01:29:43 d8d76fd02f46: Pull complete 01:29:43 fa31f396de31: Pull complete 01:29:43 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 01:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:29:43 ---> cef68f9685f8 01:29:43 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:29:48 Still waiting to schedule task 01:29:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7464’ 01:29:50 ---> Running in 75073ac53454 01:29:50 Removing intermediate container 75073ac53454 01:29:50 ---> 5bf65856ee85 01:29:50 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:29:50 ---> Running in b3ddc1ed931c 01:29:50 Removing intermediate container b3ddc1ed931c 01:29:50 ---> a0de9d14fefc 01:29:50 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:29:50 ---> Running in 7744b472b5dd 01:29:50 Removing intermediate container 7744b472b5dd 01:29:50 ---> 7d2be760449d 01:29:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:29:50 ---> Running in 3c17afe8c520 01:29:51 Removing intermediate container 3c17afe8c520 01:29:51 ---> 662233aed7dd 01:29:51 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:29:51 ---> Running in 54c0a3433707 01:29:51 Removing intermediate container 54c0a3433707 01:29:51 ---> 1476dffb07c1 01:29:51 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:29:51 ---> Running in 0bbc712f0802 01:29:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:29:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:29:53 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:29:53 (2/4) Installing libedit (20210910.3.1-r0) 01:29:53 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:29:53 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:29:53 Executing busybox-1.35.0-r13.trigger 01:29:53 OK: 216 MiB in 55 packages 01:29:53 Removing intermediate container 0bbc712f0802 01:29:53 ---> ec9e3a878411 01:29:53 Step 9/13 : WORKDIR /device-mqtt-go 01:29:53 ---> Running in eeea70d0c763 01:29:54 Removing intermediate container eeea70d0c763 01:29:54 ---> 8612d8d44ca4 01:29:54 Step 10/13 : COPY go.mod vendor* ./ 01:29:54 ---> 0c4d6fa2d832 01:29:54 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:54 ---> Running in 2d54a3b3838d 01:30:26 Removing intermediate container 2d54a3b3838d 01:30:26 ---> 8b5da1fd5b8e 01:30:26 Step 12/13 : COPY . . 01:30:26 ---> 07c8371c0551 01:30:26 Step 13/13 : RUN $MAKE 01:30:26 ---> Running in 291cdf220359 01:30:26 noop 01:30:26 Removing intermediate container 291cdf220359 01:30:26 ---> ce1b6badd07c 01:30:26 Successfully built ce1b6badd07c 01:30:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:26 + docker inspect -f . ci-base-image-x86_64 01:30:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:26 prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container 01:30:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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:30:27 $ docker top f16b8e65616604aa523f0628105f524e1f872f1189c7a5eb23d0c038dd572836 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:27 + go version 01:30:27 go version go1.18.3 linux/amd64 [Pipeline] } 01:30:27 $ docker stop --time=1 f16b8e65616604aa523f0628105f524e1f872f1189c7a5eb23d0c038dd572836 01:30:28 $ docker rm -f f16b8e65616604aa523f0628105f524e1f872f1189c7a5eb23d0c038dd572836 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:29 + docker inspect -f . ci-base-image-x86_64 01:30:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:29 prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container 01:30:29 $ 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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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:30:29 $ docker top 6066c7a06196eab6f756e282000cf738eec9f1c3872443275be4b4c90e14371f -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-421 [Pipeline] fileExists [Pipeline] sh 01:30:30 + make test 01:30:30 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:30:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:30:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:30:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 01:30:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:30:46 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:30:46 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:30:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:30:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:30:49 ./bin/test-attribution-txt.sh [Pipeline] echo 01:30:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:30:49 $ docker stop --time=1 6066c7a06196eab6f756e282000cf738eec9f1c3872443275be4b4c90e14371f 01:30:54 $ docker rm -f 6066c7a06196eab6f756e282000cf738eec9f1c3872443275be4b4c90e14371f [Pipeline] // withDockerContainer [Pipeline] sh 01:30:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:30:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:30:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:30:55 + ls -al . 01:30:55 total 184 01:30:55 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 01:30 . 01:30:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:29 .. 01:30:55 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:29 .dockerignore 01:30:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:30 .git 01:30:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:29 .github 01:30:55 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 01:29 .gitignore 01:30:55 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:29 .golangci.yml 01:30:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:29 .semver 01:30:55 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 01:29 Attribution.txt 01:30:55 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 01:29 CHANGELOG.md 01:30:55 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 01:29 Dockerfile 01:30:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:29 GOVERNANCE.md 01:30:55 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 01:29 Jenkinsfile 01:30:55 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:29 LICENSE 01:30:55 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 01:29 Makefile 01:30:55 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:29 OWNERS.md 01:30:55 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 01:29 README.md 01:30:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:29 VERSION 01:30:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:29 bin 01:30:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:29 cmd 01:30:55 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 01:30 coverage.out 01:30:55 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 01:29 go.mod 01:30:55 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 01:29 go.sum 01:30:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:29 internal 01:30:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:29 mock 01:30:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:29 snap 01:30:55 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:56 + 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=ea7901679514ef073c4369edce0c60c6e214a218 --label arch=amd64 --label version=0.0.0 . 01:30:56 Sending build context to Docker daemon 6.181MB 01:30:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:30:56 Step 2/25 : FROM ${BASE} AS builder 01:30:56 ---> ce1b6badd07c 01:30:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:30:56 ---> Running in 1acef86b1901 01:30:56 Removing intermediate container 1acef86b1901 01:30:56 ---> f2459fa4cf18 01:30:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:56 ---> Running in 80c2f6c83e0c 01:30:56 Removing intermediate container 80c2f6c83e0c 01:30:56 ---> 7bddd216cae1 01:30:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:30:56 ---> Running in 12058e668196 01:30:56 Removing intermediate container 12058e668196 01:30:56 ---> b2a73763fc89 01:30:56 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:30:56 ---> Running in 0feaf1243611 01:30:56 Removing intermediate container 0feaf1243611 01:30:56 ---> 66655b7e5640 01:30:56 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:30:56 ---> Running in cb91dacab6f1 01:30:57 Removing intermediate container cb91dacab6f1 01:30:57 ---> 64b49f924376 01:30:57 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:57 ---> Running in 997c0c5deebd 01:30:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:30:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:30:58 OK: 216 MiB in 55 packages 01:30:58 Removing intermediate container 997c0c5deebd 01:30:58 ---> 100919439864 01:30:58 Step 9/25 : WORKDIR /device-mqtt-go 01:30:58 ---> Running in 71fddf0db162 01:30:59 Removing intermediate container 71fddf0db162 01:30:59 ---> 04b250a50c08 01:30:59 Step 10/25 : COPY go.mod vendor* ./ 01:30:59 ---> bcd796da6a8a 01:30:59 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:59 ---> Running in 0d30304fc93a 01:30:59 Removing intermediate container 0d30304fc93a 01:30:59 ---> b8e1d36add13 01:30:59 Step 12/25 : COPY . . 01:31:00 ---> 58972c06b99a 01:31:00 Step 13/25 : RUN $MAKE 01:31:00 ---> Running in 1b4848968035 01:31:00 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:22 Removing intermediate container 1b4848968035 01:31:22 ---> 702baa909e60 01:31:22 Step 14/25 : FROM alpine:3.16 01:31:23 3.16: Pulling from library/alpine 01:31:23 213ec9aee27d: Pulling fs layer 01:31:23 213ec9aee27d: Download complete 01:31:23 213ec9aee27d: Pull complete 01:31:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:31:23 Status: Downloaded newer image for alpine:3.16 01:31:23 ---> 9c6f07244728 01:31:23 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:31:23 ---> Running in 0efce288704c 01:31:23 Removing intermediate container 0efce288704c 01:31:23 ---> ba74ac1e0e3b 01:31:23 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:31:23 ---> Running in 06e08d56a6b9 01:31:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:31:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:31:24 (1/6) Installing dumb-init (1.2.5-r1) 01:31:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:31:24 (3/6) Installing libsodium (1.0.18-r0) 01:31:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:31:24 (5/6) Installing libzmq (4.3.4-r0) 01:31:24 (6/6) Installing zeromq (4.3.4-r0) 01:31:24 Executing busybox-1.35.0-r17.trigger 01:31:24 OK: 8 MiB in 20 packages 01:31:25 Removing intermediate container 06e08d56a6b9 01:31:25 ---> 94df11689071 01:31:25 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:31:25 ---> 6d08130765f9 01:31:25 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:31:25 ---> 55f21918b7d7 01:31:25 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:31:26 ---> 6bc0d2cc753d 01:31:26 Step 20/25 : EXPOSE 59982 01:31:26 ---> Running in eb239709b1c6 01:31:26 Removing intermediate container eb239709b1c6 01:31:26 ---> 820f22026192 01:31:26 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:31:26 ---> Running in 022f73ad7d2e 01:31:26 Removing intermediate container 022f73ad7d2e 01:31:26 ---> 85f8ac5d4fd7 01:31:26 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:31:26 ---> Running in 558daeca56f4 01:31:26 Removing intermediate container 558daeca56f4 01:31:26 ---> df0041cea5b5 01:31:26 Step 23/25 : LABEL arch=amd64 01:31:26 ---> Running in 46ea20049632 01:31:26 Removing intermediate container 46ea20049632 01:31:26 ---> 33fea72393f6 01:31:26 Step 24/25 : LABEL git_sha=ea7901679514ef073c4369edce0c60c6e214a218 01:31:26 ---> Running in 293101f1107a 01:31:26 Removing intermediate container 293101f1107a 01:31:26 ---> 9e5b4453acc9 01:31:26 Step 25/25 : LABEL version=0.0.0 01:31:26 ---> Running in 3f02d2f45619 01:31:26 Removing intermediate container 3f02d2f45619 01:31:26 ---> 75ff0c204b0b 01:31:26 [Warning] One or more build-args [ARCH] were not consumed 01:31:26 Successfully built 75ff0c204b0b 01:31:26 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:31:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:27 01:31:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:27 latest: Pulling from edgex-lftools-log-publisher 01:31:27 5eb5b503b376: Pulling fs layer 01:31:27 5c69ac0246d0: Pulling fs layer 01:31:27 ec43610c2a17: Pulling fs layer 01:31:27 3a2ae6a8a46f: Pulling fs layer 01:31:27 33b1e0a273af: Pulling fs layer 01:31:27 5d3b04190fa2: Pulling fs layer 01:31:27 2f39f015ded8: Pulling fs layer 01:31:27 3a2ae6a8a46f: Waiting 01:31:27 33b1e0a273af: Waiting 01:31:27 5d3b04190fa2: Waiting 01:31:27 2f39f015ded8: Waiting 01:31:27 5c69ac0246d0: Verifying Checksum 01:31:27 5c69ac0246d0: Download complete 01:31:27 3a2ae6a8a46f: Verifying Checksum 01:31:27 3a2ae6a8a46f: Download complete 01:31:28 33b1e0a273af: Verifying Checksum 01:31:28 33b1e0a273af: Download complete 01:31:28 ec43610c2a17: Verifying Checksum 01:31:28 ec43610c2a17: Download complete 01:31:28 5d3b04190fa2: Verifying Checksum 01:31:28 5d3b04190fa2: Download complete 01:31:28 5eb5b503b376: Verifying Checksum 01:31:28 5eb5b503b376: Download complete 01:31:29 5eb5b503b376: Pull complete 01:31:29 5c69ac0246d0: Pull complete 01:31:29 ec43610c2a17: Pull complete 01:31:29 3a2ae6a8a46f: Pull complete 01:31:30 33b1e0a273af: Pull complete 01:31:30 5d3b04190fa2: Pull complete 01:31:34 2f39f015ded8: Pull complete 01:31:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:31:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:34 prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container 01:31:34 $ 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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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:31:39 $ docker top 36ea26481b0814ab25b4777667d365860543bf550b2124ed6f5f4a278612948d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:40 ---> job-cost.sh 01:31:40 lf-activate-venv: SKIPPING 01:31:40 INFO: No Stack... 01:31:40 INFO: Retrieving Pricing Info for: v3-standard-8 01:31:41 INFO: Archiving Costs [Pipeline] sh 01:31:41 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/cost.csv 01:31:41 + cut -d, -f6 [Pipeline] lock 01:31:41 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] 01:31:41 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] did not exist. Created. 01:31:41 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:31:41 + echo total: 0.2199999988079071 [Pipeline] stash 01:31:41 Stashed 1 file(s) [Pipeline] } 01:31:41 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:31:41 $ docker stop --time=1 36ea26481b0814ab25b4777667d365860543bf550b2124ed6f5f4a278612948d 01:31:43 $ docker rm -f 36ea26481b0814ab25b4777667d365860543bf550b2124ed6f5f4a278612948d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:32:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7474 in /w/workspace/gexfoundry_device-mqtt-go_PR-421 [Pipeline] { [Pipeline] ws 01:32:29 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:32:30 Selected Git installation does not exist. Using Default 01:32:30 The recommended git tool is: NONE 01:32:35 using credential edgex-jenkins-ssh 01:32:35 Cloning the remote Git repository 01:32:35 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:32:35 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:32:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:32:35 > git --version # timeout=10 01:32:35 > git --version # 'git version 2.25.1' 01:32:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:32:35 Verifying host key using known hosts file 01:32:35 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:32:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:32:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:32:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:32:38 Merging remotes/origin/main commit 1a028d96f2f1053b1975dad0f0d16109b5d4490c into PR head commit ea7901679514ef073c4369edce0c60c6e214a218 01:32:38 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:32:38 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:32:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:32:38 Verifying host key using known hosts file 01:32:38 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:32:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/421/head:refs/remotes/origin/PR-421 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:32:38 > git config core.sparsecheckout # timeout=10 01:32:38 > git checkout -f ea7901679514ef073c4369edce0c60c6e214a218 # timeout=10 01:32:38 Merge succeeded, producing ea7901679514ef073c4369edce0c60c6e214a218 01:32:38 Checking out Revision ea7901679514ef073c4369edce0c60c6e214a218 (PR-421) 01:32:39 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 01:32:39 > git --version # timeout=10 01:32:39 > git --version # 'git version 2.25.1' 01:32:39 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:32:38 > git remote # timeout=10 01:32:38 > git config --get remote.origin.url # timeout=10 01:32:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:32:38 Verifying host key using known hosts file 01:32:38 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:32:38 > git merge 1a028d96f2f1053b1975dad0f0d16109b5d4490c # timeout=10 01:32:38 > git rev-parse HEAD^{commit} # timeout=10 01:32:38 > git config core.sparsecheckout # timeout=10 01:32:38 > git checkout -f ea7901679514ef073c4369edce0c60c6e214a218 # timeout=10 01:32:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:32:40 % Total % Received % Xferd Average Speed Time Time Time Current 01:32:40 Dload Upload Total Spent Left Speed 01:32:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 93348 0 --:--:-- --:--:-- --:--:-- 93348 [Pipeline] sh 01:32:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:32:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:32:41 + sudo tee /etc/docker/daemon.new 01:32:41 { 01:32:41 "registry-mirrors": [ 01:32:41 "https://nexus3.edgexfoundry.org:10001" 01:32:41 ], 01:32:41 "bip": "10.250.0.254/24", 01:32:41 "hosts": [ 01:32:41 "tcp://0.0.0.0:5555", 01:32:41 "unix:///var/run/docker.sock" 01:32:41 ], 01:32:41 "mtu": 1458, 01:32:41 "selinux-enabled": true, 01:32:41 "seccomp-profile": "/etc/docker/seccomp.json" 01:32:41 } [Pipeline] sh 01:32:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:32:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:00 provisioning config files... 01:33:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15421862595210214009tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:00 ---> docker-login.sh 01:33:00 nexus3.edgexfoundry.org:10001 01:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:01 Configure a credential helper to remove this warning. See 01:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:01 01:33:01 Login Succeeded 01:33:01 nexus3.edgexfoundry.org:10002 01:33:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:01 Configure a credential helper to remove this warning. See 01:33:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:01 01:33:01 Login Succeeded 01:33:02 nexus3.edgexfoundry.org:10003 01:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:02 Configure a credential helper to remove this warning. See 01:33:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:02 01:33:02 Login Succeeded 01:33:02 nexus3.edgexfoundry.org:10004 01:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:02 Configure a credential helper to remove this warning. See 01:33:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:02 01:33:02 Login Succeeded 01:33:02 docker.io 01:33:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:03 Configure a credential helper to remove this warning. See 01:33:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:03 01:33:03 Login Succeeded 01:33:03 ---> docker-login.sh ends [Pipeline] } 01:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:33:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:04 ========================================================= 01:33:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:33:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:04 + 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:33:04 Sending build context to Docker daemon 3.187MB 01:33:04 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:33:04 Step 2/13 : FROM ${BASE} AS builder 01:33:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:33:05 b3c136eddcbf: Pulling fs layer 01:33:05 c0a3192eca97: Pulling fs layer 01:33:05 a050256f5b6f: Pulling fs layer 01:33:05 656be50a0ddc: Pulling fs layer 01:33:05 2bbca73fdf42: Pulling fs layer 01:33:05 f607e4fc86c3: Pulling fs layer 01:33:05 4d572c569a2c: Pulling fs layer 01:33:05 fcf976331f73: Pulling fs layer 01:33:05 2bbca73fdf42: Waiting 01:33:05 f607e4fc86c3: Waiting 01:33:05 4d572c569a2c: Waiting 01:33:05 fcf976331f73: Waiting 01:33:05 656be50a0ddc: Waiting 01:33:05 a050256f5b6f: Verifying Checksum 01:33:05 a050256f5b6f: Download complete 01:33:05 c0a3192eca97: Verifying Checksum 01:33:05 c0a3192eca97: Download complete 01:33:05 2bbca73fdf42: Verifying Checksum 01:33:05 2bbca73fdf42: Download complete 01:33:05 f607e4fc86c3: Verifying Checksum 01:33:05 f607e4fc86c3: Download complete 01:33:05 b3c136eddcbf: Verifying Checksum 01:33:05 b3c136eddcbf: Download complete 01:33:06 b3c136eddcbf: Pull complete 01:33:06 fcf976331f73: Verifying Checksum 01:33:06 fcf976331f73: Download complete 01:33:06 c0a3192eca97: Pull complete 01:33:06 a050256f5b6f: Pull complete 01:33:07 4d572c569a2c: Verifying Checksum 01:33:07 4d572c569a2c: Download complete 01:33:08 656be50a0ddc: Verifying Checksum 01:33:08 656be50a0ddc: Download complete 01:33:20 656be50a0ddc: Pull complete 01:33:20 2bbca73fdf42: Pull complete 01:33:20 f607e4fc86c3: Pull complete 01:33:27 4d572c569a2c: Pull complete 01:33:29 fcf976331f73: Pull complete 01:33:29 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 01:33:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:33:29 ---> 3970a7415f9e 01:33:29 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:33:30 ---> Running in 5646f8a3af6b 01:33:30 Removing intermediate container 5646f8a3af6b 01:33:30 ---> 5b97c7a7c061 01:33:30 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:33:30 ---> Running in 5898850bc5ae 01:33:30 Removing intermediate container 5898850bc5ae 01:33:30 ---> e32c062e1c46 01:33:30 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:33:31 ---> Running in 0db8673fde9b 01:33:31 Removing intermediate container 0db8673fde9b 01:33:31 ---> 56667b136bfc 01:33:31 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:33:31 ---> Running in 69cf7927c226 01:33:31 Removing intermediate container 69cf7927c226 01:33:31 ---> 7d0d79f019e6 01:33:31 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:33:31 ---> Running in 9585e0e6189b 01:33:33 Removing intermediate container 9585e0e6189b 01:33:33 ---> 2cfa0d02c3ed 01:33:33 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:33 ---> Running in fa228612219f 01:33:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:33:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:33:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:33:37 (2/4) Installing libedit (20210910.3.1-r0) 01:33:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:33:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:33:37 Executing busybox-1.35.0-r13.trigger 01:33:37 OK: 226 MiB in 55 packages 01:33:38 Removing intermediate container fa228612219f 01:33:38 ---> e074770b34f6 01:33:38 Step 9/13 : WORKDIR /device-mqtt-go 01:33:38 ---> Running in d4fe51454fa3 01:33:39 Removing intermediate container d4fe51454fa3 01:33:39 ---> e9cd1213b242 01:33:39 Step 10/13 : COPY go.mod vendor* ./ 01:33:39 ---> 96357aba4933 01:33:39 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:39 ---> Running in 5ecd417de28b 01:34:36 Removing intermediate container 5ecd417de28b 01:34:36 ---> 16ba742148b3 01:34:36 Step 12/13 : COPY . . 01:34:36 ---> 8ef580f036cb 01:34:36 Step 13/13 : RUN $MAKE 01:34:36 ---> Running in 372a0f2c409e 01:34:36 noop 01:34:36 Removing intermediate container 372a0f2c409e 01:34:36 ---> cd797169fbe1 01:34:36 Successfully built cd797169fbe1 01:34:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:36 + docker inspect -f . ci-base-image-arm64 01:34:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:37 prd-ubuntu20.04-docker-arm64-4c-16g-7474 does not seem to be running inside a container 01:34:37 $ 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:34:38 $ docker top 5c4098eea7872da70a42be65e46149e7acfc36b3cd3ff9296ec5951cf87f52d6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:39 + go version 01:34:39 go version go1.18.3 linux/arm64 [Pipeline] } 01:34:39 $ docker stop --time=1 5c4098eea7872da70a42be65e46149e7acfc36b3cd3ff9296ec5951cf87f52d6 01:34:40 $ docker rm -f 5c4098eea7872da70a42be65e46149e7acfc36b3cd3ff9296ec5951cf87f52d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:41 + docker inspect -f . ci-base-image-arm64 01:34:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:42 prd-ubuntu20.04-docker-arm64-4c-16g-7474 does not seem to be running inside a container 01:34:42 $ 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:34:43 $ docker top 8a6684b7443c8d02c09bc34ae903eb64541216bdc238359e247b1605a92692d4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:44 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:34:45 + make test 01:34:45 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:34:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:36:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:36:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 01:36:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:36:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:36:23 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:36:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:36:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:36:41 ./bin/test-attribution-txt.sh [Pipeline] echo 01:36:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:36:41 $ docker stop --time=1 8a6684b7443c8d02c09bc34ae903eb64541216bdc238359e247b1605a92692d4 01:36:43 $ docker rm -f 8a6684b7443c8d02c09bc34ae903eb64541216bdc238359e247b1605a92692d4 [Pipeline] // withDockerContainer [Pipeline] sh 01:36:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:36:44 Warning: overwriting stash ‘coverage-report’ 01:36:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:36:45 + ls -al . 01:36:45 total 180 01:36:45 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 01:34 . 01:36:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:32 .. 01:36:45 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 01:32 .dockerignore 01:36:45 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 01:32 .git 01:36:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:32 .github 01:36:45 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 01:32 .gitignore 01:36:45 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 01:32 .golangci.yml 01:36:45 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 01:32 Attribution.txt 01:36:45 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 01:32 CHANGELOG.md 01:36:45 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 01:32 Dockerfile 01:36:45 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 01:32 GOVERNANCE.md 01:36:45 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 01:32 Jenkinsfile 01:36:45 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 01:32 LICENSE 01:36:45 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 01:32 Makefile 01:36:45 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 01:32 OWNERS.md 01:36:45 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 01:32 README.md 01:36:45 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 01:29 VERSION 01:36:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:32 bin 01:36:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:32 cmd 01:36:45 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 01:36 coverage.out 01:36:45 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 01:32 go.mod 01:36:45 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 01:32 go.sum 01:36:45 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 01:32 internal 01:36:45 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 01:32 mock 01:36:45 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 01:32 snap 01:36:45 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:46 + 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=ea7901679514ef073c4369edce0c60c6e214a218 --label arch=arm64 --label version=0.0.0 . 01:36:46 Sending build context to Docker daemon 3.205MB 01:36:46 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:36:46 Step 2/25 : FROM ${BASE} AS builder 01:36:46 ---> cd797169fbe1 01:36:46 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:36:46 ---> Running in 28e44060f65e 01:36:47 Removing intermediate container 28e44060f65e 01:36:47 ---> 30ae6e25c6e5 01:36:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:36:47 ---> Running in da1cb64b75c2 01:36:47 Removing intermediate container da1cb64b75c2 01:36:47 ---> 750a749cc1de 01:36:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:36:47 ---> Running in b60f9f1b55f4 01:36:47 Removing intermediate container b60f9f1b55f4 01:36:47 ---> d0d3c764a347 01:36:47 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:36:48 ---> Running in 47359bfc48cf 01:36:48 Removing intermediate container 47359bfc48cf 01:36:48 ---> 6d403e4e2dde 01:36:48 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:36:48 ---> Running in 0fc75f1085f9 01:36:51 Removing intermediate container 0fc75f1085f9 01:36:51 ---> 7c83f3b95f45 01:36:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:51 ---> Running in 4c6223d28a9f 01:36:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:36:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:36:54 OK: 226 MiB in 55 packages 01:36:55 Removing intermediate container 4c6223d28a9f 01:36:55 ---> 2d6f59192411 01:36:55 Step 9/25 : WORKDIR /device-mqtt-go 01:36:55 ---> Running in 2528a130690d 01:36:55 Removing intermediate container 2528a130690d 01:36:55 ---> e810058b8587 01:36:55 Step 10/25 : COPY go.mod vendor* ./ 01:36:56 ---> 08f6542fbe53 01:36:56 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:56 ---> Running in e986cb87690b 01:36:59 Removing intermediate container e986cb87690b 01:36:59 ---> fff02ad58900 01:36:59 Step 12/25 : COPY . . 01:36:59 ---> 77b671b143bd 01:36:59 Step 13/25 : RUN $MAKE 01:36:59 ---> Running in 19bac8047808 01:37:01 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:39:53 Removing intermediate container 19bac8047808 01:39:53 ---> c7be1809d6ec 01:39:53 Step 14/25 : FROM alpine:3.16 01:39:53 3.16: Pulling from library/alpine 01:39:53 9b18e9b68314: Pulling fs layer 01:39:53 9b18e9b68314: Verifying Checksum 01:39:53 9b18e9b68314: Download complete 01:39:53 9b18e9b68314: Pull complete 01:39:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:39:53 Status: Downloaded newer image for alpine:3.16 01:39:53 ---> a6215f271958 01:39:53 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:39:53 ---> Running in 814302bd367c 01:39:53 Removing intermediate container 814302bd367c 01:39:53 ---> 61e5aa567268 01:39:53 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:39:53 ---> Running in 04355197eb95 01:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:39:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:39:53 (1/6) Installing dumb-init (1.2.5-r1) 01:39:53 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:39:53 (3/6) Installing libsodium (1.0.18-r0) 01:39:53 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:39:53 (5/6) Installing libzmq (4.3.4-r0) 01:39:53 (6/6) Installing zeromq (4.3.4-r0) 01:39:53 Executing busybox-1.35.0-r17.trigger 01:39:53 OK: 8 MiB in 20 packages 01:39:53 Removing intermediate container 04355197eb95 01:39:53 ---> 2bd6b1ac5a82 01:39:53 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:39:53 ---> a9feef4391bf 01:39:53 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:39:53 ---> 75cd124ac6c1 01:39:53 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:39:53 ---> f0b6e5253d98 01:39:53 Step 20/25 : EXPOSE 59982 01:39:53 ---> Running in 46f7116e747f 01:39:53 Removing intermediate container 46f7116e747f 01:39:53 ---> b526842301eb 01:39:53 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:39:53 ---> Running in b98f8bd68aa3 01:39:53 Removing intermediate container b98f8bd68aa3 01:39:53 ---> d1b3b22dc86b 01:39:53 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:39:53 ---> Running in 457d178a6279 01:39:53 Removing intermediate container 457d178a6279 01:39:53 ---> cd14941bfd24 01:39:53 Step 23/25 : LABEL arch=arm64 01:39:53 ---> Running in 307b759535bf 01:39:53 Removing intermediate container 307b759535bf 01:39:53 ---> 5c6925628d66 01:39:53 Step 24/25 : LABEL git_sha=ea7901679514ef073c4369edce0c60c6e214a218 01:39:53 ---> Running in 4282cf5fe890 01:39:53 Removing intermediate container 4282cf5fe890 01:39:53 ---> 8918b47d4a05 01:39:53 Step 25/25 : LABEL version=0.0.0 01:39:53 ---> Running in cb5a5a310782 01:39:53 Removing intermediate container cb5a5a310782 01:39:53 ---> 0dc80c450814 01:39:53 [Warning] One or more build-args [ARCH] were not consumed 01:39:53 Successfully built 0dc80c450814 01:39:53 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:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:53 01:39:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:39:54 arm64: Pulling from edgex-lftools-log-publisher 01:39:54 8998bd30e6a1: Pulling fs layer 01:39:54 04944245beec: Pulling fs layer 01:39:54 699f458cf7ca: Pulling fs layer 01:39:54 765212b225bb: Pulling fs layer 01:39:54 f23df028b6ca: Pulling fs layer 01:39:54 765212b225bb: Waiting 01:39:54 d65c8cfc05b1: Pulling fs layer 01:39:54 2437ff75d9bd: Pulling fs layer 01:39:54 f23df028b6ca: Waiting 01:39:54 d65c8cfc05b1: Waiting 01:39:54 2437ff75d9bd: Waiting 01:39:54 04944245beec: Verifying Checksum 01:39:54 04944245beec: Download complete 01:39:54 765212b225bb: Verifying Checksum 01:39:54 f23df028b6ca: Download complete 01:39:54 d65c8cfc05b1: Verifying Checksum 01:39:54 d65c8cfc05b1: Download complete 01:39:54 699f458cf7ca: Verifying Checksum 01:39:54 699f458cf7ca: Download complete 01:39:55 8998bd30e6a1: Verifying Checksum 01:39:55 8998bd30e6a1: Download complete 01:39:57 2437ff75d9bd: Verifying Checksum 01:39:57 2437ff75d9bd: Download complete 01:39:59 8998bd30e6a1: Pull complete 01:39:59 04944245beec: Pull complete 01:40:00 699f458cf7ca: Pull complete 01:40:00 765212b225bb: Pull complete 01:40:01 f23df028b6ca: Pull complete 01:40:01 d65c8cfc05b1: Pull complete 01:40:16 2437ff75d9bd: Pull complete 01:40:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:40:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:40:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:17 prd-ubuntu20.04-docker-arm64-4c-16g-7474 does not seem to be running inside a container 01:40:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/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:40:19 $ docker top 51b81af3ba36d12fbc7369e06e0cfe0a4818cb7af8fc6dc5fd652dd02972b756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:20 ---> job-cost.sh 01:40:20 lf-activate-venv: SKIPPING 01:40:20 INFO: No Stack... 01:40:21 INFO: Retrieving Pricing Info for: v3-standard-4 01:40:21 INFO: Archiving Costs [Pipeline] sh 01:40:22 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:40:22 + cut -d, -f6 [Pipeline] lock 01:40:22 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] 01:40:22 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] did not exist. Created. 01:40:22 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:40:23 /w/workspace/device-mqtt-go/1@tmp/durable-4e138966/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:40:23 + echo total: 0.10999999940395355 [Pipeline] stash 01:40:23 Warning: overwriting stash ‘stack-cost’ 01:40:23 Stashed 1 file(s) [Pipeline] } 01:40:23 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-421-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:40:23 $ docker stop --time=1 51b81af3ba36d12fbc7369e06e0cfe0a4818cb7af8fc6dc5fd652dd02972b756 01:40:25 $ docker rm -f 51b81af3ba36d12fbc7369e06e0cfe0a4818cb7af8fc6dc5fd652dd02972b756 [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:40:26 provisioning config files... 01:40:26 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config12900429867589705672tmp [Pipeline] { [Pipeline] sh 01:40:26 + set +x 01:40:26 + bash -s -- 01:40:26 + curl -s https://codecov.io/bash 01:40:26 01:40:26 _____ _ 01:40:26 / ____| | | 01:40:26 | | ___ __| | ___ ___ _____ __ 01:40:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:40:26 | |___| (_) | (_| | __/ (_| (_) \ V / 01:40:26 \_____\___/ \__,_|\___|\___\___/ \_/ 01:40:26 Bash-1.0.6 01:40:26 01:40:26 01:40:26 ==> git version 2.25.1 found 01:40:26 ==> 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:40:26 Release-Date: 2020-01-08 01:40:26 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:40:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:40:26 ==> Jenkins CI detected. 01:40:26 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-421 01:40:26 project root: . 01:40:26 --> token set from env 01:40:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:40:26 ==> Running gcov in . (disable via -X gcov) 01:40:26 ==> Python coveragepy not found 01:40:26 ==> Searching for coverage reports in: 01:40:26 + . 01:40:26 -> Found 1 reports 01:40:26 ==> Detecting git/mercurial file structure 01:40:26 ==> Reading reports 01:40:26 + ./coverage.out bytes=17887 01:40:26 ==> Appending adjustments 01:40:26 https://docs.codecov.io/docs/fixing-reports 01:40:27 + Found adjustments 01:40:27 ==> Gzipping contents 01:40:27 4.0K /tmp/codecov.hkRHQV.gz 01:40:27 ==> Uploading reports 01:40:27 url: https://codecov.io 01:40:27 query: branch=PR-421&commit=ea7901679514ef073c4369edce0c60c6e214a218&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=421&job=&cmd_args= 01:40:27 -> Pinging Codecov 01:40:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-421&commit=ea7901679514ef073c4369edce0c60c6e214a218&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-421%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=421&job=&cmd_args= 01:40:27 -> Uploading to 01:40:27 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/ea7901679514ef073c4369edce0c60c6e214a218/b6a4b002-0cba-4412-a34b-980616dfecde.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T014027Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=28c95d5b13adce1591c04d29d65cd6d1ed6dea0264b08e104781caebf235f636 01:40:27 % Total % Received % Xferd Average Speed Time Time Time Current 01:40:27 Dload Upload Total Spent Left Speed 01:40:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 12414 --:--:-- --:--:-- --:--:-- 12414 01:40:27 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ea7901679514ef073c4369edce0c60c6e214a218 [Pipeline] } 01:40:27 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:40:29 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives ] 01:40:29 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives 01:40:29 total 16 01:40:29 drwxr-xr-x 3 root root 4096 Oct 10 01:31 . 01:40:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 01:31 .. 01:40:29 drwxr-xr-x 2 root root 4096 Oct 10 01:31 cost 01:40:29 -rw-r--r-- 1 root root 86 Oct 10 01:31 cost.csv 01:40:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives 01:40:29 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives 01:40:29 total 16 01:40:29 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 01:31 . 01:40:29 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 01:31 .. 01:40:29 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 01:31 cost 01:40:29 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 01:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:40:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:40:30 ---> package-listing.sh 01:40:30 ++ tr '[:upper:]' '[:lower:]' 01:40:30 ++ facter osfamily 01:40:31 + OS_FAMILY=debian 01:40:31 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-421 01:40:31 + START_PACKAGES=/tmp/packages_start.txt 01:40:31 + END_PACKAGES=/tmp/packages_end.txt 01:40:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:40:31 + PACKAGES=/tmp/packages_start.txt 01:40:31 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-421 ']' 01:40:31 + PACKAGES=/tmp/packages_end.txt 01:40:31 + case "${OS_FAMILY}" in 01:40:31 + dpkg -l 01:40:31 + grep '^ii' 01:40:31 + '[' -f /tmp/packages_start.txt ']' 01:40:31 + '[' -f /tmp/packages_end.txt ']' 01:40:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:40:31 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-421 ']' 01:40:31 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/ 01:40:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-421/archives/ [Pipeline] echo 01:40:31 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-421/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:40:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:40:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:32 prd-ubuntu20.04-docker-8c-8g-7469 does not seem to be running inside a container 01:40:32 $ 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-421/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-421 -v /w/workspace/gexfoundry_device-mqtt-go_PR-421:/w/workspace/gexfoundry_device-mqtt-go_PR-421:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-421@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:40:32 $ docker top 120696b1b73c789fc5a72979766373b353c27616ce617d0a0acd59e8c064832d -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:40:33 + mkdir -p /var/log/sysstat [Pipeline] sh 01:40:33 + ls /var/log/sa-host 01:40:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:33 provisioning config files... 01:40:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-421@tmp/config201331878441321155tmp [Pipeline] { [Pipeline] echo 01:40:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:40:34 ---> create-netrc.sh [Pipeline] } 01:40:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:40:34 ---> python-tools-install.sh [Pipeline] echo 01:40:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:40:34 ---> sudo-logs.sh 01:40:34 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:40:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:40:35 ---> job-cost.sh 01:40:35 lf-activate-venv: SKIPPING 01:40:35 DEBUG: total: 0.2199999988079071 01:40:35 INFO: Retrieving Stack Cost... 01:40:35 INFO: Retrieving Pricing Info for: v3-standard-8 01:40:36 INFO: Archiving Costs [Pipeline] echo 01:40:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:40:36 ---> logs-deploy.sh 01:40:36 lf-activate-venv: SKIPPING 01:40:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-421/1 01:40:36 INFO: archiving workspace using pattern(s): 01:40:37 Archives upload complete. 01:40:37 INFO: archiving logs to Nexus 01:40:38 ---> uname -a: 01:40:38 Linux prd-ubuntu20-04-docker-8c-8g-7469 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:40:38 01:40:38 01:40:38 ---> lscpu: 01:40:38 Architecture: x86_64 01:40:38 CPU op-mode(s): 32-bit, 64-bit 01:40:38 Byte Order: Little Endian 01:40:38 Address sizes: 40 bits physical, 48 bits virtual 01:40:38 CPU(s): 8 01:40:38 On-line CPU(s) list: 0-7 01:40:38 Thread(s) per core: 1 01:40:38 Core(s) per socket: 1 01:40:38 Socket(s): 8 01:40:38 NUMA node(s): 1 01:40:38 Vendor ID: AuthenticAMD 01:40:38 CPU family: 23 01:40:38 Model: 49 01:40:38 Model name: AMD EPYC-Rome Processor 01:40:38 Stepping: 0 01:40:38 CPU MHz: 2799.998 01:40:38 BogoMIPS: 5599.99 01:40:38 Virtualization: AMD-V 01:40:38 Hypervisor vendor: KVM 01:40:38 Virtualization type: full 01:40:38 L1d cache: 256 KiB 01:40:38 L1i cache: 256 KiB 01:40:38 L2 cache: 4 MiB 01:40:38 L3 cache: 128 MiB 01:40:38 NUMA node0 CPU(s): 0-7 01:40:38 Vulnerability Itlb multihit: Not affected 01:40:38 Vulnerability L1tf: Not affected 01:40:38 Vulnerability Mds: Not affected 01:40:38 Vulnerability Meltdown: Not affected 01:40:38 Vulnerability Mmio stale data: Not affected 01:40:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:40:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:40:38 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:40:38 Vulnerability Srbds: Not affected 01:40:38 Vulnerability Tsx async abort: Not affected 01:40:38 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 01:40:38 01:40:38 01:40:38 ---> nproc: 01:40:38 8 01:40:38 01:40:38