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 [2022-06-06T01:28:06.630Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-06T01:28:06.806Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-06T01:28:06.903Z] ========================================================= [2022-06-06T01:28:06.903Z] EdgeX Global Pipelines Version Info [2022-06-06T01:28:06.903Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:28:07.717Z] ------------------- [2022-06-06T01:28:07.717Z] stable info: [2022-06-06T01:28:07.717Z] ------------------- [2022-06-06T01:28:07.717Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-06T01:28:07.717Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-06T01:28:07.717Z] Message: update stable to v1.0.232 [2022-06-06T01:28:08.293Z] ------------------- [2022-06-06T01:28:08.293Z] experimental info: [2022-06-06T01:28:08.293Z] ------------------- [2022-06-06T01:28:08.293Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-06T01:28:08.293Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-06T01:28:08.293Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-06T01:28:08.648Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-06T01:28:08.687Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-06T01:28:08.722Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-06T01:28:08.759Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-06T01:28:08.794Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-06T01:28:08.836Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-06T01:28:08.880Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-06T01:28:08.917Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-06T01:28:08.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-06T01:28:08.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-06T01:28:09.029Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-06T01:28:09.067Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-06T01:28:09.105Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-06T01:28:09.152Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-06T01:28:09.191Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-06T01:28:09.232Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-06T01:28:09.273Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-06T01:28:09.312Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-06T01:28:09.350Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-06T01:28:09.387Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-06T01:28:09.425Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-06T01:28:09.469Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-06T01:28:09.508Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-06T01:28:09.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-06T01:28:09.587Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-06T01:28:09.629Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-06T01:28:09.667Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-06T01:28:09.708Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-385 [Pipeline] echo [2022-06-06T01:28:09.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-385 [Pipeline] echo [2022-06-06T01:28:09.798Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-385 [Pipeline] echo [2022-06-06T01:28:09.839Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [Pipeline] echo [2022-06-06T01:28:09.881Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43fe762 [Pipeline] echo [2022-06-06T01:28:09.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T01:28:10.046Z] provisioning config files... [2022-06-06T01:28:10.060Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config5055888740977983507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:28:10.410Z] ---> docker-login.sh [2022-06-06T01:28:10.410Z] nexus3.edgexfoundry.org:10001 [2022-06-06T01:28:10.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:10.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:10.672Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:10.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:10.672Z] [2022-06-06T01:28:10.672Z] Login Succeeded [2022-06-06T01:28:10.672Z] nexus3.edgexfoundry.org:10002 [2022-06-06T01:28:10.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:10.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:10.936Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:10.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:10.936Z] [2022-06-06T01:28:10.936Z] Login Succeeded [2022-06-06T01:28:10.936Z] nexus3.edgexfoundry.org:10003 [2022-06-06T01:28:10.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:11.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:11.208Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:11.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:11.208Z] [2022-06-06T01:28:11.208Z] Login Succeeded [2022-06-06T01:28:11.208Z] nexus3.edgexfoundry.org:10004 [2022-06-06T01:28:11.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:11.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:11.208Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:11.208Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:11.208Z] [2022-06-06T01:28:11.208Z] Login Succeeded [2022-06-06T01:28:11.208Z] docker.io [2022-06-06T01:28:11.472Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:11.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:11.733Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:11.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:11.733Z] [2022-06-06T01:28:11.733Z] Login Succeeded [2022-06-06T01:28:11.733Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T01:28:11.762Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-06T01:28:12.417Z] + git rev-list -1 --merges 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a~1..43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [Pipeline] echo [2022-06-06T01:28:12.470Z] -----------> git rev-list -1 --merges 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a~1..43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [false] [Pipeline] sh [2022-06-06T01:28:12.793Z] + git log --format=format:%s -1 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [Pipeline] echo [2022-06-06T01:28:12.831Z] ========================================================= [2022-06-06T01:28:12.831Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-06T01:28:12.831Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T01:28:13.275Z] + git log --format=format:%s -1 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [Pipeline] echo [2022-06-06T01:28:13.312Z] [semverPrep] GIT_COMMIT: 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo [2022-06-06T01:28:13.343Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-06T01:28:13.740Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-06T01:28:13.740Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-06T01:28:13.740Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-06T01:28:13.740Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-06T01:28:13.740Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=sudo [2022-06-06T01:28:13.740Z] tee -a /etc/ssh/ssh_known_hosts [2022-06-06T01:28:13.740Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:28:14.249Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T01:28:14.250Z] [2022-06-06T01:28:14.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:28:14.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T01:28:14.642Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-06T01:28:14.642Z] 42c077c10790: Pulling fs layer [2022-06-06T01:28:14.642Z] f63e77b7563a: Pulling fs layer [2022-06-06T01:28:14.642Z] bd5fdadae976: Pulling fs layer [2022-06-06T01:28:14.642Z] 205491f53016: Pulling fs layer [2022-06-06T01:28:14.642Z] df18705c85c3: Pulling fs layer [2022-06-06T01:28:14.642Z] bdb3f477010e: Pulling fs layer [2022-06-06T01:28:14.642Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-06T01:28:14.642Z] 2c6e9b1d212d: Pulling fs layer [2022-06-06T01:28:14.642Z] bdb8f0575790: Pulling fs layer [2022-06-06T01:28:14.642Z] 386e3cb2ff24: Pulling fs layer [2022-06-06T01:28:14.642Z] 2343380bae48: Pulling fs layer [2022-06-06T01:28:14.642Z] c8a8fc8e1c8f: Waiting [2022-06-06T01:28:14.642Z] 2c6e9b1d212d: Waiting [2022-06-06T01:28:14.642Z] bdb8f0575790: Waiting [2022-06-06T01:28:14.642Z] df18705c85c3: Waiting [2022-06-06T01:28:14.642Z] 205491f53016: Waiting [2022-06-06T01:28:14.642Z] bdb3f477010e: Waiting [2022-06-06T01:28:14.642Z] 386e3cb2ff24: Waiting [2022-06-06T01:28:14.642Z] 2343380bae48: Waiting [2022-06-06T01:28:14.642Z] f63e77b7563a: Verifying Checksum [2022-06-06T01:28:14.642Z] f63e77b7563a: Download complete [2022-06-06T01:28:14.642Z] 205491f53016: Verifying Checksum [2022-06-06T01:28:14.642Z] 205491f53016: Download complete [2022-06-06T01:28:14.903Z] df18705c85c3: Verifying Checksum [2022-06-06T01:28:14.903Z] df18705c85c3: Download complete [2022-06-06T01:28:14.903Z] bdb3f477010e: Verifying Checksum [2022-06-06T01:28:14.903Z] bdb3f477010e: Download complete [2022-06-06T01:28:14.903Z] bd5fdadae976: Verifying Checksum [2022-06-06T01:28:14.903Z] bd5fdadae976: Download complete [2022-06-06T01:28:14.903Z] 2c6e9b1d212d: Download complete [2022-06-06T01:28:14.903Z] bdb8f0575790: Download complete [2022-06-06T01:28:14.903Z] 386e3cb2ff24: Verifying Checksum [2022-06-06T01:28:14.903Z] 386e3cb2ff24: Download complete [2022-06-06T01:28:14.903Z] 2343380bae48: Verifying Checksum [2022-06-06T01:28:14.903Z] 2343380bae48: Download complete [2022-06-06T01:28:14.903Z] 42c077c10790: Verifying Checksum [2022-06-06T01:28:14.903Z] 42c077c10790: Download complete [2022-06-06T01:28:15.166Z] c8a8fc8e1c8f: Download complete [2022-06-06T01:28:16.551Z] 42c077c10790: Pull complete [2022-06-06T01:28:16.551Z] f63e77b7563a: Pull complete [2022-06-06T01:28:17.121Z] bd5fdadae976: Pull complete [2022-06-06T01:28:17.121Z] 205491f53016: Pull complete [2022-06-06T01:28:17.383Z] df18705c85c3: Pull complete [2022-06-06T01:28:17.643Z] bdb3f477010e: Pull complete [2022-06-06T01:28:19.555Z] c8a8fc8e1c8f: Pull complete [2022-06-06T01:28:19.555Z] 2c6e9b1d212d: Pull complete [2022-06-06T01:28:19.816Z] bdb8f0575790: Pull complete [2022-06-06T01:28:19.816Z] 386e3cb2ff24: Pull complete [2022-06-06T01:28:19.816Z] 2343380bae48: Pull complete [2022-06-06T01:28:20.078Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-06T01:28:20.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-06T01:28:20.078Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T01:28:20.324Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2022-06-06T01:28:20.369Z] $ 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 [2022-06-06T01:28:21.680Z] $ docker top 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f -eo pid,comm [2022-06-06T01:28:21.747Z] 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). [2022-06-06T01:28:21.747Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-06T01:28:21.885Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T01:28:21.885Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T01:28:22.030Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T01:28:22.039Z] $ docker exec 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f ssh-agent [2022-06-06T01:28:22.168Z] SSH_AUTH_SOCK=/tmp/ssh-0ACLhnvufgRf/agent.33 [2022-06-06T01:28:22.168Z] SSH_AGENT_PID=40 [2022-06-06T01:28:22.173Z] Running ssh-add (command line suppressed) [2022-06-06T01:28:22.293Z] 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) [2022-06-06T01:28:22.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T01:28:22.635Z] + git tag --points-at HEAD [Pipeline] } [2022-06-06T01:28:22.670Z] $ docker exec --env ******** --env ******** 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f ssh-agent -k [2022-06-06T01:28:22.793Z] unset SSH_AUTH_SOCK; [2022-06-06T01:28:22.794Z] unset SSH_AGENT_PID; [2022-06-06T01:28:22.794Z] echo Agent pid 40 killed; [2022-06-06T01:28:22.800Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-06T01:28:22.879Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-06T01:28:22.879Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-06T01:28:23.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-06T01:28:23.017Z] $ docker exec 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f ssh-agent [2022-06-06T01:28:23.133Z] SSH_AUTH_SOCK=/tmp/ssh-jPvK6jUMuQ05/agent.73 [2022-06-06T01:28:23.133Z] SSH_AGENT_PID=79 [2022-06-06T01:28:23.138Z] Running ssh-add (command line suppressed) [2022-06-06T01:28:23.258Z] 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) [2022-06-06T01:28:23.273Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-06T01:28:23.599Z] + git semver init [2022-06-06T01:28:23.860Z] 2022-06-06 01:28:23,796 [run_init] DEBUG init version:0.0.0 force:False [2022-06-06T01:28:23.860Z] 2022-06-06 01:28:23,796 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver [2022-06-06T01:28:23.860Z] 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 [2022-06-06T01:28:23.860Z] 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) [2022-06-06T01:28:24.432Z] 2022-06-06 01:28:24,426 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.git/info/exclude [2022-06-06T01:28:24.432Z] 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 [2022-06-06T01:28:24.432Z] 2022-06-06 01:28:24,427 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 [2022-06-06T01:28:24.432Z] 2022-06-06 01:28:24,431 [execute] INFO git cat-file --batch-check [2022-06-06T01:28:24.432Z] 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=) [2022-06-06T01:28:24.432Z] 2022-06-06 01:28:24,437 [execute] INFO git cat-file --batch [2022-06-06T01:28:24.432Z] 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=) [2022-06-06T01:28:24.720Z] 2022-06-06 01:28:24,446 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-385/.semver/PR-385 [2022-06-06T01:28:24.720Z] 0.0.0 [Pipeline] } [2022-06-06T01:28:24.748Z] $ docker exec --env ******** --env ******** 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f ssh-agent -k [2022-06-06T01:28:24.860Z] unset SSH_AUTH_SOCK; [2022-06-06T01:28:24.860Z] unset SSH_AGENT_PID; [2022-06-06T01:28:24.860Z] echo Agent pid 79 killed; [2022-06-06T01:28:24.864Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-06T01:28:25.266Z] + git semver [Pipeline] } [2022-06-06T01:28:25.557Z] $ docker stop --time=1 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f [2022-06-06T01:28:26.917Z] $ docker rm -f 615c7f20cfcb1792517f652c9a5c8d54f13aa97081142d2803c6552f48fae58f [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-06T01:28:27.338Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-06T01:28:27.643Z] Stashed 1 file(s) [Pipeline] echo [2022-06-06T01:28:27.658Z] [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 [2022-06-06T01:28:28.195Z] provisioning config files... [2022-06-06T01:28:28.206Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config4005620581022277003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:28:28.556Z] ---> docker-login.sh [2022-06-06T01:28:28.556Z] nexus3.edgexfoundry.org:10001 [2022-06-06T01:28:28.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:28.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:28.556Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:28.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:28.556Z] [2022-06-06T01:28:28.556Z] Login Succeeded [2022-06-06T01:28:28.556Z] nexus3.edgexfoundry.org:10002 [2022-06-06T01:28:28.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:28.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:28.816Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:28.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:28.816Z] [2022-06-06T01:28:28.816Z] Login Succeeded [2022-06-06T01:28:28.816Z] nexus3.edgexfoundry.org:10003 [2022-06-06T01:28:28.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:28.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:28.816Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:28.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:28.816Z] [2022-06-06T01:28:28.816Z] Login Succeeded [2022-06-06T01:28:28.816Z] nexus3.edgexfoundry.org:10004 [2022-06-06T01:28:29.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:29.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:29.078Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:29.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:29.078Z] [2022-06-06T01:28:29.078Z] Login Succeeded [2022-06-06T01:28:29.078Z] docker.io [2022-06-06T01:28:29.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:28:29.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:28:29.339Z] Configure a credential helper to remove this warning. See [2022-06-06T01:28:29.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:28:29.339Z] [2022-06-06T01:28:29.339Z] Login Succeeded [2022-06-06T01:28:29.339Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T01:28:29.364Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-06T01:28:29.555Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T01:28:29.586Z] ========================================================= [2022-06-06T01:28:29.586Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-06T01:28:29.586Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:28:30.054Z] + 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 . [2022-06-06T01:28:30.054Z] Sending build context to Docker daemon 5.884MB [2022-06-06T01:28:30.054Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T01:28:30.054Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-06T01:28:30.054Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-06T01:28:30.054Z] 59bf1c3509f3: Pulling fs layer [2022-06-06T01:28:30.054Z] 666ba61612fd: Pulling fs layer [2022-06-06T01:28:30.054Z] 8ed8ca486205: Pulling fs layer [2022-06-06T01:28:30.054Z] cc1cd167ecdc: Pulling fs layer [2022-06-06T01:28:30.054Z] c516ae0d96e1: Pulling fs layer [2022-06-06T01:28:30.054Z] 684cea983483: Pulling fs layer [2022-06-06T01:28:30.054Z] dd3240ac7de5: Pulling fs layer [2022-06-06T01:28:30.054Z] b1e948a4e11c: Pulling fs layer [2022-06-06T01:28:30.054Z] a8fd76ee1af6: Pulling fs layer [2022-06-06T01:28:30.054Z] 646ad004c059: Pulling fs layer [2022-06-06T01:28:30.054Z] c516ae0d96e1: Waiting [2022-06-06T01:28:30.054Z] 684cea983483: Waiting [2022-06-06T01:28:30.054Z] dd3240ac7de5: Waiting [2022-06-06T01:28:30.054Z] b1e948a4e11c: Waiting [2022-06-06T01:28:30.054Z] cc1cd167ecdc: Waiting [2022-06-06T01:28:30.054Z] a8fd76ee1af6: Waiting [2022-06-06T01:28:30.054Z] 646ad004c059: Waiting [2022-06-06T01:28:30.054Z] 8ed8ca486205: Verifying Checksum [2022-06-06T01:28:30.054Z] 8ed8ca486205: Download complete [2022-06-06T01:28:30.054Z] 666ba61612fd: Verifying Checksum [2022-06-06T01:28:30.054Z] 666ba61612fd: Download complete [2022-06-06T01:28:30.321Z] c516ae0d96e1: Verifying Checksum [2022-06-06T01:28:30.321Z] c516ae0d96e1: Download complete [2022-06-06T01:28:30.321Z] 684cea983483: Verifying Checksum [2022-06-06T01:28:30.321Z] 684cea983483: Download complete [2022-06-06T01:28:30.321Z] 59bf1c3509f3: Verifying Checksum [2022-06-06T01:28:30.321Z] 59bf1c3509f3: Download complete [2022-06-06T01:28:30.321Z] dd3240ac7de5: Verifying Checksum [2022-06-06T01:28:30.321Z] dd3240ac7de5: Download complete [2022-06-06T01:28:30.321Z] b1e948a4e11c: Verifying Checksum [2022-06-06T01:28:30.321Z] b1e948a4e11c: Download complete [2022-06-06T01:28:30.321Z] 59bf1c3509f3: Pull complete [2022-06-06T01:28:30.582Z] 666ba61612fd: Pull complete [2022-06-06T01:28:30.582Z] 8ed8ca486205: Pull complete [2022-06-06T01:28:30.847Z] 646ad004c059: Verifying Checksum [2022-06-06T01:28:30.847Z] 646ad004c059: Download complete [2022-06-06T01:28:31.108Z] cc1cd167ecdc: Verifying Checksum [2022-06-06T01:28:31.108Z] cc1cd167ecdc: Download complete [2022-06-06T01:28:31.108Z] a8fd76ee1af6: Verifying Checksum [2022-06-06T01:28:31.108Z] a8fd76ee1af6: Download complete [2022-06-06T01:28:35.314Z] cc1cd167ecdc: Pull complete [2022-06-06T01:28:35.314Z] c516ae0d96e1: Pull complete [2022-06-06T01:28:35.314Z] 684cea983483: Pull complete [2022-06-06T01:28:35.314Z] dd3240ac7de5: Pull complete [2022-06-06T01:28:35.314Z] b1e948a4e11c: Pull complete [2022-06-06T01:28:37.857Z] a8fd76ee1af6: Pull complete [2022-06-06T01:28:38.794Z] 646ad004c059: Pull complete [2022-06-06T01:28:38.794Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-06T01:28:38.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-06T01:28:38.794Z] ---> 8f69c11f6b0c [2022-06-06T01:28:38.794Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T01:28:40.183Z] ---> Running in c2c4473b51b2 [2022-06-06T01:28:40.183Z] Removing intermediate container c2c4473b51b2 [2022-06-06T01:28:40.183Z] ---> 636452f5e80d [2022-06-06T01:28:40.183Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T01:28:40.183Z] ---> Running in 1540a97064e5 [2022-06-06T01:28:40.444Z] Removing intermediate container 1540a97064e5 [2022-06-06T01:28:40.444Z] ---> 5b147fbaf66b [2022-06-06T01:28:40.444Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T01:28:40.444Z] ---> Running in b9da0a256c48 [2022-06-06T01:28:41.015Z] Removing intermediate container b9da0a256c48 [2022-06-06T01:28:41.015Z] ---> 31a90c1524ff [2022-06-06T01:28:41.015Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T01:28:41.015Z] ---> Running in cb041a221625 [2022-06-06T01:28:41.586Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-06T01:28:42.530Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-06T01:28:42.792Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-06T01:28:42.792Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-06T01:28:43.039Z] Still waiting to schedule task [2022-06-06T01:28:43.040Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1092’ [2022-06-06T01:28:43.054Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-06T01:28:43.054Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-06T01:28:43.054Z] Executing busybox-1.34.1-r3.trigger [2022-06-06T01:28:43.054Z] OK: 224 MiB in 56 packages [2022-06-06T01:28:43.638Z] Removing intermediate container cb041a221625 [2022-06-06T01:28:43.638Z] ---> 4349ba49d0f2 [2022-06-06T01:28:43.638Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-06T01:28:43.638Z] ---> Running in b67d271178b6 [2022-06-06T01:28:43.638Z] Removing intermediate container b67d271178b6 [2022-06-06T01:28:43.638Z] ---> 6ba4d2e19815 [2022-06-06T01:28:43.638Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-06T01:28:43.901Z] ---> c8b8615ed0a7 [2022-06-06T01:28:43.901Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T01:28:43.901Z] ---> Running in 943de5f01d6a [2022-06-06T01:29:02.027Z] Removing intermediate container 943de5f01d6a [2022-06-06T01:29:02.027Z] ---> 90952ec1e005 [2022-06-06T01:29:02.027Z] Step 10/12 : COPY . . [2022-06-06T01:29:02.289Z] ---> 5ca8acffa8c6 [2022-06-06T01:29:02.289Z] Step 11/12 : ARG MAKE='make build' [2022-06-06T01:29:02.289Z] ---> Running in dd5e6020f2f0 [2022-06-06T01:29:02.289Z] Removing intermediate container dd5e6020f2f0 [2022-06-06T01:29:02.289Z] ---> 2309741422be [2022-06-06T01:29:02.289Z] Step 12/12 : RUN $MAKE [2022-06-06T01:29:02.289Z] ---> Running in 28c6281eff84 [2022-06-06T01:29:02.860Z] noop [2022-06-06T01:29:03.122Z] Removing intermediate container 28c6281eff84 [2022-06-06T01:29:03.122Z] ---> 72bd971f13fb [2022-06-06T01:29:03.122Z] Successfully built 72bd971f13fb [2022-06-06T01:29:03.122Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:29:03.579Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-06T01:29:03.579Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T01:29:03.735Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2022-06-06T01:29:03.846Z] $ 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 [2022-06-06T01:29:04.249Z] $ docker top a7b82ce1bae64ded84820f93a4386b3060c3cb4e69228d9997273a04847dee97 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T01:29:04.691Z] + go version [2022-06-06T01:29:04.691Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-06T01:29:04.726Z] $ docker stop --time=1 a7b82ce1bae64ded84820f93a4386b3060c3cb4e69228d9997273a04847dee97 [2022-06-06T01:29:06.026Z] $ 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 [2022-06-06T01:29:06.731Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-06T01:29:06.731Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T01:29:06.895Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2022-06-06T01:29:06.945Z] $ 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 [2022-06-06T01:29:07.351Z] $ docker top 8c48629b81a3cb0e41958c29d83c648d54352f59729f801353f3230ba1c25caa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-06T01:29:07.798Z] + make test [2022-06-06T01:29:07.798Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-06T01:29:08.056Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-06T01:29:18.043Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-06T01:29:18.304Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements [2022-06-06T01:29:18.304Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-06T01:29:26.438Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-06T01:29:30.653Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-06T01:29:30.653Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-06T01:29:30.653Z] ./bin/test-attribution-txt.sh [2022-06-06T01:29:30.653Z] An attribution for golang.org/x/sync is missing from in Attribution.txt, please add [2022-06-06T01:29:30.913Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-06-06T01:29:30.959Z] $ docker stop --time=1 8c48629b81a3cb0e41958c29d83c648d54352f59729f801353f3230ba1c25caa [2022-06-06T01:29:32.692Z] $ 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 [2022-06-06T01:29:33.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T01:29:33.897Z] [2022-06-06T01:29:33.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:29:34.277Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T01:29:34.277Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-06T01:29:34.277Z] 5eb5b503b376: Pulling fs layer [2022-06-06T01:29:34.277Z] 5c69ac0246d0: Pulling fs layer [2022-06-06T01:29:34.277Z] ec43610c2a17: Pulling fs layer [2022-06-06T01:29:34.277Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-06T01:29:34.277Z] 33b1e0a273af: Pulling fs layer [2022-06-06T01:29:34.277Z] 5d3b04190fa2: Pulling fs layer [2022-06-06T01:29:34.277Z] 2f39f015ded8: Pulling fs layer [2022-06-06T01:29:34.277Z] 3a2ae6a8a46f: Waiting [2022-06-06T01:29:34.277Z] 2f39f015ded8: Waiting [2022-06-06T01:29:34.277Z] 33b1e0a273af: Waiting [2022-06-06T01:29:34.277Z] 5d3b04190fa2: Waiting [2022-06-06T01:29:34.277Z] 5c69ac0246d0: Verifying Checksum [2022-06-06T01:29:34.277Z] 5c69ac0246d0: Download complete [2022-06-06T01:29:34.277Z] 3a2ae6a8a46f: Download complete [2022-06-06T01:29:34.277Z] 33b1e0a273af: Verifying Checksum [2022-06-06T01:29:34.277Z] 33b1e0a273af: Download complete [2022-06-06T01:29:34.277Z] ec43610c2a17: Verifying Checksum [2022-06-06T01:29:34.277Z] ec43610c2a17: Download complete [2022-06-06T01:29:34.538Z] 5d3b04190fa2: Verifying Checksum [2022-06-06T01:29:34.538Z] 5d3b04190fa2: Download complete [2022-06-06T01:29:34.538Z] 5eb5b503b376: Verifying Checksum [2022-06-06T01:29:34.538Z] 5eb5b503b376: Download complete [2022-06-06T01:29:35.108Z] 2f39f015ded8: Download complete [2022-06-06T01:29:36.049Z] 5eb5b503b376: Pull complete [2022-06-06T01:29:36.049Z] 5c69ac0246d0: Pull complete [2022-06-06T01:29:36.621Z] ec43610c2a17: Pull complete [2022-06-06T01:29:36.621Z] 3a2ae6a8a46f: Pull complete [2022-06-06T01:29:36.884Z] 33b1e0a273af: Pull complete [2022-06-06T01:29:37.145Z] 5d3b04190fa2: Pull complete [2022-06-06T01:29:42.439Z] 2f39f015ded8: Pull complete [2022-06-06T01:29:42.439Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-06T01:29:42.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T01:29:42.439Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T01:29:42.667Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2022-06-06T01:29:42.710Z] $ 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 [2022-06-06T01:29:44.457Z] $ docker top af462161e95977ee23c331acb5bed59e91a94ce9c8dad9de5b6549aa504bbd87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:29:44.930Z] ---> job-cost.sh [2022-06-06T01:29:44.930Z] lf-activate-venv: SKIPPING [2022-06-06T01:29:44.930Z] INFO: No Stack... [2022-06-06T01:29:45.500Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-06T01:29:45.760Z] INFO: Archiving Costs [Pipeline] sh [2022-06-06T01:29:46.074Z] + cat /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/cost.csv [2022-06-06T01:29:46.074Z] + cut -d, -f6 [Pipeline] lock [2022-06-06T01:29:46.114Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [2022-06-06T01:29:46.119Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] did not exist. Created. [2022-06-06T01:29:46.119Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-06T01:29:46.516Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-06T01:29:46.572Z] Stashed 1 file(s) [Pipeline] } [2022-06-06T01:29:46.598Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-06T01:29:46.688Z] $ docker stop --time=1 af462161e95977ee23c331acb5bed59e91a94ce9c8dad9de5b6549aa504bbd87 [2022-06-06T01:29:47.874Z] $ docker rm -f af462161e95977ee23c331acb5bed59e91a94ce9c8dad9de5b6549aa504bbd87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-06T01:29:48.239Z] Failed in branch amd64 [2022-06-06T01:31:45.382Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1098 in /w/workspace/gexfoundry_device-mqtt-go_PR-385 [Pipeline] { [Pipeline] ws [2022-06-06T01:31:45.424Z] Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [2022-06-06T01:31:45.603Z] Selected Git installation does not exist. Using Default [2022-06-06T01:31:45.603Z] The recommended git tool is: NONE [2022-06-06T01:31:53.012Z] using credential edgex-jenkins-ssh [2022-06-06T01:31:53.030Z] Cloning the remote Git repository [2022-06-06T01:31:53.108Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-06T01:31:53.191Z] > git init /w/workspace/device-mqtt-go/1 # timeout=10 [2022-06-06T01:31:53.299Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-06T01:31:53.301Z] > git --version # timeout=10 [2022-06-06T01:31:53.344Z] > git --version # 'git version 2.25.1' [2022-06-06T01:31:53.346Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T01:31:53.407Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-06T01:31:54.396Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-06T01:31:54.414Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-06T01:31:54.443Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-06T01:31:54.530Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-06T01:31:54.531Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T01:31:54.547Z] > 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 [2022-06-06T01:31:55.098Z] Merging remotes/origin/main commit 7519713814a588af452d23e7e2efd8901124a458 into PR head commit 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [2022-06-06T01:31:55.325Z] Merge succeeded, producing 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a [2022-06-06T01:31:55.325Z] Checking out Revision 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a (PR-385) [2022-06-06T01:31:55.122Z] > git config core.sparsecheckout # timeout=10 [2022-06-06T01:31:55.137Z] > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 [2022-06-06T01:31:55.231Z] > git remote # timeout=10 [2022-06-06T01:31:55.250Z] > git config --get remote.origin.url # timeout=10 [2022-06-06T01:31:55.268Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-06T01:31:55.283Z] > git merge 7519713814a588af452d23e7e2efd8901124a458 # timeout=10 [2022-06-06T01:31:55.311Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-06T01:31:55.337Z] > git config core.sparsecheckout # timeout=10 [2022-06-06T01:31:55.352Z] > git checkout -f 43fe76228df93a2df3c4b7308e40b9d1dbe5bc0a # timeout=10 [2022-06-06T01:31:59.622Z] Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [2022-06-06T01:31:59.696Z] > git --version # timeout=10 [2022-06-06T01:31:59.710Z] > git --version # 'git version 2.25.1' [2022-06-06T01:31:59.726Z] fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-06T01:32:00.701Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-06T01:32:00.701Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-06T01:32:00.701Z] Dload Upload Total Spent Left Speed [2022-06-06T01:32:00.702Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh [2022-06-06T01:32:01.651Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-06T01:32:02.005Z] + sudo tee /etc/docker/daemon.new [2022-06-06T01:32:02.005Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-06T01:32:02.005Z] { [2022-06-06T01:32:02.005Z] "registry-mirrors": [ [2022-06-06T01:32:02.005Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-06T01:32:02.005Z] ], [2022-06-06T01:32:02.005Z] "bip": "10.250.0.254/24", [2022-06-06T01:32:02.005Z] "hosts": [ [2022-06-06T01:32:02.005Z] "tcp://0.0.0.0:5555", [2022-06-06T01:32:02.005Z] "unix:///var/run/docker.sock" [2022-06-06T01:32:02.005Z] ], [2022-06-06T01:32:02.005Z] "mtu": 1458, [2022-06-06T01:32:02.005Z] "selinux-enabled": true, [2022-06-06T01:32:02.005Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-06T01:32:02.005Z] } [Pipeline] sh [2022-06-06T01:32:02.366Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-06T01:32:02.725Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T01:32:21.145Z] provisioning config files... [2022-06-06T01:32:21.171Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8290946617123785302tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:32:21.597Z] ---> docker-login.sh [2022-06-06T01:32:21.597Z] nexus3.edgexfoundry.org:10001 [2022-06-06T01:32:22.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:32:22.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:32:22.472Z] Configure a credential helper to remove this warning. See [2022-06-06T01:32:22.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:32:22.472Z] [2022-06-06T01:32:22.472Z] Login Succeeded [2022-06-06T01:32:22.472Z] nexus3.edgexfoundry.org:10002 [2022-06-06T01:32:22.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:32:23.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:32:23.034Z] Configure a credential helper to remove this warning. See [2022-06-06T01:32:23.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:32:23.034Z] [2022-06-06T01:32:23.034Z] Login Succeeded [2022-06-06T01:32:23.034Z] nexus3.edgexfoundry.org:10003 [2022-06-06T01:32:23.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:32:23.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:32:23.594Z] Configure a credential helper to remove this warning. See [2022-06-06T01:32:23.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:32:23.594Z] [2022-06-06T01:32:23.594Z] Login Succeeded [2022-06-06T01:32:23.594Z] nexus3.edgexfoundry.org:10004 [2022-06-06T01:32:23.870Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:32:24.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:32:24.150Z] Configure a credential helper to remove this warning. See [2022-06-06T01:32:24.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:32:24.150Z] [2022-06-06T01:32:24.150Z] Login Succeeded [2022-06-06T01:32:24.150Z] docker.io [2022-06-06T01:32:24.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-06T01:32:24.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-06T01:32:24.699Z] Configure a credential helper to remove this warning. See [2022-06-06T01:32:24.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-06T01:32:24.699Z] [2022-06-06T01:32:24.699Z] Login Succeeded [2022-06-06T01:32:24.699Z] ---> docker-login.sh ends [Pipeline] } [2022-06-06T01:32:24.729Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-06T01:32:25.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-06T01:32:25.186Z] ========================================================= [2022-06-06T01:32:25.186Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-06T01:32:25.186Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:32:25.872Z] + 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 . [2022-06-06T01:32:26.162Z] Sending build context to Docker daemon 3.038MB [2022-06-06T01:32:26.162Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-06T01:32:26.162Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-06T01:32:26.449Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-06T01:32:26.449Z] 9b3977197b4f: Pulling fs layer [2022-06-06T01:32:26.449Z] 1a89e8eeedd5: Pulling fs layer [2022-06-06T01:32:26.449Z] 94645a83ff95: Pulling fs layer [2022-06-06T01:32:26.449Z] e6fb740bc735: Pulling fs layer [2022-06-06T01:32:26.449Z] 3a77bd46dcc9: Pulling fs layer [2022-06-06T01:32:26.449Z] 355e64cbe906: Pulling fs layer [2022-06-06T01:32:26.449Z] 63ab81a10011: Pulling fs layer [2022-06-06T01:32:26.449Z] 555d1d1c4555: Pulling fs layer [2022-06-06T01:32:26.449Z] 7d9057610161: Pulling fs layer [2022-06-06T01:32:26.449Z] e6fb740bc735: Waiting [2022-06-06T01:32:26.449Z] 3a77bd46dcc9: Waiting [2022-06-06T01:32:26.449Z] 355e64cbe906: Waiting [2022-06-06T01:32:26.449Z] 63ab81a10011: Waiting [2022-06-06T01:32:26.449Z] 7d9057610161: Waiting [2022-06-06T01:32:26.449Z] 555d1d1c4555: Waiting [2022-06-06T01:32:26.449Z] 94645a83ff95: Verifying Checksum [2022-06-06T01:32:26.449Z] 94645a83ff95: Download complete [2022-06-06T01:32:26.449Z] 1a89e8eeedd5: Verifying Checksum [2022-06-06T01:32:26.449Z] 1a89e8eeedd5: Download complete [2022-06-06T01:32:26.449Z] 3a77bd46dcc9: Verifying Checksum [2022-06-06T01:32:26.449Z] 3a77bd46dcc9: Download complete [2022-06-06T01:32:26.449Z] 355e64cbe906: Verifying Checksum [2022-06-06T01:32:26.449Z] 355e64cbe906: Download complete [2022-06-06T01:32:26.449Z] 9b3977197b4f: Verifying Checksum [2022-06-06T01:32:26.449Z] 9b3977197b4f: Download complete [2022-06-06T01:32:26.449Z] 63ab81a10011: Verifying Checksum [2022-06-06T01:32:26.449Z] 63ab81a10011: Download complete [2022-06-06T01:32:27.443Z] 9b3977197b4f: Pull complete [2022-06-06T01:32:27.721Z] 7d9057610161: Verifying Checksum [2022-06-06T01:32:27.721Z] 7d9057610161: Download complete [2022-06-06T01:32:28.001Z] 1a89e8eeedd5: Pull complete [2022-06-06T01:32:28.279Z] 94645a83ff95: Pull complete [2022-06-06T01:32:28.879Z] 555d1d1c4555: Verifying Checksum [2022-06-06T01:32:28.879Z] 555d1d1c4555: Download complete [2022-06-06T01:32:29.484Z] e6fb740bc735: Verifying Checksum [2022-06-06T01:32:29.484Z] e6fb740bc735: Download complete [2022-06-06T01:32:41.897Z] e6fb740bc735: Pull complete [2022-06-06T01:32:41.897Z] 3a77bd46dcc9: Pull complete [2022-06-06T01:32:41.897Z] 355e64cbe906: Pull complete [2022-06-06T01:32:42.170Z] 63ab81a10011: Pull complete [2022-06-06T01:32:48.898Z] 555d1d1c4555: Pull complete [2022-06-06T01:32:50.338Z] 7d9057610161: Pull complete [2022-06-06T01:32:50.338Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-06T01:32:50.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-06T01:32:50.338Z] ---> 819e984ddca1 [2022-06-06T01:32:50.338Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-06T01:32:52.339Z] ---> Running in 56f1729579a0 [2022-06-06T01:32:52.339Z] Removing intermediate container 56f1729579a0 [2022-06-06T01:32:52.339Z] ---> 91efe3a5f1e6 [2022-06-06T01:32:52.339Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-06T01:32:52.615Z] ---> Running in 98beb2841cea [2022-06-06T01:32:52.890Z] Removing intermediate container 98beb2841cea [2022-06-06T01:32:52.890Z] ---> 09a43cc34216 [2022-06-06T01:32:52.890Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-06T01:32:52.890Z] ---> Running in 4fddca51ac42 [2022-06-06T01:32:56.287Z] Removing intermediate container 4fddca51ac42 [2022-06-06T01:32:56.287Z] ---> 34cc42f40377 [2022-06-06T01:32:56.287Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-06T01:32:56.287Z] ---> Running in 65c985f75a00 [2022-06-06T01:32:57.270Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-06T01:32:58.256Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-06T01:32:58.854Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-06T01:32:59.128Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-06T01:32:59.128Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-06T01:32:59.404Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-06T01:32:59.404Z] Executing busybox-1.34.1-r3.trigger [2022-06-06T01:32:59.404Z] OK: 224 MiB in 56 packages [2022-06-06T01:33:00.402Z] Removing intermediate container 65c985f75a00 [2022-06-06T01:33:00.402Z] ---> ba730a656162 [2022-06-06T01:33:00.402Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-06T01:33:00.402Z] ---> Running in cd04d96dab45 [2022-06-06T01:33:00.678Z] Removing intermediate container cd04d96dab45 [2022-06-06T01:33:00.678Z] ---> 41748591140d [2022-06-06T01:33:00.678Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-06T01:33:01.280Z] ---> dafbedbe5046 [2022-06-06T01:33:01.280Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-06T01:33:01.280Z] ---> Running in 38089f7d5b3b [2022-06-06T01:33:48.242Z] Removing intermediate container 38089f7d5b3b [2022-06-06T01:33:48.242Z] ---> 4071ca932428 [2022-06-06T01:33:48.242Z] Step 10/12 : COPY . . [2022-06-06T01:33:48.242Z] ---> e7e1a7135536 [2022-06-06T01:33:48.242Z] Step 11/12 : ARG MAKE='make build' [2022-06-06T01:33:48.242Z] ---> Running in c34af8ee85ce [2022-06-06T01:33:48.242Z] Removing intermediate container c34af8ee85ce [2022-06-06T01:33:48.242Z] ---> 1c7428a4fe15 [2022-06-06T01:33:48.242Z] Step 12/12 : RUN $MAKE [2022-06-06T01:33:48.242Z] ---> Running in 6f0c3d4bad72 [2022-06-06T01:33:48.242Z] noop [2022-06-06T01:33:48.242Z] Removing intermediate container 6f0c3d4bad72 [2022-06-06T01:33:48.242Z] ---> faf17e680d2c [2022-06-06T01:33:48.242Z] Successfully built faf17e680d2c [2022-06-06T01:33:48.242Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:33:48.724Z] + docker inspect -f . ci-base-image-arm64 [2022-06-06T01:33:48.724Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T01:33:49.029Z] prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container [2022-06-06T01:33:49.119Z] $ 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 [2022-06-06T01:33:50.449Z] $ docker top a6eafdb143133be137db957f9e33e3cb869374e203ff04731866fc584216afe5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T01:33:51.416Z] + go version [2022-06-06T01:33:51.416Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-06T01:33:51.456Z] $ docker stop --time=1 a6eafdb143133be137db957f9e33e3cb869374e203ff04731866fc584216afe5 [2022-06-06T01:33:53.072Z] $ 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 [2022-06-06T01:33:54.003Z] + docker inspect -f . ci-base-image-arm64 [2022-06-06T01:33:54.003Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T01:33:54.323Z] prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container [2022-06-06T01:33:54.410Z] $ 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 [2022-06-06T01:33:55.666Z] $ docker top 6ef029e65e7645c104a96188e3129733637052f1b6183cf5c1e4db5d34086026 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-06T01:33:56.638Z] + make test [2022-06-06T01:33:56.638Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-06T01:33:58.631Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-06T01:35:20.481Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-06T01:35:20.481Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements [2022-06-06T01:35:20.481Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-06T01:35:20.481Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-06T01:35:20.481Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-06T01:35:47.300Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-06T01:35:47.300Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-06T01:35:47.300Z] ./bin/test-attribution-txt.sh [2022-06-06T01:35:48.282Z] An attribution for golang.org/x/sync is missing from in Attribution.txt, please add [2022-06-06T01:35:48.552Z] make: *** [Makefile:48: test] Error 1 [Pipeline] } [2022-06-06T01:35:48.604Z] $ docker stop --time=1 6ef029e65e7645c104a96188e3129733637052f1b6183cf5c1e4db5d34086026 [2022-06-06T01:35:50.422Z] $ 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 [2022-06-06T01:35:51.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T01:35:51.960Z] [2022-06-06T01:35:51.960Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:35:52.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T01:35:52.633Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-06T01:35:52.633Z] 8998bd30e6a1: Pulling fs layer [2022-06-06T01:35:52.633Z] 04944245beec: Pulling fs layer [2022-06-06T01:35:52.633Z] 699f458cf7ca: Pulling fs layer [2022-06-06T01:35:52.633Z] 765212b225bb: Pulling fs layer [2022-06-06T01:35:52.633Z] f23df028b6ca: Pulling fs layer [2022-06-06T01:35:52.633Z] d65c8cfc05b1: Pulling fs layer [2022-06-06T01:35:52.633Z] 2437ff75d9bd: Pulling fs layer [2022-06-06T01:35:52.633Z] f23df028b6ca: Waiting [2022-06-06T01:35:52.633Z] 765212b225bb: Waiting [2022-06-06T01:35:52.633Z] d65c8cfc05b1: Waiting [2022-06-06T01:35:52.633Z] 04944245beec: Verifying Checksum [2022-06-06T01:35:52.633Z] 04944245beec: Download complete [2022-06-06T01:35:52.633Z] 765212b225bb: Verifying Checksum [2022-06-06T01:35:52.633Z] 765212b225bb: Download complete [2022-06-06T01:35:52.633Z] f23df028b6ca: Download complete [2022-06-06T01:35:52.916Z] d65c8cfc05b1: Verifying Checksum [2022-06-06T01:35:52.916Z] d65c8cfc05b1: Download complete [2022-06-06T01:35:52.916Z] 699f458cf7ca: Verifying Checksum [2022-06-06T01:35:52.916Z] 699f458cf7ca: Download complete [2022-06-06T01:35:53.193Z] 8998bd30e6a1: Verifying Checksum [2022-06-06T01:35:53.193Z] 8998bd30e6a1: Download complete [2022-06-06T01:35:55.829Z] 2437ff75d9bd: Verifying Checksum [2022-06-06T01:35:55.829Z] 2437ff75d9bd: Download complete [2022-06-06T01:35:57.836Z] 8998bd30e6a1: Pull complete [2022-06-06T01:35:58.112Z] 04944245beec: Pull complete [2022-06-06T01:35:59.553Z] 699f458cf7ca: Pull complete [2022-06-06T01:35:59.828Z] 765212b225bb: Pull complete [2022-06-06T01:36:00.815Z] f23df028b6ca: Pull complete [2022-06-06T01:36:00.815Z] d65c8cfc05b1: Pull complete [2022-06-06T01:36:15.922Z] 2437ff75d9bd: Pull complete [2022-06-06T01:36:15.922Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-06T01:36:15.922Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-06T01:36:15.922Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T01:36:16.336Z] prd-ubuntu20.04-docker-arm64-4c-16g-1098 does not seem to be running inside a container [2022-06-06T01:36:16.435Z] $ 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 [2022-06-06T01:36:19.022Z] $ docker top e4c770ff3a078258bbf533da958361f47371e6dd2511347b86a33d3a32665a13 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:36:20.011Z] ---> job-cost.sh [2022-06-06T01:36:20.011Z] lf-activate-venv: SKIPPING [2022-06-06T01:36:20.011Z] INFO: No Stack... [2022-06-06T01:36:20.609Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-06T01:36:21.205Z] INFO: Archiving Costs [Pipeline] sh [2022-06-06T01:36:21.886Z] + cut -d, -f6 [2022-06-06T01:36:21.886Z] + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock [2022-06-06T01:36:21.976Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [2022-06-06T01:36:21.980Z] Resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] did not exist. Created. [2022-06-06T01:36:21.980Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-06T01:36:22.788Z] /w/workspace/device-mqtt-go/1@tmp/durable-dbded417/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-06T01:36:23.512Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-06T01:36:23.545Z] Warning: overwriting stash ‘stack-cost’ [2022-06-06T01:36:24.041Z] Stashed 1 file(s) [Pipeline] } [2022-06-06T01:36:24.055Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-385-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-06T01:36:24.142Z] $ docker stop --time=1 e4c770ff3a078258bbf533da958361f47371e6dd2511347b86a33d3a32665a13 [2022-06-06T01:36:25.690Z] $ 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] } [2022-06-06T01:36:26.449Z] 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 [2022-06-06T01:36:28.364Z] + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives ] [2022-06-06T01:36:28.364Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives [2022-06-06T01:36:28.364Z] total 16 [2022-06-06T01:36:28.364Z] drwxr-xr-x 3 root root 4096 Jun 6 01:29 . [2022-06-06T01:36:28.364Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 6 01:29 .. [2022-06-06T01:36:28.364Z] drwxr-xr-x 2 root root 4096 Jun 6 01:29 cost [2022-06-06T01:36:28.364Z] -rw-r--r-- 1 root root 85 Jun 6 01:29 cost.csv [2022-06-06T01:36:28.364Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives [2022-06-06T01:36:28.364Z] + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives [2022-06-06T01:36:28.364Z] total 16 [2022-06-06T01:36:28.364Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 6 01:29 . [2022-06-06T01:36:28.364Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 6 01:29 .. [2022-06-06T01:36:28.364Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 6 01:29 cost [2022-06-06T01:36:28.364Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 6 01:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:36:28.696Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:36:29.598Z] ---> package-listing.sh [2022-06-06T01:36:29.598Z] ++ facter osfamily [2022-06-06T01:36:29.598Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-06T01:36:29.858Z] + OS_FAMILY=debian [2022-06-06T01:36:29.858Z] + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-385 [2022-06-06T01:36:29.858Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-06T01:36:29.858Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-06T01:36:29.858Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-06T01:36:29.858Z] + PACKAGES=/tmp/packages_start.txt [2022-06-06T01:36:29.858Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' [2022-06-06T01:36:29.858Z] + PACKAGES=/tmp/packages_end.txt [2022-06-06T01:36:29.858Z] + case "${OS_FAMILY}" in [2022-06-06T01:36:29.858Z] + dpkg -l [2022-06-06T01:36:29.858Z] + grep '^ii' [2022-06-06T01:36:29.858Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-06T01:36:29.858Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-06T01:36:29.858Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-06T01:36:29.858Z] + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-385 ']' [2022-06-06T01:36:29.858Z] + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-385/archives/ [2022-06-06T01:36:29.858Z] + 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 [2022-06-06T01:36:29.891Z] 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 [2022-06-06T01:36:30.207Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-06T01:36:30.639Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-06T01:36:30.639Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-06T01:36:30.805Z] prd-ubuntu20.04-docker-8c-8g-1095 does not seem to be running inside a container [2022-06-06T01:36:30.845Z] $ 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 [2022-06-06T01:36:31.105Z] $ docker top c31a09175b042ed9b9f0b83f6db68bedec3f748f66432b61356737c552d8984a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-06T01:36:31.501Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-06T01:36:31.814Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-06T01:36:32.122Z] + ls /var/log/sa-host [2022-06-06T01:36:32.122Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-06T01:36:32.310Z] provisioning config files... [2022-06-06T01:36:32.322Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-385@tmp/config6406598001565277325tmp [Pipeline] { [Pipeline] echo [2022-06-06T01:36:32.368Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:36:32.683Z] ---> create-netrc.sh [Pipeline] } [2022-06-06T01:36:32.715Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:36:33.112Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-06T01:36:33.146Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:36:33.456Z] ---> sudo-logs.sh [2022-06-06T01:36:33.456Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-06T01:36:33.542Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:36:33.855Z] ---> job-cost.sh [2022-06-06T01:36:33.855Z] lf-activate-venv: SKIPPING [2022-06-06T01:36:33.855Z] DEBUG: total: 0.2199999988079071 [2022-06-06T01:36:33.855Z] INFO: Retrieving Stack Cost... [2022-06-06T01:36:34.429Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-06T01:36:34.689Z] INFO: Archiving Costs [Pipeline] echo [2022-06-06T01:36:34.722Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-06T01:36:35.033Z] ---> logs-deploy.sh [2022-06-06T01:36:35.034Z] lf-activate-venv: SKIPPING [2022-06-06T01:36:35.034Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-385/1 [2022-06-06T01:36:35.034Z] INFO: archiving workspace using pattern(s): [2022-06-06T01:36:35.977Z] Archives upload complete. [2022-06-06T01:36:35.977Z] INFO: archiving logs to Nexus