Pull request #358 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 jpwhitemn for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from ec9d6ac127d77693f09281b71e8cec45b7146c96+f2e2f8ada396003354e6b6ef510b55319cadc912 (13e846e80abd984de00e51875d89d2609471d120) 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-ssh12545376078235229202.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-ssh728516802908620589.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-358/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-358/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16394359338143688730.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-358/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh848902542097570571.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-ssh4771713466866932012.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-358/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-358/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6844299088821301520.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-11521’ Running on prd-ubuntu20.04-docker-8c-8g-11523 in /w/workspace/gexfoundry_device-mqtt-go_PR-358 [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-358 # 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 f2e2f8ada396003354e6b6ef510b55319cadc912 into PR head commit ec9d6ac127d77693f09281b71e8cec45b7146c96 Merge succeeded, producing ec9d6ac127d77693f09281b71e8cec45b7146c96 Checking out Revision ec9d6ac127d77693f09281b71e8cec45b7146c96 (PR-358) > 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/358/head:refs/remotes/origin/PR-358 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec9d6ac127d77693f09281b71e8cec45b7146c96 # 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 f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec9d6ac127d77693f09281b71e8cec45b7146c96 # timeout=10 Commit message: "feat: enable security hardening" 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 23:47:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:47:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:47:01 ========================================================= 23:47:01 EdgeX Global Pipelines Version Info 23:47:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:47:02 ------------------- 23:47:02 stable info: 23:47:02 ------------------- 23:47:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:47:02 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:47:02 Message: update stable to v1.0.221 23:47:02 ------------------- 23:47:02 experimental info: 23:47:02 ------------------- 23:47:02 Commited By: **** collab-it+edgex@linuxfoundation.org 23:47:02 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:47:02 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:47:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:47:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:47:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-358 [Pipeline] echo 23:47:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-358 [Pipeline] echo 23:47:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-358 [Pipeline] echo 23:47:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec9d6ac127d77693f09281b71e8cec45b7146c96 [Pipeline] echo 23:47:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec9d6ac [Pipeline] echo 23:47:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:47:04 provisioning config files... 23:47:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp/config4491476454484519077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:04 ---> docker-login.sh 23:47:04 nexus3.edgexfoundry.org:10001 23:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:05 Configure a credential helper to remove this warning. See 23:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:05 23:47:05 Login Succeeded 23:47:05 nexus3.edgexfoundry.org:10002 23:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:05 Configure a credential helper to remove this warning. See 23:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:05 23:47:05 Login Succeeded 23:47:05 nexus3.edgexfoundry.org:10003 23:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:05 Configure a credential helper to remove this warning. See 23:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:05 23:47:05 Login Succeeded 23:47:05 nexus3.edgexfoundry.org:10004 23:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:05 Configure a credential helper to remove this warning. See 23:47:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:05 23:47:05 Login Succeeded 23:47:05 docker.io 23:47:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:06 Configure a credential helper to remove this warning. See 23:47:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:06 23:47:06 Login Succeeded 23:47:06 ---> docker-login.sh ends [Pipeline] } 23:47:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:47:06 + git rev-list -1 --merges ec9d6ac127d77693f09281b71e8cec45b7146c96~1..ec9d6ac127d77693f09281b71e8cec45b7146c96 [Pipeline] echo 23:47:06 -----------> git rev-list -1 --merges ec9d6ac127d77693f09281b71e8cec45b7146c96~1..ec9d6ac127d77693f09281b71e8cec45b7146c96 ec9d6ac127d77693f09281b71e8cec45b7146c96 [false] [Pipeline] sh 23:47:07 + git log --format=format:%s -1 ec9d6ac127d77693f09281b71e8cec45b7146c96 [Pipeline] echo 23:47:07 ========================================================= 23:47:07 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:47:07 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:47:07 + git log --format=format:%s -1 ec9d6ac127d77693f09281b71e8cec45b7146c96 [Pipeline] echo 23:47:07 [semverPrep] GIT_COMMIT: ec9d6ac127d77693f09281b71e8cec45b7146c96, Commit Message: feat: enable security hardening [Pipeline] echo 23:47:07 [semverPrep] This is not a build commit. [Pipeline] sh 23:47:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:47:08 + grep -v github /etc/ssh/ssh_known_hosts 23:47:08 + [ -e /tmp/ssh_known_hosts ] 23:47:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:47:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:47:08 + sudo tee -a /etc/ssh/ssh_known_hosts 23:47:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:47:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:47:08 23:47:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:47:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:47:09 latest: Pulling from edgex-devops/git-semver 23:47:09 a0d0a0d46f8b: Pulling fs layer 23:47:09 3e5f54012d9b: Pulling fs layer 23:47:09 4c7163046ea9: Pulling fs layer 23:47:09 0c2d73faf560: Pulling fs layer 23:47:09 0c2d73faf560: Waiting 23:47:09 3e5f54012d9b: Download complete 23:47:09 a0d0a0d46f8b: Verifying Checksum 23:47:09 a0d0a0d46f8b: Download complete 23:47:09 4c7163046ea9: Verifying Checksum 23:47:09 4c7163046ea9: Download complete 23:47:09 0c2d73faf560: Verifying Checksum 23:47:09 0c2d73faf560: Download complete 23:47:09 a0d0a0d46f8b: Pull complete 23:47:09 3e5f54012d9b: Pull complete 23:47:09 4c7163046ea9: Pull complete 23:47:09 0c2d73faf560: Pull complete 23:47:09 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:47:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:47:09 prd-ubuntu20.04-docker-8c-8g-11523 does not seem to be running inside a container 23:47:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-358 -v /w/workspace/gexfoundry_device-mqtt-go_PR-358:/w/workspace/gexfoundry_device-mqtt-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:47:10 $ docker top 5fbad7086004fcde09a41b4b5568698f694f88bb48a9ef72f4d2abf65b47547e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:47:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:47:10 [ssh-agent] Looking for ssh-agent implementation... 23:47:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:47:11 $ docker exec 5fbad7086004fcde09a41b4b5568698f694f88bb48a9ef72f4d2abf65b47547e ssh-agent 23:47:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXphnecE/agent.14 23:47:11 SSH_AGENT_PID=20 23:47:11 Running ssh-add (command line suppressed) 23:47:11 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp/private_key_5816578212798782416.key (/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp/private_key_5816578212798782416.key) 23:47:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:47:11 + git tag --points-at HEAD [Pipeline] } 23:47:11 $ docker exec --env ******** --env ******** 5fbad7086004fcde09a41b4b5568698f694f88bb48a9ef72f4d2abf65b47547e ssh-agent -k 23:47:11 unset SSH_AUTH_SOCK; 23:47:11 unset SSH_AGENT_PID; 23:47:11 echo Agent pid 20 killed; 23:47:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:47:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:47:11 [ssh-agent] Looking for ssh-agent implementation... 23:47:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:47:12 $ docker exec 5fbad7086004fcde09a41b4b5568698f694f88bb48a9ef72f4d2abf65b47547e ssh-agent 23:47:12 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDGJoAp/agent.55 23:47:12 SSH_AGENT_PID=61 23:47:12 Running ssh-add (command line suppressed) 23:47:12 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp/private_key_5760006224235279142.key (/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp/private_key_5760006224235279142.key) 23:47:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:47:12 + git semver init 23:47:12 # -> Open(): unable to determine branch for HEAD 23:47:12 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-358/.git 23:47:12 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-358 23:47:12 # $SEMVER_REMOTE_NAME = origin 23:47:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:47:12 # $SEMVER_USER_NAME = edgex-jenkins 23:47:12 # $SEMVER_BRANCH = PR-358 23:47:12 # $SEMVER_TEMP = /tmp/semver-380671613 23:47:12 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 23:47:13 # '/tmp/semver-380671613' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-358/.semver' 23:47:13 # -> Force: false 23:47:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-358/.semver [Pipeline] } 23:47:13 $ docker exec --env ******** --env ******** 5fbad7086004fcde09a41b4b5568698f694f88bb48a9ef72f4d2abf65b47547e ssh-agent -k 23:47:13 unset SSH_AUTH_SOCK; 23:47:13 unset SSH_AGENT_PID; 23:47:13 echo Agent pid 61 killed; 23:47:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:47:14 + git semver [Pipeline] } 23:47:14 $ docker stop --time=1 5fbad7086004fcde09a41b4b5568698f694f88bb48a9ef72f4d2abf65b47547e 23:47:15 $ docker rm -f 5fbad7086004fcde09a41b4b5568698f694f88bb48a9ef72f4d2abf65b47547e [Pipeline] // withDockerContainer [Pipeline] sh 23:47:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:47:16 Stashed 1 file(s) [Pipeline] echo 23:47:16 [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 23:47:16 provisioning config files... 23:47:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp/config4040422899662161920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:47:17 ---> docker-login.sh 23:47:17 nexus3.edgexfoundry.org:10001 23:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:17 Configure a credential helper to remove this warning. See 23:47:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:17 23:47:17 Login Succeeded 23:47:17 nexus3.edgexfoundry.org:10002 23:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:17 Configure a credential helper to remove this warning. See 23:47:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:17 23:47:17 Login Succeeded 23:47:17 nexus3.edgexfoundry.org:10003 23:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:17 Configure a credential helper to remove this warning. See 23:47:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:17 23:47:17 Login Succeeded 23:47:17 nexus3.edgexfoundry.org:10004 23:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:17 Configure a credential helper to remove this warning. See 23:47:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:17 23:47:17 Login Succeeded 23:47:17 docker.io 23:47:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:47:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:47:18 Configure a credential helper to remove this warning. See 23:47:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:47:18 23:47:18 Login Succeeded 23:47:18 ---> docker-login.sh ends [Pipeline] } 23:47:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:47:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:47:18 ========================================================= 23:47:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:47:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:47:18 + 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 . 23:47:18 Sending build context to Docker daemon 5.818MB 23:47:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:47:18 Step 2/12 : FROM ${BASE} AS builder 23:47:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:47:18 59bf1c3509f3: Pulling fs layer 23:47:18 666ba61612fd: Pulling fs layer 23:47:18 8ed8ca486205: Pulling fs layer 23:47:18 4fe6c5a15a65: Pulling fs layer 23:47:18 22a0e8bec74d: Pulling fs layer 23:47:18 4fe6c5a15a65: Waiting 23:47:18 640e595b4fbd: Pulling fs layer 23:47:18 763cafe07f6e: Pulling fs layer 23:47:18 22a0e8bec74d: Waiting 23:47:18 763cafe07f6e: Waiting 23:47:18 0c0b528cf693: Pulling fs layer 23:47:18 10935f4eaf8b: Pulling fs layer 23:47:18 10935f4eaf8b: Waiting 23:47:18 0c0b528cf693: Waiting 23:47:18 8ed8ca486205: Verifying Checksum 23:47:18 8ed8ca486205: Download complete 23:47:18 666ba61612fd: Download complete 23:47:18 22a0e8bec74d: Verifying Checksum 23:47:18 22a0e8bec74d: Download complete 23:47:18 640e595b4fbd: Verifying Checksum 23:47:18 640e595b4fbd: Download complete 23:47:18 59bf1c3509f3: Verifying Checksum 23:47:18 59bf1c3509f3: Download complete 23:47:18 0c0b528cf693: Verifying Checksum 23:47:18 0c0b528cf693: Download complete 23:47:18 59bf1c3509f3: Pull complete 23:47:19 666ba61612fd: Pull complete 23:47:19 8ed8ca486205: Pull complete 23:47:19 10935f4eaf8b: Verifying Checksum 23:47:19 10935f4eaf8b: Download complete 23:47:19 4fe6c5a15a65: Download complete 23:47:23 4fe6c5a15a65: Pull complete 23:47:23 22a0e8bec74d: Pull complete 23:47:23 640e595b4fbd: Pull complete 23:47:23 763cafe07f6e: Pull complete 23:47:24 0c0b528cf693: Pull complete 23:47:26 10935f4eaf8b: Pull complete 23:47:26 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 23:47:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:47:26 ---> 99d49a6021b9 23:47:26 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:47:27 ---> Running in d6e56c61a735 23:47:27 Removing intermediate container d6e56c61a735 23:47:27 ---> 3fe61be40477 23:47:27 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:47:27 ---> Running in 1d7966ac73d8 23:47:27 Removing intermediate container 1d7966ac73d8 23:47:27 ---> 21721254d2c0 23:47:27 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:47:27 ---> Running in 03490a3157c7 23:47:28 Removing intermediate container 03490a3157c7 23:47:28 ---> 9f92949b8703 23:47:28 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:47:28 ---> Running in 5f122a71daa2 23:47:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:47:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:47:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:47:30 (2/4) Installing libedit (20210910.3.1-r0) 23:47:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:47:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:47:30 Executing busybox-1.34.1-r3.trigger 23:47:30 OK: 224 MiB in 56 packages 23:47:30 Removing intermediate container 5f122a71daa2 23:47:30 ---> e17cb2f55e34 23:47:30 Step 7/12 : WORKDIR /device-mqtt-go 23:47:30 ---> Running in c8ff911ec41f 23:47:30 Removing intermediate container c8ff911ec41f 23:47:30 ---> 5c41b131f181 23:47:30 Step 8/12 : COPY go.mod vendor* ./ 23:47:31 ---> 388904b3ae2e 23:47:31 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:47:31 ---> Running in 4c1257a44926 23:47:31 Still waiting to schedule task 23:47:31 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11522’ 23:47:46 Removing intermediate container 4c1257a44926 23:47:46 ---> 71b49aa991f2 23:47:46 Step 10/12 : COPY . . 23:47:46 ---> 19056d898e17 23:47:46 Step 11/12 : ARG MAKE='make build' 23:47:46 ---> Running in 02fa2054c165 23:47:46 Removing intermediate container 02fa2054c165 23:47:46 ---> b48acb241f6e 23:47:46 Step 12/12 : RUN $MAKE 23:47:46 ---> Running in 5de1837e162b 23:47:46 noop 23:47:46 Removing intermediate container 5de1837e162b 23:47:46 ---> cccdc74b2005 23:47:46 Successfully built cccdc74b2005 23:47:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:47:46 + docker inspect -f . ci-base-image-x86_64 23:47:46 . [Pipeline] withDockerContainer 23:47:46 prd-ubuntu20.04-docker-8c-8g-11523 does not seem to be running inside a container 23:47:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-358 -v /w/workspace/gexfoundry_device-mqtt-go_PR-358:/w/workspace/gexfoundry_device-mqtt-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:47:46 $ docker top 159d924ef6c1e6bcea8eac1d291fb5a7c31732be82e5356bdea72eb9493ccdfa -eo pid,comm [Pipeline] { [Pipeline] sh 23:47:47 + go version 23:47:47 go version go1.17.6 linux/amd64 [Pipeline] } 23:47:47 $ docker stop --time=1 159d924ef6c1e6bcea8eac1d291fb5a7c31732be82e5356bdea72eb9493ccdfa 23:47:48 $ docker rm -f 159d924ef6c1e6bcea8eac1d291fb5a7c31732be82e5356bdea72eb9493ccdfa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:47:49 + docker inspect -f . ci-base-image-x86_64 23:47:49 . [Pipeline] withDockerContainer 23:47:49 prd-ubuntu20.04-docker-8c-8g-11523 does not seem to be running inside a container 23:47:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-358 -v /w/workspace/gexfoundry_device-mqtt-go_PR-358:/w/workspace/gexfoundry_device-mqtt-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:47:49 $ docker top 90a19b1b65931e0f7b047efeab8c5ba199669a4ea80e970431f2eba887e2387c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:47:50 + make test 23:47:50 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:47:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:48:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:48:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 23:48:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:48:08 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:48:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:48:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:48:12 ./bin/test-attribution-txt.sh [Pipeline] echo 23:48:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:48:12 $ docker stop --time=1 90a19b1b65931e0f7b047efeab8c5ba199669a4ea80e970431f2eba887e2387c 23:48:13 $ docker rm -f 90a19b1b65931e0f7b047efeab8c5ba199669a4ea80e970431f2eba887e2387c [Pipeline] // withDockerContainer [Pipeline] sh 23:48:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:48:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:48:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:48:15 + ls -al . 23:48:15 total 176 23:48:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 7 23:48 . 23:48:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:46 .. 23:48:15 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 23:46 .dockerignore 23:48:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:47 .git 23:48:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:46 .github 23:48:15 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 23:46 .gitignore 23:48:15 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 23:46 .golangci.yml 23:48:15 drwx------ 3 jenkins jenkins 4096 Apr 7 23:47 .semver 23:48:15 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 7 23:46 Attribution.txt 23:48:15 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 7 23:46 CHANGELOG.md 23:48:15 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 7 23:46 Dockerfile 23:48:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 23:46 GOVERNANCE.md 23:48:15 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 23:46 Jenkinsfile 23:48:15 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 23:46 LICENSE 23:48:15 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 7 23:46 Makefile 23:48:15 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 23:46 OWNERS.md 23:48:15 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 7 23:46 README.md 23:48:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:47 VERSION 23:48:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:46 bin 23:48:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:46 cmd 23:48:15 -rw-r--r-- 1 jenkins jenkins 17887 Apr 7 23:47 coverage.out 23:48:15 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 7 23:46 go.mod 23:48:15 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 7 23:46 go.sum 23:48:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:46 internal 23:48:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:46 mock 23:48:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:46 snap 23:48:15 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 23:46 version.go [Pipeline] isUnix [Pipeline] sh 23:48:16 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ec9d6ac127d77693f09281b71e8cec45b7146c96 --label arch=amd64 --label version=0.0.0 . 23:48:16 Sending build context to Docker daemon 5.836MB 23:48:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 23:48:16 Step 2/24 : FROM ${BASE} AS builder 23:48:16 ---> cccdc74b2005 23:48:16 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:48:16 ---> Running in d350a580e9f1 23:48:16 Removing intermediate container d350a580e9f1 23:48:16 ---> 30d835bef6d2 23:48:16 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 23:48:16 ---> Running in 833dd2197e3b 23:48:16 Removing intermediate container 833dd2197e3b 23:48:16 ---> f46f11028018 23:48:16 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:48:16 ---> Running in 3e481cc6435b 23:48:16 Removing intermediate container 3e481cc6435b 23:48:16 ---> 0f4882e3567c 23:48:16 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:48:16 ---> Running in 8fe2cec76619 23:48:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:48:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:48:18 OK: 224 MiB in 56 packages 23:48:18 Removing intermediate container 8fe2cec76619 23:48:18 ---> 8edc8804c69f 23:48:18 Step 7/24 : WORKDIR /device-mqtt-go 23:48:18 ---> Running in 849e1e71984d 23:48:18 Removing intermediate container 849e1e71984d 23:48:18 ---> 14b3b66974da 23:48:18 Step 8/24 : COPY go.mod vendor* ./ 23:48:18 ---> 9161f63268ec 23:48:18 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:48:18 ---> Running in 76e6dd70ca1e 23:48:19 Removing intermediate container 76e6dd70ca1e 23:48:19 ---> f0b4d367bd32 23:48:19 Step 10/24 : COPY . . 23:48:20 ---> 8550e813e376 23:48:20 Step 11/24 : ARG MAKE='make build' 23:48:20 ---> Running in 3af456849462 23:48:20 Removing intermediate container 3af456849462 23:48:20 ---> e7f5d1e29ee4 23:48:20 Step 12/24 : RUN $MAKE 23:48:20 ---> Running in 6a2a89a93483 23:48:20 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 23:48:42 Removing intermediate container 6a2a89a93483 23:48:42 ---> 39e4fcedd689 23:48:42 Step 13/24 : FROM alpine:3.14 23:48:42 3.14: Pulling from library/alpine 23:48:42 8663204ce13b: Pulling fs layer 23:48:42 8663204ce13b: Verifying Checksum 23:48:42 8663204ce13b: Download complete 23:48:42 8663204ce13b: Pull complete 23:48:42 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:48:42 Status: Downloaded newer image for alpine:3.14 23:48:42 ---> e04c818066af 23:48:42 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:48:42 ---> Running in a6b2455d08aa 23:48:42 Removing intermediate container a6b2455d08aa 23:48:42 ---> 909691fbefb4 23:48:42 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:48:42 ---> Running in cee4dc4be472 23:48:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:48:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:48:42 (1/6) Installing dumb-init (1.2.5-r1) 23:48:42 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:48:42 (3/6) Installing libsodium (1.0.18-r0) 23:48:42 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:48:42 (5/6) Installing libzmq (4.3.4-r0) 23:48:42 (6/6) Installing zeromq (4.3.4-r0) 23:48:42 Executing busybox-1.33.1-r7.trigger 23:48:42 OK: 8 MiB in 20 packages 23:48:42 Removing intermediate container cee4dc4be472 23:48:42 ---> 48105d816f4b 23:48:42 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:48:42 ---> 439c8cf4f58e 23:48:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:48:43 ---> 24efb2fb24d4 23:48:43 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:48:43 ---> e604dc9a01fd 23:48:43 Step 19/24 : EXPOSE 59982 23:48:43 ---> Running in 69030ee77137 23:48:43 Removing intermediate container 69030ee77137 23:48:43 ---> 841499e67a63 23:48:43 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:48:43 ---> Running in 5b1f5522ac70 23:48:43 Removing intermediate container 5b1f5522ac70 23:48:43 ---> d120ed5fb246 23:48:43 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:48:43 ---> Running in 5265a89c2ab4 23:48:43 Removing intermediate container 5265a89c2ab4 23:48:43 ---> afb433703547 23:48:43 Step 22/24 : LABEL arch=amd64 23:48:43 ---> Running in 3ad8fcf99d4b 23:48:43 Removing intermediate container 3ad8fcf99d4b 23:48:43 ---> 76ea92ccb195 23:48:43 Step 23/24 : LABEL git_sha=ec9d6ac127d77693f09281b71e8cec45b7146c96 23:48:43 ---> Running in 948753022a29 23:48:43 Removing intermediate container 948753022a29 23:48:43 ---> a078aeeeee4d 23:48:43 Step 24/24 : LABEL version=0.0.0 23:48:43 ---> Running in 2d97e9965fe2 23:48:43 Removing intermediate container 2d97e9965fe2 23:48:43 ---> 9f7c2ced2771 23:48:43 [Warning] One or more build-args [ARCH] were not consumed 23:48:43 Successfully built 9f7c2ced2771 23:48:43 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 23:48:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:44 23:48:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:48:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:45 latest: Pulling from edgex-lftools-log-publisher 23:48:45 5eb5b503b376: Pulling fs layer 23:48:45 5c69ac0246d0: Pulling fs layer 23:48:45 ec43610c2a17: Pulling fs layer 23:48:45 3a2ae6a8a46f: Pulling fs layer 23:48:45 33b1e0a273af: Pulling fs layer 23:48:45 5d3b04190fa2: Pulling fs layer 23:48:45 3a2ae6a8a46f: Waiting 23:48:45 33b1e0a273af: Waiting 23:48:45 2f39f015ded8: Pulling fs layer 23:48:45 5d3b04190fa2: Waiting 23:48:45 2f39f015ded8: Waiting 23:48:45 5c69ac0246d0: Download complete 23:48:45 3a2ae6a8a46f: Download complete 23:48:45 ec43610c2a17: Verifying Checksum 23:48:45 ec43610c2a17: Download complete 23:48:45 33b1e0a273af: Verifying Checksum 23:48:45 33b1e0a273af: Download complete 23:48:45 5d3b04190fa2: Download complete 23:48:45 5eb5b503b376: Verifying Checksum 23:48:45 5eb5b503b376: Download complete 23:48:45 2f39f015ded8: Verifying Checksum 23:48:45 2f39f015ded8: Download complete 23:48:46 5eb5b503b376: Pull complete 23:48:46 5c69ac0246d0: Pull complete 23:48:47 ec43610c2a17: Pull complete 23:48:47 3a2ae6a8a46f: Pull complete 23:48:47 33b1e0a273af: Pull complete 23:48:47 5d3b04190fa2: Pull complete 23:48:52 2f39f015ded8: Pull complete 23:48:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:48:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:48:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:48:53 prd-ubuntu20.04-docker-8c-8g-11523 does not seem to be running inside a container 23:48:53 $ 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-358 -v /w/workspace/gexfoundry_device-mqtt-go_PR-358:/w/workspace/gexfoundry_device-mqtt-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:48:54 $ docker top 2ae9ec87884819ea603baa69d9e1543a556c96da33fedc94f610faf311d01979 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:55 ---> job-cost.sh 23:48:55 lf-activate-venv: SKIPPING 23:48:55 INFO: No Stack... 23:48:55 INFO: Retrieving Pricing Info for: v3-standard-8 23:48:55 INFO: Archiving Costs [Pipeline] sh 23:48:56 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-358/archives/cost.csv 23:48:56 + cut -d, -f6 [Pipeline] lock 23:48:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-358-1-stack-cost] 23:48:56 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-358-1-stack-cost] did not exist. Created. 23:48:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-358-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:48:56 + echo total: 0.2199999988079071 [Pipeline] stash 23:48:56 Stashed 1 file(s) [Pipeline] } 23:48:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-358-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:48:56 $ docker stop --time=1 2ae9ec87884819ea603baa69d9e1543a556c96da33fedc94f610faf311d01979 23:48:57 $ docker rm -f 2ae9ec87884819ea603baa69d9e1543a556c96da33fedc94f610faf311d01979 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:51:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11524 in /w/workspace/gexfoundry_device-mqtt-go_PR-358 [Pipeline] { [Pipeline] ws 23:51:00 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 23:51:01 Selected Git installation does not exist. Using Default 23:51:01 The recommended git tool is: NONE 23:51:08 using credential edgex-jenkins-ssh 23:51:08 Cloning the remote Git repository 23:51:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:51:08 > git init /w/workspace/device-mqtt-go/1 # timeout=10 23:51:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:51:08 > git --version # timeout=10 23:51:08 > git --version # 'git version 2.25.1' 23:51:08 using GIT_SSH to set credentials SSH Credentials for GitHub 23:51:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:51:11 Merging remotes/origin/main commit f2e2f8ada396003354e6b6ef510b55319cadc912 into PR head commit ec9d6ac127d77693f09281b71e8cec45b7146c96 23:51:11 Merge succeeded, producing ec9d6ac127d77693f09281b71e8cec45b7146c96 23:51:11 Checking out Revision ec9d6ac127d77693f09281b71e8cec45b7146c96 (PR-358) 23:51:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:51:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:51:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:51:10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:51:10 using GIT_SSH to set credentials SSH Credentials for GitHub 23:51:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/358/head:refs/remotes/origin/PR-358 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:51:11 > git config core.sparsecheckout # timeout=10 23:51:11 > git checkout -f ec9d6ac127d77693f09281b71e8cec45b7146c96 # timeout=10 23:51:11 > git remote # timeout=10 23:51:11 > git config --get remote.origin.url # timeout=10 23:51:11 using GIT_SSH to set credentials SSH Credentials for GitHub 23:51:11 > git merge f2e2f8ada396003354e6b6ef510b55319cadc912 # timeout=10 23:51:11 > git rev-parse HEAD^{commit} # timeout=10 23:51:11 > git config core.sparsecheckout # timeout=10 23:51:11 > git checkout -f ec9d6ac127d77693f09281b71e8cec45b7146c96 # timeout=10 23:51:15 Commit message: "feat: enable security hardening" 23:51:16 > git --version # timeout=10 23:51:16 > git --version # 'git version 2.25.1' 23:51:16 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:51:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:51:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:51:17 Dload Upload Total Spent Left Speed 23:51:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 28675 0 --:--:-- --:--:-- --:--:-- 28675 [Pipeline] sh 23:51:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:51:18 + sudo tee /etc/docker/daemon.new 23:51:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:51:18 { 23:51:18 "registry-mirrors": [ 23:51:18 "https://nexus3.edgexfoundry.org:10001" 23:51:18 ], 23:51:18 "bip": "10.250.0.254/24", 23:51:18 "hosts": [ 23:51:18 "tcp://0.0.0.0:5555", 23:51:18 "unix:///var/run/docker.sock" 23:51:18 ], 23:51:18 "mtu": 1458, 23:51:18 "selinux-enabled": true, 23:51:18 "seccomp-profile": "/etc/docker/seccomp.json" 23:51:18 } [Pipeline] sh 23:51:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:51:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:51:37 provisioning config files... 23:51:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5973144042795078212tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:38 ---> docker-login.sh 23:51:38 nexus3.edgexfoundry.org:10001 23:51:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:38 Configure a credential helper to remove this warning. See 23:51:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:38 23:51:38 Login Succeeded 23:51:38 nexus3.edgexfoundry.org:10002 23:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:39 Configure a credential helper to remove this warning. See 23:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:39 23:51:39 Login Succeeded 23:51:39 nexus3.edgexfoundry.org:10003 23:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:39 Configure a credential helper to remove this warning. See 23:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:39 23:51:39 Login Succeeded 23:51:39 nexus3.edgexfoundry.org:10004 23:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:40 Configure a credential helper to remove this warning. See 23:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:40 23:51:40 Login Succeeded 23:51:40 docker.io 23:51:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:51:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:51:40 Configure a credential helper to remove this warning. See 23:51:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:51:40 23:51:40 Login Succeeded 23:51:40 ---> docker-login.sh ends [Pipeline] } 23:51:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:51:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:51:41 ========================================================= 23:51:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:51:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:51:41 + 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 . 23:51:42 Sending build context to Docker daemon 3.026MB 23:51:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:51:42 Step 2/12 : FROM ${BASE} AS builder 23:51:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:51:42 9b3977197b4f: Pulling fs layer 23:51:42 1a89e8eeedd5: Pulling fs layer 23:51:42 94645a83ff95: Pulling fs layer 23:51:42 3f3a8bcf1eab: Pulling fs layer 23:51:42 0c92f367c5e7: Pulling fs layer 23:51:42 f7c0051592d6: Pulling fs layer 23:51:42 a227ed2f7395: Pulling fs layer 23:51:42 7b1c46037f91: Pulling fs layer 23:51:42 3f3a8bcf1eab: Waiting 23:51:42 f7c0051592d6: Waiting 23:51:42 a227ed2f7395: Waiting 23:51:42 7b1c46037f91: Waiting 23:51:42 0c92f367c5e7: Waiting 23:51:42 94645a83ff95: Verifying Checksum 23:51:42 94645a83ff95: Download complete 23:51:42 1a89e8eeedd5: Verifying Checksum 23:51:42 1a89e8eeedd5: Download complete 23:51:42 0c92f367c5e7: Verifying Checksum 23:51:42 0c92f367c5e7: Download complete 23:51:42 f7c0051592d6: Verifying Checksum 23:51:42 f7c0051592d6: Download complete 23:51:42 9b3977197b4f: Verifying Checksum 23:51:42 9b3977197b4f: Download complete 23:51:42 a227ed2f7395: Verifying Checksum 23:51:42 a227ed2f7395: Download complete 23:51:43 9b3977197b4f: Pull complete 23:51:43 1a89e8eeedd5: Pull complete 23:51:44 94645a83ff95: Pull complete 23:51:44 7b1c46037f91: Verifying Checksum 23:51:44 7b1c46037f91: Download complete 23:51:45 3f3a8bcf1eab: Verifying Checksum 23:51:45 3f3a8bcf1eab: Download complete 23:51:57 3f3a8bcf1eab: Pull complete 23:51:57 0c92f367c5e7: Pull complete 23:51:57 f7c0051592d6: Pull complete 23:51:57 a227ed2f7395: Pull complete 23:52:04 7b1c46037f91: Pull complete 23:52:04 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:52:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:52:04 ---> f79e39bc4007 23:52:04 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:52:05 ---> Running in ea7ccabfe750 23:52:05 Removing intermediate container ea7ccabfe750 23:52:05 ---> ec43c5707936 23:52:05 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:52:05 ---> Running in ed68352b5e7f 23:52:06 Removing intermediate container ed68352b5e7f 23:52:06 ---> 4b5b033fd7d2 23:52:06 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:52:06 ---> Running in e180fa9d5222 23:52:08 Removing intermediate container e180fa9d5222 23:52:08 ---> 07500bf5a768 23:52:08 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:52:08 ---> Running in 9f57b4aab147 23:52:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:52:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:52:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:52:10 (2/4) Installing libedit (20210910.3.1-r0) 23:52:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:52:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:52:10 Executing busybox-1.34.1-r3.trigger 23:52:10 OK: 224 MiB in 56 packages 23:52:11 Removing intermediate container 9f57b4aab147 23:52:11 ---> 6dfd538e327f 23:52:11 Step 7/12 : WORKDIR /device-mqtt-go 23:52:11 ---> Running in df71629a495d 23:52:11 Removing intermediate container df71629a495d 23:52:11 ---> a33361d94faa 23:52:11 Step 8/12 : COPY go.mod vendor* ./ 23:52:12 ---> 87215d759bc8 23:52:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:12 ---> Running in 97bf77a8c341 23:52:59 Removing intermediate container 97bf77a8c341 23:52:59 ---> 8c71f53071c2 23:52:59 Step 10/12 : COPY . . 23:52:59 ---> 2393cab8f3ad 23:52:59 Step 11/12 : ARG MAKE='make build' 23:52:59 ---> Running in 3fbf641aa2df 23:52:59 Removing intermediate container 3fbf641aa2df 23:52:59 ---> 9b87eaab01f1 23:52:59 Step 12/12 : RUN $MAKE 23:52:59 ---> Running in fe5f43bd16f2 23:52:59 noop 23:52:59 Removing intermediate container fe5f43bd16f2 23:52:59 ---> 79eed67eb152 23:52:59 Successfully built 79eed67eb152 23:52:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:53:00 + docker inspect -f . ci-base-image-arm64 23:53:00 . [Pipeline] withDockerContainer 23:53:00 prd-ubuntu20.04-docker-arm64-4c-16g-11524 does not seem to be running inside a container 23:53:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:53:01 $ docker top d2b950761b2f52ce0baaa9ea6af653bd9657ff4194bcc878c257fc921d20e181 -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:02 + go version 23:53:02 go version go1.17.6 linux/arm64 [Pipeline] } 23:53:02 $ docker stop --time=1 d2b950761b2f52ce0baaa9ea6af653bd9657ff4194bcc878c257fc921d20e181 23:53:04 $ docker rm -f d2b950761b2f52ce0baaa9ea6af653bd9657ff4194bcc878c257fc921d20e181 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:53:05 + docker inspect -f . ci-base-image-arm64 23:53:05 . [Pipeline] withDockerContainer 23:53:05 prd-ubuntu20.04-docker-arm64-4c-16g-11524 does not seem to be running inside a container 23:53:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:53:07 $ docker top 2fa40eaf515b8b836470767b72d3902efaffc020c261a7bffa474a87cb48b1bc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:53:08 + make test 23:53:08 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:53:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:54:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:54:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.084s coverage: 21.8% of statements 23:54:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:54:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:54:31 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:54:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:54:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:54:53 ./bin/test-attribution-txt.sh [Pipeline] echo 23:54:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:54:56 $ docker stop --time=1 2fa40eaf515b8b836470767b72d3902efaffc020c261a7bffa474a87cb48b1bc 23:54:58 $ docker rm -f 2fa40eaf515b8b836470767b72d3902efaffc020c261a7bffa474a87cb48b1bc [Pipeline] // withDockerContainer [Pipeline] sh 23:54:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:54:59 Warning: overwriting stash ‘coverage-report’ 23:54:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:55:00 + ls -al . 23:55:00 total 172 23:55:00 drwxrwxr-x 9 jenkins jenkins 4096 Apr 7 23:54 . 23:55:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:51 .. 23:55:00 -rw-rw-r-- 1 jenkins jenkins 140 Apr 7 23:51 .dockerignore 23:55:00 drwxrwxr-x 8 jenkins jenkins 4096 Apr 7 23:51 .git 23:55:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:51 .github 23:55:00 -rw-rw-r-- 1 jenkins jenkins 329 Apr 7 23:51 .gitignore 23:55:00 -rw-rw-r-- 1 jenkins jenkins 41 Apr 7 23:51 .golangci.yml 23:55:00 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 7 23:51 Attribution.txt 23:55:00 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 7 23:51 CHANGELOG.md 23:55:00 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 7 23:51 Dockerfile 23:55:00 -rw-rw-r-- 1 jenkins jenkins 677 Apr 7 23:51 GOVERNANCE.md 23:55:00 -rw-rw-r-- 1 jenkins jenkins 678 Apr 7 23:51 Jenkinsfile 23:55:00 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 7 23:51 LICENSE 23:55:00 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 7 23:51 Makefile 23:55:00 -rw-rw-r-- 1 jenkins jenkins 620 Apr 7 23:51 OWNERS.md 23:55:00 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 7 23:51 README.md 23:55:00 -rw-rw-r-- 1 jenkins jenkins 5 Apr 7 23:47 VERSION 23:55:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:51 bin 23:55:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:51 cmd 23:55:00 -rw-r--r-- 1 jenkins jenkins 17887 Apr 7 23:54 coverage.out 23:55:00 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 7 23:51 go.mod 23:55:00 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 7 23:51 go.sum 23:55:00 drwxrwxr-x 3 jenkins jenkins 4096 Apr 7 23:51 internal 23:55:00 drwxrwxr-x 2 jenkins jenkins 4096 Apr 7 23:51 mock 23:55:00 drwxrwxr-x 4 jenkins jenkins 4096 Apr 7 23:51 snap 23:55:00 -rw-rw-r-- 1 jenkins jenkins 227 Apr 7 23:51 version.go [Pipeline] isUnix [Pipeline] sh 23:55:01 + 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=ec9d6ac127d77693f09281b71e8cec45b7146c96 --label arch=arm64 --label version=0.0.0 . 23:55:01 Sending build context to Docker daemon 3.044MB 23:55:01 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 23:55:01 Step 2/24 : FROM ${BASE} AS builder 23:55:01 ---> 79eed67eb152 23:55:01 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:55:01 ---> Running in 427af078c6fe 23:55:01 Removing intermediate container 427af078c6fe 23:55:01 ---> e716a18c6efb 23:55:01 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 23:55:01 ---> Running in 0ee8ffcd26f8 23:55:02 Removing intermediate container 0ee8ffcd26f8 23:55:02 ---> ec72f01b07b0 23:55:02 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:55:02 ---> Running in 0c483a54fb72 23:55:03 Removing intermediate container 0c483a54fb72 23:55:03 ---> 4a8f3626ac06 23:55:03 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:55:04 ---> Running in 3c6f7cb735cb 23:55:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:55:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:55:06 OK: 224 MiB in 56 packages 23:55:07 Removing intermediate container 3c6f7cb735cb 23:55:07 ---> 2dc4d2ec507c 23:55:07 Step 7/24 : WORKDIR /device-mqtt-go 23:55:07 ---> Running in b503ec6c8e5f 23:55:07 Removing intermediate container b503ec6c8e5f 23:55:07 ---> fa981b10a7e9 23:55:07 Step 8/24 : COPY go.mod vendor* ./ 23:55:08 ---> ebcbd1374085 23:55:08 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:08 ---> Running in 292724ea267e 23:55:10 Removing intermediate container 292724ea267e 23:55:10 ---> 02ba63208e88 23:55:10 Step 10/24 : COPY . . 23:55:11 ---> 438be2060e9a 23:55:11 Step 11/24 : ARG MAKE='make build' 23:55:11 ---> Running in 4aaaaabdf82f 23:55:11 Removing intermediate container 4aaaaabdf82f 23:55:11 ---> 62bda87aafff 23:55:11 Step 12/24 : RUN $MAKE 23:55:11 ---> Running in 077301a4765d 23:55:12 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 23:57:19 Removing intermediate container 077301a4765d 23:57:19 ---> ceb339303890 23:57:19 Step 13/24 : FROM alpine:3.14 23:57:19 3.14: Pulling from library/alpine 23:57:19 455c02918c45: Pulling fs layer 23:57:19 455c02918c45: Verifying Checksum 23:57:19 455c02918c45: Download complete 23:57:19 455c02918c45: Pull complete 23:57:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:57:19 Status: Downloaded newer image for alpine:3.14 23:57:19 ---> ac73e934f311 23:57:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:57:19 ---> Running in 70b0bc54a990 23:57:19 Removing intermediate container 70b0bc54a990 23:57:19 ---> 0a6468c40642 23:57:19 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:57:19 ---> Running in 4a7e214a008a 23:57:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:57:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:57:19 (1/6) Installing dumb-init (1.2.5-r1) 23:57:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:57:19 (3/6) Installing libsodium (1.0.18-r0) 23:57:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:57:19 (5/6) Installing libzmq (4.3.4-r0) 23:57:19 (6/6) Installing zeromq (4.3.4-r0) 23:57:19 Executing busybox-1.33.1-r7.trigger 23:57:19 OK: 8 MiB in 20 packages 23:57:19 Removing intermediate container 4a7e214a008a 23:57:19 ---> 41b2f5207a26 23:57:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:57:20 ---> e78d82c42506 23:57:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:57:20 ---> 5793e993f567 23:57:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:57:21 ---> 6d0237d38f38 23:57:21 Step 19/24 : EXPOSE 59982 23:57:21 ---> Running in c84f0bb123f9 23:57:21 Removing intermediate container c84f0bb123f9 23:57:21 ---> 089f4bace877 23:57:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:57:21 ---> Running in 09f28b43ca06 23:57:22 Removing intermediate container 09f28b43ca06 23:57:22 ---> 6b04fcc21e54 23:57:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:57:22 ---> Running in 4b4775e8f253 23:57:22 Removing intermediate container 4b4775e8f253 23:57:22 ---> 5f3ba06a1c8e 23:57:22 Step 22/24 : LABEL arch=arm64 23:57:22 ---> Running in 4a8820461d94 23:57:23 Removing intermediate container 4a8820461d94 23:57:23 ---> 21aaaf925eb8 23:57:23 Step 23/24 : LABEL git_sha=ec9d6ac127d77693f09281b71e8cec45b7146c96 23:57:23 ---> Running in a6fb60c22860 23:57:23 Removing intermediate container a6fb60c22860 23:57:23 ---> f64cea2a9c54 23:57:23 Step 24/24 : LABEL version=0.0.0 23:57:23 ---> Running in b369e5e264fc 23:57:23 Removing intermediate container b369e5e264fc 23:57:23 ---> 745126797cf3 23:57:23 [Warning] One or more build-args [ARCH] were not consumed 23:57:23 Successfully built 745126797cf3 23:57:23 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 23:57:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:57:24 23:57:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:57:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:57:25 arm64: Pulling from edgex-lftools-log-publisher 23:57:25 8998bd30e6a1: Pulling fs layer 23:57:25 04944245beec: Pulling fs layer 23:57:25 699f458cf7ca: Pulling fs layer 23:57:25 765212b225bb: Pulling fs layer 23:57:25 f23df028b6ca: Pulling fs layer 23:57:25 d65c8cfc05b1: Pulling fs layer 23:57:25 2437ff75d9bd: Pulling fs layer 23:57:25 f23df028b6ca: Waiting 23:57:25 d65c8cfc05b1: Waiting 23:57:25 2437ff75d9bd: Waiting 23:57:25 765212b225bb: Waiting 23:57:25 04944245beec: Verifying Checksum 23:57:25 04944245beec: Download complete 23:57:25 765212b225bb: Verifying Checksum 23:57:25 765212b225bb: Download complete 23:57:25 f23df028b6ca: Verifying Checksum 23:57:25 f23df028b6ca: Download complete 23:57:25 d65c8cfc05b1: Verifying Checksum 23:57:25 d65c8cfc05b1: Download complete 23:57:25 699f458cf7ca: Verifying Checksum 23:57:25 699f458cf7ca: Download complete 23:57:25 8998bd30e6a1: Verifying Checksum 23:57:25 8998bd30e6a1: Download complete 23:57:28 2437ff75d9bd: Verifying Checksum 23:57:28 2437ff75d9bd: Download complete 23:57:30 8998bd30e6a1: Pull complete 23:57:30 04944245beec: Pull complete 23:57:32 699f458cf7ca: Pull complete 23:57:32 765212b225bb: Pull complete 23:57:33 f23df028b6ca: Pull complete 23:57:33 d65c8cfc05b1: Pull complete 23:57:48 2437ff75d9bd: Pull complete 23:57:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:57:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:57:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:57:48 prd-ubuntu20.04-docker-arm64-4c-16g-11524 does not seem to be running inside a container 23:57:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:57:51 $ docker top dc96bba55de6e88f2276e9f6c0e7a9034c1999812e1d3e9ad7e98abd1c8ed51a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:52 ---> job-cost.sh 23:57:52 lf-activate-venv: SKIPPING 23:57:52 INFO: No Stack... 23:57:53 INFO: Retrieving Pricing Info for: v3-standard-4 23:57:54 INFO: Archiving Costs [Pipeline] sh 23:57:55 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 23:57:55 + cut -d, -f6 [Pipeline] lock 23:57:55 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-358-1-stack-cost] 23:57:55 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-358-1-stack-cost] did not exist. Created. 23:57:55 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-358-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:57:55 /w/workspace/device-mqtt-go/1@tmp/durable-22019d8b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:57:56 + echo total: 0.10999999940395355 [Pipeline] stash 23:57:56 Warning: overwriting stash ‘stack-cost’ 23:57:56 Stashed 1 file(s) [Pipeline] } 23:57:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-358-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:57:56 $ docker stop --time=1 dc96bba55de6e88f2276e9f6c0e7a9034c1999812e1d3e9ad7e98abd1c8ed51a 23:57:58 $ docker rm -f dc96bba55de6e88f2276e9f6c0e7a9034c1999812e1d3e9ad7e98abd1c8ed51a [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 23:57:59 provisioning config files... 23:57:59 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp/config3417596141519069362tmp [Pipeline] { [Pipeline] sh 23:57:59 + set +x 23:57:59 + curl -s https://codecov.io/bash 23:57:59 + bash -s -- 23:57:59 23:57:59 _____ _ 23:57:59 / ____| | | 23:57:59 | | ___ __| | ___ ___ _____ __ 23:57:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:57:59 | |___| (_) | (_| | __/ (_| (_) \ V / 23:57:59 \_____\___/ \__,_|\___|\___\___/ \_/ 23:57:59 Bash-1.0.6 23:57:59 23:57:59 23:57:59 ==> git version 2.25.1 found 23:57:59 ==> 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 23:57:59 Release-Date: 2020-01-08 23:57:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:57:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:57:59 ==> Jenkins CI detected. 23:57:59 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-358 23:57:59 project root: . 23:57:59 --> token set from env 23:57:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:57:59 ==> Running gcov in . (disable via -X gcov) 23:57:59 ==> Python coveragepy not found 23:57:59 ==> Searching for coverage reports in: 23:57:59 + . 23:57:59 -> Found 1 reports 23:57:59 ==> Detecting git/mercurial file structure 23:57:59 ==> Reading reports 23:57:59 + ./coverage.out bytes=17887 23:57:59 ==> Appending adjustments 23:57:59 https://docs.codecov.io/docs/fixing-reports 23:58:00 + Found adjustments 23:58:00 ==> Gzipping contents 23:58:00 4.0K /tmp/codecov.14LFW2.gz 23:58:00 ==> Uploading reports 23:58:00 url: https://codecov.io 23:58:00 query: branch=PR-358&commit=ec9d6ac127d77693f09281b71e8cec45b7146c96&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-358%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=358&job=&cmd_args= 23:58:00 -> Pinging Codecov 23:58:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-358&commit=ec9d6ac127d77693f09281b71e8cec45b7146c96&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-358%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=358&job=&cmd_args= 23:58:00 -> Uploading to 23:58:00 https://storage.googleapis.com/codecov/v4/raw/2022-04-07/7D719EC7BBE17E464838252E33014C33/ec9d6ac127d77693f09281b71e8cec45b7146c96/7309478a-b907-4b15-ad1b-cf4c72e4cd2a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220407%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220407T235800Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f6a9e9cad44b2de2ee7eab87ad1c8534aca1ca7904333187f5bd4dda95d0ecb 23:58:00 % Total % Received % Xferd Average Speed Time Time Time Current 23:58:00 Dload Upload Total Spent Left Speed 23:58:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3254 0 0 100 3254 0 11919 --:--:-- --:--:-- --:--:-- 11919 23:58:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/ec9d6ac127d77693f09281b71e8cec45b7146c96 [Pipeline] } 23:58:00 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 23:58:02 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-358/archives ] 23:58:02 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-358/archives 23:58:02 total 16 23:58:02 drwxr-xr-x 3 root root 4096 Apr 7 23:48 . 23:58:02 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 23:48 .. 23:58:02 drwxr-xr-x 2 root root 4096 Apr 7 23:48 cost 23:58:02 -rw-r--r-- 1 root root 85 Apr 7 23:48 cost.csv 23:58:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-358/archives 23:58:02 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-358/archives 23:58:02 total 16 23:58:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 7 23:48 . 23:58:02 drwxrwxr-x 11 jenkins jenkins 4096 Apr 7 23:48 .. 23:58:02 drwxr-xr-x 2 jenkins jenkins 4096 Apr 7 23:48 cost 23:58:02 -rw-r--r-- 1 jenkins jenkins 85 Apr 7 23:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:58:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:58:03 ---> package-listing.sh 23:58:03 ++ facter osfamily 23:58:03 ++ tr '[:upper:]' '[:lower:]' 23:58:04 + OS_FAMILY=debian 23:58:04 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-358 23:58:04 + START_PACKAGES=/tmp/packages_start.txt 23:58:04 + END_PACKAGES=/tmp/packages_end.txt 23:58:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:58:04 + PACKAGES=/tmp/packages_start.txt 23:58:04 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-358 ']' 23:58:04 + PACKAGES=/tmp/packages_end.txt 23:58:04 + case "${OS_FAMILY}" in 23:58:04 + dpkg -l 23:58:04 + grep '^ii' 23:58:04 + '[' -f /tmp/packages_start.txt ']' 23:58:04 + '[' -f /tmp/packages_end.txt ']' 23:58:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:58:04 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-358 ']' 23:58:04 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-358/archives/ 23:58:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-358/archives/ [Pipeline] echo 23:58:04 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-358/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:58:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:58:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:58:04 . [Pipeline] withDockerContainer 23:58:05 prd-ubuntu20.04-docker-8c-8g-11523 does not seem to be running inside a container 23:58:05 $ 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-358/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-358 -v /w/workspace/gexfoundry_device-mqtt-go_PR-358:/w/workspace/gexfoundry_device-mqtt-go_PR-358:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-358@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 23:58:05 $ docker top 8b7fea3d4880c11b99e597e0e001a675c2a80610cbc291659fb484ad377bdd3c -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:05 + touch /tmp/pre-build-complete [Pipeline] sh 23:58:06 + mkdir -p /var/log/sysstat [Pipeline] sh 23:58:06 + ls /var/log/sa-host 23:58:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:58:06 provisioning config files... 23:58:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-358@tmp/config6501599244211994335tmp [Pipeline] { [Pipeline] echo 23:58:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:58:07 ---> create-netrc.sh [Pipeline] } 23:58:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:58:07 ---> python-tools-install.sh [Pipeline] echo 23:58:07 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:58:07 ---> sudo-logs.sh 23:58:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:58:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:58:08 ---> job-cost.sh 23:58:08 lf-activate-venv: SKIPPING 23:58:08 DEBUG: total: 0.2199999988079071 23:58:08 INFO: Retrieving Stack Cost... 23:58:08 INFO: Retrieving Pricing Info for: v3-standard-8 23:58:09 INFO: Archiving Costs [Pipeline] echo 23:58:09 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:58:09 ---> logs-deploy.sh 23:58:09 lf-activate-venv: SKIPPING 23:58:09 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-358/1 23:58:09 INFO: archiving workspace using pattern(s): 23:58:10 Archives upload complete. 23:58:10 INFO: archiving logs to Nexus