Pull request #465 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 78ef461cd7e8d91d5958851307de16306d7d8387+bc7652beee9a90296fe0b57947c4589a421f5e02 (d51d2ba8d177a15b29e8b9acbd0fe928debcb022) 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-ssh4190455279388852693.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh181551824743045759.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7370274236082386930.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-465/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13999518314121086259.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh12357163741083796118.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-465/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13508339960035805040.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [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-3315 in /w/workspace/gexfoundry_device-mqtt-go_PR-465 [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-465 # 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 > 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/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 78ef461cd7e8d91d5958851307de16306d7d8387 Merge succeeded, producing 78ef461cd7e8d91d5958851307de16306d7d8387 Checking out Revision 78ef461cd7e8d91d5958851307de16306d7d8387 (PR-465) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 78ef461cd7e8d91d5958851307de16306d7d8387 # 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 bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78ef461cd7e8d91d5958851307de16306d7d8387 # timeout=10 [Pipeline] timeout 02:16:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:16:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:16:55 ========================================================= 02:16:55 EdgeX Global Pipelines Version Info 02:16:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:16:55 ------------------- 02:16:55 stable info: 02:16:55 ------------------- 02:16:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:16:55 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:16:55 Message: update stable to v1.0.244 02:16:56 ------------------- 02:16:56 experimental info: 02:16:56 ------------------- 02:16:56 Commited By: **** collab-it+edgex@linuxfoundation.org 02:16:56 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:16:56 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:16:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:16:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:16:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:16:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:16:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:16:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-465 [Pipeline] echo 02:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-465 [Pipeline] echo 02:16:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-465 [Pipeline] echo 02:16:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] echo 02:16:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78ef461 [Pipeline] echo 02:16:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:16:58 provisioning config files... 02:16:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/config16328355306647547463tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:16:58 ---> docker-login.sh 02:16:58 nexus3.edgexfoundry.org:10001 02:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:59 Configure a credential helper to remove this warning. See 02:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:59 02:16:59 Login Succeeded 02:16:59 nexus3.edgexfoundry.org:10002 02:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:59 Configure a credential helper to remove this warning. See 02:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:59 02:16:59 Login Succeeded 02:16:59 nexus3.edgexfoundry.org:10003 02:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:59 Configure a credential helper to remove this warning. See 02:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:59 02:16:59 Login Succeeded 02:16:59 nexus3.edgexfoundry.org:10004 02:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:59 Configure a credential helper to remove this warning. See 02:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:59 02:16:59 Login Succeeded 02:16:59 docker.io 02:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:16:59 Configure a credential helper to remove this warning. See 02:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:16:59 02:16:59 Login Succeeded 02:16:59 ---> docker-login.sh ends [Pipeline] } 02:16:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:17:00 + git rev-list -1 --merges 78ef461cd7e8d91d5958851307de16306d7d8387~1..78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] echo 02:17:00 -----------> git rev-list -1 --merges 78ef461cd7e8d91d5958851307de16306d7d8387~1..78ef461cd7e8d91d5958851307de16306d7d8387 78ef461cd7e8d91d5958851307de16306d7d8387 [false] [Pipeline] sh 02:17:00 + git log --format=format:%s -1 78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] echo 02:17:00 ========================================================= 02:17:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:17:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:17:01 + git log --format=format:%s -1 78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] echo 02:17:01 [semverPrep] GIT_COMMIT: 78ef461cd7e8d91d5958851307de16306d7d8387, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:17:01 [semverPrep] This is not a build commit. [Pipeline] sh 02:17:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:17:01 + grep -v github /etc/ssh/ssh_known_hosts 02:17:01 + [ -e /tmp/ssh_known_hosts ] 02:17:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:17:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:17:01 + sudo tee -a /etc/ssh/ssh_known_hosts 02:17:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:17:01 02:17:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:17:02 0.1.4: Pulling from edgex-devops/py-git-semver 02:17:02 b85a868b505f: Pulling fs layer 02:17:02 e2be974225ed: Pulling fs layer 02:17:02 339a4e72a1f5: Pulling fs layer 02:17:02 988bab9f4d93: Pulling fs layer 02:17:02 1469e6f7b9e6: Pulling fs layer 02:17:02 eaf3925da568: Pulling fs layer 02:17:02 bab4dde63d76: Pulling fs layer 02:17:02 bde34c3a00c8: Pulling fs layer 02:17:02 b352a97aabf1: Pulling fs layer 02:17:02 4872d77fe225: Pulling fs layer 02:17:02 5851b861e8e6: Pulling fs layer 02:17:02 1469e6f7b9e6: Waiting 02:17:02 988bab9f4d93: Waiting 02:17:02 b352a97aabf1: Waiting 02:17:02 4872d77fe225: Waiting 02:17:02 bde34c3a00c8: Waiting 02:17:02 5851b861e8e6: Waiting 02:17:02 eaf3925da568: Waiting 02:17:02 bab4dde63d76: Waiting 02:17:02 e2be974225ed: Verifying Checksum 02:17:02 e2be974225ed: Download complete 02:17:02 988bab9f4d93: Verifying Checksum 02:17:02 988bab9f4d93: Download complete 02:17:02 1469e6f7b9e6: Verifying Checksum 02:17:02 1469e6f7b9e6: Download complete 02:17:02 eaf3925da568: Verifying Checksum 02:17:02 eaf3925da568: Download complete 02:17:02 339a4e72a1f5: Verifying Checksum 02:17:02 339a4e72a1f5: Download complete 02:17:02 bde34c3a00c8: Verifying Checksum 02:17:02 bde34c3a00c8: Download complete 02:17:02 b352a97aabf1: Download complete 02:17:02 4872d77fe225: Verifying Checksum 02:17:02 4872d77fe225: Download complete 02:17:02 5851b861e8e6: Verifying Checksum 02:17:02 5851b861e8e6: Download complete 02:17:02 b85a868b505f: Verifying Checksum 02:17:02 b85a868b505f: Download complete 02:17:03 bab4dde63d76: Verifying Checksum 02:17:03 bab4dde63d76: Download complete 02:17:04 b85a868b505f: Pull complete 02:17:04 e2be974225ed: Pull complete 02:17:04 339a4e72a1f5: Pull complete 02:17:04 988bab9f4d93: Pull complete 02:17:04 1469e6f7b9e6: Pull complete 02:17:04 eaf3925da568: Pull complete 02:17:06 bab4dde63d76: Pull complete 02:17:06 bde34c3a00c8: Pull complete 02:17:06 b352a97aabf1: Pull complete 02:17:06 4872d77fe225: Pull complete 02:17:06 5851b861e8e6: Pull complete 02:17:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:17:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:17:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:07 prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container 02:17:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:17:08 $ docker top d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 -eo pid,comm 02:17:08 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). 02:17:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:17:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:17:08 [ssh-agent] Looking for ssh-agent implementation... 02:17:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:17:08 $ docker exec d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 ssh-agent 02:17:08 SSH_AUTH_SOCK=/tmp/ssh-JSPV3Lp3O3oN/agent.33 02:17:08 SSH_AGENT_PID=39 02:17:08 Running ssh-add (command line suppressed) 02:17:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/private_key_2108157727236747250.key (/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/private_key_2108157727236747250.key) 02:17:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:17:09 + git tag --points-at HEAD [Pipeline] } 02:17:09 $ docker exec --env ******** --env ******** d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 ssh-agent -k 02:17:09 unset SSH_AUTH_SOCK; 02:17:09 unset SSH_AGENT_PID; 02:17:09 echo Agent pid 39 killed; 02:17:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:17:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:17:09 [ssh-agent] Looking for ssh-agent implementation... 02:17:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:17:09 $ docker exec d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 ssh-agent 02:17:09 SSH_AUTH_SOCK=/tmp/ssh-VdFQIjMhMAZM/agent.71 02:17:09 SSH_AGENT_PID=77 02:17:09 Running ssh-add (command line suppressed) 02:17:09 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/private_key_2369705222910143821.key (/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/private_key_2369705222910143821.key) 02:17:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:17:10 + git semver init 02:17:10 2023-01-23 02:17:10,452 [run_init] DEBUG init version:0.0.0 force:False 02:17:10 2023-01-23 02:17:10,453 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver 02:17:10 2023-01-23 02:17:10,453 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver 02:17:10 2023-01-23 02:17:10,453 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-465, universal_newlines=False, shell=None, istream=None) 02:17:11 2023-01-23 02:17:11,357 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465/.git/info/exclude 02:17:11 2023-01-23 02:17:11,357 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver/PR-465 with force:False 02:17:11 2023-01-23 02:17:11,357 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver/PR-465 02:17:11 2023-01-23 02:17:11,362 [execute] INFO git cat-file --batch-check 02:17:11 2023-01-23 02:17:11,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver, universal_newlines=False, shell=None, istream=) 02:17:11 2023-01-23 02:17:11,368 [execute] INFO git cat-file --batch 02:17:11 2023-01-23 02:17:11,368 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver, universal_newlines=False, shell=None, istream=) 02:17:11 2023-01-23 02:17:11,373 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-465/.semver/PR-465 02:17:11 0.0.0 [Pipeline] } 02:17:11 $ docker exec --env ******** --env ******** d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 ssh-agent -k 02:17:11 unset SSH_AUTH_SOCK; 02:17:11 unset SSH_AGENT_PID; 02:17:11 echo Agent pid 77 killed; 02:17:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:17:12 + git semver [Pipeline] } 02:17:12 $ docker stop --time=1 d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 02:17:13 $ docker rm -f --volumes d2867d7e23bb926c1ae37ae96eeced8afc6e2f58252a2236eaa545b9d8a85238 [Pipeline] // withDockerContainer [Pipeline] sh 02:17:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:17:14 Stashed 1 file(s) [Pipeline] echo 02:17:14 [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 02:17:14 provisioning config files... 02:17:14 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/config16709756307952475889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:17:15 ---> docker-login.sh 02:17:15 nexus3.edgexfoundry.org:10001 02:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:15 Configure a credential helper to remove this warning. See 02:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:15 02:17:15 Login Succeeded 02:17:15 nexus3.edgexfoundry.org:10002 02:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:15 Configure a credential helper to remove this warning. See 02:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:15 02:17:15 Login Succeeded 02:17:15 nexus3.edgexfoundry.org:10003 02:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:15 Configure a credential helper to remove this warning. See 02:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:15 02:17:15 Login Succeeded 02:17:15 nexus3.edgexfoundry.org:10004 02:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:15 Configure a credential helper to remove this warning. See 02:17:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:15 02:17:15 Login Succeeded 02:17:15 docker.io 02:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:17:16 Configure a credential helper to remove this warning. See 02:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:17:16 02:17:16 Login Succeeded 02:17:16 ---> docker-login.sh ends [Pipeline] } 02:17:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:17:16 ========================================================= 02:17:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:17:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:17:16 Sending build context to Docker daemon 6.33MB 02:17:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:17:16 Step 2/12 : FROM ${BASE} AS builder 02:17:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:17:16 213ec9aee27d: Pulling fs layer 02:17:16 4583459ba037: Pulling fs layer 02:17:16 93c1e223e6f2: Pulling fs layer 02:17:16 53926ce57604: Pulling fs layer 02:17:16 21b2b0c7a3f4: Pulling fs layer 02:17:16 22ff95d597cd: Pulling fs layer 02:17:16 12d6caf4c0d1: Pulling fs layer 02:17:16 96b7cbca73a9: Pulling fs layer 02:17:16 a7acece74701: Pulling fs layer 02:17:16 21b2b0c7a3f4: Waiting 02:17:16 22ff95d597cd: Waiting 02:17:16 a7acece74701: Waiting 02:17:16 12d6caf4c0d1: Waiting 02:17:16 96b7cbca73a9: Waiting 02:17:16 53926ce57604: Waiting 02:17:16 93c1e223e6f2: Verifying Checksum 02:17:16 93c1e223e6f2: Download complete 02:17:16 4583459ba037: Download complete 02:17:16 21b2b0c7a3f4: Verifying Checksum 02:17:16 21b2b0c7a3f4: Download complete 02:17:17 22ff95d597cd: Verifying Checksum 02:17:17 22ff95d597cd: Download complete 02:17:17 213ec9aee27d: Verifying Checksum 02:17:17 213ec9aee27d: Download complete 02:17:17 12d6caf4c0d1: Verifying Checksum 02:17:17 12d6caf4c0d1: Download complete 02:17:17 213ec9aee27d: Pull complete 02:17:17 4583459ba037: Pull complete 02:17:17 93c1e223e6f2: Pull complete 02:17:17 a7acece74701: Verifying Checksum 02:17:17 a7acece74701: Download complete 02:17:18 53926ce57604: Verifying Checksum 02:17:18 53926ce57604: Download complete 02:17:18 96b7cbca73a9: Verifying Checksum 02:17:18 96b7cbca73a9: Download complete 02:17:22 53926ce57604: Pull complete 02:17:22 21b2b0c7a3f4: Pull complete 02:17:22 22ff95d597cd: Pull complete 02:17:22 12d6caf4c0d1: Pull complete 02:17:24 96b7cbca73a9: Pull complete 02:17:24 a7acece74701: Pull complete 02:17:24 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:17:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:17:24 ---> db6d94c90886 02:17:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:17:26 ---> Running in fd3759f5e29b 02:17:26 Removing intermediate container fd3759f5e29b 02:17:26 ---> 9b7b5883434d 02:17:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:17:26 ---> Running in daa238ffef47 02:17:26 Removing intermediate container daa238ffef47 02:17:26 ---> 38864f6a98df 02:17:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:17:26 ---> Running in 692cdd6e3571 02:17:26 Removing intermediate container 692cdd6e3571 02:17:26 ---> b961ee8d4b86 02:17:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:17:26 ---> Running in 57a828098da3 02:17:26 Removing intermediate container 57a828098da3 02:17:26 ---> 39c5497052b6 02:17:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:17:26 ---> Running in 644b43979b6a 02:17:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:17:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:17:27 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:17:27 (2/4) Installing libedit (20210910.3.1-r0) 02:17:27 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:17:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:17:28 Executing busybox-1.35.0-r17.trigger 02:17:28 OK: 216 MiB in 55 packages 02:17:28 Removing intermediate container 644b43979b6a 02:17:28 ---> 2d198ec12321 02:17:28 Step 8/12 : WORKDIR /device-mqtt-go 02:17:28 ---> Running in ee71b10da435 02:17:28 Removing intermediate container ee71b10da435 02:17:28 ---> bebb6313c163 02:17:28 Step 9/12 : COPY go.mod vendor* ./ 02:17:28 ---> a0f39f570b2e 02:17:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:17:29 ---> Running in 6ae1939e69de 02:17:29 Still waiting to schedule task 02:17:29 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3309’ 02:18:01 Removing intermediate container 6ae1939e69de 02:18:01 ---> 1d56e896d960 02:18:01 Step 11/12 : COPY . . 02:18:01 ---> 00da03bd7d5b 02:18:01 Step 12/12 : RUN $MAKE 02:18:01 ---> Running in 769906385b8b 02:18:01 noop 02:18:01 Removing intermediate container 769906385b8b 02:18:01 ---> 30a2bcada9f1 02:18:01 Successfully built 30a2bcada9f1 02:18:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:02 + docker inspect -f . ci-base-image-x86_64 02:18:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:18:02 prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container 02:18:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@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 ******** ci-base-image-x86_64 cat 02:18:02 $ docker top c92a55fb358a160489c5c49d067ea9115f49e92303d6b32c73ff8765171a80c4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:18:03 + go version 02:18:03 go version go1.18.7 linux/amd64 [Pipeline] } 02:18:03 $ docker stop --time=1 c92a55fb358a160489c5c49d067ea9115f49e92303d6b32c73ff8765171a80c4 02:18:04 $ docker rm -f --volumes c92a55fb358a160489c5c49d067ea9115f49e92303d6b32c73ff8765171a80c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:05 + docker inspect -f . ci-base-image-x86_64 02:18:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:18:05 prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container 02:18:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@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 ******** ci-base-image-x86_64 cat 02:18:05 $ docker top ac92777c813996f09470849d79245737c73694e1b00cc2b1e1a320a57322d7d3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:18:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-465 [Pipeline] fileExists [Pipeline] sh 02:18:06 + make test 02:18:06 go test ./... -coverprofile=coverage.out ./... 02:18:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:18:15 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:18:15 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements 02:18:15 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:18:22 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 02:18:22 go vet ./... 02:18:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:18:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:18:25 ./bin/test-attribution-txt.sh 02:18:25 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:18:25 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:18:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:18:25 $ docker stop --time=1 ac92777c813996f09470849d79245737c73694e1b00cc2b1e1a320a57322d7d3 02:18:26 $ docker rm -f --volumes ac92777c813996f09470849d79245737c73694e1b00cc2b1e1a320a57322d7d3 [Pipeline] // withDockerContainer [Pipeline] sh 02:18:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:18:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:18:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:18:28 + ls -al . 02:18:28 total 184 02:18:28 drwxrwxr-x 10 jenkins jenkins 4096 Jan 23 02:18 . 02:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:16 .. 02:18:28 -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 02:16 .dockerignore 02:18:28 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:18 .git 02:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:16 .github 02:18:28 -rw-rw-r-- 1 jenkins jenkins 329 Jan 23 02:16 .gitignore 02:18:28 -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 02:16 .golangci.yml 02:18:28 drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 02:17 .semver 02:18:28 -rw-rw-r-- 1 jenkins jenkins 9189 Jan 23 02:16 Attribution.txt 02:18:28 -rw-rw-r-- 1 jenkins jenkins 13162 Jan 23 02:16 CHANGELOG.md 02:18:28 -rw-rw-r-- 1 jenkins jenkins 1689 Jan 23 02:16 Dockerfile 02:18:28 -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 02:16 GOVERNANCE.md 02:18:28 -rw-rw-r-- 1 jenkins jenkins 678 Jan 23 02:16 Jenkinsfile 02:18:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 02:16 LICENSE 02:18:28 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 23 02:16 Makefile 02:18:28 -rw-rw-r-- 1 jenkins jenkins 620 Jan 23 02:16 OWNERS.md 02:18:28 -rw-rw-r-- 1 jenkins jenkins 3165 Jan 23 02:16 README.md 02:18:28 -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 02:17 VERSION 02:18:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:16 bin 02:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:16 cmd 02:18:28 -rw-r--r-- 1 jenkins jenkins 17887 Jan 23 02:18 coverage.out 02:18:28 -rw-rw-r-- 1 jenkins jenkins 3430 Jan 23 02:16 go.mod 02:18:28 -rw-rw-r-- 1 jenkins jenkins 34856 Jan 23 02:16 go.sum 02:18:28 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:16 internal 02:18:28 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:16 mock 02:18:28 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:16 snap 02:18:28 -rw-rw-r-- 1 jenkins jenkins 227 Jan 23 02:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:28 + 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=78ef461cd7e8d91d5958851307de16306d7d8387 --label arch=amd64 --label version=0.0.0 . 02:18:28 Sending build context to Docker daemon 6.348MB 02:18:28 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 02:18:28 Step 2/24 : FROM ${BASE} AS builder 02:18:28 ---> 30a2bcada9f1 02:18:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:18:28 ---> Running in a3f71182f4fa 02:18:29 Removing intermediate container a3f71182f4fa 02:18:29 ---> d2ab2002052c 02:18:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:18:29 ---> Running in 509ac5253aff 02:18:29 Removing intermediate container 509ac5253aff 02:18:29 ---> 93e596faf2fd 02:18:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:18:29 ---> Running in 971ff710558c 02:18:29 Removing intermediate container 971ff710558c 02:18:29 ---> 515b793d5d90 02:18:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:18:29 ---> Running in 6b0b980770eb 02:18:29 Removing intermediate container 6b0b980770eb 02:18:29 ---> ebb66e8dc298 02:18:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:18:29 ---> Running in 11a8ea89ae2c 02:18:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:18:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:18:30 OK: 216 MiB in 55 packages 02:18:31 Removing intermediate container 11a8ea89ae2c 02:18:31 ---> 5ade819f1872 02:18:31 Step 8/24 : WORKDIR /device-mqtt-go 02:18:31 ---> Running in 66317fafa5de 02:18:31 Removing intermediate container 66317fafa5de 02:18:31 ---> 6bcbbfd81f63 02:18:31 Step 9/24 : COPY go.mod vendor* ./ 02:18:31 ---> 89504b4350ca 02:18:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:18:31 ---> Running in 1a2e72a560e5 02:18:32 Removing intermediate container 1a2e72a560e5 02:18:32 ---> 28be4157c1ee 02:18:32 Step 11/24 : COPY . . 02:18:32 ---> e31f462dfc06 02:18:32 Step 12/24 : RUN $MAKE 02:18:32 ---> Running in a09f815cc046 02:18:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:18:50 Removing intermediate container a09f815cc046 02:18:50 ---> 77aa665ac622 02:18:50 Step 13/24 : FROM alpine:3.16 02:18:50 3.16: Pulling from library/alpine 02:18:50 ca7dd9ec2225: Pulling fs layer 02:18:50 ca7dd9ec2225: Verifying Checksum 02:18:50 ca7dd9ec2225: Download complete 02:18:50 ca7dd9ec2225: Pull complete 02:18:50 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 02:18:50 Status: Downloaded newer image for alpine:3.16 02:18:50 ---> bfe296a52501 02:18:50 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:18:50 ---> Running in 86b26d8f9886 02:18:50 Removing intermediate container 86b26d8f9886 02:18:50 ---> 6b737f9fc120 02:18:50 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:18:50 ---> Running in 1e7d591fa6b5 02:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:18:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:18:51 (1/1) Installing dumb-init (1.2.5-r1) 02:18:51 Executing busybox-1.35.0-r17.trigger 02:18:51 OK: 6 MiB in 15 packages 02:18:52 Removing intermediate container 1e7d591fa6b5 02:18:52 ---> c5ebcbe81920 02:18:52 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:18:52 ---> c170c3652914 02:18:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:18:52 ---> 8fe25db060cd 02:18:52 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:18:52 ---> 74273edffb78 02:18:52 Step 19/24 : EXPOSE 59982 02:18:52 ---> Running in 0338ca9f5fa5 02:18:53 Removing intermediate container 0338ca9f5fa5 02:18:53 ---> f4ba7a249fc4 02:18:53 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:18:53 ---> Running in edc6d62577df 02:18:53 Removing intermediate container edc6d62577df 02:18:53 ---> 8700cb6dfd5f 02:18:53 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:18:53 ---> Running in e791b047c096 02:18:53 Removing intermediate container e791b047c096 02:18:53 ---> 111e033a8ecd 02:18:53 Step 22/24 : LABEL arch=amd64 02:18:53 ---> Running in 13eadb9ad226 02:18:53 Removing intermediate container 13eadb9ad226 02:18:53 ---> ecddb9073c66 02:18:53 Step 23/24 : LABEL git_sha=78ef461cd7e8d91d5958851307de16306d7d8387 02:18:53 ---> Running in 7003a815a545 02:18:53 Removing intermediate container 7003a815a545 02:18:53 ---> f5d1f02e35e4 02:18:53 Step 24/24 : LABEL version=0.0.0 02:18:53 ---> Running in f115cb2a8c7a 02:18:53 Removing intermediate container f115cb2a8c7a 02:18:53 ---> e9c24d8fffd7 02:18:53 [Warning] One or more build-args [ARCH] were not consumed 02:18:53 Successfully built e9c24d8fffd7 02:18:53 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 02:18:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:54 02:18:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:18:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:18:55 latest: Pulling from edgex-lftools-log-publisher 02:18:55 5eb5b503b376: Pulling fs layer 02:18:55 5c69ac0246d0: Pulling fs layer 02:18:55 ec43610c2a17: Pulling fs layer 02:18:55 3a2ae6a8a46f: Pulling fs layer 02:18:55 33b1e0a273af: Pulling fs layer 02:18:55 5d3b04190fa2: Pulling fs layer 02:18:55 2f39f015ded8: Pulling fs layer 02:18:55 3a2ae6a8a46f: Waiting 02:18:55 33b1e0a273af: Waiting 02:18:55 5d3b04190fa2: Waiting 02:18:55 2f39f015ded8: Waiting 02:18:55 5c69ac0246d0: Verifying Checksum 02:18:55 5c69ac0246d0: Download complete 02:18:55 3a2ae6a8a46f: Verifying Checksum 02:18:55 3a2ae6a8a46f: Download complete 02:18:55 33b1e0a273af: Verifying Checksum 02:18:55 33b1e0a273af: Download complete 02:18:55 ec43610c2a17: Verifying Checksum 02:18:55 ec43610c2a17: Download complete 02:18:55 5d3b04190fa2: Verifying Checksum 02:18:55 5d3b04190fa2: Download complete 02:18:55 5eb5b503b376: Verifying Checksum 02:18:55 5eb5b503b376: Download complete 02:18:56 2f39f015ded8: Download complete 02:18:56 5eb5b503b376: Pull complete 02:18:57 5c69ac0246d0: Pull complete 02:18:57 ec43610c2a17: Pull complete 02:18:57 3a2ae6a8a46f: Pull complete 02:18:57 33b1e0a273af: Pull complete 02:18:57 5d3b04190fa2: Pull complete 02:19:02 2f39f015ded8: Pull complete 02:19:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:19:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:19:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:19:02 prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container 02:19:02 $ 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-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:19:03 $ docker top 1f7f1af18b7e19c183ec71b4dabfa418ac98dc065035338fca6e8dd39c9e92cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:19:04 ---> job-cost.sh 02:19:04 lf-activate-venv: SKIPPING 02:19:04 INFO: No Stack... 02:19:04 INFO: Retrieving Pricing Info for: v3-standard-8 02:19:05 INFO: Archiving Costs [Pipeline] sh 02:19:05 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives/cost.csv 02:19:05 + cut -d, -f6 [Pipeline] lock 02:19:05 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] 02:19:05 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] did not exist. Created. 02:19:05 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:19:05 + echo total: 0.2199999988079071 [Pipeline] stash 02:19:05 Stashed 1 file(s) [Pipeline] } 02:19:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:19:06 $ docker stop --time=1 1f7f1af18b7e19c183ec71b4dabfa418ac98dc065035338fca6e8dd39c9e92cf 02:19:07 $ docker rm -f --volumes 1f7f1af18b7e19c183ec71b4dabfa418ac98dc065035338fca6e8dd39c9e92cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:20:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3321 in /w/workspace/gexfoundry_device-mqtt-go_PR-465 [Pipeline] { [Pipeline] ws 02:20:33 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:20:33 Selected Git installation does not exist. Using Default 02:20:33 The recommended git tool is: NONE 02:20:40 using credential edgex-jenkins-ssh 02:20:40 Cloning the remote Git repository 02:20:40 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:20:40 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:20:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:20:40 > git --version # timeout=10 02:20:40 > git --version # 'git version 2.25.1' 02:20:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:20:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:20:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:20:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:20:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:20:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:20:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:20:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/465/head:refs/remotes/origin/PR-465 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:20:43 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 78ef461cd7e8d91d5958851307de16306d7d8387 02:20:43 Merge succeeded, producing 78ef461cd7e8d91d5958851307de16306d7d8387 02:20:43 Checking out Revision 78ef461cd7e8d91d5958851307de16306d7d8387 (PR-465) 02:20:44 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:20:44 > git --version # timeout=10 02:20:44 > git --version # 'git version 2.25.1' 02:20:44 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 02:20:43 > git config core.sparsecheckout # timeout=10 02:20:43 > git checkout -f 78ef461cd7e8d91d5958851307de16306d7d8387 # timeout=10 02:20:43 > git remote # timeout=10 02:20:43 > git config --get remote.origin.url # timeout=10 02:20:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:20:43 > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 02:20:43 > git rev-parse HEAD^{commit} # timeout=10 02:20:43 > git config core.sparsecheckout # timeout=10 02:20:43 > git checkout -f 78ef461cd7e8d91d5958851307de16306d7d8387 # timeout=10 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:20:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:20:45 % Total % Received % Xferd Average Speed Time Time Time Current 02:20:45 Dload Upload Total Spent Left Speed 02:20:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 172k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 02:20:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:20:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:20:46 + sudo tee /etc/docker/daemon.new 02:20:46 { 02:20:46 "registry-mirrors": [ 02:20:46 "https://nexus3.edgexfoundry.org:10001" 02:20:46 ], 02:20:46 "bip": "10.250.0.254/24", 02:20:46 "hosts": [ 02:20:46 "tcp://0.0.0.0:5555", 02:20:46 "unix:///var/run/docker.sock" 02:20:46 ], 02:20:46 "mtu": 1458, 02:20:46 "selinux-enabled": true, 02:20:46 "seccomp-profile": "/etc/docker/seccomp.json" 02:20:46 } [Pipeline] sh 02:20:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:20:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:21:06 provisioning config files... 02:21:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8652219647398792446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:21:06 ---> docker-login.sh 02:21:06 nexus3.edgexfoundry.org:10001 02:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:07 Configure a credential helper to remove this warning. See 02:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:07 02:21:07 Login Succeeded 02:21:07 nexus3.edgexfoundry.org:10002 02:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:07 Configure a credential helper to remove this warning. See 02:21:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:07 02:21:07 Login Succeeded 02:21:07 nexus3.edgexfoundry.org:10003 02:21:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:08 Configure a credential helper to remove this warning. See 02:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:08 02:21:08 Login Succeeded 02:21:08 nexus3.edgexfoundry.org:10004 02:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:08 Configure a credential helper to remove this warning. See 02:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:08 02:21:08 Login Succeeded 02:21:08 docker.io 02:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:21:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:21:09 Configure a credential helper to remove this warning. See 02:21:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:21:09 02:21:09 Login Succeeded 02:21:09 ---> docker-login.sh ends [Pipeline] } 02:21:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:21:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:21:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:21:09 ========================================================= 02:21:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:21:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:21:10 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 02:21:10 Sending build context to Docker daemon 3.276MB 02:21:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:21:10 Step 2/12 : FROM ${BASE} AS builder 02:21:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:21:11 9b18e9b68314: Pulling fs layer 02:21:11 35d82f9e3411: Pulling fs layer 02:21:11 e16973657156: Pulling fs layer 02:21:11 fc693d55d65f: Pulling fs layer 02:21:11 7e9fc2657dce: Pulling fs layer 02:21:11 dda99020689f: Pulling fs layer 02:21:11 db1c61fa0a46: Pulling fs layer 02:21:11 891c053d2c06: Pulling fs layer 02:21:11 fc693d55d65f: Waiting 02:21:11 dda99020689f: Waiting 02:21:11 db1c61fa0a46: Waiting 02:21:11 891c053d2c06: Waiting 02:21:11 7e9fc2657dce: Waiting 02:21:11 e16973657156: Verifying Checksum 02:21:11 e16973657156: Download complete 02:21:11 35d82f9e3411: Download complete 02:21:11 7e9fc2657dce: Verifying Checksum 02:21:11 7e9fc2657dce: Download complete 02:21:11 dda99020689f: Verifying Checksum 02:21:11 dda99020689f: Download complete 02:21:11 9b18e9b68314: Verifying Checksum 02:21:12 9b18e9b68314: Pull complete 02:21:12 35d82f9e3411: Pull complete 02:21:12 891c053d2c06: Verifying Checksum 02:21:12 891c053d2c06: Download complete 02:21:12 e16973657156: Pull complete 02:21:14 db1c61fa0a46: Verifying Checksum 02:21:14 db1c61fa0a46: Download complete 02:21:14 fc693d55d65f: Verifying Checksum 02:21:14 fc693d55d65f: Download complete 02:21:26 fc693d55d65f: Pull complete 02:21:26 7e9fc2657dce: Pull complete 02:21:26 dda99020689f: Pull complete 02:21:33 db1c61fa0a46: Pull complete 02:21:35 891c053d2c06: Pull complete 02:21:35 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:21:35 ---> f96f9c87975a 02:21:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:21:37 ---> Running in bf9b99505b28 02:21:37 Removing intermediate container bf9b99505b28 02:21:37 ---> 5963395402b3 02:21:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:21:37 ---> Running in 0e4ba64a022f 02:21:38 Removing intermediate container 0e4ba64a022f 02:21:38 ---> f95260fb56fb 02:21:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:21:38 ---> Running in 11a994129b9b 02:21:38 Removing intermediate container 11a994129b9b 02:21:38 ---> eb81dcc9faa3 02:21:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:21:38 ---> Running in ee9a0e4648f3 02:21:39 Removing intermediate container ee9a0e4648f3 02:21:39 ---> 7e1be0b062ee 02:21:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:21:39 ---> Running in d9e7af0aeadc 02:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:21:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:21:42 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:21:42 (2/4) Installing libedit (20210910.3.1-r0) 02:21:42 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:21:42 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:21:42 Executing busybox-1.35.0-r17.trigger 02:21:42 OK: 226 MiB in 55 packages 02:21:43 Removing intermediate container d9e7af0aeadc 02:21:43 ---> 3c4c4cd53f4c 02:21:43 Step 8/12 : WORKDIR /device-mqtt-go 02:21:43 ---> Running in 284ead0e25ad 02:21:43 Removing intermediate container 284ead0e25ad 02:21:43 ---> 2d38ee85c10d 02:21:43 Step 9/12 : COPY go.mod vendor* ./ 02:21:44 ---> b55d64ba00e5 02:21:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:21:44 ---> Running in 56ebd9a63e56 02:22:52 Removing intermediate container 56ebd9a63e56 02:22:52 ---> 9a5ff6010b00 02:22:52 Step 11/12 : COPY . . 02:22:54 ---> be079232e1f8 02:22:54 Step 12/12 : RUN $MAKE 02:22:54 ---> Running in 4c62ba045d52 02:22:55 noop 02:22:56 Removing intermediate container 4c62ba045d52 02:22:56 ---> 5982f650768f 02:22:56 Successfully built 5982f650768f 02:22:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:22:56 + docker inspect -f . ci-base-image-arm64 02:22:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:22:57 prd-ubuntu20.04-docker-arm64-4c-16g-3321 does not seem to be running inside a container 02:22:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:22:58 $ docker top f30fa6b1f2df251b853306c26be708bda6c6a128e390d3b97a34c59e70b2941e -eo pid,comm [Pipeline] { [Pipeline] sh 02:22:59 + go version 02:22:59 go version go1.18.7 linux/arm64 [Pipeline] } 02:22:59 $ docker stop --time=1 f30fa6b1f2df251b853306c26be708bda6c6a128e390d3b97a34c59e70b2941e 02:23:01 $ docker rm -f --volumes f30fa6b1f2df251b853306c26be708bda6c6a128e390d3b97a34c59e70b2941e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:23:01 + docker inspect -f . ci-base-image-arm64 02:23:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:23:02 prd-ubuntu20.04-docker-arm64-4c-16g-3321 does not seem to be running inside a container 02:23:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:23:03 $ docker top f9ccc180b4afb811f472bd40af29680a1794b1cd6b9f7bf875ef6b49680cf813 -eo pid,comm [Pipeline] { [Pipeline] sh 02:23:04 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:23:05 + make test 02:23:05 go test ./... -coverprofile=coverage.out ./... 02:23:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:24:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:24:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.8% of statements 02:24:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:24:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:24:43 go vet ./... 02:25:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:25:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:25:16 ./bin/test-attribution-txt.sh 02:25:16 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:25:16 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:25:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:25:16 $ docker stop --time=1 f9ccc180b4afb811f472bd40af29680a1794b1cd6b9f7bf875ef6b49680cf813 02:25:18 $ docker rm -f --volumes f9ccc180b4afb811f472bd40af29680a1794b1cd6b9f7bf875ef6b49680cf813 [Pipeline] // withDockerContainer [Pipeline] sh 02:25:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:25:19 Warning: overwriting stash ‘coverage-report’ 02:25:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:25:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:25:21 + ls -al . 02:25:21 total 180 02:25:21 drwxrwxr-x 9 jenkins jenkins 4096 Jan 23 02:23 . 02:25:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:20 .. 02:25:21 -rw-rw-r-- 1 jenkins jenkins 140 Jan 23 02:20 .dockerignore 02:25:21 drwxrwxr-x 8 jenkins jenkins 4096 Jan 23 02:20 .git 02:25:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:20 .github 02:25:21 -rw-rw-r-- 1 jenkins jenkins 329 Jan 23 02:20 .gitignore 02:25:21 -rw-rw-r-- 1 jenkins jenkins 41 Jan 23 02:20 .golangci.yml 02:25:21 -rw-rw-r-- 1 jenkins jenkins 9189 Jan 23 02:20 Attribution.txt 02:25:21 -rw-rw-r-- 1 jenkins jenkins 13162 Jan 23 02:20 CHANGELOG.md 02:25:21 -rw-rw-r-- 1 jenkins jenkins 1689 Jan 23 02:20 Dockerfile 02:25:21 -rw-rw-r-- 1 jenkins jenkins 677 Jan 23 02:20 GOVERNANCE.md 02:25:21 -rw-rw-r-- 1 jenkins jenkins 678 Jan 23 02:20 Jenkinsfile 02:25:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 23 02:20 LICENSE 02:25:21 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 23 02:20 Makefile 02:25:21 -rw-rw-r-- 1 jenkins jenkins 620 Jan 23 02:20 OWNERS.md 02:25:21 -rw-rw-r-- 1 jenkins jenkins 3165 Jan 23 02:20 README.md 02:25:21 -rw-rw-r-- 1 jenkins jenkins 5 Jan 23 02:17 VERSION 02:25:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:20 bin 02:25:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:20 cmd 02:25:21 -rw-r--r-- 1 jenkins jenkins 17887 Jan 23 02:24 coverage.out 02:25:21 -rw-rw-r-- 1 jenkins jenkins 3430 Jan 23 02:20 go.mod 02:25:21 -rw-rw-r-- 1 jenkins jenkins 34856 Jan 23 02:20 go.sum 02:25:21 drwxrwxr-x 3 jenkins jenkins 4096 Jan 23 02:20 internal 02:25:21 drwxrwxr-x 2 jenkins jenkins 4096 Jan 23 02:20 mock 02:25:21 drwxrwxr-x 4 jenkins jenkins 4096 Jan 23 02:20 snap 02:25:21 -rw-rw-r-- 1 jenkins jenkins 227 Jan 23 02:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:25:21 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=78ef461cd7e8d91d5958851307de16306d7d8387 --label arch=arm64 --label version=0.0.0 . 02:25:21 Sending build context to Docker daemon 3.294MB 02:25:21 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 02:25:21 Step 2/24 : FROM ${BASE} AS builder 02:25:21 ---> 5982f650768f 02:25:21 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:25:22 ---> Running in 90ea78cee96b 02:25:22 Removing intermediate container 90ea78cee96b 02:25:22 ---> 9c37a25108de 02:25:22 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:25:22 ---> Running in c2ddd5cbe283 02:25:22 Removing intermediate container c2ddd5cbe283 02:25:22 ---> ddc3667f5e63 02:25:22 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:25:22 ---> Running in bb4270be2c9a 02:25:23 Removing intermediate container bb4270be2c9a 02:25:23 ---> f8700884d270 02:25:23 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:25:23 ---> Running in bc415d7502ba 02:25:23 Removing intermediate container bc415d7502ba 02:25:23 ---> c4e18c591b2e 02:25:23 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:25:23 ---> Running in 0986077ae018 02:25:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:25:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:25:28 OK: 226 MiB in 55 packages 02:25:29 Removing intermediate container 0986077ae018 02:25:29 ---> b8f7dff57c2b 02:25:29 Step 8/24 : WORKDIR /device-mqtt-go 02:25:29 ---> Running in 3baec8b96d0a 02:25:29 Removing intermediate container 3baec8b96d0a 02:25:29 ---> e6f005d98ea9 02:25:29 Step 9/24 : COPY go.mod vendor* ./ 02:25:30 ---> c4652d543a58 02:25:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:25:30 ---> Running in b1465c8d482c 02:25:33 Removing intermediate container b1465c8d482c 02:25:33 ---> 686cb9027ad3 02:25:33 Step 11/24 : COPY . . 02:25:34 ---> eae259d6ce40 02:25:34 Step 12/24 : RUN $MAKE 02:25:34 ---> Running in 4af3d9bfe4c3 02:25:36 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:27:58 Removing intermediate container 4af3d9bfe4c3 02:27:58 ---> 454e680c4dd0 02:27:58 Step 13/24 : FROM alpine:3.16 02:27:58 3.16: Pulling from library/alpine 02:27:58 6875df1f5354: Pulling fs layer 02:27:58 6875df1f5354: Verifying Checksum 02:27:58 6875df1f5354: Download complete 02:27:58 6875df1f5354: Pull complete 02:27:58 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 02:27:58 Status: Downloaded newer image for alpine:3.16 02:27:58 ---> 2b4661558fb8 02:27:58 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:27:58 ---> Running in 1cf83fc615e6 02:27:58 Removing intermediate container 1cf83fc615e6 02:27:58 ---> 5a2cd565a14a 02:27:58 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:27:58 ---> Running in 242cca9d4cd7 02:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:27:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:27:58 (1/1) Installing dumb-init (1.2.5-r1) 02:27:58 Executing busybox-1.35.0-r17.trigger 02:27:58 OK: 5 MiB in 15 packages 02:27:58 Removing intermediate container 242cca9d4cd7 02:27:58 ---> 4897d4485483 02:27:58 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:27:58 ---> 569ccb8ae165 02:27:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:27:58 ---> 4743ffb94334 02:27:58 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:27:58 ---> 8a5a0c0d05ac 02:27:58 Step 19/24 : EXPOSE 59982 02:27:58 ---> Running in 8e7f25543b2d 02:27:58 Removing intermediate container 8e7f25543b2d 02:27:58 ---> 8b7a2a5b6d69 02:27:58 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:27:58 ---> Running in 400e0a775636 02:27:59 Removing intermediate container 400e0a775636 02:27:59 ---> 5f6b0cf6a41b 02:27:59 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:27:59 ---> Running in f474a6ebc985 02:27:59 Removing intermediate container f474a6ebc985 02:27:59 ---> f061ce1da5a2 02:27:59 Step 22/24 : LABEL arch=arm64 02:27:59 ---> Running in 9d60942cb785 02:28:00 Removing intermediate container 9d60942cb785 02:28:00 ---> 33df4a69d023 02:28:00 Step 23/24 : LABEL git_sha=78ef461cd7e8d91d5958851307de16306d7d8387 02:28:00 ---> Running in e6a899d0d752 02:28:00 Removing intermediate container e6a899d0d752 02:28:00 ---> 649df4ac0952 02:28:00 Step 24/24 : LABEL version=0.0.0 02:28:00 ---> Running in b7cb6d1d961b 02:28:00 Removing intermediate container b7cb6d1d961b 02:28:00 ---> 8cdbb4132d57 02:28:00 [Warning] One or more build-args [ARCH] were not consumed 02:28:00 Successfully built 8cdbb4132d57 02:28:00 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 02:28:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:01 02:28:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:02 arm64: Pulling from edgex-lftools-log-publisher 02:28:02 8998bd30e6a1: Pulling fs layer 02:28:02 04944245beec: Pulling fs layer 02:28:02 699f458cf7ca: Pulling fs layer 02:28:02 765212b225bb: Pulling fs layer 02:28:02 f23df028b6ca: Pulling fs layer 02:28:02 d65c8cfc05b1: Pulling fs layer 02:28:02 2437ff75d9bd: Pulling fs layer 02:28:02 f23df028b6ca: Waiting 02:28:02 d65c8cfc05b1: Waiting 02:28:02 765212b225bb: Waiting 02:28:02 2437ff75d9bd: Waiting 02:28:02 04944245beec: Verifying Checksum 02:28:02 04944245beec: Download complete 02:28:02 765212b225bb: Verifying Checksum 02:28:02 765212b225bb: Download complete 02:28:02 f23df028b6ca: Verifying Checksum 02:28:02 f23df028b6ca: Download complete 02:28:02 d65c8cfc05b1: Verifying Checksum 02:28:02 d65c8cfc05b1: Download complete 02:28:02 699f458cf7ca: Download complete 02:28:03 8998bd30e6a1: Verifying Checksum 02:28:03 8998bd30e6a1: Download complete 02:28:05 2437ff75d9bd: Download complete 02:28:07 8998bd30e6a1: Pull complete 02:28:07 04944245beec: Pull complete 02:28:09 699f458cf7ca: Pull complete 02:28:09 765212b225bb: Pull complete 02:28:10 f23df028b6ca: Pull complete 02:28:10 d65c8cfc05b1: Pull complete 02:28:25 2437ff75d9bd: Pull complete 02:28:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:28:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:28:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:25 prd-ubuntu20.04-docker-arm64-4c-16g-3321 does not seem to be running inside a container 02:28:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:28:28 $ docker top 60cc72a168e42ebc607d5b4a8bffe51efa627b462920be895371e5f19b0a9faa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:28:29 ---> job-cost.sh 02:28:29 lf-activate-venv: SKIPPING 02:28:29 INFO: No Stack... 02:28:29 INFO: Retrieving Pricing Info for: v3-standard-4 02:28:30 INFO: Archiving Costs [Pipeline] sh 02:28:31 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:28:31 + cut -d, -f6 [Pipeline] lock 02:28:31 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] 02:28:31 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] did not exist. Created. 02:28:31 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:28:31 /w/workspace/device-mqtt-go/1@tmp/durable-003f8c83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:28:32 + echo total: 0.10999999940395355 [Pipeline] stash 02:28:32 Warning: overwriting stash ‘stack-cost’ 02:28:32 Stashed 1 file(s) [Pipeline] } 02:28:32 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-465-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:28:32 $ docker stop --time=1 60cc72a168e42ebc607d5b4a8bffe51efa627b462920be895371e5f19b0a9faa 02:28:34 $ docker rm -f --volumes 60cc72a168e42ebc607d5b4a8bffe51efa627b462920be895371e5f19b0a9faa [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 02:28:35 provisioning config files... 02:28:35 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/config1545927889343644437tmp [Pipeline] { [Pipeline] sh 02:28:35 + set +x 02:28:35 + bash -s -- 02:28:35 + curl -s https://codecov.io/bash 02:28:35 02:28:35 _____ _ 02:28:35 / ____| | | 02:28:35 | | ___ __| | ___ ___ _____ __ 02:28:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:28:35 | |___| (_) | (_| | __/ (_| (_) \ V / 02:28:35 \_____\___/ \__,_|\___|\___\___/ \_/ 02:28:35 Bash-1.0.6 02:28:35 02:28:35 02:28:35 ==> git version 2.25.1 found 02:28:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:28:35 Release-Date: 2020-01-08 02:28:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:28:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:28:35 ==> Jenkins CI detected. 02:28:35 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-465 02:28:35 project root: . 02:28:35 --> token set from env 02:28:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:28:35 ==> Running gcov in . (disable via -X gcov) 02:28:35 ==> Python coveragepy not found 02:28:35 ==> Searching for coverage reports in: 02:28:35 + . 02:28:35 -> Found 1 reports 02:28:35 ==> Detecting git/mercurial file structure 02:28:35 ==> Reading reports 02:28:35 + ./coverage.out bytes=17887 02:28:35 ==> Appending adjustments 02:28:35 https://docs.codecov.io/docs/fixing-reports 02:28:35 + Found adjustments 02:28:35 ==> Gzipping contents 02:28:35 4.0K /tmp/codecov.qVGVRL.gz 02:28:35 ==> Uploading reports 02:28:35 url: https://codecov.io 02:28:35 query: branch=PR-465&commit=78ef461cd7e8d91d5958851307de16306d7d8387&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=465&job=&cmd_args= 02:28:35 -> Pinging Codecov 02:28:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-465&commit=78ef461cd7e8d91d5958851307de16306d7d8387&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-465%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=465&job=&cmd_args= 02:28:37 -> Uploading to 02:28:37 https://storage.googleapis.com/codecov/v4/raw/2023-01-23/7D719EC7BBE17E464838252E33014C33/78ef461cd7e8d91d5958851307de16306d7d8387/cc6e8914-1533-4e32-9994-68e1e670ef40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230123%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230123T022836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5afc8705f1c03267bdd7fcaf49a085b94ee7347f15c65b821bddc4ffc9b11383 02:28:37 % Total % Received % Xferd Average Speed Time Time Time Current 02:28:37 Dload Upload Total Spent Left Speed 02:28:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 8373 --:--:-- --:--:-- --:--:-- 8373 02:28:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/78ef461cd7e8d91d5958851307de16306d7d8387 [Pipeline] } 02:28:37 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 02:28:39 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives ] 02:28:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives 02:28:39 total 16 02:28:39 drwxr-xr-x 3 root root 4096 Jan 23 02:19 . 02:28:39 drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 02:19 .. 02:28:39 drwxr-xr-x 2 root root 4096 Jan 23 02:19 cost 02:28:39 -rw-r--r-- 1 root root 86 Jan 23 02:19 cost.csv 02:28:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives 02:28:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives 02:28:39 total 16 02:28:39 drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 02:19 . 02:28:39 drwxrwxr-x 11 jenkins jenkins 4096 Jan 23 02:19 .. 02:28:39 drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 02:19 cost 02:28:39 -rw-r--r-- 1 jenkins jenkins 86 Jan 23 02:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:28:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:28:40 ---> package-listing.sh 02:28:40 ++ facter osfamily 02:28:40 ++ tr '[:upper:]' '[:lower:]' 02:28:40 + OS_FAMILY=debian 02:28:40 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-465 02:28:40 + START_PACKAGES=/tmp/packages_start.txt 02:28:40 + END_PACKAGES=/tmp/packages_end.txt 02:28:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:28:40 + PACKAGES=/tmp/packages_start.txt 02:28:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-465 ']' 02:28:40 + PACKAGES=/tmp/packages_end.txt 02:28:40 + case "${OS_FAMILY}" in 02:28:40 + dpkg -l 02:28:40 + grep '^ii' 02:28:40 + '[' -f /tmp/packages_start.txt ']' 02:28:40 + '[' -f /tmp/packages_end.txt ']' 02:28:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:28:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-465 ']' 02:28:40 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives/ 02:28:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-465/archives/ [Pipeline] echo 02:28:40 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-465/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:28:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:28:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:28:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:28:41 prd-ubuntu20.04-docker-8c-8g-3315 does not seem to be running inside a container 02:28:41 $ 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-465/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-465 -v /w/workspace/gexfoundry_device-mqtt-go_PR-465:/w/workspace/gexfoundry_device-mqtt-go_PR-465:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:28:41 $ docker top e4ccba819f1396e348318212ead6166cd9f248b87d5fb4dafe2be59fc53747be -eo pid,comm [Pipeline] { [Pipeline] sh 02:28:42 + touch /tmp/pre-build-complete [Pipeline] sh 02:28:42 + mkdir -p /var/log/sysstat [Pipeline] sh 02:28:42 + ls /var/log/sa-host 02:28:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:28:43 provisioning config files... 02:28:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-465@tmp/config669203403689510108tmp [Pipeline] { [Pipeline] echo 02:28:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:28:43 ---> create-netrc.sh [Pipeline] } 02:28:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:28:43 ---> python-tools-install.sh [Pipeline] echo 02:28:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:28:44 ---> sudo-logs.sh 02:28:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:28:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:28:44 ---> job-cost.sh 02:28:44 lf-activate-venv: SKIPPING 02:28:44 DEBUG: total: 0.2199999988079071 02:28:44 INFO: Retrieving Stack Cost... 02:28:44 INFO: Retrieving Pricing Info for: v3-standard-8 02:28:45 INFO: Archiving Costs [Pipeline] echo 02:28:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:28:45 ---> logs-deploy.sh 02:28:45 lf-activate-venv: SKIPPING 02:28:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-465/1 02:28:45 INFO: archiving workspace using pattern(s): 02:28:46 Archives upload complete. 02:28:46 INFO: archiving logs to Nexus 02:28:47 ---> uname -a: 02:28:47 Linux prd-ubuntu20-04-docker-8c-8g-3315 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:28:47 02:28:47 02:28:47 ---> lscpu: 02:28:47 Architecture: x86_64 02:28:47 CPU op-mode(s): 32-bit, 64-bit 02:28:47 Byte Order: Little Endian 02:28:47 Address sizes: 40 bits physical, 48 bits virtual 02:28:47 CPU(s): 8 02:28:47 On-line CPU(s) list: 0-7 02:28:47 Thread(s) per core: 1 02:28:47 Core(s) per socket: 1 02:28:47 Socket(s): 8 02:28:47 NUMA node(s): 1 02:28:47 Vendor ID: AuthenticAMD 02:28:47 CPU family: 23 02:28:47 Model: 49 02:28:47 Model name: AMD EPYC-Rome Processor 02:28:47 Stepping: 0 02:28:47 CPU MHz: 2799.998 02:28:47 BogoMIPS: 5599.99 02:28:47 Virtualization: AMD-V 02:28:47 Hypervisor vendor: KVM 02:28:47 Virtualization type: full 02:28:47 L1d cache: 256 KiB 02:28:47 L1i cache: 256 KiB 02:28:47 L2 cache: 4 MiB 02:28:47 L3 cache: 128 MiB 02:28:47 NUMA node0 CPU(s): 0-7 02:28:47 Vulnerability Itlb multihit: Not affected 02:28:47 Vulnerability L1tf: Not affected 02:28:47 Vulnerability Mds: Not affected 02:28:47 Vulnerability Meltdown: Not affected 02:28:47 Vulnerability Mmio stale data: Not affected 02:28:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:28:47 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:28:47 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:28:47 Vulnerability Srbds: Not affected 02:28:47 Vulnerability Tsx async abort: Not affected 02:28:47 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 02:28:47 02:28:47 02:28:47 ---> nproc: 02:28:47 8 02:28:47 02:28:47 02:28:47 ---> df -h: 02:28:47 Filesystem Size Used Avail Use% Mounted on 02:28:47 overlay 155G 12G 144G 8% / 02:28:47 tmpfs 64M 0 64M 0% /dev 02:28:47 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:28:47 shm 64M 0 64M 0% /dev/shm 02:28:47 /dev/vda1 155G 12G 144G 8% /facter-os 02:28:47 02:28:47 02:28:47 ---> sar -b -r -n DEV: 02:28:47 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3315) 01/23/23 _x86_64_ (8 CPU) 02:28:47 02:28:47 02:16:12 LINUX RESTART (8 CPU) 02:28:47 02:28:47 02:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:28:47 02:18:01 211.78 4.33 207.45 0.00 489.52 81774.24 0.00 02:28:47 02:19:01 154.54 0.42 154.12 0.00 29.46 23093.35 0.00 02:28:47 02:20:01 31.88 0.03 31.84 0.00 8.53 16442.48 0.00 02:28:47 02:21:01 1.60 0.00 1.60 0.00 0.00 17.99 0.00 02:28:47 02:22:01 53.71 10.58 43.13 0.00 5154.87 8800.93 0.00 02:28:47 02:23:01 6.26 0.02 6.25 0.00 0.13 125.16 0.00 02:28:47 02:24:01 1.42 0.00 1.42 0.00 0.00 15.86 0.00 02:28:47 02:25:01 2.00 0.00 2.00 0.00 0.00 21.86 0.00 02:28:47 02:26:01 1.42 0.00 1.42 0.00 0.00 16.13 0.00 02:28:47 02:27:01 2.23 0.00 2.23 0.00 0.00 24.66 0.00 02:28:47 02:28:01 1.37 0.00 1.37 0.00 0.00 14.53 0.00 02:28:47 Average: 42.56 1.40 41.16 0.00 516.56 11849.03 0.00 02:28:47 02:28:47 02:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:28:47 02:18:01 28495844 31613244 705244 2.14 144668 3184120 1742712 5.14 1042824 2924516 552 02:28:47 02:19:01 27597780 31562512 750448 2.28 158016 3952896 2052284 6.05 1230816 3557708 543356 02:28:47 02:20:01 27719060 31597552 715124 2.17 158468 3866896 1765584 5.20 1210700 3459312 16 02:28:47 02:21:01 27720308 31598916 713436 2.17 158496 3866900 1765584 5.20 1208908 3459316 8 02:28:47 02:22:01 27197316 31577648 714956 2.17 192092 4321800 1806160 5.32 1534392 3624608 932 02:28:47 02:23:01 27205184 31580576 711088 2.16 190676 4318540 1775740 5.23 1524788 3621348 4 02:28:47 02:24:01 27212552 31588192 703192 2.14 190760 4318672 1775740 5.23 1517936 3621484 8 02:28:47 02:25:01 27212148 31587900 703420 2.14 190836 4318672 1775740 5.23 1518052 3621480 8 02:28:47 02:26:01 27212204 31588132 703268 2.14 190908 4318680 1775740 5.23 1518012 3621592 8 02:28:47 02:27:01 27212156 31588180 703196 2.14 190996 4318684 1775740 5.23 1518112 3621592 4 02:28:47 02:28:01 27212332 31588696 703096 2.14 191080 4318684 1775740 5.23 1517832 3621872 8 02:28:47 Average: 27454262 31588323 711497 2.16 177909 4100413 1798797 5.30 1394761 3523166 49537 02:28:47 02:28:47 02:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:28:47 02:18:01 lo 4.20 4.20 0.41 0.41 0.00 0.00 0.00 0.00 02:28:47 02:18:01 ens3 508.98 359.87 7638.44 48.03 0.00 0.00 0.00 0.00 02:28:47 02:18:01 docker0 161.74 246.66 14.13 1972.67 0.00 0.00 0.00 0.00 02:28:47 02:19:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 02:28:47 02:19:01 ens3 166.84 122.55 2692.05 102.09 0.00 0.00 0.00 0.00 02:28:47 02:19:01 docker0 5.97 9.42 0.34 81.72 0.00 0.00 0.00 0.00 02:28:47 02:20:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 02:28:47 02:20:01 ens3 15.30 8.28 14.15 4.90 0.00 0.00 0.00 0.00 02:28:47 02:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:28:47 02:21:01 ens3 1.10 0.70 0.61 0.48 0.00 0.00 0.00 0.00 02:28:47 02:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:22:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 02:28:47 02:22:01 ens3 167.87 103.17 2754.19 7.34 0.00 0.00 0.00 0.00 02:28:47 02:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:28:47 02:23:01 ens3 0.52 0.33 0.09 0.02 0.00 0.00 0.00 0.00 02:28:47 02:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:24:01 ens3 0.13 0.00 0.01 0.00 0.00 0.00 0.00 0.00 02:28:47 02:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:28:47 02:25:01 ens3 0.27 0.13 0.02 0.01 0.00 0.00 0.00 0.00 02:28:47 02:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:26:01 ens3 0.15 0.00 0.01 0.00 0.00 0.00 0.00 0.00 02:28:47 02:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:28:47 02:27:01 ens3 0.77 0.63 0.34 0.29 0.00 0.00 0.00 0.00 02:28:47 02:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:28:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 02:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:28:47 Average: lo 0.70 0.70 0.07 0.07 0.00 0.00 0.00 0.00 02:28:47 Average: ens3 78.35 54.15 1190.83 14.83 0.00 0.00 0.00 0.00 02:28:47 Average: docker0 15.25 23.28 1.31 186.75 0.00 0.00 0.00 0.00 02:28:47 02:28:47 02:28:47 ---> sar -P ALL: 02:28:47 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-3315) 01/23/23 _x86_64_ (8 CPU) 02:28:47 02:28:47 02:16:12 LINUX RESTART (8 CPU) 02:28:47 02:28:47 02:17:01 CPU %user %nice %system %iowait %steal %idle 02:28:47 02:18:01 all 9.72 0.00 4.53 1.70 0.06 83.99 02:28:47 02:18:01 0 9.03 0.00 6.01 5.52 0.05 79.39 02:28:47 02:18:01 1 10.08 0.00 3.66 1.28 0.05 84.93 02:28:47 02:18:01 2 9.99 0.00 3.28 0.77 0.05 85.91 02:28:47 02:18:01 3 10.40 0.00 4.22 2.78 0.07 82.53 02:28:47 02:18:01 4 9.24 0.00 5.25 1.13 0.05 84.33 02:28:47 02:18:01 5 9.70 0.00 4.35 0.10 0.05 85.80 02:28:47 02:18:01 6 10.14 0.00 4.37 0.84 0.07 84.58 02:28:47 02:18:01 7 9.18 0.00 5.15 1.18 0.07 84.43 02:28:47 02:19:01 all 36.50 0.00 6.79 0.80 0.09 55.82 02:28:47 02:19:01 0 36.73 0.00 6.82 0.27 0.10 56.08 02:28:47 02:19:01 1 36.76 0.00 7.07 0.47 0.08 55.62 02:28:47 02:19:01 2 36.29 0.00 6.65 1.48 0.08 55.50 02:28:47 02:19:01 3 36.80 0.00 6.50 0.20 0.08 56.42 02:28:47 02:19:01 4 35.37 0.00 6.56 3.10 0.08 54.88 02:28:47 02:19:01 5 36.25 0.00 7.14 0.34 0.10 56.17 02:28:47 02:19:01 6 37.47 0.00 6.83 0.35 0.08 55.26 02:28:47 02:19:01 7 36.37 0.00 6.75 0.17 0.08 56.62 02:28:47 02:20:01 all 0.28 0.00 0.25 0.25 0.00 99.21 02:28:47 02:20:01 0 0.34 0.00 0.23 0.03 0.00 99.40 02:28:47 02:20:01 1 0.43 0.00 0.23 0.00 0.00 99.33 02:28:47 02:20:01 2 0.22 0.00 0.63 1.52 0.00 97.63 02:28:47 02:20:01 3 0.20 0.00 0.15 0.02 0.00 99.63 02:28:47 02:20:01 4 0.12 0.00 0.17 0.25 0.02 99.45 02:28:47 02:20:01 5 0.20 0.00 0.18 0.03 0.00 99.58 02:28:47 02:20:01 6 0.37 0.00 0.17 0.18 0.00 99.28 02:28:47 02:20:01 7 0.38 0.00 0.20 0.00 0.02 99.40 02:28:47 02:21:01 all 0.04 0.00 0.02 0.00 0.00 99.94 02:28:47 02:21:01 0 0.03 0.00 0.02 0.00 0.02 99.93 02:28:47 02:21:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:28:47 02:21:01 2 0.05 0.00 0.03 0.00 0.00 99.92 02:28:47 02:21:01 3 0.03 0.00 0.02 0.00 0.00 99.95 02:28:47 02:21:01 4 0.02 0.00 0.00 0.02 0.00 99.97 02:28:47 02:21:01 5 0.07 0.00 0.02 0.00 0.00 99.92 02:28:47 02:21:01 6 0.03 0.00 0.02 0.02 0.00 99.93 02:28:47 02:21:01 7 0.05 0.00 0.03 0.00 0.00 99.92 02:28:47 02:22:01 all 2.19 0.00 1.43 0.36 0.01 96.01 02:28:47 02:22:01 0 0.86 0.00 0.97 0.29 0.00 97.89 02:28:47 02:22:01 1 2.98 0.00 1.94 0.12 0.02 94.95 02:28:47 02:22:01 2 2.54 0.00 1.64 0.37 0.02 95.43 02:28:47 02:22:01 3 2.29 0.00 1.25 0.32 0.02 96.13 02:28:47 02:22:01 4 1.32 0.00 0.95 1.37 0.00 96.36 02:28:47 02:22:01 5 2.06 0.00 2.91 0.23 0.02 94.79 02:28:47 02:22:01 6 2.62 0.00 1.00 0.08 0.02 96.28 02:28:47 02:22:01 7 2.84 0.00 0.79 0.07 0.03 96.27 02:28:47 02:23:01 all 0.07 0.00 0.05 0.02 0.00 99.85 02:28:47 02:23:01 0 0.05 0.00 0.07 0.07 0.02 99.80 02:28:47 02:23:01 1 0.08 0.00 0.05 0.00 0.00 99.87 02:28:47 02:23:01 2 0.02 0.00 0.03 0.00 0.00 99.95 02:28:47 02:23:01 3 0.25 0.00 0.10 0.00 0.00 99.65 02:28:47 02:23:01 4 0.03 0.00 0.07 0.08 0.00 99.82 02:28:47 02:23:01 5 0.07 0.00 0.02 0.00 0.00 99.92 02:28:47 02:23:01 6 0.05 0.00 0.03 0.02 0.00 99.90 02:28:47 02:23:01 7 0.03 0.00 0.05 0.00 0.02 99.90 02:28:47 02:24:01 all 0.10 0.00 0.01 0.02 0.00 99.87 02:28:47 02:24:01 0 0.63 0.00 0.00 0.00 0.00 99.37 02:28:47 02:24:01 1 0.02 0.00 0.03 0.00 0.00 99.95 02:28:47 02:24:01 2 0.03 0.00 0.00 0.00 0.00 99.97 02:28:47 02:24:01 3 0.02 0.00 0.00 0.00 0.00 99.98 02:28:47 02:24:01 4 0.00 0.00 0.00 0.20 0.00 99.80 02:28:47 02:24:01 5 0.02 0.00 0.02 0.00 0.00 99.97 02:28:47 02:24:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:28:47 02:24:01 7 0.03 0.00 0.02 0.00 0.00 99.95 02:28:47 02:25:01 all 0.02 0.00 0.02 0.01 0.00 99.96 02:28:47 02:25:01 0 0.02 0.00 0.02 0.03 0.00 99.93 02:28:47 02:25:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:28:47 02:25:01 2 0.00 0.00 0.02 0.00 0.00 99.98 02:28:47 02:25:01 3 0.00 0.00 0.02 0.00 0.00 99.98 02:28:47 02:25:01 4 0.02 0.00 0.03 0.03 0.02 99.90 02:28:47 02:25:01 5 0.03 0.00 0.00 0.00 0.00 99.97 02:28:47 02:25:01 6 0.00 0.00 0.02 0.00 0.00 99.98 02:28:47 02:25:01 7 0.05 0.00 0.02 0.00 0.00 99.93 02:28:47 02:26:01 all 0.19 0.00 0.04 0.01 0.01 99.75 02:28:47 02:26:01 0 1.30 0.00 0.25 0.02 0.00 98.43 02:28:47 02:26:01 1 0.02 0.00 0.03 0.00 0.02 99.93 02:28:47 02:26:01 2 0.00 0.00 0.00 0.00 0.00 100.00 02:28:47 02:26:01 3 0.05 0.00 0.02 0.00 0.02 99.92 02:28:47 02:26:01 4 0.02 0.00 0.00 0.08 0.00 99.90 02:28:47 02:26:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:28:47 02:26:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:28:47 02:26:01 7 0.07 0.00 0.03 0.00 0.02 99.88 02:28:47 02:27:01 all 0.02 0.00 0.02 0.01 0.00 99.95 02:28:47 02:27:01 0 0.03 0.00 0.02 0.03 0.02 99.90 02:28:47 02:27:01 1 0.00 0.00 0.03 0.00 0.00 99.97 02:28:47 02:27:01 2 0.00 0.00 0.00 0.00 0.00 100.00 02:28:47 02:27:01 3 0.00 0.00 0.02 0.00 0.00 99.98 02:28:47 02:27:01 4 0.02 0.00 0.02 0.02 0.00 99.95 02:28:47 02:27:01 5 0.07 0.00 0.02 0.00 0.00 99.92 02:28:47 02:27:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:28:47 02:27:01 7 0.03 0.00 0.05 0.00 0.00 99.92 02:28:47 02:28:01 all 0.01 0.00 0.01 0.00 0.00 99.97 02:28:47 02:28:01 0 0.00 0.00 0.00 0.00 0.00 100.00 02:28:47 02:28:01 1 0.02 0.00 0.02 0.00 0.00 99.97 02:28:47 02:28:01 2 0.02 0.00 0.00 0.00 0.00 99.98 02:28:47 02:28:01 3 0.00 0.00 0.03 0.00 0.00 99.97 02:28:47 02:28:01 4 0.02 0.00 0.00 0.03 0.00 99.95 02:28:47 02:28:01 5 0.02 0.00 0.00 0.00 0.00 99.98 02:28:47 02:28:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:28:47 02:28:01 7 0.02 0.00 0.00 0.00 0.02 99.97 02:28:47 02:28:47 Average: CPU %user %nice %system %iowait %steal %idle 02:28:47 Average: all 4.42 0.00 1.19 0.29 0.02 94.09 02:28:47 Average: 0 4.42 0.00 1.30 0.56 0.02 93.69 02:28:47 Average: 1 4.53 0.00 1.18 0.17 0.02 94.10 02:28:47 Average: 2 4.43 0.00 1.11 0.37 0.01 94.07 02:28:47 Average: 3 4.51 0.00 1.11 0.30 0.02 94.06 02:28:47 Average: 4 4.15 0.00 1.17 0.57 0.02 94.09 02:28:47 Average: 5 4.36 0.00 1.32 0.06 0.02 94.25 02:28:47 Average: 6 4.57 0.00 1.12 0.14 0.02 94.15 02:28:47 Average: 7 4.41 0.00 1.18 0.13 0.02 94.27 02:28:47 02:28:47 02:28:47