Pull request #1540 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 bb3b780b49bdb40d95a497fa6cff623f428380a1+7730e9b2488ebe82cf8f1ec58f41fa934430b51b (a67688406113c5d7ba2a5342de36e84590f2a83d) 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-ssh12470272168234349276.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4573126356673208364.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-1540/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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14026793374267050501.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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13004014798063166139.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh1557628492801241660.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-1540/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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14883717184213435288.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-17509 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # 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/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing bb3b780b49bdb40d95a497fa6cff623f428380a1 Checking out Revision bb3b780b49bdb40d95a497fa6cff623f428380a1 (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:37:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:37:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:37:47 ========================================================= 18:37:47 EdgeX Global Pipelines Version Info 18:37:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:37:48 ------------------- 18:37:48 stable info: 18:37:48 ------------------- 18:37:48 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:37:48 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:37:48 Message: update stable to v1.0.257 18:37:48 ------------------- 18:37:48 experimental info: 18:37:48 ------------------- 18:37:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:37:48 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:37:48 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:37:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb3b780 [Pipeline] echo 18:37:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:37:50 provisioning config files... 18:37:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config2914348346345772232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:51 ---> docker-login.sh 18:37:51 nexus3.edgexfoundry.org:10001 18:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:51 Configure a credential helper to remove this warning. See 18:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:51 18:37:51 Login Succeeded 18:37:51 nexus3.edgexfoundry.org:10002 18:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:51 Configure a credential helper to remove this warning. See 18:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:51 18:37:51 Login Succeeded 18:37:51 nexus3.edgexfoundry.org:10003 18:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:51 Configure a credential helper to remove this warning. See 18:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:51 18:37:51 Login Succeeded 18:37:51 nexus3.edgexfoundry.org:10004 18:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:51 Configure a credential helper to remove this warning. See 18:37:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:51 18:37:51 Login Succeeded 18:37:51 docker.io 18:37:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:52 Configure a credential helper to remove this warning. See 18:37:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:52 18:37:52 Login Succeeded 18:37:52 ---> docker-login.sh ends [Pipeline] } 18:37:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:37:52 + git rev-list -1 --merges bb3b780b49bdb40d95a497fa6cff623f428380a1~1..bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] echo 18:37:52 -----------> git rev-list -1 --merges bb3b780b49bdb40d95a497fa6cff623f428380a1~1..bb3b780b49bdb40d95a497fa6cff623f428380a1 bb3b780b49bdb40d95a497fa6cff623f428380a1 [false] [Pipeline] sh 18:37:53 + git log --format=format:%s -1 bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] echo 18:37:53 ========================================================= 18:37:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:37:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:37:53 + git log --format=format:%s -1 bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] echo 18:37:53 [semverPrep] GIT_COMMIT: bb3b780b49bdb40d95a497fa6cff623f428380a1, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo 18:37:53 [semverPrep] This is not a build commit. [Pipeline] sh 18:37:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:37:54 + grep -v github /etc/ssh/ssh_known_hosts 18:37:54 + [ -e /tmp/ssh_known_hosts ] 18:37:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:37:54 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:37:54 sudo tee -a /etc/ssh/ssh_known_hosts 18:37:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:54 18:37:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:54 0.1.4: Pulling from edgex-devops/py-git-semver 18:37:54 b85a868b505f: Pulling fs layer 18:37:54 e2be974225ed: Pulling fs layer 18:37:54 339a4e72a1f5: Pulling fs layer 18:37:54 988bab9f4d93: Pulling fs layer 18:37:54 1469e6f7b9e6: Pulling fs layer 18:37:54 eaf3925da568: Pulling fs layer 18:37:54 bab4dde63d76: Pulling fs layer 18:37:54 bde34c3a00c8: Pulling fs layer 18:37:54 b352a97aabf1: Pulling fs layer 18:37:54 4872d77fe225: Pulling fs layer 18:37:54 5851b861e8e6: Pulling fs layer 18:37:54 988bab9f4d93: Waiting 18:37:54 1469e6f7b9e6: Waiting 18:37:54 eaf3925da568: Waiting 18:37:54 bab4dde63d76: Waiting 18:37:54 bde34c3a00c8: Waiting 18:37:54 b352a97aabf1: Waiting 18:37:54 4872d77fe225: Waiting 18:37:54 5851b861e8e6: Waiting 18:37:54 e2be974225ed: Verifying Checksum 18:37:54 e2be974225ed: Download complete 18:37:54 988bab9f4d93: Verifying Checksum 18:37:54 988bab9f4d93: Download complete 18:37:54 1469e6f7b9e6: Verifying Checksum 18:37:54 1469e6f7b9e6: Download complete 18:37:55 339a4e72a1f5: Verifying Checksum 18:37:55 339a4e72a1f5: Download complete 18:37:55 eaf3925da568: Verifying Checksum 18:37:55 eaf3925da568: Download complete 18:37:55 bde34c3a00c8: Verifying Checksum 18:37:55 bde34c3a00c8: Download complete 18:37:55 b352a97aabf1: Verifying Checksum 18:37:55 b352a97aabf1: Download complete 18:37:55 4872d77fe225: Download complete 18:37:55 5851b861e8e6: Verifying Checksum 18:37:55 5851b861e8e6: Download complete 18:37:55 b85a868b505f: Download complete 18:37:55 bab4dde63d76: Verifying Checksum 18:37:56 b85a868b505f: Pull complete 18:37:56 e2be974225ed: Pull complete 18:37:57 339a4e72a1f5: Pull complete 18:37:57 988bab9f4d93: Pull complete 18:37:57 1469e6f7b9e6: Pull complete 18:37:57 eaf3925da568: Pull complete 18:37:59 bab4dde63d76: Pull complete 18:37:59 bde34c3a00c8: Pull complete 18:37:59 b352a97aabf1: Pull complete 18:37:59 4872d77fe225: Pull complete 18:37:59 5851b861e8e6: Pull complete 18:37:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:37:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:37:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:37:59 prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container 18:37:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 18:38:04 $ docker top b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f -eo pid,comm 18:38:04 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). 18:38:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:38:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:38:04 [ssh-agent] Looking for ssh-agent implementation... 18:38:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:38:04 $ docker exec b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f ssh-agent 18:38:04 SSH_AUTH_SOCK=/tmp/ssh-RT06SFphOKQQ/agent.32 18:38:04 SSH_AGENT_PID=38 18:38:04 Running ssh-add (command line suppressed) 18:38:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_9671634344404890378.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_9671634344404890378.key) 18:38:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:38:05 + git tag --points-at HEAD [Pipeline] } 18:38:05 $ docker exec --env ******** --env ******** b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f ssh-agent -k 18:38:05 unset SSH_AUTH_SOCK; 18:38:05 unset SSH_AGENT_PID; 18:38:05 echo Agent pid 38 killed; 18:38:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:38:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:38:05 [ssh-agent] Looking for ssh-agent implementation... 18:38:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:38:05 $ docker exec b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f ssh-agent 18:38:05 SSH_AUTH_SOCK=/tmp/ssh-E55H3kV0G8KB/agent.70 18:38:05 SSH_AGENT_PID=76 18:38:05 Running ssh-add (command line suppressed) 18:38:05 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_15796075950857280160.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_15796075950857280160.key) 18:38:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:38:06 + git semver init 18:38:06 2023-11-14 18:38:06,399 [run_init] DEBUG init version:0.0.0 force:False 18:38:06 2023-11-14 18:38:06,400 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:38:06 2023-11-14 18:38:06,400 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver 18:38:06 2023-11-14 18:38:06,400 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) 18:38:08 2023-11-14 18:38:07,911 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude 18:38:08 2023-11-14 18:38:07,912 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False 18:38:08 2023-11-14 18:38:07,912 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:38:08 2023-11-14 18:38:07,917 [execute] INFO git cat-file --batch-check 18:38:08 2023-11-14 18:38:07,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) 18:38:08 2023-11-14 18:38:07,926 [execute] INFO git cat-file --batch 18:38:08 2023-11-14 18:38:07,926 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) 18:38:08 2023-11-14 18:38:07,933 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 18:38:08 0.0.0 [Pipeline] } 18:38:08 $ docker exec --env ******** --env ******** b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f ssh-agent -k 18:38:08 unset SSH_AUTH_SOCK; 18:38:08 unset SSH_AGENT_PID; 18:38:08 echo Agent pid 76 killed; 18:38:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:38:08 + git semver [Pipeline] } 18:38:09 $ docker stop --time=1 b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f 18:38:10 $ docker rm -f --volumes b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f [Pipeline] // withDockerContainer [Pipeline] sh 18:38:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:38:11 Stashed 1 file(s) [Pipeline] echo 18:38:11 [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 18:38:11 provisioning config files... 18:38:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config6798704615456277096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:12 ---> docker-login.sh 18:38:12 nexus3.edgexfoundry.org:10001 18:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:12 Configure a credential helper to remove this warning. See 18:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:12 18:38:12 Login Succeeded 18:38:12 nexus3.edgexfoundry.org:10002 18:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:12 Configure a credential helper to remove this warning. See 18:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:12 18:38:12 Login Succeeded 18:38:12 nexus3.edgexfoundry.org:10003 18:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:12 Configure a credential helper to remove this warning. See 18:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:12 18:38:12 Login Succeeded 18:38:12 nexus3.edgexfoundry.org:10004 18:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:12 Configure a credential helper to remove this warning. See 18:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:12 18:38:12 Login Succeeded 18:38:12 docker.io 18:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:38:12 Configure a credential helper to remove this warning. See 18:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:38:12 18:38:12 Login Succeeded 18:38:12 ---> docker-login.sh ends [Pipeline] } 18:38:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:38:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:38:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:38:12 ========================================================= 18:38:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:38:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:13 + 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 . 18:38:13 Sending build context to Docker daemon 21.94MB 18:38:13 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:38:13 Step 2/10 : FROM ${BASE} AS builder 18:38:13 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:38:13 7264a8db6415: Pulling fs layer 18:38:13 c4d48a809fc2: Pulling fs layer 18:38:13 4f1c88b9dad5: Pulling fs layer 18:38:13 ad3a456e5733: Pulling fs layer 18:38:13 69c7f0334f64: Pulling fs layer 18:38:13 1f1c1a5573a3: Pulling fs layer 18:38:13 ce7588e14bc9: Pulling fs layer 18:38:13 b5e4710f87ac: Pulling fs layer 18:38:13 ad3a456e5733: Waiting 18:38:13 69c7f0334f64: Waiting 18:38:13 1f1c1a5573a3: Waiting 18:38:13 ce7588e14bc9: Waiting 18:38:13 b5e4710f87ac: Waiting 18:38:13 c4d48a809fc2: Download complete 18:38:13 ad3a456e5733: Verifying Checksum 18:38:13 ad3a456e5733: Download complete 18:38:13 69c7f0334f64: Verifying Checksum 18:38:13 69c7f0334f64: Download complete 18:38:13 7264a8db6415: Download complete 18:38:13 1f1c1a5573a3: Verifying Checksum 18:38:13 1f1c1a5573a3: Download complete 18:38:13 7264a8db6415: Pull complete 18:38:13 c4d48a809fc2: Pull complete 18:38:13 b5e4710f87ac: Verifying Checksum 18:38:13 b5e4710f87ac: Download complete 18:38:14 4f1c88b9dad5: Verifying Checksum 18:38:14 4f1c88b9dad5: Download complete 18:38:14 ce7588e14bc9: Verifying Checksum 18:38:14 ce7588e14bc9: Download complete 18:38:17 4f1c88b9dad5: Pull complete 18:38:17 ad3a456e5733: Pull complete 18:38:17 69c7f0334f64: Pull complete 18:38:17 1f1c1a5573a3: Pull complete 18:38:19 ce7588e14bc9: Pull complete 18:38:20 b5e4710f87ac: Pull complete 18:38:20 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 18:38:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:38:20 ---> 88b5674ff536 18:38:20 Step 3/10 : ARG MAKE=make build 18:38:26 Still waiting to schedule task 18:38:26 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:38:32 ---> Running in 733d09e9612b 18:38:32 Removing intermediate container 733d09e9612b 18:38:32 ---> ff80afa79e32 18:38:32 Step 4/10 : WORKDIR /device-sdk-go 18:38:32 ---> Running in d965cab1586b 18:38:32 Removing intermediate container d965cab1586b 18:38:32 ---> 0481e0ff5e9b 18:38:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:38:32 ---> Running in 00953daebd9b 18:38:32 Removing intermediate container 00953daebd9b 18:38:32 ---> 52b60ceb4a8a 18:38:32 Step 6/10 : RUN apk add --update --no-cache make git 18:38:32 ---> Running in fbb511fbb615 18:38:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:38:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:38:32 OK: 264 MiB in 52 packages 18:38:32 Removing intermediate container fbb511fbb615 18:38:32 ---> e5e039ed440f 18:38:32 Step 7/10 : COPY go.mod vendor* ./ 18:38:32 ---> 8299eca06676 18:38:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:38:32 ---> Running in 3336675cea1f 18:39:28 Removing intermediate container 3336675cea1f 18:39:28 ---> bfbe48d42175 18:39:28 Step 9/10 : COPY . . 18:39:28 ---> b242f7c7a9ad 18:39:28 Step 10/10 : RUN ${MAKE} 18:39:28 ---> Running in d6104be9a1b2 18:39:28 noop 18:39:28 Removing intermediate container d6104be9a1b2 18:39:28 ---> 6b8de2af4bd1 18:39:28 Successfully built 6b8de2af4bd1 18:39:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:29 + docker inspect -f . ci-base-image-x86_64 18:39:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:29 prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container 18:39:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 18:39:29 $ docker top 57837dd85bd25b8f4975bdc65e643d6b29dbbd9a5a4ae195d8e6a2e99402bd4f -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:30 + go version 18:39:30 go version go1.21.0 linux/amd64 [Pipeline] } 18:39:30 $ docker stop --time=1 57837dd85bd25b8f4975bdc65e643d6b29dbbd9a5a4ae195d8e6a2e99402bd4f 18:39:31 $ docker rm -f --volumes 57837dd85bd25b8f4975bdc65e643d6b29dbbd9a5a4ae195d8e6a2e99402bd4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:32 + docker inspect -f . ci-base-image-x86_64 18:39:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:32 prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container 18:39:32 $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 18:39:32 $ docker top 1be9fdc4d6c09ee6670ddd2037805d03ce67190a70e148cca8cace9af8f991d1 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:33 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh 18:39:33 + make test 18:39:33 go test -race -coverprofile=coverage.out ./... 18:39:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:39:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:39:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:39:52 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:39:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:39:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:39:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:39:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:39:52 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:39:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.059s coverage: 27.6% of statements 18:39:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.045s coverage: 81.5% of statements 18:39:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.071s coverage: 86.0% of statements 18:39:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.060s coverage: 71.8% of statements 18:39:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:39:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:39:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:39:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements 18:39:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.968s coverage: 45.9% of statements 18:39:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.063s coverage: 68.5% of statements 18:39:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.106s coverage: 89.2% of statements 18:39:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 18:40:15 GO111MODULE=on go vet ./... 18:40:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:40:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:40:16 ./bin/test-attribution-txt.sh [Pipeline] echo 18:40:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:40:16 $ docker stop --time=1 1be9fdc4d6c09ee6670ddd2037805d03ce67190a70e148cca8cace9af8f991d1 18:40:24 $ docker rm -f --volumes 1be9fdc4d6c09ee6670ddd2037805d03ce67190a70e148cca8cace9af8f991d1 [Pipeline] // withDockerContainer [Pipeline] sh 18:40:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:40:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:40:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:40:25 + ls -al . 18:40:25 total 308 18:40:25 drwxrwxr-x 11 jenkins jenkins 4096 Nov 14 18:39 . 18:40:25 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:37 .. 18:40:25 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 18:37 .dockerignore 18:40:25 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:39 .git 18:40:25 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:37 .github 18:40:25 -rw-rw-r-- 1 jenkins jenkins 137 Nov 14 18:37 .gitignore 18:40:25 -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 18:37 .golangci.yml 18:40:25 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:38 .semver 18:40:25 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 14 18:37 CHANGELOG.md 18:40:25 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:37 GOVERNANCE.md 18:40:25 -rw-rw-r-- 1 jenkins jenkins 885 Nov 14 18:37 Jenkinsfile 18:40:25 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 14 18:37 LICENSE 18:40:25 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 14 18:37 Makefile 18:40:25 -rw-rw-r-- 1 jenkins jenkins 619 Nov 14 18:37 OWNERS.md 18:40:25 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 14 18:37 README.md 18:40:25 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:38 VERSION 18:40:25 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:37 bin 18:40:25 -rw-r--r-- 1 jenkins jenkins 122153 Nov 14 18:39 coverage.out 18:40:25 drwxrwxr-x 5 jenkins jenkins 4096 Nov 14 18:37 example 18:40:25 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 14 18:37 go.mod 18:40:25 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 14 18:37 go.sum 18:40:25 drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:37 internal 18:40:25 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:37 openapi 18:40:25 drwxrwxr-x 6 jenkins jenkins 4096 Nov 14 18:37 pkg 18:40:25 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:37 snap 18:40:25 -rw-rw-r-- 1 jenkins jenkins 222 Nov 14 18:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:40:26 + 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=bb3b780b49bdb40d95a497fa6cff623f428380a1 --label arch=amd64 --label version=0.0.0 . 18:40:26 Sending build context to Docker daemon 22.06MB 18:40:26 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:40:26 Step 2/24 : FROM ${BASE} AS builder 18:40:26 ---> 6b8de2af4bd1 18:40:26 Step 3/24 : ARG MAKE=make build 18:40:27 ---> Running in 9a4789e64a1a 18:40:27 Removing intermediate container 9a4789e64a1a 18:40:27 ---> f19d8af61e3b 18:40:27 Step 4/24 : WORKDIR /device-sdk-go 18:40:27 ---> Running in 58187195d412 18:40:27 Removing intermediate container 58187195d412 18:40:27 ---> 0e8b967c2008 18:40:27 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:40:27 ---> Running in 6b94a79812aa 18:40:27 Removing intermediate container 6b94a79812aa 18:40:27 ---> 91921efd48cb 18:40:27 Step 6/24 : RUN apk add --update --no-cache make git 18:40:27 ---> Running in 1c458211a67c 18:40:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:40:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:40:28 OK: 264 MiB in 52 packages 18:40:28 Removing intermediate container 1c458211a67c 18:40:28 ---> d110e55564ab 18:40:28 Step 7/24 : COPY go.mod vendor* ./ 18:40:28 ---> 67d9be2c3411 18:40:28 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:40:28 ---> Running in 47b1f32dbe15 18:40:29 Removing intermediate container 47b1f32dbe15 18:40:29 ---> 06ab8fa7ad61 18:40:29 Step 9/24 : COPY . . 18:40:30 ---> ba7f119ecced 18:40:30 Step 10/24 : RUN ${MAKE} 18:40:30 ---> Running in 6052ee2c05b0 18:40:31 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 18:40:53 Removing intermediate container 6052ee2c05b0 18:40:53 ---> e2847d0d87a3 18:40:53 Step 11/24 : FROM alpine:3.18 18:40:53 3.18: Pulling from library/alpine 18:40:53 96526aa774ef: Pulling fs layer 18:40:53 96526aa774ef: Verifying Checksum 18:40:53 96526aa774ef: Download complete 18:40:54 96526aa774ef: Pull complete 18:40:54 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:40:54 Status: Downloaded newer image for alpine:3.18 18:40:54 ---> 8ca4688f4f35 18:40:54 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:40:54 ---> Running in 770f0b7beed6 18:40:54 Removing intermediate container 770f0b7beed6 18:40:54 ---> cf9e169236a0 18:40:54 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:40:54 ---> Running in 58226c838398 18:40:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:40:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:40:55 (1/1) Installing dumb-init (1.2.5-r2) 18:40:55 Executing busybox-1.36.1-r2.trigger 18:40:55 OK: 7 MiB in 16 packages 18:40:55 Removing intermediate container 58226c838398 18:40:55 ---> 7db166fc04c5 18:40:55 Step 14/24 : RUN apk --no-cache upgrade 18:40:55 ---> Running in be033e5f22d8 18:40:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:40:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:40:56 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 18:40:56 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 18:40:56 Executing busybox-1.36.1-r5.post-upgrade 18:40:56 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 18:40:56 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 18:40:56 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 18:40:56 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 18:40:56 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 18:40:56 Executing busybox-1.36.1-r5.trigger 18:40:56 OK: 7 MiB in 16 packages 18:40:57 Removing intermediate container be033e5f22d8 18:40:57 ---> 1a6f7b988a70 18:40:57 Step 15/24 : WORKDIR / 18:40:57 ---> Running in 189ed7670737 18:40:57 Removing intermediate container 189ed7670737 18:40:57 ---> ff3a6996a1a4 18:40:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:40:57 ---> 1de4b3ca4c34 18:40:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:40:58 ---> 6be99cd355ec 18:40:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:40:58 ---> cb9419cbfa73 18:40:58 Step 19/24 : EXPOSE 59999 18:40:58 ---> Running in 93e6af5079eb 18:40:58 Removing intermediate container 93e6af5079eb 18:40:58 ---> 99e2f35e9659 18:40:58 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:40:58 ---> Running in 3d5b5d7de7ba 18:40:58 Removing intermediate container 3d5b5d7de7ba 18:40:58 ---> 79d9002de2b1 18:40:58 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:40:58 ---> Running in 5db788243c25 18:40:58 Removing intermediate container 5db788243c25 18:40:58 ---> 678e299ddb1d 18:40:58 Step 22/24 : LABEL arch=amd64 18:40:58 ---> Running in 38f01da1229c 18:40:58 Removing intermediate container 38f01da1229c 18:40:58 ---> a741d7676f18 18:40:58 Step 23/24 : LABEL git_sha=bb3b780b49bdb40d95a497fa6cff623f428380a1 18:40:58 ---> Running in 48b2cd2195a2 18:40:58 Removing intermediate container 48b2cd2195a2 18:40:58 ---> 5f406b07bea2 18:40:58 Step 24/24 : LABEL version=0.0.0 18:40:59 ---> Running in b300345ee706 18:40:59 Removing intermediate container b300345ee706 18:40:59 ---> 37c63d9ec69b 18:40:59 [Warning] One or more build-args [ARCH] were not consumed 18:40:59 Successfully built 37c63d9ec69b 18:40:59 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 18:40:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:40:59 18:40:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:00 latest: Pulling from edgex-lftools-log-publisher 18:41:00 5eb5b503b376: Pulling fs layer 18:41:00 5c69ac0246d0: Pulling fs layer 18:41:00 ec43610c2a17: Pulling fs layer 18:41:00 3a2ae6a8a46f: Pulling fs layer 18:41:00 33b1e0a273af: Pulling fs layer 18:41:00 5d3b04190fa2: Pulling fs layer 18:41:00 2f39f015ded8: Pulling fs layer 18:41:00 2f39f015ded8: Waiting 18:41:00 33b1e0a273af: Waiting 18:41:00 5d3b04190fa2: Waiting 18:41:00 3a2ae6a8a46f: Waiting 18:41:00 5c69ac0246d0: Verifying Checksum 18:41:00 5c69ac0246d0: Download complete 18:41:00 3a2ae6a8a46f: Verifying Checksum 18:41:00 3a2ae6a8a46f: Download complete 18:41:00 33b1e0a273af: Verifying Checksum 18:41:00 33b1e0a273af: Download complete 18:41:00 ec43610c2a17: Verifying Checksum 18:41:00 ec43610c2a17: Download complete 18:41:00 5d3b04190fa2: Download complete 18:41:00 5eb5b503b376: Verifying Checksum 18:41:00 5eb5b503b376: Download complete 18:41:01 2f39f015ded8: Verifying Checksum 18:41:01 2f39f015ded8: Download complete 18:41:01 5eb5b503b376: Pull complete 18:41:01 5c69ac0246d0: Pull complete 18:41:02 ec43610c2a17: Pull complete 18:41:02 3a2ae6a8a46f: Pull complete 18:41:02 33b1e0a273af: Pull complete 18:41:02 5d3b04190fa2: Pull complete 18:41:06 2f39f015ded8: Pull complete 18:41:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:41:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:41:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:06 prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container 18:41:06 $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 18:41:16 $ docker top e04aa5784bbd2746cc98a40386617baeeaf48bba2ee7aab0df28dd129cbad90c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:17 ---> job-cost.sh 18:41:17 lf-activate-venv: SKIPPING 18:41:17 INFO: No Stack... 18:41:17 INFO: Retrieving Pricing Info for: v3-standard-8 18:41:17 INFO: Archiving Costs [Pipeline] sh 18:41:17 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv 18:41:17 + cut -d, -f6 [Pipeline] lock 18:41:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] 18:41:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] did not exist. Created. 18:41:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:41:18 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17512 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws 18:41:18 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 18:41:18 + echo total: 0.2199999988079071 18:41:18 The recommended git tool is: git [Pipeline] stash 18:41:18 Stashed 1 file(s) [Pipeline] } 18:41:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:41:18 $ docker stop --time=1 e04aa5784bbd2746cc98a40386617baeeaf48bba2ee7aab0df28dd129cbad90c 18:41:19 $ docker rm -f --volumes e04aa5784bbd2746cc98a40386617baeeaf48bba2ee7aab0df28dd129cbad90c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:41:27 using credential edgex-jenkins-ssh 18:41:27 Cloning the remote Git repository 18:41:28 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:41:28 > git init /w/workspace/device-sdk-go/1 # timeout=10 18:41:28 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:41:28 > git --version # timeout=10 18:41:28 > git --version # 'git version 2.25.1' 18:41:28 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:41:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:41:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:41:33 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 18:41:33 Merge succeeded, producing bb3b780b49bdb40d95a497fa6cff623f428380a1 18:41:33 Checking out Revision bb3b780b49bdb40d95a497fa6cff623f428380a1 (PR-1540) 18:41:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:41:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:41:32 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:41:33 > git config core.sparsecheckout # timeout=10 18:41:33 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 18:41:33 > git remote # timeout=10 18:41:33 > git config --get remote.origin.url # timeout=10 18:41:33 using GIT_SSH to set credentials SSH Credentials for GitHub 18:41:33 > git merge 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 18:41:33 > git rev-parse HEAD^{commit} # timeout=10 18:41:33 > git config core.sparsecheckout # timeout=10 18:41:33 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 18:41:37 Commit message: "fix: Address CVE in Alpine base image" 18:41:37 > git --version # timeout=10 18:41:37 > git --version # 'git version 2.25.1' 18:41:37 fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:41:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:41:38 Dload Upload Total Spent Left Speed 18:41:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 84546 [Pipeline] sh 18:41:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:41:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:41:39 + sudo tee /etc/docker/daemon.new 18:41:39 { 18:41:39 "registry-mirrors": [ 18:41:39 "https://nexus3.edgexfoundry.org:10001" 18:41:39 ], 18:41:39 "bip": "10.250.0.254/24", 18:41:39 "hosts": [ 18:41:39 "tcp://0.0.0.0:5555", 18:41:39 "unix:///var/run/docker.sock" 18:41:39 ], 18:41:39 "mtu": 1458, 18:41:39 "selinux-enabled": true, 18:41:39 "seccomp-profile": "/etc/docker/seccomp.json" 18:41:39 } [Pipeline] sh 18:41:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:41:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:58 provisioning config files... 18:41:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16105673383734801321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:59 ---> docker-login.sh 18:41:59 nexus3.edgexfoundry.org:10001 18:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10002 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10003 18:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:00 Configure a credential helper to remove this warning. See 18:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:00 18:42:00 Login Succeeded 18:42:00 nexus3.edgexfoundry.org:10004 18:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:01 Configure a credential helper to remove this warning. See 18:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:01 18:42:01 Login Succeeded 18:42:01 docker.io 18:42:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:01 Configure a credential helper to remove this warning. See 18:42:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:01 18:42:01 Login Succeeded 18:42:01 ---> docker-login.sh ends [Pipeline] } 18:42:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:02 ========================================================= 18:42:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:42:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:02 + 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 . 18:42:05 Sending build context to Docker daemon 11.38MB 18:42:05 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:42:05 Step 2/10 : FROM ${BASE} AS builder 18:42:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:42:05 9fda8d8052c6: Pulling fs layer 18:42:05 5d54e960e981: Pulling fs layer 18:42:05 c4a7e357bf2a: Pulling fs layer 18:42:05 f0e02332f6b5: Pulling fs layer 18:42:05 872ee5b61b7b: Pulling fs layer 18:42:05 0c6a40ed1a82: Pulling fs layer 18:42:05 94ae7d8d031c: Pulling fs layer 18:42:05 872ee5b61b7b: Waiting 18:42:05 0c6a40ed1a82: Waiting 18:42:05 f0e02332f6b5: Waiting 18:42:05 94ae7d8d031c: Waiting 18:42:05 5d54e960e981: Verifying Checksum 18:42:05 5d54e960e981: Download complete 18:42:06 9fda8d8052c6: Verifying Checksum 18:42:06 9fda8d8052c6: Download complete 18:42:06 f0e02332f6b5: Verifying Checksum 18:42:06 f0e02332f6b5: Download complete 18:42:06 872ee5b61b7b: Verifying Checksum 18:42:06 872ee5b61b7b: Download complete 18:42:06 94ae7d8d031c: Verifying Checksum 18:42:06 94ae7d8d031c: Download complete 18:42:06 9fda8d8052c6: Pull complete 18:42:07 5d54e960e981: Pull complete 18:42:08 c4a7e357bf2a: Verifying Checksum 18:42:08 c4a7e357bf2a: Download complete 18:42:09 0c6a40ed1a82: Verifying Checksum 18:42:09 0c6a40ed1a82: Download complete 18:42:21 c4a7e357bf2a: Pull complete 18:42:21 f0e02332f6b5: Pull complete 18:42:21 872ee5b61b7b: Pull complete 18:42:29 0c6a40ed1a82: Pull complete 18:42:34 94ae7d8d031c: Pull complete 18:42:34 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 18:42:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:42:34 ---> 86de565de09d 18:42:34 Step 3/10 : ARG MAKE=make build 18:42:35 ---> Running in a4c8bdf751eb 18:42:35 Removing intermediate container a4c8bdf751eb 18:42:35 ---> 31cd0e6900f6 18:42:35 Step 4/10 : WORKDIR /device-sdk-go 18:42:36 ---> Running in 5e0e54414977 18:42:36 Removing intermediate container 5e0e54414977 18:42:36 ---> 20a06da1f1b0 18:42:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:36 ---> Running in 9bad6a9e4e00 18:42:36 Removing intermediate container 9bad6a9e4e00 18:42:36 ---> 24d2d6d85acc 18:42:36 Step 6/10 : RUN apk add --update --no-cache make git 18:42:36 ---> Running in 119fdb24d3ae 18:42:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:42:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:42:39 OK: 266 MiB in 52 packages 18:42:40 Removing intermediate container 119fdb24d3ae 18:42:40 ---> 621792bf6741 18:42:40 Step 7/10 : COPY go.mod vendor* ./ 18:42:41 ---> 4d18e03766ef 18:42:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:41 ---> Running in 84dd07713dcb 18:44:02 Removing intermediate container 84dd07713dcb 18:44:02 ---> 59ecf18dbc27 18:44:02 Step 9/10 : COPY . . 18:44:02 ---> 89900b0f3cac 18:44:02 Step 10/10 : RUN ${MAKE} 18:44:02 ---> Running in c9d11b64da8e 18:44:02 noop 18:44:02 Removing intermediate container c9d11b64da8e 18:44:02 ---> 11e91d90f7da 18:44:02 Successfully built 11e91d90f7da 18:44:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:03 + docker inspect -f . ci-base-image-arm64 18:44:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:03 prd-ubuntu20.04-docker-arm64-4c-16g-17512 does not seem to be running inside a container 18:44:03 $ 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 18:44:04 $ docker top fcf56e28ca5d1fa18c5da8063b83e8d0a0a90a66bf36a9ac8a86ea5f2304e480 -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:05 + go version 18:44:05 go version go1.21.0 linux/arm64 [Pipeline] } 18:44:05 $ docker stop --time=1 fcf56e28ca5d1fa18c5da8063b83e8d0a0a90a66bf36a9ac8a86ea5f2304e480 18:44:07 $ docker rm -f --volumes fcf56e28ca5d1fa18c5da8063b83e8d0a0a90a66bf36a9ac8a86ea5f2304e480 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:08 + docker inspect -f . ci-base-image-arm64 18:44:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:08 prd-ubuntu20.04-docker-arm64-4c-16g-17512 does not seem to be running inside a container 18:44:08 $ 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 18:44:10 $ docker top 2236ce78bc662f53223bdfe248c4bb5334d1677f8090be2448ed0d576a610bff -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:11 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 18:44:11 + make test 18:44:11 go test -race -coverprofile=coverage.out ./... 18:44:58 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:46:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:46:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:46:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:46:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:46:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:46:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.230s coverage: 27.6% of statements 18:47:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.302s coverage: 81.5% of statements 18:47:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:47:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:47:13 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.374s coverage: 86.0% of statements 18:47:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:47:20 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.452s coverage: 71.8% of statements 18:47:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.290s coverage: 14.4% of statements 18:47:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.980s coverage: 45.9% of statements 18:47:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:47:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:47:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.398s coverage: 68.5% of statements 18:47:28 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.439s coverage: 89.2% of statements 18:47:29 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:47:31 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.5% of statements 18:47:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:47:31 GO111MODULE=on go vet ./... 18:49:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:49:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:49:23 ./bin/test-attribution-txt.sh [Pipeline] echo 18:49:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:49:23 $ docker stop --time=1 2236ce78bc662f53223bdfe248c4bb5334d1677f8090be2448ed0d576a610bff 18:49:25 $ docker rm -f --volumes 2236ce78bc662f53223bdfe248c4bb5334d1677f8090be2448ed0d576a610bff [Pipeline] // withDockerContainer [Pipeline] sh 18:49:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:49:27 Warning: overwriting stash ‘coverage-report’ 18:49:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:49:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:49:28 + ls -al . 18:49:28 total 304 18:49:28 drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:44 . 18:49:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:41 .. 18:49:28 -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 18:41 .dockerignore 18:49:28 drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:41 .git 18:49:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:41 .github 18:49:28 -rw-rw-r-- 1 jenkins jenkins 137 Nov 14 18:41 .gitignore 18:49:28 -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 18:41 .golangci.yml 18:49:28 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 14 18:41 CHANGELOG.md 18:49:28 -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:41 GOVERNANCE.md 18:49:28 -rw-rw-r-- 1 jenkins jenkins 885 Nov 14 18:41 Jenkinsfile 18:49:28 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 14 18:41 LICENSE 18:49:28 -rw-rw-r-- 1 jenkins jenkins 1842 Nov 14 18:41 Makefile 18:49:28 -rw-rw-r-- 1 jenkins jenkins 619 Nov 14 18:41 OWNERS.md 18:49:28 -rw-rw-r-- 1 jenkins jenkins 4933 Nov 14 18:41 README.md 18:49:28 -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:38 VERSION 18:49:28 drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:41 bin 18:49:28 -rw-r--r-- 1 jenkins jenkins 122153 Nov 14 18:47 coverage.out 18:49:28 drwxrwxr-x 5 jenkins jenkins 4096 Nov 14 18:41 example 18:49:28 -rw-rw-r-- 1 jenkins jenkins 3683 Nov 14 18:41 go.mod 18:49:28 -rw-rw-r-- 1 jenkins jenkins 34197 Nov 14 18:41 go.sum 18:49:28 drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:41 internal 18:49:28 drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:41 openapi 18:49:28 drwxrwxr-x 6 jenkins jenkins 4096 Nov 14 18:41 pkg 18:49:28 drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:41 snap 18:49:28 -rw-rw-r-- 1 jenkins jenkins 222 Nov 14 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:49:29 + 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=bb3b780b49bdb40d95a497fa6cff623f428380a1 --label arch=arm64 --label version=0.0.0 . 18:49:29 Sending build context to Docker daemon 11.5MB 18:49:29 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:49:29 Step 2/24 : FROM ${BASE} AS builder 18:49:29 ---> 11e91d90f7da 18:49:29 Step 3/24 : ARG MAKE=make build 18:49:30 ---> Running in 99e574f59b86 18:49:30 Removing intermediate container 99e574f59b86 18:49:30 ---> 74a7888d2f4d 18:49:30 Step 4/24 : WORKDIR /device-sdk-go 18:49:30 ---> Running in fb148b983c84 18:49:30 Removing intermediate container fb148b983c84 18:49:30 ---> 6ef39c056ec9 18:49:30 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:49:30 ---> Running in 1a61adbca4a1 18:49:31 Removing intermediate container 1a61adbca4a1 18:49:31 ---> 4dc1fd0595e7 18:49:31 Step 6/24 : RUN apk add --update --no-cache make git 18:49:31 ---> Running in c4d5bfb3af84 18:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:49:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:49:34 OK: 266 MiB in 52 packages 18:49:35 Removing intermediate container c4d5bfb3af84 18:49:35 ---> 02b28bbc463c 18:49:35 Step 7/24 : COPY go.mod vendor* ./ 18:49:35 ---> 786f4f837de2 18:49:35 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:49:35 ---> Running in df72614983c7 18:49:37 Removing intermediate container df72614983c7 18:49:37 ---> a05b99643109 18:49:37 Step 9/24 : COPY . . 18:49:38 ---> 1eb6a39b63ba 18:49:38 Step 10/24 : RUN ${MAKE} 18:49:39 ---> Running in 9a2bf131d376 18:49:40 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 18:51:46 Removing intermediate container 9a2bf131d376 18:51:46 ---> fb2b345d41ab 18:51:46 Step 11/24 : FROM alpine:3.18 18:51:47 3.18: Pulling from library/alpine 18:51:47 579b34f0a95b: Pulling fs layer 18:51:47 579b34f0a95b: Verifying Checksum 18:51:47 579b34f0a95b: Download complete 18:51:48 579b34f0a95b: Pull complete 18:51:48 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:51:48 Status: Downloaded newer image for alpine:3.18 18:51:48 ---> 3cc203321400 18:51:48 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:51:48 ---> Running in aa0471f1f079 18:51:48 Removing intermediate container aa0471f1f079 18:51:48 ---> ba85219485b6 18:51:48 Step 13/24 : RUN apk add --update --no-cache dumb-init 18:51:48 ---> Running in 32ef366d5f45 18:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:51:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:51:52 (1/1) Installing dumb-init (1.2.5-r2) 18:51:52 Executing busybox-1.36.1-r2.trigger 18:51:52 OK: 8 MiB in 16 packages 18:51:53 Removing intermediate container 32ef366d5f45 18:51:53 ---> f3b134356312 18:51:53 Step 14/24 : RUN apk --no-cache upgrade 18:51:53 ---> Running in 297cd4e0c8cd 18:51:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:51:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:51:55 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 18:51:55 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 18:51:55 Executing busybox-1.36.1-r5.post-upgrade 18:51:55 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 18:51:55 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 18:51:55 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 18:51:55 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 18:51:55 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 18:51:55 Executing busybox-1.36.1-r5.trigger 18:51:55 OK: 8 MiB in 16 packages 18:51:57 Removing intermediate container 297cd4e0c8cd 18:51:57 ---> 5b9f9c1ea3f0 18:51:57 Step 15/24 : WORKDIR / 18:51:57 ---> Running in 283ff656e879 18:51:57 Removing intermediate container 283ff656e879 18:51:57 ---> 128361d26f02 18:51:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:51:58 ---> 47018f17c6cc 18:51:58 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:52:00 ---> 0e3b7867daf9 18:52:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:52:00 ---> aab8dad32dfb 18:52:00 Step 19/24 : EXPOSE 59999 18:52:00 ---> Running in 77bfb9f0fa8c 18:52:00 Removing intermediate container 77bfb9f0fa8c 18:52:00 ---> b83b3284102c 18:52:00 Step 20/24 : ENTRYPOINT ["/device-simple"] 18:52:01 ---> Running in 1609cdb99571 18:52:01 Removing intermediate container 1609cdb99571 18:52:01 ---> 63fcec222aeb 18:52:01 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:52:01 ---> Running in 542f5ba12138 18:52:01 Removing intermediate container 542f5ba12138 18:52:01 ---> d7da1db8264c 18:52:01 Step 22/24 : LABEL arch=arm64 18:52:01 ---> Running in 7ae09f1d46eb 18:52:02 Removing intermediate container 7ae09f1d46eb 18:52:02 ---> a13893ed56b7 18:52:02 Step 23/24 : LABEL git_sha=bb3b780b49bdb40d95a497fa6cff623f428380a1 18:52:02 ---> Running in 8832c4827209 18:52:02 Removing intermediate container 8832c4827209 18:52:02 ---> 4c53f1f680d7 18:52:02 Step 24/24 : LABEL version=0.0.0 18:52:02 ---> Running in acefb1aaac99 18:52:03 Removing intermediate container acefb1aaac99 18:52:03 ---> 26176cb10076 18:52:03 [Warning] One or more build-args [ARCH] were not consumed 18:52:03 Successfully built 26176cb10076 18:52:03 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 18:52:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:52:03 18:52:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:52:07 arm64: Pulling from edgex-lftools-log-publisher 18:52:07 8998bd30e6a1: Pulling fs layer 18:52:07 04944245beec: Pulling fs layer 18:52:07 699f458cf7ca: Pulling fs layer 18:52:07 765212b225bb: Pulling fs layer 18:52:07 f23df028b6ca: Pulling fs layer 18:52:07 d65c8cfc05b1: Pulling fs layer 18:52:07 2437ff75d9bd: Pulling fs layer 18:52:07 765212b225bb: Waiting 18:52:07 f23df028b6ca: Waiting 18:52:07 d65c8cfc05b1: Waiting 18:52:07 2437ff75d9bd: Waiting 18:52:07 04944245beec: Verifying Checksum 18:52:07 04944245beec: Download complete 18:52:07 765212b225bb: Verifying Checksum 18:52:07 765212b225bb: Download complete 18:52:07 f23df028b6ca: Verifying Checksum 18:52:07 f23df028b6ca: Download complete 18:52:07 d65c8cfc05b1: Verifying Checksum 18:52:07 d65c8cfc05b1: Download complete 18:52:07 699f458cf7ca: Verifying Checksum 18:52:07 699f458cf7ca: Download complete 18:52:08 8998bd30e6a1: Verifying Checksum 18:52:08 8998bd30e6a1: Download complete 18:52:10 2437ff75d9bd: Verifying Checksum 18:52:10 2437ff75d9bd: Download complete 18:52:13 8998bd30e6a1: Pull complete 18:52:13 04944245beec: Pull complete 18:52:14 699f458cf7ca: Pull complete 18:52:15 765212b225bb: Pull complete 18:52:16 f23df028b6ca: Pull complete 18:52:16 d65c8cfc05b1: Pull complete 18:52:38 2437ff75d9bd: Pull complete 18:52:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:52:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:52:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:38 prd-ubuntu20.04-docker-arm64-4c-16g-17512 does not seem to be running inside a container 18:52:38 $ 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 18:52:42 $ docker top a4858c1c86188d109ca68d572b93fb83a1c7b14d8e7cd2d4804dae28cc431e04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:43 ---> job-cost.sh 18:52:43 lf-activate-venv: SKIPPING 18:52:43 INFO: No Stack... 18:52:43 INFO: Retrieving Pricing Info for: v3-standard-4 18:52:44 INFO: Archiving Costs [Pipeline] sh 18:52:45 + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 18:52:45 [Pipeline] lock 18:52:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] 18:52:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] did not exist. Created. 18:52:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:46 /w/workspace/device-sdk-go/1@tmp/durable-9dd14be1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:52:46 + echo total: 0.10999999940395355 [Pipeline] stash 18:52:46 Warning: overwriting stash ‘stack-cost’ 18:52:46 Stashed 1 file(s) [Pipeline] } 18:52:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:52:47 $ docker stop --time=1 a4858c1c86188d109ca68d572b93fb83a1c7b14d8e7cd2d4804dae28cc431e04 18:52:51 $ docker rm -f --volumes a4858c1c86188d109ca68d572b93fb83a1c7b14d8e7cd2d4804dae28cc431e04 [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 18:52:52 provisioning config files... 18:52:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config13250037864281172115tmp [Pipeline] { [Pipeline] sh 18:52:52 + set +x 18:52:52 + curl -s https://codecov.io/bash 18:52:52 + bash -s -- 18:52:52 18:52:52 _____ _ 18:52:52 / ____| | | 18:52:52 | | ___ __| | ___ ___ _____ __ 18:52:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:52:52 | |___| (_) | (_| | __/ (_| (_) \ V / 18:52:52 \_____\___/ \__,_|\___|\___\___/ \_/ 18:52:52 Bash-1.0.6 18:52:52 18:52:52 18:52:52 ==> git version 2.25.1 found 18:52:52 ==> 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 18:52:52 Release-Date: 2020-01-08 18:52:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:52:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:52:52 ==> Jenkins CI detected. 18:52:52 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 18:52:52 project root: . 18:52:52 --> token set from env 18:52:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:52:52 ==> Running gcov in . (disable via -X gcov) 18:52:52 ==> Python coveragepy not found 18:52:52 ==> Searching for coverage reports in: 18:52:52 + . 18:52:52 -> Found 1 reports 18:52:52 ==> Detecting git/mercurial file structure 18:52:52 ==> Reading reports 18:52:52 + ./coverage.out bytes=122153 18:52:52 ==> Appending adjustments 18:52:52 https://docs.codecov.io/docs/fixing-reports 18:52:53 + Found adjustments 18:52:53 ==> Gzipping contents 18:52:53 20K /tmp/codecov.J9jjvx.gz 18:52:53 ==> Uploading reports 18:52:53 url: https://codecov.io 18:52:53 query: branch=PR-1540&commit=bb3b780b49bdb40d95a497fa6cff623f428380a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= 18:52:53 -> Pinging Codecov 18:52:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1540&commit=bb3b780b49bdb40d95a497fa6cff623f428380a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= 18:52:53 -> Uploading to 18:52:53 https://storage.googleapis.com/codecov/v4/raw/2023-11-14/7E55EF52A471D76F132DFD9A03CDDE97/bb3b780b49bdb40d95a497fa6cff623f428380a1/3f1776f6-6e8c-407c-aeee-816dbb213094.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T185253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=558bbc24ab9d347a338be20ff0dc167737d6927f4d3e4635efc85dd9ab8465e8 18:52:53 % Total % Received % Xferd Average Speed Time Time Time Current 18:52:53 Dload Upload Total Spent Left Speed 18:52:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 69202 --:--:-- --:--:-- --:--:-- 69202 18:52:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] } 18:52:53 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 18:52:55 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] 18:52:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:52:55 total 16 18:52:55 drwxr-xr-x 3 root root 4096 Nov 14 18:41 . 18:52:55 drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:41 .. 18:52:55 drwxr-xr-x 2 root root 4096 Nov 14 18:41 cost 18:52:55 -rw-r--r-- 1 root root 86 Nov 14 18:41 cost.csv 18:52:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:52:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives 18:52:55 total 16 18:52:55 drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:41 . 18:52:55 drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:41 .. 18:52:55 drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:41 cost 18:52:55 -rw-r--r-- 1 jenkins jenkins 86 Nov 14 18:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:52:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:52:56 ---> package-listing.sh 18:52:56 ++ tr '[:upper:]' '[:lower:]' 18:52:56 ++ facter osfamily 18:52:56 + OS_FAMILY=debian 18:52:56 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 18:52:56 + START_PACKAGES=/tmp/packages_start.txt 18:52:56 + END_PACKAGES=/tmp/packages_end.txt 18:52:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:52:56 + PACKAGES=/tmp/packages_start.txt 18:52:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 18:52:56 + PACKAGES=/tmp/packages_end.txt 18:52:56 + case "${OS_FAMILY}" in 18:52:56 + dpkg -l 18:52:56 + grep '^ii' 18:52:56 + '[' -f /tmp/packages_start.txt ']' 18:52:56 + '[' -f /tmp/packages_end.txt ']' 18:52:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:52:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' 18:52:56 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ 18:52:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo 18:52:56 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:52:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:57 prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container 18:52:58 $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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 18:52:58 $ docker top 7256f998131232157aa216ca85b1bd5063931de42bb974ce2819ff72dfc66519 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:58 + touch /tmp/pre-build-complete [Pipeline] sh 18:52:58 + mkdir -p /var/log/sysstat [Pipeline] sh 18:52:59 + ls /var/log/sa-host 18:52:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:52:59 provisioning config files... 18:52:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config16817749849339328751tmp [Pipeline] { [Pipeline] echo 18:52:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:52:59 ---> create-netrc.sh [Pipeline] } 18:52:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:53:00 ---> python-tools-install.sh [Pipeline] echo 18:53:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:53:00 ---> sudo-logs.sh 18:53:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:53:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:53:00 ---> job-cost.sh 18:53:00 lf-activate-venv: SKIPPING 18:53:00 DEBUG: total: 0.2199999988079071 18:53:00 INFO: Retrieving Stack Cost... 18:53:01 INFO: Retrieving Pricing Info for: v3-standard-8 18:53:01 INFO: Archiving Costs [Pipeline] echo 18:53:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:53:02 ---> logs-deploy.sh 18:53:02 lf-activate-venv: SKIPPING 18:53:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/1 18:53:02 INFO: archiving workspace using pattern(s): 18:53:03 Archives upload complete. 18:53:03 INFO: archiving logs to Nexus