Pull request #425 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 29bc870321135a347e825f216089213faf1bd72c+1ae20365080d91ee65f801e150a6fed247e9201d (146d5ae8e348977db79a2169c39aabc2b797aef8) 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-ssh15082264601243103142.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-ssh7791884623451628041.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-425/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-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7122669879506053366.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-425/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6761965750044184823.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-ssh12851878569762059340.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-425/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-425/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1410160048019430750.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7990 in /w/workspace/gexfoundry_device-mqtt-go_PR-425 [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-425 # 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/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1ae20365080d91ee65f801e150a6fed247e9201d into PR head commit 29bc870321135a347e825f216089213faf1bd72c Merge succeeded, producing 29bc870321135a347e825f216089213faf1bd72c Checking out Revision 29bc870321135a347e825f216089213faf1bd72c (PR-425) 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:31:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:31:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:31:28 ========================================================= 01:31:28 EdgeX Global Pipelines Version Info 01:31:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 29bc870321135a347e825f216089213faf1bd72c # 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 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 29bc870321135a347e825f216089213faf1bd72c # timeout=10 01:31:28 ------------------- 01:31:28 stable info: 01:31:28 ------------------- 01:31:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:31:28 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:31:28 Message: update stable to v1.0.239 01:31:29 ------------------- 01:31:29 experimental info: 01:31:29 ------------------- 01:31:29 Commited By: **** collab-it+edgex@linuxfoundation.org 01:31:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 01:31:29 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:31:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:31:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:31:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:31:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:31:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:31:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:31:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:31:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-425 [Pipeline] echo 01:31:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-425 [Pipeline] echo 01:31:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-425 [Pipeline] echo 01:31:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 29bc870321135a347e825f216089213faf1bd72c [Pipeline] echo 01:31:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 29bc870 [Pipeline] echo 01:31:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:31 provisioning config files... 01:31:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/config1815674418434807727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:31 ---> docker-login.sh 01:31:31 nexus3.edgexfoundry.org:10001 01:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:31 Configure a credential helper to remove this warning. See 01:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:31 01:31:31 Login Succeeded 01:31:31 nexus3.edgexfoundry.org:10002 01:31:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:31 Configure a credential helper to remove this warning. See 01:31:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:31 01:31:31 Login Succeeded 01:31:31 nexus3.edgexfoundry.org:10003 01:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:32 Configure a credential helper to remove this warning. See 01:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:32 01:31:32 Login Succeeded 01:31:32 nexus3.edgexfoundry.org:10004 01:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:32 Configure a credential helper to remove this warning. See 01:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:32 01:31:32 Login Succeeded 01:31:32 docker.io 01:31:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:32 Configure a credential helper to remove this warning. See 01:31:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:32 01:31:32 Login Succeeded 01:31:32 ---> docker-login.sh ends [Pipeline] } 01:31:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:31:33 + git rev-list -1 --merges 29bc870321135a347e825f216089213faf1bd72c~1..29bc870321135a347e825f216089213faf1bd72c [Pipeline] echo 01:31:33 -----------> git rev-list -1 --merges 29bc870321135a347e825f216089213faf1bd72c~1..29bc870321135a347e825f216089213faf1bd72c 29bc870321135a347e825f216089213faf1bd72c [false] [Pipeline] sh 01:31:33 + git log --format=format:%s -1 29bc870321135a347e825f216089213faf1bd72c [Pipeline] echo 01:31:33 ========================================================= 01:31:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:31:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:31:34 + git log --format=format:%s -1 29bc870321135a347e825f216089213faf1bd72c [Pipeline] echo 01:31:34 [semverPrep] GIT_COMMIT: 29bc870321135a347e825f216089213faf1bd72c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 01:31:34 [semverPrep] This is not a build commit. [Pipeline] sh 01:31:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:31:34 + grep -v github /etc/ssh/ssh_known_hosts 01:31:34 + [ -e /tmp/ssh_known_hosts ] 01:31:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:31:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:31:34 + sudo tee -a /etc/ssh/ssh_known_hosts 01:31:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:35 01:31:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:35 0.1.4: Pulling from edgex-devops/py-git-semver 01:31:35 b85a868b505f: Pulling fs layer 01:31:35 e2be974225ed: Pulling fs layer 01:31:35 339a4e72a1f5: Pulling fs layer 01:31:35 988bab9f4d93: Pulling fs layer 01:31:35 1469e6f7b9e6: Pulling fs layer 01:31:35 eaf3925da568: Pulling fs layer 01:31:35 bab4dde63d76: Pulling fs layer 01:31:35 bde34c3a00c8: Pulling fs layer 01:31:35 b352a97aabf1: Pulling fs layer 01:31:35 4872d77fe225: Pulling fs layer 01:31:35 5851b861e8e6: Pulling fs layer 01:31:35 988bab9f4d93: Waiting 01:31:35 1469e6f7b9e6: Waiting 01:31:35 eaf3925da568: Waiting 01:31:35 bab4dde63d76: Waiting 01:31:35 bde34c3a00c8: Waiting 01:31:35 5851b861e8e6: Waiting 01:31:35 b352a97aabf1: Waiting 01:31:35 4872d77fe225: Waiting 01:31:35 e2be974225ed: Verifying Checksum 01:31:35 e2be974225ed: Download complete 01:31:35 988bab9f4d93: Verifying Checksum 01:31:35 988bab9f4d93: Download complete 01:31:35 1469e6f7b9e6: Verifying Checksum 01:31:35 1469e6f7b9e6: Download complete 01:31:35 339a4e72a1f5: Verifying Checksum 01:31:35 339a4e72a1f5: Download complete 01:31:35 eaf3925da568: Verifying Checksum 01:31:35 eaf3925da568: Download complete 01:31:35 bde34c3a00c8: Download complete 01:31:35 b352a97aabf1: Download complete 01:31:35 4872d77fe225: Verifying Checksum 01:31:35 4872d77fe225: Download complete 01:31:35 5851b861e8e6: Download complete 01:31:35 b85a868b505f: Verifying Checksum 01:31:35 b85a868b505f: Download complete 01:31:36 bab4dde63d76: Verifying Checksum 01:31:36 bab4dde63d76: Download complete 01:31:37 b85a868b505f: Pull complete 01:31:37 e2be974225ed: Pull complete 01:31:37 339a4e72a1f5: Pull complete 01:31:37 988bab9f4d93: Pull complete 01:31:38 1469e6f7b9e6: Pull complete 01:31:38 eaf3925da568: Pull complete 01:31:40 bab4dde63d76: Pull complete 01:31:40 bde34c3a00c8: Pull complete 01:31:40 b352a97aabf1: Pull complete 01:31:40 4872d77fe225: Pull complete 01:31:40 5851b861e8e6: Pull complete 01:31:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:31:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:40 prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container 01:31:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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:31:42 $ docker top 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 -eo pid,comm 01:31:42 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:31:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:31:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:42 [ssh-agent] Looking for ssh-agent implementation... 01:31:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:42 $ docker exec 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 ssh-agent 01:31:42 SSH_AUTH_SOCK=/tmp/ssh-HeGkwHPwjprc/agent.32 01:31:42 SSH_AGENT_PID=38 01:31:42 Running ssh-add (command line suppressed) 01:31:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/private_key_11164234702649312576.key (/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/private_key_11164234702649312576.key) 01:31:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:43 + git tag --points-at HEAD [Pipeline] } 01:31:43 $ docker exec --env ******** --env ******** 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 ssh-agent -k 01:31:43 unset SSH_AUTH_SOCK; 01:31:43 unset SSH_AGENT_PID; 01:31:43 echo Agent pid 38 killed; 01:31:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:31:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:43 [ssh-agent] Looking for ssh-agent implementation... 01:31:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:43 $ docker exec 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 ssh-agent 01:31:43 SSH_AUTH_SOCK=/tmp/ssh-ttcd6BSEYCte/agent.71 01:31:43 SSH_AGENT_PID=77 01:31:43 Running ssh-add (command line suppressed) 01:31:43 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/private_key_13131170379278750091.key (/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/private_key_13131170379278750091.key) 01:31:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:44 + git semver init 01:31:44 2022-10-17 01:31:44,280 [run_init] DEBUG init version:0.0.0 force:False 01:31:44 2022-10-17 01:31:44,281 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver 01:31:44 2022-10-17 01:31:44,281 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver 01:31:44 2022-10-17 01:31:44,281 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-425, universal_newlines=False, shell=None, istream=None) 01:31:45 2022-10-17 01:31:45,191 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425/.git/info/exclude 01:31:45 2022-10-17 01:31:45,192 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver/PR-425 with force:False 01:31:45 2022-10-17 01:31:45,192 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver/PR-425 01:31:45 2022-10-17 01:31:45,197 [execute] INFO git cat-file --batch-check 01:31:45 2022-10-17 01:31:45,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver, universal_newlines=False, shell=None, istream=) 01:31:45 2022-10-17 01:31:45,205 [execute] INFO git cat-file --batch 01:31:45 2022-10-17 01:31:45,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver, universal_newlines=False, shell=None, istream=) 01:31:45 2022-10-17 01:31:45,212 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-425/.semver/PR-425 01:31:45 0.0.0 [Pipeline] } 01:31:45 $ docker exec --env ******** --env ******** 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 ssh-agent -k 01:31:45 unset SSH_AUTH_SOCK; 01:31:45 unset SSH_AGENT_PID; 01:31:45 echo Agent pid 77 killed; 01:31:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:31:45 + git semver [Pipeline] } 01:31:46 $ docker stop --time=1 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 01:31:47 $ docker rm -f 9e7366dd72654302c5374f51bca1e949a569f6b0438adefba84135d683c52ee8 [Pipeline] // withDockerContainer [Pipeline] sh 01:31:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:31:48 Stashed 1 file(s) [Pipeline] echo 01:31:48 [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:31:48 provisioning config files... 01:31:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/config18264938575745902800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:49 ---> docker-login.sh 01:31:49 nexus3.edgexfoundry.org:10001 01:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:49 Configure a credential helper to remove this warning. See 01:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:49 01:31:49 Login Succeeded 01:31:49 nexus3.edgexfoundry.org:10002 01:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:49 Configure a credential helper to remove this warning. See 01:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:49 01:31:49 Login Succeeded 01:31:49 nexus3.edgexfoundry.org:10003 01:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:49 Configure a credential helper to remove this warning. See 01:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:49 01:31:49 Login Succeeded 01:31:49 nexus3.edgexfoundry.org:10004 01:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:49 Configure a credential helper to remove this warning. See 01:31:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:49 01:31:49 Login Succeeded 01:31:49 docker.io 01:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:50 Configure a credential helper to remove this warning. See 01:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:50 01:31:50 Login Succeeded 01:31:50 ---> docker-login.sh ends [Pipeline] } 01:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:31:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:31:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:31:50 ========================================================= 01:31:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:31:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:50 + 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:31:50 Sending build context to Docker daemon 6.17MB 01:31:50 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:31:50 Step 2/13 : FROM ${BASE} AS builder 01:31:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:31:50 213ec9aee27d: Pulling fs layer 01:31:50 4583459ba037: Pulling fs layer 01:31:50 93c1e223e6f2: Pulling fs layer 01:31:50 53926ce57604: Pulling fs layer 01:31:50 21b2b0c7a3f4: Pulling fs layer 01:31:50 30f14e443154: Pulling fs layer 01:31:50 801331c1e519: Pulling fs layer 01:31:50 99cc6dd402b0: Pulling fs layer 01:31:50 7d9ed39f4882: Pulling fs layer 01:31:50 53926ce57604: Waiting 01:31:50 21b2b0c7a3f4: Waiting 01:31:50 30f14e443154: Waiting 01:31:50 801331c1e519: Waiting 01:31:50 99cc6dd402b0: Waiting 01:31:50 7d9ed39f4882: Waiting 01:31:50 93c1e223e6f2: Download complete 01:31:50 4583459ba037: Verifying Checksum 01:31:50 4583459ba037: Download complete 01:31:51 21b2b0c7a3f4: Verifying Checksum 01:31:51 21b2b0c7a3f4: Download complete 01:31:51 30f14e443154: Verifying Checksum 01:31:51 30f14e443154: Download complete 01:31:51 213ec9aee27d: Verifying Checksum 01:31:51 213ec9aee27d: Download complete 01:31:51 801331c1e519: Download complete 01:31:51 213ec9aee27d: Pull complete 01:31:51 4583459ba037: Pull complete 01:31:51 93c1e223e6f2: Pull complete 01:31:51 99cc6dd402b0: Verifying Checksum 01:31:51 7d9ed39f4882: Verifying Checksum 01:31:51 7d9ed39f4882: Download complete 01:31:51 53926ce57604: Verifying Checksum 01:31:51 53926ce57604: Download complete 01:31:56 53926ce57604: Pull complete 01:31:56 21b2b0c7a3f4: Pull complete 01:31:56 30f14e443154: Pull complete 01:31:56 801331c1e519: Pull complete 01:31:58 99cc6dd402b0: Pull complete 01:31:59 7d9ed39f4882: Pull complete 01:31:59 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:31:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:31:59 ---> 1dedd983c030 01:31:59 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:32:01 ---> Running in 67787a82e1d0 01:32:01 Removing intermediate container 67787a82e1d0 01:32:01 ---> 00728add1362 01:32:01 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:32:01 ---> Running in 0a1a500a8dfc 01:32:01 Removing intermediate container 0a1a500a8dfc 01:32:01 ---> 4d9a151a4956 01:32:01 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:32:01 ---> Running in bbee7663723b 01:32:01 Removing intermediate container bbee7663723b 01:32:01 ---> 6c54cf8c4855 01:32:01 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:32:01 ---> Running in 01626e4e78d2 01:32:01 Removing intermediate container 01626e4e78d2 01:32:01 ---> bf9d531356c2 01:32:01 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:01 ---> Running in 1ec689f7af12 01:32:01 Removing intermediate container 1ec689f7af12 01:32:01 ---> 704e8f56cacf 01:32:01 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:32:01 ---> Running in 90f9631a690d 01:32:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:32:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:32:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:32:03 Still waiting to schedule task 01:32:03 ‘prd-centos7-blackbox-4c-2g-7901’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 01:32:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-7992’ is offline 01:32:03 (2/4) Installing libedit (20210910.3.1-r0) 01:32:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:32:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:32:03 Executing busybox-1.35.0-r17.trigger 01:32:03 OK: 216 MiB in 55 packages 01:32:04 Removing intermediate container 90f9631a690d 01:32:04 ---> 8a2b13087246 01:32:04 Step 9/13 : WORKDIR /device-mqtt-go 01:32:04 ---> Running in 878797b38eb5 01:32:04 Removing intermediate container 878797b38eb5 01:32:04 ---> f669e79fbdc4 01:32:04 Step 10/13 : COPY go.mod vendor* ./ 01:32:04 ---> 2c5cc513d080 01:32:04 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:04 ---> Running in 296747813d17 01:32:22 Removing intermediate container 296747813d17 01:32:22 ---> e96a54c1f58e 01:32:22 Step 12/13 : COPY . . 01:32:22 ---> feaf45c51269 01:32:22 Step 13/13 : RUN $MAKE 01:32:22 ---> Running in d240350700ac 01:32:22 noop 01:32:22 Removing intermediate container d240350700ac 01:32:22 ---> d9e516b9473a 01:32:22 Successfully built d9e516b9473a 01:32:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:23 + docker inspect -f . ci-base-image-x86_64 01:32:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:23 prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container 01:32:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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:32:23 $ docker top dff14070bbdd4d74da79f78380b3f43032a9ccf7aaf7494f069b7e7592b1b73e -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:24 + go version 01:32:24 go version go1.18.7 linux/amd64 [Pipeline] } 01:32:24 $ docker stop --time=1 dff14070bbdd4d74da79f78380b3f43032a9ccf7aaf7494f069b7e7592b1b73e 01:32:25 $ docker rm -f dff14070bbdd4d74da79f78380b3f43032a9ccf7aaf7494f069b7e7592b1b73e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:26 + docker inspect -f . ci-base-image-x86_64 01:32:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:26 prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container 01:32:26 $ 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-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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:32:26 $ docker top 43904244abcd0031ee2051f56db1ae237681d712e9eb958b90ddd4e7c4cb2685 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:27 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-425 [Pipeline] fileExists [Pipeline] sh 01:32:27 + make test 01:32:27 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:32:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:32:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:32:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 21.8% of statements 01:32:38 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:32: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:32:46 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:32:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:32:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:32:49 ./bin/test-attribution-txt.sh [Pipeline] echo 01:32:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:32:49 $ docker stop --time=1 43904244abcd0031ee2051f56db1ae237681d712e9eb958b90ddd4e7c4cb2685 01:32:51 $ docker rm -f 43904244abcd0031ee2051f56db1ae237681d712e9eb958b90ddd4e7c4cb2685 [Pipeline] // withDockerContainer [Pipeline] sh 01:32:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:32:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:32:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:32:53 + ls -al . 01:32:53 total 184 01:32:53 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 01:32 . 01:32:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:31 .. 01:32:53 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 01:31 .dockerignore 01:32:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:32 .git 01:32:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:31 .github 01:32:53 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 01:31 .gitignore 01:32:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 01:31 .golangci.yml 01:32:53 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:31 .semver 01:32:53 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 01:31 Attribution.txt 01:32:53 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 01:31 CHANGELOG.md 01:32:53 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 01:31 Dockerfile 01:32:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:31 GOVERNANCE.md 01:32:53 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 01:31 Jenkinsfile 01:32:53 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 01:31 LICENSE 01:32:53 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 01:31 Makefile 01:32:53 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 01:31 OWNERS.md 01:32:53 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 01:31 README.md 01:32:53 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 01:31 VERSION 01:32:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:31 bin 01:32:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:31 cmd 01:32:53 -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 01:32 coverage.out 01:32:53 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 01:31 go.mod 01:32:53 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 01:31 go.sum 01:32:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:31 internal 01:32:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:31 mock 01:32:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:31 snap 01:32:53 -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 01:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:53 + 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=29bc870321135a347e825f216089213faf1bd72c --label arch=amd64 --label version=0.0.0 . 01:32:53 Sending build context to Docker daemon 6.188MB 01:32:53 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:32:53 Step 2/25 : FROM ${BASE} AS builder 01:32:53 ---> d9e516b9473a 01:32:53 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:32:53 ---> Running in 54425c036727 01:32:53 Removing intermediate container 54425c036727 01:32:53 ---> c90d3b9725f5 01:32:53 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:32:53 ---> Running in ccf36362377b 01:32:53 Removing intermediate container ccf36362377b 01:32:53 ---> 1962ef496e7a 01:32:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:32:53 ---> Running in d63d07602d07 01:32:53 Removing intermediate container d63d07602d07 01:32:53 ---> 574918411084 01:32:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:32:53 ---> Running in 9462f81ece75 01:32:53 Removing intermediate container 9462f81ece75 01:32:53 ---> 4220d855d35b 01:32:53 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:54 ---> Running in bf34c651363b 01:32:54 Removing intermediate container bf34c651363b 01:32:54 ---> 6f4b2944472a 01:32:54 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:32:54 ---> Running in fcd56b6ec2b3 01:32:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:32:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:32:56 OK: 216 MiB in 55 packages 01:32:56 Removing intermediate container fcd56b6ec2b3 01:32:56 ---> 9e3936490007 01:32:56 Step 9/25 : WORKDIR /device-mqtt-go 01:32:56 ---> Running in 697c96c8fc4d 01:32:56 Removing intermediate container 697c96c8fc4d 01:32:56 ---> 1e3570fe0d31 01:32:56 Step 10/25 : COPY go.mod vendor* ./ 01:32:57 ---> 9fedffb3d1e5 01:32:57 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:57 ---> Running in ed047afae7d2 01:32:57 Removing intermediate container ed047afae7d2 01:32:57 ---> 20641513aa1c 01:32:57 Step 12/25 : COPY . . 01:32:58 ---> 623403e617f6 01:32:58 Step 13/25 : RUN $MAKE 01:32:58 ---> Running in 16cdd439363b 01:32:58 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:33:20 Removing intermediate container 16cdd439363b 01:33:20 ---> fba49862922a 01:33:20 Step 14/25 : FROM alpine:3.16 01:33:20 3.16: Pulling from library/alpine 01:33:20 213ec9aee27d: Already exists 01:33:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:33:20 Status: Downloaded newer image for alpine:3.16 01:33:20 ---> 9c6f07244728 01:33:20 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:33:20 ---> Running in 63d9f81dcd75 01:33:20 Removing intermediate container 63d9f81dcd75 01:33:20 ---> 4ede3b400d07 01:33:20 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:33:20 ---> Running in a00592ee535e 01:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:33:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:33:20 (1/6) Installing dumb-init (1.2.5-r1) 01:33:20 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:33:20 (3/6) Installing libsodium (1.0.18-r0) 01:33:20 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:33:20 (5/6) Installing libzmq (4.3.4-r0) 01:33:20 (6/6) Installing zeromq (4.3.4-r0) 01:33:20 Executing busybox-1.35.0-r17.trigger 01:33:20 OK: 8 MiB in 20 packages 01:33:20 Removing intermediate container a00592ee535e 01:33:20 ---> 5445e408a848 01:33:20 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:33:20 ---> 7c69480c4016 01:33:20 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:33:21 ---> 94febc5f505c 01:33:21 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:33:21 ---> 6a76526cd662 01:33:21 Step 20/25 : EXPOSE 59982 01:33:21 ---> Running in 7ec3fa2dd230 01:33:21 Removing intermediate container 7ec3fa2dd230 01:33:21 ---> cef1dc480f83 01:33:21 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:33:21 ---> Running in f047100265ad 01:33:21 Removing intermediate container f047100265ad 01:33:21 ---> 77093cc963b6 01:33:21 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:33:21 ---> Running in 6aa532dc4aa2 01:33:21 Removing intermediate container 6aa532dc4aa2 01:33:21 ---> bb2f5a354839 01:33:21 Step 23/25 : LABEL arch=amd64 01:33:21 ---> Running in 17141d72c43a 01:33:21 Removing intermediate container 17141d72c43a 01:33:21 ---> 6a05a71e6e5d 01:33:21 Step 24/25 : LABEL git_sha=29bc870321135a347e825f216089213faf1bd72c 01:33:21 ---> Running in ade538e91d98 01:33:21 Removing intermediate container ade538e91d98 01:33:21 ---> 4e51d4f53630 01:33:21 Step 25/25 : LABEL version=0.0.0 01:33:21 ---> Running in f914aa7c3fb0 01:33:21 Removing intermediate container f914aa7c3fb0 01:33:21 ---> d8a951091699 01:33:21 [Warning] One or more build-args [ARCH] were not consumed 01:33:21 Successfully built d8a951091699 01:33:22 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:33:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:23 01:33:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:23 latest: Pulling from edgex-lftools-log-publisher 01:33:23 5eb5b503b376: Pulling fs layer 01:33:23 5c69ac0246d0: Pulling fs layer 01:33:23 ec43610c2a17: Pulling fs layer 01:33:23 3a2ae6a8a46f: Pulling fs layer 01:33:23 33b1e0a273af: Pulling fs layer 01:33:23 5d3b04190fa2: Pulling fs layer 01:33:23 2f39f015ded8: Pulling fs layer 01:33:23 3a2ae6a8a46f: Waiting 01:33:23 2f39f015ded8: Waiting 01:33:23 5d3b04190fa2: Waiting 01:33:23 5c69ac0246d0: Verifying Checksum 01:33:23 5c69ac0246d0: Download complete 01:33:23 3a2ae6a8a46f: Verifying Checksum 01:33:23 3a2ae6a8a46f: Download complete 01:33:23 33b1e0a273af: Verifying Checksum 01:33:23 33b1e0a273af: Download complete 01:33:23 5d3b04190fa2: Verifying Checksum 01:33:23 5d3b04190fa2: Download complete 01:33:23 ec43610c2a17: Verifying Checksum 01:33:23 ec43610c2a17: Download complete 01:33:23 5eb5b503b376: Verifying Checksum 01:33:23 5eb5b503b376: Download complete 01:33:24 2f39f015ded8: Download complete 01:33:24 5eb5b503b376: Pull complete 01:33:25 5c69ac0246d0: Pull complete 01:33:25 ec43610c2a17: Pull complete 01:33:25 3a2ae6a8a46f: Pull complete 01:33:25 33b1e0a273af: Pull complete 01:33:25 5d3b04190fa2: Pull complete 01:33:29 2f39f015ded8: Pull complete 01:33:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:33:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:30 prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container 01:33:30 $ 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-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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:33:32 $ docker top bd464307220df5bfa7794e9662511ef210af7234ba57936dc2f2f986c2662c26 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:32 ---> job-cost.sh 01:33:32 lf-activate-venv: SKIPPING 01:33:32 INFO: No Stack... 01:33:32 INFO: Retrieving Pricing Info for: v3-standard-8 01:33:33 INFO: Archiving Costs [Pipeline] sh 01:33:33 + + cut -d, -f6 01:33:33 cat /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives/cost.csv [Pipeline] lock 01:33:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] 01:33:33 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] did not exist. Created. 01:33:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:33:34 + echo total: 0.2199999988079071 [Pipeline] stash 01:33:34 Stashed 1 file(s) [Pipeline] } 01:33:34 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:33:34 $ docker stop --time=1 bd464307220df5bfa7794e9662511ef210af7234ba57936dc2f2f986c2662c26 01:33:35 $ docker rm -f bd464307220df5bfa7794e9662511ef210af7234ba57936dc2f2f986c2662c26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:35:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7995 in /w/workspace/gexfoundry_device-mqtt-go_PR-425 [Pipeline] { [Pipeline] ws 01:35:08 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:35:08 Selected Git installation does not exist. Using Default 01:35:08 The recommended git tool is: NONE 01:35:14 using credential edgex-jenkins-ssh 01:35:14 Cloning the remote Git repository 01:35:14 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:35:15 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:35:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:35:15 > git --version # timeout=10 01:35:15 > git --version # 'git version 2.25.1' 01:35:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:15 Verifying host key using known hosts file 01:35:15 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:35:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:35:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:20 Merging remotes/origin/main commit 1ae20365080d91ee65f801e150a6fed247e9201d into PR head commit 29bc870321135a347e825f216089213faf1bd72c 01:35:20 Merge succeeded, producing 29bc870321135a347e825f216089213faf1bd72c 01:35:20 Checking out Revision 29bc870321135a347e825f216089213faf1bd72c (PR-425) 01:35:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:35:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:35:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:19 Verifying host key using known hosts file 01:35:19 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:35:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/425/head:refs/remotes/origin/PR-425 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:35:20 > git config core.sparsecheckout # timeout=10 01:35:20 > git checkout -f 29bc870321135a347e825f216089213faf1bd72c # timeout=10 01:35:20 > git remote # timeout=10 01:35:20 > git config --get remote.origin.url # timeout=10 01:35:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:20 Verifying host key using known hosts file 01:35:20 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 01:35:20 > git merge 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 01:35:20 > git rev-parse HEAD^{commit} # timeout=10 01:35:20 > git config core.sparsecheckout # timeout=10 01:35:20 > git checkout -f 29bc870321135a347e825f216089213faf1bd72c # timeout=10 01:35:20 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 01:35:20 > git --version # timeout=10 01:35:20 > git --version # 'git version 2.25.1' 01:35:20 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:35:21 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:21 Dload Upload Total Spent Left Speed 01:35:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 198k 0 --:--:-- --:--:-- --:--:-- 198k [Pipeline] sh 01:35:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:35:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:35:22 + sudo tee /etc/docker/daemon.new 01:35:22 { 01:35:22 "registry-mirrors": [ 01:35:22 "https://nexus3.edgexfoundry.org:10001" 01:35:22 ], 01:35:22 "bip": "10.250.0.254/24", 01:35:22 "hosts": [ 01:35:22 "tcp://0.0.0.0:5555", 01:35:22 "unix:///var/run/docker.sock" 01:35:22 ], 01:35:22 "mtu": 1458, 01:35:22 "selinux-enabled": true, 01:35:22 "seccomp-profile": "/etc/docker/seccomp.json" 01:35:22 } [Pipeline] sh 01:35:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:35:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:42 provisioning config files... 01:35:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3403648964534885209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:42 ---> docker-login.sh 01:35:42 nexus3.edgexfoundry.org:10001 01:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:43 Configure a credential helper to remove this warning. See 01:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:43 01:35:43 Login Succeeded 01:35:43 nexus3.edgexfoundry.org:10002 01:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:43 Configure a credential helper to remove this warning. See 01:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:43 01:35:43 Login Succeeded 01:35:43 nexus3.edgexfoundry.org:10003 01:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:43 Configure a credential helper to remove this warning. See 01:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:43 01:35:43 Login Succeeded 01:35:43 nexus3.edgexfoundry.org:10004 01:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:44 Configure a credential helper to remove this warning. See 01:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:44 01:35:44 Login Succeeded 01:35:44 docker.io 01:35:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:44 Configure a credential helper to remove this warning. See 01:35:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:44 01:35:44 Login Succeeded 01:35:44 ---> docker-login.sh ends [Pipeline] } 01:35:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:35:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:45 ========================================================= 01:35:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:35:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:45 + 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:35:46 Sending build context to Docker daemon 3.195MB 01:35:46 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 01:35:46 Step 2/13 : FROM ${BASE} AS builder 01:35:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:35:46 9b18e9b68314: Pulling fs layer 01:35:46 d32db5db7311: Pulling fs layer 01:35:46 d0c4b47475fc: Pulling fs layer 01:35:46 5831b945b038: Pulling fs layer 01:35:46 86bbec2aaacd: Pulling fs layer 01:35:46 e10730c5d714: Pulling fs layer 01:35:46 5dd5c2283517: Pulling fs layer 01:35:46 d5ac0230b979: Pulling fs layer 01:35:46 e10730c5d714: Waiting 01:35:46 5dd5c2283517: Waiting 01:35:46 d5ac0230b979: Waiting 01:35:46 5831b945b038: Waiting 01:35:46 86bbec2aaacd: Waiting 01:35:46 d0c4b47475fc: Verifying Checksum 01:35:46 d0c4b47475fc: Download complete 01:35:46 d32db5db7311: Download complete 01:35:46 86bbec2aaacd: Verifying Checksum 01:35:46 86bbec2aaacd: Download complete 01:35:46 e10730c5d714: Verifying Checksum 01:35:46 e10730c5d714: Download complete 01:35:46 9b18e9b68314: Verifying Checksum 01:35:47 9b18e9b68314: Pull complete 01:35:47 d5ac0230b979: Verifying Checksum 01:35:47 d5ac0230b979: Download complete 01:35:47 d32db5db7311: Pull complete 01:35:48 d0c4b47475fc: Pull complete 01:35:48 5dd5c2283517: Verifying Checksum 01:35:48 5dd5c2283517: Download complete 01:35:49 5831b945b038: Verifying Checksum 01:35:49 5831b945b038: Download complete 01:36:02 5831b945b038: Pull complete 01:36:02 86bbec2aaacd: Pull complete 01:36:02 e10730c5d714: Pull complete 01:36:09 5dd5c2283517: Pull complete 01:36:10 d5ac0230b979: Pull complete 01:36:10 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 01:36:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:36:10 ---> 59b3b1a385d4 01:36:10 Step 3/13 : ARG ADD_BUILD_TAGS="" 01:36:11 ---> Running in 2b6131049c7f 01:36:11 Removing intermediate container 2b6131049c7f 01:36:11 ---> a737004c0521 01:36:11 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:36:11 ---> Running in e171c08fca74 01:36:11 Removing intermediate container e171c08fca74 01:36:11 ---> d32316c99e9d 01:36:11 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:36:11 ---> Running in 747605aeed57 01:36:12 Removing intermediate container 747605aeed57 01:36:12 ---> 17c766a250b6 01:36:12 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 01:36:12 ---> Running in 83addd777eeb 01:36:12 Removing intermediate container 83addd777eeb 01:36:12 ---> e5c0c0ed9887 01:36:12 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:36:12 ---> Running in a2fa1e95bdb8 01:36:14 Removing intermediate container a2fa1e95bdb8 01:36:14 ---> a10bfb41e7de 01:36:14 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:14 ---> Running in cf1a5f99ebc7 01:36:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:36:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:36:17 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:36:17 (2/4) Installing libedit (20210910.3.1-r0) 01:36:17 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:36:17 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:36:17 Executing busybox-1.35.0-r17.trigger 01:36:17 OK: 226 MiB in 55 packages 01:36:18 Removing intermediate container cf1a5f99ebc7 01:36:18 ---> 7e584322f3b9 01:36:18 Step 9/13 : WORKDIR /device-mqtt-go 01:36:18 ---> Running in 2802c2a3e5a2 01:36:19 Removing intermediate container 2802c2a3e5a2 01:36:19 ---> f932ddf054b1 01:36:19 Step 10/13 : COPY go.mod vendor* ./ 01:36:19 ---> a44503ec2669 01:36:19 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:19 ---> Running in 805c8f6a77df 01:37:16 Removing intermediate container 805c8f6a77df 01:37:16 ---> a931e2a8ccb9 01:37:16 Step 12/13 : COPY . . 01:37:16 ---> a3037f52e89c 01:37:16 Step 13/13 : RUN $MAKE 01:37:16 ---> Running in 22dd0e808d74 01:37:16 noop 01:37:16 Removing intermediate container 22dd0e808d74 01:37:16 ---> 57abf709dd75 01:37:16 Successfully built 57abf709dd75 01:37:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:16 + docker inspect -f . ci-base-image-arm64 01:37:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:16 prd-ubuntu20.04-docker-arm64-4c-16g-7995 does not seem to be running inside a container 01:37:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:37:18 $ docker top a81c5be6e0c415d315ad890b4be459b59c0ee1fac4b8c2d067bfa8bb54d4bda2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:19 + go version 01:37:19 go version go1.18.7 linux/arm64 [Pipeline] } 01:37:19 $ docker stop --time=1 a81c5be6e0c415d315ad890b4be459b59c0ee1fac4b8c2d067bfa8bb54d4bda2 01:37:20 $ docker rm -f a81c5be6e0c415d315ad890b4be459b59c0ee1fac4b8c2d067bfa8bb54d4bda2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:21 + docker inspect -f . ci-base-image-arm64 01:37:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:22 prd-ubuntu20.04-docker-arm64-4c-16g-7995 does not seem to be running inside a container 01:37:22 $ 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:37:23 $ docker top 75273347d593c9be5370f636195757296fe8efcb24a76eff0e79daf207e878aa -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:24 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:37:24 + make test 01:37:24 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:37:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:39:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:39:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 01:39:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:39:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:39:03 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:39:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:39:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:39:30 ./bin/test-attribution-txt.sh [Pipeline] echo 01:39:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:39:30 $ docker stop --time=1 75273347d593c9be5370f636195757296fe8efcb24a76eff0e79daf207e878aa 01:39:31 $ docker rm -f 75273347d593c9be5370f636195757296fe8efcb24a76eff0e79daf207e878aa [Pipeline] // withDockerContainer [Pipeline] sh 01:39:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:39:33 Warning: overwriting stash ‘coverage-report’ 01:39:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:39:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:39:34 + ls -al . 01:39:34 total 180 01:39:34 drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 01:37 . 01:39:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:35 .. 01:39:34 -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 01:35 .dockerignore 01:39:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 01:35 .git 01:39:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:35 .github 01:39:34 -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 01:35 .gitignore 01:39:34 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 01:35 .golangci.yml 01:39:34 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 17 01:35 Attribution.txt 01:39:34 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 17 01:35 CHANGELOG.md 01:39:34 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 17 01:35 Dockerfile 01:39:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 01:35 GOVERNANCE.md 01:39:34 -rw-rw-r-- 1 jenkins jenkins 678 Oct 17 01:35 Jenkinsfile 01:39:34 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 01:35 LICENSE 01:39:34 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 17 01:35 Makefile 01:39:34 -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 01:35 OWNERS.md 01:39:34 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 17 01:35 README.md 01:39:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 01:31 VERSION 01:39:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:35 bin 01:39:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:35 cmd 01:39:34 -rw-r--r-- 1 jenkins jenkins 17887 Oct 17 01:39 coverage.out 01:39:34 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 17 01:35 go.mod 01:39:34 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 01:35 go.sum 01:39:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 01:35 internal 01:39:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 01:35 mock 01:39:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 01:35 snap 01:39:34 -rw-rw-r-- 1 jenkins jenkins 227 Oct 17 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:35 + 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=29bc870321135a347e825f216089213faf1bd72c --label arch=arm64 --label version=0.0.0 . 01:39:35 Sending build context to Docker daemon 3.213MB 01:39:35 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 01:39:35 Step 2/25 : FROM ${BASE} AS builder 01:39:35 ---> 57abf709dd75 01:39:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:39:35 ---> Running in 8e03a87a9a21 01:39:35 Removing intermediate container 8e03a87a9a21 01:39:35 ---> 30d2b501da0d 01:39:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:39:35 ---> Running in 66dc35273157 01:39:36 Removing intermediate container 66dc35273157 01:39:36 ---> c4a172f00a58 01:39:36 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:39:36 ---> Running in c3471cd2618b 01:39:36 Removing intermediate container c3471cd2618b 01:39:36 ---> 686d63ef11ec 01:39:36 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:39:37 ---> Running in 8be25b822223 01:39:37 Removing intermediate container 8be25b822223 01:39:37 ---> d8d2611f4609 01:39:37 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:39:37 ---> Running in 06663ab06fe2 01:39:39 Removing intermediate container 06663ab06fe2 01:39:39 ---> 6a71d09abe81 01:39:39 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:39 ---> Running in d939dc0fba87 01:39:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:39:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:39:42 OK: 226 MiB in 55 packages 01:39:44 Removing intermediate container d939dc0fba87 01:39:44 ---> a2ca6f7b0037 01:39:44 Step 9/25 : WORKDIR /device-mqtt-go 01:39:44 ---> Running in a9b30bc878fd 01:39:44 Removing intermediate container a9b30bc878fd 01:39:44 ---> 4911c9fc4a32 01:39:44 Step 10/25 : COPY go.mod vendor* ./ 01:39:45 ---> 9766e0478ffa 01:39:45 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:45 ---> Running in c5c8a1447d8c 01:39:47 Removing intermediate container c5c8a1447d8c 01:39:47 ---> 92e90526b76f 01:39:47 Step 12/25 : COPY . . 01:39:48 ---> d745bf9a92d3 01:39:48 Step 13/25 : RUN $MAKE 01:39:48 ---> Running in 8550eecb6436 01:39:49 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:42:26 Removing intermediate container 8550eecb6436 01:42:26 ---> ec807df0fbb9 01:42:26 Step 14/25 : FROM alpine:3.16 01:42:26 3.16: Pulling from library/alpine 01:42:26 9b18e9b68314: Already exists 01:42:26 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:42:26 Status: Downloaded newer image for alpine:3.16 01:42:26 ---> a6215f271958 01:42:26 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:42:26 ---> Running in 581ef88d869b 01:42:26 Removing intermediate container 581ef88d869b 01:42:26 ---> 81bed2961d90 01:42:26 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:42:26 ---> Running in f681a542319f 01:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:42:26 (1/6) Installing dumb-init (1.2.5-r1) 01:42:26 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:42:26 (3/6) Installing libsodium (1.0.18-r0) 01:42:26 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:42:26 (5/6) Installing libzmq (4.3.4-r0) 01:42:26 (6/6) Installing zeromq (4.3.4-r0) 01:42:26 Executing busybox-1.35.0-r17.trigger 01:42:26 OK: 8 MiB in 20 packages 01:42:26 Removing intermediate container f681a542319f 01:42:26 ---> 2f82670b85c3 01:42:26 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:42:26 ---> 0775e53c61e2 01:42:26 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:42:26 ---> cc83eaff23ae 01:42:26 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:42:27 ---> 115bb5da392b 01:42:27 Step 20/25 : EXPOSE 59982 01:42:27 ---> Running in 1c65c2adb380 01:42:27 Removing intermediate container 1c65c2adb380 01:42:27 ---> fd2b1afcc579 01:42:27 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:42:27 ---> Running in 9c53b694b4e2 01:42:28 Removing intermediate container 9c53b694b4e2 01:42:28 ---> 2f3dfc9eb82d 01:42:28 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:42:28 ---> Running in 66eeebadc631 01:42:28 Removing intermediate container 66eeebadc631 01:42:28 ---> d67b72eca952 01:42:28 Step 23/25 : LABEL arch=arm64 01:42:28 ---> Running in e0e76bfcf9b2 01:42:28 Removing intermediate container e0e76bfcf9b2 01:42:28 ---> 571d608db515 01:42:28 Step 24/25 : LABEL git_sha=29bc870321135a347e825f216089213faf1bd72c 01:42:28 ---> Running in 61fb6560f1f1 01:42:29 Removing intermediate container 61fb6560f1f1 01:42:29 ---> af6a369920cb 01:42:29 Step 25/25 : LABEL version=0.0.0 01:42:29 ---> Running in 9122d0d764a5 01:42:29 Removing intermediate container 9122d0d764a5 01:42:29 ---> ecc3a083190b 01:42:29 [Warning] One or more build-args [ARCH] were not consumed 01:42:29 Successfully built ecc3a083190b 01:42:29 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:42:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:30 01:42:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:30 arm64: Pulling from edgex-lftools-log-publisher 01:42:30 8998bd30e6a1: Pulling fs layer 01:42:30 04944245beec: Pulling fs layer 01:42:30 699f458cf7ca: Pulling fs layer 01:42:30 765212b225bb: Pulling fs layer 01:42:30 f23df028b6ca: Pulling fs layer 01:42:30 d65c8cfc05b1: Pulling fs layer 01:42:30 2437ff75d9bd: Pulling fs layer 01:42:30 f23df028b6ca: Waiting 01:42:30 d65c8cfc05b1: Waiting 01:42:30 765212b225bb: Waiting 01:42:30 2437ff75d9bd: Waiting 01:42:30 04944245beec: Verifying Checksum 01:42:30 04944245beec: Download complete 01:42:30 765212b225bb: Verifying Checksum 01:42:30 765212b225bb: Download complete 01:42:30 f23df028b6ca: Download complete 01:42:30 d65c8cfc05b1: Verifying Checksum 01:42:30 d65c8cfc05b1: Download complete 01:42:31 699f458cf7ca: Verifying Checksum 01:42:31 699f458cf7ca: Download complete 01:42:31 8998bd30e6a1: Download complete 01:42:34 2437ff75d9bd: Verifying Checksum 01:42:34 2437ff75d9bd: Download complete 01:42:36 8998bd30e6a1: Pull complete 01:42:36 04944245beec: Pull complete 01:42:37 699f458cf7ca: Pull complete 01:42:38 765212b225bb: Pull complete 01:42:38 f23df028b6ca: Pull complete 01:42:39 d65c8cfc05b1: Pull complete 01:42:54 2437ff75d9bd: Pull complete 01:42:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:42:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:54 prd-ubuntu20.04-docker-arm64-4c-16g-7995 does not seem to be running inside a container 01:42:54 $ 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:42:57 $ docker top 8e0c9ea766df155c4031f8ea06d7c79d733b80ce43a94f0359206d0e978dd1e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:58 ---> job-cost.sh 01:42:58 lf-activate-venv: SKIPPING 01:42:58 INFO: No Stack... 01:42:58 INFO: Retrieving Pricing Info for: v3-standard-4 01:42:59 INFO: Archiving Costs [Pipeline] sh 01:43:00 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:43:00 + cut -d, -f6 [Pipeline] lock 01:43:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] 01:43:00 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] did not exist. Created. 01:43:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:01 /w/workspace/device-mqtt-go/1@tmp/durable-79583a65/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:43:02 + echo total: 0.10999999940395355 [Pipeline] stash 01:43:02 Warning: overwriting stash ‘stack-cost’ 01:43:02 Stashed 1 file(s) [Pipeline] } 01:43:02 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-425-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:02 $ docker stop --time=1 8e0c9ea766df155c4031f8ea06d7c79d733b80ce43a94f0359206d0e978dd1e8 01:43:03 $ docker rm -f 8e0c9ea766df155c4031f8ea06d7c79d733b80ce43a94f0359206d0e978dd1e8 [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:43:05 provisioning config files... 01:43:05 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/config1829765971981012356tmp [Pipeline] { [Pipeline] sh 01:43:05 + set +x 01:43:05 + curl -s https://codecov.io/bash 01:43:05 + bash -s -- 01:43:05 01:43:05 _____ _ 01:43:05 / ____| | | 01:43:05 | | ___ __| | ___ ___ _____ __ 01:43:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:43:05 | |___| (_) | (_| | __/ (_| (_) \ V / 01:43:05 \_____\___/ \__,_|\___|\___\___/ \_/ 01:43:05 Bash-1.0.6 01:43:05 01:43:05 01:43:05 ==> git version 2.25.1 found 01:43:05 ==> 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:43:05 Release-Date: 2020-01-08 01:43:05 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:43:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:43:05 ==> Jenkins CI detected. 01:43:05 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-425 01:43:05 project root: . 01:43:05 --> token set from env 01:43:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:43:05 ==> Running gcov in . (disable via -X gcov) 01:43:05 ==> Python coveragepy not found 01:43:05 ==> Searching for coverage reports in: 01:43:05 + . 01:43:05 -> Found 1 reports 01:43:05 ==> Detecting git/mercurial file structure 01:43:05 ==> Reading reports 01:43:05 + ./coverage.out bytes=17887 01:43:05 ==> Appending adjustments 01:43:05 https://docs.codecov.io/docs/fixing-reports 01:43:05 + Found adjustments 01:43:05 ==> Gzipping contents 01:43:05 4.0K /tmp/codecov.so6Ay4.gz 01:43:05 ==> Uploading reports 01:43:05 url: https://codecov.io 01:43:05 query: branch=PR-425&commit=29bc870321135a347e825f216089213faf1bd72c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=425&job=&cmd_args= 01:43:05 -> Pinging Codecov 01:43:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-425&commit=29bc870321135a347e825f216089213faf1bd72c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-425%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=425&job=&cmd_args= 01:43:05 -> Uploading to 01:43:05 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/7D719EC7BBE17E464838252E33014C33/29bc870321135a347e825f216089213faf1bd72c/f6c6cdcc-a8eb-47a2-a8f3-90e9a272a87d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T014305Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=038e3edb74d80c763f2d89b8759b611bcc60568531e589013ee9253f28c2ea5d 01:43:05 % Total % Received % Xferd Average Speed Time Time Time Current 01:43:05 Dload Upload Total Spent Left Speed 01:43:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 11698 --:--:-- --:--:-- --:--:-- 11698 01:43:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/29bc870321135a347e825f216089213faf1bd72c [Pipeline] } 01:43:06 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:43:08 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives ] 01:43:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives 01:43:08 total 16 01:43:08 drwxr-xr-x 3 root root 4096 Oct 17 01:33 . 01:43:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 01:33 .. 01:43:08 drwxr-xr-x 2 root root 4096 Oct 17 01:33 cost 01:43:08 -rw-r--r-- 1 root root 86 Oct 17 01:33 cost.csv 01:43:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives 01:43:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives 01:43:08 total 16 01:43:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 01:33 . 01:43:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 01:33 .. 01:43:08 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 01:33 cost 01:43:08 -rw-r--r-- 1 jenkins jenkins 86 Oct 17 01:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:43:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:43:09 ---> package-listing.sh 01:43:09 ++ facter osfamily 01:43:09 ++ tr '[:upper:]' '[:lower:]' 01:43:09 + OS_FAMILY=debian 01:43:09 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-425 01:43:09 + START_PACKAGES=/tmp/packages_start.txt 01:43:09 + END_PACKAGES=/tmp/packages_end.txt 01:43:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:43:09 + PACKAGES=/tmp/packages_start.txt 01:43:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-425 ']' 01:43:09 + PACKAGES=/tmp/packages_end.txt 01:43:09 + case "${OS_FAMILY}" in 01:43:09 + dpkg -l 01:43:09 + grep '^ii' 01:43:09 + '[' -f /tmp/packages_start.txt ']' 01:43:09 + '[' -f /tmp/packages_end.txt ']' 01:43:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:43:09 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-425 ']' 01:43:09 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives/ 01:43:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-425/archives/ [Pipeline] echo 01:43:09 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-425/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:43:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:10 prd-ubuntu20.04-docker-8c-8g-7990 does not seem to be running inside a container 01:43:10 $ 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-425/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-425 -v /w/workspace/gexfoundry_device-mqtt-go_PR-425:/w/workspace/gexfoundry_device-mqtt-go_PR-425:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-425@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:43:11 $ docker top 443da78aa579651407f8015ba40b622be867a2ae2f32846725890c29481f0b70 -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:11 + touch /tmp/pre-build-complete [Pipeline] sh 01:43:11 + mkdir -p /var/log/sysstat [Pipeline] sh 01:43:12 + ls /var/log/sa-host 01:43:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:12 provisioning config files... 01:43:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-425@tmp/config4880437049047165488tmp [Pipeline] { [Pipeline] echo 01:43:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:43:12 ---> create-netrc.sh [Pipeline] } 01:43:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:43:13 ---> python-tools-install.sh [Pipeline] echo 01:43:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:43:13 ---> sudo-logs.sh 01:43:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:43:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:43:13 ---> job-cost.sh 01:43:13 lf-activate-venv: SKIPPING 01:43:13 DEBUG: total: 0.2199999988079071 01:43:13 INFO: Retrieving Stack Cost... 01:43:14 INFO: Retrieving Pricing Info for: v3-standard-8 01:43:14 INFO: Archiving Costs [Pipeline] echo 01:43:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:43:14 ---> logs-deploy.sh 01:43:14 lf-activate-venv: SKIPPING 01:43:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-425/1 01:43:14 INFO: archiving workspace using pattern(s): 01:43:15 Archives upload complete. 01:43:15 INFO: archiving logs to Nexus