Pull request #474 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b7bba2c3256c3180bf79c56667189d69daefbb17+bc7652beee9a90296fe0b57947c4589a421f5e02 (b6dbfe0529d3611093a2f9302ba84e3114a2dfdf) 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-ssh14465510433492082420.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-ssh10655124205500751868.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-474/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-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15131645539987222964.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-474/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14993541352930243003.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-ssh11593679051779594937.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-474/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-474/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11126323347599661915.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 ‘prd-ubuntu20.04-docker-8c-8g-4791’ Running on prd-ubuntu20.04-docker-8c-8g-4797 in /w/workspace/gexfoundry_device-mqtt-go_PR-474 [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-474 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit b7bba2c3256c3180bf79c56667189d69daefbb17 Merge succeeded, producing b7bba2c3256c3180bf79c56667189d69daefbb17 Checking out Revision b7bba2c3256c3180bf79c56667189d69daefbb17 (PR-474) > 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/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b7bba2c3256c3180bf79c56667189d69daefbb17 # 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 b7bba2c3256c3180bf79c56667189d69daefbb17 # timeout=10 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:04:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:04:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:19 ========================================================= 01:04:19 EdgeX Global Pipelines Version Info 01:04:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:04:20 ------------------- 01:04:20 stable info: 01:04:20 ------------------- 01:04:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:04:20 Message: update stable to v1.0.244 01:04:20 ------------------- 01:04:20 experimental info: 01:04:20 ------------------- 01:04:20 Commited By: **** collab-it+edgex@linuxfoundation.org 01:04:20 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:04:20 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:04:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-474 [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-474 [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-474 [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b7bba2c3256c3180bf79c56667189d69daefbb17 [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b7bba2c [Pipeline] echo 01:04:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:22 provisioning config files... 01:04:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp/config2682075137629191157tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:22 ---> docker-login.sh 01:04:22 nexus3.edgexfoundry.org:10001 01:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:23 Configure a credential helper to remove this warning. See 01:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:23 01:04:23 Login Succeeded 01:04:23 nexus3.edgexfoundry.org:10002 01:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:23 Configure a credential helper to remove this warning. See 01:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:23 01:04:23 Login Succeeded 01:04:23 nexus3.edgexfoundry.org:10003 01:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:24 Configure a credential helper to remove this warning. See 01:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:24 01:04:24 Login Succeeded 01:04:24 nexus3.edgexfoundry.org:10004 01:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:24 Configure a credential helper to remove this warning. See 01:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:24 01:04:24 Login Succeeded 01:04:24 docker.io 01:04:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:24 Configure a credential helper to remove this warning. See 01:04:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:24 01:04:24 Login Succeeded 01:04:24 ---> docker-login.sh ends [Pipeline] } 01:04:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:04:25 + git rev-list -1 --merges b7bba2c3256c3180bf79c56667189d69daefbb17~1..b7bba2c3256c3180bf79c56667189d69daefbb17 [Pipeline] echo 01:04:25 -----------> git rev-list -1 --merges b7bba2c3256c3180bf79c56667189d69daefbb17~1..b7bba2c3256c3180bf79c56667189d69daefbb17 b7bba2c3256c3180bf79c56667189d69daefbb17 [false] [Pipeline] sh 01:04:25 + git log --format=format:%s -1 b7bba2c3256c3180bf79c56667189d69daefbb17 [Pipeline] echo 01:04:25 ========================================================= 01:04:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:04:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:26 + git log --format=format:%s -1 b7bba2c3256c3180bf79c56667189d69daefbb17 [Pipeline] echo 01:04:26 [semverPrep] GIT_COMMIT: b7bba2c3256c3180bf79c56667189d69daefbb17, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:04:26 [semverPrep] This is not a build commit. [Pipeline] sh 01:04:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:26 + grep -v github /etc/ssh/ssh_known_hosts 01:04:26 + [ -e /tmp/ssh_known_hosts ] 01:04:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:04:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:04:26 + sudo tee -a /etc/ssh/ssh_known_hosts 01:04:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:26 01:04:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:28 0.1.4: Pulling from edgex-devops/py-git-semver 01:04:28 b85a868b505f: Pulling fs layer 01:04:28 e2be974225ed: Pulling fs layer 01:04:28 339a4e72a1f5: Pulling fs layer 01:04:28 988bab9f4d93: Pulling fs layer 01:04:28 1469e6f7b9e6: Pulling fs layer 01:04:28 eaf3925da568: Pulling fs layer 01:04:28 bab4dde63d76: Pulling fs layer 01:04:28 bde34c3a00c8: Pulling fs layer 01:04:28 b352a97aabf1: Pulling fs layer 01:04:28 4872d77fe225: Pulling fs layer 01:04:28 5851b861e8e6: Pulling fs layer 01:04:28 1469e6f7b9e6: Waiting 01:04:28 eaf3925da568: Waiting 01:04:28 988bab9f4d93: Waiting 01:04:28 b352a97aabf1: Waiting 01:04:28 bab4dde63d76: Waiting 01:04:28 4872d77fe225: Waiting 01:04:28 bde34c3a00c8: Waiting 01:04:28 5851b861e8e6: Waiting 01:04:28 e2be974225ed: Verifying Checksum 01:04:28 e2be974225ed: Download complete 01:04:28 988bab9f4d93: Download complete 01:04:28 1469e6f7b9e6: Verifying Checksum 01:04:28 1469e6f7b9e6: Download complete 01:04:28 eaf3925da568: Download complete 01:04:28 339a4e72a1f5: Verifying Checksum 01:04:28 339a4e72a1f5: Download complete 01:04:28 bde34c3a00c8: Verifying Checksum 01:04:28 bde34c3a00c8: Download complete 01:04:28 b352a97aabf1: Download complete 01:04:28 4872d77fe225: Download complete 01:04:28 5851b861e8e6: Verifying Checksum 01:04:28 5851b861e8e6: Download complete 01:04:28 b85a868b505f: Verifying Checksum 01:04:28 b85a868b505f: Download complete 01:04:28 bab4dde63d76: Verifying Checksum 01:04:28 bab4dde63d76: Download complete 01:04:29 b85a868b505f: Pull complete 01:04:30 e2be974225ed: Pull complete 01:04:31 339a4e72a1f5: Pull complete 01:04:31 988bab9f4d93: Pull complete 01:04:31 1469e6f7b9e6: Pull complete 01:04:31 eaf3925da568: Pull complete 01:04:33 bab4dde63d76: Pull complete 01:04:33 bde34c3a00c8: Pull complete 01:04:34 b352a97aabf1: Pull complete 01:04:34 4872d77fe225: Pull complete 01:04:34 5851b861e8e6: Pull complete 01:04:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:04:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:04:34 prd-ubuntu20.04-docker-8c-8g-4797 does not seem to be running inside a container 01:04:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-474 -v /w/workspace/gexfoundry_device-mqtt-go_PR-474:/w/workspace/gexfoundry_device-mqtt-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-474@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 01:04:41 $ docker top dd2d8c60ee7737a5ac04cfc89d9b5fe107983f357d486756fe0eb2fb35ef668a -eo pid,comm 01:04:41 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). 01:04:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:04:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:42 [ssh-agent] Looking for ssh-agent implementation... 01:04:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:42 $ docker exec dd2d8c60ee7737a5ac04cfc89d9b5fe107983f357d486756fe0eb2fb35ef668a ssh-agent 01:04:42 SSH_AUTH_SOCK=/tmp/ssh-GtQ9S9PBEugD/agent.32 01:04:42 SSH_AGENT_PID=38 01:04:42 Running ssh-add (command line suppressed) 01:04:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp/private_key_14135418347238998754.key (/w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp/private_key_14135418347238998754.key) 01:04:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:42 + git tag --points-at HEAD [Pipeline] } 01:04:42 $ docker exec --env ******** --env ******** dd2d8c60ee7737a5ac04cfc89d9b5fe107983f357d486756fe0eb2fb35ef668a ssh-agent -k 01:04:42 unset SSH_AUTH_SOCK; 01:04:42 unset SSH_AGENT_PID; 01:04:42 echo Agent pid 38 killed; 01:04:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:04:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:04:43 [ssh-agent] Looking for ssh-agent implementation... 01:04:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:04:43 $ docker exec dd2d8c60ee7737a5ac04cfc89d9b5fe107983f357d486756fe0eb2fb35ef668a ssh-agent 01:04:43 SSH_AUTH_SOCK=/tmp/ssh-4CgOVuQcuF3S/agent.70 01:04:43 SSH_AGENT_PID=77 01:04:43 Running ssh-add (command line suppressed) 01:04:43 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp/private_key_1143728377171803800.key (/w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp/private_key_1143728377171803800.key) 01:04:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:04:43 + git semver init 01:04:43 2023-02-07 01:04:43,905 [run_init] DEBUG init version:0.0.0 force:False 01:04:43 2023-02-07 01:04:43,907 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-474/.semver 01:04:43 2023-02-07 01:04:43,908 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-474/.semver 01:04:43 2023-02-07 01:04:43,908 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-474/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-474, universal_newlines=False, shell=None, istream=None) 01:04:44 2023-02-07 01:04:44,848 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-474/.git/info/exclude 01:04:44 2023-02-07 01:04:44,849 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-474/.semver/PR-474 with force:False 01:04:44 2023-02-07 01:04:44,849 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-474/.semver/PR-474 01:04:44 2023-02-07 01:04:44,854 [execute] INFO git cat-file --batch-check 01:04:44 2023-02-07 01:04:44,854 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-474/.semver, universal_newlines=False, shell=None, istream=) 01:04:44 2023-02-07 01:04:44,860 [execute] INFO git cat-file --batch 01:04:44 2023-02-07 01:04:44,861 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-474/.semver, universal_newlines=False, shell=None, istream=) 01:04:44 2023-02-07 01:04:44,866 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-474/.semver/PR-474 01:04:44 0.0.0 [Pipeline] } 01:04:45 $ docker exec --env ******** --env ******** dd2d8c60ee7737a5ac04cfc89d9b5fe107983f357d486756fe0eb2fb35ef668a ssh-agent -k 01:04:45 unset SSH_AUTH_SOCK; 01:04:45 unset SSH_AGENT_PID; 01:04:45 echo Agent pid 77 killed; 01:04:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:04:45 + git semver [Pipeline] } 01:04:45 $ docker stop --time=1 dd2d8c60ee7737a5ac04cfc89d9b5fe107983f357d486756fe0eb2fb35ef668a 01:04:47 $ docker rm -f --volumes dd2d8c60ee7737a5ac04cfc89d9b5fe107983f357d486756fe0eb2fb35ef668a [Pipeline] // withDockerContainer [Pipeline] sh 01:04:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:04:47 Stashed 1 file(s) [Pipeline] echo 01:04:47 [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 01:04:48 provisioning config files... 01:04:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp/config7354411847511029596tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:48 ---> docker-login.sh 01:04:48 nexus3.edgexfoundry.org:10001 01:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:48 Configure a credential helper to remove this warning. See 01:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:48 01:04:48 Login Succeeded 01:04:48 nexus3.edgexfoundry.org:10002 01:04:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:48 Configure a credential helper to remove this warning. See 01:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:48 01:04:48 Login Succeeded 01:04:48 nexus3.edgexfoundry.org:10003 01:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:49 Configure a credential helper to remove this warning. See 01:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:49 01:04:49 Login Succeeded 01:04:49 nexus3.edgexfoundry.org:10004 01:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:49 Configure a credential helper to remove this warning. See 01:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:49 01:04:49 Login Succeeded 01:04:49 docker.io 01:04:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:49 Configure a credential helper to remove this warning. See 01:04:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:49 01:04:49 Login Succeeded 01:04:49 ---> docker-login.sh ends [Pipeline] } 01:04:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:50 ========================================================= 01:04:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:04:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:50 + 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 . 01:04:50 Sending build context to Docker daemon 6.33MB 01:04:50 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:04:50 Step 2/12 : FROM ${BASE} AS builder 01:04:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:04:50 213ec9aee27d: Pulling fs layer 01:04:50 4583459ba037: Pulling fs layer 01:04:50 93c1e223e6f2: Pulling fs layer 01:04:50 53926ce57604: Pulling fs layer 01:04:50 21b2b0c7a3f4: Pulling fs layer 01:04:50 22ff95d597cd: Pulling fs layer 01:04:50 12d6caf4c0d1: Pulling fs layer 01:04:50 96b7cbca73a9: Pulling fs layer 01:04:50 a7acece74701: Pulling fs layer 01:04:50 53926ce57604: Waiting 01:04:50 21b2b0c7a3f4: Waiting 01:04:50 22ff95d597cd: Waiting 01:04:50 12d6caf4c0d1: Waiting 01:04:50 96b7cbca73a9: Waiting 01:04:50 a7acece74701: Waiting 01:04:50 93c1e223e6f2: Verifying Checksum 01:04:50 93c1e223e6f2: Download complete 01:04:50 4583459ba037: Download complete 01:04:50 21b2b0c7a3f4: Download complete 01:04:50 22ff95d597cd: Verifying Checksum 01:04:50 22ff95d597cd: Download complete 01:04:50 213ec9aee27d: Verifying Checksum 01:04:50 213ec9aee27d: Pull complete 01:04:51 4583459ba037: Pull complete 01:04:51 93c1e223e6f2: Pull complete 01:04:51 a7acece74701: Verifying Checksum 01:04:51 a7acece74701: Download complete 01:04:52 53926ce57604: Verifying Checksum 01:04:52 53926ce57604: Download complete 01:04:52 96b7cbca73a9: Verifying Checksum 01:04:52 96b7cbca73a9: Download complete 01:04:56 53926ce57604: Pull complete 01:04:56 21b2b0c7a3f4: Pull complete 01:04:56 22ff95d597cd: Pull complete 01:04:57 12d6caf4c0d1: Pull complete 01:04:59 96b7cbca73a9: Pull complete 01:05:00 a7acece74701: Pull complete 01:05:00 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:05:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:05:00 ---> db6d94c90886 01:05:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:05:03 Still waiting to schedule task 01:05:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4795’ 01:05:10 ---> Running in a4ce3b0d184e 01:05:10 Removing intermediate container a4ce3b0d184e 01:05:10 ---> a8a210d98e77 01:05:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:10 ---> Running in 70c094eea32c 01:05:10 Removing intermediate container 70c094eea32c 01:05:10 ---> 5b0ce6a530cf 01:05:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:05:11 ---> Running in 835f2f8a7548 01:05:12 Removing intermediate container 835f2f8a7548 01:05:12 ---> ad24f043ea7b 01:05:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:05:12 ---> Running in 1d42ae75f963 01:05:13 Removing intermediate container 1d42ae75f963 01:05:13 ---> ffa36482128d 01:05:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:14 ---> Running in d3527720f314 01:05:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:05:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:05:15 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:05:15 (2/4) Installing libedit (20210910.3.1-r0) 01:05:15 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:05:15 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:05:15 Executing busybox-1.35.0-r17.trigger 01:05:15 OK: 216 MiB in 55 packages 01:05:16 Removing intermediate container d3527720f314 01:05:16 ---> ee660b86acc0 01:05:16 Step 8/12 : WORKDIR /device-mqtt-go 01:05:17 ---> Running in 252f2ab5e0dd 01:05:17 Removing intermediate container 252f2ab5e0dd 01:05:17 ---> e6ff570e8227 01:05:17 Step 9/12 : COPY go.mod vendor* ./ 01:05:17 ---> d42db50ab79b 01:05:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:17 ---> Running in d886a6ffffea 01:06:04 Removing intermediate container d886a6ffffea 01:06:04 ---> 71553ef3d5e8 01:06:04 Step 11/12 : COPY . . 01:06:04 ---> 863a287dd986 01:06:04 Step 12/12 : RUN $MAKE 01:06:05 ---> Running in 3be6a5546787 01:06:06 noop 01:06:07 Removing intermediate container 3be6a5546787 01:06:07 ---> 60e331adbfda 01:06:07 Successfully built 60e331adbfda 01:06:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:07 + docker inspect -f . ci-base-image-x86_64 01:06:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:07 prd-ubuntu20.04-docker-8c-8g-4797 does not seem to be running inside a container 01:06:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-474 -v /w/workspace/gexfoundry_device-mqtt-go_PR-474:/w/workspace/gexfoundry_device-mqtt-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-474@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 01:06:08 $ docker top dccb519853a6262223441ef2a879fdb3933a19fe160f6a621916b2980fe90187 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:08 + go version 01:06:08 go version go1.18.7 linux/amd64 [Pipeline] } 01:06:08 $ docker stop --time=1 dccb519853a6262223441ef2a879fdb3933a19fe160f6a621916b2980fe90187 01:06:09 $ docker rm -f --volumes dccb519853a6262223441ef2a879fdb3933a19fe160f6a621916b2980fe90187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:10 + docker inspect -f . ci-base-image-x86_64 01:06:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:10 prd-ubuntu20.04-docker-8c-8g-4797 does not seem to be running inside a container 01:06:10 $ 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-474 -v /w/workspace/gexfoundry_device-mqtt-go_PR-474:/w/workspace/gexfoundry_device-mqtt-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-474@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 01:06:11 $ docker top 9cf56318eb22c58650df32367cd2af909b45cff224888971a587f0e500698087 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:11 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-474 [Pipeline] fileExists [Pipeline] sh 01:06:11 + make test 01:06:11 go test ./... -coverprofile=coverage.out ./... 01:06:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:06:22 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:06:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 01:06:22 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:06:28 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." 01:06:28 go vet ./... 01:06:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:06:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:06:31 ./bin/test-attribution-txt.sh 01:06:31 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:06:31 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:06:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:06:31 $ docker stop --time=1 9cf56318eb22c58650df32367cd2af909b45cff224888971a587f0e500698087 01:06:39 $ docker rm -f --volumes 9cf56318eb22c58650df32367cd2af909b45cff224888971a587f0e500698087 [Pipeline] // withDockerContainer [Pipeline] sh 01:06:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:06:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:41 + ls -al . 01:06:41 total 184 01:06:41 drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 01:06 . 01:06:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 01:04 .. 01:06:41 -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 01:04 .dockerignore 01:06:41 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 01:06 .git 01:06:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 01:04 .github 01:06:41 -rw-rw-r-- 1 jenkins jenkins 329 Feb 7 01:04 .gitignore 01:06:41 -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 01:04 .golangci.yml 01:06:41 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 01:04 .semver 01:06:41 -rw-rw-r-- 1 jenkins jenkins 9189 Feb 7 01:04 Attribution.txt 01:06:41 -rw-rw-r-- 1 jenkins jenkins 13162 Feb 7 01:04 CHANGELOG.md 01:06:41 -rw-rw-r-- 1 jenkins jenkins 1689 Feb 7 01:04 Dockerfile 01:06:41 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 01:04 GOVERNANCE.md 01:06:41 -rw-rw-r-- 1 jenkins jenkins 678 Feb 7 01:04 Jenkinsfile 01:06:41 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 01:04 LICENSE 01:06:41 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 7 01:04 Makefile 01:06:41 -rw-rw-r-- 1 jenkins jenkins 620 Feb 7 01:04 OWNERS.md 01:06:41 -rw-rw-r-- 1 jenkins jenkins 3165 Feb 7 01:04 README.md 01:06:41 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 01:04 VERSION 01:06:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 01:04 bin 01:06:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 01:04 cmd 01:06:41 -rw-r--r-- 1 jenkins jenkins 17887 Feb 7 01:06 coverage.out 01:06:41 -rw-rw-r-- 1 jenkins jenkins 3375 Feb 7 01:04 go.mod 01:06:41 -rw-rw-r-- 1 jenkins jenkins 33277 Feb 7 01:04 go.sum 01:06:41 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 01:04 internal 01:06:41 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 01:04 mock 01:06:41 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 01:04 snap 01:06:41 -rw-rw-r-- 1 jenkins jenkins 227 Feb 7 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:41 + 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=b7bba2c3256c3180bf79c56667189d69daefbb17 --label arch=amd64 --label version=0.0.0 . 01:06:41 Sending build context to Docker daemon 6.348MB 01:06:41 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:06:41 Step 2/24 : FROM ${BASE} AS builder 01:06:41 ---> 60e331adbfda 01:06:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:06:42 ---> Running in 3219ebcc1922 01:06:43 Removing intermediate container 3219ebcc1922 01:06:43 ---> d9dfa43257e6 01:06:43 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:45 ---> Running in fb7207646e1f 01:06:47 Removing intermediate container fb7207646e1f 01:06:47 ---> 0dc56c425d83 01:06:47 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:06:47 ---> Running in 7e532e2953fb 01:06:48 Removing intermediate container 7e532e2953fb 01:06:48 ---> 64e53221fc8a 01:06:48 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:06:49 ---> Running in 6293aec69a0b 01:06:51 Removing intermediate container 6293aec69a0b 01:06:51 ---> 837a3dcb8326 01:06:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:52 ---> Running in d69bcbe0545e 01:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:06:54 OK: 216 MiB in 55 packages 01:06:57 Removing intermediate container d69bcbe0545e 01:06:57 ---> 5f992f0df505 01:06:57 Step 8/24 : WORKDIR /device-mqtt-go 01:06:58 ---> Running in eda84714a004 01:06:58 Removing intermediate container eda84714a004 01:06:58 ---> 0da8c7d3bf63 01:06:58 Step 9/24 : COPY go.mod vendor* ./ 01:06:59 ---> 59ead692635d 01:06:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:59 ---> Running in 0171ab9ccbe5 01:07:03 Removing intermediate container 0171ab9ccbe5 01:07:03 ---> 80c1ca3b66e6 01:07:03 Step 11/24 : COPY . . 01:07:03 ---> 103db44aa3b6 01:07:03 Step 12/24 : RUN $MAKE 01:07:04 ---> Running in 4c3affc71b5d 01:07:05 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 01:07:27 Removing intermediate container 4c3affc71b5d 01:07:27 ---> 8fd3240f8aeb 01:07:27 Step 13/24 : FROM alpine:3.16 01:07:27 3.16: Pulling from library/alpine 01:07:27 ca7dd9ec2225: Pulling fs layer 01:07:27 ca7dd9ec2225: Verifying Checksum 01:07:27 ca7dd9ec2225: Download complete 01:07:27 ca7dd9ec2225: Pull complete 01:07:27 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 01:07:27 Status: Downloaded newer image for alpine:3.16 01:07:27 ---> bfe296a52501 01:07:27 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:07:27 ---> Running in c27477fd8ead 01:07:27 Removing intermediate container c27477fd8ead 01:07:27 ---> 55f47bf4890f 01:07:27 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:07:27 ---> Running in 4354479a2dcf 01:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:07:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:07:27 (1/1) Installing dumb-init (1.2.5-r1) 01:07:27 Executing busybox-1.35.0-r17.trigger 01:07:27 OK: 6 MiB in 15 packages 01:07:27 Removing intermediate container 4354479a2dcf 01:07:27 ---> e89d3da64ac6 01:07:27 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:07:28 ---> 8a27180d97c3 01:07:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:07:28 ---> 025851ec664b 01:07:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:07:29 ---> 94af372d51a4 01:07:29 Step 19/24 : EXPOSE 59982 01:07:29 ---> Running in 48af5d97ab0e 01:07:29 Removing intermediate container 48af5d97ab0e 01:07:29 ---> 958bbb938c65 01:07:29 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:07:29 ---> Running in fbaee0aa49fb 01:07:29 Removing intermediate container fbaee0aa49fb 01:07:29 ---> 6ef5ca6daa83 01:07:29 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:07:29 ---> Running in c29bcb7ff815 01:07:29 Removing intermediate container c29bcb7ff815 01:07:29 ---> cb0a36f6bb55 01:07:29 Step 22/24 : LABEL arch=amd64 01:07:29 ---> Running in 738deadd5687 01:07:29 Removing intermediate container 738deadd5687 01:07:29 ---> 068de2997467 01:07:29 Step 23/24 : LABEL git_sha=b7bba2c3256c3180bf79c56667189d69daefbb17 01:07:29 ---> Running in 08a3993dfac4 01:07:29 Removing intermediate container 08a3993dfac4 01:07:29 ---> 337020a5cc9b 01:07:29 Step 24/24 : LABEL version=0.0.0 01:07:29 ---> Running in 602ca0ab42f2 01:07:29 Removing intermediate container 602ca0ab42f2 01:07:29 ---> 16a09b485779 01:07:29 [Warning] One or more build-args [ARCH] were not consumed 01:07:29 Successfully built 16a09b485779 01:07:29 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 01:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:30 01:07:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:07:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:30 latest: Pulling from edgex-lftools-log-publisher 01:07:30 5eb5b503b376: Pulling fs layer 01:07:30 5c69ac0246d0: Pulling fs layer 01:07:30 ec43610c2a17: Pulling fs layer 01:07:30 3a2ae6a8a46f: Pulling fs layer 01:07:30 33b1e0a273af: Pulling fs layer 01:07:30 5d3b04190fa2: Pulling fs layer 01:07:30 2f39f015ded8: Pulling fs layer 01:07:30 3a2ae6a8a46f: Waiting 01:07:30 5d3b04190fa2: Waiting 01:07:30 33b1e0a273af: Waiting 01:07:30 2f39f015ded8: Waiting 01:07:30 5c69ac0246d0: Download complete 01:07:30 3a2ae6a8a46f: Verifying Checksum 01:07:30 3a2ae6a8a46f: Download complete 01:07:31 33b1e0a273af: Verifying Checksum 01:07:31 33b1e0a273af: Download complete 01:07:31 5d3b04190fa2: Verifying Checksum 01:07:31 5d3b04190fa2: Download complete 01:07:31 ec43610c2a17: Verifying Checksum 01:07:31 ec43610c2a17: Download complete 01:07:31 5eb5b503b376: Verifying Checksum 01:07:31 5eb5b503b376: Download complete 01:07:32 2f39f015ded8: Download complete 01:07:32 5eb5b503b376: Pull complete 01:07:32 5c69ac0246d0: Pull complete 01:07:33 ec43610c2a17: Pull complete 01:07:33 3a2ae6a8a46f: Pull complete 01:07:33 33b1e0a273af: Pull complete 01:07:33 5d3b04190fa2: Pull complete 01:07:37 2f39f015ded8: Pull complete 01:07:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:07:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:37 prd-ubuntu20.04-docker-8c-8g-4797 does not seem to be running inside a container 01:07:37 $ 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-474 -v /w/workspace/gexfoundry_device-mqtt-go_PR-474:/w/workspace/gexfoundry_device-mqtt-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-474@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 01:07:43 $ docker top 1cadd9a80218678ee2945ee0a3d4f351c8b3927c1ac7ec7edd07a9cde101ce1f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:44 ---> job-cost.sh 01:07:44 lf-activate-venv: SKIPPING 01:07:44 INFO: No Stack... 01:07:44 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:44 INFO: Archiving Costs [Pipeline] sh 01:07:45 + + cut -d, -f6 01:07:45 cat /w/workspace/gexfoundry_device-mqtt-go_PR-474/archives/cost.csv [Pipeline] lock 01:07:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-474-1-stack-cost] 01:07:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-474-1-stack-cost] did not exist. Created. 01:07:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:07:45 + echo total: 0.2199999988079071 [Pipeline] stash 01:07:45 Stashed 1 file(s) [Pipeline] } 01:07:45 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:07:46 $ docker stop --time=1 1cadd9a80218678ee2945ee0a3d4f351c8b3927c1ac7ec7edd07a9cde101ce1f 01:07:47 $ docker rm -f --volumes 1cadd9a80218678ee2945ee0a3d4f351c8b3927c1ac7ec7edd07a9cde101ce1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:08:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4801 in /w/workspace/gexfoundry_device-mqtt-go_PR-474 [Pipeline] { [Pipeline] ws 01:08:06 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:08:07 Selected Git installation does not exist. Using Default 01:08:07 The recommended git tool is: NONE 01:08:12 using credential edgex-jenkins-ssh 01:08:12 Cloning the remote Git repository 01:08:12 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:08:12 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:08:12 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:08:12 > git --version # timeout=10 01:08:12 > git --version # 'git version 2.25.1' 01:08:12 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:08:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:08:15 Merging remotes/origin/main commit bc7652beee9a90296fe0b57947c4589a421f5e02 into PR head commit b7bba2c3256c3180bf79c56667189d69daefbb17 01:08:15 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:08:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:08:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/474/head:refs/remotes/origin/PR-474 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:08:16 Merge succeeded, producing b7bba2c3256c3180bf79c56667189d69daefbb17 01:08:16 Checking out Revision b7bba2c3256c3180bf79c56667189d69daefbb17 (PR-474) 01:08:16 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:08:16 > git --version # timeout=10 01:08:16 > git --version # 'git version 2.25.1' 01:08:16 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage 01:08:15 > git config core.sparsecheckout # timeout=10 01:08:15 > git checkout -f b7bba2c3256c3180bf79c56667189d69daefbb17 # timeout=10 01:08:15 > git remote # timeout=10 01:08:15 > git config --get remote.origin.url # timeout=10 01:08:15 using GIT_SSH to set credentials SSH Credentials for GitHub 01:08:15 > git merge bc7652beee9a90296fe0b57947c4589a421f5e02 # timeout=10 01:08:16 > git rev-parse HEAD^{commit} # timeout=10 01:08:16 > git config core.sparsecheckout # timeout=10 01:08:16 > git checkout -f b7bba2c3256c3180bf79c56667189d69daefbb17 # timeout=10 [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:08:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:08:17 Dload Upload Total Spent Left Speed 01:08:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 01:08:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:08:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:08:18 + sudo tee /etc/docker/daemon.new 01:08:18 { 01:08:18 "registry-mirrors": [ 01:08:18 "https://nexus3.edgexfoundry.org:10001" 01:08:18 ], 01:08:18 "bip": "10.250.0.254/24", 01:08:18 "hosts": [ 01:08:18 "tcp://0.0.0.0:5555", 01:08:18 "unix:///var/run/docker.sock" 01:08:18 ], 01:08:18 "mtu": 1458, 01:08:18 "selinux-enabled": true, 01:08:18 "seccomp-profile": "/etc/docker/seccomp.json" 01:08:18 } [Pipeline] sh 01:08:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:08:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:37 provisioning config files... 01:08:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10705076091468521256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:38 ---> docker-login.sh 01:08:38 nexus3.edgexfoundry.org:10001 01:08:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:38 Configure a credential helper to remove this warning. See 01:08:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:38 01:08:38 Login Succeeded 01:08:38 nexus3.edgexfoundry.org:10002 01:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:39 Configure a credential helper to remove this warning. See 01:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:39 01:08:39 Login Succeeded 01:08:39 nexus3.edgexfoundry.org:10003 01:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:39 Configure a credential helper to remove this warning. See 01:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:39 01:08:39 Login Succeeded 01:08:39 nexus3.edgexfoundry.org:10004 01:08:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:39 Configure a credential helper to remove this warning. See 01:08:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:39 01:08:39 Login Succeeded 01:08:39 docker.io 01:08:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:40 Configure a credential helper to remove this warning. See 01:08:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:40 01:08:40 Login Succeeded 01:08:40 ---> docker-login.sh ends [Pipeline] } 01:08:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:41 ========================================================= 01:08:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:08:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:08:41 + 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 . 01:08:41 Sending build context to Docker daemon 3.276MB 01:08:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:08:41 Step 2/12 : FROM ${BASE} AS builder 01:08:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:08:42 9b18e9b68314: Pulling fs layer 01:08:42 35d82f9e3411: Pulling fs layer 01:08:42 e16973657156: Pulling fs layer 01:08:42 fc693d55d65f: Pulling fs layer 01:08:42 7e9fc2657dce: Pulling fs layer 01:08:42 dda99020689f: Pulling fs layer 01:08:42 db1c61fa0a46: Pulling fs layer 01:08:42 891c053d2c06: Pulling fs layer 01:08:42 dda99020689f: Waiting 01:08:42 db1c61fa0a46: Waiting 01:08:42 891c053d2c06: Waiting 01:08:42 fc693d55d65f: Waiting 01:08:42 7e9fc2657dce: Waiting 01:08:42 e16973657156: Verifying Checksum 01:08:42 e16973657156: Download complete 01:08:42 35d82f9e3411: Verifying Checksum 01:08:42 35d82f9e3411: Download complete 01:08:42 7e9fc2657dce: Verifying Checksum 01:08:42 7e9fc2657dce: Download complete 01:08:42 dda99020689f: Verifying Checksum 01:08:42 dda99020689f: Download complete 01:08:42 9b18e9b68314: Download complete 01:08:43 9b18e9b68314: Pull complete 01:08:43 891c053d2c06: Verifying Checksum 01:08:43 891c053d2c06: Download complete 01:08:43 35d82f9e3411: Pull complete 01:08:44 e16973657156: Pull complete 01:08:44 db1c61fa0a46: Verifying Checksum 01:08:44 db1c61fa0a46: Download complete 01:08:45 fc693d55d65f: Verifying Checksum 01:08:45 fc693d55d65f: Download complete 01:08:57 fc693d55d65f: Pull complete 01:08:57 7e9fc2657dce: Pull complete 01:08:57 dda99020689f: Pull complete 01:09:03 db1c61fa0a46: Pull complete 01:09:04 891c053d2c06: Pull complete 01:09:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:09:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:09:04 ---> f96f9c87975a 01:09:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:09:06 ---> Running in fe46041616a9 01:09:06 Removing intermediate container fe46041616a9 01:09:06 ---> aec2afd36f8b 01:09:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:09:06 ---> Running in 5d042142da18 01:09:07 Removing intermediate container 5d042142da18 01:09:07 ---> ef1bc79883f9 01:09:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:09:07 ---> Running in bc5e08fdb55b 01:09:07 Removing intermediate container bc5e08fdb55b 01:09:07 ---> 082139492cb2 01:09:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:09:07 ---> Running in ca03987f07b3 01:09:08 Removing intermediate container ca03987f07b3 01:09:08 ---> f62d401562f0 01:09:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:08 ---> Running in 26e2796d107a 01:09:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:09:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:09:10 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:09:10 (2/4) Installing libedit (20210910.3.1-r0) 01:09:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:09:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:09:10 Executing busybox-1.35.0-r17.trigger 01:09:10 OK: 226 MiB in 55 packages 01:09:11 Removing intermediate container 26e2796d107a 01:09:11 ---> a73863218b59 01:09:11 Step 8/12 : WORKDIR /device-mqtt-go 01:09:11 ---> Running in 6801ba51e31d 01:09:12 Removing intermediate container 6801ba51e31d 01:09:12 ---> ae9dd487a029 01:09:12 Step 9/12 : COPY go.mod vendor* ./ 01:09:12 ---> 13c0378a8203 01:09:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:13 ---> Running in 14604e2664d3 01:10:34 Removing intermediate container 14604e2664d3 01:10:34 ---> 22349e185328 01:10:34 Step 11/12 : COPY . . 01:10:34 ---> 4c630e32d777 01:10:34 Step 12/12 : RUN $MAKE 01:10:34 ---> Running in 6311874e4e88 01:10:34 noop 01:10:34 Removing intermediate container 6311874e4e88 01:10:34 ---> 2f1584070905 01:10:34 Successfully built 2f1584070905 01:10:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:35 + docker inspect -f . ci-base-image-arm64 01:10:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:35 prd-ubuntu20.04-docker-arm64-4c-16g-4801 does not seem to be running inside a container 01:10:35 $ 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 ******** ci-base-image-arm64 cat 01:10:36 $ docker top 0142c33ac1fc4206f60e4daa01d657269f5ef38940d99df21fab5786528b40bd -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:38 + go version 01:10:38 go version go1.18.7 linux/arm64 [Pipeline] } 01:10:38 $ docker stop --time=1 0142c33ac1fc4206f60e4daa01d657269f5ef38940d99df21fab5786528b40bd 01:10:39 $ docker rm -f --volumes 0142c33ac1fc4206f60e4daa01d657269f5ef38940d99df21fab5786528b40bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:10:40 + docker inspect -f . ci-base-image-arm64 01:10:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:10:41 prd-ubuntu20.04-docker-arm64-4c-16g-4801 does not seem to be running inside a container 01:10:41 $ 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 ******** ci-base-image-arm64 cat 01:10:42 $ docker top 4c405ecdb7346e2cc4525d43c7d93e62a8b8f50d4c48dcf31917f6870086d677 -eo pid,comm [Pipeline] { [Pipeline] sh 01:10:43 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:10:44 + make test 01:10:44 go test ./... -coverprofile=coverage.out ./... 01:10:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:12:23 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:12:23 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 01:12:23 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:12:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:12:23 go vet ./... 01:12:55 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:12:55 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:12:55 ./bin/test-attribution-txt.sh 01:12:55 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 01:12:55 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 01:12:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:12:55 $ docker stop --time=1 4c405ecdb7346e2cc4525d43c7d93e62a8b8f50d4c48dcf31917f6870086d677 01:12:57 $ docker rm -f --volumes 4c405ecdb7346e2cc4525d43c7d93e62a8b8f50d4c48dcf31917f6870086d677 [Pipeline] // withDockerContainer [Pipeline] sh 01:12:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:58 Warning: overwriting stash ‘coverage-report’ 01:12:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:13:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:13:00 + ls -al . 01:13:00 total 180 01:13:00 drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 01:10 . 01:13:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 01:08 .. 01:13:00 -rw-rw-r-- 1 jenkins jenkins 140 Feb 7 01:08 .dockerignore 01:13:00 drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 01:08 .git 01:13:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 01:08 .github 01:13:00 -rw-rw-r-- 1 jenkins jenkins 329 Feb 7 01:08 .gitignore 01:13:00 -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 01:08 .golangci.yml 01:13:00 -rw-rw-r-- 1 jenkins jenkins 9189 Feb 7 01:08 Attribution.txt 01:13:00 -rw-rw-r-- 1 jenkins jenkins 13162 Feb 7 01:08 CHANGELOG.md 01:13:00 -rw-rw-r-- 1 jenkins jenkins 1689 Feb 7 01:08 Dockerfile 01:13:00 -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 01:08 GOVERNANCE.md 01:13:00 -rw-rw-r-- 1 jenkins jenkins 678 Feb 7 01:08 Jenkinsfile 01:13:00 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 01:08 LICENSE 01:13:00 -rw-rw-r-- 1 jenkins jenkins 1697 Feb 7 01:08 Makefile 01:13:00 -rw-rw-r-- 1 jenkins jenkins 620 Feb 7 01:08 OWNERS.md 01:13:00 -rw-rw-r-- 1 jenkins jenkins 3165 Feb 7 01:08 README.md 01:13:00 -rw-rw-r-- 1 jenkins jenkins 5 Feb 7 01:04 VERSION 01:13:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 01:08 bin 01:13:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 01:08 cmd 01:13:00 -rw-r--r-- 1 jenkins jenkins 17887 Feb 7 01:12 coverage.out 01:13:00 -rw-rw-r-- 1 jenkins jenkins 3375 Feb 7 01:08 go.mod 01:13:00 -rw-rw-r-- 1 jenkins jenkins 33277 Feb 7 01:08 go.sum 01:13:00 drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 01:08 internal 01:13:00 drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 01:08 mock 01:13:00 drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 01:08 snap 01:13:00 -rw-rw-r-- 1 jenkins jenkins 227 Feb 7 01:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:01 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b7bba2c3256c3180bf79c56667189d69daefbb17 --label arch=arm64 --label version=0.0.0 . 01:13:01 Sending build context to Docker daemon 3.295MB 01:13:01 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:13:01 Step 2/24 : FROM ${BASE} AS builder 01:13:01 ---> 2f1584070905 01:13:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:13:01 ---> Running in 0a29a02c2dfe 01:13:01 Removing intermediate container 0a29a02c2dfe 01:13:01 ---> 70b133470a2e 01:13:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:13:02 ---> Running in 2cee162f28ca 01:13:02 Removing intermediate container 2cee162f28ca 01:13:02 ---> 7da763ca8677 01:13:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:13:02 ---> Running in 7f714d2a551a 01:13:02 Removing intermediate container 7f714d2a551a 01:13:02 ---> 5251c28c0412 01:13:02 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:13:03 ---> Running in 5cbf13dae501 01:13:03 Removing intermediate container 5cbf13dae501 01:13:03 ---> 99a761b57c91 01:13:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:03 ---> Running in 8310430e78f1 01:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:13:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:13:06 OK: 226 MiB in 55 packages 01:13:07 Removing intermediate container 8310430e78f1 01:13:07 ---> 4cbc2fd7cde6 01:13:07 Step 8/24 : WORKDIR /device-mqtt-go 01:13:07 ---> Running in 63deafb8888c 01:13:07 Removing intermediate container 63deafb8888c 01:13:07 ---> 5eebe141a277 01:13:07 Step 9/24 : COPY go.mod vendor* ./ 01:13:08 ---> e20df5271760 01:13:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:08 ---> Running in 734bf6ee0420 01:13:11 Removing intermediate container 734bf6ee0420 01:13:11 ---> 9fd4b68679e4 01:13:11 Step 11/24 : COPY . . 01:13:12 ---> ebcad17ed297 01:13:12 Step 12/24 : RUN $MAKE 01:13:12 ---> Running in 8e6664a1b1e8 01:13:13 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 01:15:20 Removing intermediate container 8e6664a1b1e8 01:15:20 ---> 7a5ad18e0aa5 01:15:20 Step 13/24 : FROM alpine:3.16 01:15:21 3.16: Pulling from library/alpine 01:15:21 6875df1f5354: Pulling fs layer 01:15:21 6875df1f5354: Verifying Checksum 01:15:21 6875df1f5354: Download complete 01:15:22 6875df1f5354: Pull complete 01:15:22 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 01:15:22 Status: Downloaded newer image for alpine:3.16 01:15:22 ---> 2b4661558fb8 01:15:22 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:15:22 ---> Running in 3261c0f27962 01:15:22 Removing intermediate container 3261c0f27962 01:15:22 ---> e1eafbd80c8a 01:15:22 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:15:23 ---> Running in 96d3f39179a7 01:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:15:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:15:25 (1/1) Installing dumb-init (1.2.5-r1) 01:15:25 Executing busybox-1.35.0-r17.trigger 01:15:25 OK: 5 MiB in 15 packages 01:15:26 Removing intermediate container 96d3f39179a7 01:15:26 ---> 6e989838ee86 01:15:26 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:15:27 ---> d697423e4181 01:15:27 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:15:27 ---> 99eff12f4c62 01:15:27 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:15:28 ---> 7a77331e90df 01:15:28 Step 19/24 : EXPOSE 59982 01:15:28 ---> Running in 8e81b46db6ad 01:15:28 Removing intermediate container 8e81b46db6ad 01:15:28 ---> bfb3de5412a9 01:15:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:15:29 ---> Running in 6ac4976e1183 01:15:29 Removing intermediate container 6ac4976e1183 01:15:29 ---> 25ccb18eb1f0 01:15:29 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:15:29 ---> Running in f51cc72ad029 01:15:29 Removing intermediate container f51cc72ad029 01:15:29 ---> 97561a820790 01:15:29 Step 22/24 : LABEL arch=arm64 01:15:29 ---> Running in ed14f1fd89c5 01:15:29 Removing intermediate container ed14f1fd89c5 01:15:29 ---> f4b3420d334b 01:15:29 Step 23/24 : LABEL git_sha=b7bba2c3256c3180bf79c56667189d69daefbb17 01:15:30 ---> Running in 12258c3201be 01:15:30 Removing intermediate container 12258c3201be 01:15:30 ---> 61b27141d553 01:15:30 Step 24/24 : LABEL version=0.0.0 01:15:30 ---> Running in f9645711eb39 01:15:30 Removing intermediate container f9645711eb39 01:15:30 ---> 3f2bd863c3bd 01:15:30 [Warning] One or more build-args [ARCH] were not consumed 01:15:30 Successfully built 3f2bd863c3bd 01:15:30 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 01:15:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:31 01:15:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:32 arm64: Pulling from edgex-lftools-log-publisher 01:15:32 8998bd30e6a1: Pulling fs layer 01:15:32 04944245beec: Pulling fs layer 01:15:32 699f458cf7ca: Pulling fs layer 01:15:32 765212b225bb: Pulling fs layer 01:15:32 f23df028b6ca: Pulling fs layer 01:15:32 d65c8cfc05b1: Pulling fs layer 01:15:32 2437ff75d9bd: Pulling fs layer 01:15:32 765212b225bb: Waiting 01:15:32 f23df028b6ca: Waiting 01:15:32 d65c8cfc05b1: Waiting 01:15:32 2437ff75d9bd: Waiting 01:15:32 04944245beec: Verifying Checksum 01:15:32 04944245beec: Download complete 01:15:32 765212b225bb: Verifying Checksum 01:15:32 765212b225bb: Download complete 01:15:32 f23df028b6ca: Verifying Checksum 01:15:32 f23df028b6ca: Download complete 01:15:32 d65c8cfc05b1: Verifying Checksum 01:15:32 d65c8cfc05b1: Download complete 01:15:32 699f458cf7ca: Download complete 01:15:32 8998bd30e6a1: Verifying Checksum 01:15:32 8998bd30e6a1: Download complete 01:15:35 2437ff75d9bd: Verifying Checksum 01:15:35 2437ff75d9bd: Download complete 01:15:36 8998bd30e6a1: Pull complete 01:15:37 04944245beec: Pull complete 01:15:38 699f458cf7ca: Pull complete 01:15:38 765212b225bb: Pull complete 01:15:39 f23df028b6ca: Pull complete 01:15:39 d65c8cfc05b1: Pull complete 01:15:54 2437ff75d9bd: Pull complete 01:15:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:55 prd-ubuntu20.04-docker-arm64-4c-16g-4801 does not seem to be running inside a container 01:15:55 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:15:57 $ docker top c1c2c54403a86b50fcdb634a387ca0e0780d63e21433892f621de211c77e28ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:15:58 ---> job-cost.sh 01:15:58 lf-activate-venv: SKIPPING 01:15:58 INFO: No Stack... 01:15:58 INFO: Retrieving Pricing Info for: v3-standard-4 01:15:59 INFO: Archiving Costs [Pipeline] sh 01:16:00 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:16:00 + cut -d, -f6 [Pipeline] lock 01:16:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-474-1-stack-cost] 01:16:00 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-474-1-stack-cost] did not exist. Created. 01:16:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-474-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:00 /w/workspace/device-mqtt-go/1@tmp/durable-1c1aa0ae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:16:00 + echo total: 0.10999999940395355 [Pipeline] stash 01:16:01 Warning: overwriting stash ‘stack-cost’ 01:16:01 Stashed 1 file(s) [Pipeline] } 01:16:01 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-474-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:01 $ docker stop --time=1 c1c2c54403a86b50fcdb634a387ca0e0780d63e21433892f621de211c77e28ff 01:16:02 $ docker rm -f --volumes c1c2c54403a86b50fcdb634a387ca0e0780d63e21433892f621de211c77e28ff [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 01:16:03 provisioning config files... 01:16:03 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp/config13903511382062240498tmp [Pipeline] { [Pipeline] sh 01:16:03 + set +x 01:16:03 + + bash -s -- 01:16:03 curl -s https://codecov.io/bash 01:16:03 01:16:03 _____ _ 01:16:03 / ____| | | 01:16:03 | | ___ __| | ___ ___ _____ __ 01:16:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:16:03 | |___| (_) | (_| | __/ (_| (_) \ V / 01:16:03 \_____\___/ \__,_|\___|\___\___/ \_/ 01:16:03 Bash-1.0.6 01:16:03 01:16:03 01:16:03 ==> git version 2.25.1 found 01:16:03 ==> 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 01:16:03 Release-Date: 2020-01-08 01:16:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:16:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:16:03 ==> Jenkins CI detected. 01:16:03 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-474 01:16:03 project root: . 01:16:03 --> token set from env 01:16:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:16:03 ==> Running gcov in . (disable via -X gcov) 01:16:03 ==> Python coveragepy not found 01:16:03 ==> Searching for coverage reports in: 01:16:03 + . 01:16:03 -> Found 1 reports 01:16:03 ==> Detecting git/mercurial file structure 01:16:04 ==> Reading reports 01:16:04 + ./coverage.out bytes=17887 01:16:04 ==> Appending adjustments 01:16:04 https://docs.codecov.io/docs/fixing-reports 01:16:04 + Found adjustments 01:16:04 ==> Gzipping contents 01:16:04 4.0K /tmp/codecov.8FfyzE.gz 01:16:04 ==> Uploading reports 01:16:04 url: https://codecov.io 01:16:04 query: branch=PR-474&commit=b7bba2c3256c3180bf79c56667189d69daefbb17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=474&job=&cmd_args= 01:16:04 -> Pinging Codecov 01:16:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-474&commit=b7bba2c3256c3180bf79c56667189d69daefbb17&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-474%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=474&job=&cmd_args= 01:16:04 -> Uploading to 01:16:04 https://storage.googleapis.com/codecov/v4/raw/2023-02-07/7D719EC7BBE17E464838252E33014C33/b7bba2c3256c3180bf79c56667189d69daefbb17/d10a4c79-27a1-44e5-8f00-51fe70bc9b29.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T011604Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29df7f6c51591003574c0d4ac04d52ececd5cc54a6e2fde12a23cf9f9bf43b6f 01:16:04 % Total % Received % Xferd Average Speed Time Time Time Current 01:16:04 Dload Upload Total Spent Left Speed 01:16:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3165 0 0 100 3165 0 11183 --:--:-- --:--:-- --:--:-- 11144 01:16:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b7bba2c3256c3180bf79c56667189d69daefbb17 [Pipeline] } 01:16:05 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 01:16:06 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-474/archives ] 01:16:06 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-474/archives 01:16:06 total 16 01:16:06 drwxr-xr-x 3 root root 4096 Feb 7 01:07 . 01:16:06 drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 01:07 .. 01:16:06 drwxr-xr-x 2 root root 4096 Feb 7 01:07 cost 01:16:06 -rw-r--r-- 1 root root 86 Feb 7 01:07 cost.csv 01:16:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-474/archives 01:16:06 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-474/archives 01:16:06 total 16 01:16:06 drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 01:07 . 01:16:06 drwxrwxr-x 11 jenkins jenkins 4096 Feb 7 01:07 .. 01:16:06 drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 01:07 cost 01:16:06 -rw-r--r-- 1 jenkins jenkins 86 Feb 7 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:16:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:16:08 ---> package-listing.sh 01:16:08 ++ tr '[:upper:]' '[:lower:]' 01:16:08 ++ facter osfamily 01:16:08 + OS_FAMILY=debian 01:16:08 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-474 01:16:08 + START_PACKAGES=/tmp/packages_start.txt 01:16:08 + END_PACKAGES=/tmp/packages_end.txt 01:16:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:16:08 + PACKAGES=/tmp/packages_start.txt 01:16:08 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-474 ']' 01:16:08 + PACKAGES=/tmp/packages_end.txt 01:16:08 + case "${OS_FAMILY}" in 01:16:08 + dpkg -l 01:16:08 + grep '^ii' 01:16:08 + '[' -f /tmp/packages_start.txt ']' 01:16:08 + '[' -f /tmp/packages_end.txt ']' 01:16:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:16:08 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-474 ']' 01:16:08 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-474/archives/ 01:16:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-474/archives/ [Pipeline] echo 01:16:08 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-474/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:16:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:09 prd-ubuntu20.04-docker-8c-8g-4797 does not seem to be running inside a container 01:16:09 $ 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-474/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-474 -v /w/workspace/gexfoundry_device-mqtt-go_PR-474:/w/workspace/gexfoundry_device-mqtt-go_PR-474:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-474@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 01:16:09 $ docker top 85cf24877a5126b7bca33035a66c274e9aa41409206b793fe1bc0fd611918cc8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:10 + touch /tmp/pre-build-complete [Pipeline] sh 01:16:10 + mkdir -p /var/log/sysstat [Pipeline] sh 01:16:10 + ls /var/log/sa-host 01:16:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:16:10 provisioning config files... 01:16:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-474@tmp/config11716963418656400980tmp [Pipeline] { [Pipeline] echo 01:16:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:16:11 ---> create-netrc.sh [Pipeline] } 01:16:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:16:11 ---> python-tools-install.sh [Pipeline] echo 01:16:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:16:12 ---> sudo-logs.sh 01:16:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:16:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:16:12 ---> job-cost.sh 01:16:12 lf-activate-venv: SKIPPING 01:16:12 DEBUG: total: 0.2199999988079071 01:16:12 INFO: Retrieving Stack Cost... 01:16:12 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:13 INFO: Archiving Costs [Pipeline] echo 01:16:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:16:13 ---> logs-deploy.sh 01:16:13 lf-activate-venv: SKIPPING 01:16:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-474/1 01:16:13 INFO: archiving workspace using pattern(s): 01:16:14 Archives upload complete. 01:16:14 INFO: archiving logs to Nexus 01:16:15 ---> uname -a: 01:16:15 Linux prd-ubuntu20-04-docker-8c-8g-4797 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:16:15 01:16:15 01:16:15 ---> lscpu: 01:16:15 Architecture: x86_64 01:16:15 CPU op-mode(s): 32-bit, 64-bit 01:16:15 Byte Order: Little Endian 01:16:15 Address sizes: 40 bits physical, 48 bits virtual 01:16:15 CPU(s): 8 01:16:15 On-line CPU(s) list: 0-7 01:16:15 Thread(s) per core: 1 01:16:15 Core(s) per socket: 1 01:16:15 Socket(s): 8 01:16:15 NUMA node(s): 1 01:16:15 Vendor ID: AuthenticAMD 01:16:15 CPU family: 23 01:16:15 Model: 49 01:16:15 Model name: AMD EPYC-Rome Processor 01:16:15 Stepping: 0 01:16:15 CPU MHz: 2799.998 01:16:15 BogoMIPS: 5599.99 01:16:15 Virtualization: AMD-V 01:16:15 Hypervisor vendor: KVM 01:16:15 Virtualization type: full 01:16:15 L1d cache: 256 KiB 01:16:15 L1i cache: 256 KiB 01:16:15 L2 cache: 4 MiB 01:16:15 L3 cache: 128 MiB 01:16:15 NUMA node0 CPU(s): 0-7 01:16:15 Vulnerability Itlb multihit: Not affected 01:16:15 Vulnerability L1tf: Not affected 01:16:15 Vulnerability Mds: Not affected 01:16:15 Vulnerability Meltdown: Not affected 01:16:15 Vulnerability Mmio stale data: Not affected 01:16:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:16:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:16:15 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:16:15 Vulnerability Srbds: Not affected 01:16:15 Vulnerability Tsx async abort: Not affected 01:16:15 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 01:16:15 01:16:15 01:16:15 ---> nproc: 01:16:15 8 01:16:15 01:16:15 01:16:15 ---> df -h: 01:16:15 Filesystem Size Used Avail Use% Mounted on 01:16:15 overlay 155G 12G 144G 8% / 01:16:15 tmpfs 64M 0 64M 0% /dev 01:16:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:16:15 shm 64M 0 64M 0% /dev/shm 01:16:15 /dev/vda1 155G 12G 144G 8% /facter-os 01:16:15 01:16:15 01:16:15 ---> sar -b -r -n DEV: 01:16:15 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4797) 02/07/23 _x86_64_ (8 CPU) 01:16:15 01:16:15 01:03:27 LINUX RESTART (8 CPU) 01:16:15 01:16:15 01:04:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:16:15 01:05:01 95.72 38.24 57.47 0.00 4267.96 35494.75 0.00 01:16:15 01:06:01 144.04 0.75 143.29 0.00 17.32 61044.29 0.00 01:16:15 01:07:01 85.09 0.22 84.87 0.00 9.73 9740.51 0.00 01:16:15 01:08:01 118.55 0.08 118.46 0.00 17.73 33428.70 0.00 01:16:15 01:09:01 56.24 11.79 44.45 0.00 5264.46 9007.85 0.00 01:16:15 01:10:01 6.70 0.02 6.68 0.00 0.13 130.91 0.00 01:16:15 01:11:01 1.33 0.00 1.33 0.00 0.00 15.33 0.00 01:16:15 01:12:01 1.97 0.00 1.97 0.00 0.00 21.46 0.00 01:16:15 01:13:01 1.43 0.00 1.43 0.00 0.00 15.86 0.00 01:16:15 01:14:01 2.20 0.00 2.20 0.00 0.00 24.00 0.00 01:16:15 01:15:01 1.42 0.00 1.42 0.00 0.00 15.46 0.00 01:16:15 01:16:01 1.87 0.00 1.87 0.00 0.00 20.13 0.00 01:16:15 Average: 43.03 4.25 38.79 0.00 791.84 12421.21 0.00 01:16:15 01:16:15 01:04:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:16:15 01:05:01 29217412 31613024 711216 2.16 71824 2606164 1817824 5.36 978696 2342544 482192 01:16:15 01:06:01 27861408 31587424 717816 2.18 143276 3742616 1826520 5.38 1171252 3365156 64472 01:16:15 01:07:01 28425512 31543912 760020 2.31 147856 3185228 1915668 5.65 1213536 2808848 144 01:16:15 01:08:01 27709436 31573380 728068 2.21 157968 3859652 1775716 5.23 1232192 3443488 340 01:16:15 01:09:01 27163068 31546484 748264 2.28 191444 4317824 1839940 5.42 1559500 3623856 1012 01:16:15 01:10:01 27173048 31551656 744280 2.26 190024 4314568 1800712 5.31 1554060 3620704 0 01:16:15 01:11:01 27173576 31552292 743612 2.26 190100 4314572 1800712 5.31 1554072 3620712 8 01:16:15 01:12:01 27173636 31552432 743352 2.26 190152 4314572 1800712 5.31 1553960 3620716 8 01:16:15 01:13:01 27179612 31558516 737224 2.24 190216 4314576 1800712 5.31 1547864 3620712 8 01:16:15 01:14:01 27180592 31559572 736296 2.24 190288 4314580 1800712 5.31 1547848 3620716 12 01:16:15 01:15:01 27180252 31559540 736524 2.24 190360 4314580 1800712 5.31 1547740 3620956 12 01:16:15 01:16:01 27180244 31559588 736396 2.24 190408 4314584 1800712 5.31 1547720 3620964 4 01:16:15 Average: 27551483 31563152 736922 2.24 170326 3992793 1815054 5.35 1417370 3410781 45684 01:16:15 01:16:15 01:04:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:16:15 01:05:01 ens3 611.85 421.33 6447.71 89.06 0.00 0.00 0.00 0.00 01:16:15 01:05:01 lo 6.73 6.73 0.65 0.65 0.00 0.00 0.00 0.00 01:16:15 01:05:01 docker0 3.88 3.18 0.43 47.42 0.00 0.00 0.00 0.00 01:16:15 01:06:01 ens3 253.63 189.76 1929.70 23.48 0.00 0.00 0.00 0.00 01:16:15 01:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:15 01:06:01 docker0 179.67 238.48 14.37 1917.77 0.00 0.00 0.00 0.00 01:16:15 01:07:01 ens3 65.81 52.89 91.21 106.38 0.00 0.00 0.00 0.00 01:16:15 01:07:01 lo 0.27 0.27 0.03 0.03 0.00 0.00 0.00 0.00 01:16:15 01:07:01 docker0 1.13 2.83 0.07 40.50 0.00 0.00 0.00 0.00 01:16:15 01:08:01 ens3 123.60 81.89 2619.30 16.00 0.00 0.00 0.00 0.00 01:16:15 01:08:01 lo 1.80 1.80 0.17 0.17 0.00 0.00 0.00 0.00 01:16:15 01:08:01 docker0 2.00 3.82 0.12 41.05 0.00 0.00 0.00 0.00 01:16:15 01:09:01 ens3 117.93 72.36 2801.51 5.72 0.00 0.00 0.00 0.00 01:16:15 01:09:01 lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 01:16:15 01:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:10:01 ens3 0.47 0.32 0.10 0.08 0.00 0.00 0.00 0.00 01:16:15 01:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:15 01:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:11:01 ens3 0.17 0.10 0.06 0.01 0.00 0.00 0.00 0.00 01:16:15 01:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:12:01 ens3 0.23 0.12 0.01 0.01 0.00 0.00 0.00 0.00 01:16:15 01:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:15 01:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:13:01 ens3 0.17 0.02 0.01 0.00 0.00 0.00 0.00 0.00 01:16:15 01:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:14:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:16:15 01:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:15 01:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:15:01 ens3 0.20 0.12 0.08 0.07 0.00 0.00 0.00 0.00 01:16:15 01:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 01:16:01 ens3 0.30 0.20 0.07 0.01 0.00 0.00 0.00 0.00 01:16:15 01:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:15 01:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:15 Average: ens3 97.85 68.27 1155.23 20.09 0.00 0.00 0.00 0.00 01:16:15 Average: lo 0.87 0.87 0.08 0.08 0.00 0.00 0.00 0.00 01:16:15 Average: docker0 15.59 20.74 1.25 170.92 0.00 0.00 0.00 0.00 01:16:15 01:16:15 01:16:15 ---> sar -P ALL: 01:16:15 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-4797) 02/07/23 _x86_64_ (8 CPU) 01:16:15 01:16:15 01:03:27 LINUX RESTART (8 CPU) 01:16:15 01:16:15 01:04:01 CPU %user %nice %system %iowait %steal %idle 01:16:15 01:05:01 all 8.76 0.00 2.78 5.07 0.07 83.32 01:16:15 01:05:01 0 8.87 0.00 3.21 11.58 0.07 76.27 01:16:15 01:05:01 1 8.46 0.00 3.54 7.99 0.07 79.95 01:16:15 01:05:01 2 10.49 0.00 2.14 0.89 0.05 86.43 01:16:15 01:05:01 3 8.15 0.00 2.65 3.15 0.07 85.99 01:16:15 01:05:01 4 10.29 0.00 3.03 3.74 0.08 82.85 01:16:15 01:05:01 5 8.83 0.00 2.53 12.06 0.05 76.53 01:16:15 01:05:01 6 8.57 0.00 2.27 0.65 0.07 88.44 01:16:15 01:05:01 7 6.42 0.00 2.85 0.47 0.10 90.15 01:16:15 01:06:01 all 4.63 0.00 2.10 7.90 0.05 85.31 01:16:15 01:06:01 0 4.74 0.00 2.77 30.64 0.07 61.77 01:16:15 01:06:01 1 4.96 0.00 2.31 0.42 0.05 92.26 01:16:15 01:06:01 2 3.56 0.00 1.52 0.30 0.03 94.58 01:16:15 01:06:01 3 4.96 0.00 1.85 0.90 0.05 92.23 01:16:15 01:06:01 4 4.57 0.00 2.32 14.57 0.05 78.49 01:16:15 01:06:01 5 4.83 0.00 2.39 10.36 0.07 82.35 01:16:15 01:06:01 6 4.91 0.00 1.97 5.91 0.05 87.16 01:16:15 01:06:01 7 4.52 0.00 1.63 0.27 0.07 93.51 01:16:15 01:07:01 all 20.14 0.00 3.36 6.87 0.09 69.54 01:16:15 01:07:01 0 21.10 0.00 3.32 1.37 0.08 74.12 01:16:15 01:07:01 1 20.38 0.00 3.19 2.00 0.10 74.33 01:16:15 01:07:01 2 19.82 0.00 3.11 1.66 0.07 75.34 01:16:15 01:07:01 3 19.92 0.00 3.29 1.34 0.10 75.35 01:16:15 01:07:01 4 19.70 0.00 3.19 1.17 0.08 75.85 01:16:15 01:07:01 5 19.51 0.00 4.18 13.38 0.10 62.82 01:16:15 01:07:01 6 20.16 0.00 3.44 32.99 0.08 43.32 01:16:15 01:07:01 7 20.49 0.00 3.21 1.09 0.08 75.13 01:16:15 01:08:01 all 17.03 0.00 3.55 3.60 0.07 75.74 01:16:15 01:08:01 0 16.68 0.00 3.96 14.86 0.07 64.43 01:16:15 01:08:01 1 17.06 0.00 3.07 0.18 0.05 79.64 01:16:15 01:08:01 2 17.43 0.00 3.46 1.26 0.07 77.79 01:16:15 01:08:01 3 17.85 0.00 3.30 0.42 0.07 78.36 01:16:15 01:08:01 4 17.19 0.00 3.39 0.83 0.05 78.54 01:16:15 01:08:01 5 17.30 0.00 4.19 0.32 0.07 78.12 01:16:15 01:08:01 6 16.51 0.00 3.68 6.62 0.05 73.14 01:16:15 01:08:01 7 16.25 0.00 3.35 4.42 0.13 75.84 01:16:15 01:09:01 all 2.35 0.00 1.37 0.81 0.03 95.45 01:16:15 01:09:01 0 2.47 0.00 1.21 0.36 0.03 95.94 01:16:15 01:09:01 1 3.43 0.00 0.73 0.07 0.02 95.75 01:16:15 01:09:01 2 2.84 0.00 2.88 0.07 0.03 94.18 01:16:15 01:09:01 3 2.55 0.00 2.21 2.52 0.03 92.68 01:16:15 01:09:01 4 1.36 0.00 0.95 0.05 0.02 97.62 01:16:15 01:09:01 5 2.49 0.00 1.05 0.20 0.02 96.24 01:16:15 01:09:01 6 2.17 0.00 0.86 2.22 0.02 94.73 01:16:15 01:09:01 7 1.45 0.00 1.07 0.99 0.03 96.46 01:16:15 01:10:01 all 0.34 0.00 0.08 0.02 0.01 99.55 01:16:15 01:10:01 0 0.17 0.00 0.15 0.02 0.00 99.67 01:16:15 01:10:01 1 0.08 0.00 0.10 0.08 0.02 99.72 01:16:15 01:10:01 2 0.08 0.00 0.07 0.00 0.00 99.85 01:16:15 01:10:01 3 0.08 0.00 0.08 0.00 0.00 99.83 01:16:15 01:10:01 4 0.07 0.00 0.05 0.00 0.02 99.87 01:16:15 01:10:01 5 2.07 0.00 0.05 0.00 0.00 97.88 01:16:15 01:10:01 6 0.05 0.00 0.05 0.10 0.02 99.78 01:16:15 01:10:01 7 0.10 0.00 0.07 0.00 0.00 99.83 01:16:15 01:11:01 all 0.09 0.00 0.01 0.00 0.00 99.89 01:16:15 01:11:01 0 0.03 0.00 0.02 0.00 0.00 99.95 01:16:15 01:11:01 1 0.02 0.00 0.02 0.00 0.00 99.97 01:16:15 01:11:01 2 0.00 0.00 0.00 0.00 0.00 100.00 01:16:15 01:11:01 3 0.05 0.00 0.02 0.00 0.00 99.93 01:16:15 01:11:01 4 0.00 0.00 0.02 0.00 0.00 99.98 01:16:15 01:11:01 5 0.63 0.00 0.02 0.00 0.00 99.35 01:16:15 01:11:01 6 0.00 0.00 0.02 0.02 0.00 99.97 01:16:15 01:11:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:16:15 01:12:01 all 0.03 0.00 0.00 0.01 0.00 99.96 01:16:15 01:12:01 0 0.03 0.00 0.00 0.00 0.00 99.97 01:16:15 01:12:01 1 0.02 0.00 0.02 0.02 0.02 99.93 01:16:15 01:12:01 2 0.03 0.00 0.00 0.00 0.00 99.97 01:16:15 01:12:01 3 0.03 0.00 0.00 0.00 0.00 99.97 01:16:15 01:12:01 4 0.03 0.00 0.00 0.00 0.00 99.97 01:16:15 01:12:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:16:15 01:12:01 6 0.03 0.00 0.02 0.03 0.00 99.92 01:16:15 01:12:01 7 0.07 0.00 0.00 0.00 0.00 99.93 01:16:15 01:13:01 all 0.01 0.00 0.00 0.01 0.00 99.97 01:16:15 01:13:01 0 0.00 0.00 0.02 0.00 0.00 99.98 01:16:15 01:13:01 1 0.03 0.00 0.02 0.00 0.00 99.95 01:16:15 01:13:01 2 0.00 0.00 0.00 0.00 0.00 100.00 01:16:15 01:13:01 3 0.00 0.00 0.00 0.00 0.00 100.00 01:16:15 01:13:01 4 0.02 0.00 0.00 0.00 0.00 99.98 01:16:15 01:13:01 5 0.02 0.00 0.00 0.00 0.00 99.98 01:16:15 01:13:01 6 0.00 0.00 0.00 0.08 0.00 99.92 01:16:15 01:13:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:16:15 01:14:01 all 0.01 0.00 0.01 0.01 0.01 99.96 01:16:15 01:14:01 0 0.00 0.00 0.02 0.03 0.00 99.95 01:16:15 01:14:01 1 0.02 0.00 0.02 0.00 0.02 99.95 01:16:15 01:14:01 2 0.00 0.00 0.00 0.00 0.00 100.00 01:16:15 01:14:01 3 0.03 0.00 0.00 0.00 0.02 99.95 01:16:15 01:14:01 4 0.03 0.00 0.02 0.00 0.00 99.95 01:16:15 01:14:01 5 0.00 0.00 0.00 0.00 0.02 99.98 01:16:15 01:14:01 6 0.00 0.00 0.00 0.07 0.00 99.93 01:16:15 01:14:01 7 0.00 0.00 0.02 0.00 0.02 99.97 01:16:15 01:15:01 all 0.03 0.00 0.00 0.01 0.00 99.96 01:16:15 01:15:01 0 0.02 0.00 0.02 0.00 0.00 99.97 01:16:15 01:15:01 1 0.02 0.00 0.02 0.00 0.00 99.97 01:16:15 01:15:01 2 0.05 0.00 0.00 0.00 0.02 99.93 01:16:15 01:15:01 3 0.03 0.00 0.00 0.00 0.00 99.97 01:16:15 01:15:01 4 0.02 0.00 0.00 0.00 0.00 99.98 01:16:15 01:15:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:16:15 01:15:01 6 0.03 0.00 0.00 0.07 0.00 99.90 01:16:15 01:15:01 7 0.03 0.00 0.00 0.00 0.00 99.97 01:16:15 01:16:15 01:15:01 CPU %user %nice %system %iowait %steal %idle 01:16:15 01:16:01 all 0.02 0.00 0.00 0.01 0.00 99.97 01:16:15 01:16:01 0 0.02 0.00 0.00 0.00 0.02 99.97 01:16:15 01:16:01 1 0.03 0.00 0.02 0.02 0.00 99.93 01:16:15 01:16:01 2 0.00 0.00 0.00 0.02 0.00 99.98 01:16:15 01:16:01 3 0.03 0.00 0.00 0.00 0.00 99.97 01:16:15 01:16:01 4 0.03 0.00 0.00 0.00 0.00 99.97 01:16:15 01:16:01 5 0.02 0.00 0.00 0.00 0.00 99.98 01:16:15 01:16:01 6 0.02 0.00 0.00 0.02 0.00 99.97 01:16:15 01:16:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:16:15 Average: all 4.43 0.00 1.10 2.02 0.03 92.42 01:16:15 Average: 0 4.49 0.00 1.22 4.88 0.03 89.38 01:16:15 Average: 1 4.53 0.00 1.08 0.90 0.03 93.47 01:16:15 Average: 2 4.50 0.00 1.09 0.35 0.02 94.03 01:16:15 Average: 3 4.46 0.00 1.11 0.69 0.03 93.72 01:16:15 Average: 4 4.42 0.00 1.07 1.69 0.03 92.79 01:16:15 Average: 5 4.62 0.00 1.19 3.01 0.03 91.14 01:16:15 Average: 6 4.35 0.00 1.02 4.05 0.02 90.55 01:16:15 Average: 7 4.10 0.00 1.01 0.60 0.04 94.25 01:16:15 01:16:15 01:16:15