Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a+8114a0a5788dfb33e69c59c13f1ac2f90e850568 (b27f164c2d642e5ade3e14d40ad708936a509302) 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-ssh7564259399571725678.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh10231949508382742689.key > 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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6429448094104962512.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh1092601380183029082.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9748465505893287975.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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.17 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2304 in /w/workspace/gexfoundry_device-mqtt-go_PR-385 [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-385 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 8114a0a5788dfb33e69c59c13f1ac2f90e850568 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a Merge succeeded, producing a7ef5b171d37566981e78ee191679ede5e224b67 Checking out Revision a7ef5b171d37566981e78ee191679ede5e224b67 (PR-385) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a7ef5b171d37566981e78ee191679ede5e224b67 # timeout=10 Commit message: "Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD" > git rev-list --no-walk 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:18:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:18:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:18:01 ========================================================= 03:18:01 EdgeX Global Pipelines Version Info 03:18:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:18:02 ------------------- 03:18:02 stable info: 03:18:02 ------------------- 03:18:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:18:02 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 03:18:02 Message: update stable to v1.0.234 03:18:02 ------------------- 03:18:02 experimental info: 03:18:02 ------------------- 03:18:02 Commited By: **** collab-it+edgex@linuxfoundation.org 03:18:02 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 03:18:02 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:18:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a7ef5b171d37566981e78ee191679ede5e224b67 [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a7ef5b1 [Pipeline] echo 03:18:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:03 provisioning config files... 03:18:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config8364690220662750163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:03 ---> docker-login.sh 03:18:03 nexus3.edgexfoundry.org:10001 03:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:04 Configure a credential helper to remove this warning. See 03:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:04 03:18:04 Login Succeeded 03:18:04 nexus3.edgexfoundry.org:10002 03:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:04 Configure a credential helper to remove this warning. See 03:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:04 03:18:04 Login Succeeded 03:18:04 nexus3.edgexfoundry.org:10003 03:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:04 Configure a credential helper to remove this warning. See 03:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:04 03:18:04 Login Succeeded 03:18:04 nexus3.edgexfoundry.org:10004 03:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:04 Configure a credential helper to remove this warning. See 03:18:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:04 03:18:04 Login Succeeded 03:18:04 docker.io 03:18:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:05 Configure a credential helper to remove this warning. See 03:18:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:05 03:18:05 Login Succeeded 03:18:05 ---> docker-login.sh ends [Pipeline] } 03:18:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:18:05 + git rev-list -1 --merges a7ef5b171d37566981e78ee191679ede5e224b67~1..a7ef5b171d37566981e78ee191679ede5e224b67 [Pipeline] echo 03:18:05 -----------> git rev-list -1 --merges a7ef5b171d37566981e78ee191679ede5e224b67~1..a7ef5b171d37566981e78ee191679ede5e224b67 a7ef5b171d37566981e78ee191679ede5e224b67 03:18:05 a7ef5b171d37566981e78ee191679ede5e224b67 [false] [Pipeline] sh 03:18:05 + git log --format=format:%s -1 a7ef5b171d37566981e78ee191679ede5e224b67 [Pipeline] echo 03:18:05 ========================================================= 03:18:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:18:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:18:06 + git log --format=format:%s -1 a7ef5b171d37566981e78ee191679ede5e224b67 [Pipeline] echo 03:18:06 [semverPrep] GIT_COMMIT: a7ef5b171d37566981e78ee191679ede5e224b67, Commit Message: Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD [Pipeline] echo 03:18:06 [semverPrep] This is not a build commit. [Pipeline] sh 03:18:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:18:06 + grep -v github /etc/ssh/ssh_known_hosts 03:18:06 + [ -e /tmp/ssh_known_hosts ] 03:18:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:18:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:18:06 + sudo tee -a /etc/ssh/ssh_known_hosts 03:18:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:07 03:18:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:07 0.1.4: Pulling from edgex-devops/py-git-semver 03:18:07 42c077c10790: Pulling fs layer 03:18:07 f63e77b7563a: Pulling fs layer 03:18:07 bd5fdadae976: Pulling fs layer 03:18:07 205491f53016: Pulling fs layer 03:18:07 df18705c85c3: Pulling fs layer 03:18:07 bdb3f477010e: Pulling fs layer 03:18:07 c8a8fc8e1c8f: Pulling fs layer 03:18:07 2c6e9b1d212d: Pulling fs layer 03:18:07 bdb8f0575790: Pulling fs layer 03:18:07 386e3cb2ff24: Pulling fs layer 03:18:07 2343380bae48: Pulling fs layer 03:18:07 205491f53016: Waiting 03:18:07 df18705c85c3: Waiting 03:18:07 bdb3f477010e: Waiting 03:18:07 c8a8fc8e1c8f: Waiting 03:18:07 2c6e9b1d212d: Waiting 03:18:07 2343380bae48: Waiting 03:18:07 bdb8f0575790: Waiting 03:18:07 f63e77b7563a: Verifying Checksum 03:18:07 f63e77b7563a: Download complete 03:18:07 205491f53016: Download complete 03:18:07 bd5fdadae976: Verifying Checksum 03:18:07 bd5fdadae976: Download complete 03:18:07 df18705c85c3: Verifying Checksum 03:18:07 df18705c85c3: Download complete 03:18:07 bdb3f477010e: Download complete 03:18:07 2c6e9b1d212d: Download complete 03:18:07 bdb8f0575790: Download complete 03:18:07 386e3cb2ff24: Verifying Checksum 03:18:07 386e3cb2ff24: Download complete 03:18:07 2343380bae48: Verifying Checksum 03:18:07 2343380bae48: Download complete 03:18:07 42c077c10790: Download complete 03:18:07 c8a8fc8e1c8f: Verifying Checksum 03:18:07 c8a8fc8e1c8f: Download complete 03:18:09 42c077c10790: Pull complete 03:18:09 f63e77b7563a: Pull complete 03:18:09 bd5fdadae976: Pull complete 03:18:09 205491f53016: Pull complete 03:18:10 df18705c85c3: Pull complete 03:18:10 bdb3f477010e: Pull complete 03:18:12 c8a8fc8e1c8f: Pull complete 03:18:12 2c6e9b1d212d: Pull complete 03:18:12 bdb8f0575790: Pull complete 03:18:12 386e3cb2ff24: Pull complete 03:18:12 2343380bae48: Pull complete 03:18:12 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 03:18:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:18:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:12 prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container 03:18:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:18:14 $ docker top 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 -eo pid,comm 03:18:14 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). 03:18:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:18:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:14 [ssh-agent] Looking for ssh-agent implementation... 03:18:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:14 $ docker exec 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 ssh-agent 03:18:14 SSH_AUTH_SOCK=/tmp/ssh-rOria3wdYRgB/agent.33 03:18:14 SSH_AGENT_PID=39 03:18:14 Running ssh-add (command line suppressed) 03:18:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_9148768635784787505.key (/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_9148768635784787505.key) 03:18:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:15 + git tag --points-at HEAD [Pipeline] } 03:18:15 $ docker exec --env ******** --env ******** 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 ssh-agent -k 03:18:15 unset SSH_AUTH_SOCK; 03:18:15 unset SSH_AGENT_PID; 03:18:15 echo Agent pid 39 killed; 03:18:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:18:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:18:15 [ssh-agent] Looking for ssh-agent implementation... 03:18:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:18:15 $ docker exec 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 ssh-agent 03:18:15 SSH_AUTH_SOCK=/tmp/ssh-XPxPhPN0Wliz/agent.73 03:18:15 SSH_AGENT_PID=79 03:18:15 Running ssh-add (command line suppressed) 03:18:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_5678409279471477399.key (/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_5678409279471477399.key) 03:18:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:18:16 + git semver init 03:18:16 2022-06-13 03:18:16,226 [run_init] DEBUG init version:0.0.0 force:False 03:18:16 2022-06-13 03:18:16,227 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver 03:18:16 2022-06-13 03:18:16,227 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver 03:18:16 2022-06-13 03:18:16,228 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385, universal_newlines=False, shell=None, istream=None) 03:18:17 2022-06-13 03:18:16,938 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.git/info/exclude 03:18:17 2022-06-13 03:18:16,939 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 with force:False 03:18:17 2022-06-13 03:18:16,939 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 03:18:17 2022-06-13 03:18:16,943 [execute] INFO git cat-file --batch-check 03:18:17 2022-06-13 03:18:16,944 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 03:18:17 2022-06-13 03:18:16,950 [execute] INFO git cat-file --batch 03:18:17 2022-06-13 03:18:16,950 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 03:18:17 2022-06-13 03:18:16,955 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 03:18:17 0.0.0 [Pipeline] } 03:18:17 $ docker exec --env ******** --env ******** 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 ssh-agent -k 03:18:17 unset SSH_AUTH_SOCK; 03:18:17 unset SSH_AGENT_PID; 03:18:17 echo Agent pid 79 killed; 03:18:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:18:17 + git semver [Pipeline] } 03:18:17 $ docker stop --time=1 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 03:18:19 $ docker rm -f 78ab9b6fee1bc9810626666a2d96fe6e9b5951ebad874a20a0b3bdc96957b5d5 [Pipeline] // withDockerContainer [Pipeline] sh 03:18:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:18:19 Stashed 1 file(s) [Pipeline] echo 03:18:19 [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 03:18:20 provisioning config files... 03:18:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config7434556679619013615tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:20 ---> docker-login.sh 03:18:20 nexus3.edgexfoundry.org:10001 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:20 Configure a credential helper to remove this warning. See 03:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:20 03:18:20 Login Succeeded 03:18:20 nexus3.edgexfoundry.org:10002 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:20 Configure a credential helper to remove this warning. See 03:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:20 03:18:20 Login Succeeded 03:18:20 nexus3.edgexfoundry.org:10003 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:20 Configure a credential helper to remove this warning. See 03:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:20 03:18:20 Login Succeeded 03:18:20 nexus3.edgexfoundry.org:10004 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:20 Configure a credential helper to remove this warning. See 03:18:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:20 03:18:20 Login Succeeded 03:18:20 docker.io 03:18:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:21 Configure a credential helper to remove this warning. See 03:18:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:21 03:18:21 Login Succeeded 03:18:21 ---> docker-login.sh ends [Pipeline] } 03:18:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:21 ========================================================= 03:18:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:18:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 03:18:21 Sending build context to Docker daemon 6.009MB 03:18:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:18:21 Step 2/12 : FROM ${BASE} AS builder 03:18:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:18:21 59bf1c3509f3: Pulling fs layer 03:18:21 666ba61612fd: Pulling fs layer 03:18:21 8ed8ca486205: Pulling fs layer 03:18:21 cc1cd167ecdc: Pulling fs layer 03:18:21 c516ae0d96e1: Pulling fs layer 03:18:21 684cea983483: Pulling fs layer 03:18:21 dd3240ac7de5: Pulling fs layer 03:18:21 b1e948a4e11c: Pulling fs layer 03:18:21 a8fd76ee1af6: Pulling fs layer 03:18:21 646ad004c059: Pulling fs layer 03:18:21 c516ae0d96e1: Waiting 03:18:21 684cea983483: Waiting 03:18:21 dd3240ac7de5: Waiting 03:18:21 b1e948a4e11c: Waiting 03:18:21 cc1cd167ecdc: Waiting 03:18:21 646ad004c059: Waiting 03:18:21 a8fd76ee1af6: Waiting 03:18:21 8ed8ca486205: Verifying Checksum 03:18:21 8ed8ca486205: Download complete 03:18:21 666ba61612fd: Verifying Checksum 03:18:21 666ba61612fd: Download complete 03:18:21 c516ae0d96e1: Verifying Checksum 03:18:21 c516ae0d96e1: Download complete 03:18:21 684cea983483: Verifying Checksum 03:18:21 684cea983483: Download complete 03:18:21 59bf1c3509f3: Verifying Checksum 03:18:21 59bf1c3509f3: Download complete 03:18:21 dd3240ac7de5: Verifying Checksum 03:18:21 dd3240ac7de5: Download complete 03:18:21 b1e948a4e11c: Verifying Checksum 03:18:21 b1e948a4e11c: Download complete 03:18:21 59bf1c3509f3: Pull complete 03:18:22 666ba61612fd: Pull complete 03:18:22 8ed8ca486205: Pull complete 03:18:22 646ad004c059: Verifying Checksum 03:18:22 646ad004c059: Download complete 03:18:22 a8fd76ee1af6: Verifying Checksum 03:18:22 a8fd76ee1af6: Download complete 03:18:22 cc1cd167ecdc: Verifying Checksum 03:18:22 cc1cd167ecdc: Download complete 03:18:26 cc1cd167ecdc: Pull complete 03:18:26 c516ae0d96e1: Pull complete 03:18:26 684cea983483: Pull complete 03:18:26 dd3240ac7de5: Pull complete 03:18:26 b1e948a4e11c: Pull complete 03:18:29 a8fd76ee1af6: Pull complete 03:18:30 646ad004c059: Pull complete 03:18:30 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 03:18:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:18:30 ---> 8f69c11f6b0c 03:18:30 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:18:32 ---> Running in 60d8bb66e3b8 03:18:32 Removing intermediate container 60d8bb66e3b8 03:18:32 ---> 82ca78ed3e4c 03:18:32 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:18:32 ---> Running in 6867a8524be6 03:18:32 Removing intermediate container 6867a8524be6 03:18:32 ---> fbcbdf2c5a49 03:18:32 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:18:32 ---> Running in 9a14ecf3794c 03:18:32 Removing intermediate container 9a14ecf3794c 03:18:32 ---> 7998d7244b51 03:18:32 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:18:32 ---> Running in 32c36e35881b 03:18:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:18:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:18:34 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:18:34 (2/4) Installing libedit (20210910.3.1-r0) 03:18:34 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:18:34 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:18:34 Executing busybox-1.34.1-r3.trigger 03:18:34 OK: 224 MiB in 56 packages 03:18:35 Still waiting to schedule task 03:18:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:18:35 Removing intermediate container 32c36e35881b 03:18:35 ---> 8862acc37875 03:18:35 Step 7/12 : WORKDIR /device-mqtt-go 03:18:35 ---> Running in fdc83cc6b273 03:18:35 Removing intermediate container fdc83cc6b273 03:18:35 ---> 6456a7299f0c 03:18:35 Step 8/12 : COPY go.mod vendor* ./ 03:18:35 ---> 6304ea9cfb49 03:18:35 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:35 ---> Running in 0b1df42b3d22 03:18:50 Removing intermediate container 0b1df42b3d22 03:18:50 ---> e954679e82be 03:18:50 Step 10/12 : COPY . . 03:18:50 ---> 42ca4e9f6343 03:18:50 Step 11/12 : ARG MAKE='make build' 03:18:50 ---> Running in ed08c31bf99e 03:18:50 Removing intermediate container ed08c31bf99e 03:18:50 ---> 2e13228b1ce9 03:18:50 Step 12/12 : RUN $MAKE 03:18:50 ---> Running in 4b1603a05259 03:18:50 noop 03:18:50 Removing intermediate container 4b1603a05259 03:18:50 ---> 49a18d4e3af4 03:18:50 Successfully built 49a18d4e3af4 03:18:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:50 + docker inspect -f . ci-base-image-x86_64 03:18:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:50 prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container 03:18:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@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 ******** ci-base-image-x86_64 cat 03:18:51 $ docker top 1a7d3b2258867bc98a094ee18007ea5f5aa14fb4fdb28944dfb056b226c86c00 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:51 + go version 03:18:51 go version go1.17.7 linux/amd64 [Pipeline] } 03:18:51 $ docker stop --time=1 1a7d3b2258867bc98a094ee18007ea5f5aa14fb4fdb28944dfb056b226c86c00 03:18:53 $ docker rm -f 1a7d3b2258867bc98a094ee18007ea5f5aa14fb4fdb28944dfb056b226c86c00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:53 + docker inspect -f . ci-base-image-x86_64 03:18:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:53 prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container 03:18:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@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 ******** ci-base-image-x86_64 cat 03:18:54 $ docker top 004676909f19214079bfa064968895c67f6bb341466f1dba221c077c1059d4fd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:18:54 + make test 03:18:54 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:18:54 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:19:04 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:19:04 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 03:19:04 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:19:10 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:19:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:19:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:19:13 ./bin/test-attribution-txt.sh 03:19:13 An attribution for golang.org/x/sync is missing from in Attribution.txt, please add 03:19:13 make: *** [Makefile:48: test] Error 1 [Pipeline] } 03:19:13 $ docker stop --time=1 004676909f19214079bfa064968895c67f6bb341466f1dba221c077c1059d4fd 03:19:15 $ docker rm -f 004676909f19214079bfa064968895c67f6bb341466f1dba221c077c1059d4fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:16 03:19:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:16 latest: Pulling from edgex-lftools-log-publisher 03:19:16 5eb5b503b376: Pulling fs layer 03:19:16 5c69ac0246d0: Pulling fs layer 03:19:16 ec43610c2a17: Pulling fs layer 03:19:16 3a2ae6a8a46f: Pulling fs layer 03:19:16 33b1e0a273af: Pulling fs layer 03:19:16 5d3b04190fa2: Pulling fs layer 03:19:16 2f39f015ded8: Pulling fs layer 03:19:16 3a2ae6a8a46f: Waiting 03:19:16 33b1e0a273af: Waiting 03:19:16 5d3b04190fa2: Waiting 03:19:16 2f39f015ded8: Waiting 03:19:16 5c69ac0246d0: Verifying Checksum 03:19:16 5c69ac0246d0: Download complete 03:19:16 3a2ae6a8a46f: Verifying Checksum 03:19:16 3a2ae6a8a46f: Download complete 03:19:16 33b1e0a273af: Verifying Checksum 03:19:16 33b1e0a273af: Download complete 03:19:16 5d3b04190fa2: Verifying Checksum 03:19:16 5d3b04190fa2: Download complete 03:19:16 ec43610c2a17: Verifying Checksum 03:19:16 ec43610c2a17: Download complete 03:19:16 5eb5b503b376: Verifying Checksum 03:19:16 5eb5b503b376: Download complete 03:19:17 2f39f015ded8: Verifying Checksum 03:19:17 2f39f015ded8: Download complete 03:19:18 5eb5b503b376: Pull complete 03:19:18 5c69ac0246d0: Pull complete 03:19:18 ec43610c2a17: Pull complete 03:19:18 3a2ae6a8a46f: Pull complete 03:19:18 33b1e0a273af: Pull complete 03:19:18 5d3b04190fa2: Pull complete 03:19:23 2f39f015ded8: Pull complete 03:19:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:19:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:23 prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container 03:19:23 $ 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-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:19:24 $ docker top 57e1aa3e1ba257aa53d5623a260fc9747aaa1598f1a0cefb1af7d8134bece819 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:25 ---> job-cost.sh 03:19:25 lf-activate-venv: SKIPPING 03:19:25 INFO: No Stack... 03:19:25 INFO: Retrieving Pricing Info for: v3-standard-8 03:19:26 INFO: Archiving Costs [Pipeline] sh 03:19:26 + cut -d,+ -f6 03:19:26 cat /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/cost.csv [Pipeline] lock 03:19:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] 03:19:26 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] did not exist. Created. 03:19:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:26 + echo total: 0.2199999988079071 [Pipeline] stash 03:19:26 Stashed 1 file(s) [Pipeline] } 03:19:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:26 $ docker stop --time=1 57e1aa3e1ba257aa53d5623a260fc9747aaa1598f1a0cefb1af7d8134bece819 03:19:28 $ docker rm -f 57e1aa3e1ba257aa53d5623a260fc9747aaa1598f1a0cefb1af7d8134bece819 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:19:28 Failed in branch amd64 03:20:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2305 in /w/workspace/gexfoundry_device-mqtt-go_PR-385 [Pipeline] { [Pipeline] ws 03:20:10 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 03:20:10 Selected Git installation does not exist. Using Default 03:20:10 The recommended git tool is: NONE 03:20:16 using credential edgex-jenkins-ssh 03:20:16 Cloning the remote Git repository 03:20:16 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:20:16 > git init /w/workspace/device-mqtt-go/2 # timeout=10 03:20:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:20:16 > git --version # timeout=10 03:20:16 > git --version # 'git version 2.25.1' 03:20:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:20:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:20:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:20:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:20:17 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:20:17 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/385/head:refs/remotes/origin/PR-385 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:20:18 Merging remotes/origin/main commit 8114a0a5788dfb33e69c59c13f1ac2f90e850568 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a 03:20:18 Merge succeeded, producing 62306c4adbdca55da5a026bd6518b65a996beead 03:20:18 Checking out Revision 62306c4adbdca55da5a026bd6518b65a996beead (PR-385) 03:20:18 > git config core.sparsecheckout # timeout=10 03:20:18 > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 03:20:18 > git remote # timeout=10 03:20:18 > git config --get remote.origin.url # timeout=10 03:20:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:20:18 > git merge 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 03:20:18 > git rev-parse HEAD^{commit} # timeout=10 03:20:18 > git config core.sparsecheckout # timeout=10 03:20:18 > git checkout -f 62306c4adbdca55da5a026bd6518b65a996beead # timeout=10 03:20:22 Commit message: "Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD" 03:20:22 > git rev-list --no-walk 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:20:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:20:23 % Total % Received % Xferd Average Speed Time Time Time Current 03:20:23 Dload Upload Total Spent Left Speed 03:20:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 92825 100 12253 100 12253 0 0 92127 0 --:--:-- --:--:-- --:--:-- 91440 [Pipeline] sh 03:20:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:20:24 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:20:24 sudo tee /etc/docker/daemon.new 03:20:24 { 03:20:24 "registry-mirrors": [ 03:20:24 "https://nexus3.edgexfoundry.org:10001" 03:20:24 ], 03:20:24 "bip": "10.250.0.254/24", 03:20:24 "hosts": [ 03:20:24 "tcp://0.0.0.0:5555", 03:20:24 "unix:///var/run/docker.sock" 03:20:24 ], 03:20:24 "mtu": 1458, 03:20:24 "selinux-enabled": true, 03:20:24 "seccomp-profile": "/etc/docker/seccomp.json" 03:20:24 } [Pipeline] sh 03:20:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:20:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:20:44 provisioning config files... 03:20:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config1980513908145888757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:20:44 ---> docker-login.sh 03:20:44 nexus3.edgexfoundry.org:10001 03:20:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:45 Configure a credential helper to remove this warning. See 03:20:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:45 03:20:45 Login Succeeded 03:20:45 nexus3.edgexfoundry.org:10002 03:20:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:45 Configure a credential helper to remove this warning. See 03:20:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:45 03:20:45 Login Succeeded 03:20:45 nexus3.edgexfoundry.org:10003 03:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:46 Configure a credential helper to remove this warning. See 03:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:46 03:20:46 Login Succeeded 03:20:46 nexus3.edgexfoundry.org:10004 03:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:46 Configure a credential helper to remove this warning. See 03:20:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:46 03:20:46 Login Succeeded 03:20:46 docker.io 03:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:20:47 Configure a credential helper to remove this warning. See 03:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:20:47 03:20:47 Login Succeeded 03:20:47 ---> docker-login.sh ends [Pipeline] } 03:20:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:20:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:20:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:20:47 ========================================================= 03:20:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:20:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 03:20:48 Sending build context to Docker daemon 3.111MB 03:20:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:20:48 Step 2/12 : FROM ${BASE} AS builder 03:20:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:20:48 9b3977197b4f: Pulling fs layer 03:20:48 1a89e8eeedd5: Pulling fs layer 03:20:48 94645a83ff95: Pulling fs layer 03:20:48 e6fb740bc735: Pulling fs layer 03:20:48 3a77bd46dcc9: Pulling fs layer 03:20:48 355e64cbe906: Pulling fs layer 03:20:48 63ab81a10011: Pulling fs layer 03:20:48 555d1d1c4555: Pulling fs layer 03:20:48 7d9057610161: Pulling fs layer 03:20:48 355e64cbe906: Waiting 03:20:48 63ab81a10011: Waiting 03:20:48 555d1d1c4555: Waiting 03:20:48 7d9057610161: Waiting 03:20:48 e6fb740bc735: Waiting 03:20:48 3a77bd46dcc9: Waiting 03:20:48 94645a83ff95: Verifying Checksum 03:20:48 94645a83ff95: Download complete 03:20:48 1a89e8eeedd5: Verifying Checksum 03:20:48 1a89e8eeedd5: Download complete 03:20:48 3a77bd46dcc9: Verifying Checksum 03:20:48 3a77bd46dcc9: Download complete 03:20:48 355e64cbe906: Verifying Checksum 03:20:48 355e64cbe906: Download complete 03:20:48 9b3977197b4f: Verifying Checksum 03:20:48 9b3977197b4f: Download complete 03:20:48 63ab81a10011: Verifying Checksum 03:20:48 63ab81a10011: Download complete 03:20:49 9b3977197b4f: Pull complete 03:20:49 7d9057610161: Verifying Checksum 03:20:49 7d9057610161: Download complete 03:20:50 1a89e8eeedd5: Pull complete 03:20:50 94645a83ff95: Pull complete 03:20:50 555d1d1c4555: Verifying Checksum 03:20:50 555d1d1c4555: Download complete 03:20:51 e6fb740bc735: Verifying Checksum 03:20:51 e6fb740bc735: Download complete 03:21:03 e6fb740bc735: Pull complete 03:21:03 3a77bd46dcc9: Pull complete 03:21:03 355e64cbe906: Pull complete 03:21:04 63ab81a10011: Pull complete 03:21:10 555d1d1c4555: Pull complete 03:21:12 7d9057610161: Pull complete 03:21:12 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 03:21:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:21:12 ---> 819e984ddca1 03:21:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:21:13 ---> Running in 762db545cb2b 03:21:13 Removing intermediate container 762db545cb2b 03:21:13 ---> 49b14b72a698 03:21:13 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:21:13 ---> Running in cb2815f32065 03:21:14 Removing intermediate container cb2815f32065 03:21:14 ---> 64f2c39a1c74 03:21:14 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:21:14 ---> Running in c8601ea411e6 03:21:16 Removing intermediate container c8601ea411e6 03:21:16 ---> 15d9706349d4 03:21:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:21:16 ---> Running in f58b12133dbe 03:21:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:21:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:21:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:21:19 (2/4) Installing libedit (20210910.3.1-r0) 03:21:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:21:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:21:20 Executing busybox-1.34.1-r3.trigger 03:21:20 OK: 224 MiB in 56 packages 03:21:20 Removing intermediate container f58b12133dbe 03:21:20 ---> 7243f9cdc045 03:21:20 Step 7/12 : WORKDIR /device-mqtt-go 03:21:20 ---> Running in 075cf6e0b647 03:21:21 Removing intermediate container 075cf6e0b647 03:21:21 ---> d53b8f67b28b 03:21:21 Step 8/12 : COPY go.mod vendor* ./ 03:21:21 ---> 185503034e34 03:21:21 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:21:21 ---> Running in fbd2071505ac 03:22:08 Removing intermediate container fbd2071505ac 03:22:08 ---> b4b5a7f79caa 03:22:08 Step 10/12 : COPY . . 03:22:08 ---> e5b426901ee9 03:22:08 Step 11/12 : ARG MAKE='make build' 03:22:08 ---> Running in a221cc5700cf 03:22:08 Removing intermediate container a221cc5700cf 03:22:08 ---> 84932aa058bc 03:22:08 Step 12/12 : RUN $MAKE 03:22:08 ---> Running in e578e6c9f31b 03:22:08 noop 03:22:08 Removing intermediate container e578e6c9f31b 03:22:08 ---> 70df904bae30 03:22:08 Successfully built 70df904bae30 03:22:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:09 + docker inspect -f . ci-base-image-arm64 03:22:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:09 prd-ubuntu20.04-docker-arm64-4c-16g-2305 does not seem to be running inside a container 03:22:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** ci-base-image-arm64 cat 03:22:10 $ docker top df23dc27c708a570ed26b053771a1df576852bbff035e796a14a1b9cc8971823 -eo pid,comm [Pipeline] { [Pipeline] sh 03:22:11 + go version 03:22:11 go version go1.17.7 linux/arm64 [Pipeline] } 03:22:11 $ docker stop --time=1 df23dc27c708a570ed26b053771a1df576852bbff035e796a14a1b9cc8971823 03:22:13 $ docker rm -f df23dc27c708a570ed26b053771a1df576852bbff035e796a14a1b9cc8971823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:22:13 + docker inspect -f . ci-base-image-arm64 03:22:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:22:14 prd-ubuntu20.04-docker-arm64-4c-16g-2305 does not seem to be running inside a container 03:22:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 ******** ci-base-image-arm64 cat 03:22:15 $ docker top 9f151703212b7447bc237dafebdeef46de3d3965266287b09f6799ecb720a25a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:22:16 + make test 03:22:16 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:22:17 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:23:39 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:23:39 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 03:23:39 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:23:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:23:39 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:24:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:24:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:24:06 ./bin/test-attribution-txt.sh 03:24:07 An attribution for golang.org/x/sync is missing from in Attribution.txt, please add 03:24:07 make: *** [Makefile:48: test] Error 1 [Pipeline] } 03:24:07 $ docker stop --time=1 9f151703212b7447bc237dafebdeef46de3d3965266287b09f6799ecb720a25a 03:24:09 $ docker rm -f 9f151703212b7447bc237dafebdeef46de3d3965266287b09f6799ecb720a25a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:10 03:24:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:10 arm64: Pulling from edgex-lftools-log-publisher 03:24:10 8998bd30e6a1: Pulling fs layer 03:24:10 04944245beec: Pulling fs layer 03:24:10 699f458cf7ca: Pulling fs layer 03:24:10 765212b225bb: Pulling fs layer 03:24:10 f23df028b6ca: Pulling fs layer 03:24:10 d65c8cfc05b1: Pulling fs layer 03:24:10 2437ff75d9bd: Pulling fs layer 03:24:10 765212b225bb: Waiting 03:24:10 f23df028b6ca: Waiting 03:24:10 d65c8cfc05b1: Waiting 03:24:10 2437ff75d9bd: Waiting 03:24:10 04944245beec: Verifying Checksum 03:24:10 04944245beec: Download complete 03:24:10 765212b225bb: Verifying Checksum 03:24:10 765212b225bb: Download complete 03:24:10 f23df028b6ca: Verifying Checksum 03:24:11 f23df028b6ca: Download complete 03:24:11 d65c8cfc05b1: Verifying Checksum 03:24:11 d65c8cfc05b1: Download complete 03:24:11 699f458cf7ca: Verifying Checksum 03:24:11 699f458cf7ca: Download complete 03:24:11 8998bd30e6a1: Verifying Checksum 03:24:11 8998bd30e6a1: Download complete 03:24:14 2437ff75d9bd: Verifying Checksum 03:24:14 2437ff75d9bd: Download complete 03:24:16 8998bd30e6a1: Pull complete 03:24:16 04944245beec: Pull complete 03:24:17 699f458cf7ca: Pull complete 03:24:18 765212b225bb: Pull complete 03:24:18 f23df028b6ca: Pull complete 03:24:18 d65c8cfc05b1: Pull complete 03:24:37 2437ff75d9bd: Pull complete 03:24:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:24:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:24:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:37 prd-ubuntu20.04-docker-arm64-4c-16g-2305 does not seem to be running inside a container 03:24:37 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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:arm64 cat 03:24:40 $ docker top 43d54b6f26f941ee5b441f933a578c079309ea3b5118b7d40e8f7dc6a9db4e92 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:41 ---> job-cost.sh 03:24:41 lf-activate-venv: SKIPPING 03:24:41 INFO: No Stack... 03:24:41 INFO: Retrieving Pricing Info for: v3-standard-4 03:24:42 INFO: Archiving Costs [Pipeline] sh 03:24:42 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 03:24:42 + cut -d, -f6 [Pipeline] lock 03:24:43 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] 03:24:43 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] did not exist. Created. 03:24:43 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:24:43 /w/workspace/device-mqtt-go/2@tmp/durable-5218c21d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:24:44 + echo total: 0.10999999940395355 [Pipeline] stash 03:24:44 Warning: overwriting stash ‘stack-cost’ 03:24:44 Stashed 1 file(s) [Pipeline] } 03:24:44 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:24:44 $ docker stop --time=1 43d54b6f26f941ee5b441f933a578c079309ea3b5118b7d40e8f7dc6a9db4e92 03:24:46 $ docker rm -f 43d54b6f26f941ee5b441f933a578c079309ea3b5118b7d40e8f7dc6a9db4e92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:24:46 Failed in branch arm64 [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 03:24:47 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives ] 03:24:47 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 03:24:47 total 16 03:24:47 drwxr-xr-x 3 root root 4096 Jun 13 03:19 . 03:24:47 drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 03:19 .. 03:24:47 drwxr-xr-x 2 root root 4096 Jun 13 03:19 cost 03:24:47 -rw-r--r-- 1 root root 85 Jun 13 03:19 cost.csv 03:24:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 03:24:47 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 03:24:47 total 16 03:24:47 drwxr-xr-x 3 jenkins jenkins 4096 Jun 13 03:19 . 03:24:47 drwxrwxr-x 11 jenkins jenkins 4096 Jun 13 03:19 .. 03:24:47 drwxr-xr-x 2 jenkins jenkins 4096 Jun 13 03:19 cost 03:24:47 -rw-r--r-- 1 jenkins jenkins 85 Jun 13 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:24:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:24:48 ---> package-listing.sh 03:24:48 ++ facter osfamily 03:24:48 ++ tr '[:upper:]' '[:lower:]' 03:24:48 + OS_FAMILY=debian 03:24:48 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-385 03:24:48 + START_PACKAGES=/tmp/packages_start.txt 03:24:48 + END_PACKAGES=/tmp/packages_end.txt 03:24:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:24:48 + PACKAGES=/tmp/packages_start.txt 03:24:48 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' 03:24:48 + PACKAGES=/tmp/packages_end.txt 03:24:48 + case "${OS_FAMILY}" in 03:24:48 + dpkg -l 03:24:48 + grep '^ii' 03:24:48 + '[' -f /tmp/packages_start.txt ']' 03:24:48 + '[' -f /tmp/packages_end.txt ']' 03:24:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:24:48 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' 03:24:48 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/ 03:24:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/ [Pipeline] echo 03:24:48 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-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:24:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:24:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:49 prd-ubuntu20.04-docker-8c-8g-2304 does not seem to be running inside a container 03:24:49 $ 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-385/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-385 -v /w/workspace/gexfoundry_device-mqtt-go_PR-385:/w/workspace/gexfoundry_device-mqtt-go_PR-385:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-385@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 03:24:50 $ docker top 7e0f103d6383361983d74fec0e40ed56811c959a3212f7778e88fcb0cf8d6915 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:50 + touch /tmp/pre-build-complete [Pipeline] sh 03:24:50 + mkdir -p /var/log/sysstat [Pipeline] sh 03:24:51 + ls /var/log/sa-host 03:24:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:51 provisioning config files... 03:24:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config82388014888060379tmp [Pipeline] { [Pipeline] echo 03:24:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:24:51 ---> create-netrc.sh [Pipeline] } 03:24:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:24:51 ---> python-tools-install.sh [Pipeline] echo 03:24:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:24:52 ---> sudo-logs.sh 03:24:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:24:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:24:52 ---> job-cost.sh 03:24:52 lf-activate-venv: SKIPPING 03:24:52 DEBUG: total: 0.2199999988079071 03:24:52 INFO: Retrieving Stack Cost... 03:24:52 INFO: Retrieving Pricing Info for: v3-standard-8 03:24:53 INFO: Archiving Costs [Pipeline] echo 03:24:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:24:53 ---> logs-deploy.sh 03:24:53 lf-activate-venv: SKIPPING 03:24:53 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-385/2 03:24:53 INFO: archiving workspace using pattern(s): 03:24:54 Archives upload complete. 03:24:54 INFO: archiving logs to Nexus