Pull request #486 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 603fd62d36b5e47380355446b1cdf3dcbfb3bab3+bc7652beee9a90296fe0b57947c4589a421f5e02 (265e601d500b5e40186d3d947e9fa57adfc776c5) 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-ssh214006540645356961.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-ssh4416452551653641914.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-486/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-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh241084744898600334.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-486/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh168205080077371580.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-ssh957323775134146758.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-486/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-486/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13343396571758823149.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-6036 in /w/workspace/gexfoundry_device-mqtt-go_PR-486 [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-486 # 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/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 Merge succeeded, producing 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 Checking out Revision 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 (PR-486) 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] { [Pipeline] timeout 01:59:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:59:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 # 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 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 # timeout=10 [Pipeline] echo 01:59:57 ========================================================= 01:59:57 EdgeX Global Pipelines Version Info 01:59:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:59:57 ------------------- 01:59:57 stable info: 01:59:57 ------------------- 01:59:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:59:57 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:59:57 Message: update stable to v1.0.244 01:59:58 ------------------- 01:59:58 experimental info: 01:59:58 ------------------- 01:59:58 Commited By: **** collab-it+edgex@linuxfoundation.org 01:59:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:59:58 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-486 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-486 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-486 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] echo 02:00:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 603fd62 [Pipeline] echo 02:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:00 provisioning config files... 02:00:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/config5922114796297511846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:00 ---> docker-login.sh 02:00:00 nexus3.edgexfoundry.org:10001 02:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:00 Configure a credential helper to remove this warning. See 02:00:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:00 02:00:00 Login Succeeded 02:00:00 nexus3.edgexfoundry.org:10002 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 nexus3.edgexfoundry.org:10003 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 nexus3.edgexfoundry.org:10004 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 docker.io 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 ---> docker-login.sh ends [Pipeline] } 02:00:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:00:02 + git rev-list -1 --merges 603fd62d36b5e47380355446b1cdf3dcbfb3bab3~1..603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] echo 02:00:02 -----------> git rev-list -1 --merges 603fd62d36b5e47380355446b1cdf3dcbfb3bab3~1..603fd62d36b5e47380355446b1cdf3dcbfb3bab3 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [false] [Pipeline] sh 02:00:02 + git log --format=format:%s -1 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] echo 02:00:02 ========================================================= 02:00:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:00:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:03 + git log --format=format:%s -1 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] echo 02:00:03 [semverPrep] GIT_COMMIT: 603fd62d36b5e47380355446b1cdf3dcbfb3bab3, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:00:03 [semverPrep] This is not a build commit. [Pipeline] sh 02:00:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:00:03 + grep -v github /etc/ssh/ssh_known_hosts 02:00:03 + [ -e /tmp/ssh_known_hosts ] 02:00:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:00:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:00:03 + sudo tee -a /etc/ssh/ssh_known_hosts 02:00:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:04 02:00:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:04 0.1.4: Pulling from edgex-devops/py-git-semver 02:00:04 b85a868b505f: Pulling fs layer 02:00:04 e2be974225ed: Pulling fs layer 02:00:04 339a4e72a1f5: Pulling fs layer 02:00:04 988bab9f4d93: Pulling fs layer 02:00:04 1469e6f7b9e6: Pulling fs layer 02:00:04 eaf3925da568: Pulling fs layer 02:00:04 bab4dde63d76: Pulling fs layer 02:00:04 bde34c3a00c8: Pulling fs layer 02:00:04 b352a97aabf1: Pulling fs layer 02:00:04 4872d77fe225: Pulling fs layer 02:00:04 5851b861e8e6: Pulling fs layer 02:00:04 988bab9f4d93: Waiting 02:00:04 4872d77fe225: Waiting 02:00:04 5851b861e8e6: Waiting 02:00:04 b352a97aabf1: Waiting 02:00:04 1469e6f7b9e6: Waiting 02:00:04 bde34c3a00c8: Waiting 02:00:04 eaf3925da568: Waiting 02:00:04 bab4dde63d76: Waiting 02:00:04 e2be974225ed: Verifying Checksum 02:00:04 e2be974225ed: Download complete 02:00:04 988bab9f4d93: Verifying Checksum 02:00:04 988bab9f4d93: Download complete 02:00:05 339a4e72a1f5: Verifying Checksum 02:00:05 339a4e72a1f5: Download complete 02:00:05 eaf3925da568: Download complete 02:00:05 1469e6f7b9e6: Verifying Checksum 02:00:05 1469e6f7b9e6: Download complete 02:00:05 bde34c3a00c8: Verifying Checksum 02:00:05 bde34c3a00c8: Download complete 02:00:05 b352a97aabf1: Verifying Checksum 02:00:05 b352a97aabf1: Download complete 02:00:05 4872d77fe225: Verifying Checksum 02:00:05 4872d77fe225: Download complete 02:00:05 5851b861e8e6: Verifying Checksum 02:00:05 5851b861e8e6: Download complete 02:00:05 b85a868b505f: Verifying Checksum 02:00:05 b85a868b505f: Download complete 02:00:05 bab4dde63d76: Verifying Checksum 02:00:05 bab4dde63d76: Download complete 02:00:06 b85a868b505f: Pull complete 02:00:07 e2be974225ed: Pull complete 02:00:07 339a4e72a1f5: Pull complete 02:00:07 988bab9f4d93: Pull complete 02:00:07 1469e6f7b9e6: Pull complete 02:00:07 eaf3925da568: Pull complete 02:00:09 bab4dde63d76: Pull complete 02:00:09 bde34c3a00c8: Pull complete 02:00:09 b352a97aabf1: Pull complete 02:00:10 4872d77fe225: Pull complete 02:00:10 5851b861e8e6: Pull complete 02:00:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:00:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:10 prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container 02:00:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:00:12 $ docker top f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 -eo pid,comm 02:00:12 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:00:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:12 [ssh-agent] Looking for ssh-agent implementation... 02:00:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:12 $ docker exec f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 ssh-agent 02:00:13 SSH_AUTH_SOCK=/tmp/ssh-1kaLhv3bgCJs/agent.33 02:00:13 SSH_AGENT_PID=39 02:00:13 Running ssh-add (command line suppressed) 02:00:13 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/private_key_3524481938602672215.key (/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/private_key_3524481938602672215.key) 02:00:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:13 + git tag --points-at HEAD [Pipeline] } 02:00:13 $ docker exec --env ******** --env ******** f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 ssh-agent -k 02:00:13 unset SSH_AUTH_SOCK; 02:00:13 unset SSH_AGENT_PID; 02:00:13 echo Agent pid 39 killed; 02:00:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:00:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:13 [ssh-agent] Looking for ssh-agent implementation... 02:00:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:13 $ docker exec f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 ssh-agent 02:00:13 SSH_AUTH_SOCK=/tmp/ssh-ajgjDnIswA6h/agent.71 02:00:13 SSH_AGENT_PID=77 02:00:13 Running ssh-add (command line suppressed) 02:00:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/private_key_13879237691650525970.key (/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/private_key_13879237691650525970.key) 02:00:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:14 + git semver init 02:00:14 2023-02-15 02:00:14,597 [run_init] DEBUG init version:0.0.0 force:False 02:00:14 2023-02-15 02:00:14,598 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver 02:00:14 2023-02-15 02:00:14,599 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver 02:00:14 2023-02-15 02:00:14,599 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-486, universal_newlines=False, shell=None, istream=None) 02:00:15 2023-02-15 02:00:15,529 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486/.git/info/exclude 02:00:15 2023-02-15 02:00:15,530 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver/PR-486 with force:False 02:00:15 2023-02-15 02:00:15,530 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver/PR-486 02:00:15 2023-02-15 02:00:15,534 [execute] INFO git cat-file --batch-check 02:00:15 2023-02-15 02:00:15,535 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver, universal_newlines=False, shell=None, istream=) 02:00:15 2023-02-15 02:00:15,541 [execute] INFO git cat-file --batch 02:00:15 2023-02-15 02:00:15,541 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver, universal_newlines=False, shell=None, istream=) 02:00:15 2023-02-15 02:00:15,544 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-486/.semver/PR-486 02:00:15 0.0.0 [Pipeline] } 02:00:15 $ docker exec --env ******** --env ******** f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 ssh-agent -k 02:00:15 unset SSH_AUTH_SOCK; 02:00:15 unset SSH_AGENT_PID; 02:00:15 echo Agent pid 77 killed; 02:00:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:16 + git semver [Pipeline] } 02:00:16 $ docker stop --time=1 f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 02:00:17 $ docker rm -f --volumes f45be5c95b558cf048cadbcec55439f6ac39247ee87ebcb38497565712ae3483 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:00:18 Stashed 1 file(s) [Pipeline] echo 02:00:18 [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:00:19 provisioning config files... 02:00:19 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/config12491187672034502279tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:19 ---> docker-login.sh 02:00:19 nexus3.edgexfoundry.org:10001 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 nexus3.edgexfoundry.org:10002 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 nexus3.edgexfoundry.org:10003 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 nexus3.edgexfoundry.org:10004 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 docker.io 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:20 Configure a credential helper to remove this warning. See 02:00:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:20 02:00:20 Login Succeeded 02:00:20 ---> docker-login.sh ends [Pipeline] } 02:00:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:20 ========================================================= 02:00:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 02:00:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:20 + 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:00:20 Sending build context to Docker daemon 6.34MB 02:00:20 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:00:20 Step 2/12 : FROM ${BASE} AS builder 02:00:21 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 02:00:21 213ec9aee27d: Pulling fs layer 02:00:21 4583459ba037: Pulling fs layer 02:00:21 93c1e223e6f2: Pulling fs layer 02:00:21 53926ce57604: Pulling fs layer 02:00:21 21b2b0c7a3f4: Pulling fs layer 02:00:21 53926ce57604: Waiting 02:00:21 21b2b0c7a3f4: Waiting 02:00:21 22ff95d597cd: Pulling fs layer 02:00:21 12d6caf4c0d1: Pulling fs layer 02:00:21 96b7cbca73a9: Pulling fs layer 02:00:21 a7acece74701: Pulling fs layer 02:00:21 22ff95d597cd: Waiting 02:00:21 12d6caf4c0d1: Waiting 02:00:21 96b7cbca73a9: Waiting 02:00:21 93c1e223e6f2: Download complete 02:00:21 4583459ba037: Verifying Checksum 02:00:21 4583459ba037: Download complete 02:00:21 21b2b0c7a3f4: Verifying Checksum 02:00:21 21b2b0c7a3f4: Download complete 02:00:21 22ff95d597cd: Verifying Checksum 02:00:21 22ff95d597cd: Download complete 02:00:21 213ec9aee27d: Download complete 02:00:21 12d6caf4c0d1: Download complete 02:00:21 213ec9aee27d: Pull complete 02:00:22 4583459ba037: Pull complete 02:00:22 93c1e223e6f2: Pull complete 02:00:25 53926ce57604: Verifying Checksum 02:00:25 53926ce57604: Download complete 02:00:25 a7acece74701: Verifying Checksum 02:00:25 a7acece74701: Download complete 02:00:25 96b7cbca73a9: Verifying Checksum 02:00:25 96b7cbca73a9: Download complete 02:00:29 53926ce57604: Pull complete 02:00:29 21b2b0c7a3f4: Pull complete 02:00:29 22ff95d597cd: Pull complete 02:00:29 12d6caf4c0d1: Pull complete 02:00:31 96b7cbca73a9: Pull complete 02:00:32 a7acece74701: Pull complete 02:00:32 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 02:00:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 02:00:32 ---> db6d94c90886 02:00:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:00:33 Still waiting to schedule task 02:00:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:00:35 ---> Running in 4b9727ceff3a 02:00:35 Removing intermediate container 4b9727ceff3a 02:00:35 ---> 3e81e4af262c 02:00:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:35 ---> Running in 551b244c5477 02:00:35 Removing intermediate container 551b244c5477 02:00:35 ---> 88b27685969c 02:00:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:35 ---> Running in 880fc2a133ab 02:00:35 Removing intermediate container 880fc2a133ab 02:00:35 ---> cdbf23e5741a 02:00:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:00:35 ---> Running in ae22cde2d1a5 02:00:35 Removing intermediate container ae22cde2d1a5 02:00:35 ---> e9f67bf073bd 02:00:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:35 ---> Running in f182324e4e80 02:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:00:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:00:36 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:00:36 (2/4) Installing libedit (20210910.3.1-r0) 02:00:36 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:00:36 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:00:36 Executing busybox-1.35.0-r17.trigger 02:00:36 OK: 216 MiB in 55 packages 02:00:37 Removing intermediate container f182324e4e80 02:00:37 ---> 3cfb3abdb9b3 02:00:37 Step 8/12 : WORKDIR /device-mqtt-go 02:00:37 ---> Running in a9700c00ed84 02:00:37 Removing intermediate container a9700c00ed84 02:00:37 ---> 7a00a82f0678 02:00:37 Step 9/12 : COPY go.mod vendor* ./ 02:00:37 ---> de263b2f667f 02:00:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:37 ---> Running in c11db238c929 02:01:16 Removing intermediate container c11db238c929 02:01:16 ---> 86c537ce82d9 02:01:16 Step 11/12 : COPY . . 02:01:16 ---> e96c2a0b2356 02:01:16 Step 12/12 : RUN $MAKE 02:01:16 ---> Running in 88cbcd1cbb1f 02:01:16 noop 02:01:16 Removing intermediate container 88cbcd1cbb1f 02:01:16 ---> 2af9f699a329 02:01:16 Successfully built 2af9f699a329 02:01:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:16 + docker inspect -f . ci-base-image-x86_64 02:01:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:16 prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container 02:01:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@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-x86_64 cat 02:01:17 $ docker top 22c72064ab79d127a9b28ba91a7d69270270bd009fc5f2a7794acd1bf09fdd94 -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:18 + go version 02:01:18 go version go1.18.7 linux/amd64 [Pipeline] } 02:01:18 $ docker stop --time=1 22c72064ab79d127a9b28ba91a7d69270270bd009fc5f2a7794acd1bf09fdd94 02:01:19 $ docker rm -f --volumes 22c72064ab79d127a9b28ba91a7d69270270bd009fc5f2a7794acd1bf09fdd94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:20 + docker inspect -f . ci-base-image-x86_64 02:01:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:20 prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container 02:01:20 $ 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-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@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-x86_64 cat 02:01:20 $ docker top 37065917a5ee4556b634319a721a247ad819eea9db42d3280f1d4154c5a4efea -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:21 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-486 [Pipeline] fileExists [Pipeline] sh 02:01:21 + make test 02:01:21 go test ./... -coverprofile=coverage.out ./... 02:01:22 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:01:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:01:32 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.014s coverage: 21.8% of statements 02:01:32 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:01:40 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:01:40 go vet ./... 02:01:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:01:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:01:44 ./bin/test-attribution-txt.sh 02:01:44 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:01:44 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:01:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:01:44 $ docker stop --time=1 37065917a5ee4556b634319a721a247ad819eea9db42d3280f1d4154c5a4efea 02:01:46 $ docker rm -f --volumes 37065917a5ee4556b634319a721a247ad819eea9db42d3280f1d4154c5a4efea [Pipeline] // withDockerContainer [Pipeline] sh 02:01:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:01:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:01:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:01:47 + ls -al . 02:01:47 total 184 02:01:47 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 02:01 . 02:01:47 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 01:59 .. 02:01:47 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 01:59 .dockerignore 02:01:47 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 02:01 .git 02:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 01:59 .github 02:01:47 -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 01:59 .gitignore 02:01:47 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 01:59 .golangci.yml 02:01:47 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 02:00 .semver 02:01:47 -rw-rw-r-- 1 jenkins jenkins 9189 Feb 15 01:59 Attribution.txt 02:01:47 -rw-rw-r-- 1 jenkins jenkins 13162 Feb 15 01:59 CHANGELOG.md 02:01:47 -rw-rw-r-- 1 jenkins jenkins 1689 Feb 15 01:59 Dockerfile 02:01:47 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 01:59 GOVERNANCE.md 02:01:47 -rw-rw-r-- 1 jenkins jenkins 678 Feb 15 01:59 Jenkinsfile 02:01:47 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 01:59 LICENSE 02:01:47 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 15 01:59 Makefile 02:01:47 -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 01:59 OWNERS.md 02:01:47 -rw-rw-r-- 1 jenkins jenkins 3165 Feb 15 01:59 README.md 02:01:47 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 02:00 VERSION 02:01:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 01:59 bin 02:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 01:59 cmd 02:01:47 -rw-r--r-- 1 jenkins jenkins 17887 Feb 15 02:01 coverage.out 02:01:47 -rw-rw-r-- 1 jenkins jenkins 3376 Feb 15 01:59 go.mod 02:01:47 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 01:59 go.sum 02:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 01:59 internal 02:01:47 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 01:59 mock 02:01:47 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 01:59 snap 02:01:47 -rw-rw-r-- 1 jenkins jenkins 227 Feb 15 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:48 + 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=603fd62d36b5e47380355446b1cdf3dcbfb3bab3 --label arch=amd64 --label version=0.0.0 . 02:01:48 Sending build context to Docker daemon 6.359MB 02:01:48 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 02:01:48 Step 2/24 : FROM ${BASE} AS builder 02:01:48 ---> 2af9f699a329 02:01:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:01:48 ---> Running in 836c7a0ad0cc 02:01:48 Removing intermediate container 836c7a0ad0cc 02:01:48 ---> 2afaf130a725 02:01:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:48 ---> Running in dbe150d49472 02:01:48 Removing intermediate container dbe150d49472 02:01:48 ---> a3dbc2bd24c9 02:01:48 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:48 ---> Running in 92e5ac1e7952 02:01:48 Removing intermediate container 92e5ac1e7952 02:01:48 ---> 064819669933 02:01:48 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:01:48 ---> Running in 89c148c383b7 02:01:48 Removing intermediate container 89c148c383b7 02:01:48 ---> bd74925e62c3 02:01:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:49 ---> Running in 4987c07006b4 02:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:01:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:01:49 OK: 216 MiB in 55 packages 02:01:50 Removing intermediate container 4987c07006b4 02:01:50 ---> 0295e16c9eb4 02:01:50 Step 8/24 : WORKDIR /device-mqtt-go 02:01:50 ---> Running in 75e046764fa9 02:01:50 Removing intermediate container 75e046764fa9 02:01:50 ---> 5381b0fb522c 02:01:50 Step 9/24 : COPY go.mod vendor* ./ 02:01:50 ---> 6ea231fe9d66 02:01:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:50 ---> Running in a9ccfcebf519 02:01:51 Removing intermediate container a9ccfcebf519 02:01:51 ---> d21df000acaf 02:01:51 Step 11/24 : COPY . . 02:01:51 ---> 71ac55a2adf2 02:01:51 Step 12/24 : RUN $MAKE 02:01:51 ---> Running in 1efa69687179 02:01:52 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:02:14 Removing intermediate container 1efa69687179 02:02:14 ---> 983d9c8a757d 02:02:14 Step 13/24 : FROM alpine:3.16 02:02:14 3.16: Pulling from library/alpine 02:02:14 ef5531b6e74e: Pulling fs layer 02:02:14 ef5531b6e74e: Verifying Checksum 02:02:14 ef5531b6e74e: Download complete 02:02:14 ef5531b6e74e: Pull complete 02:02:14 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:02:14 Status: Downloaded newer image for alpine:3.16 02:02:14 ---> dfd21b5a31f5 02:02:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:02:14 ---> Running in 852f817633a3 02:02:14 Removing intermediate container 852f817633a3 02:02:14 ---> c221ac8c4af6 02:02:14 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:02:14 ---> Running in e5086350bd58 02:02:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 02:02:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 02:02:14 (1/1) Installing dumb-init (1.2.5-r1) 02:02:14 Executing busybox-1.35.0-r17.trigger 02:02:14 OK: 6 MiB in 15 packages 02:02:14 Removing intermediate container e5086350bd58 02:02:14 ---> a801f9d00c23 02:02:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:02:14 ---> b1a691159e80 02:02:14 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:02:14 ---> 60c00e258357 02:02:14 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:02:14 ---> a27669346140 02:02:14 Step 19/24 : EXPOSE 59982 02:02:14 ---> Running in 9c2c523ff2cd 02:02:14 Removing intermediate container 9c2c523ff2cd 02:02:14 ---> 74c180c4d435 02:02:14 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:02:14 ---> Running in bc2d07c2f358 02:02:14 Removing intermediate container bc2d07c2f358 02:02:14 ---> 47c177207802 02:02:14 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:02:14 ---> Running in 130151fb66a7 02:02:14 Removing intermediate container 130151fb66a7 02:02:14 ---> e30776648966 02:02:14 Step 22/24 : LABEL arch=amd64 02:02:14 ---> Running in 57b8b25ae0a1 02:02:14 Removing intermediate container 57b8b25ae0a1 02:02:14 ---> 2c37e0503cb8 02:02:14 Step 23/24 : LABEL git_sha=603fd62d36b5e47380355446b1cdf3dcbfb3bab3 02:02:14 ---> Running in 329d38e40f18 02:02:14 Removing intermediate container 329d38e40f18 02:02:14 ---> 33c245b8f41f 02:02:14 Step 24/24 : LABEL version=0.0.0 02:02:14 ---> Running in d9ac19549e89 02:02:14 Removing intermediate container d9ac19549e89 02:02:14 ---> f4f79bace6d1 02:02:14 [Warning] One or more build-args [ARCH] were not consumed 02:02:14 Successfully built f4f79bace6d1 02:02:14 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:02:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:15 02:02:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:15 latest: Pulling from edgex-lftools-log-publisher 02:02:15 5eb5b503b376: Pulling fs layer 02:02:15 5c69ac0246d0: Pulling fs layer 02:02:15 ec43610c2a17: Pulling fs layer 02:02:15 3a2ae6a8a46f: Pulling fs layer 02:02:15 33b1e0a273af: Pulling fs layer 02:02:15 5d3b04190fa2: Pulling fs layer 02:02:15 2f39f015ded8: Pulling fs layer 02:02:15 3a2ae6a8a46f: Waiting 02:02:15 33b1e0a273af: Waiting 02:02:15 5d3b04190fa2: Waiting 02:02:15 2f39f015ded8: Waiting 02:02:15 5c69ac0246d0: Verifying Checksum 02:02:15 5c69ac0246d0: Download complete 02:02:15 3a2ae6a8a46f: Download complete 02:02:15 33b1e0a273af: Verifying Checksum 02:02:15 33b1e0a273af: Download complete 02:02:15 5d3b04190fa2: Download complete 02:02:15 ec43610c2a17: Verifying Checksum 02:02:15 ec43610c2a17: Download complete 02:02:16 5eb5b503b376: Verifying Checksum 02:02:16 5eb5b503b376: Download complete 02:02:16 2f39f015ded8: Download complete 02:02:17 5eb5b503b376: Pull complete 02:02:17 5c69ac0246d0: Pull complete 02:02:17 ec43610c2a17: Pull complete 02:02:17 3a2ae6a8a46f: Pull complete 02:02:17 33b1e0a273af: Pull complete 02:02:18 5d3b04190fa2: Pull complete 02:02:23 2f39f015ded8: Pull complete 02:02:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:02:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:23 prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container 02:02:23 $ 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-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:02:25 $ docker top 0cead4b95ab97a407d9f15d7b9b140cffeee4c86f42f485cdf016bc449fe571b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:26 ---> job-cost.sh 02:02:26 lf-activate-venv: SKIPPING 02:02:26 INFO: No Stack... 02:02:26 INFO: Retrieving Pricing Info for: v3-standard-8 02:02:26 INFO: Archiving Costs [Pipeline] sh 02:02:26 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives/cost.csv 02:02:26 + cut -d, -f6 [Pipeline] lock 02:02:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] 02:02:26 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] did not exist. Created. 02:02:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:02:27 + echo total: 0.2199999988079071 [Pipeline] stash 02:02:27 Stashed 1 file(s) [Pipeline] } 02:02:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:02:27 $ docker stop --time=1 0cead4b95ab97a407d9f15d7b9b140cffeee4c86f42f485cdf016bc449fe571b 02:02:28 $ docker rm -f --volumes 0cead4b95ab97a407d9f15d7b9b140cffeee4c86f42f485cdf016bc449fe571b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:03:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6040 in /w/workspace/gexfoundry_device-mqtt-go_PR-486 [Pipeline] { [Pipeline] ws 02:03:12 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:03:12 Selected Git installation does not exist. Using Default 02:03:12 The recommended git tool is: NONE 02:03:19 using credential edgex-jenkins-ssh 02:03:19 Cloning the remote Git repository 02:03:19 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:03:19 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:03:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:03:19 > git --version # timeout=10 02:03:19 > git --version # 'git version 2.25.1' 02:03:19 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:20 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:03:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:22 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 02:03:22 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:03:22 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:03:22 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/486/head:refs/remotes/origin/PR-486 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:03:22 > git config core.sparsecheckout # timeout=10 02:03:23 Merge succeeded, producing 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 02:03:23 Checking out Revision 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 (PR-486) 02:03:23 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:03:23 > git --version # timeout=10 02:03:23 > git --version # 'git version 2.25.1' 02:03:23 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 02:03:22 > git checkout -f 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 # timeout=10 02:03:23 > git remote # timeout=10 02:03:23 > git config --get remote.origin.url # timeout=10 02:03:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:23 > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 02:03:23 > git rev-parse HEAD^{commit} # timeout=10 02:03:23 > git config core.sparsecheckout # timeout=10 02:03:23 > git checkout -f 603fd62d36b5e47380355446b1cdf3dcbfb3bab3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:03:25 % Total % Received % Xferd Average Speed Time Time Time Current 02:03:25 Dload Upload Total Spent Left Speed 02:03:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 02:03:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:03:26 + sudo tee /etc/docker/daemon.new 02:03:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:03:26 { 02:03:26 "registry-mirrors": [ 02:03:26 "https://nexus3.edgexfoundry.org:10001" 02:03:26 ], 02:03:26 "bip": "10.250.0.254/24", 02:03:26 "hosts": [ 02:03:26 "tcp://0.0.0.0:5555", 02:03:26 "unix:///var/run/docker.sock" 02:03:26 ], 02:03:26 "mtu": 1458, 02:03:26 "selinux-enabled": true, 02:03:26 "seccomp-profile": "/etc/docker/seccomp.json" 02:03:26 } [Pipeline] sh 02:03:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:03:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:45 provisioning config files... 02:03:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2061172653029604249tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:46 ---> docker-login.sh 02:03:46 nexus3.edgexfoundry.org:10001 02:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:46 Configure a credential helper to remove this warning. See 02:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:46 02:03:46 Login Succeeded 02:03:46 nexus3.edgexfoundry.org:10002 02:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:47 Configure a credential helper to remove this warning. See 02:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:47 02:03:47 Login Succeeded 02:03:47 nexus3.edgexfoundry.org:10003 02:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:47 Configure a credential helper to remove this warning. See 02:03:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:47 02:03:47 Login Succeeded 02:03:47 nexus3.edgexfoundry.org:10004 02:03:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:48 Configure a credential helper to remove this warning. See 02:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:48 02:03:48 Login Succeeded 02:03:48 docker.io 02:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:48 Configure a credential helper to remove this warning. See 02:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:48 02:03:48 Login Succeeded 02:03:48 ---> docker-login.sh ends [Pipeline] } 02:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:03:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:03:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:03:49 ========================================================= 02:03:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 02:03:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:49 + 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:03:49 Sending build context to Docker daemon 3.277MB 02:03:49 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 02:03:49 Step 2/12 : FROM ${BASE} AS builder 02:03:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:03:50 9b18e9b68314: Pulling fs layer 02:03:50 35d82f9e3411: Pulling fs layer 02:03:50 e16973657156: Pulling fs layer 02:03:50 fc693d55d65f: Pulling fs layer 02:03:50 7e9fc2657dce: Pulling fs layer 02:03:50 dda99020689f: Pulling fs layer 02:03:50 db1c61fa0a46: Pulling fs layer 02:03:50 891c053d2c06: Pulling fs layer 02:03:50 dda99020689f: Waiting 02:03:50 fc693d55d65f: Waiting 02:03:50 7e9fc2657dce: Waiting 02:03:50 db1c61fa0a46: Waiting 02:03:50 891c053d2c06: Waiting 02:03:50 e16973657156: Verifying Checksum 02:03:50 e16973657156: Download complete 02:03:50 35d82f9e3411: Verifying Checksum 02:03:50 35d82f9e3411: Download complete 02:03:50 7e9fc2657dce: Verifying Checksum 02:03:50 7e9fc2657dce: Download complete 02:03:50 dda99020689f: Download complete 02:03:50 9b18e9b68314: Verifying Checksum 02:03:50 9b18e9b68314: Download complete 02:03:51 9b18e9b68314: Pull complete 02:03:51 35d82f9e3411: Pull complete 02:03:51 891c053d2c06: Verifying Checksum 02:03:51 891c053d2c06: Download complete 02:03:52 e16973657156: Pull complete 02:03:53 db1c61fa0a46: Verifying Checksum 02:03:53 db1c61fa0a46: Download complete 02:03:53 fc693d55d65f: Verifying Checksum 02:03:53 fc693d55d65f: Download complete 02:04:05 fc693d55d65f: Pull complete 02:04:06 7e9fc2657dce: Pull complete 02:04:06 dda99020689f: Pull complete 02:04:13 db1c61fa0a46: Pull complete 02:04:16 891c053d2c06: Pull complete 02:04:16 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 02:04:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 02:04:16 ---> f96f9c87975a 02:04:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:04:18 ---> Running in 4c4621ae43cf 02:04:19 Removing intermediate container 4c4621ae43cf 02:04:19 ---> 2ab667a75662 02:04:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:04:19 ---> Running in 4844e98f49bc 02:04:19 Removing intermediate container 4844e98f49bc 02:04:19 ---> 06960e541a14 02:04:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:04:19 ---> Running in a79b073ef804 02:04:19 Removing intermediate container a79b073ef804 02:04:19 ---> 3f2aec98e446 02:04:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:04:19 ---> Running in 5ded9ef0f0da 02:04:20 Removing intermediate container 5ded9ef0f0da 02:04:20 ---> 6a70cfcfce57 02:04:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:04:20 ---> Running in 9d987100a0d2 02:04:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:04:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:04:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 02:04:22 (2/4) Installing libedit (20210910.3.1-r0) 02:04:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 02:04:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 02:04:23 Executing busybox-1.35.0-r17.trigger 02:04:23 OK: 226 MiB in 55 packages 02:04:24 Removing intermediate container 9d987100a0d2 02:04:24 ---> 1018e5a70b46 02:04:24 Step 8/12 : WORKDIR /device-mqtt-go 02:04:24 ---> Running in 909038af7874 02:04:24 Removing intermediate container 909038af7874 02:04:24 ---> f637e585a792 02:04:24 Step 9/12 : COPY go.mod vendor* ./ 02:04:24 ---> 48f64b13a7fb 02:04:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:25 ---> Running in 081ae3f577fd 02:05:46 Removing intermediate container 081ae3f577fd 02:05:46 ---> eb3f3908ac0a 02:05:46 Step 11/12 : COPY . . 02:05:46 ---> 5b8f771d0338 02:05:46 Step 12/12 : RUN $MAKE 02:05:46 ---> Running in ccc1d252d30d 02:05:46 noop 02:05:46 Removing intermediate container ccc1d252d30d 02:05:46 ---> b88b6acec71b 02:05:46 Successfully built b88b6acec71b 02:05:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:47 + docker inspect -f . ci-base-image-arm64 02:05:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:47 prd-ubuntu20.04-docker-arm64-4c-16g-6040 does not seem to be running inside a container 02:05:47 $ 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:05:49 $ docker top d38f0371aced8f45fbbd8355a9ec4ea8e3dc91cf7f185a02d67a277c6b54cf4b -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:50 + go version 02:05:50 go version go1.18.7 linux/arm64 [Pipeline] } 02:05:50 $ docker stop --time=1 d38f0371aced8f45fbbd8355a9ec4ea8e3dc91cf7f185a02d67a277c6b54cf4b 02:05:51 $ docker rm -f --volumes d38f0371aced8f45fbbd8355a9ec4ea8e3dc91cf7f185a02d67a277c6b54cf4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:52 + docker inspect -f . ci-base-image-arm64 02:05:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:52 prd-ubuntu20.04-docker-arm64-4c-16g-6040 does not seem to be running inside a container 02:05:53 $ 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:05:54 $ docker top 8b16822de24fc23908f3ef1790ac0a8a730eaae7578699e187f9cc2365381cd3 -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:55 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:05:55 + make test 02:05:55 go test ./... -coverprofile=coverage.out ./... 02:05:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:07:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:07:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 21.8% of statements 02:07:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:07:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:07:34 go vet ./... 02:08:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:08:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:08:06 ./bin/test-attribution-txt.sh 02:08:06 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 02:08:06 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 02:08:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:08:06 $ docker stop --time=1 8b16822de24fc23908f3ef1790ac0a8a730eaae7578699e187f9cc2365381cd3 02:08:08 $ docker rm -f --volumes 8b16822de24fc23908f3ef1790ac0a8a730eaae7578699e187f9cc2365381cd3 [Pipeline] // withDockerContainer [Pipeline] sh 02:08:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:08:09 Warning: overwriting stash ‘coverage-report’ 02:08:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:08:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:08:11 + ls -al . 02:08:11 total 180 02:08:11 drwxrwxr-x 9 jenkins jenkins 4096 Feb 15 02:05 . 02:08:11 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 02:03 .. 02:08:11 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 02:03 .dockerignore 02:08:11 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 02:03 .git 02:08:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 02:03 .github 02:08:11 -rw-rw-r-- 1 jenkins jenkins 329 Feb 15 02:03 .gitignore 02:08:11 -rw-rw-r-- 1 jenkins jenkins 41 Feb 15 02:03 .golangci.yml 02:08:11 -rw-rw-r-- 1 jenkins jenkins 9189 Feb 15 02:03 Attribution.txt 02:08:11 -rw-rw-r-- 1 jenkins jenkins 13162 Feb 15 02:03 CHANGELOG.md 02:08:11 -rw-rw-r-- 1 jenkins jenkins 1689 Feb 15 02:03 Dockerfile 02:08:11 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 02:03 GOVERNANCE.md 02:08:11 -rw-rw-r-- 1 jenkins jenkins 678 Feb 15 02:03 Jenkinsfile 02:08:11 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 15 02:03 LICENSE 02:08:11 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 15 02:03 Makefile 02:08:11 -rw-rw-r-- 1 jenkins jenkins 620 Feb 15 02:03 OWNERS.md 02:08:11 -rw-rw-r-- 1 jenkins jenkins 3165 Feb 15 02:03 README.md 02:08:11 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 02:00 VERSION 02:08:11 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 02:03 bin 02:08:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 02:03 cmd 02:08:11 -rw-r--r-- 1 jenkins jenkins 17887 Feb 15 02:07 coverage.out 02:08:11 -rw-rw-r-- 1 jenkins jenkins 3376 Feb 15 02:03 go.mod 02:08:11 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 15 02:03 go.sum 02:08:11 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 02:03 internal 02:08:11 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 02:03 mock 02:08:11 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 02:03 snap 02:08:11 -rw-rw-r-- 1 jenkins jenkins 227 Feb 15 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:11 + 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=603fd62d36b5e47380355446b1cdf3dcbfb3bab3 --label arch=arm64 --label version=0.0.0 . 02:08:11 Sending build context to Docker daemon 3.295MB 02:08:11 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 02:08:11 Step 2/24 : FROM ${BASE} AS builder 02:08:11 ---> b88b6acec71b 02:08:11 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:08:12 ---> Running in 145adc3faab8 02:08:12 Removing intermediate container 145adc3faab8 02:08:12 ---> 33f7b8f5da62 02:08:12 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:08:12 ---> Running in b8b503fa9fc1 02:08:12 Removing intermediate container b8b503fa9fc1 02:08:12 ---> 145ad75640e6 02:08:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:08:13 ---> Running in ddc0e9e61869 02:08:13 Removing intermediate container ddc0e9e61869 02:08:13 ---> 422806279091 02:08:13 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:08:13 ---> Running in ee9df9bdd163 02:08:13 Removing intermediate container ee9df9bdd163 02:08:13 ---> 4519ca677bba 02:08:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:08:13 ---> Running in db4676b4eee7 02:08:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:08:16 OK: 226 MiB in 55 packages 02:08:17 Removing intermediate container db4676b4eee7 02:08:17 ---> ae6be2b3bfa3 02:08:17 Step 8/24 : WORKDIR /device-mqtt-go 02:08:17 ---> Running in 428b6d9c72ca 02:08:17 Removing intermediate container 428b6d9c72ca 02:08:17 ---> 8ec97a6003ba 02:08:17 Step 9/24 : COPY go.mod vendor* ./ 02:08:20 ---> 26ce2025ee1f 02:08:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:08:20 ---> Running in a2bf0e4c4fd8 02:08:23 Removing intermediate container a2bf0e4c4fd8 02:08:23 ---> 29655c0ea28c 02:08:23 Step 11/24 : COPY . . 02:08:23 ---> 510b6fb4d1fe 02:08:23 Step 12/24 : RUN $MAKE 02:08:23 ---> Running in ce9f7dd3e8ef 02:08:24 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:10:46 Removing intermediate container ce9f7dd3e8ef 02:10:46 ---> 0936c8c82447 02:10:46 Step 13/24 : FROM alpine:3.16 02:10:46 3.16: Pulling from library/alpine 02:10:46 3760b48202b3: Pulling fs layer 02:10:46 3760b48202b3: Verifying Checksum 02:10:46 3760b48202b3: Download complete 02:10:46 3760b48202b3: Pull complete 02:10:46 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 02:10:46 Status: Downloaded newer image for alpine:3.16 02:10:46 ---> 4c81e5bf8899 02:10:46 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:10:46 ---> Running in d4d98908b281 02:10:46 Removing intermediate container d4d98908b281 02:10:46 ---> 4afb3d6d04ee 02:10:46 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:10:46 ---> Running in f363056a39ca 02:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:10:46 (1/1) Installing dumb-init (1.2.5-r1) 02:10:46 Executing busybox-1.35.0-r17.trigger 02:10:46 OK: 5 MiB in 15 packages 02:10:46 Removing intermediate container f363056a39ca 02:10:46 ---> 023e55479f63 02:10:46 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:10:46 ---> d4663e1d9d79 02:10:46 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:10:46 ---> 703927162fa8 02:10:46 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:10:46 ---> d5bc35bb4352 02:10:46 Step 19/24 : EXPOSE 59982 02:10:46 ---> Running in 1e25d76b2c81 02:10:46 Removing intermediate container 1e25d76b2c81 02:10:46 ---> 9c082dc2069e 02:10:46 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:10:46 ---> Running in d988c712d417 02:10:46 Removing intermediate container d988c712d417 02:10:46 ---> 9eb23777d46e 02:10:46 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:10:46 ---> Running in 499343971ddd 02:10:46 Removing intermediate container 499343971ddd 02:10:46 ---> 003fe1be9139 02:10:46 Step 22/24 : LABEL arch=arm64 02:10:46 ---> Running in 5ea745aeadef 02:10:46 Removing intermediate container 5ea745aeadef 02:10:46 ---> dc490a0f846f 02:10:46 Step 23/24 : LABEL git_sha=603fd62d36b5e47380355446b1cdf3dcbfb3bab3 02:10:46 ---> Running in a10e8f0a41e9 02:10:46 Removing intermediate container a10e8f0a41e9 02:10:46 ---> aa8f2cad8691 02:10:46 Step 24/24 : LABEL version=0.0.0 02:10:46 ---> Running in faff62cf5409 02:10:46 Removing intermediate container faff62cf5409 02:10:46 ---> c5cf49d5181e 02:10:46 [Warning] One or more build-args [ARCH] were not consumed 02:10:46 Successfully built c5cf49d5181e 02:10:46 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:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:47 02:10:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:10:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:10:47 arm64: Pulling from edgex-lftools-log-publisher 02:10:47 8998bd30e6a1: Pulling fs layer 02:10:47 04944245beec: Pulling fs layer 02:10:47 699f458cf7ca: Pulling fs layer 02:10:47 765212b225bb: Pulling fs layer 02:10:47 f23df028b6ca: Pulling fs layer 02:10:47 d65c8cfc05b1: Pulling fs layer 02:10:47 2437ff75d9bd: Pulling fs layer 02:10:47 765212b225bb: Waiting 02:10:47 f23df028b6ca: Waiting 02:10:47 d65c8cfc05b1: Waiting 02:10:47 2437ff75d9bd: Waiting 02:10:48 04944245beec: Verifying Checksum 02:10:48 04944245beec: Download complete 02:10:48 765212b225bb: Verifying Checksum 02:10:48 765212b225bb: Download complete 02:10:48 f23df028b6ca: Verifying Checksum 02:10:48 f23df028b6ca: Download complete 02:10:48 d65c8cfc05b1: Verifying Checksum 02:10:48 d65c8cfc05b1: Download complete 02:10:48 699f458cf7ca: Verifying Checksum 02:10:48 699f458cf7ca: Download complete 02:10:49 8998bd30e6a1: Verifying Checksum 02:10:49 8998bd30e6a1: Download complete 02:10:51 2437ff75d9bd: Verifying Checksum 02:10:51 2437ff75d9bd: Download complete 02:10:53 8998bd30e6a1: Pull complete 02:10:54 04944245beec: Pull complete 02:10:55 699f458cf7ca: Pull complete 02:10:55 765212b225bb: Pull complete 02:10:56 f23df028b6ca: Pull complete 02:10:56 d65c8cfc05b1: Pull complete 02:11:11 2437ff75d9bd: Pull complete 02:11:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:11 prd-ubuntu20.04-docker-arm64-4c-16g-6040 does not seem to be running inside a container 02:11:11 $ 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:11:14 $ docker top 2a54aae2fe2d30f9e14ef96adce6047631b110951e0a40ed7cee3bc2bf422569 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:15 ---> job-cost.sh 02:11:15 lf-activate-venv: SKIPPING 02:11:15 INFO: No Stack... 02:11:15 INFO: Retrieving Pricing Info for: v3-standard-4 02:11:16 INFO: Archiving Costs [Pipeline] sh 02:11:16 + cut -d, -f6 02:11:16 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 02:11:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] 02:11:18 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] did not exist. Created. 02:11:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:11:19 /w/workspace/device-mqtt-go/1@tmp/durable-9a78230f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:11:19 + echo total: 0.10999999940395355 [Pipeline] stash 02:11:19 Warning: overwriting stash ‘stack-cost’ 02:11:19 Stashed 1 file(s) [Pipeline] } 02:11:19 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-486-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:11:20 $ docker stop --time=1 2a54aae2fe2d30f9e14ef96adce6047631b110951e0a40ed7cee3bc2bf422569 02:11:21 $ docker rm -f --volumes 2a54aae2fe2d30f9e14ef96adce6047631b110951e0a40ed7cee3bc2bf422569 [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:11:22 provisioning config files... 02:11:22 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/config17685493582896644793tmp [Pipeline] { [Pipeline] sh 02:11:22 + set +x 02:11:22 + curl -s https://codecov.io/bash 02:11:22 + bash -s -- 02:11:22 02:11:22 _____ _ 02:11:22 / ____| | | 02:11:22 | | ___ __| | ___ ___ _____ __ 02:11:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:11:22 | |___| (_) | (_| | __/ (_| (_) \ V / 02:11:22 \_____\___/ \__,_|\___|\___\___/ \_/ 02:11:22 Bash-1.0.6 02:11:22 02:11:22 02:11:22 ==> git version 2.25.1 found 02:11:22 ==> 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:11:22 Release-Date: 2020-01-08 02:11:22 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:11:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:11:22 ==> Jenkins CI detected. 02:11:22 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-486 02:11:22 project root: . 02:11:22 --> token set from env 02:11:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:11:22 ==> Running gcov in . (disable via -X gcov) 02:11:22 ==> Python coveragepy not found 02:11:22 ==> Searching for coverage reports in: 02:11:22 + . 02:11:22 -> Found 1 reports 02:11:22 ==> Detecting git/mercurial file structure 02:11:23 ==> Reading reports 02:11:23 + ./coverage.out bytes=17887 02:11:23 ==> Appending adjustments 02:11:23 https://docs.codecov.io/docs/fixing-reports 02:11:23 + Found adjustments 02:11:23 ==> Gzipping contents 02:11:23 4.0K /tmp/codecov.iJmiiu.gz 02:11:23 ==> Uploading reports 02:11:23 url: https://codecov.io 02:11:23 query: branch=PR-486&commit=603fd62d36b5e47380355446b1cdf3dcbfb3bab3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=486&job=&cmd_args= 02:11:23 -> Pinging Codecov 02:11:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-486&commit=603fd62d36b5e47380355446b1cdf3dcbfb3bab3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-486%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=486&job=&cmd_args= 02:11:23 -> Uploading to 02:11:23 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7D719EC7BBE17E464838252E33014C33/603fd62d36b5e47380355446b1cdf3dcbfb3bab3/440cb4c7-b26d-4d5c-b77f-e24cffd8c6fb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T021123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4f67af886a95e59dd8c0acead821a3b57730307bf7febc8021833b6348ce228b 02:11:23 % Total % Received % Xferd Average Speed Time Time Time Current 02:11:23 Dload Upload Total Spent Left Speed 02:11:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 10951 --:--:-- --:--:-- --:--:-- 10951 02:11:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/603fd62d36b5e47380355446b1cdf3dcbfb3bab3 [Pipeline] } 02:11:23 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:11:25 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives ] 02:11:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives 02:11:25 total 16 02:11:25 drwxr-xr-x 3 root root 4096 Feb 15 02:02 . 02:11:25 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 02:02 .. 02:11:25 drwxr-xr-x 2 root root 4096 Feb 15 02:02 cost 02:11:25 -rw-r--r-- 1 root root 86 Feb 15 02:02 cost.csv 02:11:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives 02:11:25 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives 02:11:25 total 16 02:11:25 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 02:02 . 02:11:25 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 02:02 .. 02:11:25 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 02:02 cost 02:11:25 -rw-r--r-- 1 jenkins jenkins 86 Feb 15 02:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:26 ---> package-listing.sh 02:11:26 ++ facter osfamily 02:11:26 ++ tr '[:upper:]' '[:lower:]' 02:11:26 + OS_FAMILY=debian 02:11:26 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-486 02:11:26 + START_PACKAGES=/tmp/packages_start.txt 02:11:26 + END_PACKAGES=/tmp/packages_end.txt 02:11:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:26 + PACKAGES=/tmp/packages_start.txt 02:11:26 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-486 ']' 02:11:26 + PACKAGES=/tmp/packages_end.txt 02:11:26 + case "${OS_FAMILY}" in 02:11:26 + dpkg -l 02:11:26 + grep '^ii' 02:11:26 + '[' -f /tmp/packages_start.txt ']' 02:11:26 + '[' -f /tmp/packages_end.txt ']' 02:11:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:26 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-486 ']' 02:11:26 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives/ 02:11:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-486/archives/ [Pipeline] echo 02:11:26 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-486/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:27 prd-ubuntu20.04-docker-8c-8g-6036 does not seem to be running inside a container 02:11:27 $ 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-486/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-486 -v /w/workspace/gexfoundry_device-mqtt-go_PR-486:/w/workspace/gexfoundry_device-mqtt-go_PR-486:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-486@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:11:28 $ docker top dbdf077aa1b295205a4de94dd23bcbfea9a51762c51d5a5354e1da2a2d82f9bf -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:28 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:28 + mkdir -p /var/log/sysstat [Pipeline] sh 02:11:29 + ls /var/log/sa-host 02:11:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:11:29 provisioning config files... 02:11:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-486@tmp/config15740214339341876885tmp [Pipeline] { [Pipeline] echo 02:11:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:11:29 ---> create-netrc.sh [Pipeline] } 02:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:11:30 ---> python-tools-install.sh [Pipeline] echo 02:11:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:11:30 ---> sudo-logs.sh 02:11:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:11:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:11:30 ---> job-cost.sh 02:11:30 lf-activate-venv: SKIPPING 02:11:30 DEBUG: total: 0.2199999988079071 02:11:30 INFO: Retrieving Stack Cost... 02:11:36 INFO: Retrieving Pricing Info for: v3-standard-8 02:11:36 INFO: Archiving Costs [Pipeline] echo 02:11:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:11:36 ---> logs-deploy.sh 02:11:36 lf-activate-venv: SKIPPING 02:11:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-486/1 02:11:36 INFO: archiving workspace using pattern(s): 02:11:37 Archives upload complete. 02:11:37 INFO: archiving logs to Nexus 02:11:38 ---> uname -a: 02:11:38 Linux prd-ubuntu20-04-docker-8c-8g-6036 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:11:38 02:11:38 02:11:38 ---> lscpu: 02:11:38 Architecture: x86_64 02:11:38 CPU op-mode(s): 32-bit, 64-bit 02:11:38 Byte Order: Little Endian 02:11:38 Address sizes: 40 bits physical, 48 bits virtual 02:11:38 CPU(s): 8 02:11:38 On-line CPU(s) list: 0-7 02:11:38 Thread(s) per core: 1 02:11:38 Core(s) per socket: 1 02:11:38 Socket(s): 8 02:11:38 NUMA node(s): 1 02:11:38 Vendor ID: AuthenticAMD 02:11:38 CPU family: 23 02:11:38 Model: 49 02:11:38 Model name: AMD EPYC-Rome Processor 02:11:38 Stepping: 0 02:11:38 CPU MHz: 2799.996 02:11:38 BogoMIPS: 5599.99 02:11:38 Virtualization: AMD-V 02:11:38 Hypervisor vendor: KVM 02:11:38 Virtualization type: full 02:11:38 L1d cache: 256 KiB 02:11:38 L1i cache: 256 KiB 02:11:38 L2 cache: 4 MiB 02:11:38 L3 cache: 128 MiB 02:11:38 NUMA node0 CPU(s): 0-7 02:11:38 Vulnerability Itlb multihit: Not affected 02:11:38 Vulnerability L1tf: Not affected 02:11:38 Vulnerability Mds: Not affected 02:11:38 Vulnerability Meltdown: Not affected 02:11:38 Vulnerability Mmio stale data: Not affected 02:11:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:11:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:11:38 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:11:38 Vulnerability Srbds: Not affected 02:11:38 Vulnerability Tsx async abort: Not affected 02:11:38 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:11:38 02:11:38 02:11:38 ---> nproc: 02:11:38 8 02:11:38 02:11:38 02:11:38 ---> df -h: 02:11:38 Filesystem Size Used Avail Use% Mounted on 02:11:38 overlay 155G 12G 144G 8% / 02:11:38 tmpfs 64M 0 64M 0% /dev 02:11:38 tmpfs 16G 0 16G 0% /sys/fs/cgroup 02:11:38 shm 64M 0 64M 0% /dev/shm 02:11:38 /dev/vda1 155G 12G 144G 8% /facter-os 02:11:38 02:11:38 02:11:38 ---> sar -b -r -n DEV: 02:11:38 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6036) 02/15/23 _x86_64_ (8 CPU) 02:11:38 02:11:38 01:59:20 LINUX RESTART (8 CPU) 02:11:38 02:11:38 02:00:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 02:11:38 02:01:01 159.94 5.12 154.82 0.00 526.69 61529.37 0.00 02:11:38 02:02:01 126.48 0.27 126.21 0.00 20.13 30250.42 0.00 02:11:38 02:03:01 108.85 0.02 108.83 0.00 2.40 32799.87 0.00 02:11:38 02:04:01 2.13 0.00 2.13 0.00 0.00 23.35 0.00 02:11:38 02:05:01 38.26 11.71 26.55 0.00 5422.16 6322.81 0.00 02:11:38 02:06:01 4.25 0.00 4.25 0.00 0.00 49.33 0.00 02:11:38 02:07:01 1.38 0.00 1.38 0.00 0.00 15.33 0.00 02:11:38 02:08:01 1.77 0.00 1.77 0.00 0.00 19.33 0.00 02:11:38 02:09:01 1.37 0.00 1.37 0.00 0.00 15.20 0.00 02:11:38 02:10:01 2.70 0.00 2.70 0.00 0.00 42.38 0.00 02:11:38 02:11:01 1.37 0.00 1.37 0.00 0.00 14.26 0.00 02:11:38 Average: 40.59 1.55 39.04 0.00 542.84 11840.84 0.00 02:11:38 02:11:38 02:00:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:11:38 02:01:01 28362524 31580936 731208 2.22 112676 3314436 2025060 5.97 1144956 2943188 134272 02:11:38 02:02:01 27834964 31199116 1104252 3.36 148680 3403784 2675712 7.89 1655288 2932540 209764 02:11:38 02:03:01 27709628 31585364 718760 2.19 158692 3863768 1774056 5.23 1215028 3454112 152 02:11:38 02:04:01 27709140 31585076 718404 2.18 158728 3863900 1774056 5.23 1214612 3454244 4 02:11:38 02:05:01 27342448 31571684 719544 2.19 167096 4196144 1815236 5.35 1444480 3564016 952 02:11:38 02:06:01 27343316 31572628 718548 2.19 167168 4196144 1815236 5.35 1444296 3564016 8 02:11:38 02:07:01 27349228 31578640 712488 2.17 167252 4196148 1815236 5.35 1439220 3564028 4 02:11:38 02:08:01 27348920 31578408 712608 2.17 167324 4196148 1815236 5.35 1439300 3564028 144 02:11:38 02:09:01 27349088 31578784 712492 2.17 167396 4196156 1815236 5.35 1439300 3564164 140 02:11:38 02:10:01 27349268 31579088 712136 2.17 167536 4196136 1815236 5.35 1439532 3564144 76 02:11:38 02:11:01 27349332 31579224 712000 2.17 167604 4196136 1815236 5.35 1439188 3564144 8 02:11:38 Average: 27549805 31544450 752040 2.29 159105 3983536 1905049 5.61 1392291 3430239 31411 02:11:38 02:11:38 02:00:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:11:38 02:01:01 ens3 596.37 467.14 7776.89 57.13 0.00 0.00 0.00 0.00 02:11:38 02:01:01 docker0 237.60 295.88 18.41 2005.94 0.00 0.00 0.00 0.00 02:11:38 02:01:01 lo 4.27 4.27 0.42 0.42 0.00 0.00 0.00 0.00 02:11:38 02:02:01 ens3 58.39 48.44 82.42 96.36 0.00 0.00 0.00 0.00 02:11:38 02:02:01 docker0 1.10 2.45 0.07 40.48 0.00 0.00 0.00 0.00 02:11:38 02:02:01 vethe540280 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 02:11:38 02:02:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 02:11:38 02:03:01 ens3 128.72 83.02 2613.84 13.42 0.00 0.00 0.00 0.00 02:11:38 02:03:01 docker0 1.75 4.35 0.11 41.08 0.00 0.00 0.00 0.00 02:11:38 02:03:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 02:11:38 02:04:01 ens3 1.40 0.33 0.35 0.20 0.00 0.00 0.00 0.00 02:11:38 02:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:38 02:05:01 ens3 111.66 67.69 1932.32 5.45 0.00 0.00 0.00 0.00 02:11:38 02:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:05:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 02:11:38 02:06:01 ens3 0.42 0.23 0.08 0.02 0.00 0.00 0.00 0.00 02:11:38 02:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:38 02:07:01 ens3 0.10 0.00 0.01 0.00 0.00 0.00 0.00 0.00 02:11:38 02:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:08:01 ens3 0.25 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:11:38 02:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:38 02:09:01 ens3 0.22 0.07 0.01 0.00 0.00 0.00 0.00 0.00 02:11:38 02:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:10:01 ens3 0.32 0.23 0.09 0.08 0.00 0.00 0.00 0.00 02:11:38 02:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 02:11:38 02:11:01 ens3 0.15 0.08 0.06 0.00 0.00 0.00 0.00 0.00 02:11:38 02:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 02:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:11:38 Average: ens3 80.85 60.05 1117.69 15.63 0.00 0.00 0.00 0.00 02:11:38 Average: docker0 21.53 27.11 1.66 187.00 0.00 0.00 0.00 0.00 02:11:38 Average: lo 0.68 0.68 0.06 0.06 0.00 0.00 0.00 0.00 02:11:38 02:11:38 02:11:38 ---> sar -P ALL: 02:11:38 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-6036) 02/15/23 _x86_64_ (8 CPU) 02:11:38 02:11:38 01:59:20 LINUX RESTART (8 CPU) 02:11:38 02:11:38 02:00:02 CPU %user %nice %system %iowait %steal %idle 02:11:38 02:01:01 all 8.76 0.00 4.14 2.39 0.07 84.63 02:11:38 02:01:01 0 9.98 0.00 5.15 9.00 0.07 75.79 02:11:38 02:01:01 1 10.15 0.00 4.97 0.22 0.09 84.57 02:11:38 02:01:01 2 6.45 0.00 4.21 2.27 0.05 87.02 02:11:38 02:01:01 3 7.99 0.00 4.11 3.66 0.09 84.16 02:11:38 02:01:01 4 9.35 0.00 3.16 1.15 0.07 86.28 02:11:38 02:01:01 5 10.29 0.00 3.56 0.93 0.07 85.16 02:11:38 02:01:01 6 7.54 0.00 3.41 1.53 0.05 87.47 02:11:38 02:01:01 7 8.34 0.00 4.54 0.36 0.10 86.65 02:11:38 02:02:01 all 36.66 0.00 6.88 1.29 0.11 55.06 02:11:38 02:02:01 0 38.48 0.00 8.26 6.19 0.10 46.97 02:11:38 02:02:01 1 38.71 0.00 7.42 0.56 0.10 53.22 02:11:38 02:02:01 2 35.20 0.00 5.94 0.88 0.10 57.88 02:11:38 02:02:01 3 35.06 0.00 6.30 1.13 0.10 57.40 02:11:38 02:02:01 4 35.77 0.00 6.12 0.07 0.10 57.94 02:11:38 02:02:01 5 37.99 0.00 7.42 0.81 0.12 53.66 02:11:38 02:02:01 6 35.72 0.00 6.16 0.32 0.10 57.70 02:11:38 02:02:01 7 36.34 0.00 7.41 0.36 0.12 55.78 02:11:38 02:03:01 all 7.97 0.00 2.42 0.93 0.04 88.64 02:11:38 02:03:01 0 8.06 0.00 2.55 0.30 0.03 89.05 02:11:38 02:03:01 1 8.77 0.00 2.78 2.27 0.03 86.15 02:11:38 02:03:01 2 8.78 0.00 1.62 0.43 0.03 89.14 02:11:38 02:03:01 3 8.17 0.00 2.34 0.24 0.05 89.20 02:11:38 02:03:01 4 6.52 0.00 2.48 0.27 0.03 90.69 02:11:38 02:03:01 5 8.38 0.00 2.16 0.54 0.03 88.89 02:11:38 02:03:01 6 6.99 0.00 3.35 2.10 0.03 87.53 02:11:38 02:03:01 7 8.08 0.00 2.12 1.33 0.03 88.44 02:11:38 02:04:01 all 0.12 0.00 0.01 0.03 0.00 99.84 02:11:38 02:04:01 0 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:04:01 1 0.07 0.00 0.02 0.05 0.02 99.85 02:11:38 02:04:01 2 0.86 0.00 0.05 0.00 0.00 99.09 02:11:38 02:04:01 3 0.02 0.00 0.02 0.00 0.00 99.97 02:11:38 02:04:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:04:01 5 0.00 0.00 0.02 0.00 0.00 99.98 02:11:38 02:04:01 6 0.00 0.00 0.00 0.18 0.00 99.82 02:11:38 02:04:01 7 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:05:01 all 1.41 0.00 0.68 0.39 0.02 97.50 02:11:38 02:05:01 0 0.85 0.00 0.78 0.28 0.02 98.06 02:11:38 02:05:01 1 2.29 0.00 0.80 0.67 0.02 96.22 02:11:38 02:05:01 2 1.61 0.00 0.75 0.23 0.02 97.39 02:11:38 02:05:01 3 1.04 0.00 0.73 0.35 0.02 97.86 02:11:38 02:05:01 4 1.27 0.00 0.60 0.35 0.02 97.76 02:11:38 02:05:01 5 1.17 0.00 0.63 0.35 0.02 97.83 02:11:38 02:05:01 6 2.21 0.00 0.74 0.52 0.02 96.52 02:11:38 02:05:01 7 0.86 0.00 0.37 0.39 0.02 98.37 02:11:38 02:06:01 all 0.01 0.00 0.01 0.01 0.00 99.96 02:11:38 02:06:01 0 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:06:01 1 0.03 0.00 0.03 0.00 0.00 99.93 02:11:38 02:06:01 2 0.00 0.00 0.02 0.05 0.00 99.93 02:11:38 02:06:01 3 0.00 0.00 0.02 0.00 0.00 99.98 02:11:38 02:06:01 4 0.02 0.00 0.02 0.00 0.00 99.97 02:11:38 02:06:01 5 0.05 0.00 0.02 0.03 0.00 99.90 02:11:38 02:06:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:06:01 7 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:07:01 all 0.03 0.00 0.02 0.01 0.00 99.94 02:11:38 02:07:01 0 0.03 0.00 0.03 0.00 0.00 99.93 02:11:38 02:07:01 1 0.05 0.00 0.03 0.00 0.02 99.90 02:11:38 02:07:01 2 0.03 0.00 0.02 0.02 0.00 99.93 02:11:38 02:07:01 3 0.03 0.00 0.03 0.00 0.00 99.93 02:11:38 02:07:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:07:01 5 0.05 0.00 0.03 0.03 0.00 99.88 02:11:38 02:07:01 6 0.00 0.00 0.02 0.00 0.00 99.98 02:11:38 02:07:01 7 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:08:01 all 0.14 0.00 0.01 0.01 0.00 99.84 02:11:38 02:08:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:08:01 1 1.01 0.00 0.02 0.00 0.00 98.97 02:11:38 02:08:01 2 0.00 0.00 0.03 0.05 0.00 99.92 02:11:38 02:08:01 3 0.05 0.00 0.00 0.00 0.00 99.95 02:11:38 02:08:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:08:01 5 0.02 0.00 0.00 0.02 0.02 99.95 02:11:38 02:08:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:08:01 7 0.00 0.00 0.02 0.00 0.00 99.98 02:11:38 02:09:01 all 0.08 0.00 0.03 0.01 0.00 99.89 02:11:38 02:09:01 0 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:09:01 1 0.53 0.00 0.15 0.00 0.00 99.32 02:11:38 02:09:01 2 0.02 0.00 0.02 0.00 0.00 99.97 02:11:38 02:09:01 3 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:09:01 4 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:09:01 5 0.03 0.00 0.03 0.05 0.00 99.88 02:11:38 02:09:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:09:01 7 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:10:01 all 0.01 0.00 0.02 0.01 0.00 99.96 02:11:38 02:10:01 0 0.02 0.00 0.02 0.00 0.00 99.97 02:11:38 02:10:01 1 0.02 0.00 0.02 0.00 0.02 99.95 02:11:38 02:10:01 2 0.00 0.00 0.02 0.00 0.00 99.98 02:11:38 02:10:01 3 0.02 0.00 0.03 0.00 0.00 99.95 02:11:38 02:10:01 4 0.03 0.00 0.00 0.02 0.00 99.95 02:11:38 02:10:01 5 0.02 0.00 0.03 0.07 0.00 99.88 02:11:38 02:10:01 6 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:10:01 7 0.00 0.00 0.03 0.00 0.00 99.97 02:11:38 02:11:01 all 0.02 0.00 0.01 0.10 0.00 99.87 02:11:38 02:11:01 0 0.00 0.00 0.02 0.00 0.00 99.98 02:11:38 02:11:01 1 0.03 0.00 0.02 0.23 0.00 99.71 02:11:38 02:11:01 2 0.03 0.00 0.02 0.00 0.02 99.93 02:11:38 02:11:01 3 0.00 0.00 0.00 0.00 0.00 100.00 02:11:38 02:11:01 4 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:11:01 5 0.05 0.00 0.02 0.58 0.00 99.35 02:11:38 02:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 02:11:38 02:11:01 7 0.00 0.00 0.02 0.00 0.00 99.98 02:11:38 02:11:38 Average: CPU %user %nice %system %iowait %steal %idle 02:11:38 Average: all 4.97 0.00 1.28 0.46 0.02 93.27 02:11:38 Average: 0 5.17 0.00 1.51 1.41 0.02 91.89 02:11:38 Average: 1 5.56 0.00 1.46 0.36 0.03 92.59 02:11:38 Average: 2 4.78 0.00 1.14 0.35 0.02 93.71 02:11:38 Average: 3 4.71 0.00 1.22 0.48 0.02 93.56 02:11:38 Average: 4 4.76 0.00 1.11 0.17 0.02 93.95 02:11:38 Average: 5 5.23 0.00 1.25 0.31 0.02 93.19 02:11:38 Average: 6 4.72 0.00 1.23 0.42 0.02 93.62 02:11:38 Average: 7 4.82 0.00 1.30 0.22 0.02 93.64 02:11:38 02:11:38 02:11:38