Pull request #372 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 jinlinGuan for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at cac5c8aff02eeff20ea0733b686feb688efb88bb rather than f321262f34333ef6929eb6909d81dbb971482739 Obtained Jenkinsfile from cac5c8aff02eeff20ea0733b686feb688efb88bb 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-ssh12680986366472518263.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-ssh389005715999583355.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-372/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-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2838328143298576413.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-372/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1506278113605544699.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-ssh16733828446058901248.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-372/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-372/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2639709392718069409.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-33457’ Running on prd-ubuntu20.04-docker-8c-8g-33460 in /w/workspace/gexfoundry_device-mqtt-go_PR-372 [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-372 # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit f321262f34333ef6929eb6909d81dbb971482739 Merge succeeded, producing f321262f34333ef6929eb6909d81dbb971482739 Checking out Revision f321262f34333ef6929eb6909d81dbb971482739 (PR-372) > 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/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f321262f34333ef6929eb6909d81dbb971482739 # 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 cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f321262f34333ef6929eb6909d81dbb971482739 # timeout=10 Commit message: "feat: Bump device-sdk-go version and update configuration.toml" 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 10:09:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:09:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:09:34 ========================================================= 10:09:34 EdgeX Global Pipelines Version Info 10:09:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:09:35 ------------------- 10:09:35 stable info: 10:09:35 ------------------- 10:09:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:09:35 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:09:35 Message: update stable to v1.0.221 10:09:36 ------------------- 10:09:36 experimental info: 10:09:36 ------------------- 10:09:36 Commited By: **** collab-it+edgex@linuxfoundation.org 10:09:36 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 10:09:36 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-372 [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-372 [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-372 [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f321262f34333ef6929eb6909d81dbb971482739 [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f321262 [Pipeline] echo 10:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:38 provisioning config files... 10:09:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp/config1202168000259964050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:38 ---> docker-login.sh 10:09:38 nexus3.edgexfoundry.org:10001 10:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:39 Configure a credential helper to remove this warning. See 10:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:39 10:09:39 Login Succeeded 10:09:39 nexus3.edgexfoundry.org:10002 10:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:39 Configure a credential helper to remove this warning. See 10:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:39 10:09:39 Login Succeeded 10:09:39 nexus3.edgexfoundry.org:10003 10:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:39 Configure a credential helper to remove this warning. See 10:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:39 10:09:39 Login Succeeded 10:09:39 nexus3.edgexfoundry.org:10004 10:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:39 Configure a credential helper to remove this warning. See 10:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:39 10:09:39 Login Succeeded 10:09:39 docker.io 10:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:39 Configure a credential helper to remove this warning. See 10:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:39 10:09:39 Login Succeeded 10:09:39 ---> docker-login.sh ends [Pipeline] } 10:09:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:09:40 + git rev-list -1 --merges f321262f34333ef6929eb6909d81dbb971482739~1..f321262f34333ef6929eb6909d81dbb971482739 [Pipeline] echo 10:09:40 -----------> git rev-list -1 --merges f321262f34333ef6929eb6909d81dbb971482739~1..f321262f34333ef6929eb6909d81dbb971482739 f321262f34333ef6929eb6909d81dbb971482739 [false] [Pipeline] sh 10:09:40 + git log --format=format:%s -1 f321262f34333ef6929eb6909d81dbb971482739 [Pipeline] echo 10:09:40 ========================================================= 10:09:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:09:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:41 + git log --format=format:%s -1 f321262f34333ef6929eb6909d81dbb971482739 [Pipeline] echo 10:09:41 [semverPrep] GIT_COMMIT: f321262f34333ef6929eb6909d81dbb971482739, Commit Message: feat: Bump device-sdk-go version and update configuration.toml [Pipeline] echo 10:09:41 [semverPrep] This is not a build commit. [Pipeline] sh 10:09:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:09:41 + grep -v github /etc/ssh/ssh_known_hosts 10:09:41 + [ -e /tmp/ssh_known_hosts ] 10:09:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:09:41 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:09:41 sudo tee -a /etc/ssh/ssh_known_hosts 10:09:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:09:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:09:42 10:09:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:09:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:09:42 latest: Pulling from edgex-devops/git-semver 10:09:42 a0d0a0d46f8b: Pulling fs layer 10:09:42 3e5f54012d9b: Pulling fs layer 10:09:42 4c7163046ea9: Pulling fs layer 10:09:42 0c2d73faf560: Pulling fs layer 10:09:42 0c2d73faf560: Waiting 10:09:42 3e5f54012d9b: Verifying Checksum 10:09:42 3e5f54012d9b: Download complete 10:09:42 a0d0a0d46f8b: Download complete 10:09:42 0c2d73faf560: Verifying Checksum 10:09:42 0c2d73faf560: Download complete 10:09:42 4c7163046ea9: Verifying Checksum 10:09:42 4c7163046ea9: Download complete 10:09:42 a0d0a0d46f8b: Pull complete 10:09:43 3e5f54012d9b: Pull complete 10:09:43 4c7163046ea9: Pull complete 10:09:43 0c2d73faf560: Pull complete 10:09:43 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:09:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:09:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:09:43 prd-ubuntu20.04-docker-8c-8g-33460 does not seem to be running inside a container 10:09:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-372 -v /w/workspace/gexfoundry_device-mqtt-go_PR-372:/w/workspace/gexfoundry_device-mqtt-go_PR-372:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-372@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 10:09:44 $ docker top feaa26e1e7f646f1d4bf33b1e227ee1c378e875de76fc6ec1e5da6d8b707b663 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:09:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:44 [ssh-agent] Looking for ssh-agent implementation... 10:09:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:44 $ docker exec feaa26e1e7f646f1d4bf33b1e227ee1c378e875de76fc6ec1e5da6d8b707b663 ssh-agent 10:09:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBkIeDn/agent.13 10:09:45 SSH_AGENT_PID=20 10:09:45 Running ssh-add (command line suppressed) 10:09:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp/private_key_1296273484632287244.key (/w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp/private_key_1296273484632287244.key) 10:09:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:45 + git tag --points-at HEAD [Pipeline] } 10:09:45 $ docker exec --env ******** --env ******** feaa26e1e7f646f1d4bf33b1e227ee1c378e875de76fc6ec1e5da6d8b707b663 ssh-agent -k 10:09:45 unset SSH_AUTH_SOCK; 10:09:45 unset SSH_AGENT_PID; 10:09:45 echo Agent pid 20 killed; 10:09:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:09:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:45 [ssh-agent] Looking for ssh-agent implementation... 10:09:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:45 $ docker exec feaa26e1e7f646f1d4bf33b1e227ee1c378e875de76fc6ec1e5da6d8b707b663 ssh-agent 10:09:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoLNIci/agent.53 10:09:46 SSH_AGENT_PID=60 10:09:46 Running ssh-add (command line suppressed) 10:09:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp/private_key_3294054864566988132.key (/w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp/private_key_3294054864566988132.key) 10:09:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:46 + git semver init 10:09:46 # -> Open(): unable to determine branch for HEAD 10:09:46 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-372/.git 10:09:46 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-372 10:09:46 # $SEMVER_REMOTE_NAME = origin 10:09:46 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:09:46 # $SEMVER_USER_NAME = edgex-jenkins 10:09:46 # $SEMVER_BRANCH = PR-372 10:09:46 # $SEMVER_TEMP = /tmp/semver-808227371 10:09:46 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 10:09:47 # '/tmp/semver-808227371' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-372/.semver' 10:09:47 # -> Force: false 10:09:47 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-372/.semver [Pipeline] } 10:09:47 $ docker exec --env ******** --env ******** feaa26e1e7f646f1d4bf33b1e227ee1c378e875de76fc6ec1e5da6d8b707b663 ssh-agent -k 10:09:47 unset SSH_AUTH_SOCK; 10:09:47 unset SSH_AGENT_PID; 10:09:47 echo Agent pid 60 killed; 10:09:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:09:48 + git semver [Pipeline] } 10:09:48 $ docker stop --time=1 feaa26e1e7f646f1d4bf33b1e227ee1c378e875de76fc6ec1e5da6d8b707b663 10:09:49 $ docker rm -f feaa26e1e7f646f1d4bf33b1e227ee1c378e875de76fc6ec1e5da6d8b707b663 [Pipeline] // withDockerContainer [Pipeline] sh 10:09:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:09:50 Stashed 1 file(s) [Pipeline] echo 10:09:50 [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 10:09:50 provisioning config files... 10:09:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp/config1767564690973720518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:51 ---> docker-login.sh 10:09:51 nexus3.edgexfoundry.org:10001 10:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:51 Configure a credential helper to remove this warning. See 10:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:51 10:09:51 Login Succeeded 10:09:51 nexus3.edgexfoundry.org:10002 10:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:51 Configure a credential helper to remove this warning. See 10:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:51 10:09:51 Login Succeeded 10:09:51 nexus3.edgexfoundry.org:10003 10:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:51 Configure a credential helper to remove this warning. See 10:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:51 10:09:51 Login Succeeded 10:09:51 nexus3.edgexfoundry.org:10004 10:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:51 Configure a credential helper to remove this warning. See 10:09:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:51 10:09:51 Login Succeeded 10:09:51 docker.io 10:09:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:52 Configure a credential helper to remove this warning. See 10:09:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:52 10:09:52 Login Succeeded 10:09:52 ---> docker-login.sh ends [Pipeline] } 10:09:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:09:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:09:52 ========================================================= 10:09:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:09:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:09:52 + 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 . 10:09:52 Sending build context to Docker daemon 5.863MB 10:09:52 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:09:52 Step 2/12 : FROM ${BASE} AS builder 10:09:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:09:53 59bf1c3509f3: Pulling fs layer 10:09:53 666ba61612fd: Pulling fs layer 10:09:53 8ed8ca486205: Pulling fs layer 10:09:53 4fe6c5a15a65: Pulling fs layer 10:09:53 22a0e8bec74d: Pulling fs layer 10:09:53 ca2b28591e48: Pulling fs layer 10:09:53 a51346096db8: Pulling fs layer 10:09:53 daebc70d1ce1: Pulling fs layer 10:09:53 0e18a0eac166: Pulling fs layer 10:09:53 ca2b28591e48: Waiting 10:09:53 daebc70d1ce1: Waiting 10:09:53 a51346096db8: Waiting 10:09:53 4fe6c5a15a65: Waiting 10:09:53 0e18a0eac166: Waiting 10:09:53 8ed8ca486205: Verifying Checksum 10:09:53 8ed8ca486205: Download complete 10:09:53 666ba61612fd: Verifying Checksum 10:09:53 666ba61612fd: Download complete 10:09:53 22a0e8bec74d: Verifying Checksum 10:09:53 22a0e8bec74d: Download complete 10:09:53 ca2b28591e48: Verifying Checksum 10:09:53 ca2b28591e48: Download complete 10:09:53 59bf1c3509f3: Verifying Checksum 10:09:53 59bf1c3509f3: Download complete 10:09:53 a51346096db8: Download complete 10:09:53 daebc70d1ce1: Verifying Checksum 10:09:53 daebc70d1ce1: Download complete 10:09:53 59bf1c3509f3: Pull complete 10:09:53 0e18a0eac166: Verifying Checksum 10:09:53 0e18a0eac166: Download complete 10:09:54 666ba61612fd: Pull complete 10:09:54 4fe6c5a15a65: Verifying Checksum 10:09:54 4fe6c5a15a65: Download complete 10:09:54 8ed8ca486205: Pull complete 10:09:58 4fe6c5a15a65: Pull complete 10:09:58 22a0e8bec74d: Pull complete 10:09:58 ca2b28591e48: Pull complete 10:09:58 a51346096db8: Pull complete 10:09:58 daebc70d1ce1: Pull complete 10:10:01 0e18a0eac166: Pull complete 10:10:01 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 10:10:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:10:01 ---> f018257e8ee9 10:10:01 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:10:03 ---> Running in 48d4724ee2a4 10:10:03 Removing intermediate container 48d4724ee2a4 10:10:03 ---> bb23ce63f632 10:10:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:10:03 ---> Running in 8f9657e297ac 10:10:03 Removing intermediate container 8f9657e297ac 10:10:03 ---> 80d692c2bed6 10:10:03 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:03 ---> Running in 504cfd0cc016 10:10:04 Removing intermediate container 504cfd0cc016 10:10:04 ---> db3256eafe02 10:10:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:04 ---> Running in f138601ad2f7 10:10:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:10:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:10:05 Still waiting to schedule task 10:10:05 ‘prd-ubuntu20.04-docker-arm64-4c-16g-33458’ is offline 10:10:06 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:10:06 (2/4) Installing libedit (20210910.3.1-r0) 10:10:06 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:10:06 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:10:06 Executing busybox-1.34.1-r3.trigger 10:10:06 OK: 224 MiB in 56 packages 10:10:06 Removing intermediate container f138601ad2f7 10:10:06 ---> 31e4b2fbd076 10:10:06 Step 7/12 : WORKDIR /device-mqtt-go 10:10:06 ---> Running in 4aad8a4363ae 10:10:07 Removing intermediate container 4aad8a4363ae 10:10:07 ---> c6fd9fbc9c8d 10:10:07 Step 8/12 : COPY go.mod vendor* ./ 10:10:07 ---> 648fb8f02457 10:10:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:07 ---> Running in e891d97cd696 10:10:25 Removing intermediate container e891d97cd696 10:10:25 ---> 9f59525b995d 10:10:25 Step 10/12 : COPY . . 10:10:25 ---> 785f0e4b1ed7 10:10:25 Step 11/12 : ARG MAKE='make build' 10:10:25 ---> Running in 786fc960f7b1 10:10:25 Removing intermediate container 786fc960f7b1 10:10:25 ---> 664a1a9b936a 10:10:25 Step 12/12 : RUN $MAKE 10:10:25 ---> Running in 49f88b431ae1 10:10:25 noop 10:10:25 Removing intermediate container 49f88b431ae1 10:10:25 ---> bc7c03220622 10:10:25 Successfully built bc7c03220622 10:10:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:10:25 + docker inspect -f . ci-base-image-x86_64 10:10:25 . [Pipeline] withDockerContainer 10:10:25 prd-ubuntu20.04-docker-8c-8g-33460 does not seem to be running inside a container 10:10:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-372 -v /w/workspace/gexfoundry_device-mqtt-go_PR-372:/w/workspace/gexfoundry_device-mqtt-go_PR-372:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-372@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 10:10:26 $ docker top dbacb209ad2bd970a69a43d39a8a9da22e589ce82c11a83fc354cf6d5916fe19 -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:26 + go version 10:10:26 go version go1.17.6 linux/amd64 [Pipeline] } 10:10:26 $ docker stop --time=1 dbacb209ad2bd970a69a43d39a8a9da22e589ce82c11a83fc354cf6d5916fe19 10:10:28 $ docker rm -f dbacb209ad2bd970a69a43d39a8a9da22e589ce82c11a83fc354cf6d5916fe19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:10:29 + docker inspect -f . ci-base-image-x86_64 10:10:29 . [Pipeline] withDockerContainer 10:10:29 prd-ubuntu20.04-docker-8c-8g-33460 does not seem to be running inside a container 10:10:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-372 -v /w/workspace/gexfoundry_device-mqtt-go_PR-372:/w/workspace/gexfoundry_device-mqtt-go_PR-372:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-372@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 10:10:29 $ docker top 010a41b8e7d7979dad155329eed0aa58d40ddb4221328046e3972f6e4e25a311 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:10:30 + make test 10:10:30 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:10:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:10:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:10:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 10:10:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:10:48 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:10:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:10:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:10:52 ./bin/test-attribution-txt.sh [Pipeline] echo 10:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:10:52 $ docker stop --time=1 010a41b8e7d7979dad155329eed0aa58d40ddb4221328046e3972f6e4e25a311 10:10:54 $ docker rm -f 010a41b8e7d7979dad155329eed0aa58d40ddb4221328046e3972f6e4e25a311 [Pipeline] // withDockerContainer [Pipeline] sh 10:10:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:10:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:10:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:10:56 + ls -al . 10:10:56 total 176 10:10:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 10:10 . 10:10:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:09 .. 10:10:56 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 10:09 .dockerignore 10:10:56 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:09 .git 10:10:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:09 .github 10:10:56 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 10:09 .gitignore 10:10:56 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 10:09 .golangci.yml 10:10:56 drwx------ 3 jenkins jenkins 4096 Apr 27 10:09 .semver 10:10:56 -rw-rw-r-- 1 jenkins jenkins 8656 Apr 27 10:09 Attribution.txt 10:10:56 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 27 10:09 CHANGELOG.md 10:10:56 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 10:09 Dockerfile 10:10:56 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 10:09 GOVERNANCE.md 10:10:56 -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 10:09 Jenkinsfile 10:10:56 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 10:09 LICENSE 10:10:56 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 10:09 Makefile 10:10:56 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 10:09 OWNERS.md 10:10:56 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 27 10:09 README.md 10:10:56 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 10:09 VERSION 10:10:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:09 bin 10:10:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:09 cmd 10:10:56 -rw-r--r-- 1 jenkins jenkins 17887 Apr 27 10:10 coverage.out 10:10:56 -rw-rw-r-- 1 jenkins jenkins 3309 Apr 27 10:09 go.mod 10:10:56 -rw-rw-r-- 1 jenkins jenkins 34894 Apr 27 10:09 go.sum 10:10:56 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:09 internal 10:10:56 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:09 mock 10:10:56 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:09 snap 10:10:56 -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 10:09 version.go [Pipeline] isUnix [Pipeline] sh 10:10:56 + 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=f321262f34333ef6929eb6909d81dbb971482739 --label arch=amd64 --label version=0.0.0 . 10:10:56 Sending build context to Docker daemon 5.882MB 10:10:56 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 10:10:56 Step 2/24 : FROM ${BASE} AS builder 10:10:56 ---> bc7c03220622 10:10:56 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:10:56 ---> Running in 8b76cd724a25 10:10:57 Removing intermediate container 8b76cd724a25 10:10:57 ---> a28dcac23e58 10:10:57 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 10:10:57 ---> Running in 56ee3f92e09c 10:10:57 Removing intermediate container 56ee3f92e09c 10:10:57 ---> 907420bcf808 10:10:57 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:57 ---> Running in e936c2b4d052 10:10:58 Removing intermediate container e936c2b4d052 10:10:58 ---> a83b50b9a573 10:10:58 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:58 ---> Running in 848f7163a8c0 10:10:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:10:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:10:59 OK: 224 MiB in 56 packages 10:11:00 Removing intermediate container 848f7163a8c0 10:11:00 ---> a184b9bcf818 10:11:00 Step 7/24 : WORKDIR /device-mqtt-go 10:11:00 ---> Running in 8fdd8cacb962 10:11:00 Removing intermediate container 8fdd8cacb962 10:11:00 ---> 40a2596b020c 10:11:00 Step 8/24 : COPY go.mod vendor* ./ 10:11:00 ---> 98ea43424527 10:11:00 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:11:00 ---> Running in 293cb9a3070f 10:11:01 Removing intermediate container 293cb9a3070f 10:11:01 ---> 96bf92f2203b 10:11:01 Step 10/24 : COPY . . 10:11:01 ---> 0c07bcd962ba 10:11:01 Step 11/24 : ARG MAKE='make build' 10:11:01 ---> Running in 5197c41b2f6f 10:11:01 Removing intermediate container 5197c41b2f6f 10:11:01 ---> 14a319f2247c 10:11:01 Step 12/24 : RUN $MAKE 10:11:01 ---> Running in 190b751d590e 10:11:02 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 10:11:24 Removing intermediate container 190b751d590e 10:11:24 ---> 44552527fb22 10:11:24 Step 13/24 : FROM alpine:3.14 10:11:24 3.14: Pulling from library/alpine 10:11:24 8663204ce13b: Pulling fs layer 10:11:24 8663204ce13b: Verifying Checksum 10:11:24 8663204ce13b: Download complete 10:11:24 8663204ce13b: Pull complete 10:11:24 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:11:24 Status: Downloaded newer image for alpine:3.14 10:11:24 ---> e04c818066af 10:11:24 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:11:24 ---> Running in 5dbe1c05911e 10:11:24 Removing intermediate container 5dbe1c05911e 10:11:24 ---> fa47e801b614 10:11:24 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:11:24 ---> Running in ed98b3218969 10:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:11:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:11:24 (1/6) Installing dumb-init (1.2.5-r1) 10:11:24 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:11:24 (3/6) Installing libsodium (1.0.18-r0) 10:11:24 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:11:24 (5/6) Installing libzmq (4.3.4-r0) 10:11:24 (6/6) Installing zeromq (4.3.4-r0) 10:11:24 Executing busybox-1.33.1-r7.trigger 10:11:24 OK: 8 MiB in 20 packages 10:11:24 Removing intermediate container ed98b3218969 10:11:24 ---> edf91acb44ea 10:11:24 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:11:25 ---> 9ddbb9e857a9 10:11:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:11:25 ---> 4dd28960418b 10:11:25 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:11:26 ---> ba9678a44fd5 10:11:26 Step 19/24 : EXPOSE 59982 10:11:26 ---> Running in 3ea0e2b075f2 10:11:26 Removing intermediate container 3ea0e2b075f2 10:11:26 ---> 7f46511f7a20 10:11:26 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:11:26 ---> Running in 9b6414908023 10:11:26 Removing intermediate container 9b6414908023 10:11:26 ---> 3d0a6abecfae 10:11:26 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:11:26 ---> Running in b46694072b85 10:11:26 Removing intermediate container b46694072b85 10:11:26 ---> 22eb33526539 10:11:26 Step 22/24 : LABEL arch=amd64 10:11:26 ---> Running in 16313619f392 10:11:26 Removing intermediate container 16313619f392 10:11:26 ---> c939ca73c680 10:11:26 Step 23/24 : LABEL git_sha=f321262f34333ef6929eb6909d81dbb971482739 10:11:26 ---> Running in 4d99ffbde6bb 10:11:26 Removing intermediate container 4d99ffbde6bb 10:11:26 ---> e76bc40bb220 10:11:26 Step 24/24 : LABEL version=0.0.0 10:11:26 ---> Running in 8fdbd5c945b3 10:11:26 Removing intermediate container 8fdbd5c945b3 10:11:26 ---> 6c0495afb119 10:11:26 [Warning] One or more build-args [ARCH] were not consumed 10:11:26 Successfully built 6c0495afb119 10:11:26 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 10:11:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:27 10:11:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:11:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:27 latest: Pulling from edgex-lftools-log-publisher 10:11:27 5eb5b503b376: Pulling fs layer 10:11:27 5c69ac0246d0: Pulling fs layer 10:11:27 ec43610c2a17: Pulling fs layer 10:11:27 3a2ae6a8a46f: Pulling fs layer 10:11:27 33b1e0a273af: Pulling fs layer 10:11:27 5d3b04190fa2: Pulling fs layer 10:11:27 2f39f015ded8: Pulling fs layer 10:11:27 3a2ae6a8a46f: Waiting 10:11:27 5d3b04190fa2: Waiting 10:11:27 2f39f015ded8: Waiting 10:11:27 5c69ac0246d0: Verifying Checksum 10:11:27 5c69ac0246d0: Download complete 10:11:27 3a2ae6a8a46f: Verifying Checksum 10:11:27 3a2ae6a8a46f: Download complete 10:11:27 33b1e0a273af: Verifying Checksum 10:11:27 33b1e0a273af: Download complete 10:11:27 ec43610c2a17: Verifying Checksum 10:11:27 ec43610c2a17: Download complete 10:11:27 5d3b04190fa2: Verifying Checksum 10:11:27 5d3b04190fa2: Download complete 10:11:28 5eb5b503b376: Verifying Checksum 10:11:28 5eb5b503b376: Download complete 10:11:28 2f39f015ded8: Download complete 10:11:29 5eb5b503b376: Pull complete 10:11:29 5c69ac0246d0: Pull complete 10:11:29 ec43610c2a17: Pull complete 10:11:30 3a2ae6a8a46f: Pull complete 10:11:30 33b1e0a273af: Pull complete 10:11:30 5d3b04190fa2: Pull complete 10:11:35 2f39f015ded8: Pull complete 10:11:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:11:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:11:35 prd-ubuntu20.04-docker-8c-8g-33460 does not seem to be running inside a container 10:11:35 $ 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-372 -v /w/workspace/gexfoundry_device-mqtt-go_PR-372:/w/workspace/gexfoundry_device-mqtt-go_PR-372:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-372@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 10:11:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33462 in /w/workspace/gexfoundry_device-mqtt-go_PR-372 10:11:38 $ docker top 0d55796984569566c8878cba3acd2395f9a78ec3d5e0ed806d92cb10bc905317 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 10:11:38 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 10:11:38 ---> job-cost.sh 10:11:38 lf-activate-venv: SKIPPING 10:11:38 INFO: No Stack... 10:11:38 Selected Git installation does not exist. Using Default 10:11:38 The recommended git tool is: NONE 10:11:39 INFO: Retrieving Pricing Info for: v3-standard-8 10:11:39 INFO: Archiving Costs [Pipeline] sh 10:11:40 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-372/archives/cost.csv 10:11:40 + cut -d, -f6 [Pipeline] lock 10:11:40 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-372-1-stack-cost] 10:11:40 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-372-1-stack-cost] did not exist. Created. 10:11:40 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:11:40 + echo total: 0.2199999988079071 [Pipeline] stash 10:11:40 Stashed 1 file(s) [Pipeline] } 10:11:40 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:11:40 $ docker stop --time=1 0d55796984569566c8878cba3acd2395f9a78ec3d5e0ed806d92cb10bc905317 10:11:42 $ docker rm -f 0d55796984569566c8878cba3acd2395f9a78ec3d5e0ed806d92cb10bc905317 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:11:45 using credential edgex-jenkins-ssh 10:11:45 Cloning the remote Git repository 10:11:45 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 10:11:45 > git init /w/workspace/device-mqtt-go/1 # timeout=10 10:11:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:11:45 > git --version # timeout=10 10:11:45 > git --version # 'git version 2.25.1' 10:11:45 using GIT_SSH to set credentials SSH Credentials for GitHub 10:11:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:11:47 Merging remotes/origin/main commit cac5c8aff02eeff20ea0733b686feb688efb88bb into PR head commit f321262f34333ef6929eb6909d81dbb971482739 10:11:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:11:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:11:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:11:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:11:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:11:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/372/head:refs/remotes/origin/PR-372 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:11:47 Merge succeeded, producing f321262f34333ef6929eb6909d81dbb971482739 10:11:47 Checking out Revision f321262f34333ef6929eb6909d81dbb971482739 (PR-372) 10:11:47 > git config core.sparsecheckout # timeout=10 10:11:47 > git checkout -f f321262f34333ef6929eb6909d81dbb971482739 # timeout=10 10:11:47 > git remote # timeout=10 10:11:47 > git config --get remote.origin.url # timeout=10 10:11:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:11:47 > git merge cac5c8aff02eeff20ea0733b686feb688efb88bb # timeout=10 10:11:47 > git rev-parse HEAD^{commit} # timeout=10 10:11:47 > git config core.sparsecheckout # timeout=10 10:11:47 > git checkout -f f321262f34333ef6929eb6909d81dbb971482739 # timeout=10 10:11:52 Commit message: "feat: Bump device-sdk-go version and update configuration.toml" 10:11:52 > git --version # timeout=10 10:11:52 > git --version # 'git version 2.25.1' 10:11:52 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:11:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:11:53 % Total % Received % Xferd Average Speed Time Time Time Current 10:11:53 Dload Upload Total Spent Left Speed 10:11:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85818 0 --:--:-- --:--:-- --:--:-- 85818 [Pipeline] sh 10:11:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:11:54 + + sudo tee /etc/docker/daemon.new 10:11:54 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:11:54 { 10:11:54 "registry-mirrors": [ 10:11:54 "https://nexus3.edgexfoundry.org:10001" 10:11:54 ], 10:11:54 "bip": "10.250.0.254/24", 10:11:54 "hosts": [ 10:11:54 "tcp://0.0.0.0:5555", 10:11:54 "unix:///var/run/docker.sock" 10:11:54 ], 10:11:54 "mtu": 1458, 10:11:54 "selinux-enabled": true, 10:11:54 "seccomp-profile": "/etc/docker/seccomp.json" 10:11:54 } [Pipeline] sh 10:11:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:11:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:12:13 provisioning config files... 10:12:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2322832234888889203tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:12:14 ---> docker-login.sh 10:12:14 nexus3.edgexfoundry.org:10001 10:12:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:14 Configure a credential helper to remove this warning. See 10:12:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:14 10:12:14 Login Succeeded 10:12:14 nexus3.edgexfoundry.org:10002 10:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:15 Configure a credential helper to remove this warning. See 10:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:15 10:12:15 Login Succeeded 10:12:15 nexus3.edgexfoundry.org:10003 10:12:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:15 Configure a credential helper to remove this warning. See 10:12:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:15 10:12:15 Login Succeeded 10:12:15 nexus3.edgexfoundry.org:10004 10:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:16 Configure a credential helper to remove this warning. See 10:12:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:16 10:12:16 Login Succeeded 10:12:16 docker.io 10:12:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:12:17 Configure a credential helper to remove this warning. See 10:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:12:17 10:12:17 Login Succeeded 10:12:17 ---> docker-login.sh ends [Pipeline] } 10:12:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:12:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:12:17 ========================================================= 10:12:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:12:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:12:18 + 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 . 10:12:18 Sending build context to Docker daemon 3.073MB 10:12:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:12:18 Step 2/12 : FROM ${BASE} AS builder 10:12:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:12:18 9b3977197b4f: Pulling fs layer 10:12:18 1a89e8eeedd5: Pulling fs layer 10:12:18 94645a83ff95: Pulling fs layer 10:12:18 3f3a8bcf1eab: Pulling fs layer 10:12:18 0c92f367c5e7: Pulling fs layer 10:12:18 3096ccb668a1: Pulling fs layer 10:12:18 e8cf19c19ddd: Pulling fs layer 10:12:18 a4caa8a26152: Pulling fs layer 10:12:18 3f3a8bcf1eab: Waiting 10:12:18 3096ccb668a1: Waiting 10:12:18 e8cf19c19ddd: Waiting 10:12:18 a4caa8a26152: Waiting 10:12:18 0c92f367c5e7: Waiting 10:12:18 94645a83ff95: Download complete 10:12:18 1a89e8eeedd5: Verifying Checksum 10:12:18 1a89e8eeedd5: Download complete 10:12:18 0c92f367c5e7: Verifying Checksum 10:12:18 0c92f367c5e7: Download complete 10:12:18 3096ccb668a1: Download complete 10:12:18 9b3977197b4f: Download complete 10:12:18 e8cf19c19ddd: Verifying Checksum 10:12:18 e8cf19c19ddd: Download complete 10:12:19 9b3977197b4f: Pull complete 10:12:19 1a89e8eeedd5: Pull complete 10:12:20 94645a83ff95: Pull complete 10:12:20 a4caa8a26152: Verifying Checksum 10:12:20 a4caa8a26152: Download complete 10:12:21 3f3a8bcf1eab: Verifying Checksum 10:12:21 3f3a8bcf1eab: Download complete 10:12:33 3f3a8bcf1eab: Pull complete 10:12:33 0c92f367c5e7: Pull complete 10:12:33 3096ccb668a1: Pull complete 10:12:34 e8cf19c19ddd: Pull complete 10:12:40 a4caa8a26152: Pull complete 10:12:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 10:12:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:12:40 ---> 725f1c02e7f9 10:12:40 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:12:40 ---> Running in af4bc0e9f8a5 10:12:41 Removing intermediate container af4bc0e9f8a5 10:12:41 ---> b8150f25788f 10:12:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 10:12:41 ---> Running in b875a779f73f 10:12:41 Removing intermediate container b875a779f73f 10:12:41 ---> a0c1f2e24c00 10:12:41 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:12:41 ---> Running in c5951c962a7b 10:12:43 Removing intermediate container c5951c962a7b 10:12:43 ---> 2b66fda44953 10:12:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:12:43 ---> Running in 0645d243abd6 10:12:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:12:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:12:46 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:12:46 (2/4) Installing libedit (20210910.3.1-r0) 10:12:46 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:12:46 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:12:46 Executing busybox-1.34.1-r3.trigger 10:12:46 OK: 224 MiB in 56 packages 10:12:47 Removing intermediate container 0645d243abd6 10:12:47 ---> e39560a5bc90 10:12:47 Step 7/12 : WORKDIR /device-mqtt-go 10:12:47 ---> Running in f50baad4d5f9 10:12:48 Removing intermediate container f50baad4d5f9 10:12:48 ---> 1b7929ead88e 10:12:48 Step 8/12 : COPY go.mod vendor* ./ 10:12:48 ---> 8ca803bf97b4 10:12:48 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:12:48 ---> Running in c5e7c1c766a7 10:13:35 Removing intermediate container c5e7c1c766a7 10:13:35 ---> d31f6c2e6f57 10:13:35 Step 10/12 : COPY . . 10:13:35 ---> bd6d4b3c710b 10:13:35 Step 11/12 : ARG MAKE='make build' 10:13:35 ---> Running in 5b0cc3c8bf55 10:13:35 Removing intermediate container 5b0cc3c8bf55 10:13:35 ---> 2cca8c225276 10:13:35 Step 12/12 : RUN $MAKE 10:13:35 ---> Running in a472dae1d07b 10:13:35 noop 10:13:35 Removing intermediate container a472dae1d07b 10:13:35 ---> 545c15f11361 10:13:35 Successfully built 545c15f11361 10:13:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:13:36 + docker inspect -f . ci-base-image-arm64 10:13:36 . [Pipeline] withDockerContainer 10:13:36 prd-ubuntu20.04-docker-arm64-4c-16g-33462 does not seem to be running inside a container 10:13:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:13:37 $ docker top 2d729de8a9214759aacf1b309e0be94e4ec7410db631163bb570d39674481ae4 -eo pid,comm [Pipeline] { [Pipeline] sh 10:13:38 + go version 10:13:38 go version go1.17.6 linux/arm64 [Pipeline] } 10:13:38 $ docker stop --time=1 2d729de8a9214759aacf1b309e0be94e4ec7410db631163bb570d39674481ae4 10:13:40 $ docker rm -f 2d729de8a9214759aacf1b309e0be94e4ec7410db631163bb570d39674481ae4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:13:41 + docker inspect -f . ci-base-image-arm64 10:13:41 . [Pipeline] withDockerContainer 10:13:41 prd-ubuntu20.04-docker-arm64-4c-16g-33462 does not seem to be running inside a container 10:13:41 $ 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 ******** ci-base-image-arm64 cat 10:13:42 $ docker top 4470565b802c0cf938f3b6ddb8d07a871e45c3922d94d15a32cdfab7f11ff309 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:13:43 + make test 10:13:43 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:13:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:15:07 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:15:07 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 10:15:07 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:15:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:15:07 GCO_ENABLED=1 GO111MODULE=on go vet ./... 10:15:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:15:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:15:33 ./bin/test-attribution-txt.sh [Pipeline] echo 10:15:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:15:33 $ docker stop --time=1 4470565b802c0cf938f3b6ddb8d07a871e45c3922d94d15a32cdfab7f11ff309 10:15:35 $ docker rm -f 4470565b802c0cf938f3b6ddb8d07a871e45c3922d94d15a32cdfab7f11ff309 [Pipeline] // withDockerContainer [Pipeline] sh 10:15:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:15:36 Warning: overwriting stash ‘coverage-report’ 10:15:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:15:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:15:38 + ls -al . 10:15:38 total 172 10:15:38 drwxrwxr-x 9 jenkins jenkins 4096 Apr 27 10:15 . 10:15:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:11 .. 10:15:38 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 10:11 .dockerignore 10:15:38 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 10:11 .git 10:15:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:11 .github 10:15:38 -rw-rw-r-- 1 jenkins jenkins 329 Apr 27 10:11 .gitignore 10:15:38 -rw-rw-r-- 1 jenkins jenkins 41 Apr 27 10:11 .golangci.yml 10:15:38 -rw-rw-r-- 1 jenkins jenkins 8656 Apr 27 10:11 Attribution.txt 10:15:38 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 27 10:11 CHANGELOG.md 10:15:38 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 10:11 Dockerfile 10:15:38 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 10:11 GOVERNANCE.md 10:15:38 -rw-rw-r-- 1 jenkins jenkins 678 Apr 27 10:11 Jenkinsfile 10:15:38 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 27 10:11 LICENSE 10:15:38 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 27 10:11 Makefile 10:15:38 -rw-rw-r-- 1 jenkins jenkins 620 Apr 27 10:11 OWNERS.md 10:15:38 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 27 10:11 README.md 10:15:38 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 10:09 VERSION 10:15:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:11 bin 10:15:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:11 cmd 10:15:38 -rw-r--r-- 1 jenkins jenkins 17887 Apr 27 10:15 coverage.out 10:15:38 -rw-rw-r-- 1 jenkins jenkins 3309 Apr 27 10:11 go.mod 10:15:38 -rw-rw-r-- 1 jenkins jenkins 34894 Apr 27 10:11 go.sum 10:15:38 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 10:11 internal 10:15:38 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 10:11 mock 10:15:38 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 10:11 snap 10:15:38 -rw-rw-r-- 1 jenkins jenkins 227 Apr 27 10:11 version.go [Pipeline] isUnix [Pipeline] sh 10:15:38 + 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=f321262f34333ef6929eb6909d81dbb971482739 --label arch=arm64 --label version=0.0.0 . 10:15:38 Sending build context to Docker daemon 3.091MB 10:15:39 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 10:15:39 Step 2/24 : FROM ${BASE} AS builder 10:15:39 ---> 545c15f11361 10:15:39 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:15:39 ---> Running in d25d478d095c 10:15:39 Removing intermediate container d25d478d095c 10:15:39 ---> 71397f1293f4 10:15:39 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 10:15:39 ---> Running in dd3034976eb6 10:15:39 Removing intermediate container dd3034976eb6 10:15:39 ---> 8b25fd32baad 10:15:39 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:15:40 ---> Running in 4cff7de61937 10:15:41 Removing intermediate container 4cff7de61937 10:15:41 ---> 24514f48cd5c 10:15:41 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:15:41 ---> Running in eb916d26f285 10:15:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:15:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:15:44 OK: 224 MiB in 56 packages 10:15:45 Removing intermediate container eb916d26f285 10:15:45 ---> f75233eb581d 10:15:45 Step 7/24 : WORKDIR /device-mqtt-go 10:15:45 ---> Running in 664030a03093 10:15:45 Removing intermediate container 664030a03093 10:15:45 ---> eca7a277dcd3 10:15:45 Step 8/24 : COPY go.mod vendor* ./ 10:15:46 ---> ab5bd10e6fd0 10:15:46 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:15:46 ---> Running in 409d25bbad06 10:15:48 Removing intermediate container 409d25bbad06 10:15:48 ---> 944cf952a9e3 10:15:48 Step 10/24 : COPY . . 10:15:49 ---> 1a0706a42ad3 10:15:49 Step 11/24 : ARG MAKE='make build' 10:15:49 ---> Running in a302fed41c74 10:15:49 Removing intermediate container a302fed41c74 10:15:49 ---> 6be3515fab3a 10:15:49 Step 12/24 : RUN $MAKE 10:15:49 ---> Running in 4f6c4384ab14 10:15:50 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 10:17:57 Removing intermediate container 4f6c4384ab14 10:17:57 ---> 93b4b859a8c6 10:17:57 Step 13/24 : FROM alpine:3.14 10:17:57 3.14: Pulling from library/alpine 10:17:57 455c02918c45: Pulling fs layer 10:17:57 455c02918c45: Download complete 10:17:57 455c02918c45: Pull complete 10:17:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:17:57 Status: Downloaded newer image for alpine:3.14 10:17:57 ---> ac73e934f311 10:17:57 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:17:57 ---> Running in 63621a7c4b3a 10:17:57 Removing intermediate container 63621a7c4b3a 10:17:57 ---> 94bc510dfd7a 10:17:57 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 10:17:57 ---> Running in c18fb26302bf 10:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 10:17:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 10:17:57 (1/6) Installing dumb-init (1.2.5-r1) 10:17:57 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:17:57 (3/6) Installing libsodium (1.0.18-r0) 10:17:57 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:17:57 (5/6) Installing libzmq (4.3.4-r0) 10:17:57 (6/6) Installing zeromq (4.3.4-r0) 10:17:57 Executing busybox-1.33.1-r7.trigger 10:17:57 OK: 8 MiB in 20 packages 10:17:57 Removing intermediate container c18fb26302bf 10:17:57 ---> 36f5e29786a3 10:17:57 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:17:57 ---> 421aad9c2f06 10:17:57 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:17:57 ---> 50e8bcb799c7 10:17:57 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:17:57 ---> feaa38dcb7c2 10:17:57 Step 19/24 : EXPOSE 59982 10:17:57 ---> Running in e071f9426770 10:17:57 Removing intermediate container e071f9426770 10:17:57 ---> d47448a5242d 10:17:57 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:17:57 ---> Running in e48feddd7111 10:17:57 Removing intermediate container e48feddd7111 10:17:57 ---> 87bbaa4c5c84 10:17:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 10:17:57 ---> Running in 4c25350fe2f4 10:17:57 Removing intermediate container 4c25350fe2f4 10:17:57 ---> 67a69e620bbe 10:17:57 Step 22/24 : LABEL arch=arm64 10:17:57 ---> Running in e8a7a205ccb2 10:17:57 Removing intermediate container e8a7a205ccb2 10:17:57 ---> a2f5364654b8 10:17:57 Step 23/24 : LABEL git_sha=f321262f34333ef6929eb6909d81dbb971482739 10:17:57 ---> Running in 7196ab43003c 10:17:57 Removing intermediate container 7196ab43003c 10:17:57 ---> 935b2847fd9f 10:17:57 Step 24/24 : LABEL version=0.0.0 10:17:57 ---> Running in 951fd847db1d 10:17:57 Removing intermediate container 951fd847db1d 10:17:57 ---> f71b6d528ad5 10:17:57 [Warning] One or more build-args [ARCH] were not consumed 10:17:57 Successfully built f71b6d528ad5 10:17:57 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 10:17:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:58 10:17:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 10:17:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:58 arm64: Pulling from edgex-lftools-log-publisher 10:17:58 8998bd30e6a1: Pulling fs layer 10:17:58 04944245beec: Pulling fs layer 10:17:58 699f458cf7ca: Pulling fs layer 10:17:58 765212b225bb: Pulling fs layer 10:17:58 f23df028b6ca: Pulling fs layer 10:17:58 d65c8cfc05b1: Pulling fs layer 10:17:58 2437ff75d9bd: Pulling fs layer 10:17:58 765212b225bb: Waiting 10:17:58 f23df028b6ca: Waiting 10:17:58 d65c8cfc05b1: Waiting 10:17:58 2437ff75d9bd: Waiting 10:17:58 04944245beec: Download complete 10:17:58 765212b225bb: Verifying Checksum 10:17:58 765212b225bb: Download complete 10:17:58 f23df028b6ca: Verifying Checksum 10:17:58 f23df028b6ca: Download complete 10:17:58 d65c8cfc05b1: Verifying Checksum 10:17:58 d65c8cfc05b1: Download complete 10:17:58 699f458cf7ca: Verifying Checksum 10:17:58 699f458cf7ca: Download complete 10:17:59 8998bd30e6a1: Verifying Checksum 10:17:59 8998bd30e6a1: Download complete 10:18:01 2437ff75d9bd: Verifying Checksum 10:18:01 2437ff75d9bd: Download complete 10:18:03 8998bd30e6a1: Pull complete 10:18:03 04944245beec: Pull complete 10:18:05 699f458cf7ca: Pull complete 10:18:05 765212b225bb: Pull complete 10:18:06 f23df028b6ca: Pull complete 10:18:06 d65c8cfc05b1: Pull complete 10:18:21 2437ff75d9bd: Pull complete 10:18:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:18:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:18:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 10:18:22 prd-ubuntu20.04-docker-arm64-4c-16g-33462 does not seem to be running inside a container 10:18:22 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:18:24 $ docker top 5e8d2ba1a333afbe94a9ed11881174b75befc442f41b17d983f5dc849b54dcbe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:18:25 ---> job-cost.sh 10:18:25 lf-activate-venv: SKIPPING 10:18:25 INFO: No Stack... 10:18:26 INFO: Retrieving Pricing Info for: v3-standard-4 10:18:27 INFO: Archiving Costs [Pipeline] sh 10:18:28 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 10:18:28 + cut -d, -f6 [Pipeline] lock 10:18:28 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-372-1-stack-cost] 10:18:28 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-372-1-stack-cost] did not exist. Created. 10:18:28 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-372-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:18:28 /w/workspace/device-mqtt-go/1@tmp/durable-95ab7648/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:18:29 + echo total: 0.10999999940395355 [Pipeline] stash 10:18:29 Warning: overwriting stash ‘stack-cost’ 10:18:29 Stashed 1 file(s) [Pipeline] } 10:18:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-372-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:18:29 $ docker stop --time=1 5e8d2ba1a333afbe94a9ed11881174b75befc442f41b17d983f5dc849b54dcbe 10:18:31 $ docker rm -f 5e8d2ba1a333afbe94a9ed11881174b75befc442f41b17d983f5dc849b54dcbe [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 10:18:32 provisioning config files... 10:18:32 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp/config1848541279695188552tmp [Pipeline] { [Pipeline] sh 10:18:32 + set +x 10:18:32 + curl -s https://codecov.io/bash 10:18:32 + bash -s -- 10:18:32 10:18:32 _____ _ 10:18:32 / ____| | | 10:18:32 | | ___ __| | ___ ___ _____ __ 10:18:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:18:32 | |___| (_) | (_| | __/ (_| (_) \ V / 10:18:32 \_____\___/ \__,_|\___|\___\___/ \_/ 10:18:32 Bash-1.0.6 10:18:32 10:18:32 10:18:32 ==> git version 2.25.1 found 10:18:32 ==> 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 10:18:32 Release-Date: 2020-01-08 10:18:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:18:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:18:32 ==> Jenkins CI detected. 10:18:32 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-372 10:18:32 project root: . 10:18:32 --> token set from env 10:18:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:18:32 ==> Running gcov in . (disable via -X gcov) 10:18:32 ==> Python coveragepy not found 10:18:32 ==> Searching for coverage reports in: 10:18:32 + . 10:18:32 -> Found 1 reports 10:18:32 ==> Detecting git/mercurial file structure 10:18:32 ==> Reading reports 10:18:33 + ./coverage.out bytes=17887 10:18:33 ==> Appending adjustments 10:18:33 https://docs.codecov.io/docs/fixing-reports 10:18:33 + Found adjustments 10:18:33 ==> Gzipping contents 10:18:33 4.0K /tmp/codecov.8ohsjX.gz 10:18:33 ==> Uploading reports 10:18:33 url: https://codecov.io 10:18:33 query: branch=PR-372&commit=f321262f34333ef6929eb6909d81dbb971482739&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-372%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=372&job=&cmd_args= 10:18:33 -> Pinging Codecov 10:18:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-372&commit=f321262f34333ef6929eb6909d81dbb971482739&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-372%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=372&job=&cmd_args= 10:18:33 -> Uploading to 10:18:33 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/7D719EC7BBE17E464838252E33014C33/f321262f34333ef6929eb6909d81dbb971482739/9b0a871a-d334-4927-94a7-6f2db816d983.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T101833Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=872e0f1bde096a86b9d390fe63439349e95f89da283850c7bf6e4fbaa27082ab 10:18:33 % Total % Received % Xferd Average Speed Time Time Time Current 10:18:33 Dload Upload Total Spent Left Speed 10:18:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 14104 --:--:-- --:--:-- --:--:-- 14104 10:18:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f321262f34333ef6929eb6909d81dbb971482739 [Pipeline] } 10:18:33 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 10:18:35 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-372/archives ] 10:18:35 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-372/archives 10:18:35 total 16 10:18:35 drwxr-xr-x 3 root root 4096 Apr 27 10:11 . 10:18:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 10:11 .. 10:18:35 drwxr-xr-x 2 root root 4096 Apr 27 10:11 cost 10:18:35 -rw-r--r-- 1 root root 85 Apr 27 10:11 cost.csv 10:18:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-372/archives 10:18:35 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-372/archives 10:18:35 total 16 10:18:35 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 10:11 . 10:18:35 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 10:11 .. 10:18:35 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 10:11 cost 10:18:35 -rw-r--r-- 1 jenkins jenkins 85 Apr 27 10:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:18:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:18:36 ---> package-listing.sh 10:18:36 ++ facter osfamily 10:18:36 ++ tr '[:upper:]' '[:lower:]' 10:18:36 + OS_FAMILY=debian 10:18:36 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-372 10:18:36 + START_PACKAGES=/tmp/packages_start.txt 10:18:36 + END_PACKAGES=/tmp/packages_end.txt 10:18:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:18:36 + PACKAGES=/tmp/packages_start.txt 10:18:36 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-372 ']' 10:18:36 + PACKAGES=/tmp/packages_end.txt 10:18:36 + case "${OS_FAMILY}" in 10:18:36 + dpkg -l 10:18:36 + grep '^ii' 10:18:36 + '[' -f /tmp/packages_start.txt ']' 10:18:36 + '[' -f /tmp/packages_end.txt ']' 10:18:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:18:36 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-372 ']' 10:18:36 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-372/archives/ 10:18:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-372/archives/ [Pipeline] echo 10:18:36 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-372/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:18:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 10:18:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:18:37 . [Pipeline] withDockerContainer 10:18:37 prd-ubuntu20.04-docker-8c-8g-33460 does not seem to be running inside a container 10:18:37 $ 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-372/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-372 -v /w/workspace/gexfoundry_device-mqtt-go_PR-372:/w/workspace/gexfoundry_device-mqtt-go_PR-372:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-372@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 10:18:38 $ docker top 6269f8e3788ad2d64ef729ba717da0e3815b62cc0a6f5e343f4259e2d1aa0d82 -eo pid,comm [Pipeline] { [Pipeline] sh 10:18:38 + touch /tmp/pre-build-complete [Pipeline] sh 10:18:38 + mkdir -p /var/log/sysstat [Pipeline] sh 10:18:39 + ls /var/log/sa-host 10:18:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:18:39 provisioning config files... 10:18:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-372@tmp/config2846587908359002658tmp [Pipeline] { [Pipeline] echo 10:18:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:18:39 ---> create-netrc.sh [Pipeline] } 10:18:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:18:40 ---> python-tools-install.sh [Pipeline] echo 10:18:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:18:40 ---> sudo-logs.sh 10:18:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:18:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:18:40 ---> job-cost.sh 10:18:40 lf-activate-venv: SKIPPING 10:18:40 DEBUG: total: 0.2199999988079071 10:18:40 INFO: Retrieving Stack Cost... 10:18:41 INFO: Retrieving Pricing Info for: v3-standard-8 10:18:42 INFO: Archiving Costs [Pipeline] echo 10:18:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:18:42 ---> logs-deploy.sh 10:18:42 lf-activate-venv: SKIPPING 10:18:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-372/1 10:18:42 INFO: archiving workspace using pattern(s): 10:18:43 Archives upload complete. 10:18:43 INFO: archiving logs to Nexus