Pull request #357 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 bnevis-i for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 6a0d17f3443cfc2038c22736989c6b24159166ee rather than 58ecf32801cc693837e80e126c478e442b3af96f Obtained Jenkinsfile from 6a0d17f3443cfc2038c22736989c6b24159166ee 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-ssh2985373226655741877.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-ssh6629882516399844650.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-357/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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8707457479006416493.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-357/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7496951174061796427.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-ssh7268243659572767345.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-357/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-357/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7150141599020034729.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10811 in /w/workspace/gexfoundry_device-mqtt-go_PR-357 [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-357 # 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 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit 58ecf32801cc693837e80e126c478e442b3af96f Merge succeeded, producing 58ecf32801cc693837e80e126c478e442b3af96f Checking out Revision 58ecf32801cc693837e80e126c478e442b3af96f (PR-357) > 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/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58ecf32801cc693837e80e126c478e442b3af96f # 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 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 58ecf32801cc693837e80e126c478e442b3af96f # timeout=10 Commit message: "build(deps): Update device-sdk-go and other deps" 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 00:58:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:58:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:58:58 ========================================================= 00:58:58 EdgeX Global Pipelines Version Info 00:58:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:58:58 ------------------- 00:58:58 stable info: 00:58:58 ------------------- 00:58:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:58:58 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:58:58 Message: update stable to v1.0.221 00:58:59 ------------------- 00:58:59 experimental info: 00:58:59 ------------------- 00:58:59 Commited By: **** collab-it+edgex@linuxfoundation.org 00:58:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 00:58:59 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:58:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:58:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:58:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:58:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:58:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-357 [Pipeline] echo 00:59:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-357 [Pipeline] echo 00:59:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-357 [Pipeline] echo 00:59:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 58ecf32801cc693837e80e126c478e442b3af96f [Pipeline] echo 00:59:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 58ecf32 [Pipeline] echo 00:59:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:01 provisioning config files... 00:59:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config705187623528122437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:01 ---> docker-login.sh 00:59:01 nexus3.edgexfoundry.org:10001 00:59:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:01 Configure a credential helper to remove this warning. See 00:59:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:01 00:59:01 Login Succeeded 00:59:01 nexus3.edgexfoundry.org:10002 00:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:02 Configure a credential helper to remove this warning. See 00:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:02 00:59:02 Login Succeeded 00:59:02 nexus3.edgexfoundry.org:10003 00:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:02 Configure a credential helper to remove this warning. See 00:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:02 00:59:02 Login Succeeded 00:59:02 nexus3.edgexfoundry.org:10004 00:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:02 Configure a credential helper to remove this warning. See 00:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:02 00:59:02 Login Succeeded 00:59:02 docker.io 00:59:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:02 Configure a credential helper to remove this warning. See 00:59:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:02 00:59:02 Login Succeeded 00:59:02 ---> docker-login.sh ends [Pipeline] } 00:59:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:59:03 + git rev-list -1 --merges 58ecf32801cc693837e80e126c478e442b3af96f~1..58ecf32801cc693837e80e126c478e442b3af96f [Pipeline] echo 00:59:03 -----------> git rev-list -1 --merges 58ecf32801cc693837e80e126c478e442b3af96f~1..58ecf32801cc693837e80e126c478e442b3af96f 58ecf32801cc693837e80e126c478e442b3af96f [false] [Pipeline] sh 00:59:04 + git log --format=format:%s -1 58ecf32801cc693837e80e126c478e442b3af96f [Pipeline] echo 00:59:04 ========================================================= 00:59:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:59:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:04 + git log --format=format:%s -1 58ecf32801cc693837e80e126c478e442b3af96f [Pipeline] echo 00:59:04 [semverPrep] GIT_COMMIT: 58ecf32801cc693837e80e126c478e442b3af96f, Commit Message: build(deps): Update device-sdk-go and other deps [Pipeline] echo 00:59:04 [semverPrep] This is not a build commit. [Pipeline] sh 00:59:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:59:05 + grep -v github /etc/ssh/ssh_known_hosts 00:59:05 + [ -e /tmp/ssh_known_hosts ] 00:59:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:59:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:59:05 + sudo tee -a /etc/ssh/ssh_known_hosts 00:59:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:59:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:59:05 00:59:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:59:05 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:59:05 latest: Pulling from edgex-devops/git-semver 00:59:05 a0d0a0d46f8b: Pulling fs layer 00:59:05 3e5f54012d9b: Pulling fs layer 00:59:05 4c7163046ea9: Pulling fs layer 00:59:05 0c2d73faf560: Pulling fs layer 00:59:05 0c2d73faf560: Waiting 00:59:05 3e5f54012d9b: Verifying Checksum 00:59:05 3e5f54012d9b: Download complete 00:59:05 a0d0a0d46f8b: Download complete 00:59:05 0c2d73faf560: Verifying Checksum 00:59:05 0c2d73faf560: Download complete 00:59:05 4c7163046ea9: Verifying Checksum 00:59:06 a0d0a0d46f8b: Pull complete 00:59:06 3e5f54012d9b: Pull complete 00:59:06 4c7163046ea9: Pull complete 00:59:06 0c2d73faf560: Pull complete 00:59:06 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:59:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:59:06 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:59:06 prd-ubuntu20.04-docker-8c-8g-10811 does not seem to be running inside a container 00:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@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 00:59:07 $ docker top 7e6813c0766ab119438c7348e018073fed2c147a964e1716ac0fe2e0075f9893 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:59:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:59:07 [ssh-agent] Looking for ssh-agent implementation... 00:59:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:59:07 $ docker exec 7e6813c0766ab119438c7348e018073fed2c147a964e1716ac0fe2e0075f9893 ssh-agent 00:59:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXebdbOm/agent.14 00:59:07 SSH_AGENT_PID=21 00:59:07 Running ssh-add (command line suppressed) 00:59:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_5929461325535690020.key (/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_5929461325535690020.key) 00:59:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:59:08 + git tag --points-at HEAD [Pipeline] } 00:59:08 $ docker exec --env ******** --env ******** 7e6813c0766ab119438c7348e018073fed2c147a964e1716ac0fe2e0075f9893 ssh-agent -k 00:59:08 unset SSH_AUTH_SOCK; 00:59:08 unset SSH_AGENT_PID; 00:59:08 echo Agent pid 21 killed; 00:59:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:59:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:59:08 [ssh-agent] Looking for ssh-agent implementation... 00:59:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:59:08 $ docker exec 7e6813c0766ab119438c7348e018073fed2c147a964e1716ac0fe2e0075f9893 ssh-agent 00:59:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEOkebe/agent.53 00:59:09 SSH_AGENT_PID=60 00:59:09 Running ssh-add (command line suppressed) 00:59:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_6295855278897936562.key (/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/private_key_6295855278897936562.key) 00:59:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:59:09 + git semver init 00:59:09 # -> Open(): unable to determine branch for HEAD 00:59:09 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-357/.git 00:59:09 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-357 00:59:09 # $SEMVER_REMOTE_NAME = origin 00:59:09 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:59:09 # $SEMVER_USER_NAME = edgex-jenkins 00:59:09 # $SEMVER_BRANCH = PR-357 00:59:09 # $SEMVER_TEMP = /tmp/semver-155089138 00:59:09 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 00:59:10 # '/tmp/semver-155089138' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-357/.semver' 00:59:10 # -> Force: false 00:59:10 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-357/.semver [Pipeline] } 00:59:10 $ docker exec --env ******** --env ******** 7e6813c0766ab119438c7348e018073fed2c147a964e1716ac0fe2e0075f9893 ssh-agent -k 00:59:10 unset SSH_AUTH_SOCK; 00:59:10 unset SSH_AGENT_PID; 00:59:10 echo Agent pid 60 killed; 00:59:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:59:11 + git semver [Pipeline] } 00:59:11 $ docker stop --time=1 7e6813c0766ab119438c7348e018073fed2c147a964e1716ac0fe2e0075f9893 00:59:12 $ docker rm -f 7e6813c0766ab119438c7348e018073fed2c147a964e1716ac0fe2e0075f9893 [Pipeline] // withDockerContainer [Pipeline] sh 00:59:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:59:13 Stashed 1 file(s) [Pipeline] echo 00:59:13 [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 00:59:13 provisioning config files... 00:59:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config7501201431081806723tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:14 ---> docker-login.sh 00:59:14 nexus3.edgexfoundry.org:10001 00:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:14 Configure a credential helper to remove this warning. See 00:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:14 00:59:14 Login Succeeded 00:59:14 nexus3.edgexfoundry.org:10002 00:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:14 Configure a credential helper to remove this warning. See 00:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:14 00:59:14 Login Succeeded 00:59:14 nexus3.edgexfoundry.org:10003 00:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:14 Configure a credential helper to remove this warning. See 00:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:14 00:59:14 Login Succeeded 00:59:14 nexus3.edgexfoundry.org:10004 00:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:14 Configure a credential helper to remove this warning. See 00:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:14 00:59:14 Login Succeeded 00:59:14 docker.io 00:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:14 Configure a credential helper to remove this warning. See 00:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:14 00:59:14 Login Succeeded 00:59:14 ---> docker-login.sh ends [Pipeline] } 00:59:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:59:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:59:15 ========================================================= 00:59:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:59:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:59:15 + 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 . 00:59:15 Sending build context to Docker daemon 5.841MB 00:59:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:59:15 Step 2/12 : FROM ${BASE} AS builder 00:59:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:59:15 59bf1c3509f3: Pulling fs layer 00:59:15 666ba61612fd: Pulling fs layer 00:59:15 8ed8ca486205: Pulling fs layer 00:59:15 4fe6c5a15a65: Pulling fs layer 00:59:15 22a0e8bec74d: Pulling fs layer 00:59:15 640e595b4fbd: Pulling fs layer 00:59:15 763cafe07f6e: Pulling fs layer 00:59:15 0c0b528cf693: Pulling fs layer 00:59:15 10935f4eaf8b: Pulling fs layer 00:59:15 22a0e8bec74d: Waiting 00:59:15 640e595b4fbd: Waiting 00:59:15 763cafe07f6e: Waiting 00:59:15 0c0b528cf693: Waiting 00:59:15 10935f4eaf8b: Waiting 00:59:15 4fe6c5a15a65: Waiting 00:59:15 8ed8ca486205: Verifying Checksum 00:59:15 8ed8ca486205: Download complete 00:59:15 666ba61612fd: Download complete 00:59:16 22a0e8bec74d: Verifying Checksum 00:59:16 22a0e8bec74d: Download complete 00:59:16 640e595b4fbd: Verifying Checksum 00:59:16 640e595b4fbd: Download complete 00:59:16 59bf1c3509f3: Verifying Checksum 00:59:16 59bf1c3509f3: Download complete 00:59:16 763cafe07f6e: Verifying Checksum 00:59:16 0c0b528cf693: Download complete 00:59:16 59bf1c3509f3: Pull complete 00:59:16 666ba61612fd: Pull complete 00:59:16 8ed8ca486205: Pull complete 00:59:16 10935f4eaf8b: Verifying Checksum 00:59:16 10935f4eaf8b: Download complete 00:59:16 4fe6c5a15a65: Verifying Checksum 00:59:16 4fe6c5a15a65: Download complete 00:59:20 4fe6c5a15a65: Pull complete 00:59:20 22a0e8bec74d: Pull complete 00:59:21 640e595b4fbd: Pull complete 00:59:21 763cafe07f6e: Pull complete 00:59:21 0c0b528cf693: Pull complete 00:59:23 10935f4eaf8b: Pull complete 00:59:23 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 00:59:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:59:23 ---> 99d49a6021b9 00:59:23 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:59:24 ---> Running in af3f6671e669 00:59:25 Removing intermediate container af3f6671e669 00:59:25 ---> fe93d2beec93 00:59:25 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 00:59:25 ---> Running in ea7831da5bad 00:59:25 Removing intermediate container ea7831da5bad 00:59:25 ---> 1f30ed2c64db 00:59:25 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:59:25 ---> Running in 58bc56e56b99 00:59:25 Removing intermediate container 58bc56e56b99 00:59:25 ---> a1c49e5afdf0 00:59:25 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:59:26 ---> Running in c9a1867dbed6 00:59:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:59:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:59:27 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:59:27 (2/4) Installing libedit (20210910.3.1-r0) 00:59:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:59:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:59:27 Executing busybox-1.34.1-r3.trigger 00:59:27 OK: 224 MiB in 56 packages 00:59:28 Removing intermediate container c9a1867dbed6 00:59:28 ---> 36bff6a037d9 00:59:28 Step 7/12 : WORKDIR /device-mqtt-go 00:59:28 ---> Running in 459b5521fff3 00:59:28 Removing intermediate container 459b5521fff3 00:59:28 ---> d717a608de3d 00:59:28 Step 8/12 : COPY go.mod vendor* ./ 00:59:28 ---> eed0db3d5d22 00:59:28 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:59:28 ---> Running in daa6c5349562 00:59:28 Still waiting to schedule task 00:59:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 00:59:43 Removing intermediate container daa6c5349562 00:59:43 ---> f81012ed43c5 00:59:43 Step 10/12 : COPY . . 00:59:43 ---> 67f7ed2def4d 00:59:43 Step 11/12 : ARG MAKE='make build' 00:59:43 ---> Running in 6a8cb5c8ad6b 00:59:43 Removing intermediate container 6a8cb5c8ad6b 00:59:43 ---> 4d4185b6f8d5 00:59:43 Step 12/12 : RUN $MAKE 00:59:43 ---> Running in 60ab609f4de0 00:59:44 noop 00:59:44 Removing intermediate container 60ab609f4de0 00:59:44 ---> 9ab817c7b498 00:59:44 Successfully built 9ab817c7b498 00:59:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:59:44 + docker inspect -f . ci-base-image-x86_64 00:59:44 . [Pipeline] withDockerContainer 00:59:45 prd-ubuntu20.04-docker-8c-8g-10811 does not seem to be running inside a container 00:59:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@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 00:59:45 $ docker top 312234845c234c12092c82d86cf9526abe42969898796514407fccb433e6e5b6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:59:46 + go version 00:59:46 go version go1.17.6 linux/amd64 [Pipeline] } 00:59:46 $ docker stop --time=1 312234845c234c12092c82d86cf9526abe42969898796514407fccb433e6e5b6 00:59:47 $ docker rm -f 312234845c234c12092c82d86cf9526abe42969898796514407fccb433e6e5b6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:59:48 + docker inspect -f . ci-base-image-x86_64 00:59:48 . [Pipeline] withDockerContainer 00:59:48 prd-ubuntu20.04-docker-8c-8g-10811 does not seem to be running inside a container 00:59:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@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 00:59:48 $ docker top b3368a2c615782245c6e30dfcbf3f984a6a4587349431efa2373ce453af90f31 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:59:49 + make test 00:59:49 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:59:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:59:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:59:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 00:59:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:00:07 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:00:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:00:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:00:11 ./bin/test-attribution-txt.sh [Pipeline] echo 01:00:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:00:11 $ docker stop --time=1 b3368a2c615782245c6e30dfcbf3f984a6a4587349431efa2373ce453af90f31 01:00:13 $ docker rm -f b3368a2c615782245c6e30dfcbf3f984a6a4587349431efa2373ce453af90f31 [Pipeline] // withDockerContainer [Pipeline] sh 01:00:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:00:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:00:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:00:15 + ls -al . 01:00:15 total 176 01:00:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 01:00 . 01:00:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 00:58 .. 01:00:15 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 00:58 .dockerignore 01:00:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 00:58 .git 01:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:58 .github 01:00:15 -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 00:58 .gitignore 01:00:15 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 00:58 .golangci.yml 01:00:15 drwx------ 3 jenkins jenkins 4096 Apr 6 00:59 .semver 01:00:15 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 00:58 Attribution.txt 01:00:15 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 00:58 CHANGELOG.md 01:00:15 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 00:58 Dockerfile 01:00:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 00:58 GOVERNANCE.md 01:00:15 -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 00:58 Jenkinsfile 01:00:15 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 00:58 LICENSE 01:00:15 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 6 00:58 Makefile 01:00:15 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 00:58 OWNERS.md 01:00:15 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 00:58 README.md 01:00:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 00:59 VERSION 01:00:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:58 bin 01:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:58 cmd 01:00:15 -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 00:59 coverage.out 01:00:15 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 00:58 go.mod 01:00:15 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 00:58 go.sum 01:00:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 00:58 internal 01:00:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 00:58 mock 01:00:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 00:58 snap 01:00:15 -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 00:58 version.go [Pipeline] isUnix [Pipeline] sh 01:00:16 + 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=58ecf32801cc693837e80e126c478e442b3af96f --label arch=amd64 --label version=0.0.0 . 01:00:16 Sending build context to Docker daemon 5.859MB 01:00:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:00:16 Step 2/24 : FROM ${BASE} AS builder 01:00:16 ---> 9ab817c7b498 01:00:16 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:00:16 ---> Running in e4e6b46f6581 01:00:16 Removing intermediate container e4e6b46f6581 01:00:16 ---> 456f67f97d41 01:00:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:00:16 ---> Running in dadf3e2e60c4 01:00:16 Removing intermediate container dadf3e2e60c4 01:00:16 ---> 9cefa24fdedc 01:00:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:00:16 ---> Running in 61bec6318349 01:00:16 Removing intermediate container 61bec6318349 01:00:16 ---> 9077aeddf8a1 01:00:16 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:00:17 ---> Running in f332433ed37c 01:00:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:00:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:00:18 OK: 224 MiB in 56 packages 01:00:18 Removing intermediate container f332433ed37c 01:00:18 ---> 200839de6ac2 01:00:18 Step 7/24 : WORKDIR /device-mqtt-go 01:00:18 ---> Running in 1d1e3e5ccfcd 01:00:18 Removing intermediate container 1d1e3e5ccfcd 01:00:18 ---> 5855ff01c358 01:00:18 Step 8/24 : COPY go.mod vendor* ./ 01:00:19 ---> 3bda7e86e523 01:00:19 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:19 ---> Running in 845079554ebc 01:00:19 Removing intermediate container 845079554ebc 01:00:19 ---> 42ffcecc09ce 01:00:19 Step 10/24 : COPY . . 01:00:20 ---> 5c3be748bbeb 01:00:20 Step 11/24 : ARG MAKE='make build' 01:00:20 ---> Running in 279155c1809a 01:00:20 Removing intermediate container 279155c1809a 01:00:20 ---> 93141675c5be 01:00:20 Step 12/24 : RUN $MAKE 01:00:20 ---> Running in a0dcfbd12c6e 01:00:20 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 01:00:32 Removing intermediate container a0dcfbd12c6e 01:00:32 ---> 004e10d682b0 01:00:32 Step 13/24 : FROM alpine:3.14 01:00:32 3.14: Pulling from library/alpine 01:00:33 8663204ce13b: Pulling fs layer 01:00:33 8663204ce13b: Verifying Checksum 01:00:33 8663204ce13b: Download complete 01:00:33 8663204ce13b: Pull complete 01:00:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:00:33 Status: Downloaded newer image for alpine:3.14 01:00:33 ---> e04c818066af 01:00:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:00:33 ---> Running in b5d1b3b23b26 01:00:33 Removing intermediate container b5d1b3b23b26 01:00:33 ---> 8f9cb9974d09 01:00:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:00:33 ---> Running in 030e5b578f66 01:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:00:34 (1/6) Installing dumb-init (1.2.5-r1) 01:00:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:00:34 (3/6) Installing libsodium (1.0.18-r0) 01:00:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:00:34 (5/6) Installing libzmq (4.3.4-r0) 01:00:34 (6/6) Installing zeromq (4.3.4-r0) 01:00:34 Executing busybox-1.33.1-r7.trigger 01:00:34 OK: 8 MiB in 20 packages 01:00:34 Removing intermediate container 030e5b578f66 01:00:34 ---> 3de7ee2b5c7d 01:00:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:00:35 ---> 5463be9bba24 01:00:35 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:00:35 ---> ec2e8c80ae69 01:00:35 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:00:35 ---> 04d4dad38d51 01:00:35 Step 19/24 : EXPOSE 59982 01:00:35 ---> Running in a02ad56d8f43 01:00:35 Removing intermediate container a02ad56d8f43 01:00:35 ---> bd31893248ca 01:00:35 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:00:35 ---> Running in 63144d7ed581 01:00:35 Removing intermediate container 63144d7ed581 01:00:35 ---> a415ffdaafe1 01:00:35 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:00:35 ---> Running in 734c8461789b 01:00:35 Removing intermediate container 734c8461789b 01:00:35 ---> d961f8d0aa55 01:00:35 Step 22/24 : LABEL arch=amd64 01:00:35 ---> Running in 6928c9b3b6e6 01:00:36 Removing intermediate container 6928c9b3b6e6 01:00:36 ---> 495584987176 01:00:36 Step 23/24 : LABEL git_sha=58ecf32801cc693837e80e126c478e442b3af96f 01:00:36 ---> Running in a04ff17482df 01:00:36 Removing intermediate container a04ff17482df 01:00:36 ---> b2540e231557 01:00:36 Step 24/24 : LABEL version=0.0.0 01:00:36 ---> Running in d7f527764c35 01:00:36 Removing intermediate container d7f527764c35 01:00:36 ---> 0fad0d3dc07a 01:00:36 [Warning] One or more build-args [ARCH] were not consumed 01:00:36 Successfully built 0fad0d3dc07a 01:00:36 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 01:00:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:37 01:00:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:00:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:37 latest: Pulling from edgex-lftools-log-publisher 01:00:37 5eb5b503b376: Pulling fs layer 01:00:37 5c69ac0246d0: Pulling fs layer 01:00:37 ec43610c2a17: Pulling fs layer 01:00:37 3a2ae6a8a46f: Pulling fs layer 01:00:37 33b1e0a273af: Pulling fs layer 01:00:37 5d3b04190fa2: Pulling fs layer 01:00:37 2f39f015ded8: Pulling fs layer 01:00:37 3a2ae6a8a46f: Waiting 01:00:37 33b1e0a273af: Waiting 01:00:37 5d3b04190fa2: Waiting 01:00:37 2f39f015ded8: Waiting 01:00:37 5c69ac0246d0: Verifying Checksum 01:00:37 5c69ac0246d0: Download complete 01:00:37 3a2ae6a8a46f: Verifying Checksum 01:00:37 3a2ae6a8a46f: Download complete 01:00:37 33b1e0a273af: Verifying Checksum 01:00:37 33b1e0a273af: Download complete 01:00:37 ec43610c2a17: Verifying Checksum 01:00:37 ec43610c2a17: Download complete 01:00:37 5eb5b503b376: Verifying Checksum 01:00:37 5eb5b503b376: Download complete 01:00:38 2f39f015ded8: Download complete 01:00:39 5eb5b503b376: Pull complete 01:00:39 5c69ac0246d0: Pull complete 01:00:39 ec43610c2a17: Pull complete 01:00:39 3a2ae6a8a46f: Pull complete 01:00:39 33b1e0a273af: Pull complete 01:00:39 5d3b04190fa2: Pull complete 01:00:45 2f39f015ded8: Pull complete 01:00:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:00:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:00:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:00:45 prd-ubuntu20.04-docker-8c-8g-10811 does not seem to be running inside a container 01:00:45 $ 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-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@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 01:00:47 $ docker top 111f4403f9be5257a3629bad692113eb13711d210e9dcad96afffe936b64fb7f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:47 ---> job-cost.sh 01:00:47 lf-activate-venv: SKIPPING 01:00:47 INFO: No Stack... 01:00:47 INFO: Retrieving Pricing Info for: v3-standard-8 01:00:48 INFO: Archiving Costs [Pipeline] sh 01:00:48 + cut -d, -f6 01:00:48 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/cost.csv [Pipeline] lock 01:00:48 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-357-1-stack-cost] 01:00:48 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-1-stack-cost] did not exist. Created. 01:00:48 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:00:49 + echo total: 0.2199999988079071 [Pipeline] stash 01:00:49 Stashed 1 file(s) [Pipeline] } 01:00:49 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:00:49 $ docker stop --time=1 111f4403f9be5257a3629bad692113eb13711d210e9dcad96afffe936b64fb7f 01:00:50 $ docker rm -f 111f4403f9be5257a3629bad692113eb13711d210e9dcad96afffe936b64fb7f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:03:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10812 in /w/workspace/gexfoundry_device-mqtt-go_PR-357 [Pipeline] { [Pipeline] ws 01:03:15 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:03:15 Selected Git installation does not exist. Using Default 01:03:15 The recommended git tool is: NONE 01:03:22 using credential edgex-jenkins-ssh 01:03:22 Cloning the remote Git repository 01:03:22 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:03:23 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:03:23 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:03:23 > git --version # timeout=10 01:03:23 > git --version # 'git version 2.25.1' 01:03:23 using GIT_SSH to set credentials SSH Credentials for GitHub 01:03:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:03:25 Merging remotes/origin/main commit 6a0d17f3443cfc2038c22736989c6b24159166ee into PR head commit 58ecf32801cc693837e80e126c478e442b3af96f 01:03:25 Merge succeeded, producing 58ecf32801cc693837e80e126c478e442b3af96f 01:03:25 Checking out Revision 58ecf32801cc693837e80e126c478e442b3af96f (PR-357) 01:03:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:03:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:03:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:03:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:03:24 using GIT_SSH to set credentials SSH Credentials for GitHub 01:03:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/357/head:refs/remotes/origin/PR-357 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:03:25 > git config core.sparsecheckout # timeout=10 01:03:25 > git checkout -f 58ecf32801cc693837e80e126c478e442b3af96f # timeout=10 01:03:25 > git remote # timeout=10 01:03:25 > git config --get remote.origin.url # timeout=10 01:03:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:03:25 > git merge 6a0d17f3443cfc2038c22736989c6b24159166ee # timeout=10 01:03:25 > git rev-parse HEAD^{commit} # timeout=10 01:03:25 > git config core.sparsecheckout # timeout=10 01:03:25 > git checkout -f 58ecf32801cc693837e80e126c478e442b3af96f # timeout=10 01:03:29 Commit message: "build(deps): Update device-sdk-go and other deps" 01:03:29 > git --version # timeout=10 01:03:29 > git --version # 'git version 2.25.1' 01:03:29 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:03:31 % Total % Received % Xferd Average Speed Time Time Time Current 01:03:31 Dload Upload Total Spent Left Speed 01:03:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48536 0 --:--:-- --:--:-- --:--:-- 48736 [Pipeline] sh 01:03:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:03:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:03:32 + sudo tee /etc/docker/daemon.new 01:03:32 { 01:03:32 "registry-mirrors": [ 01:03:32 "https://nexus3.edgexfoundry.org:10001" 01:03:32 ], 01:03:32 "bip": "10.250.0.254/24", 01:03:32 "hosts": [ 01:03:32 "tcp://0.0.0.0:5555", 01:03:32 "unix:///var/run/docker.sock" 01:03:32 ], 01:03:32 "mtu": 1458, 01:03:32 "selinux-enabled": true, 01:03:32 "seccomp-profile": "/etc/docker/seccomp.json" 01:03:32 } [Pipeline] sh 01:03:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:03:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:03:51 provisioning config files... 01:03:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config3583571050473153940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:03:51 ---> docker-login.sh 01:03:51 nexus3.edgexfoundry.org:10001 01:03:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:52 Configure a credential helper to remove this warning. See 01:03:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:52 01:03:52 Login Succeeded 01:03:52 nexus3.edgexfoundry.org:10002 01:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:53 Configure a credential helper to remove this warning. See 01:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:53 01:03:53 Login Succeeded 01:03:53 nexus3.edgexfoundry.org:10003 01:03:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:53 Configure a credential helper to remove this warning. See 01:03:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:53 01:03:53 Login Succeeded 01:03:53 nexus3.edgexfoundry.org:10004 01:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:54 Configure a credential helper to remove this warning. See 01:03:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:54 01:03:54 Login Succeeded 01:03:54 docker.io 01:03:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:03:55 Configure a credential helper to remove this warning. See 01:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:03:55 01:03:55 Login Succeeded 01:03:55 ---> docker-login.sh ends [Pipeline] } 01:03:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:03:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:03:55 ========================================================= 01:03:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:03:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:03:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 01:03:56 Sending build context to Docker daemon 3.056MB 01:03:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:03:56 Step 2/12 : FROM ${BASE} AS builder 01:03:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:03:56 9b3977197b4f: Pulling fs layer 01:03:56 1a89e8eeedd5: Pulling fs layer 01:03:56 94645a83ff95: Pulling fs layer 01:03:56 3f3a8bcf1eab: Pulling fs layer 01:03:56 0c92f367c5e7: Pulling fs layer 01:03:56 f7c0051592d6: Pulling fs layer 01:03:56 a227ed2f7395: Pulling fs layer 01:03:56 7b1c46037f91: Pulling fs layer 01:03:56 3f3a8bcf1eab: Waiting 01:03:56 0c92f367c5e7: Waiting 01:03:56 a227ed2f7395: Waiting 01:03:56 7b1c46037f91: Waiting 01:03:56 94645a83ff95: Verifying Checksum 01:03:56 94645a83ff95: Download complete 01:03:56 1a89e8eeedd5: Verifying Checksum 01:03:56 1a89e8eeedd5: Download complete 01:03:56 0c92f367c5e7: Verifying Checksum 01:03:56 0c92f367c5e7: Download complete 01:03:56 f7c0051592d6: Verifying Checksum 01:03:56 f7c0051592d6: Download complete 01:03:56 9b3977197b4f: Verifying Checksum 01:03:56 9b3977197b4f: Download complete 01:03:56 a227ed2f7395: Verifying Checksum 01:03:56 a227ed2f7395: Download complete 01:03:57 9b3977197b4f: Pull complete 01:03:58 1a89e8eeedd5: Pull complete 01:03:58 94645a83ff95: Pull complete 01:03:58 7b1c46037f91: Verifying Checksum 01:03:58 7b1c46037f91: Download complete 01:03:59 3f3a8bcf1eab: Verifying Checksum 01:03:59 3f3a8bcf1eab: Download complete 01:04:11 3f3a8bcf1eab: Pull complete 01:04:11 0c92f367c5e7: Pull complete 01:04:12 f7c0051592d6: Pull complete 01:04:12 a227ed2f7395: Pull complete 01:04:19 7b1c46037f91: Pull complete 01:04:19 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 01:04:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:04:19 ---> f79e39bc4007 01:04:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:04:19 ---> Running in 297f0be6bd99 01:04:19 Removing intermediate container 297f0be6bd99 01:04:19 ---> 5caca5ccb6d0 01:04:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:04:19 ---> Running in 6c7cba3f654a 01:04:20 Removing intermediate container 6c7cba3f654a 01:04:20 ---> 6a6f7e494f00 01:04:20 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:04:20 ---> Running in 06b7d3528dc1 01:04:22 Removing intermediate container 06b7d3528dc1 01:04:22 ---> c862784aed5f 01:04:22 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:04:22 ---> Running in 218a33f1ccb4 01:04:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:04:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:04:25 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:04:25 (2/4) Installing libedit (20210910.3.1-r0) 01:04:25 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:04:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:04:25 Executing busybox-1.34.1-r3.trigger 01:04:25 OK: 224 MiB in 56 packages 01:04:27 Removing intermediate container 218a33f1ccb4 01:04:27 ---> 15afb52c7bf2 01:04:27 Step 7/12 : WORKDIR /device-mqtt-go 01:04:27 ---> Running in ab8228a93068 01:04:27 Removing intermediate container ab8228a93068 01:04:27 ---> c9446925f800 01:04:27 Step 8/12 : COPY go.mod vendor* ./ 01:04:27 ---> cdee710932c2 01:04:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:27 ---> Running in b4aecdbb1315 01:05:14 Removing intermediate container b4aecdbb1315 01:05:14 ---> ecbe5f3faf87 01:05:14 Step 10/12 : COPY . . 01:05:14 ---> 28514ad25344 01:05:14 Step 11/12 : ARG MAKE='make build' 01:05:14 ---> Running in 69331efe1975 01:05:14 Removing intermediate container 69331efe1975 01:05:14 ---> 154231a22ea5 01:05:14 Step 12/12 : RUN $MAKE 01:05:14 ---> Running in 9d870fff7052 01:05:15 noop 01:05:16 Removing intermediate container 9d870fff7052 01:05:16 ---> 8c95363a9079 01:05:16 Successfully built 8c95363a9079 01:05:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:05:16 + docker inspect -f . ci-base-image-arm64 01:05:16 . [Pipeline] withDockerContainer 01:05:17 prd-ubuntu20.04-docker-arm64-4c-16g-10812 does not seem to be running inside a container 01:05:17 $ 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 01:05:18 $ docker top 2ff811636e75fd57653918944032073efea17c9a0c45c3e7f788da7661913136 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:19 + go version 01:05:19 go version go1.17.6 linux/arm64 [Pipeline] } 01:05:19 $ docker stop --time=1 2ff811636e75fd57653918944032073efea17c9a0c45c3e7f788da7661913136 01:05:21 $ docker rm -f 2ff811636e75fd57653918944032073efea17c9a0c45c3e7f788da7661913136 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:05:22 + docker inspect -f . ci-base-image-arm64 01:05:22 . [Pipeline] withDockerContainer 01:05:22 prd-ubuntu20.04-docker-arm64-4c-16g-10812 does not seem to be running inside a container 01:05:22 $ 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 01:05:23 $ docker top 8852d48fbd324d9f8e0e55ead258594b728d0a39a26f2dafda3b5988c3e7b798 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:05:24 + make test 01:05:24 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:05:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:06:48 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:06:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 01:06:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:06:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:06:48 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:07:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:07:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:07:15 ./bin/test-attribution-txt.sh [Pipeline] echo 01:07:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:07:16 $ docker stop --time=1 8852d48fbd324d9f8e0e55ead258594b728d0a39a26f2dafda3b5988c3e7b798 01:07:18 $ docker rm -f 8852d48fbd324d9f8e0e55ead258594b728d0a39a26f2dafda3b5988c3e7b798 [Pipeline] // withDockerContainer [Pipeline] sh 01:07:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:07:19 Warning: overwriting stash ‘coverage-report’ 01:07:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:07:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:07:20 + ls -al . 01:07:20 total 172 01:07:20 drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 01:07 . 01:07:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 01:03 .. 01:07:20 -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 01:03 .dockerignore 01:07:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 01:03 .git 01:07:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:03 .github 01:07:20 -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 01:03 .gitignore 01:07:20 -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 01:03 .golangci.yml 01:07:20 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 6 01:03 Attribution.txt 01:07:20 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 6 01:03 CHANGELOG.md 01:07:20 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 6 01:03 Dockerfile 01:07:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 01:03 GOVERNANCE.md 01:07:20 -rw-rw-r-- 1 jenkins jenkins 678 Apr 6 01:03 Jenkinsfile 01:07:20 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 01:03 LICENSE 01:07:20 -rw-rw-r-- 1 jenkins jenkins 1531 Apr 6 01:03 Makefile 01:07:20 -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 01:03 OWNERS.md 01:07:20 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 6 01:03 README.md 01:07:20 -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 00:59 VERSION 01:07:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 01:03 bin 01:07:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:03 cmd 01:07:20 -rw-r--r-- 1 jenkins jenkins 17887 Apr 6 01:06 coverage.out 01:07:20 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 6 01:03 go.mod 01:07:20 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 01:03 go.sum 01:07:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 01:03 internal 01:07:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 01:03 mock 01:07:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 01:03 snap 01:07:20 -rw-rw-r-- 1 jenkins jenkins 227 Apr 6 01:03 version.go [Pipeline] isUnix [Pipeline] sh 01:07:21 + 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=58ecf32801cc693837e80e126c478e442b3af96f --label arch=arm64 --label version=0.0.0 . 01:07:21 Sending build context to Docker daemon 3.075MB 01:07:21 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 01:07:21 Step 2/24 : FROM ${BASE} AS builder 01:07:21 ---> 8c95363a9079 01:07:21 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:07:21 ---> Running in 83d38dd6f208 01:07:22 Removing intermediate container 83d38dd6f208 01:07:22 ---> 1d484b33f7fa 01:07:22 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:07:22 ---> Running in ab397eff5d42 01:07:22 Removing intermediate container ab397eff5d42 01:07:22 ---> 31df65d2dbae 01:07:22 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:07:22 ---> Running in 62fc653a5ed6 01:07:24 Removing intermediate container 62fc653a5ed6 01:07:24 ---> 29cb78994cab 01:07:24 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:07:24 ---> Running in 1dc83155d7a3 01:07:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:07:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:07:27 OK: 224 MiB in 56 packages 01:07:28 Removing intermediate container 1dc83155d7a3 01:07:28 ---> abfb734d82fb 01:07:28 Step 7/24 : WORKDIR /device-mqtt-go 01:07:28 ---> Running in 2a4f6e55ee8d 01:07:28 Removing intermediate container 2a4f6e55ee8d 01:07:28 ---> 700a04535e97 01:07:28 Step 8/24 : COPY go.mod vendor* ./ 01:07:29 ---> 2906f9a9496c 01:07:29 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:07:29 ---> Running in 9ea1bccf1b18 01:07:31 Removing intermediate container 9ea1bccf1b18 01:07:31 ---> b16f3aef9f49 01:07:31 Step 10/24 : COPY . . 01:07:32 ---> 461b3135ef75 01:07:32 Step 11/24 : ARG MAKE='make build' 01:07:32 ---> Running in d83cc9946441 01:07:32 Removing intermediate container d83cc9946441 01:07:32 ---> 698d9f9cd145 01:07:32 Step 12/24 : RUN $MAKE 01:07:32 ---> Running in aeed2b0be71c 01:07:33 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd 01:08:55 Removing intermediate container aeed2b0be71c 01:08:55 ---> e08c3d083bda 01:08:55 Step 13/24 : FROM alpine:3.14 01:08:55 3.14: Pulling from library/alpine 01:08:55 455c02918c45: Pulling fs layer 01:08:55 455c02918c45: Verifying Checksum 01:08:55 455c02918c45: Download complete 01:08:55 455c02918c45: Pull complete 01:08:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:08:55 Status: Downloaded newer image for alpine:3.14 01:08:55 ---> ac73e934f311 01:08:55 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:08:55 ---> Running in 3aaf1a10d002 01:08:55 Removing intermediate container 3aaf1a10d002 01:08:55 ---> c5dda297d71d 01:08:55 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:08:55 ---> Running in 6398576e60ea 01:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:08:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:08:55 (1/6) Installing dumb-init (1.2.5-r1) 01:08:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:08:55 (3/6) Installing libsodium (1.0.18-r0) 01:08:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:08:55 (5/6) Installing libzmq (4.3.4-r0) 01:08:55 (6/6) Installing zeromq (4.3.4-r0) 01:08:55 Executing busybox-1.33.1-r7.trigger 01:08:55 OK: 8 MiB in 20 packages 01:08:55 Removing intermediate container 6398576e60ea 01:08:55 ---> aafa5381333f 01:08:55 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:08:55 ---> 12bab69afe56 01:08:55 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:08:56 ---> 9ace73567c15 01:08:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:08:57 ---> 34a64c3c7780 01:08:57 Step 19/24 : EXPOSE 59982 01:08:57 ---> Running in e393ce7805a8 01:08:57 Removing intermediate container e393ce7805a8 01:08:57 ---> fcedac2c3616 01:08:57 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:08:57 ---> Running in e7f7a15db8ee 01:08:57 Removing intermediate container e7f7a15db8ee 01:08:57 ---> 1835b0d45764 01:08:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:08:57 ---> Running in 6fd64e7569d3 01:08:58 Removing intermediate container 6fd64e7569d3 01:08:58 ---> 90c003397c44 01:08:58 Step 22/24 : LABEL arch=arm64 01:08:58 ---> Running in aa09788a4092 01:08:58 Removing intermediate container aa09788a4092 01:08:58 ---> 8d07de87b076 01:08:58 Step 23/24 : LABEL git_sha=58ecf32801cc693837e80e126c478e442b3af96f 01:08:58 ---> Running in d8002b7128ec 01:08:58 Removing intermediate container d8002b7128ec 01:08:58 ---> 5b67e5899431 01:08:58 Step 24/24 : LABEL version=0.0.0 01:08:59 ---> Running in dcd02920bced 01:08:59 Removing intermediate container dcd02920bced 01:08:59 ---> eb3e0163ca9d 01:08:59 [Warning] One or more build-args [ARCH] were not consumed 01:08:59 Successfully built eb3e0163ca9d 01:08:59 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 01:09:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:09:00 01:09:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:09:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:09:00 arm64: Pulling from edgex-lftools-log-publisher 01:09:00 8998bd30e6a1: Pulling fs layer 01:09:00 04944245beec: Pulling fs layer 01:09:00 699f458cf7ca: Pulling fs layer 01:09:00 765212b225bb: Pulling fs layer 01:09:00 f23df028b6ca: Pulling fs layer 01:09:00 d65c8cfc05b1: Pulling fs layer 01:09:00 2437ff75d9bd: Pulling fs layer 01:09:00 f23df028b6ca: Waiting 01:09:00 d65c8cfc05b1: Waiting 01:09:00 2437ff75d9bd: Waiting 01:09:00 765212b225bb: Waiting 01:09:00 04944245beec: Download complete 01:09:00 765212b225bb: Verifying Checksum 01:09:00 765212b225bb: Download complete 01:09:00 f23df028b6ca: Verifying Checksum 01:09:00 f23df028b6ca: Download complete 01:09:00 d65c8cfc05b1: Download complete 01:09:01 699f458cf7ca: Verifying Checksum 01:09:01 699f458cf7ca: Download complete 01:09:01 8998bd30e6a1: Verifying Checksum 01:09:01 8998bd30e6a1: Download complete 01:09:03 2437ff75d9bd: Verifying Checksum 01:09:03 2437ff75d9bd: Download complete 01:09:05 8998bd30e6a1: Pull complete 01:09:06 04944245beec: Pull complete 01:09:07 699f458cf7ca: Pull complete 01:09:07 765212b225bb: Pull complete 01:09:08 f23df028b6ca: Pull complete 01:09:09 d65c8cfc05b1: Pull complete 01:09:24 2437ff75d9bd: Pull complete 01:09:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:09:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:09:24 prd-ubuntu20.04-docker-arm64-4c-16g-10812 does not seem to be running inside a container 01:09:24 $ 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 01:09:27 $ docker top ad62e3cd5d0c3e1961d02bfd26e03217525a056bceb4fb6166930500da0fa217 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:28 ---> job-cost.sh 01:09:28 lf-activate-venv: SKIPPING 01:09:28 INFO: No Stack... 01:09:28 INFO: Retrieving Pricing Info for: v3-standard-4 01:09:29 INFO: Archiving Costs [Pipeline] sh 01:09:30 + + catcut /w/workspace/device-mqtt-go/1/archives/cost.csv -d, 01:09:30 -f6 [Pipeline] lock 01:09:30 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-357-1-stack-cost] 01:09:30 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-1-stack-cost] did not exist. Created. 01:09:30 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-357-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:09:31 /w/workspace/device-mqtt-go/1@tmp/durable-8f5e4da1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:09:31 + echo total: 0.10999999940395355 [Pipeline] stash 01:09:31 Warning: overwriting stash ‘stack-cost’ 01:09:31 Stashed 1 file(s) [Pipeline] } 01:09:31 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-357-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:09:32 $ docker stop --time=1 ad62e3cd5d0c3e1961d02bfd26e03217525a056bceb4fb6166930500da0fa217 01:09:33 $ docker rm -f ad62e3cd5d0c3e1961d02bfd26e03217525a056bceb4fb6166930500da0fa217 [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 01:09:34 provisioning config files... 01:09:34 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config8942329680749048590tmp [Pipeline] { [Pipeline] sh 01:09:35 + set +x 01:09:35 + curl -s https://codecov.io/bash 01:09:35 + bash -s -- 01:09:35 01:09:35 _____ _ 01:09:35 / ____| | | 01:09:35 | | ___ __| | ___ ___ _____ __ 01:09:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:09:35 | |___| (_) | (_| | __/ (_| (_) \ V / 01:09:35 \_____\___/ \__,_|\___|\___\___/ \_/ 01:09:35 Bash-1.0.6 01:09:35 01:09:35 01:09:35 ==> git version 2.25.1 found 01:09:35 ==> 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 01:09:35 Release-Date: 2020-01-08 01:09:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:09:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:09:35 ==> Jenkins CI detected. 01:09:35 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-357 01:09:35 project root: . 01:09:35 --> token set from env 01:09:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:09:35 ==> Running gcov in . (disable via -X gcov) 01:09:35 ==> Python coveragepy not found 01:09:35 ==> Searching for coverage reports in: 01:09:35 + . 01:09:35 -> Found 1 reports 01:09:35 ==> Detecting git/mercurial file structure 01:09:35 ==> Reading reports 01:09:35 + ./coverage.out bytes=17887 01:09:35 ==> Appending adjustments 01:09:35 https://docs.codecov.io/docs/fixing-reports 01:09:35 + Found adjustments 01:09:35 ==> Gzipping contents 01:09:35 4.0K /tmp/codecov.3V6zJH.gz 01:09:35 ==> Uploading reports 01:09:35 url: https://codecov.io 01:09:35 query: branch=PR-357&commit=58ecf32801cc693837e80e126c478e442b3af96f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=357&job=&cmd_args= 01:09:35 -> Pinging Codecov 01:09:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-357&commit=58ecf32801cc693837e80e126c478e442b3af96f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-357%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=357&job=&cmd_args= 01:09:35 -> Uploading to 01:09:35 https://storage.googleapis.com/codecov/v4/raw/2022-04-06/7D719EC7BBE17E464838252E33014C33/58ecf32801cc693837e80e126c478e442b3af96f/41d0f18f-0c40-44cb-89fe-901ea7523689.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T010935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bf1c7a3c9777e21ffc577fb862cab77aecba47d0efbaf149fb5d909c26db3600 01:09:35 % Total % Received % Xferd Average Speed Time Time Time Current 01:09:35 Dload Upload Total Spent Left Speed 01:09:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 15023 --:--:-- --:--:-- --:--:-- 14954 01:09:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/58ecf32801cc693837e80e126c478e442b3af96f [Pipeline] } 01:09:35 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 01:09:37 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives ] 01:09:37 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives 01:09:37 total 16 01:09:37 drwxr-xr-x 3 root root 4096 Apr 6 01:00 . 01:09:37 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 01:00 .. 01:09:37 drwxr-xr-x 2 root root 4096 Apr 6 01:00 cost 01:09:37 -rw-r--r-- 1 root root 85 Apr 6 01:00 cost.csv 01:09:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives 01:09:37 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives 01:09:37 total 16 01:09:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 01:00 . 01:09:37 drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 01:00 .. 01:09:37 drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 01:00 cost 01:09:37 -rw-r--r-- 1 jenkins jenkins 85 Apr 6 01:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:09:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:09:38 ---> package-listing.sh 01:09:38 ++ facter osfamily 01:09:38 ++ tr '[:upper:]' '[:lower:]' 01:09:39 + OS_FAMILY=debian 01:09:39 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-357 01:09:39 + START_PACKAGES=/tmp/packages_start.txt 01:09:39 + END_PACKAGES=/tmp/packages_end.txt 01:09:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:09:39 + PACKAGES=/tmp/packages_start.txt 01:09:39 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-357 ']' 01:09:39 + PACKAGES=/tmp/packages_end.txt 01:09:39 + case "${OS_FAMILY}" in 01:09:39 + dpkg -l 01:09:39 + grep '^ii' 01:09:39 + '[' -f /tmp/packages_start.txt ']' 01:09:39 + '[' -f /tmp/packages_end.txt ']' 01:09:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:09:39 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-357 ']' 01:09:39 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/ 01:09:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-357/archives/ [Pipeline] echo 01:09:39 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-357/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:09:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:09:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:09:40 . [Pipeline] withDockerContainer 01:09:40 prd-ubuntu20.04-docker-8c-8g-10811 does not seem to be running inside a container 01:09:40 $ 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-357/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-357 -v /w/workspace/gexfoundry_device-mqtt-go_PR-357:/w/workspace/gexfoundry_device-mqtt-go_PR-357:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-357@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 01:09:40 $ docker top e5545f391cd175cb609f8a85fe939b18745bbfe57d4e7b149aab1163396350e4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:40 + touch /tmp/pre-build-complete [Pipeline] sh 01:09:41 + mkdir -p /var/log/sysstat [Pipeline] sh 01:09:41 + ls /var/log/sa-host 01:09:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:41 provisioning config files... 01:09:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-357@tmp/config7383982761450692861tmp [Pipeline] { [Pipeline] echo 01:09:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:09:42 ---> create-netrc.sh [Pipeline] } 01:09:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:09:42 ---> python-tools-install.sh [Pipeline] echo 01:09:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:09:43 ---> sudo-logs.sh 01:09:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:09:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:09:43 ---> job-cost.sh 01:09:43 lf-activate-venv: SKIPPING 01:09:43 DEBUG: total: 0.2199999988079071 01:09:43 INFO: Retrieving Stack Cost... 01:09:43 INFO: Retrieving Pricing Info for: v3-standard-8 01:09:44 INFO: Archiving Costs [Pipeline] echo 01:09:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:09:44 ---> logs-deploy.sh 01:09:44 lf-activate-venv: SKIPPING 01:09:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-357/1 01:09:44 INFO: archiving workspace using pattern(s): 01:09:45 Archives upload complete. 01:09:45 INFO: archiving logs to Nexus 01:09:46 ---> uname -a: 01:09:46 Linux prd-ubuntu20-04-docker-8c-8g-10811 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 01:09:46 01:09:46