Pull request #1335 opened 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 64ca9b081847739b4160c0dc87966f6c81a47c16 rather than af86b6a11590e52e8658a5f10d1c084aafce6158 Obtained Jenkinsfile from 64ca9b081847739b4160c0dc87966f6c81a47c16 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-ssh96787234442024835.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-ssh17210246819419679690.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17581587858795009471.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5349957083131011393.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2270343635120390907.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2041356904398388901.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 Running on prd-ubuntu20.04-docker-8c-8g-6684 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [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-1335 # 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 > 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/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit af86b6a11590e52e8658a5f10d1c084aafce6158 Merge succeeded, producing af86b6a11590e52e8658a5f10d1c084aafce6158 Checking out Revision af86b6a11590e52e8658a5f10d1c084aafce6158 (PR-1335) > git config core.sparsecheckout # timeout=10 > git checkout -f af86b6a11590e52e8658a5f10d1c084aafce6158 # 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 64ca9b081847739b4160c0dc87966f6c81a47c16 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f af86b6a11590e52e8658a5f10d1c084aafce6158 # timeout=10 Commit message: "feat: Accept URL escape for device command name and resource name" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:52:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:52:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:52:52 ========================================================= 03:52:52 EdgeX Global Pipelines Version Info 03:52:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:52:53 ------------------- 03:52:53 stable info: 03:52:53 ------------------- 03:52:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:52:53 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:52:53 Message: update stable to v1.0.244 03:52:54 ------------------- 03:52:54 experimental info: 03:52:54 ------------------- 03:52:54 Commited By: **** collab-it+edgex@linuxfoundation.org 03:52:54 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:52:54 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:52:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1335 [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1335 [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1335 [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af86b6a11590e52e8658a5f10d1c084aafce6158 [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af86b6a [Pipeline] echo 03:52:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:52:55 provisioning config files... 03:52:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config14752021033498707638tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:52:56 ---> docker-login.sh 03:52:56 nexus3.edgexfoundry.org:10001 03:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:56 Configure a credential helper to remove this warning. See 03:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:56 03:52:56 Login Succeeded 03:52:56 nexus3.edgexfoundry.org:10002 03:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:56 Configure a credential helper to remove this warning. See 03:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:56 03:52:56 Login Succeeded 03:52:56 nexus3.edgexfoundry.org:10003 03:52:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:56 Configure a credential helper to remove this warning. See 03:52:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:56 03:52:56 Login Succeeded 03:52:56 nexus3.edgexfoundry.org:10004 03:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:57 Configure a credential helper to remove this warning. See 03:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:57 03:52:57 Login Succeeded 03:52:57 docker.io 03:52:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:52:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:52:57 Configure a credential helper to remove this warning. See 03:52:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:52:57 03:52:57 Login Succeeded 03:52:57 ---> docker-login.sh ends [Pipeline] } 03:52:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:52:57 + git rev-list -1 --merges af86b6a11590e52e8658a5f10d1c084aafce6158~1..af86b6a11590e52e8658a5f10d1c084aafce6158 [Pipeline] echo 03:52:57 -----------> git rev-list -1 --merges af86b6a11590e52e8658a5f10d1c084aafce6158~1..af86b6a11590e52e8658a5f10d1c084aafce6158 af86b6a11590e52e8658a5f10d1c084aafce6158 [false] [Pipeline] sh 03:52:58 + git log --format=format:%s -1 af86b6a11590e52e8658a5f10d1c084aafce6158 [Pipeline] echo 03:52:58 ========================================================= 03:52:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:52:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:52:58 + git log --format=format:%s -1 af86b6a11590e52e8658a5f10d1c084aafce6158 [Pipeline] echo 03:52:58 [semverPrep] GIT_COMMIT: af86b6a11590e52e8658a5f10d1c084aafce6158, Commit Message: feat: Accept URL escape for device command name and resource name [Pipeline] echo 03:52:58 [semverPrep] This is not a build commit. [Pipeline] sh 03:52:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:52:59 + grep -v github /etc/ssh/ssh_known_hosts 03:52:59 + [ -e /tmp/ssh_known_hosts ] 03:52:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:52:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:52:59 + sudo tee -a /etc/ssh/ssh_known_hosts 03:52:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:52:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:52:59 03:52:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:00 0.1.4: Pulling from edgex-devops/py-git-semver 03:53:00 b85a868b505f: Pulling fs layer 03:53:00 e2be974225ed: Pulling fs layer 03:53:00 339a4e72a1f5: Pulling fs layer 03:53:00 988bab9f4d93: Pulling fs layer 03:53:00 1469e6f7b9e6: Pulling fs layer 03:53:00 eaf3925da568: Pulling fs layer 03:53:00 bab4dde63d76: Pulling fs layer 03:53:00 bde34c3a00c8: Pulling fs layer 03:53:00 b352a97aabf1: Pulling fs layer 03:53:00 4872d77fe225: Pulling fs layer 03:53:00 5851b861e8e6: Pulling fs layer 03:53:00 b352a97aabf1: Waiting 03:53:00 eaf3925da568: Waiting 03:53:00 bde34c3a00c8: Waiting 03:53:00 4872d77fe225: Waiting 03:53:00 5851b861e8e6: Waiting 03:53:00 988bab9f4d93: Waiting 03:53:00 1469e6f7b9e6: Waiting 03:53:00 e2be974225ed: Download complete 03:53:00 988bab9f4d93: Verifying Checksum 03:53:00 988bab9f4d93: Download complete 03:53:00 1469e6f7b9e6: Verifying Checksum 03:53:00 1469e6f7b9e6: Download complete 03:53:00 339a4e72a1f5: Verifying Checksum 03:53:00 339a4e72a1f5: Download complete 03:53:00 eaf3925da568: Verifying Checksum 03:53:00 eaf3925da568: Download complete 03:53:00 bde34c3a00c8: Download complete 03:53:00 b352a97aabf1: Download complete 03:53:00 4872d77fe225: Download complete 03:53:00 5851b861e8e6: Verifying Checksum 03:53:00 5851b861e8e6: Download complete 03:53:00 b85a868b505f: Verifying Checksum 03:53:00 b85a868b505f: Download complete 03:53:00 bab4dde63d76: Verifying Checksum 03:53:00 bab4dde63d76: Download complete 03:53:01 b85a868b505f: Pull complete 03:53:01 e2be974225ed: Pull complete 03:53:02 339a4e72a1f5: Pull complete 03:53:02 988bab9f4d93: Pull complete 03:53:02 1469e6f7b9e6: Pull complete 03:53:02 eaf3925da568: Pull complete 03:53:04 bab4dde63d76: Pull complete 03:53:04 bde34c3a00c8: Pull complete 03:53:04 b352a97aabf1: Pull complete 03:53:04 4872d77fe225: Pull complete 03:53:04 5851b861e8e6: Pull complete 03:53:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:53:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:53:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:04 prd-ubuntu20.04-docker-8c-8g-6684 does not seem to be running inside a container 03:53:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:53:06 $ docker top 81bea4a1b4ae1bb1db88d066ce34e3374848842f12ef8288047092e7093b8913 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:53:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:06 [ssh-agent] Looking for ssh-agent implementation... 03:53:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:06 $ docker exec 81bea4a1b4ae1bb1db88d066ce34e3374848842f12ef8288047092e7093b8913 ssh-agent 03:53:07 SSH_AUTH_SOCK=/tmp/ssh-sSKnMFkT5pxg/agent.32 03:53:07 SSH_AGENT_PID=38 03:53:07 Running ssh-add (command line suppressed) 03:53:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_1796839009756238154.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_1796839009756238154.key) 03:53:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:07 + git tag --points-at HEAD [Pipeline] } 03:53:07 $ docker exec --env ******** --env ******** 81bea4a1b4ae1bb1db88d066ce34e3374848842f12ef8288047092e7093b8913 ssh-agent -k 03:53:07 unset SSH_AUTH_SOCK; 03:53:07 unset SSH_AGENT_PID; 03:53:07 echo Agent pid 38 killed; 03:53:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:53:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:53:07 [ssh-agent] Looking for ssh-agent implementation... 03:53:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:53:07 $ docker exec 81bea4a1b4ae1bb1db88d066ce34e3374848842f12ef8288047092e7093b8913 ssh-agent 03:53:07 SSH_AUTH_SOCK=/tmp/ssh-ZcwQxmIVDFUl/agent.70 03:53:07 SSH_AGENT_PID=76 03:53:07 Running ssh-add (command line suppressed) 03:53:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_1340396022424371395.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_1340396022424371395.key) 03:53:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:53:08 + git semver init 03:53:08 2023-02-20 03:53:08,561 [run_init] DEBUG init version:0.0.0 force:False 03:53:08 2023-02-20 03:53:08,562 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver 03:53:08 2023-02-20 03:53:08,563 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver 03:53:08 2023-02-20 03:53:08,563 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335, universal_newlines=False, shell=None, istream=None) 03:53:09 2023-02-20 03:53:09,495 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.git/info/exclude 03:53:09 2023-02-20 03:53:09,495 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 with force:False 03:53:09 2023-02-20 03:53:09,495 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 03:53:09 2023-02-20 03:53:09,499 [execute] INFO git cat-file --batch-check 03:53:09 2023-02-20 03:53:09,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) 03:53:09 2023-02-20 03:53:09,507 [execute] INFO git cat-file --batch 03:53:09 2023-02-20 03:53:09,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) 03:53:09 2023-02-20 03:53:09,513 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 03:53:09 0.0.0 [Pipeline] } 03:53:09 $ docker exec --env ******** --env ******** 81bea4a1b4ae1bb1db88d066ce34e3374848842f12ef8288047092e7093b8913 ssh-agent -k 03:53:09 unset SSH_AUTH_SOCK; 03:53:09 unset SSH_AGENT_PID; 03:53:09 echo Agent pid 76 killed; 03:53:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:53:10 + git semver [Pipeline] } 03:53:10 $ docker stop --time=1 81bea4a1b4ae1bb1db88d066ce34e3374848842f12ef8288047092e7093b8913 03:53:11 $ docker rm -f --volumes 81bea4a1b4ae1bb1db88d066ce34e3374848842f12ef8288047092e7093b8913 [Pipeline] // withDockerContainer [Pipeline] sh 03:53:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:53:12 Stashed 1 file(s) [Pipeline] echo 03:53:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 03:53:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6689 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:53:13 provisioning config files... 03:53:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config12206145155927755687tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 03:53:13 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:53:13 The recommended git tool is: git 03:53:13 ---> docker-login.sh 03:53:13 nexus3.edgexfoundry.org:10001 03:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:13 Configure a credential helper to remove this warning. See 03:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:13 03:53:13 Login Succeeded 03:53:13 nexus3.edgexfoundry.org:10002 03:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:13 Configure a credential helper to remove this warning. See 03:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:13 03:53:13 Login Succeeded 03:53:13 nexus3.edgexfoundry.org:10003 03:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:13 Configure a credential helper to remove this warning. See 03:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:13 03:53:13 Login Succeeded 03:53:13 nexus3.edgexfoundry.org:10004 03:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:13 Configure a credential helper to remove this warning. See 03:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:13 03:53:13 Login Succeeded 03:53:13 docker.io 03:53:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:53:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:53:13 Configure a credential helper to remove this warning. See 03:53:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:53:13 03:53:13 Login Succeeded 03:53:13 ---> docker-login.sh ends [Pipeline] } 03:53:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:53:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:53:14 ========================================================= 03:53:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:53:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:14 + 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 . 03:53:14 Sending build context to Docker daemon 10.56MB 03:53:14 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 03:53:14 Step 2/10 : FROM ${BASE} AS builder 03:53:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:53:14 213ec9aee27d: Pulling fs layer 03:53:14 4583459ba037: Pulling fs layer 03:53:14 93c1e223e6f2: Pulling fs layer 03:53:14 53926ce57604: Pulling fs layer 03:53:14 21b2b0c7a3f4: Pulling fs layer 03:53:14 22ff95d597cd: Pulling fs layer 03:53:14 12d6caf4c0d1: Pulling fs layer 03:53:14 96b7cbca73a9: Pulling fs layer 03:53:14 a7acece74701: Pulling fs layer 03:53:14 53926ce57604: Waiting 03:53:14 21b2b0c7a3f4: Waiting 03:53:14 22ff95d597cd: Waiting 03:53:14 12d6caf4c0d1: Waiting 03:53:14 96b7cbca73a9: Waiting 03:53:14 a7acece74701: Waiting 03:53:14 93c1e223e6f2: Download complete 03:53:14 4583459ba037: Download complete 03:53:14 21b2b0c7a3f4: Verifying Checksum 03:53:14 21b2b0c7a3f4: Download complete 03:53:14 22ff95d597cd: Download complete 03:53:14 213ec9aee27d: Verifying Checksum 03:53:14 213ec9aee27d: Download complete 03:53:14 12d6caf4c0d1: Verifying Checksum 03:53:14 12d6caf4c0d1: Download complete 03:53:14 213ec9aee27d: Pull complete 03:53:15 4583459ba037: Pull complete 03:53:15 93c1e223e6f2: Pull complete 03:53:15 a7acece74701: Verifying Checksum 03:53:15 a7acece74701: Download complete 03:53:15 96b7cbca73a9: Verifying Checksum 03:53:15 53926ce57604: Verifying Checksum 03:53:15 53926ce57604: Download complete 03:53:17 using credential edgex-jenkins-ssh 03:53:17 Cloning the remote Git repository 03:53:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:53:17 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:53:18 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:53:18 > git --version # timeout=10 03:53:18 > git --version # 'git version 2.25.1' 03:53:18 using GIT_SSH to set credentials SSH Credentials for GitHub 03:53:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:53:19 53926ce57604: Pull complete 03:53:19 21b2b0c7a3f4: Pull complete 03:53:19 22ff95d597cd: Pull complete 03:53:19 12d6caf4c0d1: Pull complete 03:53:21 96b7cbca73a9: Pull complete 03:53:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:53:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:53:22 a7acece74701: Pull complete 03:53:22 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 03:53:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:53:22 ---> db6d94c90886 03:53:22 Step 3/10 : ARG MAKE=make build 03:53:23 Merging remotes/origin/main commit 64ca9b081847739b4160c0dc87966f6c81a47c16 into PR head commit af86b6a11590e52e8658a5f10d1c084aafce6158 [Pipeline] } [Pipeline] // ws [Pipeline] } 03:53:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:53:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:53:22 using GIT_SSH to set credentials SSH Credentials for GitHub 03:53:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:53:23 > git config core.sparsecheckout # timeout=10 03:53:23 > git checkout -f af86b6a11590e52e8658a5f10d1c084aafce6158 # timeout=10 [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:53:23 Failed in branch arm64 03:53:25 ---> Running in 166cfd43df44 03:53:25 Removing intermediate container 166cfd43df44 03:53:25 ---> c84824e4e39f 03:53:25 Step 4/10 : WORKDIR /device-sdk-go 03:53:25 ---> Running in eac829a5f1e0 03:53:25 Removing intermediate container eac829a5f1e0 03:53:25 ---> bd30a70a72a4 03:53:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:53:25 ---> Running in a65e1f04392f 03:53:25 Removing intermediate container a65e1f04392f 03:53:25 ---> fe65b379e270 03:53:25 Step 6/10 : RUN apk add --update --no-cache make git 03:53:25 ---> Running in 6feb307bf5f4 03:53:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:53:26 OK: 211 MiB in 51 packages 03:53:26 Removing intermediate container 6feb307bf5f4 03:53:26 ---> 905db4e16609 03:53:26 Step 7/10 : COPY go.mod vendor* ./ 03:53:26 ---> 9d53a5ec5c03 03:53:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:53:26 ---> Running in fe7ecdf0fe6a 03:54:13 Removing intermediate container fe7ecdf0fe6a 03:54:13 ---> 458d9c3ad3ff 03:54:13 Step 9/10 : COPY . . 03:54:13 ---> 81d1cc66269c 03:54:13 Step 10/10 : RUN ${MAKE} 03:54:13 ---> Running in dab27b71bd5c 03:54:13 noop 03:54:13 Removing intermediate container dab27b71bd5c 03:54:13 ---> 47c1031f7ca8 03:54:13 Successfully built 47c1031f7ca8 03:54:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:14 + docker inspect -f . ci-base-image-x86_64 03:54:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:14 prd-ubuntu20.04-docker-8c-8g-6684 does not seem to be running inside a container 03:54:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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 ******** ci-base-image-x86_64 cat 03:54:14 $ docker top 8efc9379039bb9d7d6b0332b0f05ff146f247a268c6d500d3d73311c50ba1e1a -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:14 + go version 03:54:14 go version go1.18.7 linux/amd64 [Pipeline] } 03:54:15 $ docker stop --time=1 8efc9379039bb9d7d6b0332b0f05ff146f247a268c6d500d3d73311c50ba1e1a 03:54:16 $ docker rm -f --volumes 8efc9379039bb9d7d6b0332b0f05ff146f247a268c6d500d3d73311c50ba1e1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:16 + docker inspect -f . ci-base-image-x86_64 03:54:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:17 prd-ubuntu20.04-docker-8c-8g-6684 does not seem to be running inside a container 03:54:17 $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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 ******** ci-base-image-x86_64 cat 03:54:17 $ docker top 9da81ec19b67bc7fbc2d3eda1ee1f1a3ebd946f8ec7be74f2fecea8c4c989ae8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:17 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] fileExists [Pipeline] sh 03:54:18 + make test 03:54:18 go test -race -coverprofile=coverage.out ./... 03:54:24 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:54:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements 03:54:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.072s coverage: 78.9% of statements 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 03:54:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.100s coverage: 86.0% of statements 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:54:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.095s coverage: 77.3% of statements 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 03:54:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.084s coverage: 65.2% of statements 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:54:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.736s coverage: 89.2% of statements 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 03:54:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.054s coverage: 4.7% of statements 03:54:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:54:51 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 03:54:51 GO111MODULE=on go vet ./... 03:54:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:54:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:54:53 ./bin/test-attribution-txt.sh [Pipeline] echo 03:54:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:54:53 $ docker stop --time=1 9da81ec19b67bc7fbc2d3eda1ee1f1a3ebd946f8ec7be74f2fecea8c4c989ae8 03:54:57 $ docker rm -f --volumes 9da81ec19b67bc7fbc2d3eda1ee1f1a3ebd946f8ec7be74f2fecea8c4c989ae8 [Pipeline] // withDockerContainer [Pipeline] sh 03:54:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:54:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:54:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:54:58 + ls -al . 03:54:58 total 272 03:54:58 drwxrwxr-x 11 jenkins jenkins 4096 Feb 20 03:54 . 03:54:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 03:52 .. 03:54:58 -rw-rw-r-- 1 jenkins jenkins 140 Feb 20 03:52 .dockerignore 03:54:58 drwxrwxr-x 8 jenkins jenkins 4096 Feb 20 03:54 .git 03:54:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 03:52 .github 03:54:58 -rw-rw-r-- 1 jenkins jenkins 131 Feb 20 03:52 .gitignore 03:54:58 -rw-rw-r-- 1 jenkins jenkins 42 Feb 20 03:52 .golangci.yml 03:54:58 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 03:53 .semver 03:54:58 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 20 03:52 CHANGELOG.md 03:54:58 -rw-rw-r-- 1 jenkins jenkins 677 Feb 20 03:52 GOVERNANCE.md 03:54:58 -rw-rw-r-- 1 jenkins jenkins 885 Feb 20 03:52 Jenkinsfile 03:54:58 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 20 03:52 LICENSE 03:54:58 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 20 03:52 Makefile 03:54:58 -rw-rw-r-- 1 jenkins jenkins 619 Feb 20 03:52 OWNERS.md 03:54:58 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 20 03:52 README.md 03:54:58 -rw-rw-r-- 1 jenkins jenkins 5 Feb 20 03:53 VERSION 03:54:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 20 03:52 bin 03:54:58 -rw-r--r-- 1 jenkins jenkins 98531 Feb 20 03:54 coverage.out 03:54:58 drwxrwxr-x 5 jenkins jenkins 4096 Feb 20 03:52 example 03:54:58 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 20 03:52 go.mod 03:54:58 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 20 03:52 go.sum 03:54:58 drwxrwxr-x 13 jenkins jenkins 4096 Feb 20 03:52 internal 03:54:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 20 03:52 openapi 03:54:58 drwxrwxr-x 6 jenkins jenkins 4096 Feb 20 03:52 pkg 03:54:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 20 03:52 snap 03:54:58 -rw-rw-r-- 1 jenkins jenkins 222 Feb 20 03:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:59 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=af86b6a11590e52e8658a5f10d1c084aafce6158 --label arch=amd64 --label version=0.0.0 . 03:54:59 Sending build context to Docker daemon 10.66MB 03:54:59 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 03:54:59 Step 2/23 : FROM ${BASE} AS builder 03:54:59 ---> 47c1031f7ca8 03:54:59 Step 3/23 : ARG MAKE=make build 03:54:59 ---> Running in c5105f8af3c7 03:54:59 Removing intermediate container c5105f8af3c7 03:54:59 ---> 374de559d53d 03:54:59 Step 4/23 : WORKDIR /device-sdk-go 03:54:59 ---> Running in 9209af06337c 03:54:59 Removing intermediate container 9209af06337c 03:54:59 ---> 5252a6e86815 03:54:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:54:59 ---> Running in 59ddb0eb2e11 03:54:59 Removing intermediate container 59ddb0eb2e11 03:54:59 ---> eb60e993255e 03:54:59 Step 6/23 : RUN apk add --update --no-cache make git 03:54:59 ---> Running in eb14a964655e 03:54:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:54:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:55:00 OK: 211 MiB in 51 packages 03:55:00 Removing intermediate container eb14a964655e 03:55:00 ---> 238e243dd732 03:55:00 Step 7/23 : COPY go.mod vendor* ./ 03:55:00 ---> eb3b9cbef83d 03:55:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:55:00 ---> Running in a59cee7d4e30 03:55:01 Removing intermediate container a59cee7d4e30 03:55:01 ---> 02f627426ff2 03:55:01 Step 9/23 : COPY . . 03:55:01 ---> bb3d506478a1 03:55:01 Step 10/23 : RUN ${MAKE} 03:55:01 ---> Running in 6b5ec3428384 03:55:02 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:55:20 Removing intermediate container 6b5ec3428384 03:55:20 ---> b687ac302f3d 03:55:20 Step 11/23 : FROM alpine:3.16 03:55:20 3.16: Pulling from library/alpine 03:55:20 ef5531b6e74e: Pulling fs layer 03:55:20 ef5531b6e74e: Verifying Checksum 03:55:20 ef5531b6e74e: Download complete 03:55:20 ef5531b6e74e: Pull complete 03:55:20 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 03:55:20 Status: Downloaded newer image for alpine:3.16 03:55:20 ---> dfd21b5a31f5 03:55:20 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:55:20 ---> Running in fa903f66c6ba 03:55:20 Removing intermediate container fa903f66c6ba 03:55:20 ---> f594acf470cf 03:55:20 Step 13/23 : RUN apk add --update --no-cache 03:55:20 ---> Running in 9447659119a7 03:55:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:55:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:55:20 OK: 6 MiB in 14 packages 03:55:21 Removing intermediate container 9447659119a7 03:55:21 ---> f4cec801b706 03:55:21 Step 14/23 : WORKDIR / 03:55:21 ---> Running in 52b48c52adcf 03:55:21 Removing intermediate container 52b48c52adcf 03:55:21 ---> a40c71444a7d 03:55:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:55:21 ---> 92a753bb90cf 03:55:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:55:21 ---> bfbb94c1a917 03:55:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:55:21 ---> 9b716efb2dc6 03:55:21 Step 18/23 : EXPOSE 59999 03:55:22 ---> Running in 68d1d548b431 03:55:22 Removing intermediate container 68d1d548b431 03:55:22 ---> 1ab34979146b 03:55:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:55:22 ---> Running in 965708ea6c38 03:55:22 Removing intermediate container 965708ea6c38 03:55:22 ---> 3cf812d5a971 03:55:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:55:22 ---> Running in 9cd991eb7234 03:55:22 Removing intermediate container 9cd991eb7234 03:55:22 ---> 566adca1c71a 03:55:22 Step 21/23 : LABEL arch=amd64 03:55:22 ---> Running in 1575ba41efcf 03:55:22 Removing intermediate container 1575ba41efcf 03:55:22 ---> c2d6cc2e59ad 03:55:22 Step 22/23 : LABEL git_sha=af86b6a11590e52e8658a5f10d1c084aafce6158 03:55:22 ---> Running in cea9415e8c0e 03:55:22 Removing intermediate container cea9415e8c0e 03:55:22 ---> 804d9fcd556f 03:55:22 Step 23/23 : LABEL version=0.0.0 03:55:22 ---> Running in dbc08bf4457f 03:55:22 Removing intermediate container dbc08bf4457f 03:55:22 ---> 557aeeaeaeb6 03:55:22 [Warning] One or more build-args [ARCH] were not consumed 03:55:22 Successfully built 557aeeaeaeb6 03:55:22 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:55:23 03:55:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:55:23 latest: Pulling from edgex-lftools-log-publisher 03:55:23 5eb5b503b376: Pulling fs layer 03:55:23 5c69ac0246d0: Pulling fs layer 03:55:23 ec43610c2a17: Pulling fs layer 03:55:23 3a2ae6a8a46f: Pulling fs layer 03:55:23 33b1e0a273af: Pulling fs layer 03:55:23 5d3b04190fa2: Pulling fs layer 03:55:23 2f39f015ded8: Pulling fs layer 03:55:23 3a2ae6a8a46f: Waiting 03:55:23 33b1e0a273af: Waiting 03:55:23 5d3b04190fa2: Waiting 03:55:23 2f39f015ded8: Waiting 03:55:23 5c69ac0246d0: Verifying Checksum 03:55:23 5c69ac0246d0: Download complete 03:55:23 3a2ae6a8a46f: Verifying Checksum 03:55:23 3a2ae6a8a46f: Download complete 03:55:24 33b1e0a273af: Verifying Checksum 03:55:24 33b1e0a273af: Download complete 03:55:24 ec43610c2a17: Verifying Checksum 03:55:24 ec43610c2a17: Download complete 03:55:24 5d3b04190fa2: Verifying Checksum 03:55:24 5d3b04190fa2: Download complete 03:55:24 5eb5b503b376: Download complete 03:55:24 2f39f015ded8: Download complete 03:55:25 5eb5b503b376: Pull complete 03:55:25 5c69ac0246d0: Pull complete 03:55:25 ec43610c2a17: Pull complete 03:55:25 3a2ae6a8a46f: Pull complete 03:55:26 33b1e0a273af: Pull complete 03:55:26 5d3b04190fa2: Pull complete 03:55:30 2f39f015ded8: Pull complete 03:55:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:55:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:55:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:30 prd-ubuntu20.04-docker-8c-8g-6684 does not seem to be running inside a container 03:55:30 $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-lftools-log-publisher:latest cat 03:55:33 $ docker top 8d96e554ca3b601e2ea617c01ce52be35112325303944c84d9790d4827e383f0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:55:33 ---> job-cost.sh 03:55:33 lf-activate-venv: SKIPPING 03:55:33 INFO: No Stack... 03:55:34 INFO: Retrieving Pricing Info for: v3-standard-8 03:55:34 INFO: Archiving Costs [Pipeline] sh 03:55:34 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/cost.csv 03:55:34 + cut -d, -f6 [Pipeline] lock 03:55:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-1-stack-cost] 03:55:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-1-stack-cost] did not exist. Created. 03:55:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:55:35 + echo total: 0.4399999976158142 [Pipeline] stash 03:55:35 Stashed 1 file(s) [Pipeline] } 03:55:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:55:35 $ docker stop --time=1 8d96e554ca3b601e2ea617c01ce52be35112325303944c84d9790d4827e383f0 03:55:36 $ docker rm -f --volumes 8d96e554ca3b601e2ea617c01ce52be35112325303944c84d9790d4827e383f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [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 03:55:39 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives ] 03:55:39 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives 03:55:39 total 16 03:55:39 drwxr-xr-x 3 root root 4096 Feb 20 03:55 . 03:55:39 drwxrwxr-x 12 jenkins jenkins 4096 Feb 20 03:55 .. 03:55:39 drwxr-xr-x 2 root root 4096 Feb 20 03:55 cost 03:55:39 -rw-r--r-- 1 root root 87 Feb 20 03:55 cost.csv 03:55:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives 03:55:39 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives 03:55:39 total 16 03:55:39 drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 03:55 . 03:55:39 drwxrwxr-x 12 jenkins jenkins 4096 Feb 20 03:55 .. 03:55:39 drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 03:55 cost 03:55:39 -rw-r--r-- 1 jenkins jenkins 87 Feb 20 03:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:55:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:55:40 ---> package-listing.sh 03:55:40 ++ facter osfamily 03:55:40 ++ tr '[:upper:]' '[:lower:]' 03:55:40 + OS_FAMILY=debian 03:55:40 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1335 03:55:40 + START_PACKAGES=/tmp/packages_start.txt 03:55:40 + END_PACKAGES=/tmp/packages_end.txt 03:55:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:55:40 + PACKAGES=/tmp/packages_start.txt 03:55:40 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' 03:55:40 + PACKAGES=/tmp/packages_end.txt 03:55:40 + case "${OS_FAMILY}" in 03:55:40 + grep '^ii' 03:55:40 + dpkg -l 03:55:40 + '[' -f /tmp/packages_start.txt ']' 03:55:40 + '[' -f /tmp/packages_end.txt ']' 03:55:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:55:40 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' 03:55:40 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ 03:55:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [Pipeline] echo 03:55:40 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:55:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:55:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:55:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:55:41 prd-ubuntu20.04-docker-8c-8g-6684 does not seem to be running inside a container 03:55:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1335/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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:55:41 $ docker top 5edde9178105b5d39f54d708c232396aea8265e0c4ed9cb9a429ada12d076cac -eo pid,comm [Pipeline] { [Pipeline] sh 03:55:42 + touch /tmp/pre-build-complete [Pipeline] sh 03:55:42 + mkdir -p /var/log/sysstat [Pipeline] sh 03:55:42 + ls /var/log/sa-host 03:55:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:55:43 provisioning config files... 03:55:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config2720778443392212914tmp [Pipeline] { [Pipeline] echo 03:55:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:55:43 ---> create-netrc.sh [Pipeline] } 03:55:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:55:43 ---> python-tools-install.sh [Pipeline] echo 03:55:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:55:44 ---> sudo-logs.sh 03:55:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:55:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:55:44 ---> job-cost.sh 03:55:44 lf-activate-venv: SKIPPING 03:55:44 DEBUG: total: 0.4399999976158142 03:55:44 INFO: Retrieving Stack Cost... 03:55:44 INFO: Retrieving Pricing Info for: v3-standard-8 03:55:44 INFO: Archiving Costs [Pipeline] echo 03:55:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:55:45 ---> logs-deploy.sh 03:55:45 lf-activate-venv: SKIPPING 03:55:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1335/1 03:55:45 INFO: archiving workspace using pattern(s): 03:55:46 Archives upload complete. 03:55:46 INFO: archiving logs to Nexus 03:55:47 ---> uname -a: 03:55:47 Linux prd-ubuntu20-04-docker-8c-8g-6684 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 03:55:47 03:55:47 03:55:47 ---> lscpu: 03:55:47 Architecture: x86_64 03:55:47 CPU op-mode(s): 32-bit, 64-bit 03:55:47 Byte Order: Little Endian 03:55:47 Address sizes: 40 bits physical, 48 bits virtual 03:55:47 CPU(s): 8 03:55:47 On-line CPU(s) list: 0-7 03:55:47 Thread(s) per core: 1 03:55:47 Core(s) per socket: 1 03:55:47 Socket(s): 8 03:55:47 NUMA node(s): 1 03:55:47 Vendor ID: AuthenticAMD 03:55:47 CPU family: 23 03:55:47 Model: 49 03:55:47 Model name: AMD EPYC-Rome Processor 03:55:47 Stepping: 0 03:55:47 CPU MHz: 2800.002 03:55:47 BogoMIPS: 5600.00 03:55:47 Virtualization: AMD-V 03:55:47 Hypervisor vendor: KVM 03:55:47 Virtualization type: full 03:55:47 L1d cache: 256 KiB 03:55:47 L1i cache: 256 KiB 03:55:47 L2 cache: 4 MiB 03:55:47 L3 cache: 128 MiB 03:55:47 NUMA node0 CPU(s): 0-7 03:55:47 Vulnerability Itlb multihit: Not affected 03:55:47 Vulnerability L1tf: Not affected 03:55:47 Vulnerability Mds: Not affected 03:55:47 Vulnerability Meltdown: Not affected 03:55:47 Vulnerability Mmio stale data: Not affected 03:55:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 03:55:47 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 03:55:47 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 03:55:47 Vulnerability Srbds: Not affected 03:55:47 Vulnerability Tsx async abort: Not affected 03:55:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 03:55:47 03:55:47 03:55:47 ---> nproc: 03:55:47 8 03:55:47 03:55:47 03:55:47 ---> df -h: 03:55:47 Filesystem Size Used Avail Use% Mounted on 03:55:47 overlay 155G 12G 144G 8% / 03:55:47 tmpfs 64M 0 64M 0% /dev 03:55:47 tmpfs 16G 0 16G 0% /sys/fs/cgroup 03:55:47 shm 64M 0 64M 0% /dev/shm 03:55:47 /dev/vda1 155G 12G 144G 8% /facter-os 03:55:47 03:55:47