Pull request #1551 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3c24f6d53f1cb98281f667ee5440640250ce79f4+4eb5e29dea1939910f88077e170bd5bcfca266de (4ce1bad1236d1ae0b1f512e99430b2f3d5768ff4) 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-ssh3853650040692255146.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-ssh145466467737313724.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-1551/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-1551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4816991593500958095.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-1551/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17545991470117074989.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-ssh11884430321915139953.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-1551/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-1551/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8292304627106553632.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26283’ Running on prd-ubuntu20.04-docker-8c-8g-26285 in /w/workspace/gexfoundry_device-sdk-go_PR-1551 [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-1551 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit 3c24f6d53f1cb98281f667ee5440640250ce79f4 Merge succeeded, producing 3c24f6d53f1cb98281f667ee5440640250ce79f4 Checking out Revision 3c24f6d53f1cb98281f667ee5440640250ce79f4 (PR-1551) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/1551/head:refs/remotes/origin/PR-1551 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3c24f6d53f1cb98281f667ee5440640250ce79f4 # 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 3c24f6d53f1cb98281f667ee5440640250ce79f4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:25:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:25:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:25:59 ========================================================= 04:25:59 EdgeX Global Pipelines Version Info 04:25:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:26:00 ------------------- 04:26:00 stable info: 04:26:00 ------------------- 04:26:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:26:00 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:26:00 Message: update stable to v1.0.258 04:26:00 ------------------- 04:26:00 experimental info: 04:26:00 ------------------- 04:26:00 Commited By: **** collab-it+edgex@linuxfoundation.org 04:26:00 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:26:00 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:26:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:26:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1551 [Pipeline] echo 04:26:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1551 [Pipeline] echo 04:26:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1551 [Pipeline] echo 04:26:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3c24f6d53f1cb98281f667ee5440640250ce79f4 [Pipeline] echo 04:26:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3c24f6d [Pipeline] echo 04:26:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:03 provisioning config files... 04:26:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp/config8041955123066004800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:04 ---> ****-login.sh 04:26:04 nexus3.edgexfoundry.org:10001 04:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:04 Configure a credential helper to remove this warning. See 04:26:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:04 04:26:04 Login Succeeded 04:26:04 nexus3.edgexfoundry.org:10002 04:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:04 Configure a credential helper to remove this warning. See 04:26:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:04 04:26:04 Login Succeeded 04:26:04 nexus3.edgexfoundry.org:10003 04:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:04 Configure a credential helper to remove this warning. See 04:26:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:04 04:26:04 Login Succeeded 04:26:04 nexus3.edgexfoundry.org:10004 04:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:04 Configure a credential helper to remove this warning. See 04:26:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:04 04:26:04 Login Succeeded 04:26:04 ****.io 04:26:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:05 Configure a credential helper to remove this warning. See 04:26:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:05 04:26:05 Login Succeeded 04:26:05 ---> ****-login.sh ends [Pipeline] } 04:26:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:26:05 + git rev-list -1 --merges 3c24f6d53f1cb98281f667ee5440640250ce79f4~1..3c24f6d53f1cb98281f667ee5440640250ce79f4 [Pipeline] echo 04:26:05 -----------> git rev-list -1 --merges 3c24f6d53f1cb98281f667ee5440640250ce79f4~1..3c24f6d53f1cb98281f667ee5440640250ce79f4 3c24f6d53f1cb98281f667ee5440640250ce79f4 [false] [Pipeline] sh 04:26:06 + git log --format=format:%s -1 3c24f6d53f1cb98281f667ee5440640250ce79f4 [Pipeline] echo 04:26:06 ========================================================= 04:26:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:26:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:06 + git log --format=format:%s -1 3c24f6d53f1cb98281f667ee5440640250ce79f4 [Pipeline] echo 04:26:06 [semverPrep] GIT_COMMIT: 3c24f6d53f1cb98281f667ee5440640250ce79f4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:26:06 [semverPrep] This is not a build commit. [Pipeline] sh 04:26:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:26:07 + grep -v github /etc/ssh/ssh_known_hosts 04:26:07 + [ -e /tmp/ssh_known_hosts ] 04:26:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:26:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:26:07 + sudo tee -a /etc/ssh/ssh_known_hosts 04:26:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:26:07 04:26:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:26:08 0.1.4: Pulling from edgex-devops/py-git-semver 04:26:08 b85a868b505f: Pulling fs layer 04:26:08 e2be974225ed: Pulling fs layer 04:26:08 339a4e72a1f5: Pulling fs layer 04:26:08 988bab9f4d93: Pulling fs layer 04:26:08 1469e6f7b9e6: Pulling fs layer 04:26:08 eaf3925da568: Pulling fs layer 04:26:08 bab4dde63d76: Pulling fs layer 04:26:08 bde34c3a00c8: Pulling fs layer 04:26:08 b352a97aabf1: Pulling fs layer 04:26:08 4872d77fe225: Pulling fs layer 04:26:08 5851b861e8e6: Pulling fs layer 04:26:08 988bab9f4d93: Waiting 04:26:08 eaf3925da568: Waiting 04:26:08 1469e6f7b9e6: Waiting 04:26:08 4872d77fe225: Waiting 04:26:08 b352a97aabf1: Waiting 04:26:08 5851b861e8e6: Waiting 04:26:08 bab4dde63d76: Waiting 04:26:08 e2be974225ed: Download complete 04:26:08 988bab9f4d93: Verifying Checksum 04:26:08 988bab9f4d93: Download complete 04:26:08 1469e6f7b9e6: Verifying Checksum 04:26:08 1469e6f7b9e6: Download complete 04:26:08 339a4e72a1f5: Verifying Checksum 04:26:08 339a4e72a1f5: Download complete 04:26:08 bde34c3a00c8: Download complete 04:26:08 b352a97aabf1: Download complete 04:26:08 4872d77fe225: Verifying Checksum 04:26:08 4872d77fe225: Download complete 04:26:08 5851b861e8e6: Download complete 04:26:08 b85a868b505f: Verifying Checksum 04:26:08 b85a868b505f: Download complete 04:26:08 bab4dde63d76: Verifying Checksum 04:26:08 bab4dde63d76: Download complete 04:26:09 b85a868b505f: Pull complete 04:26:09 e2be974225ed: Pull complete 04:26:10 339a4e72a1f5: Pull complete 04:26:10 988bab9f4d93: Pull complete 04:26:10 1469e6f7b9e6: Pull complete 04:26:10 eaf3925da568: Pull complete 04:26:12 bab4dde63d76: Pull complete 04:26:12 bde34c3a00c8: Pull complete 04:26:12 b352a97aabf1: Pull complete 04:26:12 4872d77fe225: Pull complete 04:26:12 5851b861e8e6: Pull complete 04:26:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:26:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:26:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:26:12 prd-ubuntu20.04-docker-8c-8g-26285 does not seem to be running inside a container 04:26:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1551 -v /w/workspace/gexfoundry_device-sdk-go_PR-1551:/w/workspace/gexfoundry_device-sdk-go_PR-1551:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1551@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:26:16 $ docker top 451cc9075bb1b423e4b0717515506e4411b6c026551f7f2681aeb2ccb056d78c -eo pid,comm 04:26:17 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:26:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:26:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:17 [ssh-agent] Looking for ssh-agent implementation... 04:26:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:17 $ docker exec 451cc9075bb1b423e4b0717515506e4411b6c026551f7f2681aeb2ccb056d78c ssh-agent 04:26:17 SSH_AUTH_SOCK=/tmp/ssh-IL3xh66mfSpA/agent.32 04:26:17 SSH_AGENT_PID=38 04:26:17 Running ssh-add (command line suppressed) 04:26:17 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp/private_key_1766022636449177007.key (/w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp/private_key_1766022636449177007.key) 04:26:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:17 + git tag --points-at HEAD [Pipeline] } 04:26:17 $ docker exec --env ******** --env ******** 451cc9075bb1b423e4b0717515506e4411b6c026551f7f2681aeb2ccb056d78c ssh-agent -k 04:26:18 unset SSH_AUTH_SOCK; 04:26:18 unset SSH_AGENT_PID; 04:26:18 echo Agent pid 38 killed; 04:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:26:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:18 [ssh-agent] Looking for ssh-agent implementation... 04:26:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:18 $ docker exec 451cc9075bb1b423e4b0717515506e4411b6c026551f7f2681aeb2ccb056d78c ssh-agent 04:26:18 SSH_AUTH_SOCK=/tmp/ssh-cGWTI7lYPb1W/agent.69 04:26:18 SSH_AGENT_PID=75 04:26:18 Running ssh-add (command line suppressed) 04:26:18 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp/private_key_14288231398055073964.key (/w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp/private_key_14288231398055073964.key) 04:26:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:18 + git semver init 04:26:19 2023-12-28 04:26:19,073 [run_init] DEBUG init version:0.0.0 force:False 04:26:19 2023-12-28 04:26:19,074 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1551/.semver 04:26:19 2023-12-28 04:26:19,074 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1551/.semver 04:26:19 2023-12-28 04:26:19,074 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1551/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1551, universal_newlines=False, shell=None, istream=None) 04:26:20 2023-12-28 04:26:20,243 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1551/.git/info/exclude 04:26:20 2023-12-28 04:26:20,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1551/.semver/PR-1551 with force:False 04:26:20 2023-12-28 04:26:20,244 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1551/.semver/PR-1551 04:26:20 2023-12-28 04:26:20,248 [execute] INFO git cat-file --batch-check 04:26:20 2023-12-28 04:26:20,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1551/.semver, universal_newlines=False, shell=None, istream=) 04:26:20 2023-12-28 04:26:20,254 [execute] INFO git cat-file --batch 04:26:20 2023-12-28 04:26:20,254 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1551/.semver, universal_newlines=False, shell=None, istream=) 04:26:20 2023-12-28 04:26:20,258 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1551/.semver/PR-1551 04:26:20 0.0.0 [Pipeline] } 04:26:20 $ docker exec --env ******** --env ******** 451cc9075bb1b423e4b0717515506e4411b6c026551f7f2681aeb2ccb056d78c ssh-agent -k 04:26:20 unset SSH_AUTH_SOCK; 04:26:20 unset SSH_AGENT_PID; 04:26:20 echo Agent pid 75 killed; 04:26:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:26:21 + git semver [Pipeline] } 04:26:21 $ docker stop --time=1 451cc9075bb1b423e4b0717515506e4411b6c026551f7f2681aeb2ccb056d78c 04:26:22 $ docker rm -f --volumes 451cc9075bb1b423e4b0717515506e4411b6c026551f7f2681aeb2ccb056d78c [Pipeline] // withDockerContainer [Pipeline] sh 04:26:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:26:23 Stashed 1 file(s) [Pipeline] echo 04:26:23 [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:26:24 provisioning config files... 04:26:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp/config2592259341056014717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:25 ---> ****-login.sh 04:26:25 nexus3.edgexfoundry.org:10001 04:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:25 Configure a credential helper to remove this warning. See 04:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:25 04:26:25 Login Succeeded 04:26:25 nexus3.edgexfoundry.org:10002 04:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:25 Configure a credential helper to remove this warning. See 04:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:25 04:26:25 Login Succeeded 04:26:25 nexus3.edgexfoundry.org:10003 04:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:25 Configure a credential helper to remove this warning. See 04:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:25 04:26:25 Login Succeeded 04:26:25 nexus3.edgexfoundry.org:10004 04:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:25 Configure a credential helper to remove this warning. See 04:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:25 04:26:25 Login Succeeded 04:26:25 ****.io 04:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:26:25 Configure a credential helper to remove this warning. See 04:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:26:25 04:26:25 Login Succeeded 04:26:25 ---> ****-login.sh ends [Pipeline] } 04:26:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:26:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:26:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:26:26 ========================================================= 04:26:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:26:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:26 + 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:26:26 Sending build context to Docker daemon 21.92MB 04:26:26 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:26:26 Step 2/10 : FROM ${BASE} AS builder 04:26:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:26:26 7264a8db6415: Pulling fs layer 04:26:26 c4d48a809fc2: Pulling fs layer 04:26:26 4f1c88b9dad5: Pulling fs layer 04:26:26 ad3a456e5733: Pulling fs layer 04:26:26 69c7f0334f64: Pulling fs layer 04:26:26 1f1c1a5573a3: Pulling fs layer 04:26:26 ce7588e14bc9: Pulling fs layer 04:26:26 b5e4710f87ac: Pulling fs layer 04:26:26 1f1c1a5573a3: Waiting 04:26:26 ce7588e14bc9: Waiting 04:26:26 ad3a456e5733: Waiting 04:26:26 b5e4710f87ac: Waiting 04:26:26 c4d48a809fc2: Verifying Checksum 04:26:26 c4d48a809fc2: Download complete 04:26:26 ad3a456e5733: Download complete 04:26:26 7264a8db6415: Verifying Checksum 04:26:26 7264a8db6415: Download complete 04:26:26 69c7f0334f64: Verifying Checksum 04:26:26 69c7f0334f64: Download complete 04:26:26 1f1c1a5573a3: Verifying Checksum 04:26:26 1f1c1a5573a3: Download complete 04:26:27 7264a8db6415: Pull complete 04:26:27 b5e4710f87ac: Verifying Checksum 04:26:27 b5e4710f87ac: Download complete 04:26:27 c4d48a809fc2: Pull complete 04:26:27 4f1c88b9dad5: Verifying Checksum 04:26:27 4f1c88b9dad5: Download complete 04:26:27 ce7588e14bc9: Verifying Checksum 04:26:27 ce7588e14bc9: Download complete 04:26:30 4f1c88b9dad5: Pull complete 04:26:30 ad3a456e5733: Pull complete 04:26:30 69c7f0334f64: Pull complete 04:26:30 1f1c1a5573a3: Pull complete 04:26:33 ce7588e14bc9: Pull complete 04:26:33 b5e4710f87ac: Pull complete 04:26:33 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:26:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:26:33 ---> 88b5674ff536 04:26:33 Step 3/10 : ARG MAKE=make build 04:26:38 ---> Running in 21d1913b9b9e 04:26:38 Removing intermediate container 21d1913b9b9e 04:26:38 ---> 419872ac9b6c 04:26:38 Step 4/10 : WORKDIR /device-sdk-go 04:26:38 ---> Running in 4983e27a6982 04:26:38 Removing intermediate container 4983e27a6982 04:26:38 ---> 959b69f4a80f 04:26:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:26:38 ---> Running in fed649d3173a 04:26:38 Removing intermediate container fed649d3173a 04:26:38 ---> eedf5d4a1154 04:26:38 Step 6/10 : RUN apk add --update --no-cache make git 04:26:38 ---> Running in 47145b749ef0 04:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:26:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:26:39 OK: 264 MiB in 52 packages 04:26:39 Still waiting to schedule task 04:26:39 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26284’ 04:26:39 Removing intermediate container 47145b749ef0 04:26:39 ---> b2fa138b7072 04:26:39 Step 7/10 : COPY go.mod vendor* ./ 04:26:39 ---> 89ba045c4500 04:26:39 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:26:39 ---> Running in 5d6289febbb5 04:27:26 Removing intermediate container 5d6289febbb5 04:27:26 ---> 0b1e4358b707 04:27:26 Step 9/10 : COPY . . 04:27:26 ---> 9cc883a59640 04:27:26 Step 10/10 : RUN ${MAKE} 04:27:26 ---> Running in 3615ca835afd 04:27:26 noop 04:27:26 Removing intermediate container 3615ca835afd 04:27:26 ---> b9ffb7ceba09 04:27:26 Successfully built b9ffb7ceba09 04:27:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:27 + docker inspect -f . ci-base-image-x86_64 04:27:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:27 prd-ubuntu20.04-docker-8c-8g-26285 does not seem to be running inside a container 04:27:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1551 -v /w/workspace/gexfoundry_device-sdk-go_PR-1551:/w/workspace/gexfoundry_device-sdk-go_PR-1551:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1551@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:27:27 $ docker top dedf7aba24d60875d52a482a6c068ad25137524c0b776d4a63c0dddc63452487 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:28 + go version 04:27:28 go version go1.21.0 linux/amd64 [Pipeline] } 04:27:28 $ docker stop --time=1 dedf7aba24d60875d52a482a6c068ad25137524c0b776d4a63c0dddc63452487 04:27:29 $ docker rm -f --volumes dedf7aba24d60875d52a482a6c068ad25137524c0b776d4a63c0dddc63452487 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:30 + docker inspect -f . ci-base-image-x86_64 04:27:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:30 prd-ubuntu20.04-docker-8c-8g-26285 does not seem to be running inside a container 04:27:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1551 -v /w/workspace/gexfoundry_device-sdk-go_PR-1551:/w/workspace/gexfoundry_device-sdk-go_PR-1551:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1551@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:27:31 $ docker top 4d0d03d996ef338eb194476b84a613f3d0274f7de23aaf91d47b38c377d36a20 -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:31 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1551 [Pipeline] fileExists [Pipeline] sh 04:27:32 + make test 04:27:32 go test -race -coverprofile=coverage.out ./... 04:27:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:27:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:27:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:27:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:27:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:27:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:27:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:27:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:27:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements 04:27:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:27:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 81.5% of statements 04:27:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.055s coverage: 86.0% of statements 04:27:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.086s coverage: 71.8% of statements 04:27:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:27:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:27:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:27:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements 04:27:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.830s coverage: 45.9% of statements 04:27:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements 04:27:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.110s coverage: 89.2% of statements 04:27:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.046s coverage: 5.5% of statements 04:28:15 GO111MODULE=on go vet ./... 04:28:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:28:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:28:17 ./bin/test-attribution-txt.sh [Pipeline] echo 04:28:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:28:17 $ docker stop --time=1 4d0d03d996ef338eb194476b84a613f3d0274f7de23aaf91d47b38c377d36a20 04:28:21 $ docker rm -f --volumes 4d0d03d996ef338eb194476b84a613f3d0274f7de23aaf91d47b38c377d36a20 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:28:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:23 + ls -al . 04:28:23 total 308 04:28:23 drwxrwxr-x 11 jenkins jenkins 4096 Dec 28 04:27 . 04:28:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 04:25 .. 04:28:23 -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 04:25 .dockerignore 04:28:23 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 04:27 .git 04:28:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 04:25 .github 04:28:23 -rw-rw-r-- 1 jenkins jenkins 137 Dec 28 04:25 .gitignore 04:28:23 -rw-rw-r-- 1 jenkins jenkins 42 Dec 28 04:25 .golangci.yml 04:28:23 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 04:26 .semver 04:28:23 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 28 04:25 CHANGELOG.md 04:28:23 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 04:25 GOVERNANCE.md 04:28:23 -rw-rw-r-- 1 jenkins jenkins 885 Dec 28 04:25 Jenkinsfile 04:28:23 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 04:25 LICENSE 04:28:23 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 28 04:25 Makefile 04:28:23 -rw-rw-r-- 1 jenkins jenkins 619 Dec 28 04:25 OWNERS.md 04:28:23 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 28 04:25 README.md 04:28:23 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 04:26 VERSION 04:28:23 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 04:25 bin 04:28:23 -rw-r--r-- 1 jenkins jenkins 122153 Dec 28 04:27 coverage.out 04:28:23 drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 04:25 example 04:28:23 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 28 04:25 go.mod 04:28:23 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 28 04:25 go.sum 04:28:23 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 04:25 internal 04:28:23 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 04:25 openapi 04:28:23 drwxrwxr-x 6 jenkins jenkins 4096 Dec 28 04:25 pkg 04:28:23 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 04:25 snap 04:28:23 -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 04:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:23 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=3c24f6d53f1cb98281f667ee5440640250ce79f4 --label arch=amd64 --label version=0.0.0 . 04:28:23 Sending build context to Docker daemon 22.05MB 04:28:23 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:28:23 Step 2/23 : FROM ${BASE} AS builder 04:28:23 ---> b9ffb7ceba09 04:28:23 Step 3/23 : ARG MAKE=make build 04:28:24 ---> Running in 0665869f32f9 04:28:24 Removing intermediate container 0665869f32f9 04:28:24 ---> 8efeb0dfe249 04:28:24 Step 4/23 : WORKDIR /device-sdk-go 04:28:24 ---> Running in d7bb414ef06a 04:28:24 Removing intermediate container d7bb414ef06a 04:28:24 ---> b72961362b91 04:28:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:28:24 ---> Running in 1de84896c97b 04:28:24 Removing intermediate container 1de84896c97b 04:28:24 ---> c5ebbf4207a6 04:28:24 Step 6/23 : RUN apk add --update --no-cache make git 04:28:24 ---> Running in bc041a20d7b8 04:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:28:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:28:24 OK: 264 MiB in 52 packages 04:28:25 Removing intermediate container bc041a20d7b8 04:28:25 ---> efc6041ed813 04:28:25 Step 7/23 : COPY go.mod vendor* ./ 04:28:25 ---> e330c0991b0b 04:28:25 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:25 ---> Running in 64068e0dffc6 04:28:26 Removing intermediate container 64068e0dffc6 04:28:26 ---> 04c6279fce15 04:28:26 Step 9/23 : COPY . . 04:28:26 ---> 16c3232195de 04:28:26 Step 10/23 : RUN ${MAKE} 04:28:26 ---> Running in 9210af64fa6b 04:28:27 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:28:49 Removing intermediate container 9210af64fa6b 04:28:49 ---> 97c2f8b1d567 04:28:49 Step 11/23 : FROM alpine:3.18 04:28:49 3.18: Pulling from library/alpine 04:28:49 c926b61bad3b: Pulling fs layer 04:28:49 c926b61bad3b: Download complete 04:28:49 c926b61bad3b: Pull complete 04:28:49 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:28:49 Status: Downloaded newer image for alpine:3.18 04:28:49 ---> b541f2080109 04:28:49 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:28:49 ---> Running in 7e28584719d1 04:28:49 Removing intermediate container 7e28584719d1 04:28:49 ---> 39bb1eab45e5 04:28:49 Step 13/23 : RUN apk add --update --no-cache 04:28:49 ---> Running in 4b6b759c20d4 04:28:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:28:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:28:49 OK: 7 MiB in 15 packages 04:28:49 Removing intermediate container 4b6b759c20d4 04:28:49 ---> b28cdb226133 04:28:49 Step 14/23 : WORKDIR / 04:28:49 ---> Running in 0d5d0e4059b9 04:28:49 Removing intermediate container 0d5d0e4059b9 04:28:49 ---> 8b21f871fa15 04:28:49 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:28:49 ---> 914dde024f3d 04:28:49 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:28:49 ---> 9b61e2d7c6d3 04:28:49 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:28:49 ---> 4b31938d494c 04:28:49 Step 18/23 : EXPOSE 59999 04:28:49 ---> Running in 122fd03e92b6 04:28:49 Removing intermediate container 122fd03e92b6 04:28:49 ---> cdf8935e49c8 04:28:49 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:28:49 ---> Running in 24fe458bc440 04:28:50 Removing intermediate container 24fe458bc440 04:28:50 ---> e1247baa0180 04:28:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:28:50 ---> Running in 7661b7656601 04:28:50 Removing intermediate container 7661b7656601 04:28:50 ---> 88dc6feb6615 04:28:50 Step 21/23 : LABEL arch=amd64 04:28:50 ---> Running in a3ee2fce23fe 04:28:50 Removing intermediate container a3ee2fce23fe 04:28:50 ---> 8abd73afdcf8 04:28:50 Step 22/23 : LABEL git_sha=3c24f6d53f1cb98281f667ee5440640250ce79f4 04:28:50 ---> Running in ca5790d96fdd 04:28:50 Removing intermediate container ca5790d96fdd 04:28:50 ---> e839958b1f31 04:28:50 Step 23/23 : LABEL version=0.0.0 04:28:50 ---> Running in 89215d1cb0bb 04:28:50 Removing intermediate container 89215d1cb0bb 04:28:50 ---> b8a740ba288f 04:28:50 [Warning] One or more build-args [ARCH] were not consumed 04:28:50 Successfully built b8a740ba288f 04:28:50 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:51 04:28:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:52 latest: Pulling from edgex-lftools-log-publisher 04:28:52 5eb5b503b376: Pulling fs layer 04:28:52 5c69ac0246d0: Pulling fs layer 04:28:52 ec43610c2a17: Pulling fs layer 04:28:52 3a2ae6a8a46f: Pulling fs layer 04:28:52 33b1e0a273af: Pulling fs layer 04:28:52 5d3b04190fa2: Pulling fs layer 04:28:52 2f39f015ded8: Pulling fs layer 04:28:52 3a2ae6a8a46f: Waiting 04:28:52 2f39f015ded8: Waiting 04:28:52 33b1e0a273af: Waiting 04:28:52 5d3b04190fa2: Waiting 04:28:52 5c69ac0246d0: Download complete 04:28:52 3a2ae6a8a46f: Download complete 04:28:52 ec43610c2a17: Verifying Checksum 04:28:52 ec43610c2a17: Download complete 04:28:52 33b1e0a273af: Verifying Checksum 04:28:52 33b1e0a273af: Download complete 04:28:52 5d3b04190fa2: Verifying Checksum 04:28:52 5d3b04190fa2: Download complete 04:28:52 5eb5b503b376: Verifying Checksum 04:28:52 5eb5b503b376: Download complete 04:28:53 2f39f015ded8: Download complete 04:28:53 5eb5b503b376: Pull complete 04:28:53 5c69ac0246d0: Pull complete 04:28:54 ec43610c2a17: Pull complete 04:28:54 3a2ae6a8a46f: Pull complete 04:28:54 33b1e0a273af: Pull complete 04:28:54 5d3b04190fa2: Pull complete 04:28:58 2f39f015ded8: Pull complete 04:28:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:28:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:58 prd-ubuntu20.04-docker-8c-8g-26285 does not seem to be running inside a container 04:28:58 $ 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-1551 -v /w/workspace/gexfoundry_device-sdk-go_PR-1551:/w/workspace/gexfoundry_device-sdk-go_PR-1551:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1551@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:29:04 $ docker top ce948de3567c86f4e9b864a992246b7fe595ecb5e820658077ed0bd922800e63 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:29:05 ---> job-cost.sh 04:29:05 lf-activate-venv: SKIPPING 04:29:05 INFO: No Stack... 04:29:05 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:05 INFO: Archiving Costs [Pipeline] sh 04:29:05 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1551/archives/cost.csv 04:29:05 + cut -d, -f6 [Pipeline] lock 04:29:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1551-1-stack-cost] 04:29:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1551-1-stack-cost] did not exist. Created. 04:29:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1551-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:29:06 + echo total: 0.2199999988079071 [Pipeline] stash 04:29:06 Stashed 1 file(s) [Pipeline] } 04:29:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1551-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:06 $ docker stop --time=1 ce948de3567c86f4e9b864a992246b7fe595ecb5e820658077ed0bd922800e63 04:29:07 $ docker rm -f --volumes ce948de3567c86f4e9b864a992246b7fe595ecb5e820658077ed0bd922800e63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:29:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26286 in /w/workspace/gexfoundry_device-sdk-go_PR-1551 [Pipeline] { [Pipeline] ws 04:29:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:29:48 The recommended git tool is: git 04:29:55 using credential edgex-jenkins-ssh 04:29:56 Cloning the remote Git repository 04:29:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:29:56 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:29:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:29:56 > git --version # timeout=10 04:29:56 > git --version # 'git version 2.25.1' 04:29:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:29:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:29:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:29:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:00 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit 3c24f6d53f1cb98281f667ee5440640250ce79f4 04:30:00 Merge succeeded, producing 3c24f6d53f1cb98281f667ee5440640250ce79f4 04:30:00 Checking out Revision 3c24f6d53f1cb98281f667ee5440640250ce79f4 (PR-1551) 04:29:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:29:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:29:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:29:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1551/head:refs/remotes/origin/PR-1551 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:30:00 > git config core.sparsecheckout # timeout=10 04:30:00 > git checkout -f 3c24f6d53f1cb98281f667ee5440640250ce79f4 # timeout=10 04:30:00 > git remote # timeout=10 04:30:00 > git config --get remote.origin.url # timeout=10 04:30:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:00 > git merge 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 04:30:00 > git rev-parse HEAD^{commit} # timeout=10 04:30:00 > git config core.sparsecheckout # timeout=10 04:30:00 > git checkout -f 3c24f6d53f1cb98281f667ee5440640250ce79f4 # timeout=10 04:30:01 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:30:01 > git --version # timeout=10 04:30:01 > git --version # 'git version 2.25.1' 04:30:01 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:30:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:30:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:30:02 Dload Upload Total Spent Left Speed 04:30:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 04:30:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:30:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:30:03 + sudo tee /etc/docker/daemon.new 04:30:03 { 04:30:03 "registry-mirrors": [ 04:30:03 "https://nexus3.edgexfoundry.org:10001" 04:30:03 ], 04:30:03 "bip": "10.250.0.254/24", 04:30:03 "hosts": [ 04:30:03 "tcp://0.0.0.0:5555", 04:30:03 "unix:///var/run/docker.sock" 04:30:03 ], 04:30:03 "mtu": 1458, 04:30:03 "selinux-enabled": true, 04:30:03 "seccomp-profile": "/etc/docker/seccomp.json" 04:30:03 } [Pipeline] sh 04:30:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:30:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:26 provisioning config files... 04:30:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config930640157428139287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:30:26 ---> ****-login.sh 04:30:26 nexus3.edgexfoundry.org:10001 04:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:27 Configure a credential helper to remove this warning. See 04:30:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:27 04:30:27 Login Succeeded 04:30:27 nexus3.edgexfoundry.org:10002 04:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:27 Configure a credential helper to remove this warning. See 04:30:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:27 04:30:27 Login Succeeded 04:30:27 nexus3.edgexfoundry.org:10003 04:30:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:27 Configure a credential helper to remove this warning. See 04:30:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:27 04:30:27 Login Succeeded 04:30:27 nexus3.edgexfoundry.org:10004 04:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:28 Configure a credential helper to remove this warning. See 04:30:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:28 04:30:28 Login Succeeded 04:30:28 ****.io 04:30:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:30:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:30:28 Configure a credential helper to remove this warning. See 04:30:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:30:28 04:30:28 Login Succeeded 04:30:28 ---> ****-login.sh ends [Pipeline] } 04:30:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:30:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:30:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:30:29 ========================================================= 04:30:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:30:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:30:30 + 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 . 04:30:31 #0 building with "default" instance using docker driver 04:30:31 04:30:31 #1 [internal] load build definition from Dockerfile 04:30:31 #1 transferring dockerfile: 1.54kB 0.0s done 04:30:31 #1 DONE 0.1s 04:30:31 04:30:31 #2 [internal] load .dockerignore 04:30:31 #2 transferring context: 182B done 04:30:31 #2 DONE 0.1s 04:30:31 04:30:31 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:30:31 #3 DONE 0.1s 04:30:31 04:30:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:30:31 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:30:31 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:30:31 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:30:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.46MB / 3.33MB 0.2s 04:30:31 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 04:30:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.2s 04:30:31 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 04:30:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 04:30:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:30:31 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:30:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 1.05MB / 97.63MB 0.3s 04:30:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.3s 04:30:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.04MB / 63.99MB 0.4s 04:30:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 04:30:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.87MB / 63.99MB 0.5s 04:30:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.76MB / 97.63MB 0.5s 04:30:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.41MB / 11.40MB 0.5s 04:30:31 #4 ... 04:30:31 04:30:31 #5 [internal] load build context 04:30:31 #5 transferring context: 11.15MB 0.5s done 04:30:31 #5 DONE 0.6s 04:30:31 04:30:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:30:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.6s 04:30:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 31.46MB / 63.99MB 0.8s 04:30:32 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 04:30:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23.07MB / 97.63MB 0.8s 04:30:32 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 04:30:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 37.74MB / 63.99MB 0.9s 04:30:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 0.9s 04:30:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 42.99MB / 63.99MB 1.0s 04:30:32 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:30:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.28MB / 63.99MB 1.1s 04:30:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.74MB / 97.63MB 1.1s 04:30:32 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:30:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.22MB / 63.99MB 1.2s 04:30:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.99MB / 97.63MB 1.2s 04:30:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.4s 04:30:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 54.53MB / 97.63MB 1.4s 04:30:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.5s 04:30:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 67.16MB / 97.63MB 1.6s 04:30:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 1.8s 04:30:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 1.9s 04:30:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.1s 04:30:36 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 5.0s done 04:30:36 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 5.2s done 04:30:36 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 04:30:42 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.1s 04:30:47 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.2s 04:30:52 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.3s done 04:30:53 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 04:30:53 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:30:53 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:30:53 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0.1s 04:30:58 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.2s 04:31:02 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.2s done 04:31:04 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 04:31:06 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.5s done 04:31:06 #4 DONE 35.0s 04:31:06 04:31:06 #6 [builder 2/7] WORKDIR /device-sdk-go 04:31:08 #6 DONE 1.5s 04:31:08 04:31:08 #7 [builder 3/7] RUN apk add --update --no-cache make git 04:31:08 #7 0.667 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:31:08 #7 1.042 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:31:09 #7 2.008 OK: 266 MiB in 52 packages 04:31:10 #7 DONE 2.2s 04:31:10 04:31:10 #8 [builder 4/7] COPY go.mod vendor* ./ 04:31:10 #8 DONE 0.1s 04:31:10 04:31:10 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:31:42 #9 DONE 26.8s 04:31:42 04:31:42 #10 [builder 6/7] COPY . . 04:31:42 #10 DONE 0.4s 04:31:42 04:31:42 #11 [builder 7/7] RUN echo noop 04:31:42 #11 0.609 noop 04:31:42 #11 DONE 0.7s 04:31:42 04:31:42 #12 exporting to image 04:31:42 #12 exporting layers 04:32:04 #12 exporting layers 24.5s done 04:32:04 #12 writing image sha256:443ae0dd8a79c5f3c86848dd084ad9e03b672f6120ab02eb3ccb16eb5173e2d1 04:32:04 #12 writing image sha256:443ae0dd8a79c5f3c86848dd084ad9e03b672f6120ab02eb3ccb16eb5173e2d1 done 04:32:04 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 04:32:04 #12 DONE 24.6s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:05 + docker inspect -f . ci-base-image-arm64 04:32:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:05 prd-ubuntu20.04-docker-arm64-4c-16g-26286 does not seem to be running inside a container 04:32:05 $ 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:32:06 $ docker top 12f1afea569026dfb7660b4b519f460d838e0893da7558e6a8311ef410a5f0a8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:07 + go version 04:32:07 go version go1.21.0 linux/arm64 [Pipeline] } 04:32:07 $ docker stop --time=1 12f1afea569026dfb7660b4b519f460d838e0893da7558e6a8311ef410a5f0a8 04:32:09 $ docker rm -f --volumes 12f1afea569026dfb7660b4b519f460d838e0893da7558e6a8311ef410a5f0a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:32:10 + docker inspect -f . ci-base-image-arm64 04:32:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:32:10 prd-ubuntu20.04-docker-arm64-4c-16g-26286 does not seem to be running inside a container 04:32:10 $ 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:32:11 $ docker top f23fc625313ec58b91ad43139b559f8e09915240bc167a349df69c0de1aa3c7b -eo pid,comm [Pipeline] { [Pipeline] sh 04:32:12 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:32:13 + make test 04:32:13 go test -race -coverprofile=coverage.out ./... 04:32:45 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:33:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:33:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:33:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:33:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:33:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:33:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:33:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:33:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.200s coverage: 27.6% of statements 04:33:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.256s coverage: 81.5% of statements 04:33:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.318s coverage: 86.0% of statements 04:33:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:33:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.401s coverage: 71.8% of statements 04:33:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:33:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:34:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.263s coverage: 14.4% of statements 04:34:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.650s coverage: 45.9% of statements 04:34:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.368s coverage: 68.5% of statements 04:34:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.431s coverage: 89.2% of statements 04:34:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:34:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.213s coverage: 5.5% of statements 04:34:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:34:02 GO111MODULE=on go vet ./... 04:35:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:10 ./bin/test-attribution-txt.sh [Pipeline] echo 04:35:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:35:10 $ docker stop --time=1 f23fc625313ec58b91ad43139b559f8e09915240bc167a349df69c0de1aa3c7b 04:35:12 $ docker rm -f --volumes f23fc625313ec58b91ad43139b559f8e09915240bc167a349df69c0de1aa3c7b [Pipeline] // withDockerContainer [Pipeline] sh 04:35:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:14 Warning: overwriting stash ‘coverage-report’ 04:35:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:16 + ls -al . 04:35:16 total 304 04:35:16 drwxrwxr-x 10 jenkins jenkins 4096 Dec 28 04:32 . 04:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 04:29 .. 04:35:16 -rw-rw-r-- 1 jenkins jenkins 140 Dec 28 04:30 .dockerignore 04:35:16 drwxrwxr-x 8 jenkins jenkins 4096 Dec 28 04:30 .git 04:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 04:30 .github 04:35:16 -rw-rw-r-- 1 jenkins jenkins 137 Dec 28 04:30 .gitignore 04:35:16 -rw-rw-r-- 1 jenkins jenkins 42 Dec 28 04:30 .golangci.yml 04:35:16 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 28 04:30 CHANGELOG.md 04:35:16 -rw-rw-r-- 1 jenkins jenkins 677 Dec 28 04:30 GOVERNANCE.md 04:35:16 -rw-rw-r-- 1 jenkins jenkins 885 Dec 28 04:30 Jenkinsfile 04:35:16 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 28 04:30 LICENSE 04:35:16 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 28 04:30 Makefile 04:35:16 -rw-rw-r-- 1 jenkins jenkins 619 Dec 28 04:30 OWNERS.md 04:35:16 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 28 04:30 README.md 04:35:16 -rw-rw-r-- 1 jenkins jenkins 5 Dec 28 04:26 VERSION 04:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Dec 28 04:30 bin 04:35:16 -rw-r--r-- 1 jenkins jenkins 122153 Dec 28 04:34 coverage.out 04:35:16 drwxrwxr-x 5 jenkins jenkins 4096 Dec 28 04:30 example 04:35:16 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 28 04:30 go.mod 04:35:16 -rw-rw-r-- 1 jenkins jenkins 33778 Dec 28 04:30 go.sum 04:35:16 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 04:30 internal 04:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Dec 28 04:30 openapi 04:35:16 drwxrwxr-x 6 jenkins jenkins 4096 Dec 28 04:30 pkg 04:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Dec 28 04:30 snap 04:35:16 -rw-rw-r-- 1 jenkins jenkins 222 Dec 28 04:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:16 + 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=3c24f6d53f1cb98281f667ee5440640250ce79f4 --label arch=arm64 --label version=0.0.0 . 04:35:17 #0 building with "default" instance using docker driver 04:35:17 04:35:17 #1 [internal] load build definition from Dockerfile 04:35:17 #1 transferring dockerfile: 1.54kB done 04:35:17 #1 DONE 0.0s 04:35:17 04:35:17 #2 [internal] load .dockerignore 04:35:17 #2 transferring context: 182B done 04:35:17 #2 DONE 0.0s 04:35:17 04:35:17 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:35:17 #3 DONE 0.0s 04:35:17 04:35:17 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:35:17 #4 DONE 0.3s 04:35:17 04:35:17 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:35:17 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:35:17 #5 DONE 0.1s 04:35:17 04:35:17 #6 [internal] load build context 04:35:17 #6 transferring context: 138.47kB 0.1s done 04:35:17 #6 DONE 0.1s 04:35:17 04:35:17 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:35:17 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 04:35:17 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:35:17 #5 ... 04:35:17 04:35:17 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:35:17 #7 DONE 0.2s 04:35:17 04:35:17 #8 [builder 2/7] WORKDIR /device-sdk-go 04:35:17 #8 DONE 0.1s 04:35:17 04:35:17 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:35:17 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 04:35:17 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:35:17 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:35:17 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:35:18 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 04:35:18 #5 DONE 0.9s 04:35:18 04:35:18 #9 [stage-1 2/6] RUN apk add --update --no-cache 04:35:19 #9 0.598 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:35:19 #9 0.915 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:35:20 #9 ... 04:35:20 04:35:20 #10 [builder 3/7] RUN apk add --update --no-cache make git 04:35:20 #10 0.703 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:35:20 #10 1.132 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:35:20 #10 2.181 OK: 266 MiB in 52 packages 04:35:20 #10 DONE 2.5s 04:35:20 04:35:20 #9 [stage-1 2/6] RUN apk add --update --no-cache 04:35:20 #9 1.918 OK: 8 MiB in 15 packages 04:35:20 #9 ... 04:35:20 04:35:20 #11 [builder 4/7] COPY go.mod vendor* ./ 04:35:20 #11 DONE 0.2s 04:35:20 04:35:20 #9 [stage-1 2/6] RUN apk add --update --no-cache 04:35:20 #9 DONE 2.2s 04:35:20 04:35:20 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:25 #12 DONE 4.3s 04:35:25 04:35:25 #13 [builder 6/7] COPY . . 04:35:25 #13 DONE 0.4s 04:35:25 04:35:25 #14 [builder 7/7] RUN make build 04:35:26 #14 0.607 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:36:33 #14 DONE 58.9s 04:36:33 04:36:33 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:36:33 #15 DONE 0.1s 04:36:33 04:36:33 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:36:33 #16 DONE 0.3s 04:36:33 04:36:33 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:36:33 #17 DONE 0.1s 04:36:33 04:36:33 #18 exporting to image 04:36:33 #18 exporting layers 04:36:33 #18 exporting layers 0.3s done 04:36:33 #18 writing image sha256:62e52a8fea88ae988a14050209867419f463f1806a2330344b14944ad12bebee done 04:36:33 #18 naming to docker.io/library/device-sdk-simple-arm64 0.0s done 04:36:33 #18 DONE 0.3s [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:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:35 04:36:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:36:36 arm64: Pulling from edgex-lftools-log-publisher 04:36:36 8998bd30e6a1: Pulling fs layer 04:36:36 04944245beec: Pulling fs layer 04:36:36 699f458cf7ca: Pulling fs layer 04:36:36 765212b225bb: Pulling fs layer 04:36:36 f23df028b6ca: Pulling fs layer 04:36:36 d65c8cfc05b1: Pulling fs layer 04:36:36 2437ff75d9bd: Pulling fs layer 04:36:36 765212b225bb: Waiting 04:36:36 d65c8cfc05b1: Waiting 04:36:36 2437ff75d9bd: Waiting 04:36:36 f23df028b6ca: Waiting 04:36:36 04944245beec: Verifying Checksum 04:36:36 04944245beec: Download complete 04:36:36 765212b225bb: Download complete 04:36:36 f23df028b6ca: Verifying Checksum 04:36:36 f23df028b6ca: Download complete 04:36:36 d65c8cfc05b1: Download complete 04:36:36 699f458cf7ca: Verifying Checksum 04:36:36 699f458cf7ca: Download complete 04:36:36 8998bd30e6a1: Verifying Checksum 04:36:36 8998bd30e6a1: Download complete 04:36:38 2437ff75d9bd: Verifying Checksum 04:36:43 8998bd30e6a1: Pull complete 04:36:44 04944245beec: Pull complete 04:36:46 699f458cf7ca: Pull complete 04:36:46 765212b225bb: Pull complete 04:36:46 f23df028b6ca: Pull complete 04:36:46 d65c8cfc05b1: Pull complete 04:37:08 2437ff75d9bd: Pull complete 04:37:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:37:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:37:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:09 prd-ubuntu20.04-docker-arm64-4c-16g-26286 does not seem to be running inside a container 04:37:09 $ 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:37:11 $ docker top 22b8174acd2a81b6d9f8079303acd09634b7ecb3399ae9a3d61b4555bba7f972 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:12 ---> job-cost.sh 04:37:12 lf-activate-venv: SKIPPING 04:37:12 INFO: No Stack... 04:37:12 INFO: Retrieving Pricing Info for: v3-standard-8 04:37:13 INFO: Archiving Costs [Pipeline] sh 04:37:14 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:37:14 + cut -d, -f6 [Pipeline] lock 04:37:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1551-1-stack-cost] 04:37:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1551-1-stack-cost] did not exist. Created. 04:37:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1551-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:37:14 /w/workspace/device-sdk-go/1@tmp/durable-d362e5e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:37:15 + echo total: 0.2199999988079071 [Pipeline] stash 04:37:15 Warning: overwriting stash ‘stack-cost’ 04:37:15 Stashed 1 file(s) [Pipeline] } 04:37:15 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1551-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:37:15 $ docker stop --time=1 22b8174acd2a81b6d9f8079303acd09634b7ecb3399ae9a3d61b4555bba7f972 04:37:16 $ docker rm -f --volumes 22b8174acd2a81b6d9f8079303acd09634b7ecb3399ae9a3d61b4555bba7f972 [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:37:19 provisioning config files... 04:37:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp/config5352997096072003136tmp [Pipeline] { [Pipeline] sh 04:37:19 + set +x 04:37:19 + curl -s https://codecov.io/bash 04:37:19 + bash -s -- 04:37:19 04:37:19 _____ _ 04:37:19 / ____| | | 04:37:19 | | ___ __| | ___ ___ _____ __ 04:37:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:37:19 | |___| (_) | (_| | __/ (_| (_) \ V / 04:37:19 \_____\___/ \__,_|\___|\___\___/ \_/ 04:37:19 Bash-1.0.6 04:37:19 04:37:19 04:37:19 ==> git version 2.25.1 found 04:37:19 ==> 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:37:19 Release-Date: 2020-01-08 04:37:19 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:37:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:37:19 ==> Jenkins CI detected. 04:37:19 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1551 04:37:19 project root: . 04:37:19 --> token set from env 04:37:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:37:19 ==> Running gcov in . (disable via -X gcov) 04:37:19 ==> Python coveragepy not found 04:37:19 ==> Searching for coverage reports in: 04:37:19 + . 04:37:19 -> Found 1 reports 04:37:19 ==> Detecting git/mercurial file structure 04:37:19 ==> Reading reports 04:37:19 + ./coverage.out bytes=122153 04:37:19 ==> Appending adjustments 04:37:19 https://docs.codecov.io/docs/fixing-reports 04:37:19 + Found adjustments 04:37:19 ==> Gzipping contents 04:37:19 20K /tmp/codecov.3vE3VI.gz 04:37:19 ==> Uploading reports 04:37:19 url: https://codecov.io 04:37:19 query: branch=PR-1551&commit=3c24f6d53f1cb98281f667ee5440640250ce79f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1551%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1551&job=&cmd_args= 04:37:19 -> Pinging Codecov 04:37:19 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1551&commit=3c24f6d53f1cb98281f667ee5440640250ce79f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1551%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1551&job=&cmd_args= 04:37:20 -> Uploading to 04:37:20 https://storage.googleapis.com/codecov/v4/raw/2023-12-28/7E55EF52A471D76F132DFD9A03CDDE97/3c24f6d53f1cb98281f667ee5440640250ce79f4/ff72342a-d6a6-47ea-9fe2-761045f27609.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231228%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231228T043719Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b5a0efb10dade9805ee3c621ab4675461cd233c134bc8ea95f3b1a873e2cc9f4 04:37:20 % Total % Received % Xferd Average Speed Time Time Time Current 04:37:20 Dload Upload Total Spent Left Speed 04:37:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16753 0 0 100 16753 0 179k --:--:-- --:--:-- --:--:-- 179k 100 16753 0 0 100 16753 0 58782 --:--:-- --:--:-- --:--:-- 58576 04:37:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/3c24f6d53f1cb98281f667ee5440640250ce79f4 [Pipeline] } 04:37:20 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:37:23 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1551/archives ] 04:37:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1551/archives 04:37:23 total 16 04:37:23 drwxr-xr-x 3 root root 4096 Dec 28 04:29 . 04:37:23 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 04:29 .. 04:37:23 drwxr-xr-x 2 root root 4096 Dec 28 04:29 cost 04:37:23 -rw-r--r-- 1 root root 86 Dec 28 04:29 cost.csv 04:37:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1551/archives 04:37:23 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1551/archives 04:37:23 total 16 04:37:23 drwxr-xr-x 3 jenkins jenkins 4096 Dec 28 04:29 . 04:37:23 drwxrwxr-x 12 jenkins jenkins 4096 Dec 28 04:29 .. 04:37:23 drwxr-xr-x 2 jenkins jenkins 4096 Dec 28 04:29 cost 04:37:23 -rw-r--r-- 1 jenkins jenkins 86 Dec 28 04:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:37:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:37:25 ---> package-listing.sh 04:37:25 ++ facter osfamily 04:37:25 ++ tr '[:upper:]' '[:lower:]' 04:37:25 + OS_FAMILY=debian 04:37:25 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1551 04:37:25 + START_PACKAGES=/tmp/packages_start.txt 04:37:25 + END_PACKAGES=/tmp/packages_end.txt 04:37:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:37:25 + PACKAGES=/tmp/packages_start.txt 04:37:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1551 ']' 04:37:25 + PACKAGES=/tmp/packages_end.txt 04:37:25 + case "${OS_FAMILY}" in 04:37:25 + dpkg -l 04:37:25 + grep '^ii' 04:37:25 + '[' -f /tmp/packages_start.txt ']' 04:37:25 + '[' -f /tmp/packages_end.txt ']' 04:37:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:37:25 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1551 ']' 04:37:25 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1551/archives/ 04:37:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1551/archives/ [Pipeline] echo 04:37:25 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-1551/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:37:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:26 prd-ubuntu20.04-docker-8c-8g-26285 does not seem to be running inside a container 04:37:26 $ 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-1551/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-1551 -v /w/workspace/gexfoundry_device-sdk-go_PR-1551:/w/workspace/gexfoundry_device-sdk-go_PR-1551:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1551@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:37:26 $ docker top 45623d9d11da7e973e22ce1a296244fd677ae8baf394ace4581d9e9250b31071 -eo pid,comm [Pipeline] { [Pipeline] sh 04:37:27 + touch /tmp/pre-build-complete [Pipeline] sh 04:37:27 + mkdir -p /var/log/sysstat [Pipeline] sh 04:37:28 + ls /var/log/sa-host 04:37:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:37:28 provisioning config files... 04:37:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1551@tmp/config18031462089679103976tmp [Pipeline] { [Pipeline] echo 04:37:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:37:28 ---> create-netrc.sh [Pipeline] } 04:37:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:37:29 ---> python-tools-install.sh [Pipeline] echo 04:37:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:37:29 ---> sudo-logs.sh 04:37:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:37:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:37:30 ---> job-cost.sh 04:37:30 lf-activate-venv: SKIPPING 04:37:30 DEBUG: total: 0.2199999988079071 04:37:30 INFO: Retrieving Stack Cost... 04:37:30 INFO: Retrieving Pricing Info for: v3-standard-8 04:37:30 INFO: Archiving Costs [Pipeline] echo 04:37:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:37:31 ---> logs-deploy.sh 04:37:31 lf-activate-venv: SKIPPING 04:37:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1551/1 04:37:31 INFO: archiving workspace using pattern(s): 04:37:32 Archives upload complete. 04:37:32 INFO: archiving logs to Nexus