cloudxxx8 commented: recheck 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-ssh1524775754770719186.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-ssh16809462662287644038.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-ssh13544353550201118434.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-ssh457033117637446041.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-ssh5692497942656852811.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2433 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 > 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 Merging remotes/origin/main commit 8114a0a5788dfb33e69c59c13f1ac2f90e850568 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a Merge succeeded, producing 41628de7525a5157e7c3b8be53ea8c6fcddddffe Checking out Revision 41628de7525a5157e7c3b8be53ea8c6fcddddffe (PR-385) > 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 41628de7525a5157e7c3b8be53ea8c6fcddddffe # timeout=10 Commit message: "Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:35:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:35:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:35:33 ========================================================= 01:35:33 EdgeX Global Pipelines Version Info 01:35:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 62306c4adbdca55da5a026bd6518b65a996beead # timeout=10 01:35:34 ------------------- 01:35:34 stable info: 01:35:34 ------------------- 01:35:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:35:34 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 01:35:34 Message: update stable to v1.0.234 01:35:34 ------------------- 01:35:34 experimental info: 01:35:34 ------------------- 01:35:34 Commited By: **** collab-it+edgex@linuxfoundation.org 01:35:34 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 01:35:34 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 41628de7525a5157e7c3b8be53ea8c6fcddddffe [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 41628de [Pipeline] echo 01:35:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:35 provisioning config files... 01:35:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config1271110575236389895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:35 ---> docker-login.sh 01:35:35 nexus3.edgexfoundry.org:10001 01:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:36 Configure a credential helper to remove this warning. See 01:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:36 01:35:36 Login Succeeded 01:35:36 nexus3.edgexfoundry.org:10002 01:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:36 Configure a credential helper to remove this warning. See 01:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:36 01:35:36 Login Succeeded 01:35:36 nexus3.edgexfoundry.org:10003 01:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:36 Configure a credential helper to remove this warning. See 01:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:36 01:35:36 Login Succeeded 01:35:36 nexus3.edgexfoundry.org:10004 01:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:36 Configure a credential helper to remove this warning. See 01:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:36 01:35:36 Login Succeeded 01:35:36 docker.io 01:35:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:37 Configure a credential helper to remove this warning. See 01:35:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:37 01:35:37 Login Succeeded 01:35:37 ---> docker-login.sh ends [Pipeline] } 01:35:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:35:37 + git rev-list -1 --merges 41628de7525a5157e7c3b8be53ea8c6fcddddffe~1..41628de7525a5157e7c3b8be53ea8c6fcddddffe [Pipeline] echo 01:35:37 -----------> git rev-list -1 --merges 41628de7525a5157e7c3b8be53ea8c6fcddddffe~1..41628de7525a5157e7c3b8be53ea8c6fcddddffe 41628de7525a5157e7c3b8be53ea8c6fcddddffe 01:35:37 41628de7525a5157e7c3b8be53ea8c6fcddddffe [false] [Pipeline] sh 01:35:38 + git log --format=format:%s -1 41628de7525a5157e7c3b8be53ea8c6fcddddffe [Pipeline] echo 01:35:38 ========================================================= 01:35:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:35:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:38 + git log --format=format:%s -1 41628de7525a5157e7c3b8be53ea8c6fcddddffe [Pipeline] echo 01:35:38 [semverPrep] GIT_COMMIT: 41628de7525a5157e7c3b8be53ea8c6fcddddffe, Commit Message: Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD [Pipeline] echo 01:35:38 [semverPrep] This is not a build commit. [Pipeline] sh 01:35:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:35:38 + grep -v github /etc/ssh/ssh_known_hosts 01:35:38 + [ -e /tmp/ssh_known_hosts ] 01:35:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:35:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:35:38 + sudo tee -a /etc/ssh/ssh_known_hosts 01:35:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:35:39 01:35:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:35:39 0.1.4: Pulling from edgex-devops/py-git-semver 01:35:39 42c077c10790: Pulling fs layer 01:35:39 f63e77b7563a: Pulling fs layer 01:35:39 bd5fdadae976: Pulling fs layer 01:35:39 205491f53016: Pulling fs layer 01:35:39 df18705c85c3: Pulling fs layer 01:35:39 bdb3f477010e: Pulling fs layer 01:35:39 c8a8fc8e1c8f: Pulling fs layer 01:35:39 2c6e9b1d212d: Pulling fs layer 01:35:39 bdb8f0575790: Pulling fs layer 01:35:39 205491f53016: Waiting 01:35:39 2c6e9b1d212d: Waiting 01:35:39 bdb3f477010e: Waiting 01:35:39 386e3cb2ff24: Pulling fs layer 01:35:39 2343380bae48: Pulling fs layer 01:35:39 bdb8f0575790: Waiting 01:35:39 386e3cb2ff24: Waiting 01:35:39 2343380bae48: Waiting 01:35:39 f63e77b7563a: Verifying Checksum 01:35:39 f63e77b7563a: Download complete 01:35:39 205491f53016: Verifying Checksum 01:35:39 205491f53016: Download complete 01:35:39 bd5fdadae976: Verifying Checksum 01:35:39 bd5fdadae976: Download complete 01:35:39 df18705c85c3: Verifying Checksum 01:35:39 df18705c85c3: Download complete 01:35:39 bdb3f477010e: Verifying Checksum 01:35:39 bdb3f477010e: Download complete 01:35:39 2c6e9b1d212d: Verifying Checksum 01:35:39 2c6e9b1d212d: Download complete 01:35:39 bdb8f0575790: Verifying Checksum 01:35:39 bdb8f0575790: Download complete 01:35:39 386e3cb2ff24: Verifying Checksum 01:35:39 386e3cb2ff24: Download complete 01:35:39 2343380bae48: Verifying Checksum 01:35:39 2343380bae48: Download complete 01:35:39 42c077c10790: Verifying Checksum 01:35:39 42c077c10790: Download complete 01:35:40 c8a8fc8e1c8f: Verifying Checksum 01:35:40 c8a8fc8e1c8f: Download complete 01:35:41 42c077c10790: Pull complete 01:35:41 f63e77b7563a: Pull complete 01:35:42 bd5fdadae976: Pull complete 01:35:42 205491f53016: Pull complete 01:35:42 df18705c85c3: Pull complete 01:35:42 bdb3f477010e: Pull complete 01:35:44 c8a8fc8e1c8f: Pull complete 01:35:44 2c6e9b1d212d: Pull complete 01:35:44 bdb8f0575790: Pull complete 01:35:44 386e3cb2ff24: Pull complete 01:35:44 2343380bae48: Pull complete 01:35:44 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 01:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:35:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:44 prd-ubuntu20.04-docker-8c-8g-2433 does not seem to be running inside a container 01:35:44 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:35:46 $ docker top 700b8ebdc491a51e06973d695b17217efa8e3ac7ce5ffe9a791ea9c2366152bc -eo pid,comm 01:35:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:35:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:35:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:35:46 [ssh-agent] Looking for ssh-agent implementation... 01:35:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:35:46 $ docker exec 700b8ebdc491a51e06973d695b17217efa8e3ac7ce5ffe9a791ea9c2366152bc ssh-agent 01:35:47 SSH_AUTH_SOCK=/tmp/ssh-pjJ5JECMIDSg/agent.33 01:35:47 SSH_AGENT_PID=39 01:35:47 Running ssh-add (command line suppressed) 01:35:47 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_5413579134427197048.key (/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_5413579134427197048.key) 01:35:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:35:47 + git tag --points-at HEAD [Pipeline] } 01:35:47 $ docker exec --env ******** --env ******** 700b8ebdc491a51e06973d695b17217efa8e3ac7ce5ffe9a791ea9c2366152bc ssh-agent -k 01:35:47 unset SSH_AUTH_SOCK; 01:35:47 unset SSH_AGENT_PID; 01:35:47 echo Agent pid 39 killed; 01:35:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:35:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:35:47 [ssh-agent] Looking for ssh-agent implementation... 01:35:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:35:47 $ docker exec 700b8ebdc491a51e06973d695b17217efa8e3ac7ce5ffe9a791ea9c2366152bc ssh-agent 01:35:47 SSH_AUTH_SOCK=/tmp/ssh-Wo0OhziW8Lm7/agent.74 01:35:47 SSH_AGENT_PID=80 01:35:47 Running ssh-add (command line suppressed) 01:35:48 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_1673628860336484018.key (/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_1673628860336484018.key) 01:35:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:35:48 + git semver init 01:35:48 2022-06-15 01:35:48,610 [run_init] DEBUG init version:0.0.0 force:False 01:35:48 2022-06-15 01:35:48,611 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver 01:35:48 2022-06-15 01:35:48,612 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver 01:35:48 2022-06-15 01:35:48,612 [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) 01:35:49 2022-06-15 01:35:49,247 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.git/info/exclude 01:35:49 2022-06-15 01:35:49,248 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 with force:False 01:35:49 2022-06-15 01:35:49,248 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 01:35:49 2022-06-15 01:35:49,252 [execute] INFO git cat-file --batch-check 01:35:49 2022-06-15 01:35:49,253 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 01:35:49 2022-06-15 01:35:49,259 [execute] INFO git cat-file --batch 01:35:49 2022-06-15 01:35:49,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 01:35:49 2022-06-15 01:35:49,263 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 01:35:49 0.0.0 [Pipeline] } 01:35:49 $ docker exec --env ******** --env ******** 700b8ebdc491a51e06973d695b17217efa8e3ac7ce5ffe9a791ea9c2366152bc ssh-agent -k 01:35:49 unset SSH_AUTH_SOCK; 01:35:49 unset SSH_AGENT_PID; 01:35:49 echo Agent pid 80 killed; 01:35:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:35:50 + git semver [Pipeline] } 01:35:50 $ docker stop --time=1 700b8ebdc491a51e06973d695b17217efa8e3ac7ce5ffe9a791ea9c2366152bc 01:35:51 $ docker rm -f 700b8ebdc491a51e06973d695b17217efa8e3ac7ce5ffe9a791ea9c2366152bc [Pipeline] // withDockerContainer [Pipeline] sh 01:35:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:35:52 Stashed 1 file(s) [Pipeline] echo 01:35:52 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:52 provisioning config files... 01:35:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config8035035947023583409tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:52 ---> docker-login.sh 01:35:52 nexus3.edgexfoundry.org:10001 01:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:52 Configure a credential helper to remove this warning. See 01:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:52 01:35:52 Login Succeeded 01:35:52 nexus3.edgexfoundry.org:10002 01:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:52 Configure a credential helper to remove this warning. See 01:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:52 01:35:52 Login Succeeded 01:35:52 nexus3.edgexfoundry.org:10003 01:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:52 Configure a credential helper to remove this warning. See 01:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:52 01:35:52 Login Succeeded 01:35:52 nexus3.edgexfoundry.org:10004 01:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:53 Configure a credential helper to remove this warning. See 01:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:53 01:35:53 Login Succeeded 01:35:53 docker.io 01:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:53 Configure a credential helper to remove this warning. See 01:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:53 01:35:53 Login Succeeded 01:35:53 ---> docker-login.sh ends [Pipeline] } 01:35:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:35:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:53 ========================================================= 01:35:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:35:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:53 + 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 . 01:35:53 Sending build context to Docker daemon 6.012MB 01:35:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:35:53 Step 2/12 : FROM ${BASE} AS builder 01:35:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:35:53 59bf1c3509f3: Pulling fs layer 01:35:53 666ba61612fd: Pulling fs layer 01:35:53 8ed8ca486205: Pulling fs layer 01:35:53 cc1cd167ecdc: Pulling fs layer 01:35:53 c516ae0d96e1: Pulling fs layer 01:35:53 684cea983483: Pulling fs layer 01:35:53 dd3240ac7de5: Pulling fs layer 01:35:53 b1e948a4e11c: Pulling fs layer 01:35:53 a8fd76ee1af6: Pulling fs layer 01:35:53 646ad004c059: Pulling fs layer 01:35:53 cc1cd167ecdc: Waiting 01:35:53 c516ae0d96e1: Waiting 01:35:53 684cea983483: Waiting 01:35:53 dd3240ac7de5: Waiting 01:35:53 646ad004c059: Waiting 01:35:53 b1e948a4e11c: Waiting 01:35:53 a8fd76ee1af6: Waiting 01:35:53 8ed8ca486205: Verifying Checksum 01:35:53 8ed8ca486205: Download complete 01:35:54 666ba61612fd: Download complete 01:35:54 c516ae0d96e1: Verifying Checksum 01:35:54 c516ae0d96e1: Download complete 01:35:54 684cea983483: Verifying Checksum 01:35:54 684cea983483: Download complete 01:35:54 59bf1c3509f3: Verifying Checksum 01:35:54 dd3240ac7de5: Download complete 01:35:54 b1e948a4e11c: Verifying Checksum 01:35:54 b1e948a4e11c: Download complete 01:35:54 59bf1c3509f3: Pull complete 01:35:54 666ba61612fd: Pull complete 01:35:54 8ed8ca486205: Pull complete 01:35:54 646ad004c059: Verifying Checksum 01:35:54 646ad004c059: Download complete 01:35:54 a8fd76ee1af6: Download complete 01:35:54 cc1cd167ecdc: Verifying Checksum 01:35:54 cc1cd167ecdc: Download complete 01:35:59 cc1cd167ecdc: Pull complete 01:35:59 c516ae0d96e1: Pull complete 01:35:59 684cea983483: Pull complete 01:35:59 dd3240ac7de5: Pull complete 01:35:59 b1e948a4e11c: Pull complete 01:36:01 a8fd76ee1af6: Pull complete 01:36:02 646ad004c059: Pull complete 01:36:02 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 01:36:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:36:02 ---> 8f69c11f6b0c 01:36:02 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:36:04 ---> Running in 4d8fffa340b9 01:36:04 Removing intermediate container 4d8fffa340b9 01:36:04 ---> 093428b3cb89 01:36:04 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:36:04 ---> Running in b38029c8d8da 01:36:04 Removing intermediate container b38029c8d8da 01:36:04 ---> df3940d2f4b1 01:36:04 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:36:04 ---> Running in 7542e7ae3220 01:36:05 Removing intermediate container 7542e7ae3220 01:36:05 ---> e8cbf219e7f8 01:36:05 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:05 ---> Running in 2edaad9a27da 01:36:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:36:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:36:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:36:06 (2/4) Installing libedit (20210910.3.1-r0) 01:36:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:36:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:36:07 Executing busybox-1.34.1-r3.trigger 01:36:07 OK: 224 MiB in 56 packages 01:36:07 Still waiting to schedule task 01:36:07 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:36:07 Removing intermediate container 2edaad9a27da 01:36:07 ---> 643cd058935e 01:36:07 Step 7/12 : WORKDIR /device-mqtt-go 01:36:07 ---> Running in dd379002c7e7 01:36:07 Removing intermediate container dd379002c7e7 01:36:07 ---> cfdbddafdf1a 01:36:07 Step 8/12 : COPY go.mod vendor* ./ 01:36:07 ---> 082619007395 01:36:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:07 ---> Running in ecb68b6b6801 01:36:29 Removing intermediate container ecb68b6b6801 01:36:29 ---> 40804bb693b5 01:36:29 Step 10/12 : COPY . . 01:36:30 ---> 3d1904fb5f9f 01:36:30 Step 11/12 : ARG MAKE='make build' 01:36:30 ---> Running in 3f2f8f7be211 01:36:30 Removing intermediate container 3f2f8f7be211 01:36:30 ---> a53e16ff011f 01:36:30 Step 12/12 : RUN $MAKE 01:36:30 ---> Running in ebb1e6e5b805 01:36:30 noop 01:36:30 Removing intermediate container ebb1e6e5b805 01:36:30 ---> b240915dc8f2 01:36:30 Successfully built b240915dc8f2 01:36:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:31 + docker inspect -f . ci-base-image-x86_64 01:36:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:31 prd-ubuntu20.04-docker-8c-8g-2433 does not seem to be running inside a container 01:36:31 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:36:31 $ docker top 804bd72525c2ec308661004edc711d4f75a42662461c2d897d681b26760b24c1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:32 + go version 01:36:32 go version go1.17.7 linux/amd64 [Pipeline] } 01:36:32 $ docker stop --time=1 804bd72525c2ec308661004edc711d4f75a42662461c2d897d681b26760b24c1 01:36:33 $ docker rm -f 804bd72525c2ec308661004edc711d4f75a42662461c2d897d681b26760b24c1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:33 + docker inspect -f . ci-base-image-x86_64 01:36:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:33 prd-ubuntu20.04-docker-8c-8g-2433 does not seem to be running inside a container 01:36:34 $ 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 ******** -e ******** ci-base-image-x86_64 cat 01:36:34 $ docker top bb9f39aa32b8a49e49b3f7159ff6d8e02dc0381d178bbfa96e8ed9ac58f8ff96 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:36:34 + make test 01:36:34 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:36:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:36:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:36:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 01:36:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:36:50 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:36:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:36:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:36:53 ./bin/test-attribution-txt.sh 01:36:54 An attribution for golang.org/x/sync is missing from in Attribution.txt, please add 01:36:54 make: *** [Makefile:48: test] Error 1 [Pipeline] } 01:36:54 $ docker stop --time=1 bb9f39aa32b8a49e49b3f7159ff6d8e02dc0381d178bbfa96e8ed9ac58f8ff96 01:36:56 $ docker rm -f bb9f39aa32b8a49e49b3f7159ff6d8e02dc0381d178bbfa96e8ed9ac58f8ff96 [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 01:36:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:36:56 01:36:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:36:57 latest: Pulling from edgex-lftools-log-publisher 01:36:57 5eb5b503b376: Pulling fs layer 01:36:57 5c69ac0246d0: Pulling fs layer 01:36:57 ec43610c2a17: Pulling fs layer 01:36:57 3a2ae6a8a46f: Pulling fs layer 01:36:57 33b1e0a273af: Pulling fs layer 01:36:57 5d3b04190fa2: Pulling fs layer 01:36:57 2f39f015ded8: Pulling fs layer 01:36:57 3a2ae6a8a46f: Waiting 01:36:57 33b1e0a273af: Waiting 01:36:57 5d3b04190fa2: Waiting 01:36:57 2f39f015ded8: Waiting 01:36:57 5c69ac0246d0: Verifying Checksum 01:36:57 5c69ac0246d0: Download complete 01:36:57 3a2ae6a8a46f: Verifying Checksum 01:36:57 3a2ae6a8a46f: Download complete 01:36:57 33b1e0a273af: Verifying Checksum 01:36:57 33b1e0a273af: Download complete 01:36:57 5d3b04190fa2: Verifying Checksum 01:36:57 5d3b04190fa2: Download complete 01:36:57 ec43610c2a17: Verifying Checksum 01:36:57 ec43610c2a17: Download complete 01:36:57 5eb5b503b376: Verifying Checksum 01:36:57 5eb5b503b376: Download complete 01:36:58 2f39f015ded8: Download complete 01:36:58 5eb5b503b376: Pull complete 01:36:58 5c69ac0246d0: Pull complete 01:36:59 ec43610c2a17: Pull complete 01:36:59 3a2ae6a8a46f: Pull complete 01:36:59 33b1e0a273af: Pull complete 01:36:59 5d3b04190fa2: Pull complete 01:37:04 2f39f015ded8: Pull complete 01:37:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:37:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:37:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:04 prd-ubuntu20.04-docker-8c-8g-2433 does not seem to be running inside a container 01:37:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:37:06 $ docker top f43b426e399ad8b80f76428069f990606fa90017d55c10fcb61e9118485f7552 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:06 ---> job-cost.sh 01:37:06 lf-activate-venv: SKIPPING 01:37:06 INFO: No Stack... 01:37:06 INFO: Retrieving Pricing Info for: v3-standard-8 01:37:07 INFO: Archiving Costs [Pipeline] sh 01:37:07 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/cost.csv 01:37:07 + cut -d, -f6 [Pipeline] lock 01:37:07 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-3-stack-cost] 01:37:07 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-3-stack-cost] did not exist. Created. 01:37:07 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:37:07 + echo total: 0.2199999988079071 [Pipeline] stash 01:37:08 Stashed 1 file(s) [Pipeline] } 01:37:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:37:08 $ docker stop --time=1 f43b426e399ad8b80f76428069f990606fa90017d55c10fcb61e9118485f7552 01:37:09 $ docker rm -f f43b426e399ad8b80f76428069f990606fa90017d55c10fcb61e9118485f7552 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:37:09 Failed in branch amd64 01:38:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2435 in /w/workspace/gexfoundry_device-mqtt-go_PR-385 [Pipeline] { [Pipeline] ws 01:38:43 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 01:38:43 Selected Git installation does not exist. Using Default 01:38:43 The recommended git tool is: NONE 01:38:50 using credential edgex-jenkins-ssh 01:38:50 Cloning the remote Git repository 01:38:50 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:38:50 > git init /w/workspace/device-mqtt-go/3 # timeout=10 01:38:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:38:50 > git --version # timeout=10 01:38:50 > git --version # 'git version 2.25.1' 01:38:50 using GIT_SSH to set credentials SSH Credentials for GitHub 01:38:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:38:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:38:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:38:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:38:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:38:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:38:52 > 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 01:38:52 Merging remotes/origin/main commit 8114a0a5788dfb33e69c59c13f1ac2f90e850568 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a 01:38:52 Merge succeeded, producing a6a450babf5cbc9e1e03620dd8a67762b67e3632 01:38:52 Checking out Revision a6a450babf5cbc9e1e03620dd8a67762b67e3632 (PR-385) 01:38:52 > git config core.sparsecheckout # timeout=10 01:38:52 > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 01:38:52 > git remote # timeout=10 01:38:52 > git config --get remote.origin.url # timeout=10 01:38:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:38:52 > git merge 8114a0a5788dfb33e69c59c13f1ac2f90e850568 # timeout=10 01:38:52 > git rev-parse HEAD^{commit} # timeout=10 01:38:52 > git config core.sparsecheckout # timeout=10 01:38:52 > git checkout -f a6a450babf5cbc9e1e03620dd8a67762b67e3632 # timeout=10 01:38:57 Commit message: "Merge commit '8114a0a5788dfb33e69c59c13f1ac2f90e850568' into HEAD" 01:38:57 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:38:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:38:58 % Total % Received % Xferd Average Speed Time Time Time Current 01:38:58 Dload Upload Total Spent Left Speed 01:38:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 85090 0 --:--:-- --:--:-- --:--:-- 85090 [Pipeline] sh 01:38:57 > git rev-list --no-walk 62306c4adbdca55da5a026bd6518b65a996beead # timeout=10 01:38:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:38:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:38:59 + sudo tee /etc/docker/daemon.new 01:38:59 { 01:38:59 "registry-mirrors": [ 01:38:59 "https://nexus3.edgexfoundry.org:10001" 01:38:59 ], 01:38:59 "bip": "10.250.0.254/24", 01:38:59 "hosts": [ 01:38:59 "tcp://0.0.0.0:5555", 01:38:59 "unix:///var/run/docker.sock" 01:38:59 ], 01:38:59 "mtu": 1458, 01:38:59 "selinux-enabled": true, 01:38:59 "seccomp-profile": "/etc/docker/seccomp.json" 01:38:59 } [Pipeline] sh 01:38:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:38:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:18 provisioning config files... 01:39:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config1712062230459712029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:18 ---> docker-login.sh 01:39:18 nexus3.edgexfoundry.org:10001 01:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:19 Configure a credential helper to remove this warning. See 01:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:19 01:39:19 Login Succeeded 01:39:19 nexus3.edgexfoundry.org:10002 01:39:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:20 Configure a credential helper to remove this warning. See 01:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:20 01:39:20 Login Succeeded 01:39:20 nexus3.edgexfoundry.org:10003 01:39:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:20 Configure a credential helper to remove this warning. See 01:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:20 01:39:20 Login Succeeded 01:39:20 nexus3.edgexfoundry.org:10004 01:39:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:20 Configure a credential helper to remove this warning. See 01:39:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:20 01:39:20 Login Succeeded 01:39:20 docker.io 01:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:21 Configure a credential helper to remove this warning. See 01:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:21 01:39:21 Login Succeeded 01:39:21 ---> docker-login.sh ends [Pipeline] } 01:39:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:39:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:39:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:39:22 ========================================================= 01:39:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:39:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:22 + 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 . 01:39:23 Sending build context to Docker daemon 3.115MB 01:39:23 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:39:23 Step 2/12 : FROM ${BASE} AS builder 01:39:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:39:23 9b3977197b4f: Pulling fs layer 01:39:23 1a89e8eeedd5: Pulling fs layer 01:39:23 94645a83ff95: Pulling fs layer 01:39:23 e6fb740bc735: Pulling fs layer 01:39:23 3a77bd46dcc9: Pulling fs layer 01:39:23 355e64cbe906: Pulling fs layer 01:39:23 63ab81a10011: Pulling fs layer 01:39:23 555d1d1c4555: Pulling fs layer 01:39:23 7d9057610161: Pulling fs layer 01:39:23 e6fb740bc735: Waiting 01:39:23 3a77bd46dcc9: Waiting 01:39:23 355e64cbe906: Waiting 01:39:23 63ab81a10011: Waiting 01:39:23 555d1d1c4555: Waiting 01:39:23 7d9057610161: Waiting 01:39:23 94645a83ff95: Verifying Checksum 01:39:23 94645a83ff95: Download complete 01:39:23 1a89e8eeedd5: Verifying Checksum 01:39:23 1a89e8eeedd5: Download complete 01:39:23 3a77bd46dcc9: Verifying Checksum 01:39:23 3a77bd46dcc9: Download complete 01:39:23 355e64cbe906: Verifying Checksum 01:39:23 355e64cbe906: Download complete 01:39:23 9b3977197b4f: Verifying Checksum 01:39:23 63ab81a10011: Verifying Checksum 01:39:23 63ab81a10011: Download complete 01:39:24 9b3977197b4f: Pull complete 01:39:24 7d9057610161: Verifying Checksum 01:39:24 7d9057610161: Download complete 01:39:25 1a89e8eeedd5: Pull complete 01:39:25 94645a83ff95: Pull complete 01:39:25 555d1d1c4555: Verifying Checksum 01:39:25 555d1d1c4555: Download complete 01:39:26 e6fb740bc735: Verifying Checksum 01:39:26 e6fb740bc735: Download complete 01:39:38 e6fb740bc735: Pull complete 01:39:38 3a77bd46dcc9: Pull complete 01:39:38 355e64cbe906: Pull complete 01:39:38 63ab81a10011: Pull complete 01:39:45 555d1d1c4555: Pull complete 01:39:47 7d9057610161: Pull complete 01:39:47 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 01:39:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:39:47 ---> 819e984ddca1 01:39:47 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:39:48 ---> Running in 58021bd72e79 01:39:48 Removing intermediate container 58021bd72e79 01:39:48 ---> 40ecf7044183 01:39:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:39:48 ---> Running in 5349d8e841b8 01:39:48 Removing intermediate container 5349d8e841b8 01:39:48 ---> ae557e57b1cc 01:39:48 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:39:48 ---> Running in 7dd3220a6a90 01:39:50 Removing intermediate container 7dd3220a6a90 01:39:50 ---> 8e7d322ce419 01:39:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:39:50 ---> Running in 646afc73693a 01:39:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:39:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:39:53 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:39:53 (2/4) Installing libedit (20210910.3.1-r0) 01:39:53 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:39:53 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:39:53 Executing busybox-1.34.1-r3.trigger 01:39:53 OK: 224 MiB in 56 packages 01:39:54 Removing intermediate container 646afc73693a 01:39:54 ---> acddffeaa6e0 01:39:54 Step 7/12 : WORKDIR /device-mqtt-go 01:39:55 ---> Running in 417f73acdb96 01:39:55 Removing intermediate container 417f73acdb96 01:39:55 ---> 458b9f55ddc0 01:39:55 Step 8/12 : COPY go.mod vendor* ./ 01:39:55 ---> ff4d05fa9dba 01:39:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:39:55 ---> Running in 32099b5b0fe6 01:40:42 Removing intermediate container 32099b5b0fe6 01:40:42 ---> 08c8366516fa 01:40:42 Step 10/12 : COPY . . 01:40:42 ---> a16d2c5a05ec 01:40:42 Step 11/12 : ARG MAKE='make build' 01:40:42 ---> Running in 87413bcc5733 01:40:42 Removing intermediate container 87413bcc5733 01:40:42 ---> 2eef93c4ba29 01:40:42 Step 12/12 : RUN $MAKE 01:40:42 ---> Running in 03621a7e81f8 01:40:43 noop 01:40:43 Removing intermediate container 03621a7e81f8 01:40:43 ---> 1732590b70c7 01:40:43 Successfully built 1732590b70c7 01:40:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:44 + docker inspect -f . ci-base-image-arm64 01:40:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:44 prd-ubuntu20.04-docker-arm64-4c-16g-2435 does not seem to be running inside a container 01:40:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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-arm64 cat 01:40:45 $ docker top 3fd6dd84789b5863a3ef67792bfd17813b89991c154b1d3ac0af67e6e849e180 -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:46 + go version 01:40:46 go version go1.17.7 linux/arm64 [Pipeline] } 01:40:46 $ docker stop --time=1 3fd6dd84789b5863a3ef67792bfd17813b89991c154b1d3ac0af67e6e849e180 01:40:48 $ docker rm -f 3fd6dd84789b5863a3ef67792bfd17813b89991c154b1d3ac0af67e6e849e180 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:49 + docker inspect -f . ci-base-image-arm64 01:40:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:49 prd-ubuntu20.04-docker-arm64-4c-16g-2435 does not seem to be running inside a container 01:40:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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-arm64 cat 01:40:51 $ docker top 59983d478b57c8076f768bca92653f8f8ee74831e1317dcf3bf0bf533ee6cd1b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:40:51 + make test 01:40:51 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:40:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:42:15 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:42:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements 01:42:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:42:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:42:15 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:42:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:42:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:42:42 ./bin/test-attribution-txt.sh 01:42:46 An attribution for golang.org/x/sync is missing from in Attribution.txt, please add 01:42:46 make: *** [Makefile:48: test] Error 1 [Pipeline] } 01:42:46 $ docker stop --time=1 59983d478b57c8076f768bca92653f8f8ee74831e1317dcf3bf0bf533ee6cd1b 01:42:48 $ docker rm -f 59983d478b57c8076f768bca92653f8f8ee74831e1317dcf3bf0bf533ee6cd1b [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 01:42:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:49 01:42:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:49 arm64: Pulling from edgex-lftools-log-publisher 01:42:49 8998bd30e6a1: Pulling fs layer 01:42:49 04944245beec: Pulling fs layer 01:42:49 699f458cf7ca: Pulling fs layer 01:42:49 765212b225bb: Pulling fs layer 01:42:49 f23df028b6ca: Pulling fs layer 01:42:49 d65c8cfc05b1: Pulling fs layer 01:42:49 2437ff75d9bd: Pulling fs layer 01:42:49 f23df028b6ca: Waiting 01:42:49 765212b225bb: Waiting 01:42:49 d65c8cfc05b1: Waiting 01:42:49 2437ff75d9bd: Waiting 01:42:49 04944245beec: Verifying Checksum 01:42:49 04944245beec: Download complete 01:42:49 765212b225bb: Download complete 01:42:50 f23df028b6ca: Verifying Checksum 01:42:50 f23df028b6ca: Download complete 01:42:50 d65c8cfc05b1: Verifying Checksum 01:42:50 d65c8cfc05b1: Download complete 01:42:50 699f458cf7ca: Verifying Checksum 01:42:50 699f458cf7ca: Download complete 01:42:50 8998bd30e6a1: Verifying Checksum 01:42:50 8998bd30e6a1: Download complete 01:42:53 2437ff75d9bd: Verifying Checksum 01:42:53 2437ff75d9bd: Download complete 01:42:55 8998bd30e6a1: Pull complete 01:42:55 04944245beec: Pull complete 01:42:56 699f458cf7ca: Pull complete 01:42:57 765212b225bb: Pull complete 01:42:58 f23df028b6ca: Pull complete 01:42:58 d65c8cfc05b1: Pull complete 01:43:14 2437ff75d9bd: Pull complete 01:43:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:43:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:14 prd-ubuntu20.04-docker-arm64-4c-16g-2435 does not seem to be running inside a container 01:43:14 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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:arm64 cat 01:43:16 $ docker top 74a446ce1eedcb3791e436e0524778da280bbc580d6a195dde692a4d578c137e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:43:17 ---> job-cost.sh 01:43:17 lf-activate-venv: SKIPPING 01:43:17 INFO: No Stack... 01:43:18 INFO: Retrieving Pricing Info for: v3-standard-4 01:43:19 INFO: Archiving Costs [Pipeline] sh 01:43:19 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 01:43:19 + cut -d, -f6 [Pipeline] lock 01:43:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-3-stack-cost] 01:43:19 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-3-stack-cost] did not exist. Created. 01:43:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:20 /w/workspace/device-mqtt-go/3@tmp/durable-fc00b91e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:43:21 + echo total: 0.10999999940395355 [Pipeline] stash 01:43:21 Warning: overwriting stash ‘stack-cost’ 01:43:21 Stashed 1 file(s) [Pipeline] } 01:43:21 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:21 $ docker stop --time=1 74a446ce1eedcb3791e436e0524778da280bbc580d6a195dde692a4d578c137e 01:43:23 $ docker rm -f 74a446ce1eedcb3791e436e0524778da280bbc580d6a195dde692a4d578c137e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:43:23 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 01:43:24 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives ] 01:43:24 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 01:43:24 total 16 01:43:24 drwxr-xr-x 3 root root 4096 Jun 15 01:37 . 01:43:24 drwxrwxr-x 11 jenkins jenkins 4096 Jun 15 01:37 .. 01:43:24 drwxr-xr-x 2 root root 4096 Jun 15 01:37 cost 01:43:24 -rw-r--r-- 1 root root 85 Jun 15 01:37 cost.csv 01:43:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 01:43:24 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 01:43:24 total 16 01:43:24 drwxr-xr-x 3 jenkins jenkins 4096 Jun 15 01:37 . 01:43:24 drwxrwxr-x 11 jenkins jenkins 4096 Jun 15 01:37 .. 01:43:24 drwxr-xr-x 2 jenkins jenkins 4096 Jun 15 01:37 cost 01:43:24 -rw-r--r-- 1 jenkins jenkins 85 Jun 15 01:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:43:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:43:25 ---> package-listing.sh 01:43:25 ++ tr '[:upper:]' '[:lower:]' 01:43:25 ++ facter osfamily 01:43:25 + OS_FAMILY=debian 01:43:25 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-385 01:43:25 + START_PACKAGES=/tmp/packages_start.txt 01:43:25 + END_PACKAGES=/tmp/packages_end.txt 01:43:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:43:25 + PACKAGES=/tmp/packages_start.txt 01:43:25 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' 01:43:25 + PACKAGES=/tmp/packages_end.txt 01:43:25 + case "${OS_FAMILY}" in 01:43:25 + dpkg -l 01:43:25 + grep '^ii' 01:43:25 + '[' -f /tmp/packages_start.txt ']' 01:43:25 + '[' -f /tmp/packages_end.txt ']' 01:43:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:43:25 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' 01:43:25 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/ 01:43:25 + 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 01:43:25 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-385/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:43:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:26 prd-ubuntu20.04-docker-8c-8g-2433 does not seem to be running inside a container 01:43:26 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:43:26 $ docker top eef3cc3a455a694a02064c6bc3b0b8a8d565a8c95eafc097c1f6e8c6911dd64e -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:27 + touch /tmp/pre-build-complete [Pipeline] sh 01:43:27 + mkdir -p /var/log/sysstat [Pipeline] sh 01:43:27 + ls /var/log/sa-host 01:43:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:27 provisioning config files... 01:43:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config6122140710334848786tmp [Pipeline] { [Pipeline] echo 01:43:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:43:28 ---> create-netrc.sh [Pipeline] } 01:43:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:43:28 ---> python-tools-install.sh [Pipeline] echo 01:43:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:43:28 ---> sudo-logs.sh 01:43:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:43:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:43:29 ---> job-cost.sh 01:43:29 lf-activate-venv: SKIPPING 01:43:29 DEBUG: total: 0.2199999988079071 01:43:29 INFO: Retrieving Stack Cost... 01:43:29 INFO: Retrieving Pricing Info for: v3-standard-8 01:43:30 INFO: Archiving Costs [Pipeline] echo 01:43:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:43:30 ---> logs-deploy.sh 01:43:30 lf-activate-venv: SKIPPING 01:43:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-385/3 01:43:30 INFO: archiving workspace using pattern(s): 01:43:31 Archives upload complete. 01:43:31 INFO: archiving logs to Nexus