Pull request #366 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 812ce1605347bdfb925f16c34d20b026de7ad5e2+4d191eb3dac98c01714bec6e3dd8edd5055992ab (bad7184871ca6b212126bf0047fe7f86efeef12c) 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-ssh12744537939451037388.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh5062411793501147187.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-366/workspace@libs/edgex-global-pipelines # 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-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6043380529967284151.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-366/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh205325180561980458.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 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-ssh11442351325768840480.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-366/workspace@libs/lf-pipelines # 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-366/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14042610158684455972.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 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: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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21918’ Running on prd-ubuntu20.04-docker-8c-8g-21924 in /w/workspace/gexfoundry_device-mqtt-go_PR-366 [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-366 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 812ce1605347bdfb925f16c34d20b026de7ad5e2 Merge succeeded, producing 812ce1605347bdfb925f16c34d20b026de7ad5e2 Checking out Revision 812ce1605347bdfb925f16c34d20b026de7ad5e2 (PR-366) > 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/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 812ce1605347bdfb925f16c34d20b026de7ad5e2 # 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 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 812ce1605347bdfb925f16c34d20b026de7ad5e2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:11:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:11:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:11:29 ========================================================= 02:11:29 EdgeX Global Pipelines Version Info 02:11:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:11:30 ------------------- 02:11:30 stable info: 02:11:30 ------------------- 02:11:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:11:30 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:11:30 Message: update stable to v1.0.221 02:11:30 ------------------- 02:11:30 experimental info: 02:11:30 ------------------- 02:11:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:11:30 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 02:11:30 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:11:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:11:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-366 [Pipeline] echo 02:11:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-366 [Pipeline] echo 02:11:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-366 [Pipeline] echo 02:11:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 812ce1605347bdfb925f16c34d20b026de7ad5e2 [Pipeline] echo 02:11:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 812ce16 [Pipeline] echo 02:11:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:32 provisioning config files... 02:11:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/config5284903470826045256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:32 ---> docker-login.sh 02:11:32 nexus3.edgexfoundry.org:10001 02:11:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:32 Configure a credential helper to remove this warning. See 02:11:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:32 02:11:32 Login Succeeded 02:11:32 nexus3.edgexfoundry.org:10002 02:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:33 Configure a credential helper to remove this warning. See 02:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:33 02:11:33 Login Succeeded 02:11:33 nexus3.edgexfoundry.org:10003 02:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:33 Configure a credential helper to remove this warning. See 02:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:33 02:11:33 Login Succeeded 02:11:33 nexus3.edgexfoundry.org:10004 02:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:33 Configure a credential helper to remove this warning. See 02:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:33 02:11:33 Login Succeeded 02:11:33 docker.io 02:11:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:33 Configure a credential helper to remove this warning. See 02:11:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:33 02:11:33 Login Succeeded 02:11:33 ---> docker-login.sh ends [Pipeline] } 02:11:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:11:34 + git rev-list -1 --merges 812ce1605347bdfb925f16c34d20b026de7ad5e2~1..812ce1605347bdfb925f16c34d20b026de7ad5e2 [Pipeline] echo 02:11:34 -----------> git rev-list -1 --merges 812ce1605347bdfb925f16c34d20b026de7ad5e2~1..812ce1605347bdfb925f16c34d20b026de7ad5e2 812ce1605347bdfb925f16c34d20b026de7ad5e2 [false] [Pipeline] sh 02:11:35 + git log --format=format:%s -1 812ce1605347bdfb925f16c34d20b026de7ad5e2 [Pipeline] echo 02:11:35 ========================================================= 02:11:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:11:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:35 + git log --format=format:%s -1 812ce1605347bdfb925f16c34d20b026de7ad5e2 [Pipeline] echo 02:11:35 [semverPrep] GIT_COMMIT: 812ce1605347bdfb925f16c34d20b026de7ad5e2, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 02:11:35 [semverPrep] This is not a build commit. [Pipeline] sh 02:11:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:11:36 + grep -v github /etc/ssh/ssh_known_hosts 02:11:36 + [ -e /tmp/ssh_known_hosts ] 02:11:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:11:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:11:36 + sudo tee -a /etc/ssh/ssh_known_hosts 02:11:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:11:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:11:36 02:11:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:11:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:11:36 latest: Pulling from edgex-devops/git-semver 02:11:36 a0d0a0d46f8b: Pulling fs layer 02:11:36 3e5f54012d9b: Pulling fs layer 02:11:36 4c7163046ea9: Pulling fs layer 02:11:36 0c2d73faf560: Pulling fs layer 02:11:36 3e5f54012d9b: Download complete 02:11:36 a0d0a0d46f8b: Verifying Checksum 02:11:36 a0d0a0d46f8b: Download complete 02:11:36 0c2d73faf560: Verifying Checksum 02:11:36 0c2d73faf560: Download complete 02:11:36 4c7163046ea9: Verifying Checksum 02:11:36 4c7163046ea9: Download complete 02:11:37 a0d0a0d46f8b: Pull complete 02:11:37 3e5f54012d9b: Pull complete 02:11:37 4c7163046ea9: Pull complete 02:11:37 0c2d73faf560: Pull complete 02:11:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:11:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:11:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:11:37 prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container 02:11:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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:10004/edgex-devops/git-semver:latest cat 02:11:38 $ docker top 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:11:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:38 [ssh-agent] Looking for ssh-agent implementation... 02:11:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:38 $ docker exec 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d ssh-agent 02:11:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHGJbiA/agent.13 02:11:38 SSH_AGENT_PID=19 02:11:38 Running ssh-add (command line suppressed) 02:11:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/private_key_6588371540667221001.key (/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/private_key_6588371540667221001.key) 02:11:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:39 + git tag --points-at HEAD [Pipeline] } 02:11:39 $ docker exec --env ******** --env ******** 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d ssh-agent -k 02:11:39 unset SSH_AUTH_SOCK; 02:11:39 unset SSH_AGENT_PID; 02:11:39 echo Agent pid 19 killed; 02:11:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:11:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:11:39 [ssh-agent] Looking for ssh-agent implementation... 02:11:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:11:39 $ docker exec 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d ssh-agent 02:11:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPohPJk/agent.52 02:11:39 SSH_AGENT_PID=58 02:11:39 Running ssh-add (command line suppressed) 02:11:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/private_key_8650720556675270032.key (/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/private_key_8650720556675270032.key) 02:11:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:11:40 + git semver init 02:11:40 # -> Open(): unable to determine branch for HEAD 02:11:40 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-366/.git 02:11:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-366 02:11:40 # $SEMVER_REMOTE_NAME = origin 02:11:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:11:40 # $SEMVER_USER_NAME = edgex-jenkins 02:11:40 # $SEMVER_BRANCH = PR-366 02:11:40 # $SEMVER_TEMP = /tmp/semver-112480596 02:11:40 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 02:11:41 # '/tmp/semver-112480596' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-366/.semver' 02:11:41 # -> Force: false 02:11:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-366/.semver [Pipeline] } 02:11:41 $ docker exec --env ******** --env ******** 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d ssh-agent -k 02:11:41 unset SSH_AUTH_SOCK; 02:11:41 unset SSH_AGENT_PID; 02:11:41 echo Agent pid 58 killed; 02:11:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:11:41 + git semver [Pipeline] } 02:11:42 $ docker stop --time=1 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d 02:11:43 $ docker rm -f 32307b4a99ce4d9e58c0e14c04f798b34b990cc285a8aaa308ba742af5d0089d [Pipeline] // withDockerContainer [Pipeline] sh 02:11:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:11:44 Stashed 1 file(s) [Pipeline] echo 02:11:44 [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 02:11:44 provisioning config files... 02:11:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/config6350126775441594877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:45 ---> docker-login.sh 02:11:45 nexus3.edgexfoundry.org:10001 02:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:45 Configure a credential helper to remove this warning. See 02:11:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:45 02:11:45 Login Succeeded 02:11:45 nexus3.edgexfoundry.org:10002 02:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:45 Configure a credential helper to remove this warning. See 02:11:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:45 02:11:45 Login Succeeded 02:11:45 nexus3.edgexfoundry.org:10003 02:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:45 Configure a credential helper to remove this warning. See 02:11:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:45 02:11:45 Login Succeeded 02:11:45 nexus3.edgexfoundry.org:10004 02:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:45 Configure a credential helper to remove this warning. See 02:11:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:45 02:11:45 Login Succeeded 02:11:45 docker.io 02:11:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:11:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:11:45 Configure a credential helper to remove this warning. See 02:11:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:11:45 02:11:45 Login Succeeded 02:11:45 ---> docker-login.sh ends [Pipeline] } 02:11:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:11:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:11:46 ========================================================= 02:11:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:11:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:11:46 + 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 . 02:11:46 Sending build context to Docker daemon 5.818MB 02:11:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:11:46 Step 2/12 : FROM ${BASE} AS builder 02:11:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:11:46 59bf1c3509f3: Pulling fs layer 02:11:46 666ba61612fd: Pulling fs layer 02:11:46 8ed8ca486205: Pulling fs layer 02:11:46 4fe6c5a15a65: Pulling fs layer 02:11:46 22a0e8bec74d: Pulling fs layer 02:11:46 ca2b28591e48: Pulling fs layer 02:11:46 a51346096db8: Pulling fs layer 02:11:46 daebc70d1ce1: Pulling fs layer 02:11:46 0e18a0eac166: Pulling fs layer 02:11:46 4fe6c5a15a65: Waiting 02:11:46 22a0e8bec74d: Waiting 02:11:46 ca2b28591e48: Waiting 02:11:46 a51346096db8: Waiting 02:11:46 daebc70d1ce1: Waiting 02:11:46 0e18a0eac166: Waiting 02:11:46 8ed8ca486205: Download complete 02:11:46 666ba61612fd: Verifying Checksum 02:11:46 666ba61612fd: Download complete 02:11:46 22a0e8bec74d: Verifying Checksum 02:11:46 22a0e8bec74d: Download complete 02:11:46 ca2b28591e48: Verifying Checksum 02:11:46 ca2b28591e48: Download complete 02:11:46 59bf1c3509f3: Verifying Checksum 02:11:46 a51346096db8: Verifying Checksum 02:11:46 a51346096db8: Download complete 02:11:46 daebc70d1ce1: Verifying Checksum 02:11:46 daebc70d1ce1: Download complete 02:11:46 59bf1c3509f3: Pull complete 02:11:47 666ba61612fd: Pull complete 02:11:47 8ed8ca486205: Pull complete 02:11:47 0e18a0eac166: Verifying Checksum 02:11:47 0e18a0eac166: Download complete 02:11:47 4fe6c5a15a65: Verifying Checksum 02:11:47 4fe6c5a15a65: Download complete 02:11:51 4fe6c5a15a65: Pull complete 02:11:51 22a0e8bec74d: Pull complete 02:11:51 ca2b28591e48: Pull complete 02:11:51 a51346096db8: Pull complete 02:11:52 daebc70d1ce1: Pull complete 02:11:54 0e18a0eac166: Pull complete 02:11:54 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:11:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:11:54 ---> f018257e8ee9 02:11:54 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:11:56 ---> Running in f836c34d8f0c 02:11:56 Removing intermediate container f836c34d8f0c 02:11:56 ---> 2f3debfc81f0 02:11:56 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:11:56 ---> Running in e42ce9c11b3d 02:11:56 Removing intermediate container e42ce9c11b3d 02:11:56 ---> 4e6f671241d2 02:11:56 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:11:56 ---> Running in 20262522f03a 02:11:56 Removing intermediate container 20262522f03a 02:11:56 ---> bc19544d2b44 02:11:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:56 ---> Running in da77bfa2824d 02:11:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:11:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:11:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:11:58 (2/4) Installing libedit (20210910.3.1-r0) 02:11:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:11:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:11:58 Executing busybox-1.34.1-r3.trigger 02:11:58 OK: 224 MiB in 56 packages 02:11:59 Removing intermediate container da77bfa2824d 02:11:59 ---> 168b2f880b27 02:11:59 Step 7/12 : WORKDIR /device-mqtt-go 02:11:59 ---> Running in 64f7a94fd2c0 02:11:59 Removing intermediate container 64f7a94fd2c0 02:11:59 ---> c72bdffbc5cd 02:11:59 Step 8/12 : COPY go.mod vendor* ./ 02:11:59 ---> 7b1afdd98ab2 02:11:59 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:59 ---> Running in baeb5ea7eb1e 02:11:59 Still waiting to schedule task 02:11:59 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21922’ 02:12:21 Removing intermediate container baeb5ea7eb1e 02:12:21 ---> 498c4d55c6d3 02:12:21 Step 10/12 : COPY . . 02:12:21 ---> fd4703a98add 02:12:21 Step 11/12 : ARG MAKE='make build' 02:12:21 ---> Running in 069926b44f75 02:12:21 Removing intermediate container 069926b44f75 02:12:21 ---> eff3b779cb39 02:12:21 Step 12/12 : RUN $MAKE 02:12:21 ---> Running in 3121815c113d 02:12:21 noop 02:12:21 Removing intermediate container 3121815c113d 02:12:21 ---> a1fdc6397607 02:12:21 Successfully built a1fdc6397607 02:12:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:12:21 + docker inspect -f . ci-base-image-x86_64 02:12:21 . [Pipeline] withDockerContainer 02:12:21 prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container 02:12:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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 02:12:22 $ docker top d9432554563dccc012cbc05a10a90e798b4c88c5f9a32e1d6864f72db0918060 -eo pid,comm [Pipeline] { [Pipeline] sh 02:12:22 + go version 02:12:22 go version go1.17.6 linux/amd64 [Pipeline] } 02:12:22 $ docker stop --time=1 d9432554563dccc012cbc05a10a90e798b4c88c5f9a32e1d6864f72db0918060 02:12:24 $ docker rm -f d9432554563dccc012cbc05a10a90e798b4c88c5f9a32e1d6864f72db0918060 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:12:24 + docker inspect -f . ci-base-image-x86_64 02:12:24 . [Pipeline] withDockerContainer 02:12:24 prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container 02:12:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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 02:12:25 $ docker top cb2f9552c59ab23782879d3b42771efb89f406d5a763f1311eac9336f8b40e0b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:12:25 + make test 02:12:25 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:12:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:12:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:12:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 02:12:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:12:42 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:12:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:12:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:12:45 ./bin/test-attribution-txt.sh 02:12:45 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 02:12:46 make: *** [Makefile:48: test] Error 1 [Pipeline] } 02:12:46 $ docker stop --time=1 cb2f9552c59ab23782879d3b42771efb89f406d5a763f1311eac9336f8b40e0b 02:12:47 $ docker rm -f cb2f9552c59ab23782879d3b42771efb89f406d5a763f1311eac9336f8b40e0b [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 02:12:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:49 02:12:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:12:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:49 latest: Pulling from edgex-lftools-log-publisher 02:12:49 5eb5b503b376: Pulling fs layer 02:12:49 5c69ac0246d0: Pulling fs layer 02:12:49 ec43610c2a17: Pulling fs layer 02:12:49 3a2ae6a8a46f: Pulling fs layer 02:12:49 33b1e0a273af: Pulling fs layer 02:12:49 5d3b04190fa2: Pulling fs layer 02:12:49 2f39f015ded8: Pulling fs layer 02:12:49 33b1e0a273af: Waiting 02:12:49 3a2ae6a8a46f: Waiting 02:12:49 5d3b04190fa2: Waiting 02:12:49 2f39f015ded8: Waiting 02:12:49 5c69ac0246d0: Download complete 02:12:49 3a2ae6a8a46f: Verifying Checksum 02:12:49 3a2ae6a8a46f: Download complete 02:12:49 33b1e0a273af: Verifying Checksum 02:12:49 33b1e0a273af: Download complete 02:12:49 5d3b04190fa2: Verifying Checksum 02:12:49 5d3b04190fa2: Download complete 02:12:49 ec43610c2a17: Download complete 02:12:49 5eb5b503b376: Verifying Checksum 02:12:49 5eb5b503b376: Download complete 02:12:50 2f39f015ded8: Download complete 02:12:50 5eb5b503b376: Pull complete 02:12:51 5c69ac0246d0: Pull complete 02:12:51 ec43610c2a17: Pull complete 02:12:51 3a2ae6a8a46f: Pull complete 02:12:51 33b1e0a273af: Pull complete 02:12:51 5d3b04190fa2: Pull complete 02:12:56 2f39f015ded8: Pull complete 02:12:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:12:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:12:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:12:56 prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container 02:12:56 $ 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-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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 02:12:58 $ docker top ba67dbf0a68895f3e7ee023ce45a8f529cc30853c20aaa56352e191f1e76dadf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:12:58 ---> job-cost.sh 02:12:58 lf-activate-venv: SKIPPING 02:12:58 INFO: No Stack... 02:12:58 INFO: Retrieving Pricing Info for: v3-standard-8 02:12:59 INFO: Archiving Costs [Pipeline] sh 02:12:59 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives/cost.csv 02:12:59 + cut -d, -f6 [Pipeline] lock 02:12:59 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] 02:12:59 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] did not exist. Created. 02:12:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:00 + echo total: 0.2199999988079071 [Pipeline] stash 02:13:00 Stashed 1 file(s) [Pipeline] } 02:13:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:00 $ docker stop --time=1 ba67dbf0a68895f3e7ee023ce45a8f529cc30853c20aaa56352e191f1e76dadf 02:13:01 $ docker rm -f ba67dbf0a68895f3e7ee023ce45a8f529cc30853c20aaa56352e191f1e76dadf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:13:01 Failed in branch amd64 02:14:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21928 in /w/workspace/gexfoundry_device-mqtt-go_PR-366 [Pipeline] { [Pipeline] ws 02:14:33 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:14:33 Selected Git installation does not exist. Using Default 02:14:33 The recommended git tool is: NONE 02:14:40 using credential edgex-jenkins-ssh 02:14:40 Cloning the remote Git repository 02:14:40 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:14:40 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:14:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:14:40 > git --version # timeout=10 02:14:40 > git --version # 'git version 2.25.1' 02:14:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:14:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:14:42 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 812ce1605347bdfb925f16c34d20b026de7ad5e2 02:14:42 Merge succeeded, producing 812ce1605347bdfb925f16c34d20b026de7ad5e2 02:14:42 Checking out Revision 812ce1605347bdfb925f16c34d20b026de7ad5e2 (PR-366) 02:14:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:14:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:14:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:14:41 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:14:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:14:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/366/head:refs/remotes/origin/PR-366 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:14:42 > git config core.sparsecheckout # timeout=10 02:14:42 > git checkout -f 812ce1605347bdfb925f16c34d20b026de7ad5e2 # timeout=10 02:14:42 > git remote # timeout=10 02:14:42 > git config --get remote.origin.url # timeout=10 02:14:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:14:42 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 02:14:42 > git rev-parse HEAD^{commit} # timeout=10 02:14:42 > git config core.sparsecheckout # timeout=10 02:14:42 > git checkout -f 812ce1605347bdfb925f16c34d20b026de7ad5e2 # timeout=10 02:14:47 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 02:14:47 > git --version # timeout=10 02:14:47 > git --version # 'git version 2.25.1' 02:14:47 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:14:48 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:14:48 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:48 Dload Upload Total Spent Left Speed 02:14:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 84592 0 --:--:-- --:--:-- --:--:-- 85201 [Pipeline] sh 02:14:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:14:49 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:14:49 + sudo tee /etc/docker/daemon.new 02:14:49 { 02:14:49 "registry-mirrors": [ 02:14:49 "https://nexus3.edgexfoundry.org:10001" 02:14:49 ], 02:14:49 "bip": "10.250.0.254/24", 02:14:49 "hosts": [ 02:14:49 "tcp://0.0.0.0:5555", 02:14:49 "unix:///var/run/docker.sock" 02:14:49 ], 02:14:49 "mtu": 1458, 02:14:49 "selinux-enabled": true, 02:14:49 "seccomp-profile": "/etc/docker/seccomp.json" 02:14:49 } [Pipeline] sh 02:14:49 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:14:50 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:15:08 provisioning config files... 02:15:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3656568224539522454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:15:08 ---> docker-login.sh 02:15:08 nexus3.edgexfoundry.org:10001 02:15:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:09 Configure a credential helper to remove this warning. See 02:15:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:09 02:15:09 Login Succeeded 02:15:09 nexus3.edgexfoundry.org:10002 02:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:10 Configure a credential helper to remove this warning. See 02:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:10 02:15:10 Login Succeeded 02:15:10 nexus3.edgexfoundry.org:10003 02:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:10 Configure a credential helper to remove this warning. See 02:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:10 02:15:10 Login Succeeded 02:15:10 nexus3.edgexfoundry.org:10004 02:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:11 Configure a credential helper to remove this warning. See 02:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:11 02:15:11 Login Succeeded 02:15:11 docker.io 02:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:15:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:15:12 Configure a credential helper to remove this warning. See 02:15:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:15:12 02:15:12 Login Succeeded 02:15:12 ---> docker-login.sh ends [Pipeline] } 02:15:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:15:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:15:12 ========================================================= 02:15:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:15:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:15:12 + 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 . 02:15:13 Sending build context to Docker daemon 3.034MB 02:15:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:15:13 Step 2/12 : FROM ${BASE} AS builder 02:15:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:15:13 9b3977197b4f: Pulling fs layer 02:15:13 1a89e8eeedd5: Pulling fs layer 02:15:13 94645a83ff95: Pulling fs layer 02:15:13 3f3a8bcf1eab: Pulling fs layer 02:15:13 0c92f367c5e7: Pulling fs layer 02:15:13 3096ccb668a1: Pulling fs layer 02:15:13 e8cf19c19ddd: Pulling fs layer 02:15:13 a4caa8a26152: Pulling fs layer 02:15:13 0c92f367c5e7: Waiting 02:15:13 3096ccb668a1: Waiting 02:15:13 e8cf19c19ddd: Waiting 02:15:13 a4caa8a26152: Waiting 02:15:13 3f3a8bcf1eab: Waiting 02:15:13 94645a83ff95: Verifying Checksum 02:15:13 94645a83ff95: Download complete 02:15:13 1a89e8eeedd5: Download complete 02:15:13 0c92f367c5e7: Verifying Checksum 02:15:13 0c92f367c5e7: Download complete 02:15:13 9b3977197b4f: Verifying Checksum 02:15:13 9b3977197b4f: Download complete 02:15:13 3096ccb668a1: Verifying Checksum 02:15:13 3096ccb668a1: Download complete 02:15:13 e8cf19c19ddd: Verifying Checksum 02:15:13 e8cf19c19ddd: Download complete 02:15:14 9b3977197b4f: Pull complete 02:15:15 1a89e8eeedd5: Pull complete 02:15:15 94645a83ff95: Pull complete 02:15:15 a4caa8a26152: Verifying Checksum 02:15:15 a4caa8a26152: Download complete 02:15:16 3f3a8bcf1eab: Verifying Checksum 02:15:16 3f3a8bcf1eab: Download complete 02:15:28 3f3a8bcf1eab: Pull complete 02:15:28 0c92f367c5e7: Pull complete 02:15:28 3096ccb668a1: Pull complete 02:15:29 e8cf19c19ddd: Pull complete 02:15:35 a4caa8a26152: Pull complete 02:15:35 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:15:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:15:35 ---> 725f1c02e7f9 02:15:35 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:15:36 ---> Running in bb8b4fda5301 02:15:36 Removing intermediate container bb8b4fda5301 02:15:36 ---> 1712da38ea80 02:15:36 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:15:36 ---> Running in fa88fca0bd95 02:15:36 Removing intermediate container fa88fca0bd95 02:15:36 ---> 9dbacb0022b6 02:15:36 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:15:37 ---> Running in c2a1bb54f3aa 02:15:39 Removing intermediate container c2a1bb54f3aa 02:15:39 ---> 4f91c5036c53 02:15:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:15:39 ---> Running in 5daa70851c67 02:15:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:15:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:15:43 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:15:43 (2/4) Installing libedit (20210910.3.1-r0) 02:15:43 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:15:43 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:15:43 Executing busybox-1.34.1-r3.trigger 02:15:44 OK: 224 MiB in 56 packages 02:15:45 Removing intermediate container 5daa70851c67 02:15:45 ---> 4e9cef3c90f1 02:15:45 Step 7/12 : WORKDIR /device-mqtt-go 02:15:45 ---> Running in c0cbd0b5547b 02:15:45 Removing intermediate container c0cbd0b5547b 02:15:45 ---> f092e97efc40 02:15:45 Step 8/12 : COPY go.mod vendor* ./ 02:15:46 ---> fcbe092a9130 02:15:46 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:15:46 ---> Running in 3c61ab77bc83 02:16:33 Removing intermediate container 3c61ab77bc83 02:16:33 ---> decd361f54c8 02:16:33 Step 10/12 : COPY . . 02:16:33 ---> ea32718dd193 02:16:33 Step 11/12 : ARG MAKE='make build' 02:16:33 ---> Running in 58a8bb931846 02:16:34 Removing intermediate container 58a8bb931846 02:16:34 ---> 7621b315c2f9 02:16:34 Step 12/12 : RUN $MAKE 02:16:34 ---> Running in f55d3b779ba2 02:16:34 noop 02:16:35 Removing intermediate container f55d3b779ba2 02:16:35 ---> 139a044af455 02:16:35 Successfully built 139a044af455 02:16:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:16:36 + docker inspect -f . ci-base-image-arm64 02:16:36 . [Pipeline] withDockerContainer 02:16:36 prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container 02:16:36 $ 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 ******** ci-base-image-arm64 cat 02:16:38 $ docker top 0e7801ca19f03b54062906d78239e127d3bd66013b3ec44e973c9a06795808e8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:16:39 + go version 02:16:39 go version go1.17.6 linux/arm64 [Pipeline] } 02:16:39 $ docker stop --time=1 0e7801ca19f03b54062906d78239e127d3bd66013b3ec44e973c9a06795808e8 02:16:41 $ docker rm -f 0e7801ca19f03b54062906d78239e127d3bd66013b3ec44e973c9a06795808e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:16:43 + docker inspect -f . ci-base-image-arm64 02:16:43 . [Pipeline] withDockerContainer 02:16:43 prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container 02:16:43 $ 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 ******** ci-base-image-arm64 cat 02:16:45 $ docker top 064c3817db9da14069a2b2a78c9f66241d415fc446e3442998d1f76bacced258 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:16:46 + make test 02:16:46 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:16:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:18:26 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:18:26 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.8% of statements 02:18:26 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:18:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:18:26 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:18:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:18:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:18:44 ./bin/test-attribution-txt.sh 02:18:45 An attribution for github.com/rcrowley/go-metrics is missing from in Attribution.txt, please add 02:18:45 make: *** [Makefile:48: test] Error 1 [Pipeline] } 02:18:45 $ docker stop --time=1 064c3817db9da14069a2b2a78c9f66241d415fc446e3442998d1f76bacced258 02:18:47 $ docker rm -f 064c3817db9da14069a2b2a78c9f66241d415fc446e3442998d1f76bacced258 [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 02:18:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:18:48 02:18:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:18:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:18:49 arm64: Pulling from edgex-lftools-log-publisher 02:18:49 8998bd30e6a1: Pulling fs layer 02:18:49 04944245beec: Pulling fs layer 02:18:49 699f458cf7ca: Pulling fs layer 02:18:49 765212b225bb: Pulling fs layer 02:18:49 f23df028b6ca: Pulling fs layer 02:18:49 d65c8cfc05b1: Pulling fs layer 02:18:49 2437ff75d9bd: Pulling fs layer 02:18:49 765212b225bb: Waiting 02:18:49 f23df028b6ca: Waiting 02:18:49 d65c8cfc05b1: Waiting 02:18:49 04944245beec: Verifying Checksum 02:18:49 04944245beec: Download complete 02:18:49 765212b225bb: Download complete 02:18:49 f23df028b6ca: Verifying Checksum 02:18:49 f23df028b6ca: Download complete 02:18:49 d65c8cfc05b1: Verifying Checksum 02:18:49 d65c8cfc05b1: Download complete 02:18:49 699f458cf7ca: Verifying Checksum 02:18:49 699f458cf7ca: Download complete 02:18:50 8998bd30e6a1: Verifying Checksum 02:18:50 8998bd30e6a1: Download complete 02:18:52 2437ff75d9bd: Verifying Checksum 02:18:52 2437ff75d9bd: Download complete 02:18:54 8998bd30e6a1: Pull complete 02:18:54 04944245beec: Pull complete 02:18:56 699f458cf7ca: Pull complete 02:18:56 765212b225bb: Pull complete 02:18:57 f23df028b6ca: Pull complete 02:18:57 d65c8cfc05b1: Pull complete 02:19:12 2437ff75d9bd: Pull complete 02:19:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:19:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:19:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:19:13 prd-ubuntu20.04-docker-arm64-4c-16g-21928 does not seem to be running inside a container 02:19:13 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:19:16 $ docker top e368a9ffe7f85947950b91e941a1b9272e709dc0280b6bef87b617c0b47f8d58 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:19:17 ---> job-cost.sh 02:19:17 lf-activate-venv: SKIPPING 02:19:17 INFO: No Stack... 02:19:17 INFO: Retrieving Pricing Info for: v3-standard-4 02:19:18 INFO: Archiving Costs [Pipeline] sh 02:19:19 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:19:19 + cut -d, -f6 [Pipeline] lock 02:19:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] 02:19:19 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] did not exist. Created. 02:19:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:19:20 /w/workspace/device-mqtt-go/1@tmp/durable-4f4ba43f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:19:20 + echo total: 0.10999999940395355 [Pipeline] stash 02:19:20 Warning: overwriting stash ‘stack-cost’ 02:19:21 Stashed 1 file(s) [Pipeline] } 02:19:21 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-366-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:19:21 $ docker stop --time=1 e368a9ffe7f85947950b91e941a1b9272e709dc0280b6bef87b617c0b47f8d58 02:19:23 $ docker rm -f e368a9ffe7f85947950b91e941a1b9272e709dc0280b6bef87b617c0b47f8d58 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:19: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 02:19:26 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives ] 02:19:26 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives 02:19:26 total 16 02:19:26 drwxr-xr-x 3 root root 4096 Apr 25 02:12 . 02:19:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:13 .. 02:19:26 drwxr-xr-x 2 root root 4096 Apr 25 02:12 cost 02:19:26 -rw-r--r-- 1 root root 85 Apr 25 02:12 cost.csv 02:19:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives 02:19:26 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives 02:19:26 total 16 02:19:26 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 02:12 . 02:19:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:13 .. 02:19:26 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 02:12 cost 02:19:26 -rw-r--r-- 1 jenkins jenkins 85 Apr 25 02:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:19:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:19:27 ---> package-listing.sh 02:19:27 ++ facter osfamily 02:19:27 ++ tr '[:upper:]' '[:lower:]' 02:19:27 + OS_FAMILY=debian 02:19:27 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-366 02:19:27 + START_PACKAGES=/tmp/packages_start.txt 02:19:27 + END_PACKAGES=/tmp/packages_end.txt 02:19:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:19:27 + PACKAGES=/tmp/packages_start.txt 02:19:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-366 ']' 02:19:27 + PACKAGES=/tmp/packages_end.txt 02:19:27 + case "${OS_FAMILY}" in 02:19:27 + dpkg -l 02:19:27 + grep '^ii' 02:19:27 + '[' -f /tmp/packages_start.txt ']' 02:19:27 + '[' -f /tmp/packages_end.txt ']' 02:19:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:19:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-366 ']' 02:19:27 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives/ 02:19:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-366/archives/ [Pipeline] echo 02:19:27 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-366/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:19:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:19:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:19:28 . [Pipeline] withDockerContainer 02:19:28 prd-ubuntu20.04-docker-8c-8g-21924 does not seem to be running inside a container 02:19:28 $ 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-366/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-366 -v /w/workspace/gexfoundry_device-mqtt-go_PR-366:/w/workspace/gexfoundry_device-mqtt-go_PR-366:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-366@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 02:19:28 $ docker top 7c344c6c88f65184afbd74334f3c2ae659d025b41d186fc9e27122c5d7027ba4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:19:29 + touch /tmp/pre-build-complete [Pipeline] sh 02:19:29 + mkdir -p /var/log/sysstat [Pipeline] sh 02:19:29 + ls /var/log/sa-host 02:19:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:19:30 provisioning config files... 02:19:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-366@tmp/config8301531376211371512tmp [Pipeline] { [Pipeline] echo 02:19:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:19:30 ---> create-netrc.sh [Pipeline] } 02:19:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:19:31 ---> python-tools-install.sh [Pipeline] echo 02:19:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:19:31 ---> sudo-logs.sh 02:19:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:19:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:19:31 ---> job-cost.sh 02:19:31 lf-activate-venv: SKIPPING 02:19:31 DEBUG: total: 0.2199999988079071 02:19:31 INFO: Retrieving Stack Cost... 02:19:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:19:32 INFO: Archiving Costs [Pipeline] echo 02:19:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:19:33 ---> logs-deploy.sh 02:19:33 lf-activate-venv: SKIPPING 02:19:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-366/1 02:19:33 INFO: archiving workspace using pattern(s): 02:19:33 Archives upload complete. 02:19:33 INFO: archiving logs to Nexus