Pull request #365 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 4d191eb3dac98c01714bec6e3dd8edd5055992ab rather than d466526941577fbd373ebce709283655f16e1fd0 Obtained Jenkinsfile from 4d191eb3dac98c01714bec6e3dd8edd5055992ab Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1955340614713457376.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-ssh8456964251771368216.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-365/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-365/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13893596971567704624.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 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-ssh17009886264919088534.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-365/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-365/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh821029166434123242.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-21759’ Running on prd-ubuntu20.04-docker-8c-8g-21762 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-365 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit d466526941577fbd373ebce709283655f16e1fd0 Merge succeeded, producing d466526941577fbd373ebce709283655f16e1fd0 Checking out Revision d466526941577fbd373ebce709283655f16e1fd0 (PR-365) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 Commit message: "feat(snap): use new version of hooks with bug fix" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:46:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:46:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:46:14 ========================================================= 08:46:14 EdgeX Global Pipelines Version Info 08:46:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9fb6fe9717a3cc0cf691c9f98693e74f49f13b8c # timeout=10 08:46:15 ------------------- 08:46:15 stable info: 08:46:15 ------------------- 08:46:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:46:15 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 08:46:15 Message: update stable to v1.0.221 08:46:15 ------------------- 08:46:15 experimental info: 08:46:15 ------------------- 08:46:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:46:15 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 08:46:15 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:46:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-365 [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-365 [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-365 [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d466526 [Pipeline] echo 08:46:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:16 provisioning config files... 08:46:16 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config3582454916958974890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:16 ---> docker-login.sh 08:46:16 nexus3.edgexfoundry.org:10001 08:46:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:16 Configure a credential helper to remove this warning. See 08:46:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:16 08:46:16 Login Succeeded 08:46:16 nexus3.edgexfoundry.org:10002 08:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:17 Configure a credential helper to remove this warning. See 08:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:17 08:46:17 Login Succeeded 08:46:17 nexus3.edgexfoundry.org:10003 08:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:17 Configure a credential helper to remove this warning. See 08:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:17 08:46:17 Login Succeeded 08:46:17 nexus3.edgexfoundry.org:10004 08:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:17 Configure a credential helper to remove this warning. See 08:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:17 08:46:17 Login Succeeded 08:46:17 docker.io 08:46:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:17 Configure a credential helper to remove this warning. See 08:46:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:17 08:46:17 Login Succeeded 08:46:17 ---> docker-login.sh ends [Pipeline] } 08:46:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:46:18 + git rev-list -1 --merges d466526941577fbd373ebce709283655f16e1fd0~1..d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] echo 08:46:18 -----------> git rev-list -1 --merges d466526941577fbd373ebce709283655f16e1fd0~1..d466526941577fbd373ebce709283655f16e1fd0 d466526941577fbd373ebce709283655f16e1fd0 [false] [Pipeline] sh 08:46:18 + git log --format=format:%s -1 d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] echo 08:46:18 ========================================================= 08:46:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:46:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:46:18 + git log --format=format:%s -1 d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] echo 08:46:18 [semverPrep] GIT_COMMIT: d466526941577fbd373ebce709283655f16e1fd0, Commit Message: feat(snap): use new version of hooks with bug fix [Pipeline] echo 08:46:18 [semverPrep] This is not a build commit. [Pipeline] sh 08:46:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:46:19 + grep -v github /etc/ssh/ssh_known_hosts 08:46:19 + [ -e /tmp/ssh_known_hosts ] 08:46:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:46:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:46:19 + sudo tee -a /etc/ssh/ssh_known_hosts 08:46:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 08:46:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:46:19 08:46:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 08:46:19 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:46:19 latest: Pulling from edgex-devops/git-semver 08:46:19 a0d0a0d46f8b: Pulling fs layer 08:46:19 3e5f54012d9b: Pulling fs layer 08:46:19 4c7163046ea9: Pulling fs layer 08:46:19 0c2d73faf560: Pulling fs layer 08:46:19 0c2d73faf560: Waiting 08:46:19 3e5f54012d9b: Verifying Checksum 08:46:19 3e5f54012d9b: Download complete 08:46:19 a0d0a0d46f8b: Verifying Checksum 08:46:19 a0d0a0d46f8b: Download complete 08:46:20 0c2d73faf560: Verifying Checksum 08:46:20 0c2d73faf560: Download complete 08:46:20 4c7163046ea9: Verifying Checksum 08:46:20 4c7163046ea9: Download complete 08:46:20 a0d0a0d46f8b: Pull complete 08:46:20 3e5f54012d9b: Pull complete 08:46:20 4c7163046ea9: Pull complete 08:46:21 0c2d73faf560: Pull complete 08:46:21 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 08:46:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 08:46:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 08:46:21 prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container 08:46:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 08:46:22 $ docker top 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:46:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:46:22 [ssh-agent] Looking for ssh-agent implementation... 08:46:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:46:22 $ docker exec 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f ssh-agent 08:46:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXldDbEi/agent.14 08:46:23 SSH_AGENT_PID=21 08:46:23 Running ssh-add (command line suppressed) 08:46:23 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_3120848554345478535.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_3120848554345478535.key) 08:46:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:46:23 + git tag --points-at HEAD [Pipeline] } 08:46:23 $ docker exec --env ******** --env ******** 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f ssh-agent -k 08:46:23 unset SSH_AUTH_SOCK; 08:46:23 unset SSH_AGENT_PID; 08:46:23 echo Agent pid 21 killed; 08:46:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:46:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:46:23 [ssh-agent] Looking for ssh-agent implementation... 08:46:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:46:23 $ docker exec 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f ssh-agent 08:46:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNeABBF/agent.54 08:46:23 SSH_AGENT_PID=62 08:46:23 Running ssh-add (command line suppressed) 08:46:24 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_1208328137541918804.key (/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/private_key_1208328137541918804.key) 08:46:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:46:24 + git semver init 08:46:24 # -> Open(): unable to determine branch for HEAD 08:46:24 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.git 08:46:24 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_PR-365 08:46:24 # $SEMVER_REMOTE_NAME = origin 08:46:24 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 08:46:24 # $SEMVER_USER_NAME = edgex-jenkins 08:46:24 # $SEMVER_BRANCH = PR-365 08:46:24 # $SEMVER_TEMP = /tmp/semver-429980842 08:46:24 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 08:46:25 # '/tmp/semver-429980842' -> '/w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver' 08:46:25 # -> Force: false 08:46:25 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_PR-365/.semver [Pipeline] } 08:46:25 $ docker exec --env ******** --env ******** 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f ssh-agent -k 08:46:25 unset SSH_AUTH_SOCK; 08:46:25 unset SSH_AGENT_PID; 08:46:25 echo Agent pid 62 killed; 08:46:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:46:25 + git semver [Pipeline] } 08:46:25 $ docker stop --time=1 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f 08:46:27 $ docker rm -f 2f50d7b84dd24286942131140eeb2f990a4318b8f6b23d97d557ad4b0c53625f [Pipeline] // withDockerContainer [Pipeline] sh 08:46:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:46:27 Stashed 1 file(s) [Pipeline] echo 08:46:27 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:46:28 provisioning config files... 08:46:28 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config3829895364061226505tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:46:28 ---> docker-login.sh 08:46:28 nexus3.edgexfoundry.org:10001 08:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:28 Configure a credential helper to remove this warning. See 08:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:28 08:46:28 Login Succeeded 08:46:28 nexus3.edgexfoundry.org:10002 08:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:28 Configure a credential helper to remove this warning. See 08:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:28 08:46:28 Login Succeeded 08:46:28 nexus3.edgexfoundry.org:10003 08:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:28 Configure a credential helper to remove this warning. See 08:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:28 08:46:28 Login Succeeded 08:46:28 nexus3.edgexfoundry.org:10004 08:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:28 Configure a credential helper to remove this warning. See 08:46:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:28 08:46:28 Login Succeeded 08:46:28 docker.io 08:46:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:46:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:46:29 Configure a credential helper to remove this warning. See 08:46:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:46:29 08:46:29 Login Succeeded 08:46:29 ---> docker-login.sh ends [Pipeline] } 08:46:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:46:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:46:29 ========================================================= 08:46:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 08:46:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:46:29 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:46:29 Sending build context to Docker daemon 5.869MB 08:46:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:46:29 Step 2/12 : FROM ${BASE} AS builder 08:46:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 08:46:29 59bf1c3509f3: Pulling fs layer 08:46:29 666ba61612fd: Pulling fs layer 08:46:29 8ed8ca486205: Pulling fs layer 08:46:29 4fe6c5a15a65: Pulling fs layer 08:46:29 22a0e8bec74d: Pulling fs layer 08:46:29 640e595b4fbd: Pulling fs layer 08:46:29 763cafe07f6e: Pulling fs layer 08:46:29 0c0b528cf693: Pulling fs layer 08:46:29 10935f4eaf8b: Pulling fs layer 08:46:29 763cafe07f6e: Waiting 08:46:29 4fe6c5a15a65: Waiting 08:46:29 10935f4eaf8b: Waiting 08:46:29 22a0e8bec74d: Waiting 08:46:29 640e595b4fbd: Waiting 08:46:29 8ed8ca486205: Verifying Checksum 08:46:29 8ed8ca486205: Download complete 08:46:29 666ba61612fd: Download complete 08:46:29 22a0e8bec74d: Verifying Checksum 08:46:29 22a0e8bec74d: Download complete 08:46:29 640e595b4fbd: Verifying Checksum 08:46:29 640e595b4fbd: Download complete 08:46:29 59bf1c3509f3: Verifying Checksum 08:46:29 59bf1c3509f3: Download complete 08:46:29 763cafe07f6e: Verifying Checksum 08:46:29 763cafe07f6e: Download complete 08:46:29 0c0b528cf693: Verifying Checksum 08:46:29 0c0b528cf693: Download complete 08:46:29 59bf1c3509f3: Pull complete 08:46:30 666ba61612fd: Pull complete 08:46:30 8ed8ca486205: Pull complete 08:46:30 10935f4eaf8b: Verifying Checksum 08:46:30 10935f4eaf8b: Download complete 08:46:30 4fe6c5a15a65: Verifying Checksum 08:46:30 4fe6c5a15a65: Download complete 08:46:34 4fe6c5a15a65: Pull complete 08:46:34 22a0e8bec74d: Pull complete 08:46:34 640e595b4fbd: Pull complete 08:46:34 763cafe07f6e: Pull complete 08:46:34 0c0b528cf693: Pull complete 08:46:37 10935f4eaf8b: Pull complete 08:46:37 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 08:46:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 08:46:37 ---> 99d49a6021b9 08:46:37 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:46:39 ---> Running in 65d21ece51a2 08:46:39 Removing intermediate container 65d21ece51a2 08:46:39 ---> f2400eb56c4d 08:46:39 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:46:39 ---> Running in bc19e36b9ba8 08:46:39 Removing intermediate container bc19e36b9ba8 08:46:39 ---> b523d733ae84 08:46:39 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:46:39 ---> Running in 7bcae306b8a1 08:46:39 Removing intermediate container 7bcae306b8a1 08:46:39 ---> 05ce745b0fec 08:46:39 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:46:39 ---> Running in 7e5802628ccb 08:46:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:46:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:46:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:46:41 (2/4) Installing libedit (20210910.3.1-r0) 08:46:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:46:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:46:41 Executing busybox-1.34.1-r3.trigger 08:46:41 OK: 224 MiB in 56 packages 08:46:42 Removing intermediate container 7e5802628ccb 08:46:42 ---> fc443922f463 08:46:42 Step 7/12 : WORKDIR /device-mqtt-go 08:46:42 ---> Running in 79be14061c8a 08:46:42 Removing intermediate container 79be14061c8a 08:46:42 ---> fa5654cf30a3 08:46:42 Step 8/12 : COPY go.mod vendor* ./ 08:46:42 ---> 9e1b2102f2e2 08:46:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:46:42 ---> Running in 71863f03a67d 08:46:43 Still waiting to schedule task 08:46:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-21760’ is offline 08:47:04 Removing intermediate container 71863f03a67d 08:47:04 ---> 46cdcaf02f16 08:47:04 Step 10/12 : COPY . . 08:47:04 ---> 766a78aa5211 08:47:04 Step 11/12 : ARG MAKE='make build' 08:47:04 ---> Running in 3ff0acb98c14 08:47:04 Removing intermediate container 3ff0acb98c14 08:47:04 ---> 87d797c98237 08:47:04 Step 12/12 : RUN $MAKE 08:47:04 ---> Running in d8d8b6e8226b 08:47:04 noop 08:47:04 Removing intermediate container d8d8b6e8226b 08:47:04 ---> af239debe155 08:47:04 Successfully built af239debe155 08:47:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 08:47:05 + docker inspect -f . ci-base-image-x86_64 08:47:05 . [Pipeline] withDockerContainer 08:47:05 prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container 08:47:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:47:05 $ docker top 7b7001c5fb906e9e53779e642396494145d01d38a90dc9dc12288ffb88c05c5d -eo pid,comm [Pipeline] { [Pipeline] sh 08:47:05 + go version 08:47:05 go version go1.17.6 linux/amd64 [Pipeline] } 08:47:05 $ docker stop --time=1 7b7001c5fb906e9e53779e642396494145d01d38a90dc9dc12288ffb88c05c5d 08:47:07 $ docker rm -f 7b7001c5fb906e9e53779e642396494145d01d38a90dc9dc12288ffb88c05c5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:47:07 + docker inspect -f . ci-base-image-x86_64 08:47:07 . [Pipeline] withDockerContainer 08:47:07 prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container 08:47:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:47:08 $ docker top 08e48b10a766bbce6e788fcf665ec39b6848833f306ad52d32da4aced804d1c0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:47:08 + make test 08:47:08 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:47:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:47:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:47:19 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 08:47:19 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:47:25 GCO_ENABLED=1 GO111MODULE=on go vet ./... 08:47:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:47:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:47:28 ./bin/test-attribution-txt.sh [Pipeline] echo 08:47:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:47:29 $ docker stop --time=1 08e48b10a766bbce6e788fcf665ec39b6848833f306ad52d32da4aced804d1c0 08:47:31 $ docker rm -f 08e48b10a766bbce6e788fcf665ec39b6848833f306ad52d32da4aced804d1c0 [Pipeline] // withDockerContainer [Pipeline] sh 08:47:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:47:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:47:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:47:33 + ls -al . 08:47:33 total 176 08:47:33 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 08:47 . 08:47:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:46 .. 08:47:33 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 08:46 .dockerignore 08:47:33 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:46 .git 08:47:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:46 .github 08:47:33 -rw-rw-r-- 1 jenkins jenkins 329 Apr 22 08:46 .gitignore 08:47:33 -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 08:46 .golangci.yml 08:47:33 drwx------ 3 jenkins jenkins 4096 Apr 22 08:46 .semver 08:47:33 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 22 08:46 Attribution.txt 08:47:33 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 22 08:46 CHANGELOG.md 08:47:33 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:46 Dockerfile 08:47:33 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 08:46 GOVERNANCE.md 08:47:33 -rw-rw-r-- 1 jenkins jenkins 678 Apr 22 08:46 Jenkinsfile 08:47:33 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 08:46 LICENSE 08:47:33 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:46 Makefile 08:47:33 -rw-rw-r-- 1 jenkins jenkins 620 Apr 22 08:46 OWNERS.md 08:47:33 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 22 08:46 README.md 08:47:33 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:46 VERSION 08:47:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:46 bin 08:47:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:46 cmd 08:47:33 -rw-r--r-- 1 jenkins jenkins 17887 Apr 22 08:47 coverage.out 08:47:33 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 22 08:46 go.mod 08:47:33 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 22 08:46 go.sum 08:47:33 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:46 internal 08:47:33 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:46 mock 08:47:33 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:46 snap 08:47:33 -rw-rw-r-- 1 jenkins jenkins 227 Apr 22 08:46 version.go [Pipeline] isUnix [Pipeline] sh 08:47:33 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d466526941577fbd373ebce709283655f16e1fd0 --label arch=amd64 --label version=0.0.0 . 08:47:33 Sending build context to Docker daemon 5.887MB 08:47:33 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 08:47:33 Step 2/24 : FROM ${BASE} AS builder 08:47:33 ---> af239debe155 08:47:33 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:47:33 ---> Running in 909f8232e426 08:47:33 Removing intermediate container 909f8232e426 08:47:33 ---> ff7642f791a3 08:47:33 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 08:47:33 ---> Running in 43155853db34 08:47:33 Removing intermediate container 43155853db34 08:47:33 ---> 6a2f82cdd64f 08:47:33 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:47:33 ---> Running in ac06aaea5e89 08:47:34 Removing intermediate container ac06aaea5e89 08:47:34 ---> bd0134535ea1 08:47:34 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:47:34 ---> Running in edf1d2ba35c3 08:47:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 08:47:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 08:47:36 OK: 224 MiB in 56 packages 08:47:36 Removing intermediate container edf1d2ba35c3 08:47:36 ---> fb9e68ebfbd2 08:47:36 Step 7/24 : WORKDIR /device-mqtt-go 08:47:36 ---> Running in 388d61bc6fce 08:47:36 Removing intermediate container 388d61bc6fce 08:47:36 ---> b4e1c950d2a9 08:47:36 Step 8/24 : COPY go.mod vendor* ./ 08:47:36 ---> 621a7ba5b987 08:47:36 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:47:36 ---> Running in 42580b43d5ed 08:47:37 Removing intermediate container 42580b43d5ed 08:47:37 ---> 1abd62db4f26 08:47:37 Step 10/24 : COPY . . 08:47:37 ---> befa32570130 08:47:37 Step 11/24 : ARG MAKE='make build' 08:47:37 ---> Running in 0dbab6452417 08:47:37 Removing intermediate container 0dbab6452417 08:47:37 ---> 4068adb2193b 08:47:37 Step 12/24 : RUN $MAKE 08:47:37 ---> Running in 91767d8cc389 08:47:38 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 08:47:59 Removing intermediate container 91767d8cc389 08:47:59 ---> db3ed2edb5fe 08:47:59 Step 13/24 : FROM alpine:3.14 08:47:59 3.14: Pulling from library/alpine 08:47:59 8663204ce13b: Pulling fs layer 08:47:59 8663204ce13b: Verifying Checksum 08:47:59 8663204ce13b: Download complete 08:47:59 8663204ce13b: Pull complete 08:47:59 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:47:59 Status: Downloaded newer image for alpine:3.14 08:47:59 ---> e04c818066af 08:47:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 08:47:59 ---> Running in 4c95b0fd2487 08:47:59 Removing intermediate container 4c95b0fd2487 08:47:59 ---> e96bd3888ba2 08:47:59 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 08:47:59 ---> Running in 57550c66c5dd 08:47:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 08:47:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 08:47:59 (1/6) Installing dumb-init (1.2.5-r1) 08:47:59 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:47:59 (3/6) Installing libsodium (1.0.18-r0) 08:47:59 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:47:59 (5/6) Installing libzmq (4.3.4-r0) 08:47:59 (6/6) Installing zeromq (4.3.4-r0) 08:47:59 Executing busybox-1.33.1-r7.trigger 08:47:59 OK: 8 MiB in 20 packages 08:47:59 Removing intermediate container 57550c66c5dd 08:47:59 ---> 9f86a9cfaf4a 08:47:59 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 08:48:00 ---> 12b76139dc0a 08:48:00 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 08:48:00 ---> a9924981727e 08:48:00 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:48:00 ---> 488655d26c56 08:48:00 Step 19/24 : EXPOSE 59982 08:48:00 ---> Running in 2a4e1e2732ac 08:48:00 Removing intermediate container 2a4e1e2732ac 08:48:00 ---> d11533f44332 08:48:00 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 08:48:01 ---> Running in 9e4106ea4132 08:48:01 Removing intermediate container 9e4106ea4132 08:48:01 ---> 1174c62bb6be 08:48:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:48:01 ---> Running in cf57996491e2 08:48:01 Removing intermediate container cf57996491e2 08:48:01 ---> f4f177e4e47e 08:48:01 Step 22/24 : LABEL arch=amd64 08:48:01 ---> Running in cde1db181285 08:48:01 Removing intermediate container cde1db181285 08:48:01 ---> 5f0b08502f2a 08:48:01 Step 23/24 : LABEL git_sha=d466526941577fbd373ebce709283655f16e1fd0 08:48:01 ---> Running in 811a2f9f028c 08:48:01 Removing intermediate container 811a2f9f028c 08:48:01 ---> 283c0902e75c 08:48:01 Step 24/24 : LABEL version=0.0.0 08:48:01 ---> Running in f024d4342e11 08:48:01 Removing intermediate container f024d4342e11 08:48:01 ---> 877a8344b65b 08:48:01 [Warning] One or more build-args [ARCH] were not consumed 08:48:01 Successfully built 877a8344b65b 08:48:01 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 08:48:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:48:01 08:48:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 08:48:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:48:02 latest: Pulling from edgex-lftools-log-publisher 08:48:02 5eb5b503b376: Pulling fs layer 08:48:02 5c69ac0246d0: Pulling fs layer 08:48:02 ec43610c2a17: Pulling fs layer 08:48:02 3a2ae6a8a46f: Pulling fs layer 08:48:02 33b1e0a273af: Pulling fs layer 08:48:02 5d3b04190fa2: Pulling fs layer 08:48:02 2f39f015ded8: Pulling fs layer 08:48:02 33b1e0a273af: Waiting 08:48:02 5d3b04190fa2: Waiting 08:48:02 2f39f015ded8: Waiting 08:48:02 3a2ae6a8a46f: Waiting 08:48:02 5c69ac0246d0: Verifying Checksum 08:48:02 5c69ac0246d0: Download complete 08:48:02 3a2ae6a8a46f: Verifying Checksum 08:48:02 3a2ae6a8a46f: Download complete 08:48:02 33b1e0a273af: Verifying Checksum 08:48:02 33b1e0a273af: Download complete 08:48:02 ec43610c2a17: Verifying Checksum 08:48:02 ec43610c2a17: Download complete 08:48:02 5d3b04190fa2: Verifying Checksum 08:48:02 5d3b04190fa2: Download complete 08:48:02 5eb5b503b376: Verifying Checksum 08:48:02 5eb5b503b376: Download complete 08:48:03 2f39f015ded8: Download complete 08:48:03 5eb5b503b376: Pull complete 08:48:03 5c69ac0246d0: Pull complete 08:48:04 ec43610c2a17: Pull complete 08:48:04 3a2ae6a8a46f: Pull complete 08:48:04 33b1e0a273af: Pull complete 08:48:04 5d3b04190fa2: Pull complete 08:48:10 2f39f015ded8: Pull complete 08:48:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:48:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:48:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 08:48:10 prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container 08:48:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:48:12 $ docker top cf4a34666ef9ed40fb0d2bd58e5ae213cf86be2a5efd3af642f5c97862f011e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:13 ---> job-cost.sh 08:48:13 lf-activate-venv: SKIPPING 08:48:13 INFO: No Stack... 08:48:13 INFO: Retrieving Pricing Info for: v3-standard-8 08:48:13 INFO: Archiving Costs [Pipeline] sh 08:48:14 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/cost.csv 08:48:14 + cut -d, -f6 [Pipeline] lock 08:48:14 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] 08:48:14 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] did not exist. Created. 08:48:14 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:48:14 + echo total: 0.2199999988079071 [Pipeline] stash 08:48:14 Stashed 1 file(s) [Pipeline] } 08:48:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:48:14 $ docker stop --time=1 cf4a34666ef9ed40fb0d2bd58e5ae213cf86be2a5efd3af642f5c97862f011e3 08:48:15 $ docker rm -f cf4a34666ef9ed40fb0d2bd58e5ae213cf86be2a5efd3af642f5c97862f011e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:48:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21763 in /w/workspace/gexfoundry_device-mqtt-go_PR-365 [Pipeline] { [Pipeline] ws 08:48:17 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 08:48:18 Selected Git installation does not exist. Using Default 08:48:18 The recommended git tool is: NONE 08:48:24 using credential edgex-jenkins-ssh 08:48:24 Cloning the remote Git repository 08:48:24 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 08:48:24 > git init /w/workspace/device-mqtt-go/3 # timeout=10 08:48:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:48:24 > git --version # timeout=10 08:48:24 > git --version # 'git version 2.25.1' 08:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:48:26 Merging remotes/origin/main commit 4d191eb3dac98c01714bec6e3dd8edd5055992ab into PR head commit d466526941577fbd373ebce709283655f16e1fd0 08:48:26 Merge succeeded, producing d466526941577fbd373ebce709283655f16e1fd0 08:48:26 Checking out Revision d466526941577fbd373ebce709283655f16e1fd0 (PR-365) 08:48:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:48:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:48:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 08:48:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 08:48:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/365/head:refs/remotes/origin/PR-365 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:48:26 > git config core.sparsecheckout # timeout=10 08:48:26 > git checkout -f d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 08:48:26 > git remote # timeout=10 08:48:26 > git config --get remote.origin.url # timeout=10 08:48:26 using GIT_SSH to set credentials SSH Credentials for GitHub 08:48:26 > git merge 4d191eb3dac98c01714bec6e3dd8edd5055992ab # timeout=10 08:48:26 > git rev-parse HEAD^{commit} # timeout=10 08:48:26 > git config core.sparsecheckout # timeout=10 08:48:26 > git checkout -f d466526941577fbd373ebce709283655f16e1fd0 # timeout=10 08:48:31 Commit message: "feat(snap): use new version of hooks with bug fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:48:32 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:48:32 % Total % Received % Xferd Average Speed Time Time Time Current 08:48:32 Dload Upload Total Spent Left Speed 08:48:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 92523 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh 08:48:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:48:32 + sudo tee /etc/docker/daemon.new 08:48:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:48:32 { 08:48:32 "registry-mirrors": [ 08:48:32 "https://nexus3.edgexfoundry.org:10001" 08:48:32 ], 08:48:32 "bip": "10.250.0.254/24", 08:48:32 "hosts": [ 08:48:32 "tcp://0.0.0.0:5555", 08:48:32 "unix:///var/run/docker.sock" 08:48:32 ], 08:48:32 "mtu": 1458, 08:48:32 "selinux-enabled": true, 08:48:32 "seccomp-profile": "/etc/docker/seccomp.json" 08:48:32 } [Pipeline] sh 08:48:33 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:48:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:48:52 provisioning config files... 08:48:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config6060633341724549030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:48:52 ---> docker-login.sh 08:48:52 nexus3.edgexfoundry.org:10001 08:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:53 Configure a credential helper to remove this warning. See 08:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:53 08:48:53 Login Succeeded 08:48:53 nexus3.edgexfoundry.org:10002 08:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:53 Configure a credential helper to remove this warning. See 08:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:53 08:48:53 Login Succeeded 08:48:53 nexus3.edgexfoundry.org:10003 08:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:54 Configure a credential helper to remove this warning. See 08:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:54 08:48:54 Login Succeeded 08:48:54 nexus3.edgexfoundry.org:10004 08:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:54 Configure a credential helper to remove this warning. See 08:48:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:54 08:48:54 Login Succeeded 08:48:54 docker.io 08:48:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:48:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:48:55 Configure a credential helper to remove this warning. See 08:48:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:48:55 08:48:55 Login Succeeded 08:48:55 ---> docker-login.sh ends [Pipeline] } 08:48:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:48:56 ========================================================= 08:48:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 08:48:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 08:48:56 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 08:48:56 Sending build context to Docker daemon 3.081MB 08:48:56 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 08:48:56 Step 2/12 : FROM ${BASE} AS builder 08:48:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 08:48:57 9b3977197b4f: Pulling fs layer 08:48:57 1a89e8eeedd5: Pulling fs layer 08:48:57 94645a83ff95: Pulling fs layer 08:48:57 3f3a8bcf1eab: Pulling fs layer 08:48:57 0c92f367c5e7: Pulling fs layer 08:48:57 f7c0051592d6: Pulling fs layer 08:48:57 a227ed2f7395: Pulling fs layer 08:48:57 7b1c46037f91: Pulling fs layer 08:48:57 f7c0051592d6: Waiting 08:48:57 a227ed2f7395: Waiting 08:48:57 7b1c46037f91: Waiting 08:48:57 3f3a8bcf1eab: Waiting 08:48:57 0c92f367c5e7: Waiting 08:48:57 94645a83ff95: Download complete 08:48:57 1a89e8eeedd5: Verifying Checksum 08:48:57 1a89e8eeedd5: Download complete 08:48:57 0c92f367c5e7: Verifying Checksum 08:48:57 0c92f367c5e7: Download complete 08:48:57 f7c0051592d6: Verifying Checksum 08:48:57 f7c0051592d6: Download complete 08:48:57 9b3977197b4f: Verifying Checksum 08:48:57 9b3977197b4f: Download complete 08:48:57 a227ed2f7395: Verifying Checksum 08:48:57 a227ed2f7395: Download complete 08:48:57 9b3977197b4f: Pull complete 08:48:58 1a89e8eeedd5: Pull complete 08:48:58 94645a83ff95: Pull complete 08:48:59 7b1c46037f91: Download complete 08:48:59 3f3a8bcf1eab: Verifying Checksum 08:48:59 3f3a8bcf1eab: Download complete 08:49:12 3f3a8bcf1eab: Pull complete 08:49:12 0c92f367c5e7: Pull complete 08:49:12 f7c0051592d6: Pull complete 08:49:12 a227ed2f7395: Pull complete 08:49:18 7b1c46037f91: Pull complete 08:49:18 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 08:49:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 08:49:18 ---> f79e39bc4007 08:49:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:49:19 ---> Running in 156894f6165a 08:49:19 Removing intermediate container 156894f6165a 08:49:19 ---> e044d8830aae 08:49:19 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 08:49:20 ---> Running in 8beaa5ffd0c9 08:49:20 Removing intermediate container 8beaa5ffd0c9 08:49:20 ---> e15dcd5a1627 08:49:20 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:49:20 ---> Running in d0f30ee9360c 08:49:22 Removing intermediate container d0f30ee9360c 08:49:22 ---> 98ec65651977 08:49:22 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:49:22 ---> Running in 6979b3dfd30a 08:49:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:49:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:49:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 08:49:24 (2/4) Installing libedit (20210910.3.1-r0) 08:49:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 08:49:25 (4/4) Installing openssh-client-default (8.8_p1-r1) 08:49:25 Executing busybox-1.34.1-r3.trigger 08:49:25 OK: 224 MiB in 56 packages 08:49:26 Removing intermediate container 6979b3dfd30a 08:49:26 ---> fcd73cda3a39 08:49:26 Step 7/12 : WORKDIR /device-mqtt-go 08:49:26 ---> Running in c17d3858f141 08:49:27 Removing intermediate container c17d3858f141 08:49:27 ---> 6ac2569c01b7 08:49:27 Step 8/12 : COPY go.mod vendor* ./ 08:49:27 ---> 4cfbdbba953e 08:49:27 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:49:28 ---> Running in 64c6955c1acc 08:50:15 Removing intermediate container 64c6955c1acc 08:50:15 ---> 05f4c0edb2ed 08:50:15 Step 10/12 : COPY . . 08:50:15 ---> 3a0bdc5dd494 08:50:15 Step 11/12 : ARG MAKE='make build' 08:50:15 ---> Running in 0db95eeca280 08:50:15 Removing intermediate container 0db95eeca280 08:50:15 ---> 97a797bbbf80 08:50:15 Step 12/12 : RUN $MAKE 08:50:15 ---> Running in 57140a7a9191 08:50:15 noop 08:50:15 Removing intermediate container 57140a7a9191 08:50:15 ---> 69f17096797e 08:50:15 Successfully built 69f17096797e 08:50:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 08:50:15 + docker inspect -f . ci-base-image-arm64 08:50:15 . [Pipeline] withDockerContainer 08:50:15 prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container 08:50:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:50:17 $ docker top b7ccbca0842c1720047c08cd902ec9e738c5b9459a4b3a3d71be042f4c3d3daf -eo pid,comm [Pipeline] { [Pipeline] sh 08:50:18 + go version 08:50:18 go version go1.17.6 linux/arm64 [Pipeline] } 08:50:18 $ docker stop --time=1 b7ccbca0842c1720047c08cd902ec9e738c5b9459a4b3a3d71be042f4c3d3daf 08:50:19 $ docker rm -f b7ccbca0842c1720047c08cd902ec9e738c5b9459a4b3a3d71be042f4c3d3daf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 08:50:20 + docker inspect -f . ci-base-image-arm64 08:50:20 . [Pipeline] withDockerContainer 08:50:20 prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container 08:50:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 08:50:21 $ docker top 878248096bbe594f32b138bea434859ba19e70a19b3133d5de0e5fb6ceab417e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 08:50:22 + make test 08:50:22 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 08:50:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:51:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:51:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 08:51:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:51:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:51:46 GCO_ENABLED=1 GO111MODULE=on go vet ./... 08:52:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:52:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:52:08 ./bin/test-attribution-txt.sh [Pipeline] echo 08:52:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:52:10 $ docker stop --time=1 878248096bbe594f32b138bea434859ba19e70a19b3133d5de0e5fb6ceab417e 08:52:12 $ docker rm -f 878248096bbe594f32b138bea434859ba19e70a19b3133d5de0e5fb6ceab417e [Pipeline] // withDockerContainer [Pipeline] sh 08:52:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:52:13 Warning: overwriting stash ‘coverage-report’ 08:52:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:52:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:52:14 + ls -al . 08:52:14 total 172 08:52:14 drwxrwxr-x 9 jenkins jenkins 4096 Apr 22 08:52 . 08:52:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:48 .. 08:52:14 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 08:48 .dockerignore 08:52:14 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 08:48 .git 08:52:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 .github 08:52:14 -rw-rw-r-- 1 jenkins jenkins 329 Apr 22 08:48 .gitignore 08:52:14 -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 08:48 .golangci.yml 08:52:14 -rw-rw-r-- 1 jenkins jenkins 8523 Apr 22 08:48 Attribution.txt 08:52:14 -rw-rw-r-- 1 jenkins jenkins 7447 Apr 22 08:48 CHANGELOG.md 08:52:14 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:48 Dockerfile 08:52:14 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 08:48 GOVERNANCE.md 08:52:14 -rw-rw-r-- 1 jenkins jenkins 678 Apr 22 08:48 Jenkinsfile 08:52:14 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 22 08:48 LICENSE 08:52:14 -rw-rw-r-- 1 jenkins jenkins 1930 Apr 22 08:48 Makefile 08:52:14 -rw-rw-r-- 1 jenkins jenkins 620 Apr 22 08:48 OWNERS.md 08:52:14 -rw-rw-r-- 1 jenkins jenkins 2643 Apr 22 08:48 README.md 08:52:14 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 08:46 VERSION 08:52:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:48 bin 08:52:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 cmd 08:52:14 -rw-r--r-- 1 jenkins jenkins 17887 Apr 22 08:51 coverage.out 08:52:14 -rw-rw-r-- 1 jenkins jenkins 3216 Apr 22 08:48 go.mod 08:52:14 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 22 08:48 go.sum 08:52:14 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 08:48 internal 08:52:14 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 08:48 mock 08:52:14 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 08:48 snap 08:52:14 -rw-rw-r-- 1 jenkins jenkins 227 Apr 22 08:48 version.go [Pipeline] isUnix [Pipeline] sh 08:52:14 + 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=d466526941577fbd373ebce709283655f16e1fd0 --label arch=arm64 --label version=0.0.0 . 08:52:14 Sending build context to Docker daemon 3.099MB 08:52:14 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 08:52:14 Step 2/24 : FROM ${BASE} AS builder 08:52:14 ---> 69f17096797e 08:52:14 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 08:52:15 ---> Running in dd35793066eb 08:52:15 Removing intermediate container dd35793066eb 08:52:15 ---> 1e1e62f67092 08:52:15 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 08:52:15 ---> Running in bff8f2e1a608 08:52:15 Removing intermediate container bff8f2e1a608 08:52:15 ---> 36637b1e7042 08:52:15 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:52:15 ---> Running in 79ab108cee44 08:52:17 Removing intermediate container 79ab108cee44 08:52:17 ---> 5fac05ad4a0b 08:52:17 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:52:17 ---> Running in a3d0b46a4fec 08:52:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:52:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:52:20 OK: 224 MiB in 56 packages 08:52:20 Removing intermediate container a3d0b46a4fec 08:52:20 ---> 1597fc454e06 08:52:20 Step 7/24 : WORKDIR /device-mqtt-go 08:52:21 ---> Running in 2378c236aa5f 08:52:21 Removing intermediate container 2378c236aa5f 08:52:21 ---> 344e0b2afc9b 08:52:21 Step 8/24 : COPY go.mod vendor* ./ 08:52:22 ---> bbe082a1eceb 08:52:22 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:52:22 ---> Running in 9c99f76cf890 08:52:24 Removing intermediate container 9c99f76cf890 08:52:24 ---> b646ec287737 08:52:24 Step 10/24 : COPY . . 08:52:25 ---> ed841767d51a 08:52:25 Step 11/24 : ARG MAKE='make build' 08:52:25 ---> Running in 0bc6b39b28f9 08:52:25 Removing intermediate container 0bc6b39b28f9 08:52:25 ---> 40a6162964f8 08:52:25 Step 12/24 : RUN $MAKE 08:52:25 ---> Running in 3f5075acecd3 08:52:26 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 08:54:33 Removing intermediate container 3f5075acecd3 08:54:33 ---> dfd50282de22 08:54:33 Step 13/24 : FROM alpine:3.14 08:54:33 3.14: Pulling from library/alpine 08:54:33 455c02918c45: Pulling fs layer 08:54:33 455c02918c45: Verifying Checksum 08:54:33 455c02918c45: Download complete 08:54:33 455c02918c45: Pull complete 08:54:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:54:33 Status: Downloaded newer image for alpine:3.14 08:54:33 ---> ac73e934f311 08:54:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 08:54:33 ---> Running in 5cae67733fbe 08:54:33 Removing intermediate container 5cae67733fbe 08:54:33 ---> e4f350b04454 08:54:33 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 08:54:33 ---> Running in 69c59ff859dc 08:54:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:54:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:54:33 (1/6) Installing dumb-init (1.2.5-r1) 08:54:33 (2/6) Installing libgcc (10.3.1_git20210424-r2) 08:54:33 (3/6) Installing libsodium (1.0.18-r0) 08:54:33 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 08:54:33 (5/6) Installing libzmq (4.3.4-r0) 08:54:33 (6/6) Installing zeromq (4.3.4-r0) 08:54:33 Executing busybox-1.33.1-r7.trigger 08:54:33 OK: 8 MiB in 20 packages 08:54:33 Removing intermediate container 69c59ff859dc 08:54:33 ---> 8b40672b9510 08:54:33 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 08:54:33 ---> fff02adb5a48 08:54:33 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 08:54:33 ---> 1a1a0ee88b42 08:54:33 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:54:33 ---> d0ed837651b1 08:54:33 Step 19/24 : EXPOSE 59982 08:54:33 ---> Running in 887301e2eca6 08:54:33 Removing intermediate container 887301e2eca6 08:54:33 ---> 984c717a76d4 08:54:33 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 08:54:33 ---> Running in acc06107d0b7 08:54:33 Removing intermediate container acc06107d0b7 08:54:33 ---> ba972f6cfeb0 08:54:33 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:54:33 ---> Running in e986e661243a 08:54:33 Removing intermediate container e986e661243a 08:54:33 ---> 2ee1805a369b 08:54:33 Step 22/24 : LABEL arch=arm64 08:54:33 ---> Running in 2ea3d711a3ec 08:54:33 Removing intermediate container 2ea3d711a3ec 08:54:33 ---> 873783fb5d34 08:54:33 Step 23/24 : LABEL git_sha=d466526941577fbd373ebce709283655f16e1fd0 08:54:33 ---> Running in 0bd73265b41e 08:54:33 Removing intermediate container 0bd73265b41e 08:54:33 ---> c6cf2715656f 08:54:33 Step 24/24 : LABEL version=0.0.0 08:54:33 ---> Running in 50717916f294 08:54:33 Removing intermediate container 50717916f294 08:54:33 ---> dd23e2a55536 08:54:33 [Warning] One or more build-args [ARCH] were not consumed 08:54:33 Successfully built dd23e2a55536 08:54:33 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 08:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:54:34 08:54:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:54:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:54:34 arm64: Pulling from edgex-lftools-log-publisher 08:54:34 8998bd30e6a1: Pulling fs layer 08:54:34 04944245beec: Pulling fs layer 08:54:34 699f458cf7ca: Pulling fs layer 08:54:34 765212b225bb: Pulling fs layer 08:54:34 f23df028b6ca: Pulling fs layer 08:54:34 d65c8cfc05b1: Pulling fs layer 08:54:34 2437ff75d9bd: Pulling fs layer 08:54:34 2437ff75d9bd: Waiting 08:54:34 765212b225bb: Waiting 08:54:34 f23df028b6ca: Waiting 08:54:34 d65c8cfc05b1: Waiting 08:54:34 04944245beec: Verifying Checksum 08:54:34 04944245beec: Download complete 08:54:34 765212b225bb: Download complete 08:54:34 f23df028b6ca: Download complete 08:54:34 d65c8cfc05b1: Verifying Checksum 08:54:34 d65c8cfc05b1: Download complete 08:54:34 699f458cf7ca: Verifying Checksum 08:54:34 699f458cf7ca: Download complete 08:54:35 8998bd30e6a1: Verifying Checksum 08:54:35 8998bd30e6a1: Download complete 08:54:37 2437ff75d9bd: Verifying Checksum 08:54:37 2437ff75d9bd: Download complete 08:54:39 8998bd30e6a1: Pull complete 08:54:39 04944245beec: Pull complete 08:54:41 699f458cf7ca: Pull complete 08:54:41 765212b225bb: Pull complete 08:54:42 f23df028b6ca: Pull complete 08:54:42 d65c8cfc05b1: Pull complete 08:54:57 2437ff75d9bd: Pull complete 08:54:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:54:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:54:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:54:57 prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container 08:54:57 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:55:00 $ docker top 188c9db0d7492f13c6bdece4d79b1e005df08e81131b3fe275b0cfae9b7e2888 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:55:01 ---> job-cost.sh 08:55:01 lf-activate-venv: SKIPPING 08:55:01 INFO: No Stack... 08:55:01 INFO: Retrieving Pricing Info for: v3-standard-4 08:55:02 INFO: Archiving Costs [Pipeline] sh 08:55:03 + + cutcat -d, /w/workspace/device-mqtt-go/3/archives/cost.csv -f6 08:55:03 [Pipeline] lock 08:55:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] 08:55:03 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] did not exist. Created. 08:55:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:55:04 /w/workspace/device-mqtt-go/3@tmp/durable-102f7a5b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:55:04 + echo total: 0.10999999940395355 [Pipeline] stash 08:55:04 Warning: overwriting stash ‘stack-cost’ 08:55:04 Stashed 1 file(s) [Pipeline] } 08:55:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-365-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:55:04 $ docker stop --time=1 188c9db0d7492f13c6bdece4d79b1e005df08e81131b3fe275b0cfae9b7e2888 08:55:06 $ docker rm -f 188c9db0d7492f13c6bdece4d79b1e005df08e81131b3fe275b0cfae9b7e2888 [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 08:55:06 provisioning config files... 08:55:06 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config856146462197945189tmp [Pipeline] { [Pipeline] sh 08:55:07 + set +x 08:55:07 + curl -s https://codecov.io/bash 08:55:07 + bash -s -- 08:55:07 08:55:07 _____ _ 08:55:07 / ____| | | 08:55:07 | | ___ __| | ___ ___ _____ __ 08:55:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:55:07 | |___| (_) | (_| | __/ (_| (_) \ V / 08:55:07 \_____\___/ \__,_|\___|\___\___/ \_/ 08:55:07 Bash-1.0.6 08:55:07 08:55:07 08:55:07 ==> git version 2.25.1 found 08:55:07 ==> 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 08:55:07 Release-Date: 2020-01-08 08:55:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:55:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:55:07 ==> Jenkins CI detected. 08:55:07 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-365 08:55:07 project root: . 08:55:07 --> token set from env 08:55:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:55:07 ==> Running gcov in . (disable via -X gcov) 08:55:07 ==> Python coveragepy not found 08:55:07 ==> Searching for coverage reports in: 08:55:07 + . 08:55:07 -> Found 1 reports 08:55:07 ==> Detecting git/mercurial file structure 08:55:07 ==> Reading reports 08:55:07 + ./coverage.out bytes=17887 08:55:07 ==> Appending adjustments 08:55:07 https://docs.codecov.io/docs/fixing-reports 08:55:07 + Found adjustments 08:55:07 ==> Gzipping contents 08:55:07 4.0K /tmp/codecov.HZK1fj.gz 08:55:07 ==> Uploading reports 08:55:07 url: https://codecov.io 08:55:07 query: branch=PR-365&commit=d466526941577fbd373ebce709283655f16e1fd0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 08:55:07 -> Pinging Codecov 08:55:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-365&commit=d466526941577fbd373ebce709283655f16e1fd0&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-365%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=365&job=&cmd_args= 08:55:07 -> Uploading to 08:55:07 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7D719EC7BBE17E464838252E33014C33/d466526941577fbd373ebce709283655f16e1fd0/e10a93c4-9a5f-49fe-9044-5f1ffb58c1b5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T085507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=549ffbfd23039be2578fff6cb3ba2ca57f57f341f5d3d0aa3d0178660b0c3728 08:55:07 % Total % Received % Xferd Average Speed Time Time Time Current 08:55:07 Dload Upload Total Spent Left Speed 08:55:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3244 0 0 100 3244 0 13186 --:--:-- --:--:-- --:--:-- 13186 08:55:07 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/d466526941577fbd373ebce709283655f16e1fd0 [Pipeline] } 08:55:07 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 08:55:08 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives ] 08:55:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 08:55:08 total 16 08:55:08 drwxr-xr-x 3 root root 4096 Apr 22 08:48 . 08:55:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 08:48 .. 08:55:08 drwxr-xr-x 2 root root 4096 Apr 22 08:48 cost 08:55:08 -rw-r--r-- 1 root root 85 Apr 22 08:48 cost.csv 08:55:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 08:55:08 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives 08:55:08 total 16 08:55:08 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 08:48 . 08:55:08 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 08:48 .. 08:55:08 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 08:48 cost 08:55:08 -rw-r--r-- 1 jenkins jenkins 85 Apr 22 08:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:55:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:55:09 ---> package-listing.sh 08:55:09 ++ facter osfamily 08:55:09 ++ tr '[:upper:]' '[:lower:]' 08:55:10 + OS_FAMILY=debian 08:55:10 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-365 08:55:10 + START_PACKAGES=/tmp/packages_start.txt 08:55:10 + END_PACKAGES=/tmp/packages_end.txt 08:55:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:55:10 + PACKAGES=/tmp/packages_start.txt 08:55:10 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 08:55:10 + PACKAGES=/tmp/packages_end.txt 08:55:10 + case "${OS_FAMILY}" in 08:55:10 + dpkg -l 08:55:10 + grep '^ii' 08:55:10 + '[' -f /tmp/packages_start.txt ']' 08:55:10 + '[' -f /tmp/packages_end.txt ']' 08:55:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:55:10 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-365 ']' 08:55:10 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ 08:55:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-365/archives/ [Pipeline] echo 08:55:10 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:55:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:55:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:55:10 . [Pipeline] withDockerContainer 08:55:11 prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container 08:55:11 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-365/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-365 -v /w/workspace/gexfoundry_device-mqtt-go_PR-365:/w/workspace/gexfoundry_device-mqtt-go_PR-365:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:55:11 $ docker top c48b974e624666adee98d0802d067320c5c9b91a1597f1868b471a07460926c3 -eo pid,comm [Pipeline] { [Pipeline] sh 08:55:11 + touch /tmp/pre-build-complete [Pipeline] sh 08:55:11 + mkdir -p /var/log/sysstat [Pipeline] sh 08:55:12 + ls /var/log/sa-host 08:55:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:55:12 provisioning config files... 08:55:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-365@tmp/config5005174901322844479tmp [Pipeline] { [Pipeline] echo 08:55:12 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:55:12 ---> create-netrc.sh [Pipeline] } 08:55:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:55:13 ---> python-tools-install.sh [Pipeline] echo 08:55:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:55:13 ---> sudo-logs.sh 08:55:13 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:55:13 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:55:13 ---> job-cost.sh 08:55:13 lf-activate-venv: SKIPPING 08:55:13 DEBUG: total: 0.2199999988079071 08:55:13 INFO: Retrieving Stack Cost... 08:55:13 INFO: Retrieving Pricing Info for: v3-standard-8 08:55:14 INFO: Archiving Costs [Pipeline] echo 08:55:14 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:55:14 ---> logs-deploy.sh 08:55:14 lf-activate-venv: SKIPPING 08:55:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-365/3 08:55:14 INFO: archiving workspace using pattern(s): 08:55:15 Archives upload complete. 08:55:15 INFO: archiving logs to Nexus