Pull request #414 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from b5d3fda0339980389ae8f7aec506bc64b1848aa7+e3b17c36aac665b2f67a5aeebf35b3bad318417a (d5b768a8e464df0f86e9d55bacbfd0ec01e1f209) 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-ssh5228469500999715397.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-ssh12251640165231260418.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-414/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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9996688690709674704.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-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14227709312106485859.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-ssh9855732261909725990.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-414/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-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6680114911629684059.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-671 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [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-414 # 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/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit b5d3fda0339980389ae8f7aec506bc64b1848aa7 Merge succeeded, producing b5d3fda0339980389ae8f7aec506bc64b1848aa7 Checking out Revision b5d3fda0339980389ae8f7aec506bc64b1848aa7 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f b5d3fda0339980389ae8f7aec506bc64b1848aa7 # 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 e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b5d3fda0339980389ae8f7aec506bc64b1848aa7 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" 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 22:43:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:43:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:43:53 ========================================================= 22:43:53 EdgeX Global Pipelines Version Info 22:43:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:43:54 ------------------- 22:43:54 stable info: 22:43:54 ------------------- 22:43:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:43:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:43:54 Message: update stable to v1.0.239 22:43:54 ------------------- 22:43:54 experimental info: 22:43:54 ------------------- 22:43:54 Commited By: **** collab-it+edgex@linuxfoundation.org 22:43:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:43:54 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:43:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b5d3fda0339980389ae8f7aec506bc64b1848aa7 [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b5d3fda [Pipeline] echo 22:43:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:43:56 provisioning config files... 22:43:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config16480856196968517075tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:43:56 ---> docker-login.sh 22:43:56 nexus3.edgexfoundry.org:10001 22:43:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:57 Configure a credential helper to remove this warning. See 22:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:57 22:43:57 Login Succeeded 22:43:57 nexus3.edgexfoundry.org:10002 22:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:57 Configure a credential helper to remove this warning. See 22:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:57 22:43:57 Login Succeeded 22:43:57 nexus3.edgexfoundry.org:10003 22:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:57 Configure a credential helper to remove this warning. See 22:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:57 22:43:57 Login Succeeded 22:43:57 nexus3.edgexfoundry.org:10004 22:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:57 Configure a credential helper to remove this warning. See 22:43:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:57 22:43:57 Login Succeeded 22:43:57 docker.io 22:43:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:43:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:43:58 Configure a credential helper to remove this warning. See 22:43:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:43:58 22:43:58 Login Succeeded 22:43:58 ---> docker-login.sh ends [Pipeline] } 22:43:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:43:58 + git rev-list -1 --merges b5d3fda0339980389ae8f7aec506bc64b1848aa7~1..b5d3fda0339980389ae8f7aec506bc64b1848aa7 [Pipeline] echo 22:43:58 -----------> git rev-list -1 --merges b5d3fda0339980389ae8f7aec506bc64b1848aa7~1..b5d3fda0339980389ae8f7aec506bc64b1848aa7 b5d3fda0339980389ae8f7aec506bc64b1848aa7 [false] [Pipeline] sh 22:43:59 + git log --format=format:%s -1 b5d3fda0339980389ae8f7aec506bc64b1848aa7 [Pipeline] echo 22:43:59 ========================================================= 22:43:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:43:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:43:59 + git log --format=format:%s -1 b5d3fda0339980389ae8f7aec506bc64b1848aa7 [Pipeline] echo 22:43:59 [semverPrep] GIT_COMMIT: b5d3fda0339980389ae8f7aec506bc64b1848aa7, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 22:43:59 [semverPrep] This is not a build commit. [Pipeline] sh 22:43:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:43:59 + grep -v github /etc/ssh/ssh_known_hosts 22:43:59 + [ -e /tmp/ssh_known_hosts ] 22:43:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:43:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:43:59 + sudo tee -a /etc/ssh/ssh_known_hosts 22:43:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:00 22:44:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:00 0.1.4: Pulling from edgex-devops/py-git-semver 22:44:00 b85a868b505f: Pulling fs layer 22:44:00 e2be974225ed: Pulling fs layer 22:44:00 339a4e72a1f5: Pulling fs layer 22:44:00 988bab9f4d93: Pulling fs layer 22:44:00 1469e6f7b9e6: Pulling fs layer 22:44:00 eaf3925da568: Pulling fs layer 22:44:00 bab4dde63d76: Pulling fs layer 22:44:00 bde34c3a00c8: Pulling fs layer 22:44:00 b352a97aabf1: Pulling fs layer 22:44:00 4872d77fe225: Pulling fs layer 22:44:00 5851b861e8e6: Pulling fs layer 22:44:00 1469e6f7b9e6: Waiting 22:44:00 eaf3925da568: Waiting 22:44:00 bab4dde63d76: Waiting 22:44:00 bde34c3a00c8: Waiting 22:44:00 b352a97aabf1: Waiting 22:44:00 4872d77fe225: Waiting 22:44:00 5851b861e8e6: Waiting 22:44:00 988bab9f4d93: Waiting 22:44:00 e2be974225ed: Download complete 22:44:00 988bab9f4d93: Verifying Checksum 22:44:00 988bab9f4d93: Download complete 22:44:01 1469e6f7b9e6: Verifying Checksum 22:44:01 1469e6f7b9e6: Download complete 22:44:01 339a4e72a1f5: Verifying Checksum 22:44:01 339a4e72a1f5: Download complete 22:44:01 eaf3925da568: Verifying Checksum 22:44:01 eaf3925da568: Download complete 22:44:01 bde34c3a00c8: Verifying Checksum 22:44:01 bde34c3a00c8: Download complete 22:44:01 b352a97aabf1: Verifying Checksum 22:44:01 b352a97aabf1: Download complete 22:44:01 4872d77fe225: Verifying Checksum 22:44:01 4872d77fe225: Download complete 22:44:01 5851b861e8e6: Verifying Checksum 22:44:01 5851b861e8e6: Download complete 22:44:01 b85a868b505f: Verifying Checksum 22:44:01 b85a868b505f: Download complete 22:44:01 bab4dde63d76: Verifying Checksum 22:44:01 bab4dde63d76: Download complete 22:44:02 b85a868b505f: Pull complete 22:44:02 e2be974225ed: Pull complete 22:44:03 339a4e72a1f5: Pull complete 22:44:03 988bab9f4d93: Pull complete 22:44:03 1469e6f7b9e6: Pull complete 22:44:03 eaf3925da568: Pull complete 22:44:05 bab4dde63d76: Pull complete 22:44:05 bde34c3a00c8: Pull complete 22:44:05 b352a97aabf1: Pull complete 22:44:05 4872d77fe225: Pull complete 22:44:05 5851b861e8e6: Pull complete 22:44:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:44:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:06 prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container 22:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:44:07 $ docker top 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 -eo pid,comm 22:44:07 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). 22:44:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:44:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:07 [ssh-agent] Looking for ssh-agent implementation... 22:44:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:07 $ docker exec 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 ssh-agent 22:44:07 SSH_AUTH_SOCK=/tmp/ssh-OHRiYBssAcTv/agent.32 22:44:07 SSH_AGENT_PID=38 22:44:07 Running ssh-add (command line suppressed) 22:44:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_2596283664640121929.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_2596283664640121929.key) 22:44:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:08 + git tag --points-at HEAD [Pipeline] } 22:44:08 $ docker exec --env ******** --env ******** 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 ssh-agent -k 22:44:08 unset SSH_AUTH_SOCK; 22:44:08 unset SSH_AGENT_PID; 22:44:08 echo Agent pid 38 killed; 22:44:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:44:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:44:08 [ssh-agent] Looking for ssh-agent implementation... 22:44:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:44:08 $ docker exec 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 ssh-agent 22:44:08 SSH_AUTH_SOCK=/tmp/ssh-FLcP8lK2vhHR/agent.71 22:44:08 SSH_AGENT_PID=77 22:44:08 Running ssh-add (command line suppressed) 22:44:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8803983864931104053.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8803983864931104053.key) 22:44:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:44:09 + git semver init 22:44:09 2022-09-22 22:44:09,300 [run_init] DEBUG init version:0.0.0 force:False 22:44:09 2022-09-22 22:44:09,300 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 22:44:09 2022-09-22 22:44:09,301 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 22:44:09 2022-09-22 22:44:09,301 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414, universal_newlines=False, shell=None, istream=None) 22:44:10 2022-09-22 22:44:10,151 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude 22:44:10 2022-09-22 22:44:10,151 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False 22:44:10 2022-09-22 22:44:10,151 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 22:44:10 2022-09-22 22:44:10,156 [execute] INFO git cat-file --batch-check 22:44:10 2022-09-22 22:44:10,156 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 22:44:10 2022-09-22 22:44:10,162 [execute] INFO git cat-file --batch 22:44:10 2022-09-22 22:44:10,162 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 22:44:10 2022-09-22 22:44:10,168 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 22:44:10 0.0.0 [Pipeline] } 22:44:10 $ docker exec --env ******** --env ******** 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 ssh-agent -k 22:44:10 unset SSH_AUTH_SOCK; 22:44:10 unset SSH_AGENT_PID; 22:44:10 echo Agent pid 77 killed; 22:44:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:44:10 + git semver [Pipeline] } 22:44:11 $ docker stop --time=1 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 22:44:12 $ docker rm -f 5dd638cf38354c4bcc17071b4316d9e920488952ed1049442690119ec4c3a0c4 [Pipeline] // withDockerContainer [Pipeline] sh 22:44:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:44:13 Stashed 1 file(s) [Pipeline] echo 22:44:13 [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 22:44:13 provisioning config files... 22:44:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config2484174296712016763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:14 ---> docker-login.sh 22:44:14 nexus3.edgexfoundry.org:10001 22:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:14 Configure a credential helper to remove this warning. See 22:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:14 22:44:14 Login Succeeded 22:44:14 nexus3.edgexfoundry.org:10002 22:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:14 Configure a credential helper to remove this warning. See 22:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:14 22:44:14 Login Succeeded 22:44:14 nexus3.edgexfoundry.org:10003 22:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:14 Configure a credential helper to remove this warning. See 22:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:14 22:44:14 Login Succeeded 22:44:14 nexus3.edgexfoundry.org:10004 22:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:14 Configure a credential helper to remove this warning. See 22:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:14 22:44:14 Login Succeeded 22:44:14 docker.io 22:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:14 Configure a credential helper to remove this warning. See 22:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:14 22:44:14 Login Succeeded 22:44:14 ---> docker-login.sh ends [Pipeline] } 22:44:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:44:15 ========================================================= 22:44:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:44:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:15 + 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 . 22:44:15 Sending build context to Docker daemon 6.147MB 22:44:15 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:44:15 Step 2/13 : FROM ${BASE} AS builder 22:44:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:44:15 2408cc74d12b: Pulling fs layer 22:44:15 ea60b727a1ce: Pulling fs layer 22:44:15 30c4a7721957: Pulling fs layer 22:44:15 370296b7ddb6: Pulling fs layer 22:44:15 7c6cee850709: Pulling fs layer 22:44:15 39a5fcdaea64: Pulling fs layer 22:44:15 d94ebbe4e438: Pulling fs layer 22:44:15 bcfd1f05c69d: Pulling fs layer 22:44:15 59ccb84bbe0f: Pulling fs layer 22:44:15 7c6cee850709: Waiting 22:44:15 39a5fcdaea64: Waiting 22:44:15 d94ebbe4e438: Waiting 22:44:15 bcfd1f05c69d: Waiting 22:44:15 59ccb84bbe0f: Waiting 22:44:15 370296b7ddb6: Waiting 22:44:15 30c4a7721957: Verifying Checksum 22:44:15 30c4a7721957: Download complete 22:44:15 7c6cee850709: Download complete 22:44:15 39a5fcdaea64: Verifying Checksum 22:44:15 39a5fcdaea64: Download complete 22:44:15 2408cc74d12b: Verifying Checksum 22:44:15 2408cc74d12b: Download complete 22:44:15 d94ebbe4e438: Download complete 22:44:15 2408cc74d12b: Pull complete 22:44:16 ea60b727a1ce: Pull complete 22:44:16 30c4a7721957: Pull complete 22:44:16 59ccb84bbe0f: Download complete 22:44:16 bcfd1f05c69d: Verifying Checksum 22:44:16 bcfd1f05c69d: Download complete 22:44:16 370296b7ddb6: Verifying Checksum 22:44:16 370296b7ddb6: Download complete 22:44:20 370296b7ddb6: Pull complete 22:44:20 7c6cee850709: Pull complete 22:44:20 39a5fcdaea64: Pull complete 22:44:20 d94ebbe4e438: Pull complete 22:44:22 bcfd1f05c69d: Pull complete 22:44:23 59ccb84bbe0f: Pull complete 22:44:23 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:44:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:44:23 ---> a4fb48ad2a94 22:44:23 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:44:25 ---> Running in 9b16cf404554 22:44:25 Removing intermediate container 9b16cf404554 22:44:25 ---> db868acc1f4b 22:44:25 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:44:25 ---> Running in dcbfc4e2d448 22:44:25 Removing intermediate container dcbfc4e2d448 22:44:25 ---> bb0b4db79f56 22:44:25 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:44:25 ---> Running in 0408ede74978 22:44:25 Removing intermediate container 0408ede74978 22:44:25 ---> 448881db01b1 22:44:25 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:44:25 ---> Running in 757489b8c64c 22:44:25 Removing intermediate container 757489b8c64c 22:44:25 ---> e44d557f9a9f 22:44:25 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:44:25 ---> Running in dba2cdc5295a 22:44:26 Removing intermediate container dba2cdc5295a 22:44:26 ---> dffb79acd815 22:44:26 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:44:26 ---> Running in a7d83b1c20e0 22:44:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:44:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:44:27 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:44:27 (2/4) Installing libedit (20210910.3.1-r0) 22:44:27 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:44:27 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:44:28 Executing busybox-1.35.0-r13.trigger 22:44:28 OK: 216 MiB in 55 packages 22:44:28 Removing intermediate container a7d83b1c20e0 22:44:28 ---> dbb68aac9f74 22:44:28 Step 9/13 : WORKDIR /device-mqtt-go 22:44:28 ---> Running in 8f87a9982ed1 22:44:28 Removing intermediate container 8f87a9982ed1 22:44:28 ---> 11087db7ef7f 22:44:28 Step 10/13 : COPY go.mod vendor* ./ 22:44:28 Still waiting to schedule task 22:44:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:44:28 ---> bc8b5a28471f 22:44:28 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:44:28 ---> Running in febcc8536ddc 22:44:46 Removing intermediate container febcc8536ddc 22:44:46 ---> d430983d46b5 22:44:46 Step 12/13 : COPY . . 22:44:46 ---> 5deef816d76d 22:44:46 Step 13/13 : RUN $MAKE 22:44:46 ---> Running in d15f05c46eed 22:44:46 noop 22:44:46 Removing intermediate container d15f05c46eed 22:44:46 ---> eb7410a254bb 22:44:46 Successfully built eb7410a254bb 22:44:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:47 + docker inspect -f . ci-base-image-x86_64 22:44:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:47 prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container 22:44:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:44:47 $ docker top e4cc675e87a374b7019ac335f2eb147541774ebdefa9f3fc47c88b67597ede76 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:48 + go version 22:44:48 go version go1.18.3 linux/amd64 [Pipeline] } 22:44:48 $ docker stop --time=1 e4cc675e87a374b7019ac335f2eb147541774ebdefa9f3fc47c88b67597ede76 22:44:49 $ docker rm -f e4cc675e87a374b7019ac335f2eb147541774ebdefa9f3fc47c88b67597ede76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:50 + docker inspect -f . ci-base-image-x86_64 22:44:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:50 prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container 22:44:50 $ 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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:44:50 $ docker top ecec7de485a6b05d0eeae03c1c266d30ead61df3918a7a3d0dfd955213958532 -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:51 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh 22:44:51 + make test 22:44:51 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:44:51 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:45:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:45:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements 22:45:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:45:10 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." 22:45:10 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:45:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:45:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:45:13 ./bin/test-attribution-txt.sh [Pipeline] echo 22:45:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:45:13 $ docker stop --time=1 ecec7de485a6b05d0eeae03c1c266d30ead61df3918a7a3d0dfd955213958532 22:45:15 $ docker rm -f ecec7de485a6b05d0eeae03c1c266d30ead61df3918a7a3d0dfd955213958532 [Pipeline] // withDockerContainer [Pipeline] sh 22:45:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:45:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:45:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:45:16 + ls -al . 22:45:16 total 184 22:45:16 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:44 . 22:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:43 .. 22:45:16 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 22:43 .dockerignore 22:45:16 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:45 .git 22:45:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:43 .github 22:45:16 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:43 .gitignore 22:45:16 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:43 .golangci.yml 22:45:16 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:44 .semver 22:45:16 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 22 22:43 Attribution.txt 22:45:16 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 22 22:43 CHANGELOG.md 22:45:16 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 22 22:43 Dockerfile 22:45:16 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:43 GOVERNANCE.md 22:45:16 -rw-rw-r-- 1 jenkins jenkins 678 Sep 22 22:43 Jenkinsfile 22:45:16 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:43 LICENSE 22:45:16 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 22 22:43 Makefile 22:45:16 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:43 OWNERS.md 22:45:16 -rw-rw-r-- 1 jenkins jenkins 2883 Sep 22 22:43 README.md 22:45:16 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:44 VERSION 22:45:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:43 bin 22:45:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:43 cmd 22:45:16 -rw-r--r-- 1 jenkins jenkins 17887 Sep 22 22:45 coverage.out 22:45:16 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 22 22:43 go.mod 22:45:16 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:43 go.sum 22:45:16 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:43 internal 22:45:16 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:43 mock 22:45:16 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:43 snap 22:45:16 -rw-rw-r-- 1 jenkins jenkins 227 Sep 22 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:17 + 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=b5d3fda0339980389ae8f7aec506bc64b1848aa7 --label arch=amd64 --label version=0.0.0 . 22:45:17 Sending build context to Docker daemon 6.165MB 22:45:17 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:45:17 Step 2/25 : FROM ${BASE} AS builder 22:45:17 ---> eb7410a254bb 22:45:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:45:17 ---> Running in 5193f4c4283e 22:45:17 Removing intermediate container 5193f4c4283e 22:45:17 ---> 190c12fb2524 22:45:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:17 ---> Running in f865eaffe8f9 22:45:17 Removing intermediate container f865eaffe8f9 22:45:17 ---> 49e0faf113c8 22:45:17 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:45:17 ---> Running in a94e4d662531 22:45:17 Removing intermediate container a94e4d662531 22:45:17 ---> 379b631c6e04 22:45:17 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:45:17 ---> Running in 52af81824753 22:45:17 Removing intermediate container 52af81824753 22:45:17 ---> c22ccf55ec3e 22:45:17 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:17 ---> Running in 83add13e1da8 22:45:18 Removing intermediate container 83add13e1da8 22:45:18 ---> e972187e2708 22:45:18 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:18 ---> Running in 32bc982e156f 22:45:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:45:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:45:19 OK: 216 MiB in 55 packages 22:45:20 Removing intermediate container 32bc982e156f 22:45:20 ---> 71d70cdbeda0 22:45:20 Step 9/25 : WORKDIR /device-mqtt-go 22:45:20 ---> Running in 489da54afff5 22:45:20 Removing intermediate container 489da54afff5 22:45:20 ---> 7053946367fa 22:45:20 Step 10/25 : COPY go.mod vendor* ./ 22:45:20 ---> 2786d20bc0ad 22:45:20 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:20 ---> Running in d00ed132401f 22:45:21 Removing intermediate container d00ed132401f 22:45:21 ---> 4fc646c46d7c 22:45:21 Step 12/25 : COPY . . 22:45:21 ---> 5770f5e2282a 22:45:21 Step 13/25 : RUN $MAKE 22:45:21 ---> Running in 1527e70d465f 22:45:21 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 22:45:43 Removing intermediate container 1527e70d465f 22:45:43 ---> 060679c53dc1 22:45:43 Step 14/25 : FROM alpine:3.16 22:45:43 3.16: Pulling from library/alpine 22:45:43 213ec9aee27d: Pulling fs layer 22:45:43 213ec9aee27d: Verifying Checksum 22:45:43 213ec9aee27d: Download complete 22:45:43 213ec9aee27d: Pull complete 22:45:43 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:45:43 Status: Downloaded newer image for alpine:3.16 22:45:43 ---> 9c6f07244728 22:45:43 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:45:43 ---> Running in 7da8c29fdee7 22:45:43 Removing intermediate container 7da8c29fdee7 22:45:43 ---> 675c882b9a0b 22:45:43 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:45:43 ---> Running in 126600e07acc 22:45:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:45:44 (1/6) Installing dumb-init (1.2.5-r1) 22:45:44 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:45:44 (3/6) Installing libsodium (1.0.18-r0) 22:45:44 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:45:44 (5/6) Installing libzmq (4.3.4-r0) 22:45:44 (6/6) Installing zeromq (4.3.4-r0) 22:45:44 Executing busybox-1.35.0-r17.trigger 22:45:44 OK: 8 MiB in 20 packages 22:45:44 Removing intermediate container 126600e07acc 22:45:44 ---> ebdd53c3744c 22:45:44 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 22:45:45 ---> f2a05e329758 22:45:45 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 22:45:45 ---> ea4ab7c17ff9 22:45:45 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:45:45 ---> 91db198bf6c8 22:45:45 Step 20/25 : EXPOSE 59982 22:45:45 ---> Running in 68ae137fd299 22:45:45 Removing intermediate container 68ae137fd299 22:45:45 ---> 0cf615247938 22:45:45 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 22:45:45 ---> Running in 36f26a83a7db 22:45:45 Removing intermediate container 36f26a83a7db 22:45:45 ---> 342183b2f158 22:45:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:45:45 ---> Running in 22bc08134dae 22:45:45 Removing intermediate container 22bc08134dae 22:45:45 ---> 35c6fb2f1565 22:45:45 Step 23/25 : LABEL arch=amd64 22:45:45 ---> Running in c17c9e3d6445 22:45:45 Removing intermediate container c17c9e3d6445 22:45:45 ---> 7528a38e23cd 22:45:45 Step 24/25 : LABEL git_sha=b5d3fda0339980389ae8f7aec506bc64b1848aa7 22:45:45 ---> Running in 8f81e513167a 22:45:45 Removing intermediate container 8f81e513167a 22:45:45 ---> 6266e9a07059 22:45:45 Step 25/25 : LABEL version=0.0.0 22:45:46 ---> Running in 4504dc312154 22:45:46 Removing intermediate container 4504dc312154 22:45:46 ---> 7e18c4280dce 22:45:46 [Warning] One or more build-args [ARCH] were not consumed 22:45:46 Successfully built 7e18c4280dce 22:45:46 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 22:45:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:46 22:45:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:47 latest: Pulling from edgex-lftools-log-publisher 22:45:47 5eb5b503b376: Pulling fs layer 22:45:47 5c69ac0246d0: Pulling fs layer 22:45:47 ec43610c2a17: Pulling fs layer 22:45:47 3a2ae6a8a46f: Pulling fs layer 22:45:47 33b1e0a273af: Pulling fs layer 22:45:47 5d3b04190fa2: Pulling fs layer 22:45:47 2f39f015ded8: Pulling fs layer 22:45:47 3a2ae6a8a46f: Waiting 22:45:47 33b1e0a273af: Waiting 22:45:47 5d3b04190fa2: Waiting 22:45:47 2f39f015ded8: Waiting 22:45:47 5c69ac0246d0: Verifying Checksum 22:45:47 5c69ac0246d0: Download complete 22:45:47 3a2ae6a8a46f: Verifying Checksum 22:45:47 3a2ae6a8a46f: Download complete 22:45:47 33b1e0a273af: Verifying Checksum 22:45:47 33b1e0a273af: Download complete 22:45:47 ec43610c2a17: Verifying Checksum 22:45:47 ec43610c2a17: Download complete 22:45:47 5d3b04190fa2: Download complete 22:45:47 5eb5b503b376: Download complete 22:45:48 2f39f015ded8: Verifying Checksum 22:45:48 2f39f015ded8: Download complete 22:45:48 5eb5b503b376: Pull complete 22:45:48 5c69ac0246d0: Pull complete 22:45:49 ec43610c2a17: Pull complete 22:45:49 3a2ae6a8a46f: Pull complete 22:45:49 33b1e0a273af: Pull complete 22:45:49 5d3b04190fa2: Pull complete 22:45:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-672 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws 22:45:50 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 22:45:50 Selected Git installation does not exist. Using Default 22:45:50 The recommended git tool is: NONE 22:45:54 2f39f015ded8: Pull complete 22:45:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:45:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:45:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:54 prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container 22:45: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/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:45:55 using credential edgex-jenkins-ssh 22:45:55 Cloning the remote Git repository 22:45:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:45:55 > git init /w/workspace/device-mqtt-go/1 # timeout=10 22:45:55 $ docker top 8a5e3ee33a35b7cbc8fff547ef7130cf0b5a412172520c2db8e37b4e4c45ef93 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:56 ---> job-cost.sh 22:45:56 lf-activate-venv: SKIPPING 22:45:56 INFO: No Stack... 22:45:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:45:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:45:55 > git --version # timeout=10 22:45:55 > git --version # 'git version 2.25.1' 22:45:55 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:55 Verifying host key using known hosts file 22:45:55 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. 22:45:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:56 INFO: Archiving Costs [Pipeline] sh 22:45:57 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv 22:45:57 + cut -d, -f6 [Pipeline] lock 22:45:57 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-1-stack-cost] 22:45:57 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-1-stack-cost] did not exist. Created. 22:45:57 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:45:57 + echo total: 0.2199999988079071 [Pipeline] stash 22:45:57 Stashed 1 file(s) [Pipeline] } 22:45:57 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:45:57 $ docker stop --time=1 8a5e3ee33a35b7cbc8fff547ef7130cf0b5a412172520c2db8e37b4e4c45ef93 22:45:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:45:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:45:57 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:45:57 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:45:57 using GIT_SSH to set credentials SSH Credentials for GitHub 22:45:57 Verifying host key using known hosts file 22:45:57 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. 22:45:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:45:58 Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit b5d3fda0339980389ae8f7aec506bc64b1848aa7 22:45:58 $ docker rm -f 8a5e3ee33a35b7cbc8fff547ef7130cf0b5a412172520c2db8e37b4e4c45ef93 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // ws [Pipeline] } 22:45:58 > git config core.sparsecheckout # timeout=10 22:45:58 > git checkout -f b5d3fda0339980389ae8f7aec506bc64b1848aa7 # timeout=10 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:45:59 Failed in branch arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:46:01 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] 22:46:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 22:46:01 total 16 22:46:01 drwxr-xr-x 3 root root 4096 Sep 22 22:45 . 22:46:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 22:45 .. 22:46:01 drwxr-xr-x 2 root root 4096 Sep 22 22:45 cost 22:46:01 -rw-r--r-- 1 root root 86 Sep 22 22:45 cost.csv 22:46:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 22:46:01 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 22:46:01 total 16 22:46:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:45 . 22:46:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 22:45 .. 22:46:01 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:45 cost 22:46:01 -rw-r--r-- 1 jenkins jenkins 86 Sep 22 22:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:46:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:46:02 ---> package-listing.sh 22:46:02 ++ facter osfamily 22:46:02 ++ tr '[:upper:]' '[:lower:]' 22:46:02 + OS_FAMILY=debian 22:46:02 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 22:46:02 + START_PACKAGES=/tmp/packages_start.txt 22:46:02 + END_PACKAGES=/tmp/packages_end.txt 22:46:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:46:02 + PACKAGES=/tmp/packages_start.txt 22:46:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 22:46:02 + PACKAGES=/tmp/packages_end.txt 22:46:02 + case "${OS_FAMILY}" in 22:46:02 + dpkg -l 22:46:02 + grep '^ii' 22:46:02 + '[' -f /tmp/packages_start.txt ']' 22:46:02 + '[' -f /tmp/packages_end.txt ']' 22:46:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:46:02 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 22:46:02 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ 22:46:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [Pipeline] echo 22:46:02 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-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:46:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:03 prd-ubuntu20.04-docker-8c-8g-671 does not seem to be running inside a container 22:46:03 $ 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-414/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-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:46:04 $ docker top fe2b3dc56966d4ee318f4688ccf3eaf3aef790c5dd9119f7917bd1b860a7423f -eo pid,comm [Pipeline] { [Pipeline] sh 22:46:04 + touch /tmp/pre-build-complete [Pipeline] sh 22:46:04 + mkdir -p /var/log/sysstat [Pipeline] sh 22:46:05 + ls /var/log/sa-host 22:46:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:05 provisioning config files... 22:46:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config11967940358327251274tmp [Pipeline] { [Pipeline] echo 22:46:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:46:05 ---> create-netrc.sh [Pipeline] } 22:46:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:46:06 ---> python-tools-install.sh [Pipeline] echo 22:46:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:46:06 ---> sudo-logs.sh 22:46:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:46:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:46:06 ---> job-cost.sh 22:46:06 lf-activate-venv: SKIPPING 22:46:06 DEBUG: total: 0.2199999988079071 22:46:06 INFO: Retrieving Stack Cost... 22:46:06 INFO: Retrieving Pricing Info for: v3-standard-8 22:46:07 INFO: Archiving Costs [Pipeline] echo 22:46:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:46:07 ---> logs-deploy.sh 22:46:07 lf-activate-venv: SKIPPING 22:46:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/1 22:46:07 INFO: archiving workspace using pattern(s): 22:46:09 Archives upload complete. 22:46:09 INFO: archiving logs to Nexus