Pull request #1316 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 37bf1e7e08efb39422701b33128d6f5f07de5967+e412a44eb13141e6797f53827a761c4e91ea34f8 (d6e8bfc75e488be3414a3de3f321f097e4b2b43a) 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-ssh14027926741554246173.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-ssh6465496990762445092.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7973606700597629330.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 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-ssh16156545096370525327.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16756970731620979304.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-5800’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5806’ is offline ‘prd-ubuntu20.04-docker-8c-8g-5807’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-5801’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5809 in /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1316 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e412a44eb13141e6797f53827a761c4e91ea34f8 into PR head commit 37bf1e7e08efb39422701b33128d6f5f07de5967 Merge succeeded, producing 37bf1e7e08efb39422701b33128d6f5f07de5967 Checking out Revision 37bf1e7e08efb39422701b33128d6f5f07de5967 (PR-1316) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1316/head:refs/remotes/origin/PR-1316 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37bf1e7e08efb39422701b33128d6f5f07de5967 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e412a44eb13141e6797f53827a761c4e91ea34f8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37bf1e7e08efb39422701b33128d6f5f07de5967 # timeout=10 Commit message: "refactor!: Replace internal topics from config with new constants" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:07:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:07:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:07:25 ========================================================= 16:07:25 EdgeX Global Pipelines Version Info 16:07:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 36b6d89c273ce016fb5f08dd49618258911717b1 # timeout=10 16:07:26 ------------------- 16:07:26 stable info: 16:07:26 ------------------- 16:07:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:07:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:07:26 Message: update stable to v1.0.244 16:07:26 ------------------- 16:07:26 experimental info: 16:07:26 ------------------- 16:07:26 Commited By: **** collab-it+edgex@linuxfoundation.org 16:07:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:07:26 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1316 [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1316 [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1316 [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 37bf1e7e08efb39422701b33128d6f5f07de5967 [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 37bf1e7 [Pipeline] echo 16:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:07:27 provisioning config files... 16:07:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config699589366662460188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:27 ---> docker-login.sh 16:07:27 nexus3.edgexfoundry.org:10001 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 nexus3.edgexfoundry.org:10002 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 nexus3.edgexfoundry.org:10003 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 nexus3.edgexfoundry.org:10004 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 docker.io 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 ---> docker-login.sh ends [Pipeline] } 16:07:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:07:29 + git rev-list -1 --merges 37bf1e7e08efb39422701b33128d6f5f07de5967~1..37bf1e7e08efb39422701b33128d6f5f07de5967 [Pipeline] echo 16:07:29 -----------> git rev-list -1 --merges 37bf1e7e08efb39422701b33128d6f5f07de5967~1..37bf1e7e08efb39422701b33128d6f5f07de5967 37bf1e7e08efb39422701b33128d6f5f07de5967 [false] [Pipeline] sh 16:07:29 + git log --format=format:%s -1 37bf1e7e08efb39422701b33128d6f5f07de5967 [Pipeline] echo 16:07:29 ========================================================= 16:07:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:07:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:07:29 + git log --format=format:%s -1 37bf1e7e08efb39422701b33128d6f5f07de5967 [Pipeline] echo 16:07:29 [semverPrep] GIT_COMMIT: 37bf1e7e08efb39422701b33128d6f5f07de5967, Commit Message: refactor!: Replace internal topics from config with new constants [Pipeline] echo 16:07:29 [semverPrep] This is not a build commit. [Pipeline] sh 16:07:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:07:30 + grep -v github /etc/ssh/ssh_known_hosts 16:07:30 + [ -e /tmp/ssh_known_hosts ] 16:07:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:07:30 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:07:30 sudo tee -a /etc/ssh/ssh_known_hosts 16:07:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:07:30 16:07:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:07:30 0.1.4: Pulling from edgex-devops/py-git-semver 16:07:30 b85a868b505f: Pulling fs layer 16:07:30 e2be974225ed: Pulling fs layer 16:07:30 339a4e72a1f5: Pulling fs layer 16:07:30 988bab9f4d93: Pulling fs layer 16:07:30 1469e6f7b9e6: Pulling fs layer 16:07:30 eaf3925da568: Pulling fs layer 16:07:30 bab4dde63d76: Pulling fs layer 16:07:30 bde34c3a00c8: Pulling fs layer 16:07:30 b352a97aabf1: Pulling fs layer 16:07:30 4872d77fe225: Pulling fs layer 16:07:30 5851b861e8e6: Pulling fs layer 16:07:30 eaf3925da568: Waiting 16:07:30 988bab9f4d93: Waiting 16:07:30 bab4dde63d76: Waiting 16:07:30 1469e6f7b9e6: Waiting 16:07:30 bde34c3a00c8: Waiting 16:07:30 b352a97aabf1: Waiting 16:07:30 4872d77fe225: Waiting 16:07:30 5851b861e8e6: Waiting 16:07:30 e2be974225ed: Download complete 16:07:31 988bab9f4d93: Verifying Checksum 16:07:31 988bab9f4d93: Download complete 16:07:31 1469e6f7b9e6: Verifying Checksum 16:07:31 1469e6f7b9e6: Download complete 16:07:31 eaf3925da568: Verifying Checksum 16:07:31 eaf3925da568: Download complete 16:07:31 339a4e72a1f5: Verifying Checksum 16:07:31 339a4e72a1f5: Download complete 16:07:31 bde34c3a00c8: Verifying Checksum 16:07:31 bde34c3a00c8: Download complete 16:07:31 b352a97aabf1: Verifying Checksum 16:07:31 b352a97aabf1: Download complete 16:07:31 4872d77fe225: Verifying Checksum 16:07:31 4872d77fe225: Download complete 16:07:31 5851b861e8e6: Verifying Checksum 16:07:31 5851b861e8e6: Download complete 16:07:31 b85a868b505f: Verifying Checksum 16:07:31 b85a868b505f: Download complete 16:07:31 bab4dde63d76: Verifying Checksum 16:07:31 bab4dde63d76: Download complete 16:07:32 b85a868b505f: Pull complete 16:07:32 e2be974225ed: Pull complete 16:07:33 339a4e72a1f5: Pull complete 16:07:33 988bab9f4d93: Pull complete 16:07:33 1469e6f7b9e6: Pull complete 16:07:33 eaf3925da568: Pull complete 16:07:35 bab4dde63d76: Pull complete 16:07:35 bde34c3a00c8: Pull complete 16:07:36 b352a97aabf1: Pull complete 16:07:36 4872d77fe225: Pull complete 16:07:36 5851b861e8e6: Pull complete 16:07:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:07:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:07:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:37 prd-ubuntu20.04-docker-8c-8g-5809 does not seem to be running inside a container 16:07:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:07:40 $ docker top 959579a549f9a240b994b71c173e1a8f84655a3f7b1a700349d3ef5156a193a4 -eo pid,comm 16:07:40 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). 16:07:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:07:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:07:40 [ssh-agent] Looking for ssh-agent implementation... 16:07:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:07:41 $ docker exec 959579a549f9a240b994b71c173e1a8f84655a3f7b1a700349d3ef5156a193a4 ssh-agent 16:07:41 SSH_AUTH_SOCK=/tmp/ssh-vKmIkyyssBJt/agent.32 16:07:41 SSH_AGENT_PID=38 16:07:41 Running ssh-add (command line suppressed) 16:07:41 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_6199325803669372332.key (/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_6199325803669372332.key) 16:07:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:07:41 + git tag --points-at HEAD [Pipeline] } 16:07:41 $ docker exec --env ******** --env ******** 959579a549f9a240b994b71c173e1a8f84655a3f7b1a700349d3ef5156a193a4 ssh-agent -k 16:07:41 unset SSH_AUTH_SOCK; 16:07:41 unset SSH_AGENT_PID; 16:07:41 echo Agent pid 38 killed; 16:07:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:07:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:07:41 [ssh-agent] Looking for ssh-agent implementation... 16:07:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:07:41 $ docker exec 959579a549f9a240b994b71c173e1a8f84655a3f7b1a700349d3ef5156a193a4 ssh-agent 16:07:41 SSH_AUTH_SOCK=/tmp/ssh-j3SUJ4nOi4D1/agent.71 16:07:41 SSH_AGENT_PID=77 16:07:41 Running ssh-add (command line suppressed) 16:07:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_12906656250334713706.key (/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_12906656250334713706.key) 16:07:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:07:42 + git semver init 16:07:42 2023-02-14 16:07:42,592 [run_init] DEBUG init version:0.0.0 force:False 16:07:42 2023-02-14 16:07:42,593 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver 16:07:42 2023-02-14 16:07:42,593 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver 16:07:42 2023-02-14 16:07:42,594 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316, universal_newlines=False, shell=None, istream=None) 16:07:44 2023-02-14 16:07:43,702 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.git/info/exclude 16:07:44 2023-02-14 16:07:43,702 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 with force:False 16:07:44 2023-02-14 16:07:43,703 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 16:07:44 2023-02-14 16:07:43,708 [execute] INFO git cat-file --batch-check 16:07:44 2023-02-14 16:07:43,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver, universal_newlines=False, shell=None, istream=) 16:07:44 2023-02-14 16:07:43,716 [execute] INFO git cat-file --batch 16:07:44 2023-02-14 16:07:43,716 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver, universal_newlines=False, shell=None, istream=) 16:07:44 2023-02-14 16:07:43,722 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 16:07:44 0.0.0 [Pipeline] } 16:07:44 $ docker exec --env ******** --env ******** 959579a549f9a240b994b71c173e1a8f84655a3f7b1a700349d3ef5156a193a4 ssh-agent -k 16:07:44 unset SSH_AUTH_SOCK; 16:07:44 unset SSH_AGENT_PID; 16:07:44 echo Agent pid 77 killed; 16:07:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:07:44 + git semver [Pipeline] } 16:07:44 $ docker stop --time=1 959579a549f9a240b994b71c173e1a8f84655a3f7b1a700349d3ef5156a193a4 16:07:46 $ docker rm -f --volumes 959579a549f9a240b994b71c173e1a8f84655a3f7b1a700349d3ef5156a193a4 [Pipeline] // withDockerContainer [Pipeline] sh 16:07:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:07:46 Stashed 1 file(s) [Pipeline] echo 16:07:46 [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 16:07:46 provisioning config files... 16:07:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config13902970455758307784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:47 ---> docker-login.sh 16:07:47 nexus3.edgexfoundry.org:10001 16:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:47 Configure a credential helper to remove this warning. See 16:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:47 16:07:47 Login Succeeded 16:07:47 nexus3.edgexfoundry.org:10002 16:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:47 Configure a credential helper to remove this warning. See 16:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:47 16:07:47 Login Succeeded 16:07:47 nexus3.edgexfoundry.org:10003 16:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:47 Configure a credential helper to remove this warning. See 16:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:47 16:07:47 Login Succeeded 16:07:47 nexus3.edgexfoundry.org:10004 16:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:47 Configure a credential helper to remove this warning. See 16:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:47 16:07:47 Login Succeeded 16:07:47 docker.io 16:07:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:47 Configure a credential helper to remove this warning. See 16:07:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:47 16:07:47 Login Succeeded 16:07:47 ---> docker-login.sh ends [Pipeline] } 16:07:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:07:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:07:47 ========================================================= 16:07:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:07:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:47 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:07:47 Sending build context to Docker daemon 10.49MB 16:07:47 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:07:47 Step 2/10 : FROM ${BASE} AS builder 16:07:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:07:47 213ec9aee27d: Pulling fs layer 16:07:47 4583459ba037: Pulling fs layer 16:07:47 93c1e223e6f2: Pulling fs layer 16:07:47 53926ce57604: Pulling fs layer 16:07:47 21b2b0c7a3f4: Pulling fs layer 16:07:47 22ff95d597cd: Pulling fs layer 16:07:47 12d6caf4c0d1: Pulling fs layer 16:07:47 96b7cbca73a9: Pulling fs layer 16:07:47 a7acece74701: Pulling fs layer 16:07:47 21b2b0c7a3f4: Waiting 16:07:47 22ff95d597cd: Waiting 16:07:47 12d6caf4c0d1: Waiting 16:07:47 53926ce57604: Waiting 16:07:47 96b7cbca73a9: Waiting 16:07:47 a7acece74701: Waiting 16:07:47 93c1e223e6f2: Download complete 16:07:47 4583459ba037: Download complete 16:07:48 21b2b0c7a3f4: Verifying Checksum 16:07:48 21b2b0c7a3f4: Download complete 16:07:48 22ff95d597cd: Verifying Checksum 16:07:48 22ff95d597cd: Download complete 16:07:48 213ec9aee27d: Verifying Checksum 16:07:48 213ec9aee27d: Download complete 16:07:48 12d6caf4c0d1: Download complete 16:07:48 213ec9aee27d: Pull complete 16:07:48 4583459ba037: Pull complete 16:07:48 93c1e223e6f2: Pull complete 16:07:49 a7acece74701: Verifying Checksum 16:07:49 a7acece74701: Download complete 16:07:49 53926ce57604: Verifying Checksum 16:07:49 53926ce57604: Download complete 16:07:49 96b7cbca73a9: Verifying Checksum 16:07:49 96b7cbca73a9: Download complete 16:07:53 53926ce57604: Pull complete 16:07:53 21b2b0c7a3f4: Pull complete 16:07:53 22ff95d597cd: Pull complete 16:07:53 12d6caf4c0d1: Pull complete 16:07:55 96b7cbca73a9: Pull complete 16:07:56 a7acece74701: Pull complete 16:07:56 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:07:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:07:56 ---> db6d94c90886 16:07:56 Step 3/10 : ARG MAKE=make build 16:08:01 Still waiting to schedule task 16:08:01 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:08:01 ‘prd-ubuntu20.04-docker-8c-8g-5800’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:08:01 ‘prd-ubuntu20.04-docker-8c-8g-5806’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 16:08:01 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5801’ is offline 16:08:01 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5810’ is offline 16:08:04 ---> Running in 63c677c70359 16:08:04 Removing intermediate container 63c677c70359 16:08:04 ---> 00625bc3c8bf 16:08:04 Step 4/10 : WORKDIR /device-sdk-go 16:08:04 ---> Running in 412daa9fb582 16:08:04 Removing intermediate container 412daa9fb582 16:08:04 ---> a2ddb45af50e 16:08:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:08:04 ---> Running in e0d13613556b 16:08:05 Removing intermediate container e0d13613556b 16:08:05 ---> a55ce9410df7 16:08:05 Step 6/10 : RUN apk add --update --no-cache make git 16:08:05 ---> Running in a83a31559db5 16:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:08:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:08:06 OK: 211 MiB in 51 packages 16:08:06 Removing intermediate container a83a31559db5 16:08:06 ---> de5c7e3d2eb5 16:08:06 Step 7/10 : COPY go.mod vendor* ./ 16:08:06 ---> 2ca68111f4ad 16:08:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:08:06 ---> Running in e4a21d42e2b8 16:08:18 skipping... 16:08:18 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 16:08:40 Removing intermediate container e4a21d42e2b8 16:08:40 ---> 29d9ea687ffe 16:08:40 Step 9/10 : COPY . . 16:08:40 ---> a935eff5ef01 16:08:40 Step 10/10 : RUN ${MAKE} 16:08:40 ---> Running in 334e4b84ae24 16:08:40 noop 16:08:41 Removing intermediate container 334e4b84ae24 16:08:41 ---> 254389c9a165 16:08:41 Successfully built 254389c9a165 16:08:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:41 + docker inspect -f . ci-base-image-x86_64 16:08:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:41 prd-ubuntu20.04-docker-8c-8g-5809 does not seem to be running inside a container 16:08:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:08:41 $ docker top 656e9af57d62daf7345d2480b1cd952464db13791895396a70f5649d2b864f03 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:42 + go version 16:08:42 go version go1.18.7 linux/amd64 [Pipeline] } 16:08:42 $ docker stop --time=1 656e9af57d62daf7345d2480b1cd952464db13791895396a70f5649d2b864f03 16:08:43 $ docker rm -f --volumes 656e9af57d62daf7345d2480b1cd952464db13791895396a70f5649d2b864f03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:43 + docker inspect -f . ci-base-image-x86_64 16:08:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:43 prd-ubuntu20.04-docker-8c-8g-5809 does not seem to be running inside a container 16:08:43 $ 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-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:08:44 $ docker top 1023fcfb5d9b1c6bb9260454056803d10152a5e8b8443dbfa01875fcce1d46e3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:08:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] fileExists [Pipeline] sh 16:08:44 + make test 16:08:44 go test -race -coverprofile=coverage.out ./... 16:08:44 pkg/service/main.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 pkg/service/service.go:29:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 internal/autodiscovery/autodiscovery.go:15:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 pkg/service/main.go:18:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 pkg/service/main.go:19:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 internal/common/utils.go:18:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 internal/autodiscovery/autodiscovery.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 internal/config/config.go:10:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 internal/container/config.go:10:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:08:44 internal/application/command.go:20:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 internal/common/utils.go:20:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 pkg/models/protocoldriver.go:15:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 pkg/models/commandvalue.go:14:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 internal/cache/init.go:12:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 internal/controller/http/command.go:18:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 internal/common/utils.go:24:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 internal/controller/http/command.go:19:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 pkg/models/commandvalue.go:15:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 pkg/models/devicevalidator.go:8:8: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:08:44 internal/common/utils.go:25:2: github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.7: replacement directory ../MODS/go-mod-messaging does not exist 16:08:44 make: *** [Makefile:35: unittest] Error 1 [Pipeline] } 16:08:44 $ docker stop --time=1 1023fcfb5d9b1c6bb9260454056803d10152a5e8b8443dbfa01875fcce1d46e3 16:08:46 $ docker rm -f --volumes 1023fcfb5d9b1c6bb9260454056803d10152a5e8b8443dbfa01875fcce1d46e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:46 16:08:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:47 latest: Pulling from edgex-lftools-log-publisher 16:08:47 5eb5b503b376: Pulling fs layer 16:08:47 5c69ac0246d0: Pulling fs layer 16:08:47 ec43610c2a17: Pulling fs layer 16:08:47 3a2ae6a8a46f: Pulling fs layer 16:08:47 33b1e0a273af: Pulling fs layer 16:08:47 5d3b04190fa2: Pulling fs layer 16:08:47 2f39f015ded8: Pulling fs layer 16:08:47 3a2ae6a8a46f: Waiting 16:08:47 33b1e0a273af: Waiting 16:08:47 5d3b04190fa2: Waiting 16:08:47 2f39f015ded8: Waiting 16:08:47 5c69ac0246d0: Verifying Checksum 16:08:47 5c69ac0246d0: Download complete 16:08:47 3a2ae6a8a46f: Verifying Checksum 16:08:47 3a2ae6a8a46f: Download complete 16:08:47 33b1e0a273af: Verifying Checksum 16:08:47 33b1e0a273af: Download complete 16:08:47 5d3b04190fa2: Download complete 16:08:47 ec43610c2a17: Verifying Checksum 16:08:47 ec43610c2a17: Download complete 16:08:47 5eb5b503b376: Verifying Checksum 16:08:47 5eb5b503b376: Download complete 16:08:48 2f39f015ded8: Download complete 16:08:48 5eb5b503b376: Pull complete 16:08:49 5c69ac0246d0: Pull complete 16:08:49 ec43610c2a17: Pull complete 16:08:49 3a2ae6a8a46f: Pull complete 16:08:49 33b1e0a273af: Pull complete 16:08:49 5d3b04190fa2: Pull complete 16:08:55 2f39f015ded8: Pull complete 16:08:55 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:55 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:55 prd-ubuntu20.04-docker-8c-8g-5809 does not seem to be running inside a container 16:08:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:08:58 $ docker top 7999f1fffbb4e9143a073c8a8eec8ac72cc9b4bc4cba8994c2a29e1f48023b8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:59 ---> job-cost.sh 16:08:59 lf-activate-venv: SKIPPING 16:08:59 INFO: No Stack... 16:08:59 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:59 INFO: Archiving Costs [Pipeline] sh 16:08:59 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/cost.csv 16:08:59 + cut -d, -f6 [Pipeline] lock 16:08:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1316-6-stack-cost] 16:08:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-6-stack-cost] did not exist. Created. 16:08:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1316-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:09:00 + echo total: 0.2199999988079071 [Pipeline] stash 16:09:00 Stashed 1 file(s) [Pipeline] } 16:09:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:09:00 $ docker stop --time=1 7999f1fffbb4e9143a073c8a8eec8ac72cc9b4bc4cba8994c2a29e1f48023b8e 16:09:01 $ docker rm -f --volumes 7999f1fffbb4e9143a073c8a8eec8ac72cc9b4bc4cba8994c2a29e1f48023b8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:09:01 Failed in branch amd64 16:10:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5813 in /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] { [Pipeline] ws 16:10:14 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 16:10:14 The recommended git tool is: git 16:10:20 using credential edgex-jenkins-ssh 16:10:20 Cloning the remote Git repository 16:10:20 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:10:20 > git init /w/workspace/device-sdk-go/6 # timeout=10 16:10:20 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:10:20 > git --version # timeout=10 16:10:20 > git --version # 'git version 2.25.1' 16:10:20 using GIT_SSH to set credentials SSH Credentials for GitHub 16:10:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:10:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:10:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:10:23 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:10:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:10:23 using GIT_SSH to set credentials SSH Credentials for GitHub 16:10:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1316/head:refs/remotes/origin/PR-1316 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:10:24 Merging remotes/origin/main commit e412a44eb13141e6797f53827a761c4e91ea34f8 into PR head commit 37bf1e7e08efb39422701b33128d6f5f07de5967 16:10:24 Merge succeeded, producing 37bf1e7e08efb39422701b33128d6f5f07de5967 16:10:24 Checking out Revision 37bf1e7e08efb39422701b33128d6f5f07de5967 (PR-1316) 16:10:24 > git config core.sparsecheckout # timeout=10 16:10:24 > git checkout -f 37bf1e7e08efb39422701b33128d6f5f07de5967 # timeout=10 16:10:24 > git remote # timeout=10 16:10:24 > git config --get remote.origin.url # timeout=10 16:10:24 using GIT_SSH to set credentials SSH Credentials for GitHub 16:10:24 > git merge e412a44eb13141e6797f53827a761c4e91ea34f8 # timeout=10 16:10:24 > git rev-parse HEAD^{commit} # timeout=10 16:10:24 > git config core.sparsecheckout # timeout=10 16:10:24 > git checkout -f 37bf1e7e08efb39422701b33128d6f5f07de5967 # timeout=10 16:10:28 Commit message: "refactor!: Replace internal topics from config with new constants" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:10:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:10:29 % Total % Received % Xferd Average Speed Time Time Time Current 16:10:29 Dload Upload Total Spent Left Speed 16:10:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh 16:10:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:10:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:10:30 + sudo tee /etc/docker/daemon.new 16:10:30 { 16:10:30 "registry-mirrors": [ 16:10:30 "https://nexus3.edgexfoundry.org:10001" 16:10:30 ], 16:10:30 "bip": "10.250.0.254/24", 16:10:30 "hosts": [ 16:10:30 "tcp://0.0.0.0:5555", 16:10:30 "unix:///var/run/docker.sock" 16:10:30 ], 16:10:30 "mtu": 1458, 16:10:30 "selinux-enabled": true, 16:10:30 "seccomp-profile": "/etc/docker/seccomp.json" 16:10:30 } [Pipeline] sh 16:10:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:10:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:10:49 provisioning config files... 16:10:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config14170071614391599082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:10:49 ---> docker-login.sh 16:10:49 nexus3.edgexfoundry.org:10001 16:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:50 Configure a credential helper to remove this warning. See 16:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:50 16:10:50 Login Succeeded 16:10:50 nexus3.edgexfoundry.org:10002 16:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:51 Configure a credential helper to remove this warning. See 16:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:51 16:10:51 Login Succeeded 16:10:51 nexus3.edgexfoundry.org:10003 16:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:51 Configure a credential helper to remove this warning. See 16:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:51 16:10:51 Login Succeeded 16:10:51 nexus3.edgexfoundry.org:10004 16:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:51 Configure a credential helper to remove this warning. See 16:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:51 16:10:51 Login Succeeded 16:10:51 docker.io 16:10:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:10:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:10:52 Configure a credential helper to remove this warning. See 16:10:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:10:52 16:10:52 Login Succeeded 16:10:52 ---> docker-login.sh ends [Pipeline] } 16:10:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:10:52 ========================================================= 16:10:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:10:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:10:53 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:10:53 Sending build context to Docker daemon 5.653MB 16:10:53 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:10:53 Step 2/10 : FROM ${BASE} AS builder 16:10:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:10:53 9b18e9b68314: Pulling fs layer 16:10:53 35d82f9e3411: Pulling fs layer 16:10:53 e16973657156: Pulling fs layer 16:10:53 fc693d55d65f: Pulling fs layer 16:10:53 7e9fc2657dce: Pulling fs layer 16:10:53 dda99020689f: Pulling fs layer 16:10:53 db1c61fa0a46: Pulling fs layer 16:10:53 891c053d2c06: Pulling fs layer 16:10:53 dda99020689f: Waiting 16:10:53 db1c61fa0a46: Waiting 16:10:53 fc693d55d65f: Waiting 16:10:53 891c053d2c06: Waiting 16:10:53 7e9fc2657dce: Waiting 16:10:53 e16973657156: Verifying Checksum 16:10:53 e16973657156: Download complete 16:10:54 35d82f9e3411: Verifying Checksum 16:10:54 35d82f9e3411: Download complete 16:10:54 7e9fc2657dce: Download complete 16:10:54 dda99020689f: Download complete 16:10:54 9b18e9b68314: Verifying Checksum 16:10:54 9b18e9b68314: Download complete 16:10:54 9b18e9b68314: Pull complete 16:10:54 891c053d2c06: Verifying Checksum 16:10:54 891c053d2c06: Download complete 16:10:55 35d82f9e3411: Pull complete 16:10:55 e16973657156: Pull complete 16:10:56 db1c61fa0a46: Verifying Checksum 16:10:56 db1c61fa0a46: Download complete 16:10:57 fc693d55d65f: Download complete 16:11:09 fc693d55d65f: Pull complete 16:11:09 7e9fc2657dce: Pull complete 16:11:09 dda99020689f: Pull complete 16:11:16 db1c61fa0a46: Pull complete 16:11:18 891c053d2c06: Pull complete 16:11:18 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:11:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:11:18 ---> f96f9c87975a 16:11:18 Step 3/10 : ARG MAKE=make build 16:11:20 ---> Running in be8aec5acfa2 16:11:20 Removing intermediate container be8aec5acfa2 16:11:20 ---> 1b4c7dd17301 16:11:20 Step 4/10 : WORKDIR /device-sdk-go 16:11:20 ---> Running in bee3d12bd9b9 16:11:21 Removing intermediate container bee3d12bd9b9 16:11:21 ---> 8fd6f31d02d3 16:11:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:11:21 ---> Running in ffb94f5e35f3 16:11:21 Removing intermediate container ffb94f5e35f3 16:11:21 ---> 669c8fdc6a71 16:11:21 Step 6/10 : RUN apk add --update --no-cache make git 16:11:21 ---> Running in be68673028fe 16:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:11:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:11:24 OK: 221 MiB in 51 packages 16:11:25 Removing intermediate container be68673028fe 16:11:25 ---> ffa60d775bc0 16:11:25 Step 7/10 : COPY go.mod vendor* ./ 16:11:25 ---> f53b2a7a5444 16:11:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:11:25 ---> Running in 1d07d9e7a4e3 16:12:04 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22 (replaced by ../MODS/go-mod-bootstrap): reading /MODS/go-mod-bootstrap/go.mod: open /MODS/go-mod-bootstrap/go.mod: no such file or directory 16:12:04 skipping... 16:12:36 Removing intermediate container 1d07d9e7a4e3 16:12:36 ---> 66422b90b5da 16:12:36 Step 9/10 : COPY . . 16:12:36 ---> c31f3347a956 16:12:36 Step 10/10 : RUN ${MAKE} 16:12:36 ---> Running in a60b99d11258 16:12:36 noop 16:12:36 Removing intermediate container a60b99d11258 16:12:36 ---> 3a0ca1179781 16:12:36 Successfully built 3a0ca1179781 16:12:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:37 + docker inspect -f . ci-base-image-arm64 16:12:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:37 prd-ubuntu20.04-docker-arm64-4c-16g-5813 does not seem to be running inside a container 16:12:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:12:38 $ docker top f482dcfffb33251594e7b46300ee49615d2ca24ae72e85f48cd22f90908f1cc9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:39 + go version 16:12:39 go version go1.18.7 linux/arm64 [Pipeline] } 16:12:39 $ docker stop --time=1 f482dcfffb33251594e7b46300ee49615d2ca24ae72e85f48cd22f90908f1cc9 16:12:41 $ docker rm -f --volumes f482dcfffb33251594e7b46300ee49615d2ca24ae72e85f48cd22f90908f1cc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:41 + docker inspect -f . ci-base-image-arm64 16:12:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:41 prd-ubuntu20.04-docker-arm64-4c-16g-5813 does not seem to be running inside a container 16:12:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:12:43 $ docker top b2e26db11514ef65825d3423735c582b8fcbc056d5351f06c3c7a515b11e701b -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:44 + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh 16:12:44 + make test 16:12:44 go test -race -coverprofile=coverage.out ./... 16:12:45 pkg/service/main.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 pkg/service/service.go:29:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 internal/autodiscovery/autodiscovery.go:15:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 pkg/service/main.go:18:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 pkg/service/main.go:19:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 internal/common/utils.go:18:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 internal/autodiscovery/autodiscovery.go:16:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 internal/config/config.go:10:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 internal/container/config.go:10:2: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.0.0-dev.22: replacement directory ../MODS/go-mod-bootstrap does not exist 16:12:45 internal/application/command.go:20:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 internal/common/utils.go:20:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 pkg/models/protocoldriver.go:15:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 pkg/models/commandvalue.go:14:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 internal/cache/init.go:12:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 internal/controller/http/command.go:18:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 internal/common/utils.go:24:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 internal/controller/http/command.go:19:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 pkg/models/commandvalue.go:15:2: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 pkg/models/devicevalidator.go:8:8: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.0.0-dev.10: replacement directory ../MODS/go-mod-core-contracts does not exist 16:12:45 internal/common/utils.go:25:2: github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.7: replacement directory ../MODS/go-mod-messaging does not exist 16:12:45 make: *** [Makefile:35: unittest] Error 1 [Pipeline] } 16:12:45 $ docker stop --time=1 b2e26db11514ef65825d3423735c582b8fcbc056d5351f06c3c7a515b11e701b 16:12:47 $ docker rm -f --volumes b2e26db11514ef65825d3423735c582b8fcbc056d5351f06c3c7a515b11e701b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:12:48 16:12:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:12:48 arm64: Pulling from edgex-lftools-log-publisher 16:12:48 8998bd30e6a1: Pulling fs layer 16:12:48 04944245beec: Pulling fs layer 16:12:48 699f458cf7ca: Pulling fs layer 16:12:48 765212b225bb: Pulling fs layer 16:12:48 f23df028b6ca: Pulling fs layer 16:12:48 d65c8cfc05b1: Pulling fs layer 16:12:48 2437ff75d9bd: Pulling fs layer 16:12:48 f23df028b6ca: Waiting 16:12:48 d65c8cfc05b1: Waiting 16:12:48 2437ff75d9bd: Waiting 16:12:48 765212b225bb: Waiting 16:12:48 04944245beec: Verifying Checksum 16:12:48 04944245beec: Download complete 16:12:48 765212b225bb: Verifying Checksum 16:12:48 765212b225bb: Download complete 16:12:48 f23df028b6ca: Verifying Checksum 16:12:48 f23df028b6ca: Download complete 16:12:48 d65c8cfc05b1: Verifying Checksum 16:12:48 d65c8cfc05b1: Download complete 16:12:48 699f458cf7ca: Verifying Checksum 16:12:48 699f458cf7ca: Download complete 16:12:49 8998bd30e6a1: Verifying Checksum 16:12:49 8998bd30e6a1: Download complete 16:12:52 2437ff75d9bd: Verifying Checksum 16:12:52 2437ff75d9bd: Download complete 16:12:53 8998bd30e6a1: Pull complete 16:12:54 04944245beec: Pull complete 16:12:55 699f458cf7ca: Pull complete 16:12:55 765212b225bb: Pull complete 16:12:56 f23df028b6ca: Pull complete 16:12:56 d65c8cfc05b1: Pull complete 16:13:11 2437ff75d9bd: Pull complete 16:13:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:13:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:13:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:11 prd-ubuntu20.04-docker-arm64-4c-16g-5813 does not seem to be running inside a container 16:13:12 $ 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-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:13:14 $ docker top 7e88b87054d076cac7a9205f71bf34bfcb213641a84add1e3d12412e396435a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:15 ---> job-cost.sh 16:13:15 lf-activate-venv: SKIPPING 16:13:15 INFO: No Stack... 16:13:16 INFO: Retrieving Pricing Info for: v3-standard-4 16:13:17 INFO: Archiving Costs [Pipeline] sh 16:13:17 + + cutcat -d, /w/workspace/device-sdk-go/6/archives/cost.csv -f6 16:13:17 [Pipeline] lock 16:13:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1316-6-stack-cost] 16:13:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-6-stack-cost] did not exist. Created. 16:13:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1316-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:13:18 /w/workspace/device-sdk-go/6@tmp/durable-b701a3ba/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:13:19 + echo total: 0.10999999940395355 [Pipeline] stash 16:13:19 Warning: overwriting stash ‘stack-cost’ 16:13:20 Stashed 1 file(s) [Pipeline] } 16:13:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:13:20 $ docker stop --time=1 7e88b87054d076cac7a9205f71bf34bfcb213641a84add1e3d12412e396435a4 16:13:21 $ docker rm -f --volumes 7e88b87054d076cac7a9205f71bf34bfcb213641a84add1e3d12412e396435a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 16:13:21 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:13:22 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives ] 16:13:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives 16:13:22 total 16 16:13:22 drwxr-xr-x 3 root root 4096 Feb 14 16:08 . 16:13:22 drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 16:09 .. 16:13:22 drwxr-xr-x 2 root root 4096 Feb 14 16:08 cost 16:13:22 -rw-r--r-- 1 root root 86 Feb 14 16:08 cost.csv 16:13:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives 16:13:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives 16:13:22 total 16 16:13:22 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 16:08 . 16:13:22 drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 16:09 .. 16:13:22 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 16:08 cost 16:13:22 -rw-r--r-- 1 jenkins jenkins 86 Feb 14 16:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:13:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:13:23 ---> package-listing.sh 16:13:23 ++ tr '[:upper:]' '[:lower:]' 16:13:23 ++ facter osfamily 16:13:24 + OS_FAMILY=debian 16:13:24 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1316 16:13:24 + START_PACKAGES=/tmp/packages_start.txt 16:13:24 + END_PACKAGES=/tmp/packages_end.txt 16:13:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:13:24 + PACKAGES=/tmp/packages_start.txt 16:13:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1316 ']' 16:13:24 + PACKAGES=/tmp/packages_end.txt 16:13:24 + case "${OS_FAMILY}" in 16:13:24 + dpkg -l 16:13:24 + grep '^ii' 16:13:24 + '[' -f /tmp/packages_start.txt ']' 16:13:24 + '[' -f /tmp/packages_end.txt ']' 16:13:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:13:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1316 ']' 16:13:24 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/ 16:13:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/ [Pipeline] echo 16:13:24 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-sdk-go_PR-1316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:13:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:24 prd-ubuntu20.04-docker-8c-8g-5809 does not seem to be running inside a container 16:13:25 $ 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-sdk-go_PR-1316/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-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:13:25 $ docker top 90b8d484d8eb939538b925fc9091a3d2a7ace30dcb052bcfa4c80817a4403468 -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:25 + touch /tmp/pre-build-complete [Pipeline] sh 16:13:25 + mkdir -p /var/log/sysstat [Pipeline] sh 16:13:26 + ls /var/log/sa-host 16:13:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:26 provisioning config files... 16:13:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config4342444934244923890tmp [Pipeline] { [Pipeline] echo 16:13:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:13:26 ---> create-netrc.sh [Pipeline] } 16:13:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:13:26 ---> python-tools-install.sh [Pipeline] echo 16:13:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:13:27 ---> sudo-logs.sh 16:13:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:13:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:13:27 ---> job-cost.sh 16:13:27 lf-activate-venv: SKIPPING 16:13:27 DEBUG: total: 0.2199999988079071 16:13:27 INFO: Retrieving Stack Cost... 16:13:28 INFO: Retrieving Pricing Info for: v3-standard-8 16:13:28 INFO: Archiving Costs [Pipeline] echo 16:13:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:13:28 ---> logs-deploy.sh 16:13:28 lf-activate-venv: SKIPPING 16:13:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1316/6 16:13:28 INFO: archiving workspace using pattern(s): 16:13:29 Archives upload complete. 16:13:29 INFO: archiving logs to Nexus 16:13:30 ---> uname -a: 16:13:30 Linux prd-ubuntu20-04-docker-8c-8g-5809 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:13:30 16:13:30 16:13:30 ---> lscpu: 16:13:30 Architecture: x86_64 16:13:30 CPU op-mode(s): 32-bit, 64-bit 16:13:30 Byte Order: Little Endian 16:13:30 Address sizes: 40 bits physical, 48 bits virtual 16:13:30 CPU(s): 8 16:13:30 On-line CPU(s) list: 0-7 16:13:30 Thread(s) per core: 1 16:13:30 Core(s) per socket: 1 16:13:30 Socket(s): 8 16:13:30 NUMA node(s): 1 16:13:30 Vendor ID: AuthenticAMD 16:13:30 CPU family: 23 16:13:30 Model: 49 16:13:30 Model name: AMD EPYC-Rome Processor 16:13:30 Stepping: 0 16:13:30 CPU MHz: 2800.000 16:13:30 BogoMIPS: 5600.00 16:13:30 Virtualization: AMD-V 16:13:30 Hypervisor vendor: KVM 16:13:30 Virtualization type: full 16:13:30 L1d cache: 256 KiB 16:13:30 L1i cache: 256 KiB 16:13:30 L2 cache: 4 MiB 16:13:30 L3 cache: 128 MiB 16:13:30 NUMA node0 CPU(s): 0-7 16:13:30 Vulnerability Itlb multihit: Not affected 16:13:30 Vulnerability L1tf: Not affected 16:13:30 Vulnerability Mds: Not affected 16:13:30 Vulnerability Meltdown: Not affected 16:13:30 Vulnerability Mmio stale data: Not affected 16:13:30 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:13:30 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:13:30 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:13:30 Vulnerability Srbds: Not affected 16:13:30 Vulnerability Tsx async abort: Not affected 16:13:30 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 16:13:30 16:13:30 16:13:30 ---> nproc: 16:13:30 8 16:13:30 16:13:30 16:13:30 ---> df -h: 16:13:30 Filesystem Size Used Avail Use% Mounted on 16:13:30 overlay 155G 11G 144G 8% / 16:13:30 tmpfs 64M 0 64M 0% /dev 16:13:30 tmpfs 16G 0 16G 0% /sys/fs/cgroup 16:13:30 shm 64M 0 64M 0% /dev/shm 16:13:30 /dev/vda1 155G 11G 144G 8% /facter-os 16:13:30 16:13:30 16:13:30 ---> sar -b -r -n DEV: 16:13:30 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5809) 02/14/23 _x86_64_ (8 CPU) 16:13:30 16:13:30 16:06:42 LINUX RESTART (8 CPU) 16:13:30 16:13:30 16:07:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 16:13:30 16:08:02 305.88 45.79 260.09 0.00 5257.98 74114.03 0.00 16:13:30 16:09:01 182.46 1.42 181.04 0.00 30.77 57505.64 0.00 16:13:30 16:10:01 1.47 0.00 1.47 0.00 0.00 21.46 0.00 16:13:30 16:11:01 1.50 0.00 1.50 0.00 0.00 17.48 0.00 16:13:30 16:12:01 8.28 0.98 7.30 0.00 67.59 322.75 0.00 16:13:30 16:13:01 21.51 0.00 21.51 0.00 0.00 1659.32 0.00 16:13:30 Average: 86.71 8.07 78.64 0.00 897.75 22205.89 0.00 16:13:30 16:13:30 16:07:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 16:13:30 16:08:02 29203212 31609788 707708 2.15 72288 2615288 1832700 5.40 979328 2348616 0 16:13:30 16:09:01 28067736 31588020 710500 2.16 149960 3541536 1755420 5.17 1097476 3239352 280 16:13:30 16:10:01 28078060 31598424 699880 2.13 149980 3541540 1755420 5.17 1083068 3239356 44 16:13:30 16:11:01 28077872 31598400 699724 2.13 150012 3541548 1755420 5.17 1082972 3239360 44 16:13:30 16:12:01 28077480 31611404 686204 2.09 152296 3552148 1747196 5.15 1075860 3249880 4484 16:13:30 16:13:01 28057584 31613828 684108 2.08 155804 3570456 1784208 5.26 1078684 3268136 2860 16:13:30 Average: 28260324 31603311 698021 2.12 138390 3393753 1771727 5.22 1066231 3097450 1285 16:13:30 16:13:30 16:07:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 16:13:30 16:08:02 ens3 680.41 473.70 6531.47 120.58 0.00 0.00 0.00 0.00 16:13:30 16:08:02 docker0 6.67 5.71 0.65 73.26 0.00 0.00 0.00 0.00 16:13:30 16:08:02 lo 6.91 6.91 0.66 0.66 0.00 0.00 0.00 0.00 16:13:30 16:09:01 ens3 317.73 220.64 3872.66 36.21 0.00 0.00 0.00 0.00 16:13:30 16:09:01 docker0 131.15 187.36 10.85 1273.36 0.00 0.00 0.00 0.00 16:13:30 16:09:01 lo 1.22 1.22 0.11 0.11 0.00 0.00 0.00 0.00 16:13:30 16:10:01 ens3 0.90 0.47 0.33 0.23 0.00 0.00 0.00 0.00 16:13:30 16:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:30 16:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:30 16:11:01 ens3 0.60 0.50 0.27 0.21 0.00 0.00 0.00 0.00 16:13:30 16:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:30 16:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:13:30 16:12:01 ens3 47.06 32.86 94.43 2.33 0.00 0.00 0.00 0.00 16:13:30 16:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:30 16:12:01 lo 0.20 0.20 0.02 0.02 0.00 0.00 0.00 0.00 16:13:30 16:13:01 ens3 161.59 110.73 317.26 7.20 0.00 0.00 0.00 0.00 16:13:30 16:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 16:13:30 16:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 16:13:30 Average: ens3 201.34 139.79 1799.77 27.82 0.00 0.00 0.00 0.00 16:13:30 Average: docker0 22.66 31.73 1.89 221.41 0.00 0.00 0.00 0.00 16:13:30 Average: lo 1.46 1.46 0.14 0.14 0.00 0.00 0.00 0.00 16:13:30 16:13:30 16:13:30 ---> sar -P ALL: 16:13:30 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-5809) 02/14/23 _x86_64_ (8 CPU) 16:13:30 16:13:30 16:06:42 LINUX RESTART (8 CPU) 16:13:30 16:13:30 16:07:01 CPU %user %nice %system %iowait %steal %idle 16:13:30 16:08:02 all 9.19 0.00 3.18 5.23 0.08 82.32 16:13:30 16:08:02 0 9.38 0.00 4.05 19.07 0.12 67.38 16:13:30 16:08:02 1 11.22 0.00 2.47 4.50 0.07 81.75 16:13:30 16:08:02 2 9.72 0.00 3.88 1.32 0.08 84.99 16:13:30 16:08:02 3 6.05 0.00 2.84 4.54 0.10 86.47 16:13:30 16:08:02 4 10.09 0.00 3.33 0.32 0.07 86.20 16:13:30 16:08:02 5 8.21 0.00 2.39 0.65 0.07 88.68 16:13:30 16:08:02 6 8.30 0.00 3.71 10.67 0.07 77.25 16:13:30 16:08:02 7 10.54 0.00 2.75 0.81 0.10 85.79 16:13:30 16:09:01 all 7.41 0.00 3.65 5.06 0.07 83.81 16:13:30 16:09:01 0 7.26 0.00 4.51 25.37 0.07 62.79 16:13:30 16:09:01 1 7.24 0.00 3.62 1.61 0.10 87.43 16:13:30 16:09:01 2 7.45 0.00 4.10 4.99 0.07 83.39 16:13:30 16:09:01 3 7.05 0.00 3.51 1.37 0.09 87.98 16:13:30 16:09:01 4 7.50 0.00 2.87 0.85 0.09 88.68 16:13:30 16:09:01 5 7.27 0.00 3.21 0.51 0.05 88.96 16:13:30 16:09:01 6 7.76 0.00 4.04 3.39 0.05 84.76 16:13:30 16:09:01 7 7.74 0.00 3.34 2.41 0.07 86.45 16:13:30 16:10:01 all 0.06 0.00 0.01 0.00 0.01 99.91 16:13:30 16:10:01 0 0.03 0.00 0.02 0.00 0.00 99.95 16:13:30 16:10:01 1 0.03 0.00 0.02 0.00 0.03 99.92 16:13:30 16:10:01 2 0.03 0.00 0.03 0.00 0.02 99.92 16:13:30 16:10:01 3 0.33 0.00 0.02 0.02 0.02 99.62 16:13:30 16:10:01 4 0.03 0.00 0.00 0.00 0.00 99.97 16:13:30 16:10:01 5 0.02 0.00 0.02 0.00 0.02 99.95 16:13:30 16:10:01 6 0.03 0.00 0.02 0.02 0.00 99.93 16:13:30 16:10:01 7 0.00 0.00 0.00 0.00 0.00 100.00 16:13:30 16:11:01 all 0.03 0.00 0.01 0.00 0.01 99.96 16:13:30 16:11:01 0 0.00 0.00 0.02 0.02 0.02 99.95 16:13:30 16:11:01 1 0.03 0.00 0.00 0.00 0.00 99.97 16:13:30 16:11:01 2 0.03 0.00 0.00 0.00 0.00 99.97 16:13:30 16:11:01 3 0.00 0.00 0.00 0.00 0.02 99.98 16:13:30 16:11:01 4 0.07 0.00 0.02 0.00 0.00 99.92 16:13:30 16:11:01 5 0.02 0.00 0.02 0.00 0.00 99.97 16:13:30 16:11:01 6 0.05 0.00 0.02 0.02 0.02 99.90 16:13:30 16:11:01 7 0.00 0.00 0.00 0.00 0.00 100.00 16:13:30 16:12:01 all 0.24 0.00 0.10 0.20 0.01 99.45 16:13:30 16:12:01 0 0.08 0.00 0.05 0.03 0.00 99.83 16:13:30 16:12:01 1 0.12 0.00 0.13 0.02 0.02 99.72 16:13:30 16:12:01 2 0.17 0.00 0.03 0.03 0.00 99.77 16:13:30 16:12:01 3 1.06 0.00 0.15 0.03 0.02 98.74 16:13:30 16:12:01 4 0.10 0.00 0.05 0.05 0.00 99.80 16:13:30 16:12:01 5 0.07 0.00 0.07 0.03 0.00 99.83 16:13:30 16:12:01 6 0.07 0.00 0.07 1.30 0.00 98.57 16:13:30 16:12:01 7 0.28 0.00 0.27 0.07 0.02 99.37 16:13:30 16:13:01 all 0.62 0.00 0.19 0.78 0.03 98.38 16:13:30 16:13:01 0 0.38 0.00 0.13 0.12 0.02 99.35 16:13:30 16:13:01 1 1.68 0.00 0.15 0.13 0.03 98.00 16:13:30 16:13:01 2 0.33 0.00 0.13 0.08 0.03 99.42 16:13:30 16:13:01 3 0.91 0.00 0.15 0.12 0.05 98.77 16:13:30 16:13:01 4 0.35 0.00 0.10 0.05 0.02 99.48 16:13:30 16:13:01 5 0.45 0.00 0.17 0.08 0.02 99.28 16:13:30 16:13:01 6 0.17 0.00 0.18 5.52 0.02 94.11 16:13:30 16:13:01 7 0.69 0.00 0.50 0.13 0.05 98.63 16:13:30 Average: all 2.90 0.00 1.18 1.86 0.03 94.03 16:13:30 Average: 0 2.83 0.00 1.45 7.33 0.04 88.36 16:13:30 Average: 1 3.36 0.00 1.05 1.04 0.04 94.51 16:13:30 Average: 2 2.93 0.00 1.35 1.05 0.03 94.63 16:13:30 Average: 3 2.55 0.00 1.10 1.01 0.05 95.30 16:13:30 Average: 4 3.00 0.00 1.05 0.21 0.03 95.71 16:13:30 Average: 5 2.65 0.00 0.97 0.21 0.03 96.15 16:13:30 Average: 6 2.70 0.00 1.33 3.48 0.03 92.46 16:13:30 Average: 7 3.17 0.00 1.13 0.56 0.04 95.10 16:13:30 16:13:30 16:13:30