Pull request #1511 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0177dab66d32070dd404c7dfe98e224423ad2c7c+fda9b37df1b1ddb72445924cae920f416e370c84 (0bb41227fd93fee476ede862536ba236ad26091a) 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-ssh12734765384917128607.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11620981754253014568.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1511/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-1511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9626531331515523864.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-1511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh599457461069046294.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh7326680743451314212.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-1511/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-1511/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17784066934284685798.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5972 in /w/workspace/gexfoundry_device-sdk-go_PR-1511 [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-1511 # 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/1511/head:refs/remotes/origin/PR-1511 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9b37df1b1ddb72445924cae920f416e370c84 into PR head commit 0177dab66d32070dd404c7dfe98e224423ad2c7c Merge succeeded, producing 0177dab66d32070dd404c7dfe98e224423ad2c7c Checking out Revision 0177dab66d32070dd404c7dfe98e224423ad2c7c (PR-1511) > git config core.sparsecheckout # timeout=10 > git checkout -f 0177dab66d32070dd404c7dfe98e224423ad2c7c # 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 fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0177dab66d32070dd404c7dfe98e224423ad2c7c # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:27:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:27:11 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:27:11 ========================================================= 20:27:11 EdgeX Global Pipelines Version Info 20:27:11 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:27:12 ------------------- 20:27:12 stable info: 20:27:12 ------------------- 20:27:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:27:12 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:27:12 Message: update stable to v1.0.254 20:27:12 ------------------- 20:27:12 experimental info: 20:27:12 ------------------- 20:27:12 Commited By: **** collab-it+edgex@linuxfoundation.org 20:27:12 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:27:12 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:27:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1511 [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1511 [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1511 [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0177dab [Pipeline] echo 20:27:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:27:14 provisioning config files... 20:27:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/config2180981581661515366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:14 ---> docker-login.sh 20:27:14 nexus3.edgexfoundry.org:10001 20:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:15 Configure a credential helper to remove this warning. See 20:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:15 20:27:15 Login Succeeded 20:27:15 nexus3.edgexfoundry.org:10002 20:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:15 Configure a credential helper to remove this warning. See 20:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:15 20:27:15 Login Succeeded 20:27:15 nexus3.edgexfoundry.org:10003 20:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:15 Configure a credential helper to remove this warning. See 20:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:15 20:27:15 Login Succeeded 20:27:15 nexus3.edgexfoundry.org:10004 20:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:15 Configure a credential helper to remove this warning. See 20:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:15 20:27:15 Login Succeeded 20:27:15 docker.io 20:27:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:15 Configure a credential helper to remove this warning. See 20:27:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:15 20:27:15 Login Succeeded 20:27:15 ---> docker-login.sh ends [Pipeline] } 20:27:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:27:16 + git rev-list -1 --merges 0177dab66d32070dd404c7dfe98e224423ad2c7c~1..0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] echo 20:27:16 -----------> git rev-list -1 --merges 0177dab66d32070dd404c7dfe98e224423ad2c7c~1..0177dab66d32070dd404c7dfe98e224423ad2c7c 0177dab66d32070dd404c7dfe98e224423ad2c7c [false] [Pipeline] sh 20:27:16 + git log --format=format:%s -1 0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] echo 20:27:16 ========================================================= 20:27:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:27:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:17 + git log --format=format:%s -1 0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] echo 20:27:17 [semverPrep] GIT_COMMIT: 0177dab66d32070dd404c7dfe98e224423ad2c7c, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo 20:27:17 [semverPrep] This is not a build commit. [Pipeline] sh 20:27:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:27:17 + grep -v github /etc/ssh/ssh_known_hosts 20:27:17 + [ -e /tmp/ssh_known_hosts ] 20:27:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:27:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:27:17 + sudo tee -a /etc/ssh/ssh_known_hosts 20:27:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:18 20:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:18 0.1.4: Pulling from edgex-devops/py-git-semver 20:27:18 b85a868b505f: Pulling fs layer 20:27:18 e2be974225ed: Pulling fs layer 20:27:18 339a4e72a1f5: Pulling fs layer 20:27:18 988bab9f4d93: Pulling fs layer 20:27:18 1469e6f7b9e6: Pulling fs layer 20:27:18 eaf3925da568: Pulling fs layer 20:27:18 bab4dde63d76: Pulling fs layer 20:27:18 bde34c3a00c8: Pulling fs layer 20:27:18 b352a97aabf1: Pulling fs layer 20:27:18 4872d77fe225: Pulling fs layer 20:27:18 5851b861e8e6: Pulling fs layer 20:27:18 bab4dde63d76: Waiting 20:27:18 bde34c3a00c8: Waiting 20:27:18 b352a97aabf1: Waiting 20:27:18 988bab9f4d93: Waiting 20:27:18 1469e6f7b9e6: Waiting 20:27:18 eaf3925da568: Waiting 20:27:18 4872d77fe225: Waiting 20:27:18 5851b861e8e6: Waiting 20:27:18 e2be974225ed: Download complete 20:27:18 988bab9f4d93: Verifying Checksum 20:27:18 988bab9f4d93: Download complete 20:27:18 1469e6f7b9e6: Verifying Checksum 20:27:18 1469e6f7b9e6: Download complete 20:27:18 eaf3925da568: Verifying Checksum 20:27:18 eaf3925da568: Download complete 20:27:18 339a4e72a1f5: Verifying Checksum 20:27:18 339a4e72a1f5: Download complete 20:27:18 bde34c3a00c8: Verifying Checksum 20:27:18 b352a97aabf1: Verifying Checksum 20:27:18 b352a97aabf1: Download complete 20:27:18 4872d77fe225: Verifying Checksum 20:27:18 4872d77fe225: Download complete 20:27:18 5851b861e8e6: Verifying Checksum 20:27:18 5851b861e8e6: Download complete 20:27:18 b85a868b505f: Download complete 20:27:18 bab4dde63d76: Verifying Checksum 20:27:18 bab4dde63d76: Download complete 20:27:19 b85a868b505f: Pull complete 20:27:19 e2be974225ed: Pull complete 20:27:20 339a4e72a1f5: Pull complete 20:27:20 988bab9f4d93: Pull complete 20:27:20 1469e6f7b9e6: Pull complete 20:27:20 eaf3925da568: Pull complete 20:27:22 bab4dde63d76: Pull complete 20:27:22 bde34c3a00c8: Pull complete 20:27:22 b352a97aabf1: Pull complete 20:27:22 4872d77fe225: Pull complete 20:27:22 5851b861e8e6: Pull complete 20:27:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:27:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:27:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:27:22 prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container 20:27:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:27:26 $ docker top aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 -eo pid,comm 20:27:26 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). 20:27:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:27:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:26 [ssh-agent] Looking for ssh-agent implementation... 20:27:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:26 $ docker exec aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 ssh-agent 20:27:26 SSH_AUTH_SOCK=/tmp/ssh-zK8SypS53PFq/agent.32 20:27:26 SSH_AGENT_PID=38 20:27:26 Running ssh-add (command line suppressed) 20:27:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/private_key_5046541616337151995.key (/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/private_key_5046541616337151995.key) 20:27:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:27 + git tag --points-at HEAD [Pipeline] } 20:27:27 $ docker exec --env ******** --env ******** aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 ssh-agent -k 20:27:27 unset SSH_AUTH_SOCK; 20:27:27 unset SSH_AGENT_PID; 20:27:27 echo Agent pid 38 killed; 20:27:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:27:27 [ssh-agent] Looking for ssh-agent implementation... 20:27:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:27:27 $ docker exec aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 ssh-agent 20:27:27 SSH_AUTH_SOCK=/tmp/ssh-fO85vP41Gj2a/agent.70 20:27:27 SSH_AGENT_PID=76 20:27:27 Running ssh-add (command line suppressed) 20:27:27 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/private_key_11257185257408483930.key (/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/private_key_11257185257408483930.key) 20:27:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:27:27 + git semver init 20:27:28 2023-09-12 20:27:28,041 [run_init] DEBUG init version:0.0.0 force:False 20:27:28 2023-09-12 20:27:28,042 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver 20:27:28 2023-09-12 20:27:28,042 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver 20:27:28 2023-09-12 20:27:28,042 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1511, universal_newlines=False, shell=None, istream=None) 20:27:29 2023-09-12 20:27:28,947 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511/.git/info/exclude 20:27:29 2023-09-12 20:27:28,947 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver/PR-1511 with force:False 20:27:29 2023-09-12 20:27:28,947 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver/PR-1511 20:27:29 2023-09-12 20:27:28,951 [execute] INFO git cat-file --batch-check 20:27:29 2023-09-12 20:27:28,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver, universal_newlines=False, shell=None, istream=) 20:27:29 2023-09-12 20:27:28,957 [execute] INFO git cat-file --batch 20:27:29 2023-09-12 20:27:28,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver, universal_newlines=False, shell=None, istream=) 20:27:29 2023-09-12 20:27:28,962 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver/PR-1511 20:27:29 0.0.0 [Pipeline] } 20:27:29 $ docker exec --env ******** --env ******** aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 ssh-agent -k 20:27:29 unset SSH_AUTH_SOCK; 20:27:29 unset SSH_AGENT_PID; 20:27:29 echo Agent pid 76 killed; 20:27:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:27:29 + git semver [Pipeline] } 20:27:29 $ docker stop --time=1 aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 20:27:31 $ docker rm -f --volumes aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:31 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:27:31 Stashed 1 file(s) [Pipeline] echo 20:27:31 [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 20:27:32 provisioning config files... 20:27:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/config15686110756432186901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:27:32 ---> docker-login.sh 20:27:32 nexus3.edgexfoundry.org:10001 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 nexus3.edgexfoundry.org:10002 20:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:32 Configure a credential helper to remove this warning. See 20:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:32 20:27:32 Login Succeeded 20:27:32 nexus3.edgexfoundry.org:10003 20:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:33 Configure a credential helper to remove this warning. See 20:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:33 20:27:33 Login Succeeded 20:27:33 nexus3.edgexfoundry.org:10004 20:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:33 Configure a credential helper to remove this warning. See 20:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:33 20:27:33 Login Succeeded 20:27:33 docker.io 20:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:27:33 Configure a credential helper to remove this warning. See 20:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:27:33 20:27:33 Login Succeeded 20:27:33 ---> docker-login.sh ends [Pipeline] } 20:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:27:33 ========================================================= 20:27:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:27:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:34 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 20:27:34 Sending build context to Docker daemon 11.12MB 20:27:34 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:27:34 Step 2/10 : FROM ${BASE} AS builder 20:27:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:27:34 7264a8db6415: Pulling fs layer 20:27:34 c4d48a809fc2: Pulling fs layer 20:27:34 4f1c88b9dad5: Pulling fs layer 20:27:34 ad3a456e5733: Pulling fs layer 20:27:34 9e4f439ed901: Pulling fs layer 20:27:34 feaf6a47b606: Pulling fs layer 20:27:34 5e8b037d7d82: Pulling fs layer 20:27:34 8ac70367396e: Pulling fs layer 20:27:34 6db16350a2e2: Pulling fs layer 20:27:34 9250d5d63582: Pulling fs layer 20:27:34 feaf6a47b606: Waiting 20:27:34 5e8b037d7d82: Waiting 20:27:34 8ac70367396e: Waiting 20:27:34 6db16350a2e2: Waiting 20:27:34 9250d5d63582: Waiting 20:27:34 ad3a456e5733: Waiting 20:27:34 9e4f439ed901: Waiting 20:27:34 c4d48a809fc2: Verifying Checksum 20:27:34 c4d48a809fc2: Download complete 20:27:34 ad3a456e5733: Verifying Checksum 20:27:34 ad3a456e5733: Download complete 20:27:34 9e4f439ed901: Download complete 20:27:34 7264a8db6415: Verifying Checksum 20:27:34 7264a8db6415: Download complete 20:27:34 feaf6a47b606: Verifying Checksum 20:27:34 feaf6a47b606: Download complete 20:27:34 7264a8db6415: Pull complete 20:27:34 8ac70367396e: Verifying Checksum 20:27:34 8ac70367396e: Download complete 20:27:34 c4d48a809fc2: Pull complete 20:27:34 4f1c88b9dad5: Verifying Checksum 20:27:34 4f1c88b9dad5: Download complete 20:27:34 6db16350a2e2: Verifying Checksum 20:27:34 6db16350a2e2: Download complete 20:27:35 5e8b037d7d82: Verifying Checksum 20:27:35 5e8b037d7d82: Download complete 20:27:35 9250d5d63582: Verifying Checksum 20:27:35 9250d5d63582: Download complete 20:27:37 4f1c88b9dad5: Pull complete 20:27:37 ad3a456e5733: Pull complete 20:27:37 9e4f439ed901: Pull complete 20:27:37 feaf6a47b606: Pull complete 20:27:40 5e8b037d7d82: Pull complete 20:27:40 8ac70367396e: Pull complete 20:27:41 6db16350a2e2: Pull complete 20:27:41 9250d5d63582: Pull complete 20:27:41 Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 20:27:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:27:41 ---> fa269f55d9b9 20:27:41 Step 3/10 : ARG MAKE=make build 20:27:47 ---> Running in 5712695b799d 20:27:47 Removing intermediate container 5712695b799d 20:27:47 ---> 4424485199b9 20:27:47 Step 4/10 : WORKDIR /device-sdk-go 20:27:47 ---> Running in e3577c248dcf 20:27:47 Removing intermediate container e3577c248dcf 20:27:47 ---> 5bcaa2adc09b 20:27:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:27:47 ---> Running in 25ad644735fe 20:27:47 Removing intermediate container 25ad644735fe 20:27:47 ---> ddb8fcef863b 20:27:47 Step 6/10 : RUN apk add --update --no-cache make git 20:27:47 ---> Running in 825d1e79e9ab 20:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:27:47 Still waiting to schedule task 20:27:47 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5971’ 20:27:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:27:47 OK: 265 MiB in 56 packages 20:27:47 Removing intermediate container 825d1e79e9ab 20:27:47 ---> 23c4604b21c6 20:27:47 Step 7/10 : COPY go.mod vendor* ./ 20:27:48 ---> 2b02808722a4 20:27:48 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:48 ---> Running in ffa21bcd51ba 20:28:26 Removing intermediate container ffa21bcd51ba 20:28:26 ---> b4b0a3c45af9 20:28:26 Step 9/10 : COPY . . 20:28:26 ---> a5fd0d8325a1 20:28:26 Step 10/10 : RUN ${MAKE} 20:28:26 ---> Running in d23bb92aeeb3 20:28:26 noop 20:28:26 Removing intermediate container d23bb92aeeb3 20:28:26 ---> f1949a744874 20:28:26 Successfully built f1949a744874 20:28:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:27 + docker inspect -f . ci-base-image-x86_64 20:28:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:27 prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container 20:28:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@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 ******** ci-base-image-x86_64 cat 20:28:27 $ docker top fd0a81efcaf0ace82df24e14b7b872fa739a21eae9832f747400ac933a5e1b4f -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:28 + go version 20:28:28 go version go1.21.0 linux/amd64 [Pipeline] } 20:28:28 $ docker stop --time=1 fd0a81efcaf0ace82df24e14b7b872fa739a21eae9832f747400ac933a5e1b4f 20:28:29 $ docker rm -f --volumes fd0a81efcaf0ace82df24e14b7b872fa739a21eae9832f747400ac933a5e1b4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:28:30 + docker inspect -f . ci-base-image-x86_64 20:28:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:28:30 prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container 20:28:30 $ 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-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@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 ******** ci-base-image-x86_64 cat 20:28:30 $ docker top 80415e31f8d43e33d269906b12503f1ff595d2367eb871a0f0feee978f8a3944 -eo pid,comm [Pipeline] { [Pipeline] sh 20:28:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1511 [Pipeline] fileExists [Pipeline] sh 20:28:31 + make test 20:28:31 go test -race -coverprofile=coverage.out ./... 20:28:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:28:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:28:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:28:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:28:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:28:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:28:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:28:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:28:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.055s coverage: 27.6% of statements 20:28:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:28:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.049s coverage: 80.2% of statements 20:28:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.053s coverage: 86.0% of statements 20:28:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.077s coverage: 71.8% of statements 20:28:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:28:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:28:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:28:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.093s coverage: 14.1% of statements 20:28:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.040s coverage: 44.2% of statements 20:28:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements 20:28:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.096s coverage: 89.2% of statements 20:28:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements 20:29:15 GO111MODULE=on go vet ./... 20:29:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:29:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:29:16 ./bin/test-attribution-txt.sh [Pipeline] echo 20:29:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:29:16 $ docker stop --time=1 80415e31f8d43e33d269906b12503f1ff595d2367eb871a0f0feee978f8a3944 20:29:20 $ docker rm -f --volumes 80415e31f8d43e33d269906b12503f1ff595d2367eb871a0f0feee978f8a3944 [Pipeline] // withDockerContainer [Pipeline] sh 20:29:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:29:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:29:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:29:22 + ls -al . 20:29:22 total 304 20:29:22 drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 20:28 . 20:29:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:27 .. 20:29:22 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 20:27 .dockerignore 20:29:22 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:28 .git 20:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:27 .github 20:29:22 -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 20:27 .gitignore 20:29:22 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 20:27 .golangci.yml 20:29:22 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:27 .semver 20:29:22 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 20:27 CHANGELOG.md 20:29:22 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:27 GOVERNANCE.md 20:29:22 -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 20:27 Jenkinsfile 20:29:22 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 20:27 LICENSE 20:29:22 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 20:27 Makefile 20:29:22 -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 20:27 OWNERS.md 20:29:22 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 20:27 README.md 20:29:22 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:27 VERSION 20:29:22 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:27 bin 20:29:22 -rw-r--r-- 1 jenkins jenkins 120471 Sep 12 20:28 coverage.out 20:29:22 drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 20:27 example 20:29:22 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 20:27 go.mod 20:29:22 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 20:27 go.sum 20:29:22 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:27 internal 20:29:22 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:27 openapi 20:29:22 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 20:27 pkg 20:29:22 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:27 snap 20:29:22 -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 20:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:23 + 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=0177dab66d32070dd404c7dfe98e224423ad2c7c --label arch=amd64 --label version=0.0.0 . 20:29:23 Sending build context to Docker daemon 11.24MB 20:29:23 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:29:23 Step 2/23 : FROM ${BASE} AS builder 20:29:23 ---> f1949a744874 20:29:23 Step 3/23 : ARG MAKE=make build 20:29:23 ---> Running in 4b922f493199 20:29:23 Removing intermediate container 4b922f493199 20:29:23 ---> f9b08f7bbc76 20:29:23 Step 4/23 : WORKDIR /device-sdk-go 20:29:23 ---> Running in 41b388e60ddb 20:29:23 Removing intermediate container 41b388e60ddb 20:29:23 ---> 1c885a09c8eb 20:29:23 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:29:23 ---> Running in cc3fca5d2516 20:29:23 Removing intermediate container cc3fca5d2516 20:29:23 ---> bd1d9c48cd45 20:29:23 Step 6/23 : RUN apk add --update --no-cache make git 20:29:23 ---> Running in 3ae9c9118ab2 20:29:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:24 OK: 265 MiB in 56 packages 20:29:24 Removing intermediate container 3ae9c9118ab2 20:29:24 ---> 3d31b1fdab3e 20:29:24 Step 7/23 : COPY go.mod vendor* ./ 20:29:24 ---> b4f26a32a4ba 20:29:24 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:29:24 ---> Running in 28ad854a9209 20:29:25 Removing intermediate container 28ad854a9209 20:29:25 ---> b532c02fcd27 20:29:25 Step 9/23 : COPY . . 20:29:26 ---> af87b8ba0e63 20:29:26 Step 10/23 : RUN ${MAKE} 20:29:26 ---> Running in 49d0b0abb9eb 20:29:26 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:29:48 Removing intermediate container 49d0b0abb9eb 20:29:48 ---> b58a6dc7cb11 20:29:48 Step 11/23 : FROM alpine:3.18 20:29:48 3.18: Pulling from library/alpine 20:29:48 7264a8db6415: Already exists 20:29:48 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:29:48 Status: Downloaded newer image for alpine:3.18 20:29:48 ---> 7e01a0d0a1dc 20:29:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:29:48 ---> Running in 740b4ab28241 20:29:48 Removing intermediate container 740b4ab28241 20:29:48 ---> 52696fa1ec6a 20:29:48 Step 13/23 : RUN apk add --update --no-cache 20:29:48 ---> Running in c150d7b9d828 20:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:29:48 OK: 7 MiB in 15 packages 20:29:48 Removing intermediate container c150d7b9d828 20:29:48 ---> a46b5da87987 20:29:48 Step 14/23 : WORKDIR / 20:29:48 ---> Running in 6ff4fde48662 20:29:48 Removing intermediate container 6ff4fde48662 20:29:48 ---> a8605dc02d6e 20:29:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:29:48 ---> 8f681abc84fb 20:29:48 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:29:48 ---> e854f86bbe9e 20:29:48 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:29:48 ---> 2304ee5f45bf 20:29:48 Step 18/23 : EXPOSE 59999 20:29:49 ---> Running in d77b6d9caada 20:29:49 Removing intermediate container d77b6d9caada 20:29:49 ---> c20aadb85896 20:29:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:29:49 ---> Running in e9662b63ae5e 20:29:49 Removing intermediate container e9662b63ae5e 20:29:49 ---> 7aa96852baaf 20:29:49 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:29:49 ---> Running in cea2f7dd874d 20:29:49 Removing intermediate container cea2f7dd874d 20:29:49 ---> fd1d56035ca9 20:29:49 Step 21/23 : LABEL arch=amd64 20:29:49 ---> Running in 6b1172c7148e 20:29:49 Removing intermediate container 6b1172c7148e 20:29:49 ---> 897c8d6b237c 20:29:49 Step 22/23 : LABEL git_sha=0177dab66d32070dd404c7dfe98e224423ad2c7c 20:29:49 ---> Running in 0f854c0068fb 20:29:49 Removing intermediate container 0f854c0068fb 20:29:49 ---> 653f11d9c4c0 20:29:49 Step 23/23 : LABEL version=0.0.0 20:29:49 ---> Running in 8dd68ccc66c4 20:29:49 Removing intermediate container 8dd68ccc66c4 20:29:49 ---> b19da9df72c9 20:29:49 [Warning] One or more build-args [ARCH] were not consumed 20:29:49 Successfully built b19da9df72c9 20:29:49 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 20:29:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:50 20:29:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:29:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:50 latest: Pulling from edgex-lftools-log-publisher 20:29:50 5eb5b503b376: Pulling fs layer 20:29:50 5c69ac0246d0: Pulling fs layer 20:29:50 ec43610c2a17: Pulling fs layer 20:29:50 3a2ae6a8a46f: Pulling fs layer 20:29:50 33b1e0a273af: Pulling fs layer 20:29:50 5d3b04190fa2: Pulling fs layer 20:29:50 2f39f015ded8: Pulling fs layer 20:29:50 5d3b04190fa2: Waiting 20:29:50 2f39f015ded8: Waiting 20:29:50 3a2ae6a8a46f: Waiting 20:29:50 33b1e0a273af: Waiting 20:29:50 5c69ac0246d0: Verifying Checksum 20:29:50 5c69ac0246d0: Download complete 20:29:50 3a2ae6a8a46f: Verifying Checksum 20:29:50 3a2ae6a8a46f: Download complete 20:29:50 ec43610c2a17: Verifying Checksum 20:29:50 ec43610c2a17: Download complete 20:29:50 5d3b04190fa2: Download complete 20:29:50 33b1e0a273af: Verifying Checksum 20:29:50 33b1e0a273af: Download complete 20:29:50 5eb5b503b376: Verifying Checksum 20:29:51 5eb5b503b376: Download complete 20:29:51 2f39f015ded8: Verifying Checksum 20:29:51 2f39f015ded8: Download complete 20:29:52 5eb5b503b376: Pull complete 20:29:52 5c69ac0246d0: Pull complete 20:29:52 ec43610c2a17: Pull complete 20:29:52 3a2ae6a8a46f: Pull complete 20:29:52 33b1e0a273af: Pull complete 20:29:53 5d3b04190fa2: Pull complete 20:29:57 2f39f015ded8: Pull complete 20:29:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:29:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:29:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:29:57 prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container 20:29:57 $ 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-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:30:01 $ docker top bc07b3d3cb3ac80655a86d1edbd401f1f6288470f9f27565c6ce72fe1a1fdcfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:02 ---> job-cost.sh 20:30:02 lf-activate-venv: SKIPPING 20:30:02 INFO: No Stack... 20:30:02 INFO: Retrieving Pricing Info for: v3-standard-8 20:30:02 INFO: Archiving Costs [Pipeline] sh 20:30:03 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives/cost.csv 20:30:03 + cut -d, -f6 [Pipeline] lock 20:30:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] 20:30:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] did not exist. Created. 20:30:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:30:03 + echo total: 0.2199999988079071 [Pipeline] stash 20:30:03 Stashed 1 file(s) [Pipeline] } 20:30:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:30:03 $ docker stop --time=1 bc07b3d3cb3ac80655a86d1edbd401f1f6288470f9f27565c6ce72fe1a1fdcfb 20:30:05 $ docker rm -f --volumes bc07b3d3cb3ac80655a86d1edbd401f1f6288470f9f27565c6ce72fe1a1fdcfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:30:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5973 in /w/workspace/gexfoundry_device-sdk-go_PR-1511 [Pipeline] { [Pipeline] ws 20:30:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 20:30:45 The recommended git tool is: git 20:30:51 using credential edgex-jenkins-ssh 20:30:51 Cloning the remote Git repository 20:30:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:30:51 > git init /w/workspace/device-sdk-go/1 # timeout=10 20:30:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:30:51 > git --version # timeout=10 20:30:51 > git --version # 'git version 2.25.1' 20:30:51 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:30:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:30:55 Merging remotes/origin/main commit fda9b37df1b1ddb72445924cae920f416e370c84 into PR head commit 0177dab66d32070dd404c7dfe98e224423ad2c7c 20:30:55 Merge succeeded, producing 0177dab66d32070dd404c7dfe98e224423ad2c7c 20:30:55 Checking out Revision 0177dab66d32070dd404c7dfe98e224423ad2c7c (PR-1511) 20:30:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:30:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:30:54 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1511/head:refs/remotes/origin/PR-1511 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:30:55 > git config core.sparsecheckout # timeout=10 20:30:55 > git checkout -f 0177dab66d32070dd404c7dfe98e224423ad2c7c # timeout=10 20:30:55 > git remote # timeout=10 20:30:55 > git config --get remote.origin.url # timeout=10 20:30:55 using GIT_SSH to set credentials SSH Credentials for GitHub 20:30:55 > git merge fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 20:30:55 > git rev-parse HEAD^{commit} # timeout=10 20:30:55 > git config core.sparsecheckout # timeout=10 20:30:55 > git checkout -f 0177dab66d32070dd404c7dfe98e224423ad2c7c # timeout=10 20:30:59 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" 20:30:59 > git --version # timeout=10 20:30:59 > git --version # 'git version 2.25.1' 20:30:59 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:31:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:31:00 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:00 Dload Upload Total Spent Left Speed 20:31:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh 20:31:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:31:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:31:01 + sudo tee /etc/docker/daemon.new 20:31:01 { 20:31:01 "registry-mirrors": [ 20:31:01 "https://nexus3.edgexfoundry.org:10001" 20:31:01 ], 20:31:01 "bip": "10.250.0.254/24", 20:31:01 "hosts": [ 20:31:01 "tcp://0.0.0.0:5555", 20:31:01 "unix:///var/run/docker.sock" 20:31:01 ], 20:31:01 "mtu": 1458, 20:31:01 "selinux-enabled": true, 20:31:01 "seccomp-profile": "/etc/docker/seccomp.json" 20:31:01 } [Pipeline] sh 20:31:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:31:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:31:20 provisioning config files... 20:31:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config18034380237503721443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:20 ---> docker-login.sh 20:31:20 nexus3.edgexfoundry.org:10001 20:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:21 Configure a credential helper to remove this warning. See 20:31:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:21 20:31:21 Login Succeeded 20:31:21 nexus3.edgexfoundry.org:10002 20:31:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:21 Configure a credential helper to remove this warning. See 20:31:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:21 20:31:21 Login Succeeded 20:31:21 nexus3.edgexfoundry.org:10003 20:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:22 Configure a credential helper to remove this warning. See 20:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:22 20:31:22 Login Succeeded 20:31:22 nexus3.edgexfoundry.org:10004 20:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:22 Configure a credential helper to remove this warning. See 20:31:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:22 20:31:22 Login Succeeded 20:31:22 docker.io 20:31:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:31:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:31:23 Configure a credential helper to remove this warning. See 20:31:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:31:23 20:31:23 Login Succeeded 20:31:23 ---> docker-login.sh ends [Pipeline] } 20:31:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:31:23 ========================================================= 20:31:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:31:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:24 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 20:31:24 Sending build context to Docker daemon 5.946MB 20:31:24 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 20:31:24 Step 2/10 : FROM ${BASE} AS builder 20:31:24 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:31:24 9fda8d8052c6: Pulling fs layer 20:31:24 5d54e960e981: Pulling fs layer 20:31:24 c4a7e357bf2a: Pulling fs layer 20:31:24 f0e02332f6b5: Pulling fs layer 20:31:24 66412af1f25a: Pulling fs layer 20:31:24 1baf3a5c0e64: Pulling fs layer 20:31:24 9a37bb91b891: Pulling fs layer 20:31:24 a29adfc67d43: Pulling fs layer 20:31:24 d5de9f91c1a4: Pulling fs layer 20:31:24 1baf3a5c0e64: Waiting 20:31:24 9a37bb91b891: Waiting 20:31:24 a29adfc67d43: Waiting 20:31:24 d5de9f91c1a4: Waiting 20:31:24 f0e02332f6b5: Waiting 20:31:24 66412af1f25a: Waiting 20:31:24 5d54e960e981: Verifying Checksum 20:31:24 5d54e960e981: Download complete 20:31:24 66412af1f25a: Verifying Checksum 20:31:24 66412af1f25a: Download complete 20:31:24 9fda8d8052c6: Download complete 20:31:25 9a37bb91b891: Verifying Checksum 20:31:25 9a37bb91b891: Download complete 20:31:25 a29adfc67d43: Verifying Checksum 20:31:25 a29adfc67d43: Download complete 20:31:26 9fda8d8052c6: Pull complete 20:31:26 d5de9f91c1a4: Verifying Checksum 20:31:26 d5de9f91c1a4: Download complete 20:31:26 5d54e960e981: Pull complete 20:31:26 c4a7e357bf2a: Verifying Checksum 20:31:26 c4a7e357bf2a: Download complete 20:31:27 1baf3a5c0e64: Verifying Checksum 20:31:27 1baf3a5c0e64: Download complete 20:31:40 c4a7e357bf2a: Pull complete 20:31:40 f0e02332f6b5: Pull complete 20:31:40 66412af1f25a: Pull complete 20:31:46 1baf3a5c0e64: Pull complete 20:31:47 9a37bb91b891: Pull complete 20:31:48 a29adfc67d43: Pull complete 20:31:49 d5de9f91c1a4: Pull complete 20:31:49 Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 20:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:31:49 ---> 746ca1b523b5 20:31:49 Step 3/10 : ARG MAKE=make build 20:31:52 ---> Running in cba19d3cf67d 20:31:52 Removing intermediate container cba19d3cf67d 20:31:52 ---> 29de8bdf12a8 20:31:52 Step 4/10 : WORKDIR /device-sdk-go 20:31:52 ---> Running in afcbe4dd5321 20:31:52 Removing intermediate container afcbe4dd5321 20:31:52 ---> bf41cf10a565 20:31:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:31:52 ---> Running in 34d6e903401e 20:31:53 Removing intermediate container 34d6e903401e 20:31:53 ---> 772839723801 20:31:53 Step 6/10 : RUN apk add --update --no-cache make git 20:31:53 ---> Running in 506cf95ff0a7 20:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:31:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:31:55 OK: 267 MiB in 56 packages 20:31:56 Removing intermediate container 506cf95ff0a7 20:31:56 ---> f2db0b586554 20:31:56 Step 7/10 : COPY go.mod vendor* ./ 20:31:56 ---> 0c9af0d160d7 20:31:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:31:57 ---> Running in 7e6179be94fe 20:33:18 Removing intermediate container 7e6179be94fe 20:33:18 ---> 593c9f0b6cb0 20:33:18 Step 9/10 : COPY . . 20:33:18 ---> 5175d798b3cf 20:33:18 Step 10/10 : RUN ${MAKE} 20:33:18 ---> Running in bab1bf848343 20:33:18 noop 20:33:18 Removing intermediate container bab1bf848343 20:33:18 ---> a909ba83aa9b 20:33:18 Successfully built a909ba83aa9b 20:33:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:19 + docker inspect -f . ci-base-image-arm64 20:33:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:19 prd-ubuntu20.04-docker-arm64-4c-16g-5973 does not seem to be running inside a container 20:33:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:33:20 $ docker top 057e106ac8d06314c6aa6a4726f95d0fff17bb789a6de495f3a9eaf8d48ab4cb -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:21 + go version 20:33:21 go version go1.21.0 linux/arm64 [Pipeline] } 20:33:21 $ docker stop --time=1 057e106ac8d06314c6aa6a4726f95d0fff17bb789a6de495f3a9eaf8d48ab4cb 20:33:23 $ docker rm -f --volumes 057e106ac8d06314c6aa6a4726f95d0fff17bb789a6de495f3a9eaf8d48ab4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:33:24 + docker inspect -f . ci-base-image-arm64 20:33:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:33:24 prd-ubuntu20.04-docker-arm64-4c-16g-5973 does not seem to be running inside a container 20:33:24 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:33:27 $ docker top 528a06268a4f3433be49f672b66cefc55c72d21168d4a61c82e782b4612a57d6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:33:27 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 20:33:28 + make test 20:33:28 go test -race -coverprofile=coverage.out ./... 20:34:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:35:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.236s coverage: 27.6% of statements 20:35:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.361s coverage: 80.2% of statements 20:36:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:36:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:36:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.298s coverage: 86.0% of statements 20:36:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:36:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.390s coverage: 71.8% of statements 20:36:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.261s coverage: 14.1% of statements 20:36:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.011s coverage: 44.2% of statements 20:36:14 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:36:14 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:36:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.396s coverage: 68.5% of statements 20:36:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.436s coverage: 89.2% of statements 20:36:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:36:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.231s coverage: 5.5% of statements 20:36:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:36:21 GO111MODULE=on go vet ./... 20:37:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:37:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:37:58 ./bin/test-attribution-txt.sh [Pipeline] echo 20:37:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:37:58 $ docker stop --time=1 528a06268a4f3433be49f672b66cefc55c72d21168d4a61c82e782b4612a57d6 20:38:00 $ docker rm -f --volumes 528a06268a4f3433be49f672b66cefc55c72d21168d4a61c82e782b4612a57d6 [Pipeline] // withDockerContainer [Pipeline] sh 20:38:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:38:01 Warning: overwriting stash ‘coverage-report’ 20:38:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:38:03 + ls -al . 20:38:03 total 300 20:38:03 drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:33 . 20:38:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:30 .. 20:38:03 -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 20:30 .dockerignore 20:38:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:30 .git 20:38:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:30 .github 20:38:03 -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 20:30 .gitignore 20:38:03 -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 20:30 .golangci.yml 20:38:03 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 20:30 CHANGELOG.md 20:38:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:30 GOVERNANCE.md 20:38:03 -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 20:30 Jenkinsfile 20:38:03 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 20:30 LICENSE 20:38:03 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 20:30 Makefile 20:38:03 -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 20:30 OWNERS.md 20:38:03 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 20:30 README.md 20:38:03 -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:27 VERSION 20:38:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:30 bin 20:38:03 -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 20:36 coverage.out 20:38:03 drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 20:30 example 20:38:03 -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 20:30 go.mod 20:38:03 -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 20:30 go.sum 20:38:03 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:30 internal 20:38:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:30 openapi 20:38:03 drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 20:30 pkg 20:38:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:30 snap 20:38:03 -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 20:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:03 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=0177dab66d32070dd404c7dfe98e224423ad2c7c --label arch=arm64 --label version=0.0.0 . 20:38:03 Sending build context to Docker daemon 6.067MB 20:38:03 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 20:38:03 Step 2/23 : FROM ${BASE} AS builder 20:38:03 ---> a909ba83aa9b 20:38:03 Step 3/23 : ARG MAKE=make build 20:38:04 ---> Running in 60bef978247e 20:38:04 Removing intermediate container 60bef978247e 20:38:04 ---> 3659e3e2186e 20:38:04 Step 4/23 : WORKDIR /device-sdk-go 20:38:04 ---> Running in 5aff222b7ed7 20:38:04 Removing intermediate container 5aff222b7ed7 20:38:04 ---> 2be23e0baff9 20:38:04 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:38:04 ---> Running in 66958c065037 20:38:05 Removing intermediate container 66958c065037 20:38:05 ---> 29654794fbcf 20:38:05 Step 6/23 : RUN apk add --update --no-cache make git 20:38:05 ---> Running in f24911cf33bb 20:38:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:38:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:38:07 OK: 267 MiB in 56 packages 20:38:08 Removing intermediate container f24911cf33bb 20:38:08 ---> 0d693e205395 20:38:08 Step 7/23 : COPY go.mod vendor* ./ 20:38:08 ---> f34c20eae97a 20:38:08 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:08 ---> Running in 5fc929c2156d 20:38:13 Removing intermediate container 5fc929c2156d 20:38:13 ---> b29c8ada5329 20:38:13 Step 9/23 : COPY . . 20:38:14 ---> afcb43a7645f 20:38:14 Step 10/23 : RUN ${MAKE} 20:38:14 ---> Running in d405e9daf090 20:38:15 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:40:21 Removing intermediate container d405e9daf090 20:40:21 ---> 27ea1af83219 20:40:21 Step 11/23 : FROM alpine:3.18 20:40:21 3.18: Pulling from library/alpine 20:40:21 9fda8d8052c6: Already exists 20:40:21 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:40:21 Status: Downloaded newer image for alpine:3.18 20:40:21 ---> f6648c04cd6c 20:40:21 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:40:21 ---> Running in 780d9a67d819 20:40:21 Removing intermediate container 780d9a67d819 20:40:21 ---> 9e9b3877a225 20:40:21 Step 13/23 : RUN apk add --update --no-cache 20:40:21 ---> Running in 4d8fdabc4909 20:40:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:40:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:40:21 OK: 8 MiB in 15 packages 20:40:21 Removing intermediate container 4d8fdabc4909 20:40:21 ---> e800a12ea419 20:40:21 Step 14/23 : WORKDIR / 20:40:21 ---> Running in 9dca2c14d2d5 20:40:21 Removing intermediate container 9dca2c14d2d5 20:40:21 ---> ad4619e08106 20:40:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:40:21 ---> 99dc99a115ac 20:40:21 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:40:21 ---> 3748553d908e 20:40:21 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:40:21 ---> f27f36224ca7 20:40:21 Step 18/23 : EXPOSE 59999 20:40:21 ---> Running in d7028d644755 20:40:21 Removing intermediate container d7028d644755 20:40:21 ---> 401a9495e85f 20:40:21 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:40:21 ---> Running in a7ea80e5e951 20:40:21 Removing intermediate container a7ea80e5e951 20:40:21 ---> 8b56ed0e9f8e 20:40:21 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:40:21 ---> Running in ea014c0687ab 20:40:21 Removing intermediate container ea014c0687ab 20:40:21 ---> 9e203b9e167d 20:40:21 Step 21/23 : LABEL arch=arm64 20:40:21 ---> Running in 70bba7001125 20:40:21 Removing intermediate container 70bba7001125 20:40:21 ---> 7a95fb10341c 20:40:21 Step 22/23 : LABEL git_sha=0177dab66d32070dd404c7dfe98e224423ad2c7c 20:40:21 ---> Running in 568caa334e1c 20:40:21 Removing intermediate container 568caa334e1c 20:40:21 ---> a5d4b3a3a8fd 20:40:21 Step 23/23 : LABEL version=0.0.0 20:40:21 ---> Running in afcad20b1b6f 20:40:21 Removing intermediate container afcad20b1b6f 20:40:21 ---> 7a4fec97146a 20:40:21 [Warning] One or more build-args [ARCH] were not consumed 20:40:21 Successfully built 7a4fec97146a 20:40:21 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:40:22 20:40:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:40:23 arm64: Pulling from edgex-lftools-log-publisher 20:40:23 8998bd30e6a1: Pulling fs layer 20:40:23 04944245beec: Pulling fs layer 20:40:23 699f458cf7ca: Pulling fs layer 20:40:23 765212b225bb: Pulling fs layer 20:40:23 f23df028b6ca: Pulling fs layer 20:40:23 d65c8cfc05b1: Pulling fs layer 20:40:23 2437ff75d9bd: Pulling fs layer 20:40:23 f23df028b6ca: Waiting 20:40:23 765212b225bb: Waiting 20:40:23 d65c8cfc05b1: Waiting 20:40:23 2437ff75d9bd: Waiting 20:40:23 04944245beec: Verifying Checksum 20:40:23 04944245beec: Download complete 20:40:23 765212b225bb: Verifying Checksum 20:40:23 765212b225bb: Download complete 20:40:23 f23df028b6ca: Verifying Checksum 20:40:23 f23df028b6ca: Download complete 20:40:23 d65c8cfc05b1: Verifying Checksum 20:40:23 d65c8cfc05b1: Download complete 20:40:23 699f458cf7ca: Verifying Checksum 20:40:23 699f458cf7ca: Download complete 20:40:23 8998bd30e6a1: Verifying Checksum 20:40:23 8998bd30e6a1: Download complete 20:40:25 2437ff75d9bd: Verifying Checksum 20:40:25 2437ff75d9bd: Download complete 20:40:27 8998bd30e6a1: Pull complete 20:40:27 04944245beec: Pull complete 20:40:29 699f458cf7ca: Pull complete 20:40:29 765212b225bb: Pull complete 20:40:30 f23df028b6ca: Pull complete 20:40:30 d65c8cfc05b1: Pull complete 20:40:45 2437ff75d9bd: Pull complete 20:40:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:40:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:40:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:45 prd-ubuntu20.04-docker-arm64-4c-16g-5973 does not seem to be running inside a container 20:40:45 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:40:48 $ docker top 4baa68ca971af8106c8dbc7a6fda2dd1cb710cba26d1602e060a23e3200e5eda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:40:49 ---> job-cost.sh 20:40:49 lf-activate-venv: SKIPPING 20:40:49 INFO: No Stack... 20:40:49 INFO: Retrieving Pricing Info for: v3-standard-4 20:40:50 INFO: Archiving Costs [Pipeline] sh 20:40:50 + + catcut -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 20:40:50 [Pipeline] lock 20:40:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] 20:40:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] did not exist. Created. 20:40:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:40:51 /w/workspace/device-sdk-go/1@tmp/durable-fea12ecf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:40:51 + echo total: 0.10999999940395355 [Pipeline] stash 20:40:51 Warning: overwriting stash ‘stack-cost’ 20:40:51 Stashed 1 file(s) [Pipeline] } 20:40:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:40:51 $ docker stop --time=1 4baa68ca971af8106c8dbc7a6fda2dd1cb710cba26d1602e060a23e3200e5eda 20:40:53 $ docker rm -f --volumes 4baa68ca971af8106c8dbc7a6fda2dd1cb710cba26d1602e060a23e3200e5eda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:40:54 provisioning config files... 20:40:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/config4854548022045690745tmp [Pipeline] { [Pipeline] sh 20:40:54 + set +x 20:40:54 + bash -s -- 20:40:54 + curl -s https://codecov.io/bash 20:40:54 20:40:54 _____ _ 20:40:54 / ____| | | 20:40:54 | | ___ __| | ___ ___ _____ __ 20:40:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:40:54 | |___| (_) | (_| | __/ (_| (_) \ V / 20:40:54 \_____\___/ \__,_|\___|\___\___/ \_/ 20:40:54 Bash-1.0.6 20:40:54 20:40:54 20:40:54 ==> git version 2.25.1 found 20:40:54 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:40:54 Release-Date: 2020-01-08 20:40:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:40:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:40:54 ==> Jenkins CI detected. 20:40:54 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1511 20:40:54 project root: . 20:40:54 --> token set from env 20:40:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:40:54 ==> Running gcov in . (disable via -X gcov) 20:40:54 ==> Python coveragepy not found 20:40:54 ==> Searching for coverage reports in: 20:40:54 + . 20:40:54 -> Found 1 reports 20:40:54 ==> Detecting git/mercurial file structure 20:40:54 ==> Reading reports 20:40:54 + ./coverage.out bytes=120468 20:40:54 ==> Appending adjustments 20:40:54 https://docs.codecov.io/docs/fixing-reports 20:40:55 + Found adjustments 20:40:55 ==> Gzipping contents 20:40:55 20K /tmp/codecov.Gqy6lq.gz 20:40:55 ==> Uploading reports 20:40:55 url: https://codecov.io 20:40:55 query: branch=PR-1511&commit=0177dab66d32070dd404c7dfe98e224423ad2c7c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1511&job=&cmd_args= 20:40:55 -> Pinging Codecov 20:40:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1511&commit=0177dab66d32070dd404c7dfe98e224423ad2c7c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1511&job=&cmd_args= 20:40:55 -> Uploading to 20:40:55 https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/0177dab66d32070dd404c7dfe98e224423ad2c7c/c82acfa7-6aaf-4728-9848-de167f051f9e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T204055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a77eb759f3bab39a280ea32c9cec13bc326ee1d1163dbe67071748797ce052c3 20:40:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:40:55 Dload Upload Total Spent Left Speed 20:40:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 80539 --:--:-- --:--:-- --:--:-- 80539 20:40:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] } 20:40:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:40:57 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives ] 20:40:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives 20:40:57 total 16 20:40:57 drwxr-xr-x 3 root root 4096 Sep 12 20:30 . 20:40:57 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:30 .. 20:40:57 drwxr-xr-x 2 root root 4096 Sep 12 20:30 cost 20:40:57 -rw-r--r-- 1 root root 86 Sep 12 20:30 cost.csv 20:40:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives 20:40:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives 20:40:57 total 16 20:40:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:30 . 20:40:57 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:30 .. 20:40:57 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 20:30 cost 20:40:57 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 20:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:40:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:40:58 ---> package-listing.sh 20:40:58 ++ facter osfamily 20:40:58 ++ tr '[:upper:]' '[:lower:]' 20:40:58 + OS_FAMILY=debian 20:40:58 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1511 20:40:58 + START_PACKAGES=/tmp/packages_start.txt 20:40:58 + END_PACKAGES=/tmp/packages_end.txt 20:40:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:40:58 + PACKAGES=/tmp/packages_start.txt 20:40:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1511 ']' 20:40:58 + PACKAGES=/tmp/packages_end.txt 20:40:58 + case "${OS_FAMILY}" in 20:40:58 + dpkg -l 20:40:58 + grep '^ii' 20:40:58 + '[' -f /tmp/packages_start.txt ']' 20:40:58 + '[' -f /tmp/packages_end.txt ']' 20:40:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:40:58 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1511 ']' 20:40:58 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives/ 20:40:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives/ [Pipeline] echo 20:40:58 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-1511/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:40:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:40:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:41:00 prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container 20:41:00 $ 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-1511/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-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@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 20:41:00 $ docker top e57f7916b8b2655aa713c10120c157f602be5ac375f736cabdf5ae99aba9bc17 -eo pid,comm [Pipeline] { [Pipeline] sh 20:41:00 + touch /tmp/pre-build-complete [Pipeline] sh 20:41:00 + mkdir -p /var/log/sysstat [Pipeline] sh 20:41:01 + ls /var/log/sa-host 20:41:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:41:01 provisioning config files... 20:41:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/config12862874535506021946tmp [Pipeline] { [Pipeline] echo 20:41:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:41:01 ---> create-netrc.sh [Pipeline] } 20:41:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:41:02 ---> python-tools-install.sh [Pipeline] echo 20:41:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:41:02 ---> sudo-logs.sh 20:41:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:41:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:41:03 ---> job-cost.sh 20:41:03 lf-activate-venv: SKIPPING 20:41:03 DEBUG: total: 0.2199999988079071 20:41:03 INFO: Retrieving Stack Cost... 20:41:03 INFO: Retrieving Pricing Info for: v3-standard-8 20:41:03 INFO: Archiving Costs [Pipeline] echo 20:41:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:41:04 ---> logs-deploy.sh 20:41:04 lf-activate-venv: SKIPPING 20:41:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1511/1 20:41:04 INFO: archiving workspace using pattern(s): 20:41:05 Archives upload complete. 20:41:05 INFO: archiving logs to Nexus 20:41:05 ---> uname -a: 20:41:05 Linux prd-ubuntu20-04-docker-8c-8g-5972 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 20:41:05 20:41:05 20:41:05 ---> lscpu: 20:41:05 Architecture: x86_64 20:41:05 CPU op-mode(s): 32-bit, 64-bit 20:41:05 Byte Order: Little Endian 20:41:05 Address sizes: 40 bits physical, 48 bits virtual 20:41:05 CPU(s): 8 20:41:05 On-line CPU(s) list: 0-7 20:41:05 Thread(s) per core: 1 20:41:05 Core(s) per socket: 1 20:41:05 Socket(s): 8 20:41:05 NUMA node(s): 1 20:41:05 Vendor ID: AuthenticAMD 20:41:05 CPU family: 23 20:41:05 Model: 49 20:41:05 Model name: AMD EPYC-Rome Processor 20:41:05 Stepping: 0 20:41:05 CPU MHz: 2799.998 20:41:05 BogoMIPS: 5599.99 20:41:05 Virtualization: AMD-V 20:41:05 Hypervisor vendor: KVM 20:41:05 Virtualization type: full 20:41:05 L1d cache: 256 KiB 20:41:05 L1i cache: 256 KiB 20:41:05 L2 cache: 4 MiB 20:41:05 L3 cache: 128 MiB 20:41:05 NUMA node0 CPU(s): 0-7 20:41:05 Vulnerability Itlb multihit: Not affected 20:41:05 Vulnerability L1tf: Not affected 20:41:05 Vulnerability Mds: Not affected 20:41:05 Vulnerability Meltdown: Not affected 20:41:05 Vulnerability Mmio stale data: Not affected 20:41:05 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 20:41:05 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 20:41:05 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 20:41:05 Vulnerability Srbds: Not affected 20:41:05 Vulnerability Tsx async abort: Not affected 20:41:05 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 20:41:05 20:41:05