Pull request #380 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 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f rather than 4dd8a77c66c256eb0f31836d0eacf86bc66f086c Obtained Jenkinsfile from ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f 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-ssh9046130670995321797.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh16886139847350053867.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-380/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-380/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15329493867710458359.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh7770835348993439396.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-380/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-380/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17063266854104035820.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47533 in /w/workspace/gexfoundry_device-mqtt-go_PR-380 [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-380 # 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 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f into PR head commit 4dd8a77c66c256eb0f31836d0eacf86bc66f086c Merge succeeded, producing 4dd8a77c66c256eb0f31836d0eacf86bc66f086c Checking out Revision 4dd8a77c66c256eb0f31836d0eacf86bc66f086c (PR-380) > 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/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4dd8a77c66c256eb0f31836d0eacf86bc66f086c # 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 ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4dd8a77c66c256eb0f31836d0eacf86bc66f086c # timeout=10 Commit message: "build(deps): go 1.17 mod tidy" > git rev-list --no-walk 11f89c5b4b45ae4c17f4d6837ffc09f2fe133f6d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:55:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:55:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:55:00 ========================================================= 11:55:00 EdgeX Global Pipelines Version Info 11:55:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 11:55:01 ------------------- 11:55:01 stable info: 11:55:01 ------------------- 11:55:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:55:01 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 11:55:01 Message: update stable to v1.0.227 11:55:02 ------------------- 11:55:02 experimental info: 11:55:02 ------------------- 11:55:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:55:02 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 11:55:02 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-380 [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-380 [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-380 [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4dd8a77c66c256eb0f31836d0eacf86bc66f086c [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4dd8a77 [Pipeline] echo 11:55:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:55:02 provisioning config files... 11:55:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config359817451839188320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:02 ---> docker-login.sh 11:55:02 nexus3.edgexfoundry.org:10001 11:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:03 Configure a credential helper to remove this warning. See 11:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:03 11:55:03 Login Succeeded 11:55:03 nexus3.edgexfoundry.org:10002 11:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:03 Configure a credential helper to remove this warning. See 11:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:03 11:55:03 Login Succeeded 11:55:03 nexus3.edgexfoundry.org:10003 11:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:03 Configure a credential helper to remove this warning. See 11:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:03 11:55:03 Login Succeeded 11:55:03 nexus3.edgexfoundry.org:10004 11:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:03 Configure a credential helper to remove this warning. See 11:55:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:03 11:55:03 Login Succeeded 11:55:03 docker.io 11:55:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:04 Configure a credential helper to remove this warning. See 11:55:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:04 11:55:04 Login Succeeded 11:55:04 ---> docker-login.sh ends [Pipeline] } 11:55:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:55:04 + git rev-list -1 --merges 4dd8a77c66c256eb0f31836d0eacf86bc66f086c~1..4dd8a77c66c256eb0f31836d0eacf86bc66f086c [Pipeline] echo 11:55:04 -----------> git rev-list -1 --merges 4dd8a77c66c256eb0f31836d0eacf86bc66f086c~1..4dd8a77c66c256eb0f31836d0eacf86bc66f086c 4dd8a77c66c256eb0f31836d0eacf86bc66f086c [false] [Pipeline] sh 11:55:05 + git log --format=format:%s -1 4dd8a77c66c256eb0f31836d0eacf86bc66f086c [Pipeline] echo 11:55:05 ========================================================= 11:55:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:55:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:55:05 + git log --format=format:%s -1 4dd8a77c66c256eb0f31836d0eacf86bc66f086c [Pipeline] echo 11:55:05 [semverPrep] GIT_COMMIT: 4dd8a77c66c256eb0f31836d0eacf86bc66f086c, Commit Message: build(deps): go 1.17 mod tidy [Pipeline] echo 11:55:05 [semverPrep] This is not a build commit. [Pipeline] sh 11:55:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:55:05 + grep -v github /etc/ssh/ssh_known_hosts 11:55:05 + [ -e /tmp/ssh_known_hosts ] 11:55:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:55:05 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 11:55:05 -a /etc/ssh/ssh_known_hosts 11:55:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 11:55:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:55:06 11:55:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 11:55:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:55:06 latest: Pulling from edgex-devops/py-git-semver 11:55:06 1fe172e4850f: Pulling fs layer 11:55:06 caf521ccaac6: Pulling fs layer 11:55:06 3ead6fa29328: Pulling fs layer 11:55:06 5c2a1cbceb83: Pulling fs layer 11:55:06 a8d5f1318db7: Pulling fs layer 11:55:06 c427282e49a2: Pulling fs layer 11:55:06 1827001aaf11: Pulling fs layer 11:55:06 0714d37db230: Pulling fs layer 11:55:06 ac28cf19c067: Pulling fs layer 11:55:06 ca983d60f3e2: Pulling fs layer 11:55:06 9f894cec8388: Pulling fs layer 11:55:06 c427282e49a2: Waiting 11:55:06 1827001aaf11: Waiting 11:55:06 0714d37db230: Waiting 11:55:06 ac28cf19c067: Waiting 11:55:06 ca983d60f3e2: Waiting 11:55:06 9f894cec8388: Waiting 11:55:06 5c2a1cbceb83: Waiting 11:55:06 a8d5f1318db7: Waiting 11:55:06 caf521ccaac6: Verifying Checksum 11:55:06 caf521ccaac6: Download complete 11:55:06 5c2a1cbceb83: Verifying Checksum 11:55:06 5c2a1cbceb83: Download complete 11:55:06 a8d5f1318db7: Verifying Checksum 11:55:06 a8d5f1318db7: Download complete 11:55:06 c427282e49a2: Download complete 11:55:06 3ead6fa29328: Verifying Checksum 11:55:06 3ead6fa29328: Download complete 11:55:06 0714d37db230: Download complete 11:55:06 ac28cf19c067: Verifying Checksum 11:55:06 ac28cf19c067: Download complete 11:55:06 ca983d60f3e2: Verifying Checksum 11:55:06 ca983d60f3e2: Download complete 11:55:06 9f894cec8388: Verifying Checksum 11:55:06 9f894cec8388: Download complete 11:55:06 1fe172e4850f: Verifying Checksum 11:55:06 1fe172e4850f: Download complete 11:55:07 1827001aaf11: Verifying Checksum 11:55:07 1827001aaf11: Download complete 11:55:08 1fe172e4850f: Pull complete 11:55:08 caf521ccaac6: Pull complete 11:55:09 3ead6fa29328: Pull complete 11:55:09 5c2a1cbceb83: Pull complete 11:55:09 a8d5f1318db7: Pull complete 11:55:09 c427282e49a2: Pull complete 11:55:12 1827001aaf11: Pull complete 11:55:12 0714d37db230: Pull complete 11:55:12 ac28cf19c067: Pull complete 11:55:12 ca983d60f3e2: Pull complete 11:55:12 9f894cec8388: Pull complete 11:55:12 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 11:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 11:55:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 11:55:12 prd-ubuntu20.04-docker-8c-8g-47533 does not seem to be running inside a container 11:55:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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-devops/py-git-semver:latest cat 11:55:13 $ docker top 0bc40175968d53af7f24f65e7a3f6203e94bb5ef68045af1ddc17c2444185541 -eo pid,comm 11:55:13 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 11:55:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:55:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:55:13 [ssh-agent] Looking for ssh-agent implementation... 11:55:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:55:14 $ docker exec 0bc40175968d53af7f24f65e7a3f6203e94bb5ef68045af1ddc17c2444185541 ssh-agent 11:55:14 SSH_AUTH_SOCK=/tmp/ssh-e9v39odZbod6/agent.34 11:55:14 SSH_AGENT_PID=41 11:55:14 Running ssh-add (command line suppressed) 11:55:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_8862178624388201832.key (/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_8862178624388201832.key) 11:55:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:14 + git tag --points-at HEAD [Pipeline] } 11:55:14 $ docker exec --env ******** --env ******** 0bc40175968d53af7f24f65e7a3f6203e94bb5ef68045af1ddc17c2444185541 ssh-agent -k 11:55:14 unset SSH_AUTH_SOCK; 11:55:14 unset SSH_AGENT_PID; 11:55:14 echo Agent pid 41 killed; 11:55:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:55:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:55:14 [ssh-agent] Looking for ssh-agent implementation... 11:55:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:55:15 $ docker exec 0bc40175968d53af7f24f65e7a3f6203e94bb5ef68045af1ddc17c2444185541 ssh-agent 11:55:15 SSH_AUTH_SOCK=/tmp/ssh-RaprdkEis09q/agent.73 11:55:15 SSH_AGENT_PID=80 11:55:15 Running ssh-add (command line suppressed) 11:55:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_6292695381724836503.key (/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/private_key_6292695381724836503.key) 11:55:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:55:15 + git semver init 11:55:15 2022-05-10 11:55:15,866 [run_init] DEBUG init version:0.0.0 force:False 11:55:15 2022-05-10 11:55:15,866 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver 11:55:15 2022-05-10 11:55:15,867 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver 11:55:15 2022-05-10 11:55:15,867 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380, universal_newlines=False, shell=None, istream=None) 11:55:16 2022-05-10 11:55:16,679 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.git/info/exclude 11:55:16 2022-05-10 11:55:16,679 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 with force:False 11:55:16 2022-05-10 11:55:16,680 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 11:55:16 2022-05-10 11:55:16,685 [execute] INFO git cat-file --batch-check 11:55:16 2022-05-10 11:55:16,685 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 11:55:16 2022-05-10 11:55:16,694 [execute] INFO git cat-file --batch 11:55:16 2022-05-10 11:55:16,694 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver, universal_newlines=False, shell=None, istream=) 11:55:16 2022-05-10 11:55:16,700 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-380/.semver/PR-380 11:55:16 0.0.0 [Pipeline] } 11:55:16 $ docker exec --env ******** --env ******** 0bc40175968d53af7f24f65e7a3f6203e94bb5ef68045af1ddc17c2444185541 ssh-agent -k 11:55:16 unset SSH_AUTH_SOCK; 11:55:16 unset SSH_AGENT_PID; 11:55:16 echo Agent pid 80 killed; 11:55:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:55:17 + git semver [Pipeline] } 11:55:17 $ docker stop --time=1 0bc40175968d53af7f24f65e7a3f6203e94bb5ef68045af1ddc17c2444185541 11:55:18 $ docker rm -f 0bc40175968d53af7f24f65e7a3f6203e94bb5ef68045af1ddc17c2444185541 [Pipeline] // withDockerContainer [Pipeline] sh 11:55:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:55:19 Stashed 1 file(s) [Pipeline] echo 11:55:19 [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 11:55:19 provisioning config files... 11:55:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config1398625596998831753tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:55:20 ---> docker-login.sh 11:55:20 nexus3.edgexfoundry.org:10001 11:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:20 Configure a credential helper to remove this warning. See 11:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:20 11:55:20 Login Succeeded 11:55:20 nexus3.edgexfoundry.org:10002 11:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:20 Configure a credential helper to remove this warning. See 11:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:20 11:55:20 Login Succeeded 11:55:20 nexus3.edgexfoundry.org:10003 11:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:20 Configure a credential helper to remove this warning. See 11:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:20 11:55:20 Login Succeeded 11:55:20 nexus3.edgexfoundry.org:10004 11:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:20 Configure a credential helper to remove this warning. See 11:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:20 11:55:20 Login Succeeded 11:55:20 docker.io 11:55:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:55:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:55:20 Configure a credential helper to remove this warning. See 11:55:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:55:20 11:55:20 Login Succeeded 11:55:20 ---> docker-login.sh ends [Pipeline] } 11:55:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:55:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:55:20 ========================================================= 11:55:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 11:55:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:55:21 + 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 . 11:55:21 Sending build context to Docker daemon 5.939MB 11:55:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:55:21 Step 2/12 : FROM ${BASE} AS builder 11:55:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 11:55:21 59bf1c3509f3: Pulling fs layer 11:55:21 666ba61612fd: Pulling fs layer 11:55:21 8ed8ca486205: Pulling fs layer 11:55:21 4fe6c5a15a65: Pulling fs layer 11:55:21 22a0e8bec74d: Pulling fs layer 11:55:21 ca2b28591e48: Pulling fs layer 11:55:21 a51346096db8: Pulling fs layer 11:55:21 daebc70d1ce1: Pulling fs layer 11:55:21 0e18a0eac166: Pulling fs layer 11:55:21 ca2b28591e48: Waiting 11:55:21 a51346096db8: Waiting 11:55:21 daebc70d1ce1: Waiting 11:55:21 0e18a0eac166: Waiting 11:55:21 4fe6c5a15a65: Waiting 11:55:21 22a0e8bec74d: Waiting 11:55:21 8ed8ca486205: Download complete 11:55:21 666ba61612fd: Download complete 11:55:21 22a0e8bec74d: Verifying Checksum 11:55:21 22a0e8bec74d: Download complete 11:55:21 ca2b28591e48: Verifying Checksum 11:55:21 ca2b28591e48: Download complete 11:55:21 59bf1c3509f3: Verifying Checksum 11:55:21 59bf1c3509f3: Download complete 11:55:21 a51346096db8: Verifying Checksum 11:55:21 a51346096db8: Download complete 11:55:21 daebc70d1ce1: Verifying Checksum 11:55:21 daebc70d1ce1: Download complete 11:55:21 59bf1c3509f3: Pull complete 11:55:21 666ba61612fd: Pull complete 11:55:21 8ed8ca486205: Pull complete 11:55:22 4fe6c5a15a65: Verifying Checksum 11:55:22 4fe6c5a15a65: Download complete 11:55:22 0e18a0eac166: Verifying Checksum 11:55:22 0e18a0eac166: Download complete 11:55:26 4fe6c5a15a65: Pull complete 11:55:26 22a0e8bec74d: Pull complete 11:55:26 ca2b28591e48: Pull complete 11:55:26 a51346096db8: Pull complete 11:55:26 daebc70d1ce1: Pull complete 11:55:29 0e18a0eac166: Pull complete 11:55:29 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 11:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 11:55:29 ---> f018257e8ee9 11:55:29 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:55:31 ---> Running in 3c06025a6066 11:55:31 Removing intermediate container 3c06025a6066 11:55:31 ---> fab6ae5e1fd6 11:55:31 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:55:31 ---> Running in f27e27dcc98c 11:55:31 Removing intermediate container f27e27dcc98c 11:55:31 ---> 6258b67123ca 11:55:31 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:55:31 ---> Running in 60022cfad2b0 11:55:31 Removing intermediate container 60022cfad2b0 11:55:31 ---> e98375d1fd7f 11:55:31 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:55:31 ---> Running in e228a2c478d3 11:55:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:55:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:55:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:55:33 (2/4) Installing libedit (20210910.3.1-r0) 11:55:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:55:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:55:33 Executing busybox-1.34.1-r3.trigger 11:55:33 OK: 224 MiB in 56 packages 11:55:34 Removing intermediate container e228a2c478d3 11:55:34 ---> 34638bdfaa86 11:55:34 Step 7/12 : WORKDIR /device-mqtt-go 11:55:34 ---> Running in bdff8f401cf2 11:55:34 Removing intermediate container bdff8f401cf2 11:55:34 ---> 96937d6e369a 11:55:34 Step 8/12 : COPY go.mod vendor* ./ 11:55:34 ---> 687c4d532f3c 11:55:34 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:55:34 ---> Running in 58324f5cec66 11:55:34 Still waiting to schedule task 11:55:34 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 11:55:49 Removing intermediate container 58324f5cec66 11:55:49 ---> c7eac6ae8fd3 11:55:49 Step 10/12 : COPY . . 11:55:49 ---> 63a3a16fa527 11:55:49 Step 11/12 : ARG MAKE='make build' 11:55:49 ---> Running in d0d45f861deb 11:55:49 Removing intermediate container d0d45f861deb 11:55:49 ---> 8b090dd61d1f 11:55:49 Step 12/12 : RUN $MAKE 11:55:49 ---> Running in a9544676776b 11:55:49 noop 11:55:49 Removing intermediate container a9544676776b 11:55:49 ---> 00244ee2ca3b 11:55:49 Successfully built 00244ee2ca3b 11:55:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 11:55:49 + docker inspect -f . ci-base-image-x86_64 11:55:49 . [Pipeline] withDockerContainer 11:55:49 prd-ubuntu20.04-docker-8c-8g-47533 does not seem to be running inside a container 11:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 ******** ci-base-image-x86_64 cat 11:55:50 $ docker top 5020749b5f2d74f313268c9a3ec679aab4c75ad1a49bbffda12fba96598dd1fb -eo pid,comm [Pipeline] { [Pipeline] sh 11:55:50 + go version 11:55:50 go version go1.17.6 linux/amd64 [Pipeline] } 11:55:50 $ docker stop --time=1 5020749b5f2d74f313268c9a3ec679aab4c75ad1a49bbffda12fba96598dd1fb 11:55:52 $ docker rm -f 5020749b5f2d74f313268c9a3ec679aab4c75ad1a49bbffda12fba96598dd1fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 11:55:52 + docker inspect -f . ci-base-image-x86_64 11:55:52 . [Pipeline] withDockerContainer 11:55:52 prd-ubuntu20.04-docker-8c-8g-47533 does not seem to be running inside a container 11:55:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 ******** ci-base-image-x86_64 cat 11:55:53 $ docker top 7abf930d682d9959c7d96d7b337231645a18f074f43c2a794c90ed4b54de0214 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 11:55:53 + make test 11:55:53 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 11:55:53 ? github.com/edgexfoundry/device-mqtt-go [no test files] 11:56:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 11:56:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements 11:56:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 11:56:11 GCO_ENABLED=1 GO111MODULE=on go vet ./... 11:56:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:56:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:56:16 ./bin/test-attribution-txt.sh [Pipeline] echo 11:56:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:56:16 $ docker stop --time=1 7abf930d682d9959c7d96d7b337231645a18f074f43c2a794c90ed4b54de0214 11:56:18 $ docker rm -f 7abf930d682d9959c7d96d7b337231645a18f074f43c2a794c90ed4b54de0214 [Pipeline] // withDockerContainer [Pipeline] sh 11:56:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:56:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:56:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:56:19 + ls -al . 11:56:19 total 180 11:56:19 drwxrwxr-x 10 jenkins jenkins 4096 May 10 11:56 . 11:56:19 drwxrwxr-x 4 jenkins jenkins 4096 May 10 11:54 .. 11:56:19 -rw-rw-r-- 1 jenkins jenkins 140 May 10 11:54 .dockerignore 11:56:19 drwxrwxr-x 8 jenkins jenkins 4096 May 10 11:55 .git 11:56:19 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:54 .github 11:56:19 -rw-rw-r-- 1 jenkins jenkins 329 May 10 11:54 .gitignore 11:56:19 -rw-rw-r-- 1 jenkins jenkins 41 May 10 11:54 .golangci.yml 11:56:19 drwxr-xr-x 3 jenkins jenkins 4096 May 10 11:55 .semver 11:56:19 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 11:54 Attribution.txt 11:56:19 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 11:54 CHANGELOG.md 11:56:19 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 11:54 Dockerfile 11:56:19 -rw-rw-r-- 1 jenkins jenkins 677 May 10 11:54 GOVERNANCE.md 11:56:19 -rw-rw-r-- 1 jenkins jenkins 678 May 10 11:54 Jenkinsfile 11:56:19 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 11:54 LICENSE 11:56:19 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 11:54 Makefile 11:56:19 -rw-rw-r-- 1 jenkins jenkins 620 May 10 11:54 OWNERS.md 11:56:19 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 11:54 README.md 11:56:19 -rw-rw-r-- 1 jenkins jenkins 5 May 10 11:55 VERSION 11:56:19 drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:54 bin 11:56:19 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:54 cmd 11:56:19 -rw-r--r-- 1 jenkins jenkins 17887 May 10 11:56 coverage.out 11:56:19 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 11:54 go.mod 11:56:19 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 11:54 go.sum 11:56:19 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:54 internal 11:56:19 drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:54 mock 11:56:19 drwxrwxr-x 4 jenkins jenkins 4096 May 10 11:54 snap 11:56:19 -rw-rw-r-- 1 jenkins jenkins 227 May 10 11:54 version.go [Pipeline] isUnix [Pipeline] sh 11:56:20 + 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=4dd8a77c66c256eb0f31836d0eacf86bc66f086c --label arch=amd64 --label version=0.0.0 . 11:56:20 Sending build context to Docker daemon 5.958MB 11:56:20 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 11:56:20 Step 2/24 : FROM ${BASE} AS builder 11:56:20 ---> 00244ee2ca3b 11:56:20 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:56:20 ---> Running in df85fbf93305 11:56:20 Removing intermediate container df85fbf93305 11:56:20 ---> 0e2edb3d83da 11:56:20 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 11:56:20 ---> Running in 8af3e5f51441 11:56:20 Removing intermediate container 8af3e5f51441 11:56:20 ---> 743ed6ffba59 11:56:20 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:56:20 ---> Running in 5f4e90c0891c 11:56:21 Removing intermediate container 5f4e90c0891c 11:56:21 ---> 35f8405e83fa 11:56:21 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:56:21 ---> Running in 85a13e4c8aa7 11:56:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 11:56:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 11:56:22 OK: 224 MiB in 56 packages 11:56:22 Removing intermediate container 85a13e4c8aa7 11:56:22 ---> b0f784f12484 11:56:22 Step 7/24 : WORKDIR /device-mqtt-go 11:56:22 ---> Running in 05c33da26cb1 11:56:22 Removing intermediate container 05c33da26cb1 11:56:22 ---> d9e0b9320cba 11:56:22 Step 8/24 : COPY go.mod vendor* ./ 11:56:23 ---> 1b6ea4208234 11:56:23 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:56:23 ---> Running in 4f3dceb141bf 11:56:23 Removing intermediate container 4f3dceb141bf 11:56:23 ---> a75aa95a2b22 11:56:23 Step 10/24 : COPY . . 11:56:24 ---> 7c7b2b81419f 11:56:24 Step 11/24 : ARG MAKE='make build' 11:56:24 ---> Running in ffaac57b0c7a 11:56:24 Removing intermediate container ffaac57b0c7a 11:56:24 ---> 75ef8ad9cc82 11:56:24 Step 12/24 : RUN $MAKE 11:56:24 ---> Running in d8a8e6128650 11:56:24 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 11:56:46 Removing intermediate container d8a8e6128650 11:56:46 ---> ba3785ac8b94 11:56:46 Step 13/24 : FROM alpine:3.14 11:56:46 3.14: Pulling from library/alpine 11:56:47 8663204ce13b: Pulling fs layer 11:56:47 8663204ce13b: Download complete 11:56:47 8663204ce13b: Pull complete 11:56:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:56:47 Status: Downloaded newer image for alpine:3.14 11:56:47 ---> e04c818066af 11:56:47 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 11:56:47 ---> Running in 1b927c78b9d2 11:56:47 Removing intermediate container 1b927c78b9d2 11:56:47 ---> a0d07d28a785 11:56:47 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 11:56:47 ---> Running in 351dba1ecf30 11:56:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 11:56:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 11:56:48 (1/6) Installing dumb-init (1.2.5-r1) 11:56:48 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:56:48 (3/6) Installing libsodium (1.0.18-r0) 11:56:48 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:56:48 (5/6) Installing libzmq (4.3.4-r0) 11:56:48 (6/6) Installing zeromq (4.3.4-r0) 11:56:48 Executing busybox-1.33.1-r7.trigger 11:56:48 OK: 8 MiB in 20 packages 11:56:48 Removing intermediate container 351dba1ecf30 11:56:48 ---> bbe30ffc892b 11:56:48 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 11:56:49 ---> 76d66fd31858 11:56:49 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 11:56:49 ---> a03ad3fe5608 11:56:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 11:56:49 ---> 583558824f32 11:56:49 Step 19/24 : EXPOSE 59982 11:56:49 ---> Running in 0c6e442df9dc 11:56:49 Removing intermediate container 0c6e442df9dc 11:56:49 ---> 59601edd0e2a 11:56:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 11:56:50 ---> Running in caea955f01c0 11:56:50 Removing intermediate container caea955f01c0 11:56:50 ---> 33b1ff4aa363 11:56:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 11:56:50 ---> Running in 8c8092e428eb 11:56:50 Removing intermediate container 8c8092e428eb 11:56:50 ---> e504d68a2a4d 11:56:50 Step 22/24 : LABEL arch=amd64 11:56:50 ---> Running in c5cf43b7f51d 11:56:50 Removing intermediate container c5cf43b7f51d 11:56:50 ---> 3200ff036286 11:56:50 Step 23/24 : LABEL git_sha=4dd8a77c66c256eb0f31836d0eacf86bc66f086c 11:56:50 ---> Running in 30a6a3f56b17 11:56:50 Removing intermediate container 30a6a3f56b17 11:56:50 ---> d055891731e7 11:56:50 Step 24/24 : LABEL version=0.0.0 11:56:50 ---> Running in f8192ec6d974 11:56:50 Removing intermediate container f8192ec6d974 11:56:50 ---> 7e72e2595e9b 11:56:50 [Warning] One or more build-args [ARCH] were not consumed 11:56:50 Successfully built 7e72e2595e9b 11:56:50 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 11:56:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:56:51 11:56:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 11:56:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:56:51 latest: Pulling from edgex-lftools-log-publisher 11:56:51 5eb5b503b376: Pulling fs layer 11:56:51 5c69ac0246d0: Pulling fs layer 11:56:51 ec43610c2a17: Pulling fs layer 11:56:51 3a2ae6a8a46f: Pulling fs layer 11:56:51 33b1e0a273af: Pulling fs layer 11:56:51 5d3b04190fa2: Pulling fs layer 11:56:51 2f39f015ded8: Pulling fs layer 11:56:51 5d3b04190fa2: Waiting 11:56:51 3a2ae6a8a46f: Waiting 11:56:51 33b1e0a273af: Waiting 11:56:51 2f39f015ded8: Waiting 11:56:51 5c69ac0246d0: Verifying Checksum 11:56:51 5c69ac0246d0: Download complete 11:56:51 3a2ae6a8a46f: Download complete 11:56:51 33b1e0a273af: Verifying Checksum 11:56:51 33b1e0a273af: Download complete 11:56:51 5d3b04190fa2: Verifying Checksum 11:56:51 ec43610c2a17: Verifying Checksum 11:56:51 ec43610c2a17: Download complete 11:56:51 5eb5b503b376: Verifying Checksum 11:56:51 5eb5b503b376: Download complete 11:56:52 2f39f015ded8: Download complete 11:56:53 5eb5b503b376: Pull complete 11:56:53 5c69ac0246d0: Pull complete 11:56:53 ec43610c2a17: Pull complete 11:56:53 3a2ae6a8a46f: Pull complete 11:56:53 33b1e0a273af: Pull complete 11:56:53 5d3b04190fa2: Pull complete 11:56:59 2f39f015ded8: Pull complete 11:56:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:56:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:56:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 11:56:59 prd-ubuntu20.04-docker-8c-8g-47533 does not seem to be running inside a container 11:56:59 $ 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-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 11:57:01 $ docker top 49ab8512539954f7f67fe49dd855780e1d68c13a06132ee2d6efca527aabd0ee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:57:01 ---> job-cost.sh 11:57:01 lf-activate-venv: SKIPPING 11:57:01 INFO: No Stack... 11:57:02 INFO: Retrieving Pricing Info for: v3-standard-8 11:57:02 INFO: Archiving Costs [Pipeline] sh 11:57:02 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/cost.csv 11:57:02 + cut -d, -f6 [Pipeline] lock 11:57:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-380-3-stack-cost] 11:57:02 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-3-stack-cost] did not exist. Created. 11:57:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-380-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:57:02 + echo total: 0.2199999988079071 [Pipeline] stash 11:57:03 Stashed 1 file(s) [Pipeline] } 11:57:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-3-stack-cost] [Pipeline] // lock [Pipeline] } 11:57:03 $ docker stop --time=1 49ab8512539954f7f67fe49dd855780e1d68c13a06132ee2d6efca527aabd0ee 11:57:04 $ docker rm -f 49ab8512539954f7f67fe49dd855780e1d68c13a06132ee2d6efca527aabd0ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:58:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47535 in /w/workspace/gexfoundry_device-mqtt-go_PR-380 [Pipeline] { [Pipeline] ws 11:58:32 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 11:58:32 Selected Git installation does not exist. Using Default 11:58:32 The recommended git tool is: NONE 11:58:38 using credential edgex-jenkins-ssh 11:58:38 Cloning the remote Git repository 11:58:38 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 11:58:39 > git init /w/workspace/device-mqtt-go/3 # timeout=10 11:58:39 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:58:39 > git --version # timeout=10 11:58:39 > git --version # 'git version 2.25.1' 11:58:39 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:58:41 Merging remotes/origin/main commit ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f into PR head commit 4dd8a77c66c256eb0f31836d0eacf86bc66f086c 11:58:41 Merge succeeded, producing 4dd8a77c66c256eb0f31836d0eacf86bc66f086c 11:58:41 Checking out Revision 4dd8a77c66c256eb0f31836d0eacf86bc66f086c (PR-380) 11:58:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:58:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:58:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 11:58:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 11:58:40 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/380/head:refs/remotes/origin/PR-380 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:58:41 > git config core.sparsecheckout # timeout=10 11:58:41 > git checkout -f 4dd8a77c66c256eb0f31836d0eacf86bc66f086c # timeout=10 11:58:41 > git remote # timeout=10 11:58:41 > git config --get remote.origin.url # timeout=10 11:58:41 using GIT_SSH to set credentials SSH Credentials for GitHub 11:58:41 > git merge ab5f3043ed72bb2ff48d9531baacfcdf4db80d1f # timeout=10 11:58:41 > git rev-parse HEAD^{commit} # timeout=10 11:58:41 > git config core.sparsecheckout # timeout=10 11:58:41 > git checkout -f 4dd8a77c66c256eb0f31836d0eacf86bc66f086c # timeout=10 11:58:45 Commit message: "build(deps): go 1.17 mod tidy" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:58:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:58:46 % Total % Received % Xferd Average Speed Time Time Time Current 11:58:46 Dload Upload Total Spent Left Speed 11:58:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh 11:58:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:58:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:58:47 + sudo tee /etc/docker/daemon.new 11:58:47 { 11:58:47 "registry-mirrors": [ 11:58:47 "https://nexus3.edgexfoundry.org:10001" 11:58:47 ], 11:58:47 "bip": "10.250.0.254/24", 11:58:47 "hosts": [ 11:58:47 "tcp://0.0.0.0:5555", 11:58:47 "unix:///var/run/docker.sock" 11:58:47 ], 11:58:47 "mtu": 1458, 11:58:47 "selinux-enabled": true, 11:58:47 "seccomp-profile": "/etc/docker/seccomp.json" 11:58:47 } [Pipeline] sh 11:58:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:58:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:59:06 provisioning config files... 11:59:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config80939823580965450tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:59:06 ---> docker-login.sh 11:59:06 nexus3.edgexfoundry.org:10001 11:59:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:07 Configure a credential helper to remove this warning. See 11:59:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:07 11:59:07 Login Succeeded 11:59:08 nexus3.edgexfoundry.org:10002 11:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:08 Configure a credential helper to remove this warning. See 11:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:08 11:59:08 Login Succeeded 11:59:08 nexus3.edgexfoundry.org:10003 11:59:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:08 Configure a credential helper to remove this warning. See 11:59:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:08 11:59:08 Login Succeeded 11:59:08 nexus3.edgexfoundry.org:10004 11:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:09 Configure a credential helper to remove this warning. See 11:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:09 11:59:09 Login Succeeded 11:59:09 docker.io 11:59:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:59:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:59:09 Configure a credential helper to remove this warning. See 11:59:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:59:09 11:59:09 Login Succeeded 11:59:09 ---> docker-login.sh ends [Pipeline] } 11:59:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:59:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:59:10 ========================================================= 11:59:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 11:59:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 11:59:10 + 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 . 11:59:11 Sending build context to Docker daemon 3.099MB 11:59:11 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 11:59:11 Step 2/12 : FROM ${BASE} AS builder 11:59:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:59:11 9b3977197b4f: Pulling fs layer 11:59:11 1a89e8eeedd5: Pulling fs layer 11:59:11 94645a83ff95: Pulling fs layer 11:59:11 3f3a8bcf1eab: Pulling fs layer 11:59:11 0c92f367c5e7: Pulling fs layer 11:59:11 3096ccb668a1: Pulling fs layer 11:59:11 e8cf19c19ddd: Pulling fs layer 11:59:11 a4caa8a26152: Pulling fs layer 11:59:11 3f3a8bcf1eab: Waiting 11:59:11 0c92f367c5e7: Waiting 11:59:11 3096ccb668a1: Waiting 11:59:11 e8cf19c19ddd: Waiting 11:59:11 a4caa8a26152: Waiting 11:59:11 94645a83ff95: Download complete 11:59:11 1a89e8eeedd5: Verifying Checksum 11:59:11 1a89e8eeedd5: Download complete 11:59:11 0c92f367c5e7: Verifying Checksum 11:59:11 0c92f367c5e7: Download complete 11:59:11 3096ccb668a1: Verifying Checksum 11:59:11 3096ccb668a1: Download complete 11:59:11 9b3977197b4f: Verifying Checksum 11:59:11 9b3977197b4f: Download complete 11:59:11 e8cf19c19ddd: Verifying Checksum 11:59:11 e8cf19c19ddd: Download complete 11:59:12 9b3977197b4f: Pull complete 11:59:12 1a89e8eeedd5: Pull complete 11:59:13 94645a83ff95: Pull complete 11:59:13 a4caa8a26152: Verifying Checksum 11:59:13 a4caa8a26152: Download complete 11:59:14 3f3a8bcf1eab: Verifying Checksum 11:59:14 3f3a8bcf1eab: Download complete 11:59:26 3f3a8bcf1eab: Pull complete 11:59:26 0c92f367c5e7: Pull complete 11:59:26 3096ccb668a1: Pull complete 11:59:27 e8cf19c19ddd: Pull complete 11:59:33 a4caa8a26152: Pull complete 11:59:33 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 11:59:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 11:59:33 ---> 725f1c02e7f9 11:59:33 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:59:34 ---> Running in 9d2e9ec60e37 11:59:34 Removing intermediate container 9d2e9ec60e37 11:59:34 ---> a482e684e324 11:59:34 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 11:59:34 ---> Running in ea28e35acac5 11:59:34 Removing intermediate container ea28e35acac5 11:59:34 ---> 78a6b0c7fff0 11:59:34 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:59:34 ---> Running in cacb6507f3d7 11:59:36 Removing intermediate container cacb6507f3d7 11:59:36 ---> c52dfbc61be5 11:59:36 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:59:36 ---> Running in 282482f4ca61 11:59:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:59:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:59:39 (1/4) Installing openssh-keygen (8.8_p1-r1) 11:59:39 (2/4) Installing libedit (20210910.3.1-r0) 11:59:39 (3/4) Installing openssh-client-common (8.8_p1-r1) 11:59:40 (4/4) Installing openssh-client-default (8.8_p1-r1) 11:59:40 Executing busybox-1.34.1-r3.trigger 11:59:40 OK: 224 MiB in 56 packages 11:59:41 Removing intermediate container 282482f4ca61 11:59:41 ---> ca7e7d4af599 11:59:41 Step 7/12 : WORKDIR /device-mqtt-go 11:59:41 ---> Running in 45c1914f9e6c 11:59:41 Removing intermediate container 45c1914f9e6c 11:59:41 ---> c555997721c2 11:59:41 Step 8/12 : COPY go.mod vendor* ./ 11:59:42 ---> dd3986c99892 11:59:42 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:59:42 ---> Running in 3d03bdbc8768 12:00:29 Removing intermediate container 3d03bdbc8768 12:00:29 ---> 34e693a17b4c 12:00:29 Step 10/12 : COPY . . 12:00:29 ---> 0d8ed7c4a90c 12:00:29 Step 11/12 : ARG MAKE='make build' 12:00:29 ---> Running in 5b192070d1bf 12:00:29 Removing intermediate container 5b192070d1bf 12:00:29 ---> c0cb5a155ead 12:00:29 Step 12/12 : RUN $MAKE 12:00:29 ---> Running in 95989b68d241 12:00:29 noop 12:00:30 Removing intermediate container 95989b68d241 12:00:30 ---> 82ba082d3c46 12:00:30 Successfully built 82ba082d3c46 12:00:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:00:31 + docker inspect -f . ci-base-image-arm64 12:00:31 . [Pipeline] withDockerContainer 12:00:31 prd-ubuntu20.04-docker-arm64-4c-16g-47535 does not seem to be running inside a container 12:00:31 $ 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 12:00:32 $ docker top 365a79342c79c741e8b483611eed949f8039718bba3e320e8b5f6a0cbb4ff379 -eo pid,comm [Pipeline] { [Pipeline] sh 12:00:33 + go version 12:00:33 go version go1.17.6 linux/arm64 [Pipeline] } 12:00:33 $ docker stop --time=1 365a79342c79c741e8b483611eed949f8039718bba3e320e8b5f6a0cbb4ff379 12:00:35 $ docker rm -f 365a79342c79c741e8b483611eed949f8039718bba3e320e8b5f6a0cbb4ff379 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:00:35 + docker inspect -f . ci-base-image-arm64 12:00:35 . [Pipeline] withDockerContainer 12:00:36 prd-ubuntu20.04-docker-arm64-4c-16g-47535 does not seem to be running inside a container 12:00:36 $ 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 12:00:37 $ docker top 67ce1d1d114ded465c980d1c7bf03db5f3b1d1556a86c296c0f1f57fcae9333b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:00:38 + make test 12:00:38 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:00:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:02:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:02:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 21.8% of statements 12:02:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:02:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:02:17 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:02:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:02:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:02:35 ./bin/test-attribution-txt.sh [Pipeline] echo 12:02:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:02:39 $ docker stop --time=1 67ce1d1d114ded465c980d1c7bf03db5f3b1d1556a86c296c0f1f57fcae9333b 12:02:41 $ docker rm -f 67ce1d1d114ded465c980d1c7bf03db5f3b1d1556a86c296c0f1f57fcae9333b [Pipeline] // withDockerContainer [Pipeline] sh 12:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:02:42 Warning: overwriting stash ‘coverage-report’ 12:02:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:02:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:02:43 + ls -al . 12:02:43 total 176 12:02:43 drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:02 . 12:02:43 drwxrwxr-x 4 jenkins jenkins 4096 May 10 11:58 .. 12:02:43 -rw-rw-r-- 1 jenkins jenkins 140 May 10 11:58 .dockerignore 12:02:43 drwxrwxr-x 8 jenkins jenkins 4096 May 10 11:58 .git 12:02:43 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:58 .github 12:02:43 -rw-rw-r-- 1 jenkins jenkins 329 May 10 11:58 .gitignore 12:02:43 -rw-rw-r-- 1 jenkins jenkins 41 May 10 11:58 .golangci.yml 12:02:43 -rw-rw-r-- 1 jenkins jenkins 8656 May 10 11:58 Attribution.txt 12:02:43 -rw-rw-r-- 1 jenkins jenkins 11365 May 10 11:58 CHANGELOG.md 12:02:43 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 11:58 Dockerfile 12:02:43 -rw-rw-r-- 1 jenkins jenkins 677 May 10 11:58 GOVERNANCE.md 12:02:43 -rw-rw-r-- 1 jenkins jenkins 678 May 10 11:58 Jenkinsfile 12:02:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 11:58 LICENSE 12:02:43 -rw-rw-r-- 1 jenkins jenkins 1930 May 10 11:58 Makefile 12:02:43 -rw-rw-r-- 1 jenkins jenkins 620 May 10 11:58 OWNERS.md 12:02:43 -rw-rw-r-- 1 jenkins jenkins 2501 May 10 11:58 README.md 12:02:43 -rw-rw-r-- 1 jenkins jenkins 5 May 10 11:55 VERSION 12:02:43 drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:58 bin 12:02:43 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:58 cmd 12:02:43 -rw-r--r-- 1 jenkins jenkins 17887 May 10 12:02 coverage.out 12:02:43 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 11:58 go.mod 12:02:43 -rw-rw-r-- 1 jenkins jenkins 35490 May 10 11:58 go.sum 12:02:43 drwxrwxr-x 3 jenkins jenkins 4096 May 10 11:58 internal 12:02:43 drwxrwxr-x 2 jenkins jenkins 4096 May 10 11:58 mock 12:02:43 drwxrwxr-x 4 jenkins jenkins 4096 May 10 11:58 snap 12:02:43 -rw-rw-r-- 1 jenkins jenkins 227 May 10 11:58 version.go [Pipeline] isUnix [Pipeline] sh 12:02:43 + 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=4dd8a77c66c256eb0f31836d0eacf86bc66f086c --label arch=arm64 --label version=0.0.0 . 12:02:43 Sending build context to Docker daemon 3.117MB 12:02:43 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:02:43 Step 2/24 : FROM ${BASE} AS builder 12:02:43 ---> 82ba082d3c46 12:02:43 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:02:44 ---> Running in f84e79ed4d91 12:02:44 Removing intermediate container f84e79ed4d91 12:02:44 ---> 4c7adb1baa12 12:02:44 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:02:44 ---> Running in 81362fe25a87 12:02:45 Removing intermediate container 81362fe25a87 12:02:45 ---> 3871e3879d0a 12:02:45 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:02:45 ---> Running in 0c01c3e68146 12:02:47 Removing intermediate container 0c01c3e68146 12:02:47 ---> 824f5b392900 12:02:47 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:02:47 ---> Running in 38b7440c0163 12:02:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:02:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:02:49 OK: 224 MiB in 56 packages 12:02:50 Removing intermediate container 38b7440c0163 12:02:50 ---> 3d2cfc0f0112 12:02:50 Step 7/24 : WORKDIR /device-mqtt-go 12:02:50 ---> Running in c7a39aa30d12 12:02:50 Removing intermediate container c7a39aa30d12 12:02:50 ---> 42688ff21536 12:02:50 Step 8/24 : COPY go.mod vendor* ./ 12:02:51 ---> 68098d97a1b2 12:02:51 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:02:51 ---> Running in afa753835e38 12:02:53 Removing intermediate container afa753835e38 12:02:53 ---> 4f233b9c9d36 12:02:53 Step 10/24 : COPY . . 12:02:54 ---> bddec8b1a660 12:02:54 Step 11/24 : ARG MAKE='make build' 12:02:54 ---> Running in 5fc68bcbc4ab 12:02:54 Removing intermediate container 5fc68bcbc4ab 12:02:54 ---> eb87ad720d8b 12:02:54 Step 12/24 : RUN $MAKE 12:02:55 ---> Running in 7fa802863a75 12:02:56 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 12:05:02 Removing intermediate container 7fa802863a75 12:05:02 ---> 9556ad1169c9 12:05:02 Step 13/24 : FROM alpine:3.14 12:05:03 3.14: Pulling from library/alpine 12:05:03 455c02918c45: Pulling fs layer 12:05:03 455c02918c45: Verifying Checksum 12:05:03 455c02918c45: Download complete 12:05:04 455c02918c45: Pull complete 12:05:04 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:05:04 Status: Downloaded newer image for alpine:3.14 12:05:04 ---> ac73e934f311 12:05:04 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:05:04 ---> Running in 0c0683ff2ccc 12:05:04 Removing intermediate container 0c0683ff2ccc 12:05:04 ---> f09589a9671d 12:05:04 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:05:04 ---> Running in b8242b5cb7e3 12:05:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:05:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:05:06 (1/6) Installing dumb-init (1.2.5-r1) 12:05:06 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:05:06 (3/6) Installing libsodium (1.0.18-r0) 12:05:06 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:05:06 (5/6) Installing libzmq (4.3.4-r0) 12:05:06 (6/6) Installing zeromq (4.3.4-r0) 12:05:06 Executing busybox-1.33.1-r7.trigger 12:05:06 OK: 8 MiB in 20 packages 12:05:07 Removing intermediate container b8242b5cb7e3 12:05:07 ---> 4e2bae119ebe 12:05:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:05:09 ---> f38802acbb56 12:05:09 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:05:09 ---> 0c17cc26b8b0 12:05:09 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:05:10 ---> 6e2ebd59f133 12:05:10 Step 19/24 : EXPOSE 59982 12:05:10 ---> Running in 81ad83360b40 12:05:10 Removing intermediate container 81ad83360b40 12:05:10 ---> 7b12a728b19d 12:05:10 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:05:10 ---> Running in 2329ef4262a9 12:05:11 Removing intermediate container 2329ef4262a9 12:05:11 ---> 71ff10b47720 12:05:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:05:11 ---> Running in 5a249c618e31 12:05:11 Removing intermediate container 5a249c618e31 12:05:11 ---> dc0707aff4c9 12:05:11 Step 22/24 : LABEL arch=arm64 12:05:11 ---> Running in f40b6f3c96f7 12:05:11 Removing intermediate container f40b6f3c96f7 12:05:11 ---> 191c5a8ebfe5 12:05:11 Step 23/24 : LABEL git_sha=4dd8a77c66c256eb0f31836d0eacf86bc66f086c 12:05:11 ---> Running in af265c6a68c8 12:05:12 Removing intermediate container af265c6a68c8 12:05:12 ---> 7a723c4c09d3 12:05:12 Step 24/24 : LABEL version=0.0.0 12:05:12 ---> Running in 120c3cfb981a 12:05:12 Removing intermediate container 120c3cfb981a 12:05:12 ---> 7afc8954d3f9 12:05:12 [Warning] One or more build-args [ARCH] were not consumed 12:05:12 Successfully built 7afc8954d3f9 12:05:12 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 12:05:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:05:13 12:05:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:05:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:05:13 arm64: Pulling from edgex-lftools-log-publisher 12:05:13 8998bd30e6a1: Pulling fs layer 12:05:13 04944245beec: Pulling fs layer 12:05:13 699f458cf7ca: Pulling fs layer 12:05:13 765212b225bb: Pulling fs layer 12:05:13 f23df028b6ca: Pulling fs layer 12:05:13 d65c8cfc05b1: Pulling fs layer 12:05:13 2437ff75d9bd: Pulling fs layer 12:05:13 f23df028b6ca: Waiting 12:05:13 765212b225bb: Waiting 12:05:13 d65c8cfc05b1: Waiting 12:05:13 04944245beec: Verifying Checksum 12:05:13 04944245beec: Download complete 12:05:13 765212b225bb: Download complete 12:05:13 f23df028b6ca: Download complete 12:05:13 d65c8cfc05b1: Verifying Checksum 12:05:13 d65c8cfc05b1: Download complete 12:05:14 699f458cf7ca: Verifying Checksum 12:05:14 699f458cf7ca: Download complete 12:05:14 8998bd30e6a1: Download complete 12:05:17 2437ff75d9bd: Verifying Checksum 12:05:17 2437ff75d9bd: Download complete 12:05:19 8998bd30e6a1: Pull complete 12:05:19 04944245beec: Pull complete 12:05:21 699f458cf7ca: Pull complete 12:05:21 765212b225bb: Pull complete 12:05:22 f23df028b6ca: Pull complete 12:05:22 d65c8cfc05b1: Pull complete 12:05:37 2437ff75d9bd: Pull complete 12:05:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:05:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:05:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:05:37 prd-ubuntu20.04-docker-arm64-4c-16g-47535 does not seem to be running inside a container 12:05:38 $ 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 12:05:40 $ docker top 1022d3847057b01cea88088333b2d75e7e263700f296e340f4aad64dd68916d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:05:41 ---> job-cost.sh 12:05:41 lf-activate-venv: SKIPPING 12:05:41 INFO: No Stack... 12:05:42 INFO: Retrieving Pricing Info for: v3-standard-4 12:05:42 INFO: Archiving Costs [Pipeline] sh 12:05:43 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 12:05:43 + cut -d, -f6 [Pipeline] lock 12:05:44 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-380-3-stack-cost] 12:05:44 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-3-stack-cost] did not exist. Created. 12:05:44 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-380-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:05:44 /w/workspace/device-mqtt-go/3@tmp/durable-a7e9c6bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:05:45 + echo total: 0.10999999940395355 [Pipeline] stash 12:05:45 Warning: overwriting stash ‘stack-cost’ 12:05:45 Stashed 1 file(s) [Pipeline] } 12:05:45 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-380-3-stack-cost] [Pipeline] // lock [Pipeline] } 12:05:45 $ docker stop --time=1 1022d3847057b01cea88088333b2d75e7e263700f296e340f4aad64dd68916d5 12:05:47 $ docker rm -f 1022d3847057b01cea88088333b2d75e7e263700f296e340f4aad64dd68916d5 [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 12:05:47 provisioning config files... 12:05:47 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config918191720999444312tmp [Pipeline] { [Pipeline] sh 12:05:47 + set +x 12:05:47 + curl -s https://codecov.io/bash 12:05:47 + bash -s -- 12:05:47 12:05:47 _____ _ 12:05:47 / ____| | | 12:05:47 | | ___ __| | ___ ___ _____ __ 12:05:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:05:47 | |___| (_) | (_| | __/ (_| (_) \ V / 12:05:47 \_____\___/ \__,_|\___|\___\___/ \_/ 12:05:47 Bash-1.0.6 12:05:47 12:05:47 12:05:47 ==> git version 2.25.1 found 12:05:47 ==> 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 12:05:47 Release-Date: 2020-01-08 12:05:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:05:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:05:47 ==> Jenkins CI detected. 12:05:47 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-380 12:05:47 project root: . 12:05:47 --> token set from env 12:05:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:05:47 ==> Running gcov in . (disable via -X gcov) 12:05:47 ==> Python coveragepy not found 12:05:47 ==> Searching for coverage reports in: 12:05:47 + . 12:05:47 -> Found 1 reports 12:05:47 ==> Detecting git/mercurial file structure 12:05:48 ==> Reading reports 12:05:48 + ./coverage.out bytes=17887 12:05:48 ==> Appending adjustments 12:05:48 https://docs.codecov.io/docs/fixing-reports 12:05:48 + Found adjustments 12:05:48 ==> Gzipping contents 12:05:48 4.0K /tmp/codecov.nE42Sj.gz 12:05:48 ==> Uploading reports 12:05:48 url: https://codecov.io 12:05:48 query: branch=PR-380&commit=4dd8a77c66c256eb0f31836d0eacf86bc66f086c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-380%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=380&job=&cmd_args= 12:05:48 -> Pinging Codecov 12:05:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-380&commit=4dd8a77c66c256eb0f31836d0eacf86bc66f086c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-380%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=380&job=&cmd_args= 12:05:48 -> Uploading to 12:05:48 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/7D719EC7BBE17E464838252E33014C33/4dd8a77c66c256eb0f31836d0eacf86bc66f086c/d4f46dc6-a95d-4a4f-8a23-c448e53f0e16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T120548Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c9f99a6dd5caa2108b7ff483392ab991c567c160add5767f28c9f9e5555cbed6 12:05:48 % Total % Received % Xferd Average Speed Time Time Time Current 12:05:48 Dload Upload Total Spent Left Speed 12:05:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 11013 --:--:-- --:--:-- --:--:-- 11050 12:05:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/4dd8a77c66c256eb0f31836d0eacf86bc66f086c [Pipeline] } 12:05:48 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 12:05:49 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives ] 12:05:49 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 12:05:49 total 16 12:05:49 drwxr-xr-x 3 root root 4096 May 10 11:57 . 12:05:49 drwxrwxr-x 11 jenkins jenkins 4096 May 10 11:57 .. 12:05:49 drwxr-xr-x 2 root root 4096 May 10 11:57 cost 12:05:49 -rw-r--r-- 1 root root 85 May 10 11:57 cost.csv 12:05:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 12:05:49 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives 12:05:49 total 16 12:05:49 drwxr-xr-x 3 jenkins jenkins 4096 May 10 11:57 . 12:05:49 drwxrwxr-x 11 jenkins jenkins 4096 May 10 11:57 .. 12:05:49 drwxr-xr-x 2 jenkins jenkins 4096 May 10 11:57 cost 12:05:49 -rw-r--r-- 1 jenkins jenkins 85 May 10 11:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:05:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:05:50 ---> package-listing.sh 12:05:50 ++ facter osfamily 12:05:50 ++ tr '[:upper:]' '[:lower:]' 12:05:50 + OS_FAMILY=debian 12:05:50 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-380 12:05:50 + START_PACKAGES=/tmp/packages_start.txt 12:05:50 + END_PACKAGES=/tmp/packages_end.txt 12:05:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:05:50 + PACKAGES=/tmp/packages_start.txt 12:05:50 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-380 ']' 12:05:50 + PACKAGES=/tmp/packages_end.txt 12:05:50 + case "${OS_FAMILY}" in 12:05:50 + dpkg -l 12:05:50 + grep '^ii' 12:05:50 + '[' -f /tmp/packages_start.txt ']' 12:05:50 + '[' -f /tmp/packages_end.txt ']' 12:05:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:05:50 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-380 ']' 12:05:50 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/ 12:05:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-380/archives/ [Pipeline] echo 12:05:50 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-380/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:05:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:05:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:05:51 . [Pipeline] withDockerContainer 12:05:51 prd-ubuntu20.04-docker-8c-8g-47533 does not seem to be running inside a container 12:05:51 $ 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-380/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-380 -v /w/workspace/gexfoundry_device-mqtt-go_PR-380:/w/workspace/gexfoundry_device-mqtt-go_PR-380:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-380@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:05:52 $ docker top 26491d731e4a60a3d3a0577882717de2b266a73b93ceb7264a1d334a8c8e3374 -eo pid,comm [Pipeline] { [Pipeline] sh 12:05:52 + touch /tmp/pre-build-complete [Pipeline] sh 12:05:52 + mkdir -p /var/log/sysstat [Pipeline] sh 12:05:53 + ls /var/log/sa-host 12:05:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:05:53 provisioning config files... 12:05:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-380@tmp/config4560873564745416956tmp [Pipeline] { [Pipeline] echo 12:05:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:05:53 ---> create-netrc.sh [Pipeline] } 12:05:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:05:53 ---> python-tools-install.sh [Pipeline] echo 12:05:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:05:54 ---> sudo-logs.sh 12:05:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:05:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:05:54 ---> job-cost.sh 12:05:54 lf-activate-venv: SKIPPING 12:05:54 DEBUG: total: 0.2199999988079071 12:05:54 INFO: Retrieving Stack Cost... 12:05:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:05:55 INFO: Archiving Costs [Pipeline] echo 12:05:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:05:55 ---> logs-deploy.sh 12:05:55 lf-activate-venv: SKIPPING 12:05:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-380/3 12:05:55 INFO: archiving workspace using pattern(s): 12:05:56 Archives upload complete. 12:05:57 INFO: archiving logs to Nexus 12:05:57 ---> uname -a: 12:05:57 Linux prd-ubuntu20-04-docker-8c-8g-47533 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 12:05:57 12:05:57 12:05:57 ---> lscpu: 12:05:57 Architecture: x86_64 12:05:57 CPU op-mode(s): 32-bit, 64-bit 12:05:57 Byte Order: Little Endian 12:05:57 Address sizes: 40 bits physical, 48 bits virtual 12:05:57 CPU(s): 8 12:05:57 On-line CPU(s) list: 0-7 12:05:57 Thread(s) per core: 1 12:05:57 Core(s) per socket: 1 12:05:57 Socket(s): 8 12:05:57 NUMA node(s): 1 12:05:57 Vendor ID: AuthenticAMD 12:05:57 CPU family: 23 12:05:57 Model: 49 12:05:57 Model name: AMD EPYC-Rome Processor 12:05:57 Stepping: 0 12:05:57 CPU MHz: 2799.998 12:05:57 BogoMIPS: 5599.99 12:05:57 Virtualization: AMD-V 12:05:57 Hypervisor vendor: KVM 12:05:57 Virtualization type: full 12:05:57 L1d cache: 256 KiB 12:05:57 L1i cache: 256 KiB 12:05:57 L2 cache: 4 MiB 12:05:57 L3 cache: 128 MiB 12:05:57 NUMA node0 CPU(s): 0-7 12:05:57 Vulnerability Itlb multihit: Not affected 12:05:57 Vulnerability L1tf: Not affected 12:05:57 Vulnerability Mds: Not affected 12:05:57 Vulnerability Meltdown: Not affected 12:05:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:05:57 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 12:05:57 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 12:05:57 Vulnerability Srbds: Not affected 12:05:57 Vulnerability Tsx async abort: Not affected 12:05:57 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 12:05:57 12:05:57 12:05:57 ---> nproc: 12:05:57 8 12:05:57 12:05:57 12:05:57 ---> df -h: 12:05:57 Filesystem Size Used Avail Use% Mounted on 12:05:57 overlay 155G 11G 145G 7% / 12:05:57 tmpfs 64M 0 64M 0% /dev 12:05:57 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:05:57 shm 64M 0 64M 0% /dev/shm 12:05:57 /dev/vda1 155G 11G 145G 7% /facter-os 12:05:57 12:05:57 12:05:57 ---> sar -b -r -n DEV: 12:05:57 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-47533) 05/10/22 _x86_64_ (8 CPU) 12:05:57 12:05:57 11:54:24 LINUX RESTART (8 CPU) 12:05:57 12:05:57 11:55:00 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:05:57 11:56:01 195.13 12.24 182.89 0.00 2004.26 100504.57 0.00 12:05:57 11:57:01 172.79 0.13 172.65 0.00 7.87 39152.67 0.00 12:05:57 11:58:01 3.05 0.00 3.05 0.00 0.00 51.32 0.00 12:05:57 11:59:01 1.28 0.00 1.28 0.00 0.00 16.28 0.00 12:05:57 12:00:01 1.00 0.02 0.98 0.00 0.13 12.13 0.00 12:05:57 12:01:01 1.12 0.00 1.12 0.00 0.00 14.13 0.00 12:05:57 12:02:01 0.75 0.00 0.75 0.00 0.00 9.73 0.00 12:05:57 12:03:01 1.05 0.00 1.05 0.00 0.00 14.13 0.00 12:05:57 12:04:01 0.88 0.00 0.88 0.00 0.00 9.87 0.00 12:05:57 12:05:01 1.37 0.00 1.37 0.00 0.00 22.13 0.00 12:05:57 Average: 38.10 1.26 36.84 0.00 204.22 14123.93 0.00 12:05:57 12:05:57 11:55:00 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:05:57 11:56:01 28319848 31713768 580956 1.77 158908 3440476 2449848 7.22 1358392 2752232 193732 12:05:57 11:57:01 27815172 31762852 530696 1.61 173988 3928856 1977976 5.83 1338400 3223720 264 12:05:57 11:58:01 27831900 31779640 514964 1.57 174088 3928828 1897392 5.59 1332364 3214372 140 12:05:57 11:59:01 27832624 31780400 514028 1.56 174116 3928832 1897392 5.59 1332084 3214376 204 12:05:57 12:00:01 27837008 31784792 509552 1.55 174144 3928836 1897392 5.59 1327484 3214380 32 12:05:57 12:01:01 27838072 31785900 508428 1.55 174172 3928840 1897392 5.59 1326936 3214384 16 12:05:57 12:02:01 27843300 31791236 503108 1.53 174196 3928844 1897392 5.59 1321860 3214436 24 12:05:57 12:03:01 27843500 31791464 503016 1.53 174236 3928848 1897392 5.59 1321988 3214444 32 12:05:57 12:04:01 27843680 31791700 502756 1.53 174268 3928848 1897392 5.59 1322176 3214444 24 12:05:57 12:05:01 27843404 31791460 502960 1.53 174312 3928832 1897392 5.59 1321912 3214436 20 12:05:57 Average: 27884851 31777321 517046 1.57 172643 3880004 1960696 5.78 1330360 3169122 19449 12:05:57 12:05:57 11:55:00 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:05:57 11:56:01 veth6053143 0.00 0.18 0.00 0.02 0.00 0.00 0.00 0.00 12:05:57 11:56:01 lo 5.97 5.97 0.59 0.59 0.00 0.00 0.00 0.00 12:05:57 11:56:01 ens3 399.95 276.84 6056.12 98.65 0.00 0.00 0.00 0.00 12:05:57 11:56:01 docker0 100.05 127.82 8.20 1068.12 0.00 0.00 0.00 0.00 12:05:57 11:57:01 lo 2.07 2.07 0.21 0.21 0.00 0.00 0.00 0.00 12:05:57 11:57:01 ens3 174.62 112.51 2688.96 67.23 0.00 0.00 0.00 0.00 12:05:57 11:57:01 docker0 9.63 14.55 0.56 89.62 0.00 0.00 0.00 0.00 12:05:57 11:58:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 12:05:57 11:58:01 ens3 6.31 3.58 5.42 1.95 0.00 0.00 0.00 0.00 12:05:57 11:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 11:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:05:57 11:59:01 ens3 1.93 0.65 2.48 0.29 0.00 0.00 0.00 0.00 12:05:57 11:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:00:01 ens3 1.00 0.55 0.59 0.46 0.00 0.00 0.00 0.00 12:05:57 12:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:05:57 12:01:01 ens3 0.53 0.10 0.03 0.01 0.00 0.00 0.00 0.00 12:05:57 12:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:02:01 ens3 0.67 0.17 0.20 0.07 0.00 0.00 0.00 0.00 12:05:57 12:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:05:57 12:03:01 ens3 0.62 0.37 0.27 0.21 0.00 0.00 0.00 0.00 12:05:57 12:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:04:01 ens3 0.93 0.30 0.31 0.21 0.00 0.00 0.00 0.00 12:05:57 12:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 12:05:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:05:57 12:05:01 ens3 0.25 0.18 0.08 0.07 0.00 0.00 0.00 0.00 12:05:57 12:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:05:57 Average: lo 0.90 0.90 0.09 0.09 0.00 0.00 0.00 0.00 12:05:57 Average: ens3 59.25 39.92 884.02 17.05 0.00 0.00 0.00 0.00 12:05:57 Average: docker0 11.12 14.42 0.89 117.35 0.00 0.00 0.00 0.00 12:05:57 12:05:57 12:05:57 ---> sar -P ALL: 12:05:57 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-47533) 05/10/22 _x86_64_ (8 CPU) 12:05:57 12:05:57 11:54:24 LINUX RESTART (8 CPU) 12:05:57 12:05:57 11:55:00 CPU %user %nice %system %iowait %steal %idle 12:05:57 11:56:01 all 21.00 0.00 6.78 1.67 0.13 70.41 12:05:57 11:56:01 0 22.07 0.00 7.12 1.11 0.13 69.57 12:05:57 11:56:01 1 20.61 0.00 5.83 0.65 0.13 72.78 12:05:57 11:56:01 2 20.16 0.00 6.83 3.72 0.13 69.16 12:05:57 11:56:01 3 21.07 0.00 6.25 1.12 0.12 71.43 12:05:57 11:56:01 4 21.21 0.00 7.44 2.56 0.12 68.67 12:05:57 11:56:01 5 20.34 0.00 7.10 3.19 0.13 69.22 12:05:57 11:56:01 6 21.76 0.00 5.86 0.13 0.12 72.13 12:05:57 11:56:01 7 20.79 0.00 7.84 0.89 0.15 70.33 12:05:57 11:57:01 all 30.56 0.00 5.87 1.38 0.12 62.08 12:05:57 11:57:01 0 32.07 0.00 5.58 1.29 0.12 60.94 12:05:57 11:57:01 1 30.27 0.00 6.40 5.86 0.10 57.38 12:05:57 11:57:01 2 28.64 0.00 5.21 0.71 0.14 65.31 12:05:57 11:57:01 3 28.66 0.00 5.76 0.58 0.12 64.88 12:05:57 11:57:01 4 32.61 0.00 6.00 1.21 0.12 60.06 12:05:57 11:57:01 5 31.91 0.00 6.10 0.10 0.12 61.77 12:05:57 11:57:01 6 30.21 0.00 5.92 0.25 0.10 63.51 12:05:57 11:57:01 7 30.08 0.00 5.97 1.05 0.12 62.78 12:05:57 11:58:01 all 0.12 0.00 0.06 0.01 0.00 99.81 12:05:57 11:58:01 0 0.15 0.00 0.05 0.00 0.00 99.80 12:05:57 11:58:01 1 0.17 0.00 0.10 0.03 0.00 99.70 12:05:57 11:58:01 2 0.07 0.00 0.05 0.00 0.00 99.88 12:05:57 11:58:01 3 0.15 0.00 0.05 0.05 0.00 99.75 12:05:57 11:58:01 4 0.10 0.00 0.07 0.00 0.00 99.83 12:05:57 11:58:01 5 0.07 0.00 0.07 0.00 0.00 99.87 12:05:57 11:58:01 6 0.15 0.00 0.08 0.00 0.02 99.75 12:05:57 11:58:01 7 0.08 0.00 0.05 0.00 0.00 99.87 12:05:57 11:59:01 all 0.10 0.00 0.01 0.00 0.00 99.89 12:05:57 11:59:01 0 0.03 0.00 0.02 0.00 0.00 99.95 12:05:57 11:59:01 1 0.02 0.00 0.02 0.00 0.00 99.97 12:05:57 11:59:01 2 0.03 0.00 0.02 0.02 0.00 99.93 12:05:57 11:59:01 3 0.03 0.00 0.00 0.00 0.00 99.97 12:05:57 11:59:01 4 0.00 0.00 0.02 0.00 0.00 99.98 12:05:57 11:59:01 5 0.63 0.00 0.00 0.00 0.00 99.37 12:05:57 11:59:01 6 0.02 0.00 0.02 0.00 0.00 99.97 12:05:57 11:59:01 7 0.02 0.00 0.02 0.00 0.00 99.97 12:05:57 12:00:01 all 0.27 0.00 0.02 0.00 0.01 99.71 12:05:57 12:00:01 0 0.02 0.00 0.02 0.00 0.02 99.95 12:05:57 12:00:01 1 0.00 0.00 0.03 0.00 0.02 99.95 12:05:57 12:00:01 2 0.02 0.00 0.02 0.00 0.00 99.97 12:05:57 12:00:01 3 0.00 0.00 0.00 0.02 0.00 99.98 12:05:57 12:00:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:05:57 12:00:01 5 1.99 0.00 0.03 0.00 0.00 97.98 12:05:57 12:00:01 6 0.03 0.00 0.03 0.00 0.02 99.92 12:05:57 12:00:01 7 0.03 0.00 0.00 0.00 0.00 99.97 12:05:57 12:01:01 all 0.20 0.00 0.03 0.00 0.00 99.77 12:05:57 12:01:01 0 0.00 0.00 0.02 0.00 0.00 99.98 12:05:57 12:01:01 1 0.02 0.00 0.03 0.00 0.00 99.95 12:05:57 12:01:01 2 0.00 0.00 0.00 0.02 0.00 99.98 12:05:57 12:01:01 3 0.02 0.00 0.00 0.00 0.02 99.97 12:05:57 12:01:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:05:57 12:01:01 5 1.45 0.00 0.13 0.00 0.00 98.42 12:05:57 12:01:01 6 0.03 0.00 0.03 0.00 0.00 99.93 12:05:57 12:01:01 7 0.02 0.00 0.00 0.00 0.00 99.98 12:05:57 12:02:01 all 0.03 0.00 0.01 0.01 0.00 99.95 12:05:57 12:02:01 0 0.02 0.00 0.00 0.00 0.00 99.98 12:05:57 12:02:01 1 0.05 0.00 0.03 0.00 0.00 99.92 12:05:57 12:02:01 2 0.03 0.00 0.00 0.02 0.00 99.95 12:05:57 12:02:01 3 0.03 0.00 0.00 0.03 0.00 99.93 12:05:57 12:02:01 4 0.03 0.00 0.02 0.00 0.00 99.95 12:05:57 12:02:01 5 0.03 0.00 0.03 0.00 0.02 99.92 12:05:57 12:02:01 6 0.02 0.00 0.02 0.00 0.00 99.97 12:05:57 12:02:01 7 0.00 0.00 0.02 0.00 0.00 99.98 12:05:57 12:03:01 all 0.00 0.00 0.00 0.00 0.00 99.99 12:05:57 12:03:01 0 0.00 0.00 0.00 0.00 0.00 100.00 12:05:57 12:03:01 1 0.00 0.00 0.02 0.00 0.00 99.98 12:05:57 12:03:01 2 0.00 0.00 0.00 0.00 0.00 100.00 12:05:57 12:03:01 3 0.00 0.00 0.00 0.02 0.00 99.98 12:05:57 12:03:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:05:57 12:03:01 5 0.00 0.00 0.00 0.00 0.00 100.00 12:05:57 12:03:01 6 0.02 0.00 0.02 0.00 0.00 99.97 12:05:57 12:03:01 7 0.00 0.00 0.00 0.00 0.00 100.00 12:05:57 12:04:01 all 0.03 0.00 0.01 0.01 0.00 99.96 12:05:57 12:04:01 0 0.08 0.00 0.00 0.00 0.00 99.92 12:05:57 12:04:01 1 0.02 0.00 0.02 0.00 0.00 99.97 12:05:57 12:04:01 2 0.02 0.00 0.00 0.02 0.00 99.97 12:05:57 12:04:01 3 0.02 0.00 0.02 0.03 0.00 99.93 12:05:57 12:04:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:05:57 12:04:01 5 0.02 0.00 0.00 0.00 0.00 99.98 12:05:57 12:04:01 6 0.02 0.00 0.02 0.00 0.02 99.95 12:05:57 12:04:01 7 0.03 0.00 0.02 0.00 0.00 99.95 12:05:57 12:05:01 all 0.02 0.00 0.01 0.02 0.00 99.95 12:05:57 12:05:01 0 0.03 0.00 0.00 0.00 0.00 99.97 12:05:57 12:05:01 1 0.00 0.00 0.02 0.00 0.00 99.98 12:05:57 12:05:01 2 0.00 0.00 0.00 0.03 0.00 99.97 12:05:57 12:05:01 3 0.03 0.00 0.00 0.08 0.00 99.88 12:05:57 12:05:01 4 0.00 0.00 0.03 0.00 0.00 99.97 12:05:57 12:05:01 5 0.08 0.00 0.00 0.00 0.00 99.92 12:05:57 12:05:01 6 0.02 0.00 0.02 0.02 0.00 99.95 12:05:57 12:05:01 7 0.00 0.00 0.02 0.00 0.00 99.98 12:05:57 Average: all 5.20 0.00 1.27 0.31 0.03 93.20 12:05:57 Average: 0 5.43 0.00 1.28 0.24 0.03 93.03 12:05:57 Average: 1 5.09 0.00 1.24 0.65 0.03 93.00 12:05:57 Average: 2 4.85 0.00 1.20 0.45 0.03 93.46 12:05:57 Average: 3 4.96 0.00 1.20 0.19 0.03 93.63 12:05:57 Average: 4 5.37 0.00 1.35 0.38 0.02 92.89 12:05:57 Average: 5 5.63 0.00 1.34 0.33 0.03 92.68 12:05:57 Average: 6 5.20 0.00 1.20 0.04 0.03 93.54 12:05:57 Average: 7 5.05 0.00 1.38 0.19 0.03 93.35 12:05:57 12:05:57 12:05:57