Pull request #365 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 4d191eb3dac98c01714bec6e3dd8edd5055992ab rather than 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c Obtained Jenkinsfile from 4d191eb3dac98c01714bec6e3dd8edd5055992ab 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-ssh6276259917172133273.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-ssh2347275591157126069.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-365/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-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16808349327449799646.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-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9818374174288398472.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-ssh15864263773553248249.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-365/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-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1068258494311140161.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 Running on prd-ubuntu20.04-docker-8c-8g-21500 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [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-365 # 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 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c Merge succeeded, producing 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c Checking out Revision 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c (PR-365) > 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/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c # 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 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c # timeout=10 Commit message: "feat(snap): update go mod" 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 15:31:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:31:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:31:11 ========================================================= 15:31:11 EdgeX Global Pipelines Version Info 15:31:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:31:12 ------------------- 15:31:12 stable info: 15:31:12 ------------------- 15:31:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:31:12 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:31:12 Message: update stable to v1.0.221 15:31:13 ------------------- 15:31:13 experimental info: 15:31:13 ------------------- 15:31:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:31:13 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 15:31:13 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:31:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 15:31:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c [Pipeline] echo 15:31:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9fb6fe9 [Pipeline] echo 15:31:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:15 provisioning config files... 15:31:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config802999386048357170tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:15 ---> docker-login.sh 15:31:15 nexus3.edgexfoundry.org:10001 15:31:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:15 Configure a credential helper to remove this warning. See 15:31:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:15 15:31:15 Login Succeeded 15:31:15 nexus3.edgexfoundry.org:10002 15:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:16 Configure a credential helper to remove this warning. See 15:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:16 15:31:16 Login Succeeded 15:31:16 nexus3.edgexfoundry.org:10003 15:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:16 Configure a credential helper to remove this warning. See 15:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:16 15:31:16 Login Succeeded 15:31:16 nexus3.edgexfoundry.org:10004 15:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:16 Configure a credential helper to remove this warning. See 15:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:16 15:31:16 Login Succeeded 15:31:16 docker.io 15:31:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:16 Configure a credential helper to remove this warning. See 15:31:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:16 15:31:16 Login Succeeded 15:31:16 ---> docker-login.sh ends [Pipeline] } 15:31:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:31:17 + git rev-list -1 --merges 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c~1..9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c [Pipeline] echo 15:31:17 -----------> git rev-list -1 --merges 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c~1..9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c [false] [Pipeline] sh 15:31:18 + git log --format=format:%s -1 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c [Pipeline] echo 15:31:18 ========================================================= 15:31:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:31:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:31:18 + git log --format=format:%s -1 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c [Pipeline] echo 15:31:18 [semverPrep] GIT_COMMIT: 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c, Commit Message: feat(snap): update go mod [Pipeline] echo 15:31:18 [semverPrep] This is not a build commit. [Pipeline] sh 15:31:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:31:19 + grep -v github /etc/ssh/ssh_known_hosts 15:31:19 + [ -e /tmp/ssh_known_hosts ] 15:31:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:31:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:31:19 + sudo tee -a /etc/ssh/ssh_known_hosts 15:31:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:31:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:31:19 15:31:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:31:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:31:19 latest: Pulling from edgex-devops/git-semver 15:31:19 a0d0a0d46f8b: Pulling fs layer 15:31:19 3e5f54012d9b: Pulling fs layer 15:31:19 4c7163046ea9: Pulling fs layer 15:31:19 0c2d73faf560: Pulling fs layer 15:31:19 0c2d73faf560: Waiting 15:31:19 3e5f54012d9b: Verifying Checksum 15:31:19 3e5f54012d9b: Download complete 15:31:19 a0d0a0d46f8b: Verifying Checksum 15:31:19 0c2d73faf560: Verifying Checksum 15:31:19 0c2d73faf560: Download complete 15:31:19 4c7163046ea9: Download complete 15:31:20 a0d0a0d46f8b: Pull complete 15:31:20 3e5f54012d9b: Pull complete 15:31:20 4c7163046ea9: Pull complete 15:31:20 0c2d73faf560: Pull complete 15:31:20 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:31:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:31:20 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:31:20 prd-ubuntu20.04-docker-8c-8g-21500 does not seem to be running inside a container 15:31:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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:10004/edgex-devops/git-semver:latest cat 15:31:21 $ docker top 230b75fb85c0e6ddf43288a3aa6dead6f0b9786a8ae70516e0e598c8a69a685a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:31:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:31:21 [ssh-agent] Looking for ssh-agent implementation... 15:31:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:31:21 $ docker exec 230b75fb85c0e6ddf43288a3aa6dead6f0b9786a8ae70516e0e598c8a69a685a ssh-agent 15:31:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDMdDLc/agent.14 15:31:22 SSH_AGENT_PID=20 15:31:22 Running ssh-add (command line suppressed) 15:31:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_2642105180855717860.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_2642105180855717860.key) 15:31:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:31:22 + git tag --points-at HEAD [Pipeline] } 15:31:22 $ docker exec --env ******** --env ******** 230b75fb85c0e6ddf43288a3aa6dead6f0b9786a8ae70516e0e598c8a69a685a ssh-agent -k 15:31:22 unset SSH_AUTH_SOCK; 15:31:22 unset SSH_AGENT_PID; 15:31:22 echo Agent pid 20 killed; 15:31:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:31:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:31:22 [ssh-agent] Looking for ssh-agent implementation... 15:31:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:31:23 $ docker exec 230b75fb85c0e6ddf43288a3aa6dead6f0b9786a8ae70516e0e598c8a69a685a ssh-agent 15:31:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkKNcnG/agent.52 15:31:23 SSH_AGENT_PID=59 15:31:23 Running ssh-add (command line suppressed) 15:31:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_7650687475168401207.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_7650687475168401207.key) 15:31:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:31:23 + git semver init 15:31:23 # -> Open(): unable to determine branch for HEAD 15:31:23 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.git 15:31:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-365 15:31:23 # $SEMVER_REMOTE_NAME = origin 15:31:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:31:23 # $SEMVER_USER_NAME = edgex-jenkins 15:31:23 # $SEMVER_BRANCH = PR-365 15:31:23 # $SEMVER_TEMP = /tmp/semver-615455474 15:31:23 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 15:31:24 # '/tmp/semver-615455474' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver' 15:31:24 # -> Force: false 15:31:24 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver [Pipeline] } 15:31:24 $ docker exec --env ******** --env ******** 230b75fb85c0e6ddf43288a3aa6dead6f0b9786a8ae70516e0e598c8a69a685a ssh-agent -k 15:31:24 unset SSH_AUTH_SOCK; 15:31:24 unset SSH_AGENT_PID; 15:31:24 echo Agent pid 59 killed; 15:31:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:31:25 + git semver [Pipeline] } 15:31:25 $ docker stop --time=1 230b75fb85c0e6ddf43288a3aa6dead6f0b9786a8ae70516e0e598c8a69a685a 15:31:26 $ docker rm -f 230b75fb85c0e6ddf43288a3aa6dead6f0b9786a8ae70516e0e598c8a69a685a [Pipeline] // withDockerContainer [Pipeline] sh 15:31:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:31:27 Stashed 1 file(s) [Pipeline] echo 15:31:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:27 provisioning config files... 15:31:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config1916630042130093125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:28 ---> docker-login.sh 15:31:28 nexus3.edgexfoundry.org:10001 15:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:28 Configure a credential helper to remove this warning. See 15:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:28 15:31:28 Login Succeeded 15:31:28 nexus3.edgexfoundry.org:10002 15:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:28 Configure a credential helper to remove this warning. See 15:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:28 15:31:28 Login Succeeded 15:31:28 nexus3.edgexfoundry.org:10003 15:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:28 Configure a credential helper to remove this warning. See 15:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:28 15:31:28 Login Succeeded 15:31:28 nexus3.edgexfoundry.org:10004 15:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:28 Configure a credential helper to remove this warning. See 15:31:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:28 15:31:28 Login Succeeded 15:31:28 docker.io 15:31:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:29 Configure a credential helper to remove this warning. See 15:31:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:29 15:31:29 Login Succeeded 15:31:29 ---> docker-login.sh ends [Pipeline] } 15:31:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:31:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:29 ========================================================= 15:31:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:31:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:31:29 + 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 . 15:31:29 Sending build context to Docker daemon 5.849MB 15:31:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:31:29 Step 2/12 : FROM ${BASE} AS builder 15:31:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:31:29 59bf1c3509f3: Pulling fs layer 15:31:29 666ba61612fd: Pulling fs layer 15:31:29 8ed8ca486205: Pulling fs layer 15:31:29 4fe6c5a15a65: Pulling fs layer 15:31:29 22a0e8bec74d: Pulling fs layer 15:31:29 640e595b4fbd: Pulling fs layer 15:31:29 763cafe07f6e: Pulling fs layer 15:31:29 0c0b528cf693: Pulling fs layer 15:31:29 10935f4eaf8b: Pulling fs layer 15:31:29 22a0e8bec74d: Waiting 15:31:29 640e595b4fbd: Waiting 15:31:29 763cafe07f6e: Waiting 15:31:29 0c0b528cf693: Waiting 15:31:29 10935f4eaf8b: Waiting 15:31:29 22a0e8bec74d: Verifying Checksum 15:31:29 22a0e8bec74d: Download complete 15:31:30 640e595b4fbd: Download complete 15:31:30 59bf1c3509f3: Verifying Checksum 15:31:30 59bf1c3509f3: Download complete 15:31:30 763cafe07f6e: Verifying Checksum 15:31:30 763cafe07f6e: Download complete 15:31:30 0c0b528cf693: Verifying Checksum 15:31:30 0c0b528cf693: Download complete 15:31:30 59bf1c3509f3: Pull complete 15:31:30 666ba61612fd: Pull complete 15:31:30 8ed8ca486205: Pull complete 15:31:30 10935f4eaf8b: Verifying Checksum 15:31:30 10935f4eaf8b: Download complete 15:31:30 4fe6c5a15a65: Verifying Checksum 15:31:30 4fe6c5a15a65: Download complete 15:31:35 4fe6c5a15a65: Pull complete 15:31:35 22a0e8bec74d: Pull complete 15:31:35 640e595b4fbd: Pull complete 15:31:35 763cafe07f6e: Pull complete 15:31:35 0c0b528cf693: Pull complete 15:31:37 10935f4eaf8b: Pull complete 15:31:37 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 15:31:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:31:37 ---> 99d49a6021b9 15:31:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:31:39 ---> Running in 9ffdece4b0f2 15:31:39 Removing intermediate container 9ffdece4b0f2 15:31:39 ---> 5e0e5a9e0f63 15:31:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:31:39 ---> Running in 7177be49bd69 15:31:39 Removing intermediate container 7177be49bd69 15:31:39 ---> 3c1afb01fda1 15:31:39 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:31:39 ---> Running in a8b5b6e8329e 15:31:40 Removing intermediate container a8b5b6e8329e 15:31:40 ---> c02ef986bfad 15:31:40 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:31:40 ---> Running in c88744f9f644 15:31:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:31:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:31:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:31:41 (2/4) Installing libedit (20210910.3.1-r0) 15:31:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:31:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:31:41 Executing busybox-1.34.1-r3.trigger 15:31:41 OK: 224 MiB in 56 packages 15:31:42 Removing intermediate container c88744f9f644 15:31:42 ---> 9757cfb68c62 15:31:42 Step 7/12 : WORKDIR /device-mqtt-go 15:31:42 ---> Running in d13cad615c00 15:31:42 Removing intermediate container d13cad615c00 15:31:42 ---> ace9ad573cce 15:31:42 Step 8/12 : COPY go.mod vendor* ./ 15:31:42 ---> c5e4c71647e6 15:31:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:31:42 ---> Running in 31236f595aa7 15:31:42 Still waiting to schedule task 15:31:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:32:00 Removing intermediate container 31236f595aa7 15:32:00 ---> 45bfec36516e 15:32:00 Step 10/12 : COPY . . 15:32:00 ---> 8700d49a0b9a 15:32:00 Step 11/12 : ARG MAKE='make build' 15:32:00 ---> Running in 9b14a5620931 15:32:00 Removing intermediate container 9b14a5620931 15:32:00 ---> 4228d4624123 15:32:00 Step 12/12 : RUN $MAKE 15:32:00 ---> Running in ec0d591b781e 15:32:00 noop 15:32:00 Removing intermediate container ec0d591b781e 15:32:00 ---> 0e5294136c38 15:32:00 Successfully built 0e5294136c38 15:32:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:32:01 + docker inspect -f . ci-base-image-x86_64 15:32:01 . [Pipeline] withDockerContainer 15:32:01 prd-ubuntu20.04-docker-8c-8g-21500 does not seem to be running inside a container 15:32:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:32:01 $ docker top bda22720379859e93fad8f17f28615b6ae1f552df875ea703944053ae05661bc -eo pid,comm [Pipeline] { [Pipeline] sh 15:32:02 + go version 15:32:02 go version go1.17.6 linux/amd64 [Pipeline] } 15:32:02 $ docker stop --time=1 bda22720379859e93fad8f17f28615b6ae1f552df875ea703944053ae05661bc 15:32:03 $ docker rm -f bda22720379859e93fad8f17f28615b6ae1f552df875ea703944053ae05661bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:32:04 + docker inspect -f . ci-base-image-x86_64 15:32:04 . [Pipeline] withDockerContainer 15:32:04 prd-ubuntu20.04-docker-8c-8g-21500 does not seem to be running inside a container 15:32:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:32:04 $ docker top 7f0364009ae242722f86dfae563ff8546bee6231c4dbc23d39defb81180bc867 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:32:05 + make test 15:32:05 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:32:05 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:32:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:32:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 15:32:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:32:24 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:32:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:32:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:32:28 ./bin/test-attribution-txt.sh [Pipeline] echo 15:32:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:32:29 $ docker stop --time=1 7f0364009ae242722f86dfae563ff8546bee6231c4dbc23d39defb81180bc867 15:32:31 $ docker rm -f 7f0364009ae242722f86dfae563ff8546bee6231c4dbc23d39defb81180bc867 [Pipeline] // withDockerContainer [Pipeline] sh 15:32:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:32:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:32:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:32:33 + ls -al . 15:32:33 total 176 15:32:33 drwxrwxr-x 10 jenkins jenkins 4096 Apr 20 15:32 . 15:32:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:31 .. 15:32:33 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 15:31 .dockerignore 15:32:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 15:31 .git 15:32:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:31 .github 15:32:33 -rw-rw-r-- 1 jenkins jenkins 329 Apr 20 15:31 .gitignore 15:32:33 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 15:31 .golangci.yml 15:32:33 drwx------ 3 jenkins jenkins 4096 Apr 20 15:31 .semver 15:32:33 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 20 15:31 Attribution.txt 15:32:33 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 20 15:31 CHANGELOG.md 15:32:33 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 20 15:31 Dockerfile 15:32:33 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 15:31 GOVERNANCE.md 15:32:33 -rw-rw-r-- 1 jenkins jenkins 678 Apr 20 15:31 Jenkinsfile 15:32:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 15:31 LICENSE 15:32:33 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 20 15:31 Makefile 15:32:33 -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 15:31 OWNERS.md 15:32:33 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 20 15:31 README.md 15:32:33 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 15:31 VERSION 15:32:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:31 bin 15:32:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:31 cmd 15:32:33 -rw-r--r-- 1 jenkins jenkins 17887 Apr 20 15:32 coverage.out 15:32:33 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 20 15:31 go.mod 15:32:33 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 20 15:31 go.sum 15:32:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:31 internal 15:32:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:31 mock 15:32:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:31 snap 15:32:33 -rw-rw-r-- 1 jenkins jenkins 227 Apr 20 15:31 version.go [Pipeline] isUnix [Pipeline] sh 15:32:33 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c --label arch=amd64 --label version=0.0.0 . 15:32:33 Sending build context to Docker daemon 5.867MB 15:32:33 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:32:33 Step 2/24 : FROM ${BASE} AS builder 15:32:33 ---> 0e5294136c38 15:32:33 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:32:34 ---> Running in ed8e45b9099f 15:32:34 Removing intermediate container ed8e45b9099f 15:32:34 ---> 64ac9329f8bd 15:32:34 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 15:32:34 ---> Running in 403b2bb517bd 15:32:34 Removing intermediate container 403b2bb517bd 15:32:34 ---> 272cbb4c908b 15:32:34 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:32:34 ---> Running in 7bb64109e94c 15:32:35 Removing intermediate container 7bb64109e94c 15:32:35 ---> ec841e57e0dc 15:32:35 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:32:35 ---> Running in 6efa12a2a703 15:32:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:32:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:32:36 OK: 224 MiB in 56 packages 15:32:37 Removing intermediate container 6efa12a2a703 15:32:37 ---> 28466f26c53a 15:32:37 Step 7/24 : WORKDIR /device-mqtt-go 15:32:37 ---> Running in ec978eba41cc 15:32:37 Removing intermediate container ec978eba41cc 15:32:37 ---> 9c2eeeab2cae 15:32:37 Step 8/24 : COPY go.mod vendor* ./ 15:32:37 ---> fe5c0f702ccf 15:32:37 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:32:37 ---> Running in 90ad0c665c11 15:32:38 Removing intermediate container 90ad0c665c11 15:32:38 ---> 16c19547092b 15:32:38 Step 10/24 : COPY . . 15:32:38 ---> ad27d4ce80fd 15:32:38 Step 11/24 : ARG MAKE='make build' 15:32:38 ---> Running in 893ce1530929 15:32:38 Removing intermediate container 893ce1530929 15:32:38 ---> 91186f4e2ec4 15:32:38 Step 12/24 : RUN $MAKE 15:32:38 ---> Running in d6f0426a1e52 15:32:38 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 15:33:00 Removing intermediate container d6f0426a1e52 15:33:00 ---> b1b6df9af8be 15:33:00 Step 13/24 : FROM alpine:3.14 15:33:00 3.14: Pulling from library/alpine 15:33:00 8663204ce13b: Pulling fs layer 15:33:00 8663204ce13b: Verifying Checksum 15:33:00 8663204ce13b: Download complete 15:33:00 8663204ce13b: Pull complete 15:33:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:33:00 Status: Downloaded newer image for alpine:3.14 15:33:00 ---> e04c818066af 15:33:00 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:33:00 ---> Running in 14c3b759fd2f 15:33:00 Removing intermediate container 14c3b759fd2f 15:33:00 ---> 2758c60371a2 15:33:00 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:33:00 ---> Running in e607becb3bf7 15:33:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:33:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:33:01 (1/6) Installing dumb-init (1.2.5-r1) 15:33:01 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:33:01 (3/6) Installing libsodium (1.0.18-r0) 15:33:01 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:33:01 (5/6) Installing libzmq (4.3.4-r0) 15:33:01 (6/6) Installing zeromq (4.3.4-r0) 15:33:01 Executing busybox-1.33.1-r7.trigger 15:33:01 OK: 8 MiB in 20 packages 15:33:01 Removing intermediate container e607becb3bf7 15:33:01 ---> 9df711daae03 15:33:01 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:33:02 ---> ef7b7263bd8a 15:33:02 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:33:02 ---> 3c96ab493717 15:33:02 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:33:02 ---> 9dd36878824a 15:33:02 Step 19/24 : EXPOSE 59982 15:33:02 ---> Running in ebb1e5153661 15:33:03 Removing intermediate container ebb1e5153661 15:33:03 ---> 95416e33dfd6 15:33:03 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:33:03 ---> Running in e528abe02387 15:33:03 Removing intermediate container e528abe02387 15:33:03 ---> 03816da5552f 15:33:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:33:03 ---> Running in 7b7464ab7d05 15:33:03 Removing intermediate container 7b7464ab7d05 15:33:03 ---> e0843508dcdc 15:33:03 Step 22/24 : LABEL arch=amd64 15:33:03 ---> Running in 9f6cd4e30480 15:33:03 Removing intermediate container 9f6cd4e30480 15:33:03 ---> c59f940b7b20 15:33:03 Step 23/24 : LABEL git_sha=9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c 15:33:03 ---> Running in 591dc5c3538d 15:33:03 Removing intermediate container 591dc5c3538d 15:33:03 ---> 73bc62a311c0 15:33:03 Step 24/24 : LABEL version=0.0.0 15:33:03 ---> Running in e127a24bda70 15:33:03 Removing intermediate container e127a24bda70 15:33:03 ---> 592621f77ffa 15:33:03 [Warning] One or more build-args [ARCH] were not consumed 15:33:03 Successfully built 592621f77ffa 15:33:03 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:33:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:33:04 15:33:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:33:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:33:05 latest: Pulling from edgex-lftools-log-publisher 15:33:05 5eb5b503b376: Pulling fs layer 15:33:05 5c69ac0246d0: Pulling fs layer 15:33:05 ec43610c2a17: Pulling fs layer 15:33:05 3a2ae6a8a46f: Pulling fs layer 15:33:05 33b1e0a273af: Pulling fs layer 15:33:05 5d3b04190fa2: Pulling fs layer 15:33:05 2f39f015ded8: Pulling fs layer 15:33:05 3a2ae6a8a46f: Waiting 15:33:05 33b1e0a273af: Waiting 15:33:05 2f39f015ded8: Waiting 15:33:05 5d3b04190fa2: Waiting 15:33:05 5c69ac0246d0: Verifying Checksum 15:33:05 5c69ac0246d0: Download complete 15:33:05 3a2ae6a8a46f: Download complete 15:33:05 ec43610c2a17: Verifying Checksum 15:33:05 ec43610c2a17: Download complete 15:33:05 33b1e0a273af: Verifying Checksum 15:33:05 33b1e0a273af: Download complete 15:33:05 5d3b04190fa2: Download complete 15:33:05 5eb5b503b376: Verifying Checksum 15:33:05 5eb5b503b376: Download complete 15:33:05 2f39f015ded8: Download complete 15:33:06 5eb5b503b376: Pull complete 15:33:06 5c69ac0246d0: Pull complete 15:33:07 ec43610c2a17: Pull complete 15:33:07 3a2ae6a8a46f: Pull complete 15:33:07 33b1e0a273af: Pull complete 15:33:07 5d3b04190fa2: Pull complete 15:33:11 2f39f015ded8: Pull complete 15:33:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:33:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:33:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:33:11 prd-ubuntu20.04-docker-8c-8g-21500 does not seem to be running inside a container 15:33:11 $ 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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:33:14 $ docker top 3b4579d316644ad8ca4175d77367f77f37776168f567c584c2c2ec28e6fefe87 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:14 ---> job-cost.sh 15:33:14 lf-activate-venv: SKIPPING 15:33:14 INFO: No Stack... 15:33:14 INFO: Retrieving Pricing Info for: v3-standard-8 15:33:15 INFO: Archiving Costs [Pipeline] sh 15:33:15 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/cost.csv 15:33:15 + cut -d, -f6 [Pipeline] lock 15:33:15 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-1-stack-cost] 15:33:15 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-1-stack-cost] did not exist. Created. 15:33:15 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:33:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21501 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [Pipeline] { [Pipeline] ws 15:33:16 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 15:33:16 + echo total: 0.2199999988079071 [Pipeline] stash 15:33:16 Stashed 1 file(s) [Pipeline] } 15:33:16 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-1-stack-cost] [Pipeline] // lock 15:33:16 Selected Git installation does not exist. Using Default 15:33:16 The recommended git tool is: NONE [Pipeline] } 15:33:16 $ docker stop --time=1 3b4579d316644ad8ca4175d77367f77f37776168f567c584c2c2ec28e6fefe87 15:33:17 $ docker rm -f 3b4579d316644ad8ca4175d77367f77f37776168f567c584c2c2ec28e6fefe87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:33:23 using credential edgex-jenkins-ssh 15:33:23 Cloning the remote Git repository 15:33:23 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 15:33:23 > git init /w/workspace/device-mqtt-go/1 # timeout=10 15:33:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:33:24 > git --version # timeout=10 15:33:24 > git --version # 'git version 2.25.1' 15:33:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:33:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:33:26 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c 15:33:26 Merge succeeded, producing 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c 15:33:26 Checking out Revision 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c (PR-365) 15:33:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:33:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:33:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 15:33:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 15:33:25 using GIT_SSH to set credentials SSH Credentials for GitHub 15:33:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:33:26 > git config core.sparsecheckout # timeout=10 15:33:26 > git checkout -f 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c # timeout=10 15:33:26 > git remote # timeout=10 15:33:26 > git config --get remote.origin.url # timeout=10 15:33:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:33:26 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 15:33:26 > git rev-parse HEAD^{commit} # timeout=10 15:33:26 > git config core.sparsecheckout # timeout=10 15:33:26 > git checkout -f 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c # timeout=10 15:33:31 Commit message: "feat(snap): update go mod" 15:33:31 > git --version # timeout=10 15:33:31 > git --version # 'git version 2.25.1' 15:33:31 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:33:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:33:32 % Total % Received % Xferd Average Speed Time Time Time Current 15:33:32 Dload Upload Total Spent Left Speed 15:33:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 40282 0 --:--:-- --:--:-- --:--:-- 40282 [Pipeline] sh 15:33:33 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:33:33 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:33:33 + sudo tee /etc/docker/daemon.new 15:33:33 { 15:33:33 "registry-mirrors": [ 15:33:33 "https://nexus3.edgexfoundry.org:10001" 15:33:33 ], 15:33:33 "bip": "10.250.0.254/24", 15:33:33 "hosts": [ 15:33:33 "tcp://0.0.0.0:5555", 15:33:33 "unix:///var/run/docker.sock" 15:33:33 ], 15:33:33 "mtu": 1458, 15:33:33 "selinux-enabled": true, 15:33:33 "seccomp-profile": "/etc/docker/seccomp.json" 15:33:33 } [Pipeline] sh 15:33:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:33:34 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:33:52 provisioning config files... 15:33:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1081187057300052967tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:33:53 ---> docker-login.sh 15:33:53 nexus3.edgexfoundry.org:10001 15:33:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:54 Configure a credential helper to remove this warning. See 15:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:54 15:33:54 Login Succeeded 15:33:54 nexus3.edgexfoundry.org:10002 15:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:54 Configure a credential helper to remove this warning. See 15:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:54 15:33:54 Login Succeeded 15:33:54 nexus3.edgexfoundry.org:10003 15:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:54 Configure a credential helper to remove this warning. See 15:33:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:54 15:33:54 Login Succeeded 15:33:54 nexus3.edgexfoundry.org:10004 15:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:55 Configure a credential helper to remove this warning. See 15:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:55 15:33:55 Login Succeeded 15:33:55 docker.io 15:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:33:56 Configure a credential helper to remove this warning. See 15:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:33:56 15:33:56 Login Succeeded 15:33:56 ---> docker-login.sh ends [Pipeline] } 15:33:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:33:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:33:56 ========================================================= 15:33:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:33:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:33:57 + 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 . 15:33:57 Sending build context to Docker daemon 3.066MB 15:33:57 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:33:57 Step 2/12 : FROM ${BASE} AS builder 15:33:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:33:57 9b3977197b4f: Pulling fs layer 15:33:57 1a89e8eeedd5: Pulling fs layer 15:33:57 94645a83ff95: Pulling fs layer 15:33:57 3f3a8bcf1eab: Pulling fs layer 15:33:57 0c92f367c5e7: Pulling fs layer 15:33:57 f7c0051592d6: Pulling fs layer 15:33:57 a227ed2f7395: Pulling fs layer 15:33:57 7b1c46037f91: Pulling fs layer 15:33:57 f7c0051592d6: Waiting 15:33:57 a227ed2f7395: Waiting 15:33:57 7b1c46037f91: Waiting 15:33:57 0c92f367c5e7: Waiting 15:33:57 3f3a8bcf1eab: Waiting 15:33:57 94645a83ff95: Verifying Checksum 15:33:57 94645a83ff95: Download complete 15:33:57 1a89e8eeedd5: Verifying Checksum 15:33:57 1a89e8eeedd5: Download complete 15:33:57 0c92f367c5e7: Verifying Checksum 15:33:57 0c92f367c5e7: Download complete 15:33:57 f7c0051592d6: Verifying Checksum 15:33:57 f7c0051592d6: Download complete 15:33:57 9b3977197b4f: Verifying Checksum 15:33:57 9b3977197b4f: Download complete 15:33:57 a227ed2f7395: Verifying Checksum 15:33:57 a227ed2f7395: Download complete 15:33:58 9b3977197b4f: Pull complete 15:33:59 1a89e8eeedd5: Pull complete 15:33:59 94645a83ff95: Pull complete 15:34:00 7b1c46037f91: Verifying Checksum 15:34:00 7b1c46037f91: Download complete 15:34:00 3f3a8bcf1eab: Verifying Checksum 15:34:00 3f3a8bcf1eab: Download complete 15:34:13 3f3a8bcf1eab: Pull complete 15:34:13 0c92f367c5e7: Pull complete 15:34:13 f7c0051592d6: Pull complete 15:34:13 a227ed2f7395: Pull complete 15:34:20 7b1c46037f91: Pull complete 15:34:20 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 15:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:34:20 ---> f79e39bc4007 15:34:20 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:34:20 ---> Running in a2f51a1d105f 15:34:20 Removing intermediate container a2f51a1d105f 15:34:20 ---> cfbc43a88eae 15:34:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 15:34:20 ---> Running in c01d074e3004 15:34:20 Removing intermediate container c01d074e3004 15:34:20 ---> 7af56a67e0c7 15:34:20 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:34:20 ---> Running in 18ee459b06f0 15:34:22 Removing intermediate container 18ee459b06f0 15:34:22 ---> 64fea7d0de38 15:34:22 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:34:22 ---> Running in 07a005525451 15:34:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:34:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:34:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:34:25 (2/4) Installing libedit (20210910.3.1-r0) 15:34:25 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:34:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:34:25 Executing busybox-1.34.1-r3.trigger 15:34:25 OK: 224 MiB in 56 packages 15:34:26 Removing intermediate container 07a005525451 15:34:26 ---> 637ffbf60982 15:34:26 Step 7/12 : WORKDIR /device-mqtt-go 15:34:26 ---> Running in b8cc909aff60 15:34:27 Removing intermediate container b8cc909aff60 15:34:27 ---> 16afd512210f 15:34:27 Step 8/12 : COPY go.mod vendor* ./ 15:34:27 ---> 55d6bc520821 15:34:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:34:27 ---> Running in ee49709e685e 15:35:14 Removing intermediate container ee49709e685e 15:35:14 ---> 91b25c5f8b66 15:35:14 Step 10/12 : COPY . . 15:35:14 ---> bad5518d849f 15:35:14 Step 11/12 : ARG MAKE='make build' 15:35:14 ---> Running in 5914704b0a1c 15:35:14 Removing intermediate container 5914704b0a1c 15:35:14 ---> 1342adfb6d2c 15:35:14 Step 12/12 : RUN $MAKE 15:35:14 ---> Running in c59df7ee8a5c 15:35:14 noop 15:35:15 Removing intermediate container c59df7ee8a5c 15:35:15 ---> 717e9df4cde2 15:35:15 Successfully built 717e9df4cde2 15:35:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:35:15 + docker inspect -f . ci-base-image-arm64 15:35:15 . [Pipeline] withDockerContainer 15:35:16 prd-ubuntu20.04-docker-arm64-4c-16g-21501 does not seem to be running inside a container 15:35:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:35:17 $ docker top 7e94c4e2d3c4e1ac756e913b851aa81afe71e121949c0273b6d19f3bcd2e637a -eo pid,comm [Pipeline] { [Pipeline] sh 15:35:18 + go version 15:35:18 go version go1.17.6 linux/arm64 [Pipeline] } 15:35:18 $ docker stop --time=1 7e94c4e2d3c4e1ac756e913b851aa81afe71e121949c0273b6d19f3bcd2e637a 15:35:20 $ docker rm -f 7e94c4e2d3c4e1ac756e913b851aa81afe71e121949c0273b6d19f3bcd2e637a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:35:21 + docker inspect -f . ci-base-image-arm64 15:35:21 . [Pipeline] withDockerContainer 15:35:21 prd-ubuntu20.04-docker-arm64-4c-16g-21501 does not seem to be running inside a container 15:35:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:35:22 $ docker top 50e3075fed9a429c0bf1ff8f99f012ec1c432cfbe08f831dad7266e039b292b4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:35:23 + make test 15:35:23 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:35:25 ? github.com/edgexfoundry/device-mqtt-go [no test files] 15:36:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 15:36:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 15:36:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 15:36:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:36:46 GCO_ENABLED=1 GO111MODULE=on go vet ./... 15:37:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:37:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:37:05 ./bin/test-attribution-txt.sh [Pipeline] echo 15:37:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:37:07 $ docker stop --time=1 50e3075fed9a429c0bf1ff8f99f012ec1c432cfbe08f831dad7266e039b292b4 15:37:09 $ docker rm -f 50e3075fed9a429c0bf1ff8f99f012ec1c432cfbe08f831dad7266e039b292b4 [Pipeline] // withDockerContainer [Pipeline] sh 15:37:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:37:10 Warning: overwriting stash ‘coverage-report’ 15:37:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:37:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:37:11 + ls -al . 15:37:11 total 172 15:37:11 drwxrwxr-x 9 jenkins jenkins 4096 Apr 20 15:37 . 15:37:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:33 .. 15:37:11 -rw-rw-r-- 1 jenkins jenkins 140 Apr 20 15:33 .dockerignore 15:37:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 20 15:33 .git 15:37:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:33 .github 15:37:11 -rw-rw-r-- 1 jenkins jenkins 329 Apr 20 15:33 .gitignore 15:37:11 -rw-rw-r-- 1 jenkins jenkins 41 Apr 20 15:33 .golangci.yml 15:37:11 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 20 15:33 Attribution.txt 15:37:11 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 20 15:33 CHANGELOG.md 15:37:11 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 20 15:33 Dockerfile 15:37:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 20 15:33 GOVERNANCE.md 15:37:11 -rw-rw-r-- 1 jenkins jenkins 678 Apr 20 15:33 Jenkinsfile 15:37:11 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 20 15:33 LICENSE 15:37:11 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 20 15:33 Makefile 15:37:11 -rw-rw-r-- 1 jenkins jenkins 620 Apr 20 15:33 OWNERS.md 15:37:11 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 20 15:33 README.md 15:37:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 20 15:31 VERSION 15:37:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:33 bin 15:37:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:33 cmd 15:37:11 -rw-r--r-- 1 jenkins jenkins 17887 Apr 20 15:36 coverage.out 15:37:11 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 20 15:33 go.mod 15:37:11 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 20 15:33 go.sum 15:37:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 20 15:33 internal 15:37:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 20 15:33 mock 15:37:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 20 15:33 snap 15:37:11 -rw-rw-r-- 1 jenkins jenkins 227 Apr 20 15:33 version.go [Pipeline] isUnix [Pipeline] sh 15:37:11 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c --label arch=arm64 --label version=0.0.0 . 15:37:12 Sending build context to Docker daemon 3.084MB 15:37:12 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:37:12 Step 2/24 : FROM ${BASE} AS builder 15:37:12 ---> 717e9df4cde2 15:37:12 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:37:12 ---> Running in 8edf9900e86a 15:37:12 Removing intermediate container 8edf9900e86a 15:37:12 ---> 85fa3c546be0 15:37:12 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 15:37:12 ---> Running in 92996101c925 15:37:12 Removing intermediate container 92996101c925 15:37:12 ---> 01801a0c371c 15:37:12 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:37:12 ---> Running in 75fa1684315c 15:37:14 Removing intermediate container 75fa1684315c 15:37:14 ---> 8df286109314 15:37:14 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:37:14 ---> Running in 394e1cc487ce 15:37:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:37:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:37:17 OK: 224 MiB in 56 packages 15:37:18 Removing intermediate container 394e1cc487ce 15:37:18 ---> 36b7fe95a02f 15:37:18 Step 7/24 : WORKDIR /device-mqtt-go 15:37:18 ---> Running in ec80c891cfd7 15:37:18 Removing intermediate container ec80c891cfd7 15:37:18 ---> 6169e8b07d08 15:37:18 Step 8/24 : COPY go.mod vendor* ./ 15:37:19 ---> 69120bb9a8c2 15:37:19 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:37:19 ---> Running in ed14574b4dca 15:37:21 Removing intermediate container ed14574b4dca 15:37:21 ---> 439b3e1a1026 15:37:21 Step 10/24 : COPY . . 15:37:22 ---> 6c06d0b4d4d9 15:37:22 Step 11/24 : ARG MAKE='make build' 15:37:22 ---> Running in 9fd5b9e72117 15:37:22 Removing intermediate container 9fd5b9e72117 15:37:22 ---> 5ce80b246870 15:37:22 Step 12/24 : RUN $MAKE 15:37:22 ---> Running in 4dd8190737ab 15:37:23 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 15:39:30 Removing intermediate container 4dd8190737ab 15:39:30 ---> 6005c11ca74b 15:39:30 Step 13/24 : FROM alpine:3.14 15:39:30 3.14: Pulling from library/alpine 15:39:30 455c02918c45: Pulling fs layer 15:39:30 455c02918c45: Verifying Checksum 15:39:30 455c02918c45: Download complete 15:39:30 455c02918c45: Pull complete 15:39:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:39:30 Status: Downloaded newer image for alpine:3.14 15:39:30 ---> ac73e934f311 15:39:30 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 15:39:30 ---> Running in f74bf1f52130 15:39:30 Removing intermediate container f74bf1f52130 15:39:30 ---> 00008a7566e7 15:39:30 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 15:39:30 ---> Running in c6517e077df6 15:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:39:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:39:30 (1/6) Installing dumb-init (1.2.5-r1) 15:39:30 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:39:30 (3/6) Installing libsodium (1.0.18-r0) 15:39:30 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:39:30 (5/6) Installing libzmq (4.3.4-r0) 15:39:30 (6/6) Installing zeromq (4.3.4-r0) 15:39:30 Executing busybox-1.33.1-r7.trigger 15:39:30 OK: 8 MiB in 20 packages 15:39:30 Removing intermediate container c6517e077df6 15:39:30 ---> 1e106ba6ab08 15:39:30 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 15:39:30 ---> 3727468da23f 15:39:30 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 15:39:30 ---> 69b0e4d7ea73 15:39:30 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 15:39:30 ---> 9f4354d98323 15:39:30 Step 19/24 : EXPOSE 59982 15:39:30 ---> Running in 8cded16f7bbe 15:39:30 Removing intermediate container 8cded16f7bbe 15:39:30 ---> ae615b4ec6eb 15:39:30 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 15:39:30 ---> Running in e05a5ce740da 15:39:30 Removing intermediate container e05a5ce740da 15:39:30 ---> fe1c3814f7a0 15:39:30 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:39:30 ---> Running in 56ee5c6f08b4 15:39:30 Removing intermediate container 56ee5c6f08b4 15:39:30 ---> 9dbbbccd7ede 15:39:30 Step 22/24 : LABEL arch=arm64 15:39:30 ---> Running in 33b8a1da7c94 15:39:30 Removing intermediate container 33b8a1da7c94 15:39:30 ---> 4afae5f21342 15:39:30 Step 23/24 : LABEL git_sha=9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c 15:39:30 ---> Running in 1b58cfb1b3c2 15:39:30 Removing intermediate container 1b58cfb1b3c2 15:39:30 ---> 5207ec95c68c 15:39:30 Step 24/24 : LABEL version=0.0.0 15:39:30 ---> Running in 323f11d0225a 15:39:30 Removing intermediate container 323f11d0225a 15:39:30 ---> 122165fb5d14 15:39:30 [Warning] One or more build-args [ARCH] were not consumed 15:39:30 Successfully built 122165fb5d14 15:39:30 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:39:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:39:31 15:39:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:39:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:39:31 arm64: Pulling from edgex-lftools-log-publisher 15:39:31 8998bd30e6a1: Pulling fs layer 15:39:31 04944245beec: Pulling fs layer 15:39:31 699f458cf7ca: Pulling fs layer 15:39:31 765212b225bb: Pulling fs layer 15:39:31 f23df028b6ca: Pulling fs layer 15:39:31 d65c8cfc05b1: Pulling fs layer 15:39:31 2437ff75d9bd: Pulling fs layer 15:39:31 f23df028b6ca: Waiting 15:39:31 765212b225bb: Waiting 15:39:31 d65c8cfc05b1: Waiting 15:39:31 2437ff75d9bd: Waiting 15:39:31 04944245beec: Verifying Checksum 15:39:31 04944245beec: Download complete 15:39:31 765212b225bb: Verifying Checksum 15:39:31 765212b225bb: Download complete 15:39:31 f23df028b6ca: Verifying Checksum 15:39:31 f23df028b6ca: Download complete 15:39:32 d65c8cfc05b1: Verifying Checksum 15:39:32 d65c8cfc05b1: Download complete 15:39:32 699f458cf7ca: Verifying Checksum 15:39:32 699f458cf7ca: Download complete 15:39:32 8998bd30e6a1: Verifying Checksum 15:39:32 8998bd30e6a1: Download complete 15:39:35 2437ff75d9bd: Verifying Checksum 15:39:37 8998bd30e6a1: Pull complete 15:39:37 04944245beec: Pull complete 15:39:38 699f458cf7ca: Pull complete 15:39:38 765212b225bb: Pull complete 15:39:39 f23df028b6ca: Pull complete 15:39:39 d65c8cfc05b1: Pull complete 15:39:55 2437ff75d9bd: Pull complete 15:39:55 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:39:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:39:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:39:55 prd-ubuntu20.04-docker-arm64-4c-16g-21501 does not seem to be running inside a container 15:39:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:39:58 $ docker top 80aeb9aa51955ae47a1fce6a73bcb11feba7efedc04fbabd83d47a7bf878f1c4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:59 ---> job-cost.sh 15:39:59 lf-activate-venv: SKIPPING 15:39:59 INFO: No Stack... 15:39:59 INFO: Retrieving Pricing Info for: v3-standard-4 15:40:00 INFO: Archiving Costs [Pipeline] sh 15:40:01 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 15:40:01 + cut -d, -f6 [Pipeline] lock 15:40:01 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-1-stack-cost] 15:40:01 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-1-stack-cost] did not exist. Created. 15:40:01 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:40:02 /w/workspace/device-mqtt-go/1@tmp/durable-ce5f921e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:40:02 + echo total: 0.10999999940395355 [Pipeline] stash 15:40:03 Warning: overwriting stash ‘stack-cost’ 15:40:03 Stashed 1 file(s) [Pipeline] } 15:40:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-1-stack-cost] [Pipeline] // lock [Pipeline] } 15:40:03 $ docker stop --time=1 80aeb9aa51955ae47a1fce6a73bcb11feba7efedc04fbabd83d47a7bf878f1c4 15:40:04 $ docker rm -f 80aeb9aa51955ae47a1fce6a73bcb11feba7efedc04fbabd83d47a7bf878f1c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:40:05 provisioning config files... 15:40:05 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config8270963354409210921tmp [Pipeline] { [Pipeline] sh 15:40:06 + set +x 15:40:06 + curl -s https://codecov.io/bash 15:40:06 + bash -s -- 15:40:06 15:40:06 _____ _ 15:40:06 / ____| | | 15:40:06 | | ___ __| | ___ ___ _____ __ 15:40:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:40:06 | |___| (_) | (_| | __/ (_| (_) \ V / 15:40:06 \_____\___/ \__,_|\___|\___\___/ \_/ 15:40:06 Bash-1.0.6 15:40:06 15:40:06 15:40:06 ==> git version 2.25.1 found 15:40:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:40:06 Release-Date: 2020-01-08 15:40:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:40:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:40:06 ==> Jenkins CI detected. 15:40:06 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-365 15:40:06 project root: . 15:40:06 --> token set from env 15:40:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:40:06 ==> Running gcov in . (disable via -X gcov) 15:40:06 ==> Python coveragepy not found 15:40:06 ==> Searching for coverage reports in: 15:40:06 + . 15:40:06 -> Found 1 reports 15:40:06 ==> Detecting git/mercurial file structure 15:40:06 ==> Reading reports 15:40:06 + ./coverage.out bytes=17887 15:40:06 ==> Appending adjustments 15:40:06 https://docs.codecov.io/docs/fixing-reports 15:40:06 + Found adjustments 15:40:06 ==> Gzipping contents 15:40:06 4.0K /tmp/codecov.mF3pcQ.gz 15:40:06 ==> Uploading reports 15:40:06 url: https://codecov.io 15:40:06 query: branch=PR-365&commit=9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 15:40:06 -> Pinging Codecov 15:40:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-365&commit=9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 15:40:06 -> Uploading to 15:40:06 https://storage.googleapis.com/codecov/v4/raw/2022-04-20/7D719EC7BBE17E464838252E33014C33/9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c/8732a869-f520-433a-851f-4b01c1e1d570.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220420%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220420T154006Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2f82b7558a17b0a562470a2c411fb91f2dce2ead6c484155223f3c627d2eea5a 15:40:06 % Total % Received % Xferd Average Speed Time Time Time Current 15:40:06 Dload Upload Total Spent Left Speed 15:40:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3261 0 0 100 3261 0 12838 --:--:-- --:--:-- --:--:-- 12838 15:40:06 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c [Pipeline] } 15:40:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:40:08 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives ] 15:40:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 15:40:08 total 16 15:40:08 drwxr-xr-x 3 root root 4096 Apr 20 15:33 . 15:40:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 15:33 .. 15:40:08 drwxr-xr-x 2 root root 4096 Apr 20 15:33 cost 15:40:08 -rw-r--r-- 1 root root 85 Apr 20 15:33 cost.csv 15:40:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 15:40:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 15:40:08 total 16 15:40:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 20 15:33 . 15:40:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 20 15:33 .. 15:40:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 20 15:33 cost 15:40:08 -rw-r--r-- 1 jenkins jenkins 85 Apr 20 15:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:40:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:40:09 ---> package-listing.sh 15:40:09 ++ facter osfamily 15:40:09 ++ tr '[:upper:]' '[:lower:]' 15:40:10 + OS_FAMILY=debian 15:40:10 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-365 15:40:10 + START_PACKAGES=/tmp/packages_start.txt 15:40:10 + END_PACKAGES=/tmp/packages_end.txt 15:40:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:40:10 + PACKAGES=/tmp/packages_start.txt 15:40:10 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 15:40:10 + PACKAGES=/tmp/packages_end.txt 15:40:10 + case "${OS_FAMILY}" in 15:40:10 + dpkg -l 15:40:10 + grep '^ii' 15:40:10 + '[' -f /tmp/packages_start.txt ']' 15:40:10 + '[' -f /tmp/packages_end.txt ']' 15:40:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:40:10 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 15:40:10 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ 15:40:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ [Pipeline] echo 15:40:10 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-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:40:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:40:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:11 . [Pipeline] withDockerContainer 15:40:11 prd-ubuntu20.04-docker-8c-8g-21500 does not seem to be running inside a container 15:40:11 $ 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-365/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-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@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 15:40:11 $ docker top 886f649e9152497b06709a11000feb18df350d0857e1181e865691148f967b6b -eo pid,comm [Pipeline] { [Pipeline] sh 15:40:11 + touch /tmp/pre-build-complete [Pipeline] sh 15:40:12 + mkdir -p /var/log/sysstat [Pipeline] sh 15:40:12 + ls /var/log/sa-host 15:40:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:12 provisioning config files... 15:40:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config8349509384109390898tmp [Pipeline] { [Pipeline] echo 15:40:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:40:13 ---> create-netrc.sh [Pipeline] } 15:40:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:40:13 ---> python-tools-install.sh [Pipeline] echo 15:40:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:40:14 ---> sudo-logs.sh 15:40:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:40:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:40:14 ---> job-cost.sh 15:40:14 lf-activate-venv: SKIPPING 15:40:14 DEBUG: total: 0.2199999988079071 15:40:14 INFO: Retrieving Stack Cost... 15:40:14 INFO: Retrieving Pricing Info for: v3-standard-8 15:40:15 INFO: Archiving Costs [Pipeline] echo 15:40:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:40:15 ---> logs-deploy.sh 15:40:15 lf-activate-venv: SKIPPING 15:40:15 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-365/1 15:40:15 INFO: archiving workspace using pattern(s): 15:40:16 Archives upload complete. 15:40:16 INFO: archiving logs to Nexus