Pull request #1549 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 90fff5e947a8167fddb41c8409ac9ae704315f04+4eb5e29dea1939910f88077e170bd5bcfca266de (48b82f3be2df65feb88a427f49636761eb15880f) 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-ssh10994744054794804804.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh5550157012064008173.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1549/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-1549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1972198440480058387.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-1549/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15351773950183470697.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh2872813688805139862.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-1549/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-1549/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17366729575309612417.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25863 in /w/workspace/gexfoundry_device-sdk-go_PR-1549 [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-1549 # 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/1549/head:refs/remotes/origin/PR-1549 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit 90fff5e947a8167fddb41c8409ac9ae704315f04 Merge succeeded, producing 90fff5e947a8167fddb41c8409ac9ae704315f04 Checking out Revision 90fff5e947a8167fddb41c8409ac9ae704315f04 (PR-1549) Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 90fff5e947a8167fddb41c8409ac9ae704315f04 # 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 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 90fff5e947a8167fddb41c8409ac9ae704315f04 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:56 ========================================================= 04:22:56 EdgeX Global Pipelines Version Info 04:22:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:22:57 ------------------- 04:22:57 stable info: 04:22:57 ------------------- 04:22:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:22:57 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:22:57 Message: update stable to v1.0.258 04:22:57 ------------------- 04:22:57 experimental info: 04:22:57 ------------------- 04:22:57 Commited By: **** collab-it+edgex@linuxfoundation.org 04:22:57 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:22:57 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:22:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:22:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1549 [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1549 [Pipeline] echo 04:22:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1549 [Pipeline] echo 04:23:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 90fff5e947a8167fddb41c8409ac9ae704315f04 [Pipeline] echo 04:23:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 90fff5e [Pipeline] echo 04:23:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:00 provisioning config files... 04:23:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp/config4844134378805621497tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:00 ---> ****-login.sh 04:23:00 nexus3.edgexfoundry.org:10001 04:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:01 Configure a credential helper to remove this warning. See 04:23:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:01 04:23:01 Login Succeeded 04:23:01 nexus3.edgexfoundry.org:10002 04:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:01 Configure a credential helper to remove this warning. See 04:23:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:01 04:23:01 Login Succeeded 04:23:01 nexus3.edgexfoundry.org:10003 04:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:01 Configure a credential helper to remove this warning. See 04:23:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:01 04:23:01 Login Succeeded 04:23:01 nexus3.edgexfoundry.org:10004 04:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:01 Configure a credential helper to remove this warning. See 04:23:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:01 04:23:01 Login Succeeded 04:23:01 ****.io 04:23:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:02 Configure a credential helper to remove this warning. See 04:23:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:02 04:23:02 Login Succeeded 04:23:02 ---> ****-login.sh ends [Pipeline] } 04:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:23:03 + git rev-list -1 --merges 90fff5e947a8167fddb41c8409ac9ae704315f04~1..90fff5e947a8167fddb41c8409ac9ae704315f04 [Pipeline] echo 04:23:03 -----------> git rev-list -1 --merges 90fff5e947a8167fddb41c8409ac9ae704315f04~1..90fff5e947a8167fddb41c8409ac9ae704315f04 90fff5e947a8167fddb41c8409ac9ae704315f04 [false] [Pipeline] sh 04:23:03 + git log --format=format:%s -1 90fff5e947a8167fddb41c8409ac9ae704315f04 [Pipeline] echo 04:23:03 ========================================================= 04:23:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:23:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:23:03 + git log --format=format:%s -1 90fff5e947a8167fddb41c8409ac9ae704315f04 [Pipeline] echo 04:23:03 [semverPrep] GIT_COMMIT: 90fff5e947a8167fddb41c8409ac9ae704315f04, Commit Message: build(deps): bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4 [Pipeline] echo 04:23:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:23:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:23:04 + grep -v github /etc/ssh/ssh_known_hosts 04:23:04 + [ -e /tmp/ssh_known_hosts ] 04:23:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:23:04 + + sudo tee -a /etc/ssh/ssh_known_hosts 04:23:04 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:23:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:04 04:23:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:05 0.1.4: Pulling from edgex-devops/py-git-semver 04:23:05 b85a868b505f: Pulling fs layer 04:23:05 e2be974225ed: Pulling fs layer 04:23:05 339a4e72a1f5: Pulling fs layer 04:23:05 988bab9f4d93: Pulling fs layer 04:23:05 1469e6f7b9e6: Pulling fs layer 04:23:05 eaf3925da568: Pulling fs layer 04:23:05 bab4dde63d76: Pulling fs layer 04:23:05 bde34c3a00c8: Pulling fs layer 04:23:05 b352a97aabf1: Pulling fs layer 04:23:05 4872d77fe225: Pulling fs layer 04:23:05 5851b861e8e6: Pulling fs layer 04:23:05 bde34c3a00c8: Waiting 04:23:05 b352a97aabf1: Waiting 04:23:05 988bab9f4d93: Waiting 04:23:05 4872d77fe225: Waiting 04:23:05 5851b861e8e6: Waiting 04:23:05 1469e6f7b9e6: Waiting 04:23:05 bab4dde63d76: Waiting 04:23:05 eaf3925da568: Waiting 04:23:05 e2be974225ed: Download complete 04:23:05 988bab9f4d93: Verifying Checksum 04:23:05 988bab9f4d93: Download complete 04:23:05 1469e6f7b9e6: Verifying Checksum 04:23:05 1469e6f7b9e6: Download complete 04:23:05 339a4e72a1f5: Verifying Checksum 04:23:05 339a4e72a1f5: Download complete 04:23:05 eaf3925da568: Verifying Checksum 04:23:05 eaf3925da568: Download complete 04:23:05 bde34c3a00c8: Verifying Checksum 04:23:05 bde34c3a00c8: Download complete 04:23:05 b352a97aabf1: Download complete 04:23:05 4872d77fe225: Verifying Checksum 04:23:05 4872d77fe225: Download complete 04:23:05 5851b861e8e6: Download complete 04:23:05 b85a868b505f: Download complete 04:23:05 bab4dde63d76: Verifying Checksum 04:23:06 b85a868b505f: Pull complete 04:23:07 e2be974225ed: Pull complete 04:23:07 339a4e72a1f5: Pull complete 04:23:07 988bab9f4d93: Pull complete 04:23:07 1469e6f7b9e6: Pull complete 04:23:07 eaf3925da568: Pull complete 04:23:09 bab4dde63d76: Pull complete 04:23:09 bde34c3a00c8: Pull complete 04:23:09 b352a97aabf1: Pull complete 04:23:10 4872d77fe225: Pull complete 04:23:10 5851b861e8e6: Pull complete 04:23:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:23:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:23:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:10 prd-ubuntu20.04-docker-8c-8g-25863 does not seem to be running inside a container 04:23:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1549 -v /w/workspace/gexfoundry_device-sdk-go_PR-1549:/w/workspace/gexfoundry_device-sdk-go_PR-1549:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:23:14 $ docker top 93a96ca8d9333624bb4ec026099079886991153d56b401826e340c10c997a43f -eo pid,comm 04:23:14 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). 04:23:14 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:23:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:15 [ssh-agent] Looking for ssh-agent implementation... 04:23:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:15 $ docker exec 93a96ca8d9333624bb4ec026099079886991153d56b401826e340c10c997a43f ssh-agent 04:23:15 SSH_AUTH_SOCK=/tmp/ssh-R0xGyiAlezqd/agent.31 04:23:15 SSH_AGENT_PID=37 04:23:15 Running ssh-add (command line suppressed) 04:23:15 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp/private_key_12686685228310472105.key (/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp/private_key_12686685228310472105.key) 04:23:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:15 + git tag --points-at HEAD [Pipeline] } 04:23:15 $ docker exec --env ******** --env ******** 93a96ca8d9333624bb4ec026099079886991153d56b401826e340c10c997a43f ssh-agent -k 04:23:15 unset SSH_AUTH_SOCK; 04:23:15 unset SSH_AGENT_PID; 04:23:15 echo Agent pid 37 killed; 04:23:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:23:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:23:16 [ssh-agent] Looking for ssh-agent implementation... 04:23:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:23:16 $ docker exec 93a96ca8d9333624bb4ec026099079886991153d56b401826e340c10c997a43f ssh-agent 04:23:16 SSH_AUTH_SOCK=/tmp/ssh-ZpxDw2U5PvjU/agent.70 04:23:16 SSH_AGENT_PID=76 04:23:16 Running ssh-add (command line suppressed) 04:23:16 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp/private_key_16932865280982194951.key (/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp/private_key_16932865280982194951.key) 04:23:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:23:16 + git semver init 04:23:17 2023-12-21 04:23:17,080 [run_init] DEBUG init version:0.0.0 force:False 04:23:17 2023-12-21 04:23:17,081 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1549/.semver 04:23:17 2023-12-21 04:23:17,082 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1549/.semver 04:23:17 2023-12-21 04:23:17,082 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1549/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1549, universal_newlines=False, shell=None, istream=None) 04:23:18 2023-12-21 04:23:18,320 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1549/.git/info/exclude 04:23:18 2023-12-21 04:23:18,320 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1549/.semver/PR-1549 with force:False 04:23:18 2023-12-21 04:23:18,320 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1549/.semver/PR-1549 04:23:18 2023-12-21 04:23:18,324 [execute] INFO git cat-file --batch-check 04:23:18 2023-12-21 04:23:18,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1549/.semver, universal_newlines=False, shell=None, istream=) 04:23:18 2023-12-21 04:23:18,332 [execute] INFO git cat-file --batch 04:23:18 2023-12-21 04:23:18,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1549/.semver, universal_newlines=False, shell=None, istream=) 04:23:18 2023-12-21 04:23:18,338 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1549/.semver/PR-1549 04:23:18 0.0.0 [Pipeline] } 04:23:18 $ docker exec --env ******** --env ******** 93a96ca8d9333624bb4ec026099079886991153d56b401826e340c10c997a43f ssh-agent -k 04:23:18 unset SSH_AUTH_SOCK; 04:23:18 unset SSH_AGENT_PID; 04:23:18 echo Agent pid 76 killed; 04:23:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:23:19 + git semver [Pipeline] } 04:23:19 $ docker stop --time=1 93a96ca8d9333624bb4ec026099079886991153d56b401826e340c10c997a43f 04:23:21 $ docker rm -f --volumes 93a96ca8d9333624bb4ec026099079886991153d56b401826e340c10c997a43f [Pipeline] // withDockerContainer [Pipeline] sh 04:23:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:23:21 Stashed 1 file(s) [Pipeline] echo 04:23:21 [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 04:23:23 provisioning config files... 04:23:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp/config8163790162445145225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:23 ---> ****-login.sh 04:23:23 nexus3.edgexfoundry.org:10001 04:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:23 Configure a credential helper to remove this warning. See 04:23:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:23 04:23:23 Login Succeeded 04:23:23 nexus3.edgexfoundry.org:10002 04:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:23 Configure a credential helper to remove this warning. See 04:23:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:23 04:23:23 Login Succeeded 04:23:23 nexus3.edgexfoundry.org:10003 04:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:23 Configure a credential helper to remove this warning. See 04:23:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:23 04:23:23 Login Succeeded 04:23:23 nexus3.edgexfoundry.org:10004 04:23:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:23 Configure a credential helper to remove this warning. See 04:23:23 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:23 04:23:23 Login Succeeded 04:23:23 ****.io 04:23:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:23:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:23:24 Configure a credential helper to remove this warning. See 04:23:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:23:24 04:23:24 Login Succeeded 04:23:24 ---> ****-login.sh ends [Pipeline] } 04:23:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:23:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:23:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:23:24 ========================================================= 04:23:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:23:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:25 + 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 . 04:23:25 Sending build context to Docker daemon 21.92MB 04:23:25 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:23:25 Step 2/10 : FROM ${BASE} AS builder 04:23:25 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:23:25 7264a8db6415: Pulling fs layer 04:23:25 c4d48a809fc2: Pulling fs layer 04:23:25 4f1c88b9dad5: Pulling fs layer 04:23:25 ad3a456e5733: Pulling fs layer 04:23:25 69c7f0334f64: Pulling fs layer 04:23:25 1f1c1a5573a3: Pulling fs layer 04:23:25 ce7588e14bc9: Pulling fs layer 04:23:25 b5e4710f87ac: Pulling fs layer 04:23:25 ce7588e14bc9: Waiting 04:23:25 ad3a456e5733: Waiting 04:23:25 b5e4710f87ac: Waiting 04:23:25 69c7f0334f64: Waiting 04:23:25 c4d48a809fc2: Download complete 04:23:25 ad3a456e5733: Verifying Checksum 04:23:25 ad3a456e5733: Download complete 04:23:25 69c7f0334f64: Download complete 04:23:25 7264a8db6415: Verifying Checksum 04:23:25 7264a8db6415: Download complete 04:23:25 1f1c1a5573a3: Verifying Checksum 04:23:25 1f1c1a5573a3: Download complete 04:23:25 7264a8db6415: Pull complete 04:23:25 b5e4710f87ac: Verifying Checksum 04:23:25 b5e4710f87ac: Download complete 04:23:25 c4d48a809fc2: Pull complete 04:23:26 4f1c88b9dad5: Verifying Checksum 04:23:26 4f1c88b9dad5: Download complete 04:23:26 ce7588e14bc9: Verifying Checksum 04:23:26 ce7588e14bc9: Download complete 04:23:29 4f1c88b9dad5: Pull complete 04:23:29 ad3a456e5733: Pull complete 04:23:29 69c7f0334f64: Pull complete 04:23:29 1f1c1a5573a3: Pull complete 04:23:32 ce7588e14bc9: Pull complete 04:23:32 b5e4710f87ac: Pull complete 04:23:32 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:23:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:23:32 ---> 88b5674ff536 04:23:32 Step 3/10 : ARG MAKE=make build 04:23:37 Still waiting to schedule task 04:23:37 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:23:40 ---> Running in 196a9c07b3a3 04:23:40 Removing intermediate container 196a9c07b3a3 04:23:40 ---> 0db595278701 04:23:40 Step 4/10 : WORKDIR /device-sdk-go 04:23:40 ---> Running in 37fe8b645a01 04:23:40 Removing intermediate container 37fe8b645a01 04:23:40 ---> 038a1ee64c27 04:23:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:23:40 ---> Running in 535a3fc620f6 04:23:40 Removing intermediate container 535a3fc620f6 04:23:40 ---> f4be23237e25 04:23:40 Step 6/10 : RUN apk add --update --no-cache make git 04:23:40 ---> Running in ffa49d886967 04:23:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:23:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:23:40 OK: 264 MiB in 52 packages 04:23:40 Removing intermediate container ffa49d886967 04:23:40 ---> 717d2d1909f2 04:23:40 Step 7/10 : COPY go.mod vendor* ./ 04:23:41 ---> c9b602e520eb 04:23:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:41 ---> Running in b47bf21bb920 04:24:27 Removing intermediate container b47bf21bb920 04:24:27 ---> a1a53c6edd31 04:24:27 Step 9/10 : COPY . . 04:24:27 ---> 8ceaae58389a 04:24:27 Step 10/10 : RUN ${MAKE} 04:24:27 ---> Running in d316fa706402 04:24:27 noop 04:24:27 Removing intermediate container d316fa706402 04:24:27 ---> 2f1febbd0060 04:24:27 Successfully built 2f1febbd0060 04:24:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:28 + docker inspect -f . ci-base-image-x86_64 04:24:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:28 prd-ubuntu20.04-docker-8c-8g-25863 does not seem to be running inside a container 04:24:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1549 -v /w/workspace/gexfoundry_device-sdk-go_PR-1549:/w/workspace/gexfoundry_device-sdk-go_PR-1549:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:28 $ docker top a3250481a60978daf58a829436478e150e389fbd5d7562e1dcd4bfa88a2cc0ff -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:29 + go version 04:24:29 go version go1.21.0 linux/amd64 [Pipeline] } 04:24:29 $ docker stop --time=1 a3250481a60978daf58a829436478e150e389fbd5d7562e1dcd4bfa88a2cc0ff 04:24:30 $ docker rm -f --volumes a3250481a60978daf58a829436478e150e389fbd5d7562e1dcd4bfa88a2cc0ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:31 + docker inspect -f . ci-base-image-x86_64 04:24:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:31 prd-ubuntu20.04-docker-8c-8g-25863 does not seem to be running inside a container 04:24:31 $ 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-1549 -v /w/workspace/gexfoundry_device-sdk-go_PR-1549:/w/workspace/gexfoundry_device-sdk-go_PR-1549:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:24:32 $ docker top 8d4b68fe76ff56547381e9e86f39f73ab2b2e65c336c80fcbef6f232ae4d1d26 -eo pid,comm [Pipeline] { [Pipeline] sh 04:24:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1549 [Pipeline] fileExists [Pipeline] sh 04:24:33 + make test 04:24:33 go test -race -coverprofile=coverage.out ./... 04:24:39 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:24:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:24:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:24:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:24:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:24:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:24:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:24:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements 04:24:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements 04:24:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.064s coverage: 86.0% of statements 04:24:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.064s coverage: 71.8% of statements 04:24:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:24:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:24:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.058s coverage: 14.4% of statements 04:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.913s coverage: 45.9% of statements 04:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.056s coverage: 68.5% of statements 04:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.100s coverage: 89.2% of statements 04:24:56 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements 04:25:14 GO111MODULE=on go vet ./... 04:25:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:25:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:25:17 ./bin/test-attribution-txt.sh [Pipeline] echo 04:25:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:25:17 $ docker stop --time=1 8d4b68fe76ff56547381e9e86f39f73ab2b2e65c336c80fcbef6f232ae4d1d26 04:25:22 $ docker rm -f --volumes 8d4b68fe76ff56547381e9e86f39f73ab2b2e65c336c80fcbef6f232ae4d1d26 [Pipeline] // withDockerContainer [Pipeline] sh 04:25:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:25:23 Stashed 1 file(s) [Pipeline] } 04:25:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25864 in /w/workspace/gexfoundry_device-sdk-go_PR-1549 [Pipeline] // script [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] ws 04:25:23 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:25:26 The recommended git tool is: git [Pipeline] sh 04:25:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:25:27 + ls -al . 04:25:27 total 308 04:25:27 drwxrwxr-x 11 jenkins jenkins 4096 Dec 21 04:24 . 04:25:27 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:22 .. 04:25:27 -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 04:22 .dockerignore 04:25:27 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 04:24 .git 04:25:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 04:22 .github 04:25:27 -rw-rw-r-- 1 jenkins jenkins 137 Dec 21 04:22 .gitignore 04:25:27 -rw-rw-r-- 1 jenkins jenkins 42 Dec 21 04:22 .golangci.yml 04:25:27 drwxr-xr-x 3 jenkins jenkins 4096 Dec 21 04:23 .semver 04:25:27 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 21 04:22 CHANGELOG.md 04:25:27 -rw-rw-r-- 1 jenkins jenkins 677 Dec 21 04:22 GOVERNANCE.md 04:25:27 -rw-rw-r-- 1 jenkins jenkins 885 Dec 21 04:22 Jenkinsfile 04:25:27 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 04:22 LICENSE 04:25:27 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 21 04:22 Makefile 04:25:27 -rw-rw-r-- 1 jenkins jenkins 619 Dec 21 04:22 OWNERS.md 04:25:27 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 21 04:22 README.md 04:25:27 -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 04:23 VERSION 04:25:27 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 04:22 bin 04:25:27 -rw-r--r-- 1 jenkins jenkins 122155 Dec 21 04:24 coverage.out 04:25:27 drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 04:22 example 04:25:27 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 21 04:22 go.mod 04:25:27 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 21 04:22 go.sum 04:25:27 drwxrwxr-x 12 jenkins jenkins 4096 Dec 21 04:22 internal 04:25:27 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 04:22 openapi 04:25:27 drwxrwxr-x 6 jenkins jenkins 4096 Dec 21 04:22 pkg 04:25:27 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:22 snap 04:25:27 -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:28 + 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=90fff5e947a8167fddb41c8409ac9ae704315f04 --label arch=amd64 --label version=0.0.0 . 04:25:28 Sending build context to Docker daemon 22.04MB 04:25:28 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:25:28 Step 2/23 : FROM ${BASE} AS builder 04:25:28 ---> 2f1febbd0060 04:25:28 Step 3/23 : ARG MAKE=make build 04:25:29 ---> Running in 3cd8250f93e3 04:25:29 Removing intermediate container 3cd8250f93e3 04:25:29 ---> 3d9a97e38103 04:25:29 Step 4/23 : WORKDIR /device-sdk-go 04:25:29 ---> Running in d9d684206e8b 04:25:29 Removing intermediate container d9d684206e8b 04:25:29 ---> 57e4a1f827e1 04:25:29 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:25:30 ---> Running in f948ff7d3007 04:25:30 Removing intermediate container f948ff7d3007 04:25:30 ---> 36faa9e4b94c 04:25:30 Step 6/23 : RUN apk add --update --no-cache make git 04:25:30 ---> Running in b0411f4a06f7 04:25:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:25:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:25:31 OK: 264 MiB in 52 packages 04:25:31 Removing intermediate container b0411f4a06f7 04:25:31 ---> 4265e00b88ac 04:25:31 Step 7/23 : COPY go.mod vendor* ./ 04:25:31 ---> 923ed658fc5c 04:25:31 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:25:31 ---> Running in e0e3cc4fc0f1 04:25:31 using credential edgex-jenkins-ssh 04:25:31 Cloning the remote Git repository 04:25:32 Removing intermediate container e0e3cc4fc0f1 04:25:32 ---> d571ec43f3fd 04:25:32 Step 9/23 : COPY . . 04:25:31 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:25:32 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:25:32 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:25:32 > git --version # timeout=10 04:25:32 > git --version # 'git version 2.25.1' 04:25:32 using GIT_SSH to set credentials SSH Credentials for GitHub 04:25:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:25:33 ---> 72e09855d83e 04:25:33 Step 10/23 : RUN ${MAKE} 04:25:33 ---> Running in a24718f1f841 04:25:33 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 04:25:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:25:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:25:36 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit 90fff5e947a8167fddb41c8409ac9ae704315f04 04:25:36 Merge succeeded, producing 90fff5e947a8167fddb41c8409ac9ae704315f04 04:25:36 Checking out Revision 90fff5e947a8167fddb41c8409ac9ae704315f04 (PR-1549) 04:25:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:25:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:25:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:25:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1549/head:refs/remotes/origin/PR-1549 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:25:36 > git config core.sparsecheckout # timeout=10 04:25:36 > git checkout -f 90fff5e947a8167fddb41c8409ac9ae704315f04 # timeout=10 04:25:36 > git remote # timeout=10 04:25:36 > git config --get remote.origin.url # timeout=10 04:25:36 using GIT_SSH to set credentials SSH Credentials for GitHub 04:25:36 > git merge 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 04:25:36 > git rev-parse HEAD^{commit} # timeout=10 04:25:36 > git config core.sparsecheckout # timeout=10 04:25:36 > git checkout -f 90fff5e947a8167fddb41c8409ac9ae704315f04 # timeout=10 04:25:36 Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.3 to 4.11.4" 04:25:37 > git --version # timeout=10 04:25:37 > git --version # 'git version 2.25.1' 04:25:37 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:25:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:25:38 % Total % Received % Xferd Average Speed Time Time Time Current 04:25:38 Dload Upload Total Spent Left Speed 04:25:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 04:25:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:25:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:25:39 + sudo tee /etc/docker/daemon.new 04:25:39 { 04:25:39 "registry-mirrors": [ 04:25:39 "https://nexus3.edgexfoundry.org:10001" 04:25:39 ], 04:25:39 "bip": "10.250.0.254/24", 04:25:39 "hosts": [ 04:25:39 "tcp://0.0.0.0:5555", 04:25:39 "unix:///var/run/docker.sock" 04:25:39 ], 04:25:39 "mtu": 1458, 04:25:39 "selinux-enabled": true, 04:25:39 "seccomp-profile": "/etc/docker/seccomp.json" 04:25:39 } [Pipeline] sh 04:25:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:25:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:58 provisioning config files... 04:25:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16105526283205526223tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:25:58 ---> ****-login.sh 04:25:58 nexus3.edgexfoundry.org:10001 04:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:59 Configure a credential helper to remove this warning. See 04:25:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:59 04:25:59 Login Succeeded 04:25:59 nexus3.edgexfoundry.org:10002 04:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:59 Configure a credential helper to remove this warning. See 04:25:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:59 04:25:59 Login Succeeded 04:25:59 nexus3.edgexfoundry.org:10003 04:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:25:59 Configure a credential helper to remove this warning. See 04:25:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:25:59 04:25:59 Login Succeeded 04:25:59 nexus3.edgexfoundry.org:10004 04:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:00 Removing intermediate container a24718f1f841 04:26:00 ---> d14053e490fa 04:26:00 Step 11/23 : FROM alpine:3.18 04:26:00 3.18: Pulling from library/alpine 04:26:00 c926b61bad3b: Pulling fs layer 04:26:00 c926b61bad3b: Verifying Checksum 04:26:00 c926b61bad3b: Download complete 04:26:00 c926b61bad3b: Pull complete 04:26:00 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:26:00 Status: Downloaded newer image for alpine:3.18 04:26:00 ---> b541f2080109 04:26:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:26:00 ---> Running in a95110097873 04:26:00 Removing intermediate container a95110097873 04:26:00 ---> d8d17c6ab2a7 04:26:00 Step 13/23 : RUN apk add --update --no-cache 04:26:00 ---> Running in 8ac9f236d945 04:26:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:26:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:26:00 OK: 7 MiB in 15 packages 04:26:00 Removing intermediate container 8ac9f236d945 04:26:00 ---> 3410bc78bf43 04:26:00 Step 14/23 : WORKDIR / 04:26:00 ---> Running in faf95c01b296 04:26:00 Removing intermediate container faf95c01b296 04:26:00 ---> 5d11055268f1 04:26:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:26:00 ---> b6ec5d754fcd 04:26:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:00 Configure a credential helper to remove this warning. See 04:26:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:00 04:26:00 Login Succeeded 04:26:00 ****.io 04:26:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:00 Configure a credential helper to remove this warning. See 04:26:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:00 04:26:00 Login Succeeded 04:26:00 ---> ****-login.sh ends [Pipeline] } 04:26:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 04:26:01 ---> 448b639a56ed 04:26:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [Pipeline] echo 04:26:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:26:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] 04:26:01 ---> e44be699db3a 04:26:01 Step 18/23 : EXPOSE 59999 04:26:01 ---> Running in 0ae17e98cf23 04:26:01 Removing intermediate container 0ae17e98cf23 04:26:01 ---> a7922fe1c3c6 04:26:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:26:01 ---> Running in 31015d6eadcb 04:26:01 Removing intermediate container 31015d6eadcb 04:26:01 ---> b181b0fa6cef 04:26:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [Pipeline] echo 04:26:01 ========================================================= 04:26:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:26:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix 04:26:01 ---> Running in bf05a9c5ca81 04:26:01 Removing intermediate container bf05a9c5ca81 04:26:01 ---> dac51541dc2a 04:26:01 Step 21/23 : LABEL arch=amd64 04:26:01 ---> Running in b9ce4c9fed6b 04:26:01 Removing intermediate container b9ce4c9fed6b 04:26:01 ---> 136f61bf8106 04:26:01 Step 22/23 : LABEL git_sha=90fff5e947a8167fddb41c8409ac9ae704315f04 04:26:01 ---> Running in ba58f8ae4568 04:26:01 Removing intermediate container ba58f8ae4568 04:26:01 ---> b95562c6627a 04:26:01 Step 23/23 : LABEL version=0.0.0 [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:01 ---> Running in 918c6c24c123 04:26:01 Removing intermediate container 918c6c24c123 04:26:01 ---> bb0bde50c537 04:26:01 [Warning] One or more build-args [ARCH] were not consumed 04:26:01 Successfully built bb0bde50c537 04:26:01 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } 04:26: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 . [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 04:26:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:26:03 04:26:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:26:03 latest: Pulling from edgex-lftools-log-publisher 04:26:03 5eb5b503b376: Pulling fs layer 04:26:03 5c69ac0246d0: Pulling fs layer 04:26:03 ec43610c2a17: Pulling fs layer 04:26:03 3a2ae6a8a46f: Pulling fs layer 04:26:03 33b1e0a273af: Pulling fs layer 04:26:03 5d3b04190fa2: Pulling fs layer 04:26:03 2f39f015ded8: Pulling fs layer 04:26:03 3a2ae6a8a46f: Waiting 04:26:03 33b1e0a273af: Waiting 04:26:03 5d3b04190fa2: Waiting 04:26:03 2f39f015ded8: Waiting 04:26:03 5c69ac0246d0: Verifying Checksum 04:26:03 5c69ac0246d0: Download complete 04:26:03 3a2ae6a8a46f: Verifying Checksum 04:26:03 3a2ae6a8a46f: Download complete 04:26:03 33b1e0a273af: Download complete 04:26:03 ec43610c2a17: Verifying Checksum 04:26:03 ec43610c2a17: Download complete 04:26:03 5d3b04190fa2: Verifying Checksum 04:26:03 5d3b04190fa2: Download complete 04:26:03 5eb5b503b376: Download complete 04:26:04 2f39f015ded8: Verifying Checksum 04:26:05 5eb5b503b376: Pull complete 04:26:05 5c69ac0246d0: Pull complete 04:26:05 ec43610c2a17: Pull complete 04:26:05 3a2ae6a8a46f: Pull complete 04:26:05 33b1e0a273af: Pull complete 04:26:06 5d3b04190fa2: Pull complete 04:26:06 #0 building with "default" instance using docker driver 04:26:06 04:26:06 #1 [internal] load build definition from Dockerfile 04:26:06 #1 transferring dockerfile: 1.54kB 0.0s done 04:26:06 #1 DONE 0.1s 04:26:06 04:26:06 #2 [internal] load .dockerignore 04:26:06 #2 transferring context: 182B done 04:26:06 #2 DONE 0.1s 04:26:06 04:26:06 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:26:06 #3 DONE 0.1s 04:26:06 04:26:06 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:26:06 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:26:06 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:26:06 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 04:26:06 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:26:06 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 04:26:06 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 2.10MB / 63.99MB 0.2s 04:26:06 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:26:06 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s 04:26:06 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:26:06 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:26:06 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 892.93kB / 97.63MB 0.3s 04:26:06 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 04:26:06 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.96MB / 63.99MB 0.4s 04:26:06 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.4s 04:26:06 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s 04:26:06 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.34MB / 97.63MB 0.5s 04:26:06 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.29MB / 11.40MB 0.5s 04:26:06 #4 ... 04:26:06 04:26:06 #5 [internal] load build context 04:26:06 #5 transferring context: 11.14MB 0.6s done 04:26:06 #5 DONE 0.6s 04:26:06 04:26:06 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:26:06 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.83MB / 63.99MB 0.6s 04:26:06 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 10.49MB / 11.40MB 0.6s 04:26:06 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 27.26MB / 63.99MB 0.8s 04:26:06 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 04:26:06 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 22.02MB / 97.63MB 0.8s 04:26:06 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 04:26:06 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.9s 04:26:06 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 27.59MB / 97.63MB 0.9s 04:26:07 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.04MB / 63.99MB 1.0s 04:26:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.0s 04:26:07 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.1s 04:26:07 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.23MB / 63.99MB 1.2s 04:26:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.87MB / 97.63MB 1.2s 04:26:07 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:26:07 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 53.48MB / 63.99MB 1.3s 04:26:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.33MB / 97.63MB 1.3s 04:26:07 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.4s 04:26:07 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s done 04:26:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 66.56MB / 97.63MB 1.6s 04:26:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 72.35MB / 97.63MB 1.7s 04:26:07 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:26:07 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 81.79MB / 97.63MB 1.9s 04:26:08 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.96MB / 97.63MB 2.1s 04:26:08 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 04:26:08 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 04:26:10 2f39f015ded8: Pull complete 04:26:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:26:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:26:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:10 prd-ubuntu20.04-docker-8c-8g-25863 does not seem to be running inside a container 04:26:10 $ 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-1549 -v /w/workspace/gexfoundry_device-sdk-go_PR-1549:/w/workspace/gexfoundry_device-sdk-go_PR-1549:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:26:13 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 04:26:19 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s 04:26:19 $ docker top 6ac06c3e52f768b1361dcfefdb1764016d3cbb362acde97ac4d11b52ca434265 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:20 ---> job-cost.sh 04:26:20 lf-activate-venv: SKIPPING 04:26:20 INFO: No Stack... 04:26:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:26:20 INFO: Archiving Costs [Pipeline] sh 04:26:20 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1549/archives/cost.csv 04:26:20 + cut -d, -f6 [Pipeline] lock 04:26:20 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1549-1-stack-cost] 04:26:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1549-1-stack-cost] did not exist. Created. 04:26:20 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1549-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:26:21 + echo total: 0.2199999988079071 [Pipeline] stash 04:26:21 Stashed 1 file(s) [Pipeline] } 04:26:21 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1549-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:26:21 $ docker stop --time=1 6ac06c3e52f768b1361dcfefdb1764016d3cbb362acde97ac4d11b52ca434265 04:26:22 $ docker rm -f --volumes 6ac06c3e52f768b1361dcfefdb1764016d3cbb362acde97ac4d11b52ca434265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:26:24 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.8s done 04:26:26 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:26:26 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:26:26 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:26:31 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 04:26:34 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.3s done 04:26:34 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 04:26:36 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 04:26:36 #4 DONE 30.5s 04:26:36 04:26:36 #6 [builder 2/7] WORKDIR /device-sdk-go 04:26:38 #6 DONE 1.6s 04:26:38 04:26:38 #7 [builder 3/7] RUN apk add --update --no-cache make git 04:26:38 #7 0.681 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:26:39 #7 1.056 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:26:40 #7 2.029 OK: 266 MiB in 52 packages 04:26:40 #7 DONE 2.3s 04:26:40 04:26:40 #8 [builder 4/7] COPY go.mod vendor* ./ 04:26:40 #8 DONE 0.2s 04:26:40 04:26:40 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:02 #9 DONE 21.2s 04:27:02 04:27:02 #10 [builder 6/7] COPY . . 04:27:02 #10 DONE 0.3s 04:27:02 04:27:02 #11 [builder 7/7] RUN echo noop 04:27:02 #11 0.626 noop 04:27:03 #11 DONE 0.7s 04:27:03 04:27:03 #12 exporting to image 04:27:03 #12 exporting layers 04:27:25 #12 exporting layers 19.3s done 04:27:25 #12 writing image sha256:4b55ecca34ba65a4fdc0a92bc06a991def663e99893710d6fb23d54fc31bbd68 done 04:27:25 #12 naming to docker.io/library/ci-base-image-arm64 done 04:27:25 #12 DONE 19.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:25 + docker inspect -f . ci-base-image-arm64 04:27:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:25 prd-ubuntu20.04-docker-arm64-4c-16g-25864 does not seem to be running inside a container 04:27:26 $ 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 ******** ci-base-image-arm64 cat 04:27:31 $ docker top ffacbca384304656f9a49f9c119a0f68ab10f79826f985bbf804cb1221655bcc -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:31 + go version 04:27:31 go version go1.21.0 linux/arm64 [Pipeline] } 04:27:31 $ docker stop --time=1 ffacbca384304656f9a49f9c119a0f68ab10f79826f985bbf804cb1221655bcc 04:27:33 $ docker rm -f --volumes ffacbca384304656f9a49f9c119a0f68ab10f79826f985bbf804cb1221655bcc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:34 + docker inspect -f . ci-base-image-arm64 04:27:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:34 prd-ubuntu20.04-docker-arm64-4c-16g-25864 does not seem to be running inside a container 04:27:35 $ 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 ******** ci-base-image-arm64 cat 04:27:35 $ docker top 1c3253703ec6f5d102b247babe09397e9fcce5e5d12aa8dbc90833c704089c79 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:36 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:27:36 + make test 04:27:36 go test -race -coverprofile=coverage.out ./... 04:28:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:29:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:29:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:29:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:29:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:29:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:29:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:29:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:29:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.237s coverage: 27.6% of statements 04:29:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.250s coverage: 81.5% of statements 04:29:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.314s coverage: 86.0% of statements 04:29:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:29:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.372s coverage: 71.8% of statements 04:29:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:29:22 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:29:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.247s coverage: 14.4% of statements 04:29:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.767s coverage: 45.6% of statements 04:29:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.424s coverage: 68.5% of statements 04:29:24 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.432s coverage: 89.2% of statements 04:29:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:29:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.227s coverage: 5.5% of statements 04:29:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:29:26 GO111MODULE=on go vet ./... 04:30:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:30:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:30:34 ./bin/test-attribution-txt.sh [Pipeline] echo 04:30:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:30:34 $ docker stop --time=1 1c3253703ec6f5d102b247babe09397e9fcce5e5d12aa8dbc90833c704089c79 04:30:40 $ docker rm -f --volumes 1c3253703ec6f5d102b247babe09397e9fcce5e5d12aa8dbc90833c704089c79 [Pipeline] // withDockerContainer [Pipeline] sh 04:30:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:30:42 Warning: overwriting stash ‘coverage-report’ 04:30:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:30:44 + ls -al . 04:30:44 total 304 04:30:44 drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 04:27 . 04:30:44 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:25 .. 04:30:44 -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 04:25 .dockerignore 04:30:44 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 04:25 .git 04:30:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 04:25 .github 04:30:44 -rw-rw-r-- 1 jenkins jenkins 137 Dec 21 04:25 .gitignore 04:30:44 -rw-rw-r-- 1 jenkins jenkins 42 Dec 21 04:25 .golangci.yml 04:30:44 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 21 04:25 CHANGELOG.md 04:30:44 -rw-rw-r-- 1 jenkins jenkins 677 Dec 21 04:25 GOVERNANCE.md 04:30:44 -rw-rw-r-- 1 jenkins jenkins 885 Dec 21 04:25 Jenkinsfile 04:30:44 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 04:25 LICENSE 04:30:44 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 21 04:25 Makefile 04:30:44 -rw-rw-r-- 1 jenkins jenkins 619 Dec 21 04:25 OWNERS.md 04:30:44 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 21 04:25 README.md 04:30:44 -rw-rw-r-- 1 jenkins jenkins 5 Dec 21 04:23 VERSION 04:30:44 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 04:25 bin 04:30:44 -rw-r--r-- 1 jenkins jenkins 122155 Dec 21 04:29 coverage.out 04:30:44 drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 04:25 example 04:30:44 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 21 04:25 go.mod 04:30:44 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 21 04:25 go.sum 04:30:44 drwxrwxr-x 12 jenkins jenkins 4096 Dec 21 04:25 internal 04:30:44 drwxrwxr-x 3 jenkins jenkins 4096 Dec 21 04:25 openapi 04:30:44 drwxrwxr-x 6 jenkins jenkins 4096 Dec 21 04:25 pkg 04:30:44 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 04:25 snap 04:30:44 -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 04:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:44 + 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=90fff5e947a8167fddb41c8409ac9ae704315f04 --label arch=arm64 --label version=0.0.0 . 04:30:45 #0 building with "default" instance using docker driver 04:30:45 04:30:45 #1 [internal] load .dockerignore 04:30:45 #1 transferring context: 04:30:45 #1 transferring context: 182B 0.0s done 04:30:45 #1 DONE 0.0s 04:30:45 04:30:45 #2 [internal] load build definition from Dockerfile 04:30:45 #2 transferring dockerfile: 1.54kB 0.0s done 04:30:45 #2 DONE 0.0s 04:30:45 04:30:45 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:30:45 #3 DONE 0.0s 04:30:45 04:30:45 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:30:45 #4 DONE 0.3s 04:30:45 04:30:45 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:30:45 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:30:45 #5 ... 04:30:45 04:30:45 #6 [internal] load build context 04:30:45 #6 transferring context: 137.82kB 0.1s done 04:30:45 #6 DONE 0.1s 04:30:45 04:30:45 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:30:45 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:30:45 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:30:45 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:30:45 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:30:45 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 04:30:45 #5 ... 04:30:45 04:30:45 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:30:45 #7 DONE 0.2s 04:30:45 04:30:45 #8 [builder 2/7] WORKDIR /device-sdk-go 04:30:45 #8 DONE 0.1s 04:30:45 04:30:45 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:30:45 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 04:30:45 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:30:46 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done 04:30:46 #5 DONE 1.0s 04:30:46 04:30:46 #9 [builder 3/7] RUN apk add --update --no-cache make git 04:30:46 #9 0.674 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:30:46 #9 1.106 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:30:48 #9 2.213 OK: 266 MiB in 52 packages 04:30:48 #9 DONE 2.5s 04:30:48 04:30:48 #10 [builder 4/7] COPY go.mod vendor* ./ 04:30:48 #10 DONE 0.2s 04:30:48 04:30:48 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:48 #11 ... 04:30:48 04:30:48 #12 [stage-1 2/6] RUN apk add --update --no-cache 04:30:48 #12 0.649 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:30:48 #12 0.968 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:30:48 #12 1.983 OK: 8 MiB in 15 packages 04:30:48 #12 DONE 2.3s 04:30:48 04:30:48 #11 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:30:49 #11 DONE 1.1s 04:30:49 04:30:49 #13 [builder 6/7] COPY . . 04:30:50 #13 DONE 0.4s 04:30:50 04:30:50 #14 [builder 7/7] RUN make build 04:30:50 #14 0.619 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 04:31:58 #14 DONE 64.2s 04:31:58 04:31:58 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:31:58 #15 DONE 0.1s 04:31:58 04:31:58 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:31:58 #16 DONE 0.3s 04:31:58 04:31:58 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:31:58 #17 DONE 0.1s 04:31:58 04:31:58 #18 exporting to image 04:31:58 #18 exporting layers 04:31:58 #18 exporting layers 0.4s done 04:31:58 #18 writing image sha256:6830decc86a1b4c9d28b165d93801cba347fe097dea890e43c673fe559a5950d done 04:31:58 #18 naming to docker.io/library/device-sdk-simple-arm64 done 04:31:58 #18 DONE 0.4s [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 04:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:31:59 04:31:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:32:00 arm64: Pulling from edgex-lftools-log-publisher 04:32:00 8998bd30e6a1: Pulling fs layer 04:32:00 04944245beec: Pulling fs layer 04:32:00 699f458cf7ca: Pulling fs layer 04:32:00 765212b225bb: Pulling fs layer 04:32:00 f23df028b6ca: Pulling fs layer 04:32:00 d65c8cfc05b1: Pulling fs layer 04:32:00 2437ff75d9bd: Pulling fs layer 04:32:00 765212b225bb: Waiting 04:32:00 f23df028b6ca: Waiting 04:32:00 d65c8cfc05b1: Waiting 04:32:00 2437ff75d9bd: Waiting 04:32:00 04944245beec: Verifying Checksum 04:32:00 04944245beec: Download complete 04:32:00 765212b225bb: Verifying Checksum 04:32:00 765212b225bb: Download complete 04:32:00 f23df028b6ca: Verifying Checksum 04:32:00 f23df028b6ca: Download complete 04:32:00 d65c8cfc05b1: Verifying Checksum 04:32:00 d65c8cfc05b1: Download complete 04:32:00 699f458cf7ca: Verifying Checksum 04:32:00 699f458cf7ca: Download complete 04:32:01 8998bd30e6a1: Download complete 04:32:03 2437ff75d9bd: Verifying Checksum 04:32:03 2437ff75d9bd: Download complete 04:32:07 8998bd30e6a1: Pull complete 04:32:07 04944245beec: Pull complete 04:32:09 699f458cf7ca: Pull complete 04:32:09 765212b225bb: Pull complete 04:32:10 f23df028b6ca: Pull complete 04:32:10 d65c8cfc05b1: Pull complete 04:32:37 2437ff75d9bd: Pull complete 04:32:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:32:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:32:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:37 prd-ubuntu20.04-docker-arm64-4c-16g-25864 does not seem to be running inside a container 04:32:37 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:32:39 $ docker top 2f36df156295c86e9c89905ba87395563e8c1230cc0ab6a8be200af47aec720c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:40 ---> job-cost.sh 04:32:40 lf-activate-venv: SKIPPING 04:32:40 INFO: No Stack... 04:32:40 INFO: Retrieving Pricing Info for: v3-standard-8 04:32:41 INFO: Archiving Costs [Pipeline] sh 04:32:42 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:32:42 + cut -d, -f6 [Pipeline] lock 04:32:42 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1549-1-stack-cost] 04:32:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1549-1-stack-cost] did not exist. Created. 04:32:42 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1549-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:32:42 /w/workspace/device-sdk-go/1@tmp/durable-622f4942/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:32:43 + echo total: 0.2199999988079071 [Pipeline] stash 04:32:43 Warning: overwriting stash ‘stack-cost’ 04:32:43 Stashed 1 file(s) [Pipeline] } 04:32:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1549-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:32:43 $ docker stop --time=1 2f36df156295c86e9c89905ba87395563e8c1230cc0ab6a8be200af47aec720c 04:32:44 $ docker rm -f --volumes 2f36df156295c86e9c89905ba87395563e8c1230cc0ab6a8be200af47aec720c [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 04:32:46 provisioning config files... 04:32:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp/config4675811204988215369tmp [Pipeline] { [Pipeline] sh 04:32:47 + set +x 04:32:47 + curl -s https://codecov.io/bash 04:32:47 + bash -s -- 04:32:47 04:32:47 _____ _ 04:32:47 / ____| | | 04:32:47 | | ___ __| | ___ ___ _____ __ 04:32:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:32:47 | |___| (_) | (_| | __/ (_| (_) \ V / 04:32:47 \_____\___/ \__,_|\___|\___\___/ \_/ 04:32:47 Bash-1.0.6 04:32:47 04:32:47 04:32:47 ==> git version 2.25.1 found 04:32:47 ==> 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 04:32:47 Release-Date: 2020-01-08 04:32:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:32:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:32:47 ==> Jenkins CI detected. 04:32:47 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1549 04:32:47 project root: . 04:32:47 --> token set from env 04:32:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:32:47 ==> Running gcov in . (disable via -X gcov) 04:32:47 ==> Python coveragepy not found 04:32:47 ==> Searching for coverage reports in: 04:32:47 + . 04:32:47 -> Found 1 reports 04:32:47 ==> Detecting git/mercurial file structure 04:32:47 ==> Reading reports 04:32:47 + ./coverage.out bytes=122155 04:32:47 ==> Appending adjustments 04:32:47 https://docs.codecov.io/docs/fixing-reports 04:32:47 + Found adjustments 04:32:47 ==> Gzipping contents 04:32:47 20K /tmp/codecov.ss38zL.gz 04:32:47 ==> Uploading reports 04:32:47 url: https://codecov.io 04:32:47 query: branch=PR-1549&commit=90fff5e947a8167fddb41c8409ac9ae704315f04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1549%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1549&job=&cmd_args= 04:32:47 -> Pinging Codecov 04:32:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1549&commit=90fff5e947a8167fddb41c8409ac9ae704315f04&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1549%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1549&job=&cmd_args= 04:32:48 -> Uploading to 04:32:48 https://storage.googleapis.com/codecov/v4/raw/2023-12-21/7E55EF52A471D76F132DFD9A03CDDE97/90fff5e947a8167fddb41c8409ac9ae704315f04/54ecf92f-5bd2-4d99-b241-a3516a66d7d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231221T043247Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=78884177b009ebcefd1b8084c70096fe8dcdbaa2625ee0bc7a834e471f7cd5fa 04:32:48 % Total % Received % Xferd Average Speed Time Time Time Current 04:32:48 Dload Upload Total Spent Left Speed 04:32:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16779 0 0 100 16779 0 68766 --:--:-- --:--:-- --:--:-- 68766 04:32:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/90fff5e947a8167fddb41c8409ac9ae704315f04 [Pipeline] } 04:32:48 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 04:32:51 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1549/archives ] 04:32:51 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1549/archives 04:32:51 total 16 04:32:51 drwxr-xr-x 3 root root 4096 Dec 21 04:26 . 04:32:51 drwxrwxr-x 12 jenkins jenkins 4096 Dec 21 04:26 .. 04:32:51 drwxr-xr-x 2 root root 4096 Dec 21 04:26 cost 04:32:51 -rw-r--r-- 1 root root 86 Dec 21 04:26 cost.csv 04:32:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1549/archives 04:32:51 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1549/archives 04:32:51 total 16 04:32:51 drwxr-xr-x 3 jenkins jenkins 4096 Dec 21 04:26 . 04:32:51 drwxrwxr-x 12 jenkins jenkins 4096 Dec 21 04:26 .. 04:32:51 drwxr-xr-x 2 jenkins jenkins 4096 Dec 21 04:26 cost 04:32:51 -rw-r--r-- 1 jenkins jenkins 86 Dec 21 04:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:32:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:32:52 ---> package-listing.sh 04:32:52 ++ tr '[:upper:]' '[:lower:]' 04:32:52 ++ facter osfamily 04:32:53 + OS_FAMILY=debian 04:32:53 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1549 04:32:53 + START_PACKAGES=/tmp/packages_start.txt 04:32:53 + END_PACKAGES=/tmp/packages_end.txt 04:32:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:32:53 + PACKAGES=/tmp/packages_start.txt 04:32:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1549 ']' 04:32:53 + PACKAGES=/tmp/packages_end.txt 04:32:53 + case "${OS_FAMILY}" in 04:32:53 + dpkg -l 04:32:53 + grep '^ii' 04:32:53 + '[' -f /tmp/packages_start.txt ']' 04:32:53 + '[' -f /tmp/packages_end.txt ']' 04:32:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:32:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1549 ']' 04:32:53 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1549/archives/ 04:32:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1549/archives/ [Pipeline] echo 04:32:53 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-1549/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:32:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:32:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:54 prd-ubuntu20.04-docker-8c-8g-25863 does not seem to be running inside a container 04:32:54 $ 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-1549/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-1549 -v /w/workspace/gexfoundry_device-sdk-go_PR-1549:/w/workspace/gexfoundry_device-sdk-go_PR-1549:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:32:54 $ docker top 9435a2ec7b51e4d461a7c60c30ed5f13ececb36523fc8576c7dedf35717eeb6f -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:55 + touch /tmp/pre-build-complete [Pipeline] sh 04:32:55 + mkdir -p /var/log/sysstat [Pipeline] sh 04:32:55 + ls /var/log/sa-host 04:32:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:55 provisioning config files... 04:32:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1549@tmp/config17088382990911122374tmp [Pipeline] { [Pipeline] echo 04:32:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:32:56 ---> create-netrc.sh [Pipeline] } 04:32:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:32:56 ---> python-tools-install.sh [Pipeline] echo 04:32:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:32:57 ---> sudo-logs.sh 04:32:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:32:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:32:57 ---> job-cost.sh 04:32:57 lf-activate-venv: SKIPPING 04:32:57 DEBUG: total: 0.2199999988079071 04:32:57 INFO: Retrieving Stack Cost... 04:32:58 INFO: Retrieving Pricing Info for: v3-standard-8 04:32:58 INFO: Archiving Costs [Pipeline] echo 04:32:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:32:59 ---> logs-deploy.sh 04:32:59 lf-activate-venv: SKIPPING 04:32:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1549/1 04:32:59 INFO: archiving workspace using pattern(s): 04:33:00 Archives upload complete. 04:33:00 INFO: archiving logs to Nexus