Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1194565ec3dd3fecf5aea8b03608c37bc22f8c26+195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 (8bfb1c8ea6015daf77b682d6b9e8e75c62663bc3) 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-ssh213661873757131415.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh13048904698299444749.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-337/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-337/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3890542633734401325.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh359892116899438901.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-337/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-337/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7985776329286276862.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4873 in /w/workspace/gexfoundry_device-mqtt-go_PR-337 [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-337 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/jenkins-gitclient-ssh8768602048008183177.key > 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 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 into PR head commit 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 Merge succeeded, producing e4bf2835c60098d7296be0042d4b8fb60a7d2e6e Checking out Revision e4bf2835c60098d7296be0042d4b8fb60a7d2e6e (PR-337) > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/jenkins-gitclient-ssh4569620811080642472.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/jenkins-gitclient-ssh364936765127735338.key > git merge 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4bf2835c60098d7296be0042d4b8fb60a7d2e6e # timeout=10 Commit message: "Merge commit '195658a04037eb8b6dd2e89b8fc6d25babbaa5f0' into HEAD" > git rev-list --no-walk 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:17:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:17:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:17:12 ========================================================= 03:17:12 EdgeX Global Pipelines Version Info 03:17:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:17:13 ------------------- 03:17:13 stable info: 03:17:13 ------------------- 03:17:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:17:13 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 03:17:13 Message: update stable to v1.0.220 03:17:14 ------------------- 03:17:14 experimental info: 03:17:14 ------------------- 03:17:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:17:14 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 03:17:14 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-337 [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-337 [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-337 [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e4bf283 [Pipeline] echo 03:17:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:14 provisioning config files... 03:17:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/config1108089852699817045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:15 ---> docker-login.sh 03:17:15 nexus3.edgexfoundry.org:10001 03:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:15 Configure a credential helper to remove this warning. See 03:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:15 03:17:15 Login Succeeded 03:17:15 nexus3.edgexfoundry.org:10002 03:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:15 Configure a credential helper to remove this warning. See 03:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:15 03:17:15 Login Succeeded 03:17:15 nexus3.edgexfoundry.org:10003 03:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:15 Configure a credential helper to remove this warning. See 03:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:15 03:17:15 Login Succeeded 03:17:15 nexus3.edgexfoundry.org:10004 03:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:15 Configure a credential helper to remove this warning. See 03:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:15 03:17:15 Login Succeeded 03:17:15 docker.io 03:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:16 Configure a credential helper to remove this warning. See 03:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:16 03:17:16 Login Succeeded 03:17:16 ---> docker-login.sh ends [Pipeline] } 03:17:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:17:16 + git rev-list -1 --merges e4bf2835c60098d7296be0042d4b8fb60a7d2e6e~1..e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [Pipeline] echo 03:17:16 -----------> git rev-list -1 --merges e4bf2835c60098d7296be0042d4b8fb60a7d2e6e~1..e4bf2835c60098d7296be0042d4b8fb60a7d2e6e e4bf2835c60098d7296be0042d4b8fb60a7d2e6e 03:17:16 e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [false] [Pipeline] sh 03:17:16 + git log --format=format:%s -1 e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [Pipeline] echo 03:17:17 ========================================================= 03:17:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:17:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:17 + git log --format=format:%s -1 e4bf2835c60098d7296be0042d4b8fb60a7d2e6e [Pipeline] echo 03:17:17 [semverPrep] GIT_COMMIT: e4bf2835c60098d7296be0042d4b8fb60a7d2e6e, Commit Message: Merge commit '195658a04037eb8b6dd2e89b8fc6d25babbaa5f0' into HEAD [Pipeline] echo 03:17:17 [semverPrep] This is not a build commit. [Pipeline] sh 03:17:17 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 03:17:17 + grep -v github /etc/ssh/ssh_known_hosts 03:17:17 + '[' -e /tmp/ssh_known_hosts ']' 03:17:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:17:17 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 03:17:17 + sudo tee -a /etc/ssh/ssh_known_hosts 03:17:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:17:18 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:18 03:17:18 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:17:18 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:18 latest: Pulling from edgex-devops/git-semver 03:17:18 a0d0a0d46f8b: Pulling fs layer 03:17:18 3e5f54012d9b: Pulling fs layer 03:17:18 4c7163046ea9: Pulling fs layer 03:17:18 0c2d73faf560: Pulling fs layer 03:17:18 3e5f54012d9b: Verifying Checksum 03:17:18 3e5f54012d9b: Download complete 03:17:18 a0d0a0d46f8b: Verifying Checksum 03:17:18 a0d0a0d46f8b: Download complete 03:17:18 4c7163046ea9: Verifying Checksum 03:17:18 4c7163046ea9: Download complete 03:17:18 0c2d73faf560: Verifying Checksum 03:17:18 0c2d73faf560: Download complete 03:17:18 a0d0a0d46f8b: Pull complete 03:17:18 3e5f54012d9b: Pull complete 03:17:19 4c7163046ea9: Pull complete 03:17:19 0c2d73faf560: Pull complete 03:17:19 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:17:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:17:19 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:17:19 prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container 03:17:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:17:20 $ docker top 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:17:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:20 [ssh-agent] Looking for ssh-agent implementation... 03:17:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:20 $ docker exec 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 ssh-agent 03:17:20 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOkmedH/agent.14 03:17:20 SSH_AGENT_PID=21 03:17:20 Running ssh-add (command line suppressed) 03:17:20 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/private_key_4513902563679823033.key (/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/private_key_4513902563679823033.key) 03:17:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:20 + git tag --points-at HEAD [Pipeline] } 03:17:20 $ docker exec --env ******** --env ******** 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 ssh-agent -k 03:17:20 unset SSH_AUTH_SOCK; 03:17:20 unset SSH_AGENT_PID; 03:17:20 echo Agent pid 21 killed; 03:17:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:17:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:17:21 [ssh-agent] Looking for ssh-agent implementation... 03:17:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:17:21 $ docker exec 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 ssh-agent 03:17:21 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNkLaHb/agent.56 03:17:21 SSH_AGENT_PID=62 03:17:21 Running ssh-add (command line suppressed) 03:17:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/private_key_730936971164221940.key (/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/private_key_730936971164221940.key) 03:17:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:17:21 + git semver init 03:17:21 # -> Open(): unable to determine branch for HEAD 03:17:21 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-337/.git 03:17:21 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-337 03:17:21 # $SEMVER_REMOTE_NAME = origin 03:17:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:17:21 # $SEMVER_USER_NAME = edgex-jenkins 03:17:21 # $SEMVER_BRANCH = PR-337 03:17:21 # $SEMVER_TEMP = /tmp/semver-760014412 03:17:21 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 03:17:22 # '/tmp/semver-760014412' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-337/.semver' 03:17:22 # -> Force: false 03:17:22 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-337/.semver [Pipeline] } 03:17:22 $ docker exec --env ******** --env ******** 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 ssh-agent -k 03:17:22 unset SSH_AUTH_SOCK; 03:17:22 unset SSH_AGENT_PID; 03:17:22 echo Agent pid 62 killed; 03:17:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:17:22 + git semver [Pipeline] } 03:17:23 $ docker stop --time=1 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 03:17:24 $ docker rm -f 3f9122ee5fb8ed379fcc66ab4f0d939e28599d08d6c9f6d40bb5d314bb0eccc3 [Pipeline] // withDockerContainer [Pipeline] sh 03:17:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:17:24 Stashed 1 file(s) [Pipeline] echo 03:17:24 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:17:25 provisioning config files... 03:17:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/config6099133377654113106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:17:25 ---> docker-login.sh 03:17:25 nexus3.edgexfoundry.org:10001 03:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:25 Configure a credential helper to remove this warning. See 03:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:25 03:17:25 Login Succeeded 03:17:25 nexus3.edgexfoundry.org:10002 03:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:25 Configure a credential helper to remove this warning. See 03:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:25 03:17:25 Login Succeeded 03:17:25 nexus3.edgexfoundry.org:10003 03:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:25 Configure a credential helper to remove this warning. See 03:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:25 03:17:25 Login Succeeded 03:17:25 nexus3.edgexfoundry.org:10004 03:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:25 Configure a credential helper to remove this warning. See 03:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:25 03:17:25 Login Succeeded 03:17:25 docker.io 03:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:17:26 Configure a credential helper to remove this warning. See 03:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:17:26 03:17:26 Login Succeeded 03:17:26 ---> docker-login.sh ends [Pipeline] } 03:17:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:17:26 ========================================================= 03:17:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:17:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:17:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 03:17:26 Sending build context to Docker daemon 5.755MB 03:17:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:17:26 Step 2/12 : FROM ${BASE} AS builder 03:17:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:17:26 59bf1c3509f3: Pulling fs layer 03:17:26 666ba61612fd: Pulling fs layer 03:17:26 8ed8ca486205: Pulling fs layer 03:17:26 4fe6c5a15a65: Pulling fs layer 03:17:26 22a0e8bec74d: Pulling fs layer 03:17:26 640e595b4fbd: Pulling fs layer 03:17:26 763cafe07f6e: Pulling fs layer 03:17:26 0c0b528cf693: Pulling fs layer 03:17:26 10935f4eaf8b: Pulling fs layer 03:17:26 4fe6c5a15a65: Waiting 03:17:26 22a0e8bec74d: Waiting 03:17:26 640e595b4fbd: Waiting 03:17:26 763cafe07f6e: Waiting 03:17:26 0c0b528cf693: Waiting 03:17:26 10935f4eaf8b: Waiting 03:17:26 8ed8ca486205: Verifying Checksum 03:17:26 8ed8ca486205: Download complete 03:17:26 666ba61612fd: Verifying Checksum 03:17:26 666ba61612fd: Download complete 03:17:26 22a0e8bec74d: Verifying Checksum 03:17:26 22a0e8bec74d: Download complete 03:17:26 59bf1c3509f3: Verifying Checksum 03:17:26 59bf1c3509f3: Download complete 03:17:26 640e595b4fbd: Verifying Checksum 03:17:26 640e595b4fbd: Download complete 03:17:26 763cafe07f6e: Verifying Checksum 03:17:26 763cafe07f6e: Download complete 03:17:26 0c0b528cf693: Verifying Checksum 03:17:26 0c0b528cf693: Download complete 03:17:27 4fe6c5a15a65: Verifying Checksum 03:17:27 4fe6c5a15a65: Download complete 03:17:27 10935f4eaf8b: Verifying Checksum 03:17:27 10935f4eaf8b: Download complete 03:17:27 59bf1c3509f3: Pull complete 03:17:27 666ba61612fd: Pull complete 03:17:27 8ed8ca486205: Pull complete 03:17:31 4fe6c5a15a65: Pull complete 03:17:32 22a0e8bec74d: Pull complete 03:17:32 640e595b4fbd: Pull complete 03:17:32 763cafe07f6e: Pull complete 03:17:32 0c0b528cf693: Pull complete 03:17:35 10935f4eaf8b: Pull complete 03:17:35 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 03:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:17:35 ---> 99d49a6021b9 03:17:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:17:36 ---> Running in 4ffa87ad9355 03:17:36 Removing intermediate container 4ffa87ad9355 03:17:36 ---> 05c0835b2e14 03:17:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:17:37 ---> Running in 650c3d3157f2 03:17:37 Removing intermediate container 650c3d3157f2 03:17:37 ---> ec5b0ad55e8b 03:17:37 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:17:37 ---> Running in c6bb844bbd75 03:17:37 Removing intermediate container c6bb844bbd75 03:17:37 ---> 950acb4d9c86 03:17:37 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:17:37 ---> Running in 7d19035294d9 03:17:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:17:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:17:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:17:39 (2/4) Installing libedit (20210910.3.1-r0) 03:17:39 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:17:39 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:17:39 Executing busybox-1.34.1-r3.trigger 03:17:39 OK: 224 MiB in 56 packages 03:17:39 Still waiting to schedule task 03:17:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 03:17:40 Removing intermediate container 7d19035294d9 03:17:40 ---> 46349d00633b 03:17:40 Step 7/12 : WORKDIR /device-mqtt-go 03:17:40 ---> Running in ea6928047dc7 03:17:40 Removing intermediate container ea6928047dc7 03:17:40 ---> 66a4d41c2908 03:17:40 Step 8/12 : COPY go.mod vendor* ./ 03:17:40 ---> 42518a4d15b3 03:17:40 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:17:40 ---> Running in ad75ff4b991b 03:18:36 Removing intermediate container ad75ff4b991b 03:18:36 ---> 2ca1b3579d1d 03:18:36 Step 10/12 : COPY . . 03:18:36 ---> 51bc00b16e54 03:18:36 Step 11/12 : ARG MAKE='make build' 03:18:36 ---> Running in 40561f818cbf 03:18:36 Removing intermediate container 40561f818cbf 03:18:36 ---> ca0b6c4921b6 03:18:36 Step 12/12 : RUN $MAKE 03:18:36 ---> Running in ef122ce55a8b 03:18:36 noop 03:18:36 Removing intermediate container ef122ce55a8b 03:18:36 ---> 39d19794f9d7 03:18:36 Successfully built 39d19794f9d7 03:18:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:18:36 + docker inspect -f . ci-base-image-x86_64 03:18:36 . [Pipeline] withDockerContainer 03:18:36 prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container 03:18:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@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-x86_64 cat 03:18:37 $ docker top cdd541ae5804951f800ed79da0ff509a9633f86e4e5f53f62dea831521cb3dd5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:37 + go version 03:18:37 go version go1.17.6 linux/amd64 [Pipeline] } 03:18:37 $ docker stop --time=1 cdd541ae5804951f800ed79da0ff509a9633f86e4e5f53f62dea831521cb3dd5 03:18:38 $ docker rm -f cdd541ae5804951f800ed79da0ff509a9633f86e4e5f53f62dea831521cb3dd5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:18:39 + docker inspect -f . ci-base-image-x86_64 03:18:39 . [Pipeline] withDockerContainer 03:18:39 prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container 03:18:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@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-x86_64 cat 03:18:39 $ docker top a79079ab6f06758cf964be274a7ce5e02feaa60dcbf8eb2f118576b912cba901 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:18:40 + make test 03:18:40 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:18:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:18:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:18:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.5% of statements 03:18:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:18:56 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:19:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:19:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:19:01 ./bin/test-attribution-txt.sh 03:19:01 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 03:19:01 make: *** [Makefile:32: test] Error 1 [Pipeline] } 03:19:01 $ docker stop --time=1 a79079ab6f06758cf964be274a7ce5e02feaa60dcbf8eb2f118576b912cba901 03:19:03 $ docker rm -f a79079ab6f06758cf964be274a7ce5e02feaa60dcbf8eb2f118576b912cba901 [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] sh 03:19:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:04 03:19:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:19:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:04 latest: Pulling from edgex-lftools-log-publisher 03:19:04 b4d181a07f80: Pulling fs layer 03:19:04 a1111a8f2ec3: Pulling fs layer 03:19:04 ed53099fbce6: Pulling fs layer 03:19:04 dc539afda2c1: Pulling fs layer 03:19:04 77bc0d833cb6: Pulling fs layer 03:19:04 9065ff56babe: Pulling fs layer 03:19:04 d287ab97295c: Pulling fs layer 03:19:04 77bc0d833cb6: Waiting 03:19:04 9065ff56babe: Waiting 03:19:04 d287ab97295c: Waiting 03:19:04 dc539afda2c1: Waiting 03:19:04 a1111a8f2ec3: Verifying Checksum 03:19:04 a1111a8f2ec3: Download complete 03:19:04 dc539afda2c1: Verifying Checksum 03:19:04 dc539afda2c1: Download complete 03:19:04 77bc0d833cb6: Verifying Checksum 03:19:04 77bc0d833cb6: Download complete 03:19:04 ed53099fbce6: Verifying Checksum 03:19:04 ed53099fbce6: Download complete 03:19:04 9065ff56babe: Verifying Checksum 03:19:04 9065ff56babe: Download complete 03:19:04 b4d181a07f80: Verifying Checksum 03:19:04 b4d181a07f80: Download complete 03:19:05 d287ab97295c: Verifying Checksum 03:19:05 d287ab97295c: Download complete 03:19:06 b4d181a07f80: Pull complete 03:19:06 a1111a8f2ec3: Pull complete 03:19:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4874 in /w/workspace/gexfoundry_device-mqtt-go_PR-337 [Pipeline] { [Pipeline] ws 03:19:06 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 03:19:06 ed53099fbce6: Pull complete 03:19:06 dc539afda2c1: Pull complete 03:19:06 Selected Git installation does not exist. Using Default 03:19:06 The recommended git tool is: NONE 03:19:07 77bc0d833cb6: Pull complete 03:19:07 9065ff56babe: Pull complete 03:19:11 using credential edgex-jenkins-ssh 03:19:11 Cloning the remote Git repository 03:19:11 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 03:19:11 > git init /w/workspace/device-mqtt-go/2 # timeout=10 03:19:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:19:11 > git --version # timeout=10 03:19:11 > git --version # 'git version 2.17.1' 03:19:11 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:19:12 d287ab97295c: Pull complete 03:19:12 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 03:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:19:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:19:12 prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container 03:19:12 $ 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-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:19:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:19:12 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:19:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 03:19:12 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 03:19:12 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:12 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/337/head:refs/remotes/origin/PR-337 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:19:13 Merging remotes/origin/main commit 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 into PR head commit 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 03:19:13 Merge succeeded, producing 9ee4bfa5b1c98b8f6dc2383e4b47a6e28166eb25 03:19:13 Checking out Revision 9ee4bfa5b1c98b8f6dc2383e4b47a6e28166eb25 (PR-337) 03:19:13 > git config core.sparsecheckout # timeout=10 03:19:13 > git checkout -f 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 # timeout=10 03:19:13 > git remote # timeout=10 03:19:13 > git config --get remote.origin.url # timeout=10 03:19:13 using GIT_SSH to set credentials SSH Credentials for GitHub 03:19:13 > git merge 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 03:19:13 > git rev-parse HEAD^{commit} # timeout=10 03:19:13 > git config core.sparsecheckout # timeout=10 03:19:13 > git checkout -f 9ee4bfa5b1c98b8f6dc2383e4b47a6e28166eb25 # timeout=10 03:19:15 $ docker top 2d2bc62fca81f48030d054483e47e430aa8465f6d4c99f7a409916ae50a2b305 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:15 ---> job-cost.sh 03:19:15 lf-activate-venv: SKIPPING 03:19:15 INFO: No Stack... 03:19:15 INFO: Retrieving Pricing Info for: v3-standard-2 03:19:16 INFO: Archiving Costs [Pipeline] sh 03:19:16 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives/cost.csv 03:19:16 + cut -d, -f6 [Pipeline] lock 03:19:16 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] 03:19:16 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] did not exist. Created. 03:19:16 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:19:16 + echo total: 0.05999999865889549 [Pipeline] stash 03:19:16 Stashed 1 file(s) [Pipeline] } 03:19:17 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:19:17 $ docker stop --time=1 2d2bc62fca81f48030d054483e47e430aa8465f6d4c99f7a409916ae50a2b305 03:19:17 Commit message: "Merge commit '195658a04037eb8b6dd2e89b8fc6d25babbaa5f0' into HEAD" 03:19:17 > git rev-list --no-walk 1194565ec3dd3fecf5aea8b03608c37bc22f8c26 # timeout=10 03:19:18 $ docker rm -f 2d2bc62fca81f48030d054483e47e430aa8465f6d4c99f7a409916ae50a2b305 03:19:18 03:19:18 GitHub has been notified of this commit’s build result 03:19:18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:19:18 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:19:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:19:18 % Total % Received % Xferd Average Speed Time Time Time Current 03:19:18 Dload Upload Total Spent Left Speed 03:19:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh 03:19:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:19:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:19:19 + sudo tee /etc/docker/daemon.new 03:19:19 { 03:19:19 "registry-mirrors": [ 03:19:19 "https://nexus3.edgexfoundry.org:10001" 03:19:19 ], 03:19:19 "bip": "10.250.0.254/24", 03:19:19 "hosts": [ 03:19:19 "tcp://0.0.0.0:5555", 03:19:19 "unix:///var/run/docker.sock" 03:19:19 ], 03:19:19 "mtu": 1458, 03:19:19 "selinux-enabled": true, 03:19:19 "seccomp-profile": "/etc/docker/seccomp.json" 03:19:19 } [Pipeline] sh 03:19:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:19:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:19:38 provisioning config files... 03:19:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config3950234613858912371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:19:39 ---> docker-login.sh 03:19:39 nexus3.edgexfoundry.org:10001 03:19:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:39 Configure a credential helper to remove this warning. See 03:19:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:39 03:19:39 Login Succeeded 03:19:39 nexus3.edgexfoundry.org:10002 03:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:40 Configure a credential helper to remove this warning. See 03:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:40 03:19:40 Login Succeeded 03:19:40 nexus3.edgexfoundry.org:10003 03:19:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:40 Configure a credential helper to remove this warning. See 03:19:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:40 03:19:40 Login Succeeded 03:19:40 nexus3.edgexfoundry.org:10004 03:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:41 Configure a credential helper to remove this warning. See 03:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:41 03:19:41 Login Succeeded 03:19:41 docker.io 03:19:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:19:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:19:41 Configure a credential helper to remove this warning. See 03:19:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:19:41 03:19:41 Login Succeeded 03:19:41 ---> docker-login.sh ends [Pipeline] } 03:19:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:19:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:19:42 ========================================================= 03:19:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:19:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:19:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 03:19:43 Sending build context to Docker daemon 2.995MB 03:19:43 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:19:43 Step 2/12 : FROM ${BASE} AS builder 03:19:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:19:43 9b3977197b4f: Pulling fs layer 03:19:43 1a89e8eeedd5: Pulling fs layer 03:19:43 94645a83ff95: Pulling fs layer 03:19:43 3f3a8bcf1eab: Pulling fs layer 03:19:43 0c92f367c5e7: Pulling fs layer 03:19:43 f7c0051592d6: Pulling fs layer 03:19:43 a227ed2f7395: Pulling fs layer 03:19:43 7b1c46037f91: Pulling fs layer 03:19:43 0c92f367c5e7: Waiting 03:19:43 f7c0051592d6: Waiting 03:19:43 a227ed2f7395: Waiting 03:19:43 7b1c46037f91: Waiting 03:19:43 3f3a8bcf1eab: Waiting 03:19:43 94645a83ff95: Verifying Checksum 03:19:43 94645a83ff95: Download complete 03:19:43 1a89e8eeedd5: Download complete 03:19:43 0c92f367c5e7: Verifying Checksum 03:19:43 0c92f367c5e7: Download complete 03:19:43 f7c0051592d6: Verifying Checksum 03:19:43 f7c0051592d6: Download complete 03:19:43 9b3977197b4f: Download complete 03:19:43 a227ed2f7395: Verifying Checksum 03:19:43 a227ed2f7395: Download complete 03:19:43 9b3977197b4f: Pull complete 03:19:44 1a89e8eeedd5: Pull complete 03:19:44 94645a83ff95: Pull complete 03:19:45 7b1c46037f91: Verifying Checksum 03:19:45 7b1c46037f91: Download complete 03:19:45 3f3a8bcf1eab: Verifying Checksum 03:19:45 3f3a8bcf1eab: Download complete 03:19:58 3f3a8bcf1eab: Pull complete 03:19:58 0c92f367c5e7: Pull complete 03:19:58 f7c0051592d6: Pull complete 03:19:58 a227ed2f7395: Pull complete 03:20:03 7b1c46037f91: Pull complete 03:20:03 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 03:20:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:20:03 ---> f79e39bc4007 03:20:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:20:04 ---> Running in c2f305b31c42 03:20:05 Removing intermediate container c2f305b31c42 03:20:05 ---> 4a6147e5de03 03:20:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 03:20:05 ---> Running in 6a8dfda87a22 03:20:05 Removing intermediate container 6a8dfda87a22 03:20:05 ---> ca04bc378d12 03:20:05 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:20:06 ---> Running in 809ee99ac8e6 03:20:07 Removing intermediate container 809ee99ac8e6 03:20:07 ---> 3cae715403a5 03:20:07 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:20:07 ---> Running in 146c499a9984 03:20:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:20:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:20:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:20:10 (2/4) Installing libedit (20210910.3.1-r0) 03:20:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:20:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:20:10 Executing busybox-1.34.1-r3.trigger 03:20:10 OK: 224 MiB in 56 packages 03:20:11 Removing intermediate container 146c499a9984 03:20:11 ---> 1dbfaa859fe8 03:20:11 Step 7/12 : WORKDIR /device-mqtt-go 03:20:11 ---> Running in b11e2cfdcf66 03:20:12 Removing intermediate container b11e2cfdcf66 03:20:12 ---> 1e140efb1f86 03:20:12 Step 8/12 : COPY go.mod vendor* ./ 03:20:12 ---> ebb66c1d5f41 03:20:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:12 ---> Running in 1bc376cce6b3 03:21:34 Removing intermediate container 1bc376cce6b3 03:21:34 ---> 3533f96bda5e 03:21:34 Step 10/12 : COPY . . 03:21:34 ---> b1ee25dcf673 03:21:34 Step 11/12 : ARG MAKE='make build' 03:21:34 ---> Running in c7ac8941828f 03:21:34 Removing intermediate container c7ac8941828f 03:21:34 ---> 4db80127708f 03:21:34 Step 12/12 : RUN $MAKE 03:21:34 ---> Running in eda532696987 03:21:34 noop 03:21:34 Removing intermediate container eda532696987 03:21:34 ---> 021c3158b5e4 03:21:34 Successfully built 021c3158b5e4 03:21:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:21:35 + docker inspect -f . ci-base-image-arm64 03:21:35 . [Pipeline] withDockerContainer 03:21:35 prd-ubuntu18.04-docker-arm64-4c-16g-4874 does not seem to be running inside a container 03:21:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:21:36 $ docker top b79db97df4ed7bcbcfe03d011a2231e91efa953fc26c7e273ab565fce81a2a99 -eo pid,comm [Pipeline] { [Pipeline] sh 03:21:37 + go version 03:21:37 go version go1.17.6 linux/arm64 [Pipeline] } 03:21:37 $ docker stop --time=1 b79db97df4ed7bcbcfe03d011a2231e91efa953fc26c7e273ab565fce81a2a99 03:21:39 $ docker rm -f b79db97df4ed7bcbcfe03d011a2231e91efa953fc26c7e273ab565fce81a2a99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:21:39 + docker inspect -f . ci-base-image-arm64 03:21:39 . [Pipeline] withDockerContainer 03:21:40 prd-ubuntu18.04-docker-arm64-4c-16g-4874 does not seem to be running inside a container 03:21:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:21:41 $ docker top 6da07598fee0b7c9493797662434b13e46fabef4790d529f555734d15ca52780 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:21:42 + make test 03:21:42 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:21:43 ? github.com/edgexfoundry/device-mqtt-go [no test files] 03:22:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 03:22:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.054s coverage: 22.5% of statements 03:22:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 03:22:30 GCO_ENABLED=1 GO111MODULE=on go vet ./... 03:22:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:22:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:22:48 ./bin/test-attribution-txt.sh 03:22:49 An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add 03:22:50 make: *** [Makefile:32: test] Error 1 [Pipeline] } 03:22:50 $ docker stop --time=1 6da07598fee0b7c9493797662434b13e46fabef4790d529f555734d15ca52780 03:22:51 $ docker rm -f 6da07598fee0b7c9493797662434b13e46fabef4790d529f555734d15ca52780 [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] sh 03:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:52 03:22:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:22:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:22:53 arm64: Pulling from edgex-lftools-log-publisher 03:22:53 448f6bf000e3: Pulling fs layer 03:22:53 f757da607395: Pulling fs layer 03:22:53 05883995daec: Pulling fs layer 03:22:53 8603b9c90790: Pulling fs layer 03:22:53 1560dd03e051: Pulling fs layer 03:22:53 27f5ce0e4adf: Pulling fs layer 03:22:53 c2d8d7efcc4b: Pulling fs layer 03:22:53 8603b9c90790: Waiting 03:22:53 1560dd03e051: Waiting 03:22:53 27f5ce0e4adf: Waiting 03:22:53 c2d8d7efcc4b: Waiting 03:22:53 f757da607395: Verifying Checksum 03:22:53 f757da607395: Download complete 03:22:53 8603b9c90790: Download complete 03:22:53 1560dd03e051: Verifying Checksum 03:22:53 1560dd03e051: Download complete 03:22:53 27f5ce0e4adf: Verifying Checksum 03:22:53 27f5ce0e4adf: Download complete 03:22:53 05883995daec: Verifying Checksum 03:22:53 05883995daec: Download complete 03:22:53 448f6bf000e3: Verifying Checksum 03:22:53 448f6bf000e3: Download complete 03:22:56 c2d8d7efcc4b: Verifying Checksum 03:22:56 c2d8d7efcc4b: Download complete 03:22:57 448f6bf000e3: Pull complete 03:22:58 f757da607395: Pull complete 03:22:59 05883995daec: Pull complete 03:22:59 8603b9c90790: Pull complete 03:23:00 1560dd03e051: Pull complete 03:23:01 27f5ce0e4adf: Pull complete 03:23:16 c2d8d7efcc4b: Pull complete 03:23:16 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 03:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:23:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:23:16 prd-ubuntu18.04-docker-arm64-4c-16g-4874 does not seem to be running inside a container 03:23:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:23:18 $ docker top 6c57d37ee915657d0c7061ae7e51d637489a877ecb663de1883ab52bf303ef9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:19 ---> job-cost.sh 03:23:19 lf-activate-venv: SKIPPING 03:23:19 INFO: No Stack... 03:23:20 INFO: Retrieving Pricing Info for: v3-standard-4 03:23:20 INFO: Archiving Costs [Pipeline] sh 03:23:21 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 03:23:21 + cut -d, -f6 [Pipeline] lock 03:23:21 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] 03:23:21 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] did not exist. Created. 03:23:21 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:23:22 /w/workspace/device-mqtt-go/2@tmp/durable-bc352a01/script.sh: 1: /w/workspace/device-mqtt-go/2@tmp/durable-bc352a01/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 03:23:22 + echo total: 0.10999999940395355 [Pipeline] stash 03:23:22 Warning: overwriting stash ‘stack-cost’ 03:23:22 Stashed 1 file(s) [Pipeline] } 03:23:22 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-337-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:23:22 $ docker stop --time=1 6c57d37ee915657d0c7061ae7e51d637489a877ecb663de1883ab52bf303ef9a 03:23:24 $ docker rm -f 6c57d37ee915657d0c7061ae7e51d637489a877ecb663de1883ab52bf303ef9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:23:24 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:23:25 + '[' -d /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives ']' 03:23:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives 03:23:25 total 8 03:23:25 drwxr-xr-x. 3 root root 34 Feb 9 03:19 . 03:23:25 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 9 03:19 .. 03:23:25 drwxr-xr-x. 2 root root 6 Feb 9 03:19 cost 03:23:25 -rw-r--r--. 1 root root 85 Feb 9 03:19 cost.csv 03:23:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives 03:23:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives 03:23:25 total 8 03:23:25 drwxr-xr-x. 3 jenkins jenkins 34 Feb 9 03:19 . 03:23:25 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 9 03:19 .. 03:23:25 drwxr-xr-x. 2 jenkins jenkins 6 Feb 9 03:19 cost 03:23:25 -rw-r--r--. 1 jenkins jenkins 85 Feb 9 03:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:23:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:23:26 ---> package-listing.sh 03:23:26 ++ tr '[:upper:]' '[:lower:]' 03:23:26 ++ facter osfamily 03:23:26 + OS_FAMILY=redhat 03:23:26 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-337 03:23:26 + START_PACKAGES=/tmp/packages_start.txt 03:23:26 + END_PACKAGES=/tmp/packages_end.txt 03:23:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:23:26 + PACKAGES=/tmp/packages_start.txt 03:23:26 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-337 ']' 03:23:26 + PACKAGES=/tmp/packages_end.txt 03:23:26 + case "${OS_FAMILY}" in 03:23:26 + sort 03:23:26 + rpm -qa 03:23:27 + '[' -f /tmp/packages_start.txt ']' 03:23:27 + '[' -f /tmp/packages_end.txt ']' 03:23:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:23:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-337 ']' 03:23:27 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives/ 03:23:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-337/archives/ [Pipeline] echo 03:23:27 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-337/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:23:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:23:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:23:27 . [Pipeline] withDockerContainer 03:23:27 prd-centos7-docker-4c-2g-4873 does not seem to be running inside a container 03:23:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-337/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-337 -v /w/workspace/gexfoundry_device-mqtt-go_PR-337:/w/workspace/gexfoundry_device-mqtt-go_PR-337:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-337@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 03:23:28 $ docker top a0fddac5abb24dcc64878bf67d02a17b61891700737d14b01dd2fde52dd13ac3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:23:28 + touch /tmp/pre-build-complete [Pipeline] sh 03:23:28 + mkdir -p /var/log/sysstat [Pipeline] sh 03:23:29 + ls /var/log/sa-host 03:23:29 + sadf -c /var/log/sa-host/sa09 03:23:29 file_magic: OK 03:23:29 HZ: Using current value: 100 03:23:29 file_header: OK 03:23:29 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 03:23:29 Statistics: 03:23:29 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 03:23:29 File successfully converted to sysstat format version 12.0.3 03:23:29 + sadf -c /var/log/sa-host/sa17 03:23:29 file_magic: OK 03:23:29 HZ: Using current value: 100 03:23:29 file_header: OK 03:23:29 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 03:23:29 Statistics: 03:23:29 Hnuu...uuuununununu...Hnuu...uuuununununu... 03:23:29 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:29 provisioning config files... 03:23:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-337@tmp/config7397283898230610362tmp [Pipeline] { [Pipeline] echo 03:23:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:23:29 ---> create-netrc.sh [Pipeline] } 03:23:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:23:29 ---> python-tools-install.sh [Pipeline] echo 03:23:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:23:30 ---> sudo-logs.sh 03:23:30 Archiving 'sudo' log.. 03:23:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-4873.novalocal: Name or service not known 03:23:30 sudo: unable to resolve host prd-centos7-docker-4c-2g-4873.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 03:23:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:23:30 ---> job-cost.sh 03:23:30 lf-activate-venv: SKIPPING 03:23:30 DEBUG: total: 0.05999999865889549 03:23:30 INFO: Retrieving Stack Cost... 03:23:30 INFO: Retrieving Pricing Info for: v3-standard-2 03:23:31 INFO: Archiving Costs [Pipeline] echo 03:23:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:23:31 ---> logs-deploy.sh 03:23:31 lf-activate-venv: SKIPPING 03:23:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-337/2 03:23:31 INFO: archiving workspace using pattern(s): 03:23:31 Archives upload complete. 03:23:32 INFO: archiving logs to Nexus