Pull request #385 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a+7519713814a588af452d23e7e2efd8901124a458 (9490932f79c2537c629147c3f76aea172cf2ac01) 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-ssh5201404629420751556.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh10588116919590982176.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17054205373468284495.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14576089398272532960.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5146357779866563568.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-385/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9656277899791876591.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 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 ‘prd-ubuntu20.04-docker-8c-8g-1088’ Running on prd-ubuntu20.04-docker-8c-8g-1095 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 7519713814a588af452d23e7e2efd8901124a458 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a Merge succeeded, producing 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a Checking out Revision 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a (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 7519713814a588af452d23e7e2efd8901124a458 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:28:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:28:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:28:06 ========================================================= 01:28:06 EdgeX Global Pipelines Version Info 01:28:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:28:07 ------------------- 01:28:07 stable info: 01:28:07 ------------------- 01:28:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:28:07 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 01:28:07 Message: update stable to v1.0.232 01:28:08 ------------------- 01:28:08 experimental info: 01:28:08 ------------------- 01:28:08 Commited By: **** collab-it+edgex@linuxfoundation.org 01:28:08 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 01:28:08 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:28:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43fe762 [Pipeline] echo 01:28:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:28:10 provisioning config files... 01:28:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config5055888740977983507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:10 ---> docker-login.sh 01:28:10 nexus3.edgexfoundry.org:10001 01:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:10 Configure a credential helper to remove this warning. See 01:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:10 01:28:10 Login Succeeded 01:28:10 nexus3.edgexfoundry.org:10002 01:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:10 Configure a credential helper to remove this warning. See 01:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:10 01:28:10 Login Succeeded 01:28:10 nexus3.edgexfoundry.org:10003 01:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:11 Configure a credential helper to remove this warning. See 01:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:11 01:28:11 Login Succeeded 01:28:11 nexus3.edgexfoundry.org:10004 01:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:11 Configure a credential helper to remove this warning. See 01:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:11 01:28:11 Login Succeeded 01:28:11 docker.io 01:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:11 Configure a credential helper to remove this warning. See 01:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:11 01:28:11 Login Succeeded 01:28:11 ---> docker-login.sh ends [Pipeline] } 01:28:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:28:12 + git rev-list -1 --merges 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a~1..43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [Pipeline] echo 01:28:12 -----------> git rev-list -1 --merges 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a~1..43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [false] [Pipeline] sh 01:28:12 + git log --format=format:%s -1 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [Pipeline] echo 01:28:12 ========================================================= 01:28:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:28:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:28:13 + git log --format=format:%s -1 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [Pipeline] echo 01:28:13 [semverPrep] GIT_COMMIT: 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo 01:28:13 [semverPrep] This is not a build commit. [Pipeline] sh 01:28:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:28:13 + grep -v github /etc/ssh/ssh_known_hosts 01:28:13 + [ -e /tmp/ssh_known_hosts ] 01:28:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:28:13 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo 01:28:13 tee -a /etc/ssh/ssh_known_hosts 01:28:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:14 01:28:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:14 0.1.4: Pulling from edgex-devops/py-git-semver 01:28:14 42c077c10790: Pulling fs layer 01:28:14 f63e77b7563a: Pulling fs layer 01:28:14 bd5fdadae976: Pulling fs layer 01:28:14 205491f53016: Pulling fs layer 01:28:14 df18705c85c3: Pulling fs layer 01:28:14 bdb3f477010e: Pulling fs layer 01:28:14 c8a8fc8e1c8f: Pulling fs layer 01:28:14 2c6e9b1d212d: Pulling fs layer 01:28:14 bdb8f0575790: Pulling fs layer 01:28:14 386e3cb2ff24: Pulling fs layer 01:28:14 2343380bae48: Pulling fs layer 01:28:14 c8a8fc8e1c8f: Waiting 01:28:14 2c6e9b1d212d: Waiting 01:28:14 bdb8f0575790: Waiting 01:28:14 df18705c85c3: Waiting 01:28:14 205491f53016: Waiting 01:28:14 bdb3f477010e: Waiting 01:28:14 386e3cb2ff24: Waiting 01:28:14 2343380bae48: Waiting 01:28:14 f63e77b7563a: Verifying Checksum 01:28:14 f63e77b7563a: Download complete 01:28:14 205491f53016: Verifying Checksum 01:28:14 205491f53016: Download complete 01:28:14 df18705c85c3: Verifying Checksum 01:28:14 df18705c85c3: Download complete 01:28:14 bdb3f477010e: Verifying Checksum 01:28:14 bdb3f477010e: Download complete 01:28:14 bd5fdadae976: Verifying Checksum 01:28:14 bd5fdadae976: Download complete 01:28:14 2c6e9b1d212d: Download complete 01:28:14 bdb8f0575790: Download complete 01:28:14 386e3cb2ff24: Verifying Checksum 01:28:14 386e3cb2ff24: Download complete 01:28:14 2343380bae48: Verifying Checksum 01:28:14 2343380bae48: Download complete 01:28:14 42c077c10790: Verifying Checksum 01:28:14 42c077c10790: Download complete 01:28:15 c8a8fc8e1c8f: Download complete 01:28:16 42c077c10790: Pull complete 01:28:16 f63e77b7563a: Pull complete 01:28:17 bd5fdadae976: Pull complete 01:28:17 205491f53016: Pull complete 01:28:17 df18705c85c3: Pull complete 01:28:17 bdb3f477010e: Pull complete 01:28:19 c8a8fc8e1c8f: Pull complete 01:28:19 2c6e9b1d212d: Pull complete 01:28:19 bdb8f0575790: Pull complete 01:28:19 386e3cb2ff24: Pull complete 01:28:19 2343380bae48: Pull complete 01:28:20 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 01:28:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:28:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:28:20 prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container 01:28:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:28:21 $ docker top 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f -eo pid,comm 01:28:21 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:28:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:28:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:21 [ssh-agent] Looking for ssh-agent implementation... 01:28:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:22 $ docker exec 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f ssh-agent 01:28:22 SSH_AUTH_SOCK=/tmp/ssh-0ACLhnvufgRf/agent.33 01:28:22 SSH_AGENT_PID=40 01:28:22 Running ssh-add (command line suppressed) 01:28:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_183534148037316010.key (/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_183534148037316010.key) 01:28:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:22 + git tag --points-at HEAD [Pipeline] } 01:28:22 $ docker exec --env ******** --env ******** 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f ssh-agent -k 01:28:22 unset SSH_AUTH_SOCK; 01:28:22 unset SSH_AGENT_PID; 01:28:22 echo Agent pid 40 killed; 01:28:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:28:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:28:22 [ssh-agent] Looking for ssh-agent implementation... 01:28:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:28:23 $ docker exec 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f ssh-agent 01:28:23 SSH_AUTH_SOCK=/tmp/ssh-jPvK6jUMuQ05/agent.73 01:28:23 SSH_AGENT_PID=79 01:28:23 Running ssh-add (command line suppressed) 01:28:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_7955794192304611594.key (/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/private_key_7955794192304611594.key) 01:28:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:28:23 + git semver init 01:28:23 2022-06-06 01:28:23,796 [run_init] DEBUG init version:0.0.0 force:False 01:28:23 2022-06-06 01:28:23,796 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver 01:28:23 2022-06-06 01:28:23,797 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver 01:28:23 2022-06-06 01:28:23,797 [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:28:24 2022-06-06 01:28:24,426 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.git/info/exclude 01:28:24 2022-06-06 01:28:24,427 [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:28:24 2022-06-06 01:28:24,427 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 01:28:24 2022-06-06 01:28:24,431 [execute] INFO git cat-file --batch-check 01:28:24 2022-06-06 01:28:24,432 [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:28:24 2022-06-06 01:28:24,437 [execute] INFO git cat-file --batch 01:28:24 2022-06-06 01:28:24,438 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver, universal_newlines=False, shell=None, istream=) 01:28:24 2022-06-06 01:28:24,446 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 01:28:24 0.0.0 [Pipeline] } 01:28:24 $ docker exec --env ******** --env ******** 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f ssh-agent -k 01:28:24 unset SSH_AUTH_SOCK; 01:28:24 unset SSH_AGENT_PID; 01:28:24 echo Agent pid 79 killed; 01:28:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:28:25 + git semver [Pipeline] } 01:28:25 $ docker stop --time=1 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f 01:28:26 $ docker rm -f 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f [Pipeline] // withDockerContainer [Pipeline] sh 01:28:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:28:27 Stashed 1 file(s) [Pipeline] echo 01:28:27 [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:28:28 provisioning config files... 01:28:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config4005620581022277003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:28:28 ---> docker-login.sh 01:28:28 nexus3.edgexfoundry.org:10001 01:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:28 Configure a credential helper to remove this warning. See 01:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:28 01:28:28 Login Succeeded 01:28:28 nexus3.edgexfoundry.org:10002 01:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:28 Configure a credential helper to remove this warning. See 01:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:28 01:28:28 Login Succeeded 01:28:28 nexus3.edgexfoundry.org:10003 01:28:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:28 Configure a credential helper to remove this warning. See 01:28:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:28 01:28:28 Login Succeeded 01:28:28 nexus3.edgexfoundry.org:10004 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 docker.io 01:28:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:28:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:28:29 Configure a credential helper to remove this warning. See 01:28:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:28:29 01:28:29 Login Succeeded 01:28:29 ---> docker-login.sh ends [Pipeline] } 01:28:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:28:29 ========================================================= 01:28:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:28:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:28:30 + 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:28:30 Sending build context to Docker daemon 5.884MB 01:28:30 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:28:30 Step 2/12 : FROM ${BASE} AS builder 01:28:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:28:30 59bf1c3509f3: Pulling fs layer 01:28:30 666ba61612fd: Pulling fs layer 01:28:30 8ed8ca486205: Pulling fs layer 01:28:30 cc1cd167ecdc: Pulling fs layer 01:28:30 c516ae0d96e1: Pulling fs layer 01:28:30 684cea983483: Pulling fs layer 01:28:30 dd3240ac7de5: Pulling fs layer 01:28:30 b1e948a4e11c: Pulling fs layer 01:28:30 a8fd76ee1af6: Pulling fs layer 01:28:30 646ad004c059: Pulling fs layer 01:28:30 c516ae0d96e1: Waiting 01:28:30 684cea983483: Waiting 01:28:30 dd3240ac7de5: Waiting 01:28:30 b1e948a4e11c: Waiting 01:28:30 cc1cd167ecdc: Waiting 01:28:30 a8fd76ee1af6: Waiting 01:28:30 646ad004c059: Waiting 01:28:30 8ed8ca486205: Verifying Checksum 01:28:30 8ed8ca486205: Download complete 01:28:30 666ba61612fd: Verifying Checksum 01:28:30 666ba61612fd: Download complete 01:28:30 c516ae0d96e1: Verifying Checksum 01:28:30 c516ae0d96e1: Download complete 01:28:30 684cea983483: Verifying Checksum 01:28:30 684cea983483: Download complete 01:28:30 59bf1c3509f3: Verifying Checksum 01:28:30 59bf1c3509f3: Download complete 01:28:30 dd3240ac7de5: Verifying Checksum 01:28:30 dd3240ac7de5: Download complete 01:28:30 b1e948a4e11c: Verifying Checksum 01:28:30 b1e948a4e11c: Download complete 01:28:30 59bf1c3509f3: Pull complete 01:28:30 666ba61612fd: Pull complete 01:28:30 8ed8ca486205: Pull complete 01:28:30 646ad004c059: Verifying Checksum 01:28:30 646ad004c059: Download complete 01:28:31 cc1cd167ecdc: Verifying Checksum 01:28:31 cc1cd167ecdc: Download complete 01:28:31 a8fd76ee1af6: Verifying Checksum 01:28:31 a8fd76ee1af6: Download complete 01:28:35 cc1cd167ecdc: Pull complete 01:28:35 c516ae0d96e1: Pull complete 01:28:35 684cea983483: Pull complete 01:28:35 dd3240ac7de5: Pull complete 01:28:35 b1e948a4e11c: Pull complete 01:28:37 a8fd76ee1af6: Pull complete 01:28:38 646ad004c059: Pull complete 01:28:38 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 01:28:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:28:38 ---> 8f69c11f6b0c 01:28:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:28:40 ---> Running in c2c4473b51b2 01:28:40 Removing intermediate container c2c4473b51b2 01:28:40 ---> 636452f5e80d 01:28:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:28:40 ---> Running in 1540a97064e5 01:28:40 Removing intermediate container 1540a97064e5 01:28:40 ---> 5b147fbaf66b 01:28:40 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:28:40 ---> Running in b9da0a256c48 01:28:41 Removing intermediate container b9da0a256c48 01:28:41 ---> 31a90c1524ff 01:28:41 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:28:41 ---> Running in cb041a221625 01:28:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:28:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:28:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:28:42 (2/4) Installing libedit (20210910.3.1-r0) 01:28:43 Still waiting to schedule task 01:28:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1092’ 01:28:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:28:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:28:43 Executing busybox-1.34.1-r3.trigger 01:28:43 OK: 224 MiB in 56 packages 01:28:43 Removing intermediate container cb041a221625 01:28:43 ---> 4349ba49d0f2 01:28:43 Step 7/12 : WORKDIR /device-mqtt-go 01:28:43 ---> Running in b67d271178b6 01:28:43 Removing intermediate container b67d271178b6 01:28:43 ---> 6ba4d2e19815 01:28:43 Step 8/12 : COPY go.mod vendor* ./ 01:28:43 ---> c8b8615ed0a7 01:28:43 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:28:43 ---> Running in 943de5f01d6a 01:29:02 Removing intermediate container 943de5f01d6a 01:29:02 ---> 90952ec1e005 01:29:02 Step 10/12 : COPY . . 01:29:02 ---> 5ca8acffa8c6 01:29:02 Step 11/12 : ARG MAKE='make build' 01:29:02 ---> Running in dd5e6020f2f0 01:29:02 Removing intermediate container dd5e6020f2f0 01:29:02 ---> 2309741422be 01:29:02 Step 12/12 : RUN $MAKE 01:29:02 ---> Running in 28c6281eff84 01:29:02 noop 01:29:03 Removing intermediate container 28c6281eff84 01:29:03 ---> 72bd971f13fb 01:29:03 Successfully built 72bd971f13fb 01:29:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:03 + docker inspect -f . ci-base-image-x86_64 01:29:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:03 prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container 01:29:03 $ 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 ******** ci-base-image-x86_64 cat 01:29:04 $ docker top a7b82ce1bae64ded84820f93a4386b3060c3cb4e69228d9997273a04847dee97 -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:04 + go version 01:29:04 go version go1.17.7 linux/amd64 [Pipeline] } 01:29:04 $ docker stop --time=1 a7b82ce1bae64ded84820f93a4386b3060c3cb4e69228d9997273a04847dee97 01:29:06 $ docker rm -f a7b82ce1bae64ded84820f93a4386b3060c3cb4e69228d9997273a04847dee97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:06 + docker inspect -f . ci-base-image-x86_64 01:29:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:06 prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container 01:29:06 $ 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 ******** ci-base-image-x86_64 cat 01:29:07 $ docker top 8c48629b81a3cb0e41958c29d83c648d54352f59729f801353f3230ba1c25caa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:29:07 + make test 01:29:07 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:29:08 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:29:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:29:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 01:29:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:29:26 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:29:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:29:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:29:30 ./bin/test-attribution-txt.sh 01:29:30 An attribution for golang.org/x/sync is missing from in Attribution.txt, please add 01:29:30 make: *** [Makefile:48: test] Error 1 [Pipeline] } 01:29:30 $ docker stop --time=1 8c48629b81a3cb0e41958c29d83c648d54352f59729f801353f3230ba1c25caa 01:29:32 $ docker rm -f 8c48629b81a3cb0e41958c29d83c648d54352f59729f801353f3230ba1c25caa [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:29:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:33 01:29:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:34 latest: Pulling from edgex-lftools-log-publisher 01:29:34 5eb5b503b376: Pulling fs layer 01:29:34 5c69ac0246d0: Pulling fs layer 01:29:34 ec43610c2a17: Pulling fs layer 01:29:34 3a2ae6a8a46f: Pulling fs layer 01:29:34 33b1e0a273af: Pulling fs layer 01:29:34 5d3b04190fa2: Pulling fs layer 01:29:34 2f39f015ded8: Pulling fs layer 01:29:34 3a2ae6a8a46f: Waiting 01:29:34 2f39f015ded8: Waiting 01:29:34 33b1e0a273af: Waiting 01:29:34 5d3b04190fa2: Waiting 01:29:34 5c69ac0246d0: Verifying Checksum 01:29:34 5c69ac0246d0: Download complete 01:29:34 3a2ae6a8a46f: Download complete 01:29:34 33b1e0a273af: Verifying Checksum 01:29:34 33b1e0a273af: Download complete 01:29:34 ec43610c2a17: Verifying Checksum 01:29:34 ec43610c2a17: Download complete 01:29:34 5d3b04190fa2: Verifying Checksum 01:29:34 5d3b04190fa2: Download complete 01:29:34 5eb5b503b376: Verifying Checksum 01:29:34 5eb5b503b376: Download complete 01:29:35 2f39f015ded8: Download complete 01:29:36 5eb5b503b376: Pull complete 01:29:36 5c69ac0246d0: Pull complete 01:29:36 ec43610c2a17: Pull complete 01:29:36 3a2ae6a8a46f: Pull complete 01:29:36 33b1e0a273af: Pull complete 01:29:37 5d3b04190fa2: Pull complete 01:29:42 2f39f015ded8: Pull complete 01:29:42 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:29:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:29:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:42 prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container 01:29:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:29:44 $ docker top af462161e95977ee23c331acb5bed59e91a94ce9c8dad9de5b6549aa504bbd87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:44 ---> job-cost.sh 01:29:44 lf-activate-venv: SKIPPING 01:29:44 INFO: No Stack... 01:29:45 INFO: Retrieving Pricing Info for: v3-standard-8 01:29:45 INFO: Archiving Costs [Pipeline] sh 01:29:46 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/cost.csv 01:29:46 + cut -d, -f6 [Pipeline] lock 01:29:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] 01:29:46 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] did not exist. Created. 01:29:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:29:46 + echo total: 0.2199999988079071 [Pipeline] stash 01:29:46 Stashed 1 file(s) [Pipeline] } 01:29:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:29:46 $ docker stop --time=1 af462161e95977ee23c331acb5bed59e91a94ce9c8dad9de5b6549aa504bbd87 01:29:47 $ docker rm -f af462161e95977ee23c331acb5bed59e91a94ce9c8dad9de5b6549aa504bbd87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:29:48 Failed in branch amd64 01:31:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1098 in /w/workspace/gexfoundry_device-mqtt-go_PR-385 [Pipeline] { [Pipeline] ws 01:31:45 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:31:45 Selected Git installation does not exist. Using Default 01:31:45 The recommended git tool is: NONE 01:31:53 using credential edgex-jenkins-ssh 01:31:53 Cloning the remote Git repository 01:31:53 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:31:53 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:31:53 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:31:53 > git --version # timeout=10 01:31:53 > git --version # 'git version 2.25.1' 01:31:53 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:31:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:31:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:31:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:31:54 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:31:54 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:54 > 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:31:55 Merging remotes/origin/main commit 7519713814a588af452d23e7e2efd8901124a458 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a 01:31:55 Merge succeeded, producing 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a 01:31:55 Checking out Revision 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a (PR-385) 01:31:55 > git config core.sparsecheckout # timeout=10 01:31:55 > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 01:31:55 > git remote # timeout=10 01:31:55 > git config --get remote.origin.url # timeout=10 01:31:55 using GIT_SSH to set credentials SSH Credentials for GitHub 01:31:55 > git merge 7519713814a588af452d23e7e2efd8901124a458 # timeout=10 01:31:55 > git rev-parse HEAD^{commit} # timeout=10 01:31:55 > git config core.sparsecheckout # timeout=10 01:31:55 > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 01:31:59 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" 01:31:59 > git --version # timeout=10 01:31:59 > git --version # 'git version 2.25.1' 01:31:59 fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:32:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:32:00 % Total % Received % Xferd Average Speed Time Time Time Current 01:32:00 Dload Upload Total Spent Left Speed 01:32:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh 01:32:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:32:02 + sudo tee /etc/docker/daemon.new 01:32:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:32:02 { 01:32:02 "registry-mirrors": [ 01:32:02 "https://nexus3.edgexfoundry.org:10001" 01:32:02 ], 01:32:02 "bip": "10.250.0.254/24", 01:32:02 "hosts": [ 01:32:02 "tcp://0.0.0.0:5555", 01:32:02 "unix:///var/run/docker.sock" 01:32:02 ], 01:32:02 "mtu": 1458, 01:32:02 "selinux-enabled": true, 01:32:02 "seccomp-profile": "/etc/docker/seccomp.json" 01:32:02 } [Pipeline] sh 01:32:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:32:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:32:21 provisioning config files... 01:32:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8290946617123785302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:21 ---> docker-login.sh 01:32:21 nexus3.edgexfoundry.org:10001 01:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:22 Configure a credential helper to remove this warning. See 01:32:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:22 01:32:22 Login Succeeded 01:32:22 nexus3.edgexfoundry.org:10002 01:32:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:23 Configure a credential helper to remove this warning. See 01:32:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:23 01:32:23 Login Succeeded 01:32:23 nexus3.edgexfoundry.org:10003 01:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:23 Configure a credential helper to remove this warning. See 01:32:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:23 01:32:23 Login Succeeded 01:32:23 nexus3.edgexfoundry.org:10004 01:32:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:24 Configure a credential helper to remove this warning. See 01:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:24 01:32:24 Login Succeeded 01:32:24 docker.io 01:32:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:24 Configure a credential helper to remove this warning. See 01:32:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:24 01:32:24 Login Succeeded 01:32:24 ---> docker-login.sh ends [Pipeline] } 01:32:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:32:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:32:25 ========================================================= 01:32:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:32:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:25 + 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:32:26 Sending build context to Docker daemon 3.038MB 01:32:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:32:26 Step 2/12 : FROM ${BASE} AS builder 01:32:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:32:26 9b3977197b4f: Pulling fs layer 01:32:26 1a89e8eeedd5: Pulling fs layer 01:32:26 94645a83ff95: Pulling fs layer 01:32:26 e6fb740bc735: Pulling fs layer 01:32:26 3a77bd46dcc9: Pulling fs layer 01:32:26 355e64cbe906: Pulling fs layer 01:32:26 63ab81a10011: Pulling fs layer 01:32:26 555d1d1c4555: Pulling fs layer 01:32:26 7d9057610161: Pulling fs layer 01:32:26 e6fb740bc735: Waiting 01:32:26 3a77bd46dcc9: Waiting 01:32:26 355e64cbe906: Waiting 01:32:26 63ab81a10011: Waiting 01:32:26 7d9057610161: Waiting 01:32:26 555d1d1c4555: Waiting 01:32:26 94645a83ff95: Verifying Checksum 01:32:26 94645a83ff95: Download complete 01:32:26 1a89e8eeedd5: Verifying Checksum 01:32:26 1a89e8eeedd5: Download complete 01:32:26 3a77bd46dcc9: Verifying Checksum 01:32:26 3a77bd46dcc9: Download complete 01:32:26 355e64cbe906: Verifying Checksum 01:32:26 355e64cbe906: Download complete 01:32:26 9b3977197b4f: Verifying Checksum 01:32:26 9b3977197b4f: Download complete 01:32:26 63ab81a10011: Verifying Checksum 01:32:26 63ab81a10011: Download complete 01:32:27 9b3977197b4f: Pull complete 01:32:27 7d9057610161: Verifying Checksum 01:32:27 7d9057610161: Download complete 01:32:28 1a89e8eeedd5: Pull complete 01:32:28 94645a83ff95: Pull complete 01:32:28 555d1d1c4555: Verifying Checksum 01:32:28 555d1d1c4555: Download complete 01:32:29 e6fb740bc735: Verifying Checksum 01:32:29 e6fb740bc735: Download complete 01:32:41 e6fb740bc735: Pull complete 01:32:41 3a77bd46dcc9: Pull complete 01:32:41 355e64cbe906: Pull complete 01:32:42 63ab81a10011: Pull complete 01:32:48 555d1d1c4555: Pull complete 01:32:50 7d9057610161: Pull complete 01:32:50 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 01:32:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:32:50 ---> 819e984ddca1 01:32:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:32:52 ---> Running in 56f1729579a0 01:32:52 Removing intermediate container 56f1729579a0 01:32:52 ---> 91efe3a5f1e6 01:32:52 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:32:52 ---> Running in 98beb2841cea 01:32:52 Removing intermediate container 98beb2841cea 01:32:52 ---> 09a43cc34216 01:32:52 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:32:52 ---> Running in 4fddca51ac42 01:32:56 Removing intermediate container 4fddca51ac42 01:32:56 ---> 34cc42f40377 01:32:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:32:56 ---> Running in 65c985f75a00 01:32:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:32:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:32:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:32:59 (2/4) Installing libedit (20210910.3.1-r0) 01:32:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:32:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:32:59 Executing busybox-1.34.1-r3.trigger 01:32:59 OK: 224 MiB in 56 packages 01:33:00 Removing intermediate container 65c985f75a00 01:33:00 ---> ba730a656162 01:33:00 Step 7/12 : WORKDIR /device-mqtt-go 01:33:00 ---> Running in cd04d96dab45 01:33:00 Removing intermediate container cd04d96dab45 01:33:00 ---> 41748591140d 01:33:00 Step 8/12 : COPY go.mod vendor* ./ 01:33:01 ---> dafbedbe5046 01:33:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:01 ---> Running in 38089f7d5b3b 01:33:48 Removing intermediate container 38089f7d5b3b 01:33:48 ---> 4071ca932428 01:33:48 Step 10/12 : COPY . . 01:33:48 ---> e7e1a7135536 01:33:48 Step 11/12 : ARG MAKE='make build' 01:33:48 ---> Running in c34af8ee85ce 01:33:48 Removing intermediate container c34af8ee85ce 01:33:48 ---> 1c7428a4fe15 01:33:48 Step 12/12 : RUN $MAKE 01:33:48 ---> Running in 6f0c3d4bad72 01:33:48 noop 01:33:48 Removing intermediate container 6f0c3d4bad72 01:33:48 ---> faf17e680d2c 01:33:48 Successfully built faf17e680d2c 01:33:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:48 + docker inspect -f . ci-base-image-arm64 01:33:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:49 prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container 01:33:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:33:50 $ docker top a6eafdb143133be137db957f9e33e3cb869374e203ff04731866fc584216afe5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:33:51 + go version 01:33:51 go version go1.17.7 linux/arm64 [Pipeline] } 01:33:51 $ docker stop --time=1 a6eafdb143133be137db957f9e33e3cb869374e203ff04731866fc584216afe5 01:33:53 $ docker rm -f a6eafdb143133be137db957f9e33e3cb869374e203ff04731866fc584216afe5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:54 + docker inspect -f . ci-base-image-arm64 01:33:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:54 prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container 01:33:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:33:55 $ docker top 6ef029e65e7645c104a96188e3129733637052f1b6183cf5c1e4db5d34086026 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:33:56 + make test 01:33:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:33:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:35:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:35:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 01:35:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:35:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:35:20 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:35:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:35:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:35:47 ./bin/test-attribution-txt.sh 01:35:48 An attribution for golang.org/x/sync is missing from in Attribution.txt, please add 01:35:48 make: *** [Makefile:48: test] Error 1 [Pipeline] } 01:35:48 $ docker stop --time=1 6ef029e65e7645c104a96188e3129733637052f1b6183cf5c1e4db5d34086026 01:35:50 $ docker rm -f 6ef029e65e7645c104a96188e3129733637052f1b6183cf5c1e4db5d34086026 [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:35:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:35:51 01:35:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:35:52 arm64: Pulling from edgex-lftools-log-publisher 01:35:52 8998bd30e6a1: Pulling fs layer 01:35:52 04944245beec: Pulling fs layer 01:35:52 699f458cf7ca: Pulling fs layer 01:35:52 765212b225bb: Pulling fs layer 01:35:52 f23df028b6ca: Pulling fs layer 01:35:52 d65c8cfc05b1: Pulling fs layer 01:35:52 2437ff75d9bd: Pulling fs layer 01:35:52 f23df028b6ca: Waiting 01:35:52 765212b225bb: Waiting 01:35:52 d65c8cfc05b1: Waiting 01:35:52 04944245beec: Verifying Checksum 01:35:52 04944245beec: Download complete 01:35:52 765212b225bb: Verifying Checksum 01:35:52 765212b225bb: Download complete 01:35:52 f23df028b6ca: Download complete 01:35:52 d65c8cfc05b1: Verifying Checksum 01:35:52 d65c8cfc05b1: Download complete 01:35:52 699f458cf7ca: Verifying Checksum 01:35:52 699f458cf7ca: Download complete 01:35:53 8998bd30e6a1: Verifying Checksum 01:35:53 8998bd30e6a1: Download complete 01:35:55 2437ff75d9bd: Verifying Checksum 01:35:55 2437ff75d9bd: Download complete 01:35:57 8998bd30e6a1: Pull complete 01:35:58 04944245beec: Pull complete 01:35:59 699f458cf7ca: Pull complete 01:35:59 765212b225bb: Pull complete 01:36:00 f23df028b6ca: Pull complete 01:36:00 d65c8cfc05b1: Pull complete 01:36:15 2437ff75d9bd: Pull complete 01:36:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:36:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:36:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:16 prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container 01:36:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:36:19 $ docker top e4c770ff3a078258bbf533da958361f47371e6dd2511347b86a33d3a32665a13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:20 ---> job-cost.sh 01:36:20 lf-activate-venv: SKIPPING 01:36:20 INFO: No Stack... 01:36:20 INFO: Retrieving Pricing Info for: v3-standard-4 01:36:21 INFO: Archiving Costs [Pipeline] sh 01:36:21 + cut -d, -f6 01:36:21 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 01:36:21 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] 01:36:21 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] did not exist. Created. 01:36:21 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:36:22 /w/workspace/device-mqtt-go/1@tmp/durable-dbded417/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:36:23 + echo total: 0.10999999940395355 [Pipeline] stash 01:36:23 Warning: overwriting stash ‘stack-cost’ 01:36:24 Stashed 1 file(s) [Pipeline] } 01:36:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:36:24 $ docker stop --time=1 e4c770ff3a078258bbf533da958361f47371e6dd2511347b86a33d3a32665a13 01:36:25 $ docker rm -f e4c770ff3a078258bbf533da958361f47371e6dd2511347b86a33d3a32665a13 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:36:26 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:36:28 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives ] 01:36:28 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 01:36:28 total 16 01:36:28 drwxr-xr-x 3 root root 4096 Jun 6 01:29 . 01:36:28 drwxrwxr-x 11 jenkins jenkins 4096 Jun 6 01:29 .. 01:36:28 drwxr-xr-x 2 root root 4096 Jun 6 01:29 cost 01:36:28 -rw-r--r-- 1 root root 85 Jun 6 01:29 cost.csv 01:36:28 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 01:36:28 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives 01:36:28 total 16 01:36:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 01:29 . 01:36:28 drwxrwxr-x 11 jenkins jenkins 4096 Jun 6 01:29 .. 01:36:28 drwxr-xr-x 2 jenkins jenkins 4096 Jun 6 01:29 cost 01:36:28 -rw-r--r-- 1 jenkins jenkins 85 Jun 6 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:36:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:36:29 ---> package-listing.sh 01:36:29 ++ facter osfamily 01:36:29 ++ tr '[:upper:]' '[:lower:]' 01:36:29 + OS_FAMILY=debian 01:36:29 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-385 01:36:29 + START_PACKAGES=/tmp/packages_start.txt 01:36:29 + END_PACKAGES=/tmp/packages_end.txt 01:36:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:36:29 + PACKAGES=/tmp/packages_start.txt 01:36:29 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' 01:36:29 + PACKAGES=/tmp/packages_end.txt 01:36:29 + case "${OS_FAMILY}" in 01:36:29 + dpkg -l 01:36:29 + grep '^ii' 01:36:29 + '[' -f /tmp/packages_start.txt ']' 01:36:29 + '[' -f /tmp/packages_end.txt ']' 01:36:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:36:29 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' 01:36:29 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/ 01:36:29 + 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:36:29 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:36:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:36:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:30 prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container 01:36:30 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:36:31 $ docker top c31a09175b042ed9b9f0b83f6db68bedec3f748f66432b61356737c552d8984a -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:31 + touch /tmp/pre-build-complete [Pipeline] sh 01:36:31 + mkdir -p /var/log/sysstat [Pipeline] sh 01:36:32 + ls /var/log/sa-host 01:36:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:32 provisioning config files... 01:36:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config6406598001565277325tmp [Pipeline] { [Pipeline] echo 01:36:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:36:32 ---> create-netrc.sh [Pipeline] } 01:36:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:36:33 ---> python-tools-install.sh [Pipeline] echo 01:36:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:36:33 ---> sudo-logs.sh 01:36:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:36:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:36:33 ---> job-cost.sh 01:36:33 lf-activate-venv: SKIPPING 01:36:33 DEBUG: total: 0.2199999988079071 01:36:33 INFO: Retrieving Stack Cost... 01:36:34 INFO: Retrieving Pricing Info for: v3-standard-8 01:36:34 INFO: Archiving Costs [Pipeline] echo 01:36:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:36:35 ---> logs-deploy.sh 01:36:35 lf-activate-venv: SKIPPING 01:36:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-385/1 01:36:35 INFO: archiving workspace using pattern(s): 01:36:35 Archives upload complete. 01:36:35 INFO: archiving logs to Nexus