Pull request #456 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bff95ab1259652a9a81e1d440c2e38441fe88eaf+c9f2a0543715ca35ad5b34b71a578c78c2f9cecd (aadda50383108a7af7d01f4ee90ac1b9fa3d32a4) 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-ssh11702422200243622585.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-ssh4577282298895552672.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-456/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-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12147597228948311464.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-456/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2902575215347311612.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-ssh11831607969938523492.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-456/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-456/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2981450079887433628.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-2685’ Running on prd-ubuntu20.04-docker-8c-8g-2691 in /w/workspace/gexfoundry_device-mqtt-go_PR-456 [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-456 # 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 c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit bff95ab1259652a9a81e1d440c2e38441fe88eaf > 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/456/head:refs/remotes/origin/PR-456 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bff95ab1259652a9a81e1d440c2e38441fe88eaf # timeout=10 Merge succeeded, producing bff95ab1259652a9a81e1d440c2e38441fe88eaf Checking out Revision bff95ab1259652a9a81e1d440c2e38441fe88eaf (PR-456) 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:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:04:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:04:50 ========================================================= 01:04:50 EdgeX Global Pipelines Version Info 01:04:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bff95ab1259652a9a81e1d440c2e38441fe88eaf # timeout=10 01:04:51 ------------------- 01:04:51 stable info: 01:04:51 ------------------- 01:04:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:04:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:04:51 Message: update stable to v1.0.244 01:04:51 ------------------- 01:04:51 experimental info: 01:04:51 ------------------- 01:04:51 Commited By: **** collab-it+edgex@linuxfoundation.org 01:04:51 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 01:04:51 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:04:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:04:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-456 [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-456 [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-456 [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bff95ab1259652a9a81e1d440c2e38441fe88eaf [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bff95ab [Pipeline] echo 01:04:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:53 provisioning config files... 01:04:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp/config17048026674593349341tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:53 ---> docker-login.sh 01:04:53 nexus3.edgexfoundry.org:10001 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:54 Configure a credential helper to remove this warning. See 01:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:54 01:04:54 Login Succeeded 01:04:54 nexus3.edgexfoundry.org:10002 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:54 Configure a credential helper to remove this warning. See 01:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:54 01:04:54 Login Succeeded 01:04:54 nexus3.edgexfoundry.org:10003 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:54 Configure a credential helper to remove this warning. See 01:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:54 01:04:54 Login Succeeded 01:04:54 nexus3.edgexfoundry.org:10004 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:54 Configure a credential helper to remove this warning. See 01:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:54 01:04:54 Login Succeeded 01:04:54 docker.io 01:04:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:54 Configure a credential helper to remove this warning. See 01:04:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:54 01:04:54 Login Succeeded 01:04:54 ---> docker-login.sh ends [Pipeline] } 01:04:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:04:55 + git rev-list -1 --merges bff95ab1259652a9a81e1d440c2e38441fe88eaf~1..bff95ab1259652a9a81e1d440c2e38441fe88eaf [Pipeline] echo 01:04:55 -----------> git rev-list -1 --merges bff95ab1259652a9a81e1d440c2e38441fe88eaf~1..bff95ab1259652a9a81e1d440c2e38441fe88eaf bff95ab1259652a9a81e1d440c2e38441fe88eaf [false] [Pipeline] sh 01:04:55 + git log --format=format:%s -1 bff95ab1259652a9a81e1d440c2e38441fe88eaf [Pipeline] echo 01:04:55 ========================================================= 01:04:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:04:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:56 + git log --format=format:%s -1 bff95ab1259652a9a81e1d440c2e38441fe88eaf [Pipeline] echo 01:04:56 [semverPrep] GIT_COMMIT: bff95ab1259652a9a81e1d440c2e38441fe88eaf, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:04:56 [semverPrep] This is not a build commit. [Pipeline] sh 01:04:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:04:56 + grep -v github /etc/ssh/ssh_known_hosts 01:04:56 + [ -e /tmp/ssh_known_hosts ] 01:04:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:04:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:04:56 + sudo tee -a /etc/ssh/ssh_known_hosts 01:04:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:57 01:04:57 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:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:04:57 0.1.4: Pulling from edgex-devops/py-git-semver 01:04:57 b85a868b505f: Pulling fs layer 01:04:57 e2be974225ed: Pulling fs layer 01:04:57 339a4e72a1f5: Pulling fs layer 01:04:57 988bab9f4d93: Pulling fs layer 01:04:57 1469e6f7b9e6: Pulling fs layer 01:04:57 eaf3925da568: Pulling fs layer 01:04:57 bab4dde63d76: Pulling fs layer 01:04:57 bde34c3a00c8: Pulling fs layer 01:04:57 b352a97aabf1: Pulling fs layer 01:04:57 4872d77fe225: Pulling fs layer 01:04:57 5851b861e8e6: Pulling fs layer 01:04:57 988bab9f4d93: Waiting 01:04:57 eaf3925da568: Waiting 01:04:57 bde34c3a00c8: Waiting 01:04:57 bab4dde63d76: Waiting 01:04:57 b352a97aabf1: Waiting 01:04:57 4872d77fe225: Waiting 01:04:57 1469e6f7b9e6: Waiting 01:04:57 e2be974225ed: Verifying Checksum 01:04:57 e2be974225ed: Download complete 01:04:57 988bab9f4d93: Verifying Checksum 01:04:57 988bab9f4d93: Download complete 01:04:58 1469e6f7b9e6: Verifying Checksum 01:04:58 1469e6f7b9e6: Download complete 01:04:58 339a4e72a1f5: Verifying Checksum 01:04:58 339a4e72a1f5: Download complete 01:04:58 bde34c3a00c8: Verifying Checksum 01:04:58 bde34c3a00c8: Download complete 01:04:58 b352a97aabf1: Verifying Checksum 01:04:58 b352a97aabf1: Download complete 01:04:58 4872d77fe225: Verifying Checksum 01:04:58 4872d77fe225: Download complete 01:04:58 b85a868b505f: Verifying Checksum 01:04:58 b85a868b505f: Download complete 01:04:58 5851b861e8e6: Verifying Checksum 01:04:58 5851b861e8e6: Download complete 01:04:58 bab4dde63d76: Verifying Checksum 01:04:58 bab4dde63d76: Download complete 01:04:59 b85a868b505f: Pull complete 01:04:59 e2be974225ed: Pull complete 01:05:00 339a4e72a1f5: Pull complete 01:05:00 988bab9f4d93: Pull complete 01:05:00 1469e6f7b9e6: Pull complete 01:05:00 eaf3925da568: Pull complete 01:05:02 bab4dde63d76: Pull complete 01:05:02 bde34c3a00c8: Pull complete 01:05:02 b352a97aabf1: Pull complete 01:05:02 4872d77fe225: Pull complete 01:05:02 5851b861e8e6: Pull complete 01:05:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:05:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:05:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:02 prd-ubuntu20.04-docker-8c-8g-2691 does not seem to be running inside a container 01:05:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-456 -v /w/workspace/gexfoundry_device-mqtt-go_PR-456:/w/workspace/gexfoundry_device-mqtt-go_PR-456:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-456@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:05:06 $ docker top 609e08652c465f70ae6d273a32aa341e1ae6b42b0c2bcb47e90b5bcebdc48492 -eo pid,comm 01:05:06 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:05:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:05:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:06 [ssh-agent] Looking for ssh-agent implementation... 01:05:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:06 $ docker exec 609e08652c465f70ae6d273a32aa341e1ae6b42b0c2bcb47e90b5bcebdc48492 ssh-agent 01:05:06 SSH_AUTH_SOCK=/tmp/ssh-fR6Mwnyg0izQ/agent.31 01:05:06 SSH_AGENT_PID=37 01:05:06 Running ssh-add (command line suppressed) 01:05:06 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp/private_key_16953362230496438023.key (/w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp/private_key_16953362230496438023.key) 01:05:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:06 + git tag --points-at HEAD [Pipeline] } 01:05:06 $ docker exec --env ******** --env ******** 609e08652c465f70ae6d273a32aa341e1ae6b42b0c2bcb47e90b5bcebdc48492 ssh-agent -k 01:05:07 unset SSH_AUTH_SOCK; 01:05:07 unset SSH_AGENT_PID; 01:05:07 echo Agent pid 37 killed; 01:05:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:05:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:05:07 [ssh-agent] Looking for ssh-agent implementation... 01:05:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:05:07 $ docker exec 609e08652c465f70ae6d273a32aa341e1ae6b42b0c2bcb47e90b5bcebdc48492 ssh-agent 01:05:07 SSH_AUTH_SOCK=/tmp/ssh-ErLvG2Y076QN/agent.69 01:05:07 SSH_AGENT_PID=75 01:05:07 Running ssh-add (command line suppressed) 01:05:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp/private_key_16692476112728041020.key (/w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp/private_key_16692476112728041020.key) 01:05:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:05:07 + git semver init 01:05:08 2023-01-17 01:05:08,125 [run_init] DEBUG init version:0.0.0 force:False 01:05:08 2023-01-17 01:05:08,126 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-456/.semver 01:05:08 2023-01-17 01:05:08,127 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-456/.semver 01:05:08 2023-01-17 01:05:08,127 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-456/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-456, universal_newlines=False, shell=None, istream=None) 01:05:09 2023-01-17 01:05:08,955 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-456/.git/info/exclude 01:05:09 2023-01-17 01:05:08,956 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-456/.semver/PR-456 with force:False 01:05:09 2023-01-17 01:05:08,956 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-456/.semver/PR-456 01:05:09 2023-01-17 01:05:08,960 [execute] INFO git cat-file --batch-check 01:05:09 2023-01-17 01:05:08,960 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-456/.semver, universal_newlines=False, shell=None, istream=) 01:05:09 2023-01-17 01:05:08,967 [execute] INFO git cat-file --batch 01:05:09 2023-01-17 01:05:08,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-456/.semver, universal_newlines=False, shell=None, istream=) 01:05:09 2023-01-17 01:05:08,971 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-456/.semver/PR-456 01:05:09 0.0.0 [Pipeline] } 01:05:09 $ docker exec --env ******** --env ******** 609e08652c465f70ae6d273a32aa341e1ae6b42b0c2bcb47e90b5bcebdc48492 ssh-agent -k 01:05:09 unset SSH_AUTH_SOCK; 01:05:09 unset SSH_AGENT_PID; 01:05:09 echo Agent pid 75 killed; 01:05:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:05:09 + git semver [Pipeline] } 01:05:10 $ docker stop --time=1 609e08652c465f70ae6d273a32aa341e1ae6b42b0c2bcb47e90b5bcebdc48492 01:05:11 $ docker rm -f --volumes 609e08652c465f70ae6d273a32aa341e1ae6b42b0c2bcb47e90b5bcebdc48492 [Pipeline] // withDockerContainer [Pipeline] sh 01:05:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:05:12 Stashed 1 file(s) [Pipeline] echo 01:05:12 [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:05:12 provisioning config files... 01:05:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp/config18181572466513333241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:05:13 ---> docker-login.sh 01:05:13 nexus3.edgexfoundry.org:10001 01:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:13 Configure a credential helper to remove this warning. See 01:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:13 01:05:13 Login Succeeded 01:05:13 nexus3.edgexfoundry.org:10002 01:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:13 Configure a credential helper to remove this warning. See 01:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:13 01:05:13 Login Succeeded 01:05:13 nexus3.edgexfoundry.org:10003 01:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:13 Configure a credential helper to remove this warning. See 01:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:13 01:05:13 Login Succeeded 01:05:13 nexus3.edgexfoundry.org:10004 01:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:13 Configure a credential helper to remove this warning. See 01:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:13 01:05:13 Login Succeeded 01:05:13 docker.io 01:05:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:05:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:05:13 Configure a credential helper to remove this warning. See 01:05:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:05:13 01:05:13 Login Succeeded 01:05:13 ---> docker-login.sh ends [Pipeline] } 01:05:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:05:13 ========================================================= 01:05:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:05:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:14 + 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:05:14 Sending build context to Docker daemon 6.32MB 01:05:14 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:05:14 Step 2/12 : FROM ${BASE} AS builder 01:05:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:05:14 213ec9aee27d: Pulling fs layer 01:05:14 4583459ba037: Pulling fs layer 01:05:14 93c1e223e6f2: Pulling fs layer 01:05:14 53926ce57604: Pulling fs layer 01:05:14 21b2b0c7a3f4: Pulling fs layer 01:05:14 22ff95d597cd: Pulling fs layer 01:05:14 12d6caf4c0d1: Pulling fs layer 01:05:14 96b7cbca73a9: Pulling fs layer 01:05:14 a7acece74701: Pulling fs layer 01:05:14 53926ce57604: Waiting 01:05:14 21b2b0c7a3f4: Waiting 01:05:14 22ff95d597cd: Waiting 01:05:14 12d6caf4c0d1: Waiting 01:05:14 a7acece74701: Waiting 01:05:14 93c1e223e6f2: Verifying Checksum 01:05:14 93c1e223e6f2: Download complete 01:05:14 4583459ba037: Download complete 01:05:14 21b2b0c7a3f4: Verifying Checksum 01:05:14 21b2b0c7a3f4: Download complete 01:05:14 22ff95d597cd: Verifying Checksum 01:05:14 22ff95d597cd: Download complete 01:05:14 213ec9aee27d: Verifying Checksum 01:05:14 213ec9aee27d: Download complete 01:05:14 12d6caf4c0d1: Download complete 01:05:14 213ec9aee27d: Pull complete 01:05:14 4583459ba037: Pull complete 01:05:14 93c1e223e6f2: Pull complete 01:05:16 a7acece74701: Verifying Checksum 01:05:16 a7acece74701: Download complete 01:05:17 96b7cbca73a9: Verifying Checksum 01:05:17 96b7cbca73a9: Download complete 01:05:17 53926ce57604: Verifying Checksum 01:05:17 53926ce57604: Download complete 01:05:20 53926ce57604: Pull complete 01:05:20 21b2b0c7a3f4: Pull complete 01:05:20 22ff95d597cd: Pull complete 01:05:20 12d6caf4c0d1: Pull complete 01:05:22 96b7cbca73a9: Pull complete 01:05:23 a7acece74701: Pull complete 01:05:23 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:05:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:05:23 ---> db6d94c90886 01:05:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:05:27 Still waiting to schedule task 01:05:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2689’ 01:05:30 ---> Running in 6d2a5af7921b 01:05:30 Removing intermediate container 6d2a5af7921b 01:05:30 ---> c77b2dec3997 01:05:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:05:30 ---> Running in e713250996a0 01:05:30 Removing intermediate container e713250996a0 01:05:30 ---> 210fe2b92274 01:05:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:05:30 ---> Running in ff7f8d8df4f1 01:05:30 Removing intermediate container ff7f8d8df4f1 01:05:30 ---> 4bed379d1cde 01:05:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:05:30 ---> Running in d95fc50b1dc3 01:05:30 Removing intermediate container d95fc50b1dc3 01:05:30 ---> b13655684ade 01:05:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:30 ---> Running in fac5d05f4ad1 01:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:05:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:05:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:05:30 (2/4) Installing libedit (20210910.3.1-r0) 01:05:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:05:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:05:30 Executing busybox-1.35.0-r17.trigger 01:05:30 OK: 216 MiB in 55 packages 01:05:31 Removing intermediate container fac5d05f4ad1 01:05:31 ---> 8d817fa1cdf6 01:05:31 Step 8/12 : WORKDIR /device-mqtt-go 01:05:31 ---> Running in 985e41396c23 01:05:31 Removing intermediate container 985e41396c23 01:05:31 ---> fb71729ce2d9 01:05:31 Step 9/12 : COPY go.mod vendor* ./ 01:05:31 ---> 98106bebb9a8 01:05:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:31 ---> Running in f17cc87253b2 01:05:57 Removing intermediate container f17cc87253b2 01:05:57 ---> c7ecafe6372c 01:05:57 Step 11/12 : COPY . . 01:05:57 ---> 98d47ed235ec 01:05:57 Step 12/12 : RUN $MAKE 01:05:57 ---> Running in 0d601ef721bb 01:05:58 noop 01:05:58 Removing intermediate container 0d601ef721bb 01:05:58 ---> bb37813407c4 01:05:58 Successfully built bb37813407c4 01:05:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:05:58 + docker inspect -f . ci-base-image-x86_64 01:05:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:05:59 prd-ubuntu20.04-docker-8c-8g-2691 does not seem to be running inside a container 01:05:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-456 -v /w/workspace/gexfoundry_device-mqtt-go_PR-456:/w/workspace/gexfoundry_device-mqtt-go_PR-456:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-456@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:05:59 $ docker top 36c1b181bb74a5f0ba65381dfdc1ecb31c5eb3c964d71fe2cf76ec1acfd58199 -eo pid,comm [Pipeline] { [Pipeline] sh 01:05:59 + go version 01:05:59 go version go1.18.7 linux/amd64 [Pipeline] } 01:05:59 $ docker stop --time=1 36c1b181bb74a5f0ba65381dfdc1ecb31c5eb3c964d71fe2cf76ec1acfd58199 01:06:01 $ docker rm -f --volumes 36c1b181bb74a5f0ba65381dfdc1ecb31c5eb3c964d71fe2cf76ec1acfd58199 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:01 + docker inspect -f . ci-base-image-x86_64 01:06:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:01 prd-ubuntu20.04-docker-8c-8g-2691 does not seem to be running inside a container 01:06:01 $ 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-456 -v /w/workspace/gexfoundry_device-mqtt-go_PR-456:/w/workspace/gexfoundry_device-mqtt-go_PR-456:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-456@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:02 $ docker top 88ebd43fa38bbacbb89e8ff34a143bf74a4528af2181bacd9a38932030105c8b -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:02 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-456 [Pipeline] fileExists [Pipeline] sh 01:06:03 + make test 01:06:03 go test ./... -coverprofile=coverage.out ./... 01:06:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:06:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:06:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements 01:06:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:06:18 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:18 go vet ./... 01:06:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:06:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:06:21 ./bin/test-attribution-txt.sh [Pipeline] echo 01:06:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:06:21 $ docker stop --time=1 88ebd43fa38bbacbb89e8ff34a143bf74a4528af2181bacd9a38932030105c8b 01:06:23 $ docker rm -f --volumes 88ebd43fa38bbacbb89e8ff34a143bf74a4528af2181bacd9a38932030105c8b [Pipeline] // withDockerContainer [Pipeline] sh 01:06:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:06:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:06:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:06:25 + ls -al . 01:06:25 total 192 01:06:25 drwxrwxr-x 10 jenkins jenkins 4096 Jan 17 01:06 . 01:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 01:04 .. 01:06:25 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 01:04 .dockerignore 01:06:25 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 01:06 .git 01:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:04 .github 01:06:25 -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 01:04 .gitignore 01:06:25 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 01:04 .golangci.yml 01:06:25 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 01:05 .semver 01:06:25 -rw-rw-r-- 1 jenkins jenkins 9189 Jan 17 01:04 Attribution.txt 01:06:25 -rw-rw-r-- 1 jenkins jenkins 13162 Jan 17 01:04 CHANGELOG.md 01:06:25 -rw-rw-r-- 1 jenkins jenkins 1689 Jan 17 01:04 Dockerfile 01:06:25 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 01:04 GOVERNANCE.md 01:06:25 -rw-rw-r-- 1 jenkins jenkins 678 Jan 17 01:04 Jenkinsfile 01:06:25 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 01:04 LICENSE 01:06:25 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 17 01:04 Makefile 01:06:25 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 01:04 OWNERS.md 01:06:25 -rw-rw-r-- 1 jenkins jenkins 3165 Jan 17 01:04 README.md 01:06:25 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 01:05 VERSION 01:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:04 bin 01:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:04 cmd 01:06:25 -rw-r--r-- 1 jenkins jenkins 17887 Jan 17 01:06 coverage.out 01:06:25 -rw-rw-r-- 1 jenkins jenkins 3464 Jan 17 01:04 go.mod 01:06:25 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 17 01:04 go.sum 01:06:25 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:04 internal 01:06:25 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:04 mock 01:06:25 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 01:04 snap 01:06:25 -rw-rw-r-- 1 jenkins jenkins 227 Jan 17 01:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:25 + 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=bff95ab1259652a9a81e1d440c2e38441fe88eaf --label arch=amd64 --label version=0.0.0 . 01:06:25 Sending build context to Docker daemon 6.338MB 01:06:25 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:06:25 Step 2/24 : FROM ${BASE} AS builder 01:06:25 ---> bb37813407c4 01:06:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:06:26 ---> Running in 51a3d6fdd45e 01:06:26 Removing intermediate container 51a3d6fdd45e 01:06:26 ---> f1756a1ac077 01:06:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:06:26 ---> Running in e22f278c2b7d 01:06:26 Removing intermediate container e22f278c2b7d 01:06:26 ---> 2665ef030a2f 01:06:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:06:26 ---> Running in f44d261a3f91 01:06:26 Removing intermediate container f44d261a3f91 01:06:26 ---> 6c93009330c2 01:06:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:06:26 ---> Running in 49ddce36b9f1 01:06:26 Removing intermediate container 49ddce36b9f1 01:06:26 ---> fd5fac01084f 01:06:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:06:26 ---> Running in 34ae734b3224 01:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:06:27 OK: 216 MiB in 55 packages 01:06:27 Removing intermediate container 34ae734b3224 01:06:27 ---> 4c43366f2728 01:06:27 Step 8/24 : WORKDIR /device-mqtt-go 01:06:27 ---> Running in 8964b586f932 01:06:27 Removing intermediate container 8964b586f932 01:06:27 ---> ffadec133d37 01:06:27 Step 9/24 : COPY go.mod vendor* ./ 01:06:27 ---> 3c64d086535f 01:06:27 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:06:27 ---> Running in 9b8b9ec8d1b5 01:06:28 Removing intermediate container 9b8b9ec8d1b5 01:06:28 ---> 210f1ee50785 01:06:28 Step 11/24 : COPY . . 01:06:28 ---> 6617d88f21e4 01:06:28 Step 12/24 : RUN $MAKE 01:06:28 ---> Running in 8da88d3534c0 01:06:29 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:06:51 Removing intermediate container 8da88d3534c0 01:06:51 ---> 9ecbba40c90b 01:06:51 Step 13/24 : FROM alpine:3.16 01:06:51 3.16: Pulling from library/alpine 01:06:51 ca7dd9ec2225: Pulling fs layer 01:06:51 ca7dd9ec2225: Download complete 01:06:51 ca7dd9ec2225: Pull complete 01:06:51 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 01:06:51 Status: Downloaded newer image for alpine:3.16 01:06:51 ---> bfe296a52501 01:06:51 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:06:51 ---> Running in 46cccc09f75e 01:06:51 Removing intermediate container 46cccc09f75e 01:06:51 ---> cbcaee874e04 01:06:51 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:06:51 ---> Running in fa51c1d58f63 01:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:06:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:06:51 (1/1) Installing dumb-init (1.2.5-r1) 01:06:51 Executing busybox-1.35.0-r17.trigger 01:06:51 OK: 6 MiB in 15 packages 01:06:51 Removing intermediate container fa51c1d58f63 01:06:51 ---> bb70122023d8 01:06:51 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:06:52 ---> e8f237de0399 01:06:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:06:52 ---> 5ba163cc54d3 01:06:52 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:06:52 ---> 38b03c956ffc 01:06:52 Step 19/24 : EXPOSE 59982 01:06:52 ---> Running in d8b54508ff4e 01:06:52 Removing intermediate container d8b54508ff4e 01:06:52 ---> 834494bf0528 01:06:52 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:06:52 ---> Running in 5cfc6e232c09 01:06:53 Removing intermediate container 5cfc6e232c09 01:06:53 ---> 2734f191e034 01:06:53 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:06:53 ---> Running in 93ea768f22f1 01:06:53 Removing intermediate container 93ea768f22f1 01:06:53 ---> c634a500fcdb 01:06:53 Step 22/24 : LABEL arch=amd64 01:06:53 ---> Running in 571378dfabcd 01:06:53 Removing intermediate container 571378dfabcd 01:06:53 ---> 12840820c81a 01:06:53 Step 23/24 : LABEL git_sha=bff95ab1259652a9a81e1d440c2e38441fe88eaf 01:06:53 ---> Running in c64b4d406968 01:06:53 Removing intermediate container c64b4d406968 01:06:53 ---> 680d52da07b9 01:06:53 Step 24/24 : LABEL version=0.0.0 01:06:53 ---> Running in 3c764fbc7663 01:06:53 Removing intermediate container 3c764fbc7663 01:06:53 ---> 106484559791 01:06:53 [Warning] One or more build-args [ARCH] were not consumed 01:06:53 Successfully built 106484559791 01:06:53 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:54 01:06:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:06:54 latest: Pulling from edgex-lftools-log-publisher 01:06:54 5eb5b503b376: Pulling fs layer 01:06:54 5c69ac0246d0: Pulling fs layer 01:06:54 ec43610c2a17: Pulling fs layer 01:06:54 3a2ae6a8a46f: Pulling fs layer 01:06:54 33b1e0a273af: Pulling fs layer 01:06:54 5d3b04190fa2: Pulling fs layer 01:06:54 2f39f015ded8: Pulling fs layer 01:06:54 33b1e0a273af: Waiting 01:06:54 5d3b04190fa2: Waiting 01:06:54 3a2ae6a8a46f: Waiting 01:06:54 2f39f015ded8: Waiting 01:06:54 5c69ac0246d0: Verifying Checksum 01:06:54 5c69ac0246d0: Download complete 01:06:54 3a2ae6a8a46f: Download complete 01:06:55 33b1e0a273af: Verifying Checksum 01:06:55 33b1e0a273af: Download complete 01:06:55 5d3b04190fa2: Download complete 01:06:55 ec43610c2a17: Verifying Checksum 01:06:55 ec43610c2a17: Download complete 01:06:55 5eb5b503b376: Verifying Checksum 01:06:55 5eb5b503b376: Download complete 01:06:55 2f39f015ded8: Verifying Checksum 01:06:55 2f39f015ded8: Download complete 01:06:56 5eb5b503b376: Pull complete 01:06:56 5c69ac0246d0: Pull complete 01:06:57 ec43610c2a17: Pull complete 01:06:57 3a2ae6a8a46f: Pull complete 01:06:57 33b1e0a273af: Pull complete 01:06:58 5d3b04190fa2: Pull complete 01:07:02 2f39f015ded8: Pull complete 01:07:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:07:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:07:02 prd-ubuntu20.04-docker-8c-8g-2691 does not seem to be running inside a container 01:07:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-456 -v /w/workspace/gexfoundry_device-mqtt-go_PR-456:/w/workspace/gexfoundry_device-mqtt-go_PR-456:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-456@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:08 $ docker top 552bb0c181a1b7efbb14fdc3d98be71e3e244e2989ec8042888b4134ddabe6e1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:07:08 ---> job-cost.sh 01:07:08 lf-activate-venv: SKIPPING 01:07:08 INFO: No Stack... 01:07:09 INFO: Retrieving Pricing Info for: v3-standard-8 01:07:09 INFO: Archiving Costs [Pipeline] sh 01:07:09 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-456/archives/cost.csv 01:07:09 + cut -d, -f6 [Pipeline] lock 01:07:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-456-1-stack-cost] 01:07:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-456-1-stack-cost] did not exist. Created. 01:07:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-456-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:07:10 + echo total: 0.2199999988079071 [Pipeline] stash 01:07:10 Stashed 1 file(s) [Pipeline] } 01:07:10 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-456-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:07:10 $ docker stop --time=1 552bb0c181a1b7efbb14fdc3d98be71e3e244e2989ec8042888b4134ddabe6e1 01:07:11 $ docker rm -f --volumes 552bb0c181a1b7efbb14fdc3d98be71e3e244e2989ec8042888b4134ddabe6e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:08:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2692 in /w/workspace/gexfoundry_device-mqtt-go_PR-456 [Pipeline] { [Pipeline] ws 01:08:55 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:08:55 Selected Git installation does not exist. Using Default 01:08:55 The recommended git tool is: NONE 01:09:00 using credential edgex-jenkins-ssh 01:09:00 Cloning the remote Git repository 01:09:01 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:09:01 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:09:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:09:01 > git --version # timeout=10 01:09:01 > git --version # 'git version 2.25.1' 01:09:01 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:09:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:09:04 Merging remotes/origin/main commit c9f2a0543715ca35ad5b34b71a578c78c2f9cecd into PR head commit bff95ab1259652a9a81e1d440c2e38441fe88eaf 01:09:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:09:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:09:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/456/head:refs/remotes/origin/PR-456 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:09:04 > git config core.sparsecheckout # timeout=10 01:09:04 > git checkout -f bff95ab1259652a9a81e1d440c2e38441fe88eaf # timeout=10 01:09:04 > git remote # timeout=10 01:09:04 > git config --get remote.origin.url # timeout=10 01:09:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:09:04 > git merge c9f2a0543715ca35ad5b34b71a578c78c2f9cecd # timeout=10 01:09:04 Merge succeeded, producing bff95ab1259652a9a81e1d440c2e38441fe88eaf 01:09:04 Checking out Revision bff95ab1259652a9a81e1d440c2e38441fe88eaf (PR-456) 01:09:05 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:09:05 > git --version # timeout=10 01:09:05 > git --version # 'git version 2.25.1' 01:09:05 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:04 > git rev-parse HEAD^{commit} # timeout=10 01:09:04 > git config core.sparsecheckout # timeout=10 01:09:04 > git checkout -f bff95ab1259652a9a81e1d440c2e38441fe88eaf # timeout=10 01:09:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:09:06 % Total % Received % Xferd Average Speed Time Time Time Current 01:09:06 Dload Upload Total Spent Left Speed 01:09:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh 01:09:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:09:07 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 01:09:07 /etc/docker/daemon.json 01:09:07 { 01:09:07 "registry-mirrors": [ 01:09:07 "https://nexus3.edgexfoundry.org:10001" 01:09:07 ], 01:09:07 "bip": "10.250.0.254/24", 01:09:07 "hosts": [ 01:09:07 "tcp://0.0.0.0:5555", 01:09:07 "unix:///var/run/docker.sock" 01:09:07 ], 01:09:07 "mtu": 1458, 01:09:07 "selinux-enabled": true, 01:09:07 "seccomp-profile": "/etc/docker/seccomp.json" 01:09:07 } [Pipeline] sh 01:09:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:09:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:26 provisioning config files... 01:09:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config13152507076339761175tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:26 ---> docker-login.sh 01:09:26 nexus3.edgexfoundry.org:10001 01:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:27 Configure a credential helper to remove this warning. See 01:09:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:27 01:09:27 Login Succeeded 01:09:27 nexus3.edgexfoundry.org:10002 01:09:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:28 Configure a credential helper to remove this warning. See 01:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:28 01:09:28 Login Succeeded 01:09:28 nexus3.edgexfoundry.org:10003 01:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:28 Configure a credential helper to remove this warning. See 01:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:28 01:09:28 Login Succeeded 01:09:28 nexus3.edgexfoundry.org:10004 01:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:28 Configure a credential helper to remove this warning. See 01:09:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:28 01:09:28 Login Succeeded 01:09:28 docker.io 01:09:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:29 Configure a credential helper to remove this warning. See 01:09:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:29 01:09:29 Login Succeeded 01:09:29 ---> docker-login.sh ends [Pipeline] } 01:09:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:29 ========================================================= 01:09:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:09:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:09:30 + 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:09:30 Sending build context to Docker daemon 3.294MB 01:09:30 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:09:30 Step 2/12 : FROM ${BASE} AS builder 01:09:30 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:09:30 9b18e9b68314: Pulling fs layer 01:09:30 35d82f9e3411: Pulling fs layer 01:09:30 e16973657156: Pulling fs layer 01:09:30 fc693d55d65f: Pulling fs layer 01:09:30 7e9fc2657dce: Pulling fs layer 01:09:30 dda99020689f: Pulling fs layer 01:09:30 db1c61fa0a46: Pulling fs layer 01:09:30 891c053d2c06: Pulling fs layer 01:09:30 dda99020689f: Waiting 01:09:30 db1c61fa0a46: Waiting 01:09:30 891c053d2c06: Waiting 01:09:30 7e9fc2657dce: Waiting 01:09:30 e16973657156: Verifying Checksum 01:09:30 e16973657156: Download complete 01:09:30 35d82f9e3411: Verifying Checksum 01:09:30 35d82f9e3411: Download complete 01:09:30 7e9fc2657dce: Verifying Checksum 01:09:30 7e9fc2657dce: Download complete 01:09:30 dda99020689f: Verifying Checksum 01:09:30 dda99020689f: Download complete 01:09:30 9b18e9b68314: Verifying Checksum 01:09:30 9b18e9b68314: Download complete 01:09:31 9b18e9b68314: Pull complete 01:09:31 891c053d2c06: Verifying Checksum 01:09:31 891c053d2c06: Download complete 01:09:32 35d82f9e3411: Pull complete 01:09:32 e16973657156: Pull complete 01:09:33 db1c61fa0a46: Verifying Checksum 01:09:33 db1c61fa0a46: Download complete 01:09:33 fc693d55d65f: Verifying Checksum 01:09:33 fc693d55d65f: Download complete 01:09:46 fc693d55d65f: Pull complete 01:09:46 7e9fc2657dce: Pull complete 01:09:46 dda99020689f: Pull complete 01:09:52 db1c61fa0a46: Pull complete 01:09:54 891c053d2c06: Pull complete 01:09:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:09:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:09:54 ---> f96f9c87975a 01:09:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:09:56 ---> Running in a25a8e461bde 01:09:56 Removing intermediate container a25a8e461bde 01:09:56 ---> 30e1cdb65b90 01:09:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:09:56 ---> Running in 7cbc7da7a397 01:09:56 Removing intermediate container 7cbc7da7a397 01:09:56 ---> 1a6cebe16d25 01:09:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:09:56 ---> Running in f6dadb8e18fb 01:09:57 Removing intermediate container f6dadb8e18fb 01:09:57 ---> 1a652b3e7151 01:09:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:09:57 ---> Running in 3467c4a0e1a4 01:09:57 Removing intermediate container 3467c4a0e1a4 01:09:57 ---> 21d8eddc9416 01:09:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:57 ---> Running in 86b972420f35 01:09:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:09:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:09:59 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:09:59 (2/4) Installing libedit (20210910.3.1-r0) 01:09:59 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:10:00 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:10:00 Executing busybox-1.35.0-r17.trigger 01:10:00 OK: 226 MiB in 55 packages 01:10:00 Removing intermediate container 86b972420f35 01:10:00 ---> 51a9998a1152 01:10:00 Step 8/12 : WORKDIR /device-mqtt-go 01:10:00 ---> Running in b7ac01a0a262 01:10:01 Removing intermediate container b7ac01a0a262 01:10:01 ---> ca154864c38e 01:10:01 Step 9/12 : COPY go.mod vendor* ./ 01:10:01 ---> a029fae741a7 01:10:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:01 ---> Running in 9bad80f2ab32 01:10:58 Removing intermediate container 9bad80f2ab32 01:10:58 ---> affac0566d47 01:10:58 Step 11/12 : COPY . . 01:10:58 ---> deae4cf8ce8e 01:10:58 Step 12/12 : RUN $MAKE 01:10:58 ---> Running in 4c4e29207213 01:10:59 noop 01:11:00 Removing intermediate container 4c4e29207213 01:11:00 ---> 7f7630028007 01:11:00 Successfully built 7f7630028007 01:11:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:00 + docker inspect -f . ci-base-image-arm64 01:11:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:01 prd-ubuntu20.04-docker-arm64-4c-16g-2692 does not seem to be running inside a container 01:11:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:11:02 $ docker top 94b8c57e21dfa328021ea65682baaa96eb86dadd6dcd2260817766a368307174 -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:03 + go version 01:11:03 go version go1.18.7 linux/arm64 [Pipeline] } 01:11:03 $ docker stop --time=1 94b8c57e21dfa328021ea65682baaa96eb86dadd6dcd2260817766a368307174 01:11:04 $ docker rm -f --volumes 94b8c57e21dfa328021ea65682baaa96eb86dadd6dcd2260817766a368307174 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:05 + docker inspect -f . ci-base-image-arm64 01:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:05 prd-ubuntu20.04-docker-arm64-4c-16g-2692 does not seem to be running inside a container 01:11:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:11:07 $ docker top 45f48e7e7b2d6b251ec676c4eae7d3922df4c87fcfc4e3c70866b64f07a0eb54 -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:07 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:11:08 + make test 01:11:08 go test ./... -coverprofile=coverage.out ./... 01:11:09 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:12:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:12:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.064s coverage: 21.8% of statements 01:12:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:12:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:12:31 go vet ./... 01:12:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:12:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:12:49 ./bin/test-attribution-txt.sh [Pipeline] echo 01:12:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:12:49 $ docker stop --time=1 45f48e7e7b2d6b251ec676c4eae7d3922df4c87fcfc4e3c70866b64f07a0eb54 01:12:51 $ docker rm -f --volumes 45f48e7e7b2d6b251ec676c4eae7d3922df4c87fcfc4e3c70866b64f07a0eb54 [Pipeline] // withDockerContainer [Pipeline] sh 01:12:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:12:52 Warning: overwriting stash ‘coverage-report’ 01:12:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:12:54 + ls -al . 01:12:54 total 188 01:12:54 drwxrwxr-x 9 jenkins jenkins 4096 Jan 17 01:11 . 01:12:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 01:09 .. 01:12:54 -rw-rw-r-- 1 jenkins jenkins 140 Jan 17 01:09 .dockerignore 01:12:54 drwxrwxr-x 8 jenkins jenkins 4096 Jan 17 01:09 .git 01:12:54 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:09 .github 01:12:54 -rw-rw-r-- 1 jenkins jenkins 329 Jan 17 01:09 .gitignore 01:12:54 -rw-rw-r-- 1 jenkins jenkins 41 Jan 17 01:09 .golangci.yml 01:12:54 -rw-rw-r-- 1 jenkins jenkins 9189 Jan 17 01:09 Attribution.txt 01:12:54 -rw-rw-r-- 1 jenkins jenkins 13162 Jan 17 01:09 CHANGELOG.md 01:12:54 -rw-rw-r-- 1 jenkins jenkins 1689 Jan 17 01:09 Dockerfile 01:12:54 -rw-rw-r-- 1 jenkins jenkins 677 Jan 17 01:09 GOVERNANCE.md 01:12:54 -rw-rw-r-- 1 jenkins jenkins 678 Jan 17 01:09 Jenkinsfile 01:12:54 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 17 01:09 LICENSE 01:12:54 -rw-rw-r-- 1 jenkins jenkins 1697 Jan 17 01:09 Makefile 01:12:54 -rw-rw-r-- 1 jenkins jenkins 620 Jan 17 01:09 OWNERS.md 01:12:54 -rw-rw-r-- 1 jenkins jenkins 3165 Jan 17 01:09 README.md 01:12:54 -rw-rw-r-- 1 jenkins jenkins 5 Jan 17 01:05 VERSION 01:12:54 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:09 bin 01:12:54 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:09 cmd 01:12:54 -rw-r--r-- 1 jenkins jenkins 17887 Jan 17 01:12 coverage.out 01:12:54 -rw-rw-r-- 1 jenkins jenkins 3464 Jan 17 01:09 go.mod 01:12:54 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 17 01:09 go.sum 01:12:54 drwxrwxr-x 3 jenkins jenkins 4096 Jan 17 01:09 internal 01:12:54 drwxrwxr-x 2 jenkins jenkins 4096 Jan 17 01:09 mock 01:12:54 drwxrwxr-x 4 jenkins jenkins 4096 Jan 17 01:09 snap 01:12:54 -rw-rw-r-- 1 jenkins jenkins 227 Jan 17 01:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:54 + 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=bff95ab1259652a9a81e1d440c2e38441fe88eaf --label arch=arm64 --label version=0.0.0 . 01:12:54 Sending build context to Docker daemon 3.313MB 01:12:54 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:12:54 Step 2/24 : FROM ${BASE} AS builder 01:12:54 ---> 7f7630028007 01:12:54 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:12:55 ---> Running in 42f965ba98f1 01:12:55 Removing intermediate container 42f965ba98f1 01:12:55 ---> 8bb589f9efb7 01:12:55 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:12:55 ---> Running in 442c310e62fe 01:12:55 Removing intermediate container 442c310e62fe 01:12:55 ---> dda31b156849 01:12:55 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:12:55 ---> Running in 32ede8f356dc 01:12:55 Removing intermediate container 32ede8f356dc 01:12:55 ---> 8476c5d5a544 01:12:55 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:12:56 ---> Running in c2c63943fb39 01:12:56 Removing intermediate container c2c63943fb39 01:12:56 ---> 95b836fbfb5e 01:12:56 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:12:56 ---> Running in fb68a1f3f9d3 01:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:12:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:12:58 OK: 226 MiB in 55 packages 01:12:59 Removing intermediate container fb68a1f3f9d3 01:12:59 ---> 90beb907e9b1 01:12:59 Step 8/24 : WORKDIR /device-mqtt-go 01:12:59 ---> Running in 29affd1d52bd 01:12:59 Removing intermediate container 29affd1d52bd 01:12:59 ---> d56689748912 01:12:59 Step 9/24 : COPY go.mod vendor* ./ 01:13:00 ---> 31c82507ccc4 01:13:00 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:00 ---> Running in 0bf3e188e16c 01:13:02 Removing intermediate container 0bf3e188e16c 01:13:02 ---> e18397c15bb5 01:13:02 Step 11/24 : COPY . . 01:13:02 ---> 54c159d29c60 01:13:02 Step 12/24 : RUN $MAKE 01:13:02 ---> Running in bdc5150f5740 01:13:03 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:25 Removing intermediate container bdc5150f5740 01:15:25 ---> 5f9c3d8c8844 01:15:25 Step 13/24 : FROM alpine:3.16 01:15:25 3.16: Pulling from library/alpine 01:15:25 6875df1f5354: Pulling fs layer 01:15:25 6875df1f5354: Verifying Checksum 01:15:25 6875df1f5354: Download complete 01:15:25 6875df1f5354: Pull complete 01:15:25 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 01:15:25 Status: Downloaded newer image for alpine:3.16 01:15:25 ---> 2b4661558fb8 01:15:25 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:15:25 ---> Running in ba01a8e00097 01:15:25 Removing intermediate container ba01a8e00097 01:15:25 ---> ec4500e4cd62 01:15:25 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:15:25 ---> Running in 3349647bd224 01:15:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:15:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:15:28 (1/1) Installing dumb-init (1.2.5-r1) 01:15:28 Executing busybox-1.35.0-r17.trigger 01:15:28 OK: 5 MiB in 15 packages 01:15:29 Removing intermediate container 3349647bd224 01:15:29 ---> a32912521537 01:15:29 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:15:31 ---> 9a0fb5d5329a 01:15:31 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:15:31 ---> 7c15049570ae 01:15:31 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:15:31 ---> c011b11fc8b6 01:15:31 Step 19/24 : EXPOSE 59982 01:15:31 ---> Running in 809223f4a83b 01:15:32 Removing intermediate container 809223f4a83b 01:15:32 ---> 946be22df054 01:15:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:15:32 ---> Running in 97c2010b0325 01:15:32 Removing intermediate container 97c2010b0325 01:15:32 ---> 10d026258099 01:15:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:15:32 ---> Running in 1ed3a6f8e20e 01:15:33 Removing intermediate container 1ed3a6f8e20e 01:15:33 ---> 343a225a5e99 01:15:33 Step 22/24 : LABEL arch=arm64 01:15:33 ---> Running in 355fd0f66a9a 01:15:33 Removing intermediate container 355fd0f66a9a 01:15:33 ---> a7d55a89d6f1 01:15:33 Step 23/24 : LABEL git_sha=bff95ab1259652a9a81e1d440c2e38441fe88eaf 01:15:33 ---> Running in 29eed0a39bab 01:15:33 Removing intermediate container 29eed0a39bab 01:15:33 ---> c56f1965b28d 01:15:33 Step 24/24 : LABEL version=0.0.0 01:15:33 ---> Running in 4dcdfd245df6 01:15:34 Removing intermediate container 4dcdfd245df6 01:15:34 ---> 07aecb78d91a 01:15:34 [Warning] One or more build-args [ARCH] were not consumed 01:15:34 Successfully built 07aecb78d91a 01:15:34 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:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:34 01:15:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:15:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:36 arm64: Pulling from edgex-lftools-log-publisher 01:15:36 8998bd30e6a1: Pulling fs layer 01:15:36 04944245beec: Pulling fs layer 01:15:36 699f458cf7ca: Pulling fs layer 01:15:36 765212b225bb: Pulling fs layer 01:15:36 f23df028b6ca: Pulling fs layer 01:15:36 d65c8cfc05b1: Pulling fs layer 01:15:36 2437ff75d9bd: Pulling fs layer 01:15:36 765212b225bb: Waiting 01:15:36 f23df028b6ca: Waiting 01:15:36 d65c8cfc05b1: Waiting 01:15:36 2437ff75d9bd: Waiting 01:15:36 04944245beec: Verifying Checksum 01:15:36 04944245beec: Download complete 01:15:36 765212b225bb: Verifying Checksum 01:15:36 765212b225bb: Download complete 01:15:36 f23df028b6ca: Download complete 01:15:36 d65c8cfc05b1: Verifying Checksum 01:15:36 d65c8cfc05b1: Download complete 01:15:36 699f458cf7ca: Verifying Checksum 01:15:36 699f458cf7ca: Download complete 01:15:37 8998bd30e6a1: Download complete 01:15:39 2437ff75d9bd: Download complete 01:15:41 8998bd30e6a1: Pull complete 01:15:41 04944245beec: Pull complete 01:15:42 699f458cf7ca: Pull complete 01:15:43 765212b225bb: Pull complete 01:15:43 f23df028b6ca: Pull complete 01:15:43 d65c8cfc05b1: Pull complete 01:15:59 2437ff75d9bd: Pull complete 01:15:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:15:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:15:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:15:59 prd-ubuntu20.04-docker-arm64-4c-16g-2692 does not seem to be running inside a container 01:15:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:16:02 $ docker top 7dcb423bcf066363aa48d0af3247867c14f9b4f9c6b6c7512098ad740adaf5fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:02 ---> job-cost.sh 01:16:03 lf-activate-venv: SKIPPING 01:16:03 INFO: No Stack... 01:16:03 INFO: Retrieving Pricing Info for: v3-standard-4 01:16:04 INFO: Archiving Costs [Pipeline] sh 01:16:04 + + catcut -d, -f6 01:16:04 /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 01:16:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-456-1-stack-cost] 01:16:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-456-1-stack-cost] did not exist. Created. 01:16:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-456-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:16:05 /w/workspace/device-mqtt-go/1@tmp/durable-09ba3845/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:16:05 + echo total: 0.10999999940395355 [Pipeline] stash 01:16:05 Warning: overwriting stash ‘stack-cost’ 01:16:05 Stashed 1 file(s) [Pipeline] } 01:16:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-456-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:16:05 $ docker stop --time=1 7dcb423bcf066363aa48d0af3247867c14f9b4f9c6b6c7512098ad740adaf5fa 01:16:07 $ docker rm -f --volumes 7dcb423bcf066363aa48d0af3247867c14f9b4f9c6b6c7512098ad740adaf5fa [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:07 provisioning config files... 01:16:07 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp/config15377092124815413828tmp [Pipeline] { [Pipeline] sh 01:16:08 + set +x 01:16:08 + curl -s https://codecov.io/bash 01:16:08 + bash -s -- 01:16:08 01:16:08 _____ _ 01:16:08 / ____| | | 01:16:08 | | ___ __| | ___ ___ _____ __ 01:16:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:16:08 | |___| (_) | (_| | __/ (_| (_) \ V / 01:16:08 \_____\___/ \__,_|\___|\___\___/ \_/ 01:16:08 Bash-1.0.6 01:16:08 01:16:08 01:16:08 ==> git version 2.25.1 found 01:16:08 ==> 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:08 Release-Date: 2020-01-08 01:16:08 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:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:16:08 ==> Jenkins CI detected. 01:16:08 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-456 01:16:08 project root: . 01:16:08 --> token set from env 01:16:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:16:08 ==> Running gcov in . (disable via -X gcov) 01:16:08 ==> Python coveragepy not found 01:16:08 ==> Searching for coverage reports in: 01:16:08 + . 01:16:08 -> Found 1 reports 01:16:08 ==> Detecting git/mercurial file structure 01:16:08 ==> Reading reports 01:16:08 + ./coverage.out bytes=17887 01:16:08 ==> Appending adjustments 01:16:08 https://docs.codecov.io/docs/fixing-reports 01:16:08 + Found adjustments 01:16:08 ==> Gzipping contents 01:16:08 4.0K /tmp/codecov.AI5hAp.gz 01:16:08 ==> Uploading reports 01:16:08 url: https://codecov.io 01:16:08 query: branch=PR-456&commit=bff95ab1259652a9a81e1d440c2e38441fe88eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-456%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=456&job=&cmd_args= 01:16:08 -> Pinging Codecov 01:16:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-456&commit=bff95ab1259652a9a81e1d440c2e38441fe88eaf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-456%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=456&job=&cmd_args= 01:16:08 -> Uploading to 01:16:08 https://storage.googleapis.com/codecov/v4/raw/2023-01-17/7D719EC7BBE17E464838252E33014C33/bff95ab1259652a9a81e1d440c2e38441fe88eaf/183f40c0-86f6-41b2-add4-e00891b3dde3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230117T011608Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e81b38bc17708bae2c2f69e2a21f0374fb6c26f8fb7653eae0b00e0ccfca3faa 01:16:08 % Total % Received % Xferd Average Speed Time Time Time Current 01:16:08 Dload Upload Total Spent Left Speed 01:16:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 11310 --:--:-- --:--:-- --:--:-- 11310 01:16:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/bff95ab1259652a9a81e1d440c2e38441fe88eaf [Pipeline] } 01:16:09 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:10 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-456/archives ] 01:16:10 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-456/archives 01:16:10 total 16 01:16:10 drwxr-xr-x 3 root root 4096 Jan 17 01:07 . 01:16:10 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 01:07 .. 01:16:10 drwxr-xr-x 2 root root 4096 Jan 17 01:07 cost 01:16:10 -rw-r--r-- 1 root root 86 Jan 17 01:07 cost.csv 01:16:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-456/archives 01:16:10 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-456/archives 01:16:10 total 16 01:16:10 drwxr-xr-x 3 jenkins jenkins 4096 Jan 17 01:07 . 01:16:10 drwxrwxr-x 11 jenkins jenkins 4096 Jan 17 01:07 .. 01:16:10 drwxr-xr-x 2 jenkins jenkins 4096 Jan 17 01:07 cost 01:16:10 -rw-r--r-- 1 jenkins jenkins 86 Jan 17 01:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:16:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:16:12 ---> package-listing.sh 01:16:12 ++ facter osfamily 01:16:12 ++ tr '[:upper:]' '[:lower:]' 01:16:12 + OS_FAMILY=debian 01:16:12 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-456 01:16:12 + START_PACKAGES=/tmp/packages_start.txt 01:16:12 + END_PACKAGES=/tmp/packages_end.txt 01:16:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:16:12 + PACKAGES=/tmp/packages_start.txt 01:16:12 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-456 ']' 01:16:12 + PACKAGES=/tmp/packages_end.txt 01:16:12 + case "${OS_FAMILY}" in 01:16:12 + grep '^ii' 01:16:12 + dpkg -l 01:16:12 + '[' -f /tmp/packages_start.txt ']' 01:16:12 + '[' -f /tmp/packages_end.txt ']' 01:16:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:16:12 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-456 ']' 01:16:12 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-456/archives/ 01:16:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-456/archives/ [Pipeline] echo 01:16:12 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-456/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:16:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:16:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:16:13 prd-ubuntu20.04-docker-8c-8g-2691 does not seem to be running inside a container 01:16:13 $ 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-456/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-456 -v /w/workspace/gexfoundry_device-mqtt-go_PR-456:/w/workspace/gexfoundry_device-mqtt-go_PR-456:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-456@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:13 $ docker top 1e851ac61d5c5852500b727d0d392c642adca8911ee19ce80f1c670ac9fd0416 -eo pid,comm [Pipeline] { [Pipeline] sh 01:16:13 + touch /tmp/pre-build-complete [Pipeline] sh 01:16:14 + mkdir -p /var/log/sysstat [Pipeline] sh 01:16:14 + ls /var/log/sa-host 01:16:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:16:14 provisioning config files... 01:16:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-456@tmp/config3376532509234130196tmp [Pipeline] { [Pipeline] echo 01:16:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:16:15 ---> create-netrc.sh [Pipeline] } 01:16:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:16:15 ---> python-tools-install.sh [Pipeline] echo 01:16:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:16:16 ---> sudo-logs.sh 01:16:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:16:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:16:16 ---> job-cost.sh 01:16:16 lf-activate-venv: SKIPPING 01:16:16 DEBUG: total: 0.2199999988079071 01:16:16 INFO: Retrieving Stack Cost... 01:16:16 INFO: Retrieving Pricing Info for: v3-standard-8 01:16:17 INFO: Archiving Costs [Pipeline] echo 01:16:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:16:17 ---> logs-deploy.sh 01:16:17 lf-activate-venv: SKIPPING 01:16:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-456/1 01:16:17 INFO: archiving workspace using pattern(s): 01:16:18 Archives upload complete. 01:16:18 INFO: archiving logs to Nexus 01:16:19 ---> uname -a: 01:16:19 Linux prd-ubuntu20-04-docker-8c-8g-2691 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 01:16:19 01:16:19 01:16:19 ---> lscpu: 01:16:19 Architecture: x86_64 01:16:19 CPU op-mode(s): 32-bit, 64-bit 01:16:19 Byte Order: Little Endian 01:16:19 Address sizes: 40 bits physical, 48 bits virtual 01:16:19 CPU(s): 8 01:16:19 On-line CPU(s) list: 0-7 01:16:19 Thread(s) per core: 1 01:16:19 Core(s) per socket: 1 01:16:19 Socket(s): 8 01:16:19 NUMA node(s): 1 01:16:19 Vendor ID: AuthenticAMD 01:16:19 CPU family: 23 01:16:19 Model: 49 01:16:19 Model name: AMD EPYC-Rome Processor 01:16:19 Stepping: 0 01:16:19 CPU MHz: 2799.998 01:16:19 BogoMIPS: 5599.99 01:16:19 Virtualization: AMD-V 01:16:19 Hypervisor vendor: KVM 01:16:19 Virtualization type: full 01:16:19 L1d cache: 256 KiB 01:16:19 L1i cache: 256 KiB 01:16:19 L2 cache: 4 MiB 01:16:19 L3 cache: 128 MiB 01:16:19 NUMA node0 CPU(s): 0-7 01:16:19 Vulnerability Itlb multihit: Not affected 01:16:19 Vulnerability L1tf: Not affected 01:16:19 Vulnerability Mds: Not affected 01:16:19 Vulnerability Meltdown: Not affected 01:16:19 Vulnerability Mmio stale data: Not affected 01:16:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:16:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:16:19 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:16:19 Vulnerability Srbds: Not affected 01:16:19 Vulnerability Tsx async abort: Not affected 01:16:19 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:19 01:16:19 01:16:19 ---> nproc: 01:16:19 8 01:16:19 01:16:19 01:16:19 ---> df -h: 01:16:19 Filesystem Size Used Avail Use% Mounted on 01:16:19 overlay 155G 12G 144G 8% / 01:16:19 tmpfs 64M 0 64M 0% /dev 01:16:19 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:16:19 shm 64M 0 64M 0% /dev/shm 01:16:19 /dev/vda1 155G 12G 144G 8% /facter-os 01:16:19 01:16:19 01:16:19 ---> sar -b -r -n DEV: 01:16:19 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2691) 01/17/23 _x86_64_ (8 CPU) 01:16:19 01:16:19 01:04:13 LINUX RESTART (8 CPU) 01:16:19 01:16:19 01:05:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:16:19 01:06:01 199.76 4.07 195.70 0.00 438.30 77226.91 0.00 01:16:19 01:07:01 144.76 0.22 144.54 0.00 15.46 22992.03 0.00 01:16:19 01:08:01 30.94 0.00 30.94 0.00 0.00 16456.21 0.00 01:16:19 01:09:01 2.10 0.00 2.10 0.00 0.00 24.66 0.00 01:16:19 01:10:01 53.46 10.58 42.88 0.00 5154.87 8865.99 0.00 01:16:19 01:11:01 6.67 0.02 6.65 0.00 0.13 128.51 0.00 01:16:19 01:12:01 1.38 0.00 1.38 0.00 0.00 15.46 0.00 01:16:19 01:13:01 1.80 0.00 1.80 0.00 0.00 19.20 0.00 01:16:19 01:14:01 1.40 0.00 1.40 0.00 0.00 16.00 0.00 01:16:19 01:15:01 1.88 0.00 1.88 0.00 0.00 21.73 0.00 01:16:19 01:16:01 0.98 0.00 0.98 0.00 0.00 10.53 0.00 01:16:19 Average: 40.23 1.35 38.88 0.00 510.00 11334.47 0.00 01:16:19 01:16:19 01:05:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:16:19 01:06:01 28570732 31589692 717380 2.18 137316 3106760 1781016 5.25 1061604 2833680 40 01:16:19 01:07:01 27665720 31541704 762296 2.32 150692 3885088 2081680 6.13 1242884 3485028 554420 01:16:19 01:08:01 27798780 31576872 726612 2.21 151320 3787916 1761636 5.19 1219032 3375260 20 01:16:19 01:09:01 27797556 31575776 727564 2.21 151400 3787924 1761636 5.19 1220524 3375268 8 01:16:19 01:10:01 27265676 31555400 735852 2.24 184824 4245712 1842780 5.43 1542080 3549632 1104 01:16:19 01:11:01 27271404 31556752 734760 2.23 183400 4242468 1792468 5.28 1540028 3546848 8 01:16:19 01:12:01 27279316 31564740 726760 2.21 183452 4242472 1792468 5.28 1532260 3546860 8 01:16:19 01:13:01 27279048 31564588 726896 2.21 183520 4242472 1792468 5.28 1532352 3546864 8 01:16:19 01:14:01 27278724 31564340 727072 2.21 183600 4242476 1792468 5.28 1532420 3546868 8 01:16:19 01:15:01 27278608 31564372 726724 2.21 183644 4242480 1792468 5.28 1532520 3546868 16 01:16:19 01:16:01 27279096 31565500 726196 2.21 183668 4242480 1792468 5.28 1531920 3547464 12 01:16:19 Average: 27524060 31565431 730737 2.22 170621 4024386 1816687 5.35 1407966 3445513 50514 01:16:19 01:16:19 01:05:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:16:19 01:06:01 ens3 424.94 330.74 5968.98 45.57 0.00 0.00 0.00 0.00 01:16:19 01:06:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 01:16:19 01:06:01 docker0 168.02 217.03 13.84 1859.67 0.00 0.00 0.00 0.00 01:16:19 01:07:01 ens3 152.41 105.70 2670.71 103.70 0.00 0.00 0.00 0.00 01:16:19 01:07:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 01:16:19 01:07:01 docker0 5.10 10.03 0.30 81.78 0.00 0.00 0.00 0.00 01:16:19 01:08:01 ens3 10.43 7.48 11.66 4.19 0.00 0.00 0.00 0.00 01:16:19 01:08:01 lo 0.07 0.07 0.01 0.01 0.00 0.00 0.00 0.00 01:16:19 01:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:09:01 ens3 6.38 3.85 12.61 0.50 0.00 0.00 0.00 0.00 01:16:19 01:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:19 01:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:10:01 ens3 155.19 92.12 2757.01 6.55 0.00 0.00 0.00 0.00 01:16:19 01:10:01 lo 0.67 0.67 0.06 0.06 0.00 0.00 0.00 0.00 01:16:19 01:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:11:01 ens3 0.27 0.20 0.02 0.01 0.00 0.00 0.00 0.00 01:16:19 01:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:19 01:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:12:01 ens3 0.17 0.13 0.09 0.01 0.00 0.00 0.00 0.00 01:16:19 01:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:13:01 ens3 0.13 0.10 0.01 0.01 0.00 0.00 0.00 0.00 01:16:19 01:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:19 01:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:14:01 ens3 0.08 0.03 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:15:01 ens3 0.30 0.25 0.09 0.08 0.00 0.00 0.00 0.00 01:16:19 01:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:16:19 01:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:16:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 01:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:16:19 Average: ens3 67.67 48.72 1030.81 14.55 0.00 0.00 0.00 0.00 01:16:19 Average: lo 0.57 0.57 0.05 0.05 0.00 0.00 0.00 0.00 01:16:19 Average: docker0 15.51 20.34 1.27 173.94 0.00 0.00 0.00 0.00 01:16:19 01:16:19 01:16:19 ---> sar -P ALL: 01:16:19 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-2691) 01/17/23 _x86_64_ (8 CPU) 01:16:19 01:16:19 01:04:13 LINUX RESTART (8 CPU) 01:16:19 01:16:19 01:05:02 CPU %user %nice %system %iowait %steal %idle 01:16:19 01:06:01 all 7.70 0.00 3.71 4.63 0.07 83.89 01:16:19 01:06:01 0 7.54 0.00 4.30 0.79 0.07 87.31 01:16:19 01:06:01 1 7.75 0.00 5.24 14.66 0.09 72.25 01:16:19 01:06:01 2 8.06 0.00 4.14 7.14 0.07 80.59 01:16:19 01:06:01 3 7.40 0.00 2.64 0.27 0.07 89.62 01:16:19 01:06:01 4 7.18 0.00 2.99 0.62 0.05 89.16 01:16:19 01:06:01 5 7.63 0.00 3.31 2.70 0.05 86.31 01:16:19 01:06:01 6 7.56 0.00 3.64 2.10 0.09 86.61 01:16:19 01:06:01 7 8.52 0.00 3.37 8.81 0.09 79.22 01:16:19 01:07:01 all 36.42 0.00 6.27 2.12 0.13 55.07 01:16:19 01:07:01 0 36.56 0.00 6.70 0.47 0.12 56.14 01:16:19 01:07:01 1 37.13 0.00 6.36 3.66 0.12 52.73 01:16:19 01:07:01 2 35.23 0.00 6.05 6.83 0.12 51.78 01:16:19 01:07:01 3 37.10 0.00 6.36 1.15 0.14 55.26 01:16:19 01:07:01 4 35.72 0.00 6.28 2.16 0.12 55.72 01:16:19 01:07:01 5 35.94 0.00 6.12 1.64 0.15 56.15 01:16:19 01:07:01 6 35.75 0.00 6.36 0.19 0.12 57.59 01:16:19 01:07:01 7 37.93 0.00 5.89 0.85 0.15 55.18 01:16:19 01:08:01 all 0.28 0.00 0.21 1.46 0.01 98.05 01:16:19 01:08:01 0 0.15 0.00 0.17 0.38 0.00 99.30 01:16:19 01:08:01 1 0.37 0.00 0.15 0.00 0.02 99.47 01:16:19 01:08:01 2 0.37 0.00 0.53 8.47 0.02 90.61 01:16:19 01:08:01 3 0.27 0.00 0.20 0.10 0.03 99.40 01:16:19 01:08:01 4 0.32 0.00 0.22 2.64 0.02 96.81 01:16:19 01:08:01 5 0.23 0.00 0.12 0.03 0.02 99.60 01:16:19 01:08:01 6 0.23 0.00 0.15 0.00 0.00 99.62 01:16:19 01:08:01 7 0.27 0.00 0.13 0.03 0.00 99.56 01:16:19 01:09:01 all 0.05 0.00 0.01 0.00 0.00 99.93 01:16:19 01:09:01 0 0.00 0.00 0.00 0.00 0.00 100.00 01:16:19 01:09:01 1 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:09:01 2 0.05 0.00 0.02 0.00 0.00 99.93 01:16:19 01:09:01 3 0.05 0.00 0.07 0.00 0.02 99.87 01:16:19 01:09:01 4 0.00 0.00 0.00 0.03 0.00 99.97 01:16:19 01:09:01 5 0.00 0.00 0.02 0.00 0.00 99.98 01:16:19 01:09:01 6 0.00 0.00 0.00 0.00 0.00 100.00 01:16:19 01:09:01 7 0.27 0.00 0.02 0.00 0.02 99.70 01:16:19 01:10:01 all 2.41 0.00 1.38 0.73 0.03 95.44 01:16:19 01:10:01 0 2.49 0.00 1.34 0.58 0.03 95.56 01:16:19 01:10:01 1 3.09 0.00 1.33 0.08 0.03 95.46 01:16:19 01:10:01 2 3.21 0.00 1.12 1.39 0.03 94.25 01:16:19 01:10:01 3 2.33 0.00 1.16 1.67 0.03 94.81 01:16:19 01:10:01 4 1.09 0.00 0.97 1.86 0.03 96.06 01:16:19 01:10:01 5 2.10 0.00 2.37 0.13 0.02 95.37 01:16:19 01:10:01 6 2.80 0.00 2.19 0.08 0.03 94.89 01:16:19 01:10:01 7 2.18 0.00 0.57 0.07 0.03 97.15 01:16:19 01:11:01 all 0.08 0.00 0.05 0.01 0.00 99.86 01:16:19 01:11:01 0 0.22 0.00 0.12 0.00 0.00 99.67 01:16:19 01:11:01 1 0.08 0.00 0.05 0.00 0.00 99.87 01:16:19 01:11:01 2 0.12 0.00 0.02 0.02 0.00 99.85 01:16:19 01:11:01 3 0.08 0.00 0.03 0.03 0.02 99.83 01:16:19 01:11:01 4 0.02 0.00 0.05 0.05 0.00 99.88 01:16:19 01:11:01 5 0.08 0.00 0.02 0.00 0.00 99.90 01:16:19 01:11:01 6 0.02 0.00 0.02 0.02 0.00 99.95 01:16:19 01:11:01 7 0.03 0.00 0.07 0.00 0.00 99.90 01:16:19 01:12:01 all 0.02 0.00 0.01 0.01 0.00 99.95 01:16:19 01:12:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:12:01 1 0.03 0.00 0.00 0.00 0.00 99.97 01:16:19 01:12:01 2 0.03 0.00 0.00 0.00 0.00 99.97 01:16:19 01:12:01 3 0.03 0.00 0.03 0.05 0.02 99.87 01:16:19 01:12:01 4 0.00 0.00 0.00 0.07 0.00 99.93 01:16:19 01:12:01 5 0.00 0.00 0.02 0.00 0.00 99.98 01:16:19 01:12:01 6 0.00 0.00 0.02 0.00 0.00 99.98 01:16:19 01:12:01 7 0.03 0.00 0.03 0.00 0.02 99.92 01:16:19 01:13:01 all 0.02 0.00 0.01 0.00 0.01 99.96 01:16:19 01:13:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:13:01 1 0.02 0.00 0.00 0.00 0.02 99.97 01:16:19 01:13:01 2 0.03 0.00 0.02 0.00 0.02 99.93 01:16:19 01:13:01 3 0.05 0.00 0.03 0.02 0.02 99.88 01:16:19 01:13:01 4 0.00 0.00 0.02 0.02 0.00 99.97 01:16:19 01:13:01 5 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:13:01 6 0.00 0.00 0.00 0.00 0.00 100.00 01:16:19 01:13:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:14:01 all 0.03 0.00 0.00 0.00 0.00 99.96 01:16:19 01:14:01 0 0.00 0.00 0.00 0.00 0.02 99.98 01:16:19 01:14:01 1 0.03 0.00 0.00 0.00 0.00 99.97 01:16:19 01:14:01 2 0.05 0.00 0.00 0.00 0.00 99.95 01:16:19 01:14:01 3 0.05 0.00 0.00 0.00 0.00 99.95 01:16:19 01:14:01 4 0.02 0.00 0.00 0.02 0.00 99.97 01:16:19 01:14:01 5 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:14:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:14:01 7 0.08 0.00 0.02 0.00 0.00 99.90 01:16:19 01:15:01 all 0.22 0.00 0.02 0.01 0.00 99.75 01:16:19 01:15:01 0 1.35 0.00 0.05 0.00 0.00 98.60 01:16:19 01:15:01 1 0.05 0.00 0.02 0.02 0.00 99.92 01:16:19 01:15:01 2 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:15:01 3 0.05 0.00 0.03 0.02 0.02 99.88 01:16:19 01:15:01 4 0.02 0.00 0.00 0.03 0.00 99.95 01:16:19 01:15:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:16:19 01:15:01 6 0.00 0.00 0.02 0.00 0.00 99.98 01:16:19 01:15:01 7 0.27 0.00 0.02 0.00 0.00 99.72 01:16:19 01:16:01 all 0.06 0.00 0.06 0.02 0.00 99.86 01:16:19 01:16:01 0 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:16:01 1 0.05 0.00 0.07 0.00 0.00 99.88 01:16:19 01:16:01 2 0.02 0.00 0.00 0.00 0.00 99.98 01:16:19 01:16:01 3 0.32 0.00 0.37 0.12 0.00 99.20 01:16:19 01:16:01 4 0.00 0.00 0.02 0.03 0.00 99.95 01:16:19 01:16:01 5 0.02 0.00 0.00 0.00 0.02 99.97 01:16:19 01:16:01 6 0.03 0.00 0.00 0.00 0.02 99.95 01:16:19 01:16:01 7 0.03 0.00 0.00 0.00 0.00 99.97 01:16:19 01:16:19 Average: CPU %user %nice %system %iowait %steal %idle 01:16:19 Average: all 4.25 0.00 1.05 0.81 0.02 93.87 01:16:19 Average: 0 4.36 0.00 1.14 0.20 0.02 94.28 01:16:19 Average: 1 4.37 0.00 1.19 1.64 0.02 92.78 01:16:19 Average: 2 4.23 0.00 1.07 2.15 0.02 92.54 01:16:19 Average: 3 4.29 0.00 0.98 0.31 0.03 94.38 01:16:19 Average: 4 3.97 0.00 0.95 0.68 0.02 94.38 01:16:19 Average: 5 4.14 0.00 1.08 0.40 0.02 94.36 01:16:19 Average: 6 4.17 0.00 1.11 0.21 0.02 94.48 01:16:19 Average: 7 4.45 0.00 0.90 0.87 0.03 93.75 01:16:19 01:16:19 01:16:19