Pull request #1618 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2142bae1f45ba2855303e44800e00e2aa6ee3206+083c381ac4cc923d13d653dabf1097f47e3433f3 (778d3f7c1244dcd54def620fff920a1c1b39ae6c) 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-ssh17001414594070444438.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh18273385697344750310.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 f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1618/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14119660963629519150.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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 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-ssh11170800270803267157.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1618/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1618/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1874775077753547662.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-ubuntu20.04-docker-8c-8g-9255’ is offline Running on prd-ubuntu20.04-docker-8c-8g-9256 in /w/workspace/gexfoundry_device-sdk-go_PR-1618 [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-1618 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1618/head:refs/remotes/origin/PR-1618 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit 2142bae1f45ba2855303e44800e00e2aa6ee3206 Merge succeeded, producing 2142bae1f45ba2855303e44800e00e2aa6ee3206 Checking out Revision 2142bae1f45ba2855303e44800e00e2aa6ee3206 (PR-1618) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f 2142bae1f45ba2855303e44800e00e2aa6ee3206 # 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 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2142bae1f45ba2855303e44800e00e2aa6ee3206 # timeout=10 > git rev-list --no-walk 32976106376497f80a51a4ba1ecd880c9a8cabe8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:16:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:16:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:16:07 ========================================================= 06:16:07 EdgeX Global Pipelines Version Info 06:16:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:16:08 ------------------- 06:16:08 stable info: 06:16:08 ------------------- 06:16:08 Commited By: Cherry Wang cherry@iotechsys.com 06:16:08 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 06:16:08 Message: update stable to v1.0.263 06:16:08 ------------------- 06:16:08 experimental info: 06:16:08 ------------------- 06:16:08 Commited By: Cherry Wang cherry@iotechsys.com 06:16:08 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 06:16:08 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:16:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1618 [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1618 [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1618 [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2142bae [Pipeline] echo 06:16:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:16:09 provisioning config files... 06:16:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config12571239915061730940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:09 ---> ****-login.sh 06:16:09 nexus3.edgexfoundry.org:10001 06:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:10 Configure a credential helper to remove this warning. See 06:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:10 06:16:10 Login Succeeded 06:16:10 nexus3.edgexfoundry.org:10002 06:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:10 Configure a credential helper to remove this warning. See 06:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:10 06:16:10 Login Succeeded 06:16:10 nexus3.edgexfoundry.org:10003 06:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:10 Configure a credential helper to remove this warning. See 06:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:10 06:16:10 Login Succeeded 06:16:10 nexus3.edgexfoundry.org:10004 06:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:10 Configure a credential helper to remove this warning. See 06:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:10 06:16:10 Login Succeeded 06:16:10 ****.io 06:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:10 Configure a credential helper to remove this warning. See 06:16:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:10 06:16:10 Login Succeeded 06:16:10 ---> ****-login.sh ends [Pipeline] } 06:16:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:16:11 + git rev-list -1 --merges 2142bae1f45ba2855303e44800e00e2aa6ee3206~1..2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] echo 06:16:11 -----------> git rev-list -1 --merges 2142bae1f45ba2855303e44800e00e2aa6ee3206~1..2142bae1f45ba2855303e44800e00e2aa6ee3206 2142bae1f45ba2855303e44800e00e2aa6ee3206 [false] [Pipeline] sh 06:16:11 + git log --format=format:%s -1 2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] echo 06:16:11 ========================================================= 06:16:11 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:16:11 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:16:11 + git log --format=format:%s -1 2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] echo 06:16:11 [semverPrep] GIT_COMMIT: 2142bae1f45ba2855303e44800e00e2aa6ee3206, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 06:16:11 [semverPrep] This is not a build commit. [Pipeline] sh 06:16:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:16:12 + grep -v github /etc/ssh/ssh_known_hosts 06:16:12 + [ -e /tmp/ssh_known_hosts ] 06:16:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:16:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:16:12 + sudo tee -a /etc/ssh/ssh_known_hosts 06:16:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:12 06:16:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:12 0.1.4: Pulling from edgex-devops/py-git-semver 06:16:12 b85a868b505f: Pulling fs layer 06:16:12 e2be974225ed: Pulling fs layer 06:16:12 339a4e72a1f5: Pulling fs layer 06:16:12 988bab9f4d93: Pulling fs layer 06:16:12 1469e6f7b9e6: Pulling fs layer 06:16:12 eaf3925da568: Pulling fs layer 06:16:12 bab4dde63d76: Pulling fs layer 06:16:12 bde34c3a00c8: Pulling fs layer 06:16:12 b352a97aabf1: Pulling fs layer 06:16:12 4872d77fe225: Pulling fs layer 06:16:12 5851b861e8e6: Pulling fs layer 06:16:12 988bab9f4d93: Waiting 06:16:12 bde34c3a00c8: Waiting 06:16:12 1469e6f7b9e6: Waiting 06:16:12 eaf3925da568: Waiting 06:16:12 bab4dde63d76: Waiting 06:16:12 b352a97aabf1: Waiting 06:16:12 4872d77fe225: Waiting 06:16:12 5851b861e8e6: Waiting 06:16:12 e2be974225ed: Download complete 06:16:12 988bab9f4d93: Verifying Checksum 06:16:12 988bab9f4d93: Download complete 06:16:12 339a4e72a1f5: Verifying Checksum 06:16:12 339a4e72a1f5: Download complete 06:16:12 1469e6f7b9e6: Verifying Checksum 06:16:12 1469e6f7b9e6: Download complete 06:16:12 eaf3925da568: Verifying Checksum 06:16:12 eaf3925da568: Download complete 06:16:13 bde34c3a00c8: Download complete 06:16:13 b352a97aabf1: Verifying Checksum 06:16:13 b352a97aabf1: Download complete 06:16:13 4872d77fe225: Verifying Checksum 06:16:13 4872d77fe225: Download complete 06:16:13 5851b861e8e6: Verifying Checksum 06:16:13 5851b861e8e6: Download complete 06:16:13 b85a868b505f: Verifying Checksum 06:16:13 b85a868b505f: Download complete 06:16:13 bab4dde63d76: Verifying Checksum 06:16:14 b85a868b505f: Pull complete 06:16:14 e2be974225ed: Pull complete 06:16:15 339a4e72a1f5: Pull complete 06:16:15 988bab9f4d93: Pull complete 06:16:15 1469e6f7b9e6: Pull complete 06:16:15 eaf3925da568: Pull complete 06:16:17 bab4dde63d76: Pull complete 06:16:17 bde34c3a00c8: Pull complete 06:16:17 b352a97aabf1: Pull complete 06:16:17 4872d77fe225: Pull complete 06:16:17 5851b861e8e6: Pull complete 06:16:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:16:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:16:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:16:17 prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container 06:16:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:16:21 $ docker top d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f -eo pid,comm 06:16:21 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). 06:16:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:16:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:21 [ssh-agent] Looking for ssh-agent implementation... 06:16:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:21 $ docker exec d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f ssh-agent 06:16:22 SSH_AUTH_SOCK=/tmp/ssh-Fey8n4dV8OTA/agent.33 06:16:22 SSH_AGENT_PID=39 06:16:22 Running ssh-add (command line suppressed) 06:16:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_12111205318772705621.key (/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_12111205318772705621.key) 06:16:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:22 + git tag --points-at HEAD [Pipeline] } 06:16:22 $ docker exec --env ******** --env ******** d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f ssh-agent -k 06:16:22 unset SSH_AUTH_SOCK; 06:16:22 unset SSH_AGENT_PID; 06:16:22 echo Agent pid 39 killed; 06:16:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:16:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:16:22 [ssh-agent] Looking for ssh-agent implementation... 06:16:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:16:22 $ docker exec d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f ssh-agent 06:16:22 SSH_AUTH_SOCK=/tmp/ssh-2ejtfz4WYLkW/agent.72 06:16:22 SSH_AGENT_PID=78 06:16:22 Running ssh-add (command line suppressed) 06:16:23 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_6249091088249660478.key (/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/private_key_6249091088249660478.key) 06:16:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:16:23 + git semver init 06:16:23 2024-09-03 06:16:23,519 [run_init] DEBUG init version:0.0.0 force:False 06:16:23 2024-09-03 06:16:23,520 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver 06:16:23 2024-09-03 06:16:23,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver 06:16:23 2024-09-03 06:16:23,521 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618, universal_newlines=False, shell=None, istream=None) 06:16:26 2024-09-03 06:16:25,594 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.git/info/exclude 06:16:26 2024-09-03 06:16:25,594 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 with force:False 06:16:26 2024-09-03 06:16:25,594 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 06:16:26 2024-09-03 06:16:25,599 [execute] INFO git cat-file --batch-check 06:16:26 2024-09-03 06:16:25,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver, universal_newlines=False, shell=None, istream=) 06:16:26 2024-09-03 06:16:25,605 [execute] INFO git cat-file --batch 06:16:26 2024-09-03 06:16:25,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver, universal_newlines=False, shell=None, istream=) 06:16:26 2024-09-03 06:16:25,611 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1618/.semver/PR-1618 06:16:26 0.0.0 [Pipeline] } 06:16:26 $ docker exec --env ******** --env ******** d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f ssh-agent -k 06:16:26 unset SSH_AUTH_SOCK; 06:16:26 unset SSH_AGENT_PID; 06:16:26 echo Agent pid 78 killed; 06:16:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:16:26 + git semver [Pipeline] } 06:16:26 $ docker stop --time=1 d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f 06:16:28 $ docker rm -f --volumes d58a0c512aa06555b611ab5bc26ab045fe9f6302c4a5884839e207eeeb62371f [Pipeline] // withDockerContainer [Pipeline] sh 06:16:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:16:28 Stashed 1 file(s) [Pipeline] echo 06:16:28 [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 06:16:29 provisioning config files... 06:16:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config4102335262384390326tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:16:29 ---> ****-login.sh 06:16:29 nexus3.edgexfoundry.org:10001 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:29 Login Succeeded 06:16:29 nexus3.edgexfoundry.org:10002 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:29 Login Succeeded 06:16:29 nexus3.edgexfoundry.org:10003 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:29 Login Succeeded 06:16:29 nexus3.edgexfoundry.org:10004 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:29 Login Succeeded 06:16:29 ****.io 06:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:16:29 Configure a credential helper to remove this warning. See 06:16:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:16:29 06:16:30 Login Succeeded 06:16:30 ---> ****-login.sh ends [Pipeline] } 06:16:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:16:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:16:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:16:30 ========================================================= 06:16:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 06:16:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:16:30 + 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 . 06:16:30 Sending build context to Docker daemon 25.3MB 06:16:30 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:16:30 Step 2/10 : FROM ${BASE} AS builder 06:16:30 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 06:16:30 619be1103602: Pulling fs layer 06:16:30 7862e08f4a3e: Pulling fs layer 06:16:30 5df492c9dc93: Pulling fs layer 06:16:30 7629e6793208: Pulling fs layer 06:16:30 4f4fb700ef54: Pulling fs layer 06:16:30 fb5054dd5b73: Pulling fs layer 06:16:30 eeca6798cff9: Pulling fs layer 06:16:30 aa269ceb94a6: Pulling fs layer 06:16:30 ada007ff1a6a: Pulling fs layer 06:16:30 4f4fb700ef54: Waiting 06:16:30 7629e6793208: Waiting 06:16:30 fb5054dd5b73: Waiting 06:16:30 ada007ff1a6a: Waiting 06:16:30 7862e08f4a3e: Verifying Checksum 06:16:30 7862e08f4a3e: Download complete 06:16:30 7629e6793208: Verifying Checksum 06:16:30 7629e6793208: Download complete 06:16:30 4f4fb700ef54: Download complete 06:16:30 619be1103602: Verifying Checksum 06:16:30 619be1103602: Download complete 06:16:30 fb5054dd5b73: Download complete 06:16:30 eeca6798cff9: Verifying Checksum 06:16:30 eeca6798cff9: Download complete 06:16:30 ada007ff1a6a: Verifying Checksum 06:16:30 ada007ff1a6a: Download complete 06:16:31 619be1103602: Pull complete 06:16:31 7862e08f4a3e: Pull complete 06:16:31 5df492c9dc93: Verifying Checksum 06:16:31 5df492c9dc93: Download complete 06:16:31 aa269ceb94a6: Verifying Checksum 06:16:31 aa269ceb94a6: Download complete 06:16:34 5df492c9dc93: Pull complete 06:16:34 7629e6793208: Pull complete 06:16:34 4f4fb700ef54: Pull complete 06:16:34 fb5054dd5b73: Pull complete 06:16:34 eeca6798cff9: Pull complete 06:16:37 aa269ceb94a6: Pull complete 06:16:38 ada007ff1a6a: Pull complete 06:16:38 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 06:16:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 06:16:38 ---> f489d0715acc 06:16:38 Step 3/10 : ARG MAKE=make build 06:16:42 ---> Running in 3380cbb21a9d 06:16:42 Removing intermediate container 3380cbb21a9d 06:16:42 ---> 334a286e9a2c 06:16:42 Step 4/10 : WORKDIR /device-sdk-go 06:16:42 ---> Running in 0a282a1f7448 06:16:42 Removing intermediate container 0a282a1f7448 06:16:42 ---> 2a3eff72b3db 06:16:42 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:16:42 ---> Running in 21546c1a1100 06:16:42 Removing intermediate container 21546c1a1100 06:16:42 ---> 6b0b766642a8 06:16:42 Step 6/10 : RUN apk add --update --no-cache make git 06:16:42 ---> Running in 18fdc102c285 06:16:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:16:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:16:43 OK: 264 MiB in 52 packages 06:16:43 Removing intermediate container 18fdc102c285 06:16:43 ---> aad70cdaf247 06:16:43 Step 7/10 : COPY go.mod vendor* ./ 06:16:43 ---> f8c413dc8739 06:16:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:16:43 ---> Running in 38ddeaa6ea0f 06:16:43 Still waiting to schedule task 06:16:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9257’ is offline 06:17:30 Removing intermediate container 38ddeaa6ea0f 06:17:30 ---> 6c562a64c887 06:17:30 Step 9/10 : COPY . . 06:17:31 ---> 7dc2a946ac18 06:17:31 Step 10/10 : RUN ${MAKE} 06:17:31 ---> Running in 676451c21d6d 06:17:31 noop 06:17:31 Removing intermediate container 676451c21d6d 06:17:31 ---> d96713b1c915 06:17:31 Successfully built d96713b1c915 06:17:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:31 + docker inspect -f . ci-base-image-x86_64 06:17:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:32 prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container 06:17:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:32 $ docker top 313f063bfaa1df55a06ac8fe79dcdf0f307f35876caef0e360eb383369e22c6f -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:32 + go version 06:17:32 go version go1.21.9 linux/amd64 [Pipeline] } 06:17:32 $ docker stop --time=1 313f063bfaa1df55a06ac8fe79dcdf0f307f35876caef0e360eb383369e22c6f 06:17:34 $ docker rm -f --volumes 313f063bfaa1df55a06ac8fe79dcdf0f307f35876caef0e360eb383369e22c6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:34 + docker inspect -f . ci-base-image-x86_64 06:17:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:17:34 prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container 06:17:34 $ 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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:17:34 $ docker top dbb2a26ad2cee15ce92108129578173b432c69016545644693fe85139a6f15f1 -eo pid,comm [Pipeline] { [Pipeline] sh 06:17:35 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1618 [Pipeline] fileExists [Pipeline] sh 06:17:35 + make test 06:17:35 go test -race -coverprofile=coverage.out ./... 06:17:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:18:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:18:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:18:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:18:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:18:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:18:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:18:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:18:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.032s coverage: 26.0% of statements 06:18:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements 06:18:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.042s coverage: 86.0% of statements 06:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 06:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:18:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:18:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.093s coverage: 45.2% of statements 06:18:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:18:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.044s coverage: 14.4% of statements 06:18:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.341s coverage: 44.6% of statements 06:18:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.061s coverage: 68.5% of statements 06:18:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.095s coverage: 89.2% of statements 06:18:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.052s coverage: 5.3% of statements 06:18:54 GO111MODULE=on go vet ./... 06:18:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:18:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:18:54 ./bin/test-attribution-txt.sh [Pipeline] echo 06:18:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:18:55 $ docker stop --time=1 dbb2a26ad2cee15ce92108129578173b432c69016545644693fe85139a6f15f1 06:19:00 $ docker rm -f --volumes dbb2a26ad2cee15ce92108129578173b432c69016545644693fe85139a6f15f1 [Pipeline] // withDockerContainer [Pipeline] sh 06:19:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:19:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:19:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:19:01 + ls -al . 06:19:01 total 384 06:19:01 drwxrwxr-x 11 jenkins jenkins 4096 Sep 3 06:17 . 06:19:01 drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:15 .. 06:19:01 -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 06:16 .dockerignore 06:19:01 drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 06:18 .git 06:19:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:16 .github 06:19:01 -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 06:16 .gitignore 06:19:01 -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 06:16 .golangci.yml 06:19:01 drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 06:16 .semver 06:19:01 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 06:16 CHANGELOG.md 06:19:01 -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 06:16 GOVERNANCE.md 06:19:01 -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 06:16 Jenkinsfile 06:19:01 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 06:16 LICENSE 06:19:01 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 06:16 Makefile 06:19:01 -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 06:16 OWNERS.md 06:19:01 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 06:16 README.md 06:19:01 -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 06:16 VERSION 06:19:01 drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 06:16 bin 06:19:01 -rw-r--r-- 1 jenkins jenkins 127941 Sep 3 06:18 coverage.out 06:19:01 drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 06:16 example 06:19:01 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 06:16 go.mod 06:19:01 -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 06:16 go.sum 06:19:01 drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 06:16 internal 06:19:01 drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:16 openapi 06:19:01 drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 06:16 pkg 06:19:01 drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:16 snap 06:19:01 -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 06:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:01 + 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=2142bae1f45ba2855303e44800e00e2aa6ee3206 --label arch=amd64 --label version=0.0.0 . 06:19:01 Sending build context to Docker daemon 25.42MB 06:19:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:19:01 Step 2/24 : FROM ${BASE} AS builder 06:19:01 ---> d96713b1c915 06:19:01 Step 3/24 : ARG MAKE=make build 06:19:02 ---> Running in 3c941676fe41 06:19:02 Removing intermediate container 3c941676fe41 06:19:02 ---> c7dadf14f847 06:19:02 Step 4/24 : WORKDIR /device-sdk-go 06:19:02 ---> Running in b458d9620995 06:19:02 Removing intermediate container b458d9620995 06:19:02 ---> 6c04affd8644 06:19:02 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:19:02 ---> Running in 40194c9c172f 06:19:02 Removing intermediate container 40194c9c172f 06:19:02 ---> 7874203ad113 06:19:02 Step 6/24 : RUN apk add --update --no-cache make git 06:19:02 ---> Running in 03f4f926a412 06:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:19:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:19:03 OK: 264 MiB in 52 packages 06:19:03 Removing intermediate container 03f4f926a412 06:19:03 ---> c8e583e3c3f7 06:19:03 Step 7/24 : COPY go.mod vendor* ./ 06:19:04 ---> 9ff767edeffb 06:19:04 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:19:04 ---> Running in bdf998f7374f 06:19:04 Removing intermediate container bdf998f7374f 06:19:04 ---> d01a2740718c 06:19:04 Step 9/24 : COPY . . 06:19:05 ---> b2d2db0400bf 06:19:05 Step 10/24 : RUN ${MAKE} 06:19:05 ---> Running in f7cf6e55682e 06:19:05 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 06:19:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9258 in /w/workspace/gexfoundry_device-sdk-go_PR-1618 [Pipeline] { [Pipeline] ws 06:19:30 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 06:19:33 The recommended git tool is: git 06:19:41 using credential edgex-jenkins-ssh 06:19:41 Cloning the remote Git repository 06:19:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:19:41 > git init /w/workspace/device-sdk-go/2 # timeout=10 06:19:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:19:42 > git --version # timeout=10 06:19:42 > git --version # 'git version 2.25.1' 06:19:42 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:44 Removing intermediate container f7cf6e55682e 06:19:44 ---> 4931737bb0f9 06:19:44 Step 11/24 : FROM alpine:3.18 06:19:44 3.18: Pulling from library/alpine 06:19:44 930bdd4d222e: Pulling fs layer 06:19:44 930bdd4d222e: Download complete 06:19:44 930bdd4d222e: Pull complete 06:19:44 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:19:44 Status: Downloaded newer image for alpine:3.18 06:19:44 ---> 18f865063206 06:19:44 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:19:44 ---> Running in 27753c096588 06:19:44 Removing intermediate container 27753c096588 06:19:44 ---> 61ba82475c62 06:19:44 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:19:44 ---> Running in 3c46c736ef8c 06:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:19:44 (1/1) Installing dumb-init (1.2.5-r2) 06:19:44 Executing busybox-1.36.1-r7.trigger 06:19:44 OK: 7 MiB in 16 packages 06:19:44 Removing intermediate container 3c46c736ef8c 06:19:44 ---> 4f87d1f842b7 06:19:44 Step 14/24 : RUN apk --no-cache upgrade 06:19:44 ---> Running in bdc7fc8e5645 06:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 06:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 06:19:44 OK: 7 MiB in 16 packages 06:19:44 Removing intermediate container bdc7fc8e5645 06:19:44 ---> 1d8ae27263dc 06:19:44 Step 15/24 : WORKDIR / 06:19:44 ---> Running in fa7e9e663e43 06:19:44 Removing intermediate container fa7e9e663e43 06:19:44 ---> 588b68756d43 06:19:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:19:44 ---> 98d2a8e5f5a1 06:19:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:19:45 ---> ca59d87885b8 06:19:45 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:19:45 ---> 1c89c1b12979 06:19:45 Step 19/24 : EXPOSE 59999 06:19:45 ---> Running in 7082793d128b 06:19:45 Removing intermediate container 7082793d128b 06:19:45 ---> e8e873c389b9 06:19:45 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:19:45 ---> Running in ee0c05d8c80d 06:19:45 Removing intermediate container ee0c05d8c80d 06:19:45 ---> 99c92f5ff3d3 06:19:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:19:45 ---> Running in 0529d3bc5979 06:19:45 Removing intermediate container 0529d3bc5979 06:19:45 ---> 9de5e240369f 06:19:45 Step 22/24 : LABEL arch=amd64 06:19:45 ---> Running in 0b4f37c7b9b3 06:19:45 Removing intermediate container 0b4f37c7b9b3 06:19:45 ---> 74782e01bc18 06:19:45 Step 23/24 : LABEL git_sha=2142bae1f45ba2855303e44800e00e2aa6ee3206 06:19:45 ---> Running in 2c7926a7cefe 06:19:45 Removing intermediate container 2c7926a7cefe 06:19:45 ---> 03eb26b2be28 06:19:45 Step 24/24 : LABEL version=0.0.0 06:19:45 ---> Running in 42d614875b3c 06:19:45 Removing intermediate container 42d614875b3c 06:19:45 ---> 5b563af7ae4e 06:19:45 [Warning] One or more build-args [ARCH] were not consumed 06:19:45 Successfully built 5b563af7ae4e 06:19:45 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:46 06:19:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:19:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:46 latest: Pulling from edgex-lftools-log-publisher 06:19:46 5eb5b503b376: Pulling fs layer 06:19:46 5c69ac0246d0: Pulling fs layer 06:19:46 ec43610c2a17: Pulling fs layer 06:19:46 3a2ae6a8a46f: Pulling fs layer 06:19:46 33b1e0a273af: Pulling fs layer 06:19:46 5d3b04190fa2: Pulling fs layer 06:19:46 2f39f015ded8: Pulling fs layer 06:19:46 3a2ae6a8a46f: Waiting 06:19:46 33b1e0a273af: Waiting 06:19:46 5d3b04190fa2: Waiting 06:19:46 2f39f015ded8: Waiting 06:19:46 5c69ac0246d0: Download complete 06:19:47 3a2ae6a8a46f: Download complete 06:19:47 33b1e0a273af: Verifying Checksum 06:19:47 33b1e0a273af: Download complete 06:19:47 5d3b04190fa2: Verifying Checksum 06:19:47 5d3b04190fa2: Download complete 06:19:47 ec43610c2a17: Verifying Checksum 06:19:47 ec43610c2a17: Download complete 06:19:47 5eb5b503b376: Download complete 06:19:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:19:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:19:47 2f39f015ded8: Download complete 06:19:48 5eb5b503b376: Pull complete 06:19:48 5c69ac0246d0: Pull complete 06:19:48 ec43610c2a17: Pull complete 06:19:48 3a2ae6a8a46f: Pull complete 06:19:48 Merging remotes/origin/main commit 083c381ac4cc923d13d653dabf1097f47e3433f3 into PR head commit 2142bae1f45ba2855303e44800e00e2aa6ee3206 06:19:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:19:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:19:48 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1618/head:refs/remotes/origin/PR-1618 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:19:49 > git config core.sparsecheckout # timeout=10 06:19:49 > git checkout -f 2142bae1f45ba2855303e44800e00e2aa6ee3206 # timeout=10 06:19:49 33b1e0a273af: Pull complete 06:19:49 5d3b04190fa2: Pull complete 06:19:49 Merge succeeded, producing 2142bae1f45ba2855303e44800e00e2aa6ee3206 06:19:49 Checking out Revision 2142bae1f45ba2855303e44800e00e2aa6ee3206 (PR-1618) 06:19:50 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 06:19:49 > git remote # timeout=10 06:19:49 > git config --get remote.origin.url # timeout=10 06:19:49 using GIT_SSH to set credentials SSH Credentials for GitHub 06:19:49 > git merge 083c381ac4cc923d13d653dabf1097f47e3433f3 # timeout=10 06:19:49 > git rev-parse HEAD^{commit} # timeout=10 06:19:49 > git config core.sparsecheckout # timeout=10 06:19:49 > git checkout -f 2142bae1f45ba2855303e44800e00e2aa6ee3206 # timeout=10 06:19:53 2f39f015ded8: Pull complete 06:19:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:19:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:19:53 prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container 06:19:53 $ 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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:19:55 06:19:55 GitHub has been notified of this commit’s build result 06:19:55 06:19:58 $ docker top 5ec8cb76385137e9c0bcfebea4faa22462cdf89455798410b44698264938227a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:19:59 ---> job-cost.sh 06:19:59 lf-activate-venv: SKIPPING 06:19:59 INFO: No Stack... 06:19:59 INFO: Retrieving Pricing Info for: v3-standard-8 06:19:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:19:59 % Total % Received % Xferd Average Speed Time Time Time Current 06:19:59 Dload Upload Total Spent Left Speed 06:19:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 06:19:59 INFO: Archiving Costs [Pipeline] sh 06:19:59 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:19:59 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/cost.csv 06:19:59 + cut -d, -f6 [Pipeline] lock 06:19:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] 06:19:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] did not exist. Created. 06:19:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:20:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:20:00 + sudo tee /etc/docker/daemon.new 06:20:00 { 06:20:00 "registry-mirrors": [ 06:20:00 "https://nexus3.edgexfoundry.org:10001" 06:20:00 ], 06:20:00 "bip": "10.250.0.254/24", 06:20:00 "hosts": [ 06:20:00 "tcp://0.0.0.0:5555", 06:20:00 "unix:///var/run/docker.sock" 06:20:00 ], 06:20:00 "mtu": 1458, 06:20:00 "selinux-enabled": true, 06:20:00 "seccomp-profile": "/etc/docker/seccomp.json" 06:20:00 } [Pipeline] sh 06:20:00 + echo total: 0.2199999988079071 [Pipeline] stash 06:20:00 Stashed 1 file(s) [Pipeline] } 06:20:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:20:00 $ docker stop --time=1 5ec8cb76385137e9c0bcfebea4faa22462cdf89455798410b44698264938227a 06:20:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json 06:20:01 $ docker rm -f --volumes 5ec8cb76385137e9c0bcfebea4faa22462cdf89455798410b44698264938227a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:20:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:20:20 provisioning config files... 06:20:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config16447515351747566917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:20:20 ---> ****-login.sh 06:20:20 nexus3.edgexfoundry.org:10001 06:20:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:21 Configure a credential helper to remove this warning. See 06:20:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:21 06:20:21 Login Succeeded 06:20:21 nexus3.edgexfoundry.org:10002 06:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:21 Configure a credential helper to remove this warning. See 06:20:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:21 06:20:21 Login Succeeded 06:20:21 nexus3.edgexfoundry.org:10003 06:20:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:21 Configure a credential helper to remove this warning. See 06:20:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:21 06:20:21 Login Succeeded 06:20:21 nexus3.edgexfoundry.org:10004 06:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:22 Configure a credential helper to remove this warning. See 06:20:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:22 06:20:22 Login Succeeded 06:20:22 ****.io 06:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:20:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 06:20:25 Configure a credential helper to remove this warning. See 06:20:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 06:20:25 06:20:25 Login Succeeded 06:20:25 ---> ****-login.sh ends [Pipeline] } 06:20:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:20:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:20:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 06:20:25 ========================================================= 06:20:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 06:20:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:25 + 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 . 06:20:26 Sending build context to Docker daemon 13.1MB 06:20:26 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 06:20:26 Step 2/10 : FROM ${BASE} AS builder 06:20:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:20:26 c6b39de5b339: Pulling fs layer 06:20:26 a69c41024577: Pulling fs layer 06:20:26 d6de4b400683: Pulling fs layer 06:20:26 35cb2a7552d0: Pulling fs layer 06:20:26 4f4fb700ef54: Pulling fs layer 06:20:26 464afbd9ba4c: Pulling fs layer 06:20:26 00f215d4a9da: Pulling fs layer 06:20:26 d496ad576159: Pulling fs layer 06:20:26 4f4fb700ef54: Waiting 06:20:26 464afbd9ba4c: Waiting 06:20:26 00f215d4a9da: Waiting 06:20:26 d496ad576159: Waiting 06:20:26 35cb2a7552d0: Waiting 06:20:26 a69c41024577: Verifying Checksum 06:20:26 a69c41024577: Download complete 06:20:26 35cb2a7552d0: Verifying Checksum 06:20:26 35cb2a7552d0: Download complete 06:20:26 4f4fb700ef54: Verifying Checksum 06:20:26 4f4fb700ef54: Download complete 06:20:26 464afbd9ba4c: Verifying Checksum 06:20:26 464afbd9ba4c: Download complete 06:20:26 c6b39de5b339: Download complete 06:20:27 d496ad576159: Verifying Checksum 06:20:27 d496ad576159: Download complete 06:20:27 c6b39de5b339: Pull complete 06:20:28 a69c41024577: Pull complete 06:20:28 d6de4b400683: Verifying Checksum 06:20:28 d6de4b400683: Download complete 06:20:29 00f215d4a9da: Verifying Checksum 06:20:29 00f215d4a9da: Download complete 06:20:42 d6de4b400683: Pull complete 06:20:42 35cb2a7552d0: Pull complete 06:20:42 4f4fb700ef54: Pull complete 06:20:42 464afbd9ba4c: Pull complete 06:20:52 00f215d4a9da: Pull complete 06:20:53 d496ad576159: Pull complete 06:20:53 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 06:20:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 06:20:53 ---> f246e2811388 06:20:53 Step 3/10 : ARG MAKE=make build 06:20:54 ---> Running in 40a5a9f187d7 06:20:55 Removing intermediate container 40a5a9f187d7 06:20:55 ---> c16cdf39a3b5 06:20:55 Step 4/10 : WORKDIR /device-sdk-go 06:20:55 ---> Running in 5afb29c18386 06:20:55 Removing intermediate container 5afb29c18386 06:20:55 ---> ada589032243 06:20:55 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:20:55 ---> Running in 072653d8b465 06:20:55 Removing intermediate container 072653d8b465 06:20:55 ---> 0476e583c9f0 06:20:55 Step 6/10 : RUN apk add --update --no-cache make git 06:20:55 ---> Running in 5ba3b4467e87 06:20:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:20:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:20:58 OK: 266 MiB in 52 packages 06:20:59 Removing intermediate container 5ba3b4467e87 06:20:59 ---> de2198a72977 06:20:59 Step 7/10 : COPY go.mod vendor* ./ 06:20:59 ---> e5eb25289d0b 06:20:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:20:59 ---> Running in 3eda5057cba6 06:21:46 go: github.com/gabriel-vasile/mimetype@v1.4.3: Get "https://storage.googleapis.com/proxy-golang-org-prod/8df50aaa37f10f1f-github.com:gabriel-vasile:mimetype-v1.4.3.zip?Expires=1725420093&GoogleAccessId=gcs-urlsigner-prod%40golang-modproxy.iam.gserviceaccount.com&Signature=Hx0w0bHvfpzRZvkCbBLSpcVm6g0Rxpe0t7D87s72wB7J%2BYniCYZ9Re6NGNt%2FXQ8sLr24VDMyUsFz6jdM36kVieDJ%2FunH%2BexlFhQvpRkv7z1mre0D%2F%2BKpFCKaISIE2079oXxBMW92bS8xXCJ%2Bi8jscBmguJPqk1qdoDDXKKxl1bTZlwVioXLqOG3yVargqtBXfmZMvIf9KfnO9CtLaSr8CS7enRFA%2F98Ev20qz42sfpzPjd%2FXkrtANHWVdDOc4%2BolTJzSnhs3%2FFnV40SKgL5ZvQgkNoWZc4q4f%2FY1e1iPzxor5Cbvn%2BAYuOUT8Vp8Od%2FaGeA3PfiVRgiuxlIxW%2B1kbg%3D%3D": dial tcp [2607:f8b0:400b:803::201b]:443: connect: cannot assign requested address 06:21:46 go: github.com/klauspost/compress@v1.17.2: Get "https://storage.googleapis.com/proxy-golang-org-prod/3f182d1392558b79-github.com:klauspost:compress-v1.17.2.zip?Expires=1725430539&GoogleAccessId=gcs-urlsigner-prod%40golang-modproxy.iam.gserviceaccount.com&Signature=Z8RO%2Fky8QV9bHSgW4IEUhZylEzO3UgYf93279M4Xu%2FSLHVQitqwd9t8YXlkXYPJqjP5tUtgtS1OsOV6glZRxz6RwIl0yY2EnkrgFH7DHfiORztyINuj9tOEdmKj9ZiIwIt4KjqpMQ6Fltm9hy8D5l%2BNFwM6tLISOb9PxhxbiY8oUOnYybndPs%2Fx%2BUJdE7Z7rYX4OKQVbC%2BUpE5pKTTY0nfNAANdtVmdrms42Es1pDzihtVvMXjy8hZluz5ltdtGNqc%2FXTKTzCrURUvyavSTX53aVyOw74c6e6%2F0%2F8w2H%2FBML7vCAb1NnujhBai98F8lydOiDDuSf7VDmzzFNg5dBHg%3D%3D": dial tcp [2607:f8b0:400b:803::201b]:443: connect: cannot assign requested address 06:21:46 go: google.golang.org/api@v0.44.0: Get "https://storage.googleapis.com/proxy-golang-org-prod/aeae1c5efcbfd982-google.golang.org:api-v0.44.0.zip?Expires=1725430541&GoogleAccessId=gcs-urlsigner-prod%40golang-modproxy.iam.gserviceaccount.com&Signature=vyW2nAaOLK%2FPMqEqeNpPCS6qbqiXsR3E%2F8eYPowB9pNVVuGY7MuQZseYSDJ2VjxSTPMGI0Ody4TauGhmpP0lDkVKzUUxk1wTufhkYl1j4cY0SlgkcZ6oORzHYt9FKLzj9uhMpbGuNfD2WCzEUH1qbqf9TnAei77MnMdHsIS9R%2FQ%2FPoGeNWdPn7MK06NUN%2BCBJ9oHusKY94BzVTE2joVV%2BijREsulZdET9%2B9Nhwjc63WRV7URDMDHvmHzTk8fyBdYiA1HHLoXmUG9BajFjL%2B%2FYIEX09yWDDsTKyrnv86f6OTm%2BiFWqAOrjrisS7cfrIUMQBprSCLJD1lnoq0iBBItlQ%3D%3D": dial tcp [2607:f8b0:400b:802::201b]:443: connect: cannot assign requested address 06:21:46 skipping... 06:22:43 Removing intermediate container 3eda5057cba6 06:22:43 ---> a57bf460ca2e 06:22:43 Step 9/10 : COPY . . 06:22:43 ---> 021bf4709d92 06:22:43 Step 10/10 : RUN ${MAKE} 06:22:43 ---> Running in dc5097006171 06:22:44 noop 06:22:45 Removing intermediate container dc5097006171 06:22:45 ---> 72c69b2c134e 06:22:45 Successfully built 72c69b2c134e 06:22:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:45 + docker inspect -f . ci-base-image-arm64 06:22:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:45 prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container 06:22:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:22:47 $ docker top 6ac339fcf8ede71e74860c5f180cc4fb893f785c129f07557856fd2c3c181581 -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:47 + go version 06:22:47 go version go1.21.9 linux/arm64 [Pipeline] } 06:22:47 $ docker stop --time=1 6ac339fcf8ede71e74860c5f180cc4fb893f785c129f07557856fd2c3c181581 06:22:49 $ docker rm -f --volumes 6ac339fcf8ede71e74860c5f180cc4fb893f785c129f07557856fd2c3c181581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:22:50 + docker inspect -f . ci-base-image-arm64 06:22:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:22:50 prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container 06:22:50 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:22:51 $ docker top 8be448870f131147c1ea65278abb966fcc66d3dbff0476838cffa4c87431010e -eo pid,comm [Pipeline] { [Pipeline] sh 06:22:52 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 06:22:52 + make test 06:22:52 go test -race -coverprofile=coverage.out ./... 06:22:53 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 06:23:40 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:27:02 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:27:02 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:27:02 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:27:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:27:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:27:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.114s coverage: 26.0% of statements 06:27:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.179s coverage: 79.4% of statements 06:27:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:27:27 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:27:28 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.260s coverage: 86.0% of statements 06:27:36 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:27:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.431s coverage: 45.2% of statements 06:27:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.170s coverage: 14.4% of statements 06:27:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.759s coverage: 44.6% of statements 06:27:41 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 06:27:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:27:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:27:42 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.308s coverage: 68.5% of statements 06:27:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.364s coverage: 89.2% of statements 06:27:49 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:27:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.246s coverage: 5.3% of statements 06:27:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:27:52 GO111MODULE=on go vet ./... 06:31:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:31:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:31:43 ./bin/test-attribution-txt.sh [Pipeline] echo 06:31:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 06:31:43 $ docker stop --time=1 8be448870f131147c1ea65278abb966fcc66d3dbff0476838cffa4c87431010e 06:31:45 $ docker rm -f --volumes 8be448870f131147c1ea65278abb966fcc66d3dbff0476838cffa4c87431010e [Pipeline] // withDockerContainer [Pipeline] sh 06:31:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:31:48 Warning: overwriting stash ‘coverage-report’ 06:31:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:31:49 + ls -al . 06:31:49 total 380 06:31:49 drwxrwxr-x 10 jenkins jenkins 4096 Sep 3 06:22 . 06:31:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:19 .. 06:31:49 -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 06:19 .dockerignore 06:31:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 06:19 .git 06:31:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:19 .github 06:31:49 -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 06:19 .gitignore 06:31:49 -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 06:19 .golangci.yml 06:31:49 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 06:19 CHANGELOG.md 06:31:49 -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 06:19 GOVERNANCE.md 06:31:49 -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 06:19 Jenkinsfile 06:31:49 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 06:19 LICENSE 06:31:49 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 06:19 Makefile 06:31:49 -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 06:19 OWNERS.md 06:31:49 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 06:19 README.md 06:31:49 -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 06:16 VERSION 06:31:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 06:19 bin 06:31:49 -rw-r--r-- 1 jenkins jenkins 127940 Sep 3 06:27 coverage.out 06:31:49 drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 06:19 example 06:31:49 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 06:19 go.mod 06:31:49 -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 06:19 go.sum 06:31:49 drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 06:19 internal 06:31:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 06:19 openapi 06:31:49 drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 06:19 pkg 06:31:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 06:19 snap 06:31:49 -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 06:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:49 + 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=2142bae1f45ba2855303e44800e00e2aa6ee3206 --label arch=arm64 --label version=0.0.0 . 06:31:50 Sending build context to Docker daemon 13.23MB 06:31:50 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 06:31:50 Step 2/24 : FROM ${BASE} AS builder 06:31:50 ---> 72c69b2c134e 06:31:50 Step 3/24 : ARG MAKE=make build 06:31:50 ---> Running in 9b71274eab2e 06:31:50 Removing intermediate container 9b71274eab2e 06:31:50 ---> 75d00fd6baca 06:31:50 Step 4/24 : WORKDIR /device-sdk-go 06:31:50 ---> Running in af1c461596d2 06:31:51 Removing intermediate container af1c461596d2 06:31:51 ---> fbf7657a9a2d 06:31:51 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:31:51 ---> Running in a30c05ed2c27 06:31:51 Removing intermediate container a30c05ed2c27 06:31:51 ---> 51283461abfe 06:31:51 Step 6/24 : RUN apk add --update --no-cache make git 06:31:51 ---> Running in 2c08e26d592f 06:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:31:53 OK: 266 MiB in 52 packages 06:31:54 Removing intermediate container 2c08e26d592f 06:31:54 ---> 1952ed8f6355 06:31:54 Step 7/24 : COPY go.mod vendor* ./ 06:31:55 ---> e58545d3b7bf 06:31:55 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:55 ---> Running in 6f4a05a53797 06:32:17 Removing intermediate container 6f4a05a53797 06:32:17 ---> a0e95e769c61 06:32:17 Step 9/24 : COPY . . 06:32:17 ---> eb601cdd94fd 06:32:17 Step 10/24 : RUN ${MAKE} 06:32:17 ---> Running in 7fda3149da9e 06:32:18 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 06:35:56 Removing intermediate container 7fda3149da9e 06:35:56 ---> a038ffb5bfc7 06:35:56 Step 11/24 : FROM alpine:3.18 06:35:56 3.18: Pulling from library/alpine 06:35:56 4983c3fe2029: Pulling fs layer 06:35:56 4983c3fe2029: Verifying Checksum 06:35:56 4983c3fe2029: Download complete 06:35:56 4983c3fe2029: Pull complete 06:35:56 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 06:35:56 Status: Downloaded newer image for alpine:3.18 06:35:56 ---> a0237000ae83 06:35:56 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:35:56 ---> Running in b5395598782a 06:35:56 Removing intermediate container b5395598782a 06:35:56 ---> ab5fe1d2481f 06:35:56 Step 13/24 : RUN apk add --update --no-cache dumb-init 06:35:56 ---> Running in c9ec0f38c0f4 06:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:35:56 (1/1) Installing dumb-init (1.2.5-r2) 06:35:56 Executing busybox-1.36.1-r7.trigger 06:35:56 OK: 8 MiB in 16 packages 06:35:56 Removing intermediate container c9ec0f38c0f4 06:35:56 ---> 73956444df7b 06:35:56 Step 14/24 : RUN apk --no-cache upgrade 06:35:56 ---> Running in fea5c0b31abf 06:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 06:35:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 06:35:56 OK: 8 MiB in 16 packages 06:35:56 Removing intermediate container fea5c0b31abf 06:35:56 ---> 2310adc1c149 06:35:56 Step 15/24 : WORKDIR / 06:35:56 ---> Running in 6fea9791377f 06:35:56 Removing intermediate container 6fea9791377f 06:35:56 ---> 329b23cb9458 06:35:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:35:56 ---> 6e2adf21b0d0 06:35:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:35:56 ---> e9b971713569 06:35:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:35:56 ---> ed0876322f40 06:35:56 Step 19/24 : EXPOSE 59999 06:35:56 ---> Running in 25e18b567482 06:35:56 Removing intermediate container 25e18b567482 06:35:56 ---> 354dafc87590 06:35:56 Step 20/24 : ENTRYPOINT ["/device-simple"] 06:35:56 ---> Running in c09570ca4ecc 06:35:56 Removing intermediate container c09570ca4ecc 06:35:56 ---> b4e468eb021f 06:35:56 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:35:56 ---> Running in 600691e35dbd 06:35:56 Removing intermediate container 600691e35dbd 06:35:56 ---> 887243018572 06:35:56 Step 22/24 : LABEL arch=arm64 06:35:56 ---> Running in 297bbb53d2d7 06:35:56 Removing intermediate container 297bbb53d2d7 06:35:56 ---> 0d9ab6832282 06:35:56 Step 23/24 : LABEL git_sha=2142bae1f45ba2855303e44800e00e2aa6ee3206 06:35:56 ---> Running in 30ec128798e5 06:35:56 Removing intermediate container 30ec128798e5 06:35:56 ---> f1edecec4fd4 06:35:56 Step 24/24 : LABEL version=0.0.0 06:35:56 ---> Running in bfc0695fd316 06:35:56 Removing intermediate container bfc0695fd316 06:35:56 ---> 9b93c2868e76 06:35:56 [Warning] One or more build-args [ARCH] were not consumed 06:35:56 Successfully built 9b93c2868e76 06:35:56 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:57 06:35:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:35:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:35:57 arm64: Pulling from edgex-lftools-log-publisher 06:35:57 8998bd30e6a1: Pulling fs layer 06:35:57 04944245beec: Pulling fs layer 06:35:57 699f458cf7ca: Pulling fs layer 06:35:57 765212b225bb: Pulling fs layer 06:35:57 f23df028b6ca: Pulling fs layer 06:35:57 d65c8cfc05b1: Pulling fs layer 06:35:57 2437ff75d9bd: Pulling fs layer 06:35:57 f23df028b6ca: Waiting 06:35:57 d65c8cfc05b1: Waiting 06:35:57 2437ff75d9bd: Waiting 06:35:57 765212b225bb: Waiting 06:35:57 04944245beec: Verifying Checksum 06:35:57 04944245beec: Download complete 06:35:57 765212b225bb: Verifying Checksum 06:35:57 765212b225bb: Download complete 06:35:57 f23df028b6ca: Verifying Checksum 06:35:57 f23df028b6ca: Download complete 06:35:57 d65c8cfc05b1: Verifying Checksum 06:35:57 d65c8cfc05b1: Download complete 06:35:57 699f458cf7ca: Verifying Checksum 06:35:57 699f458cf7ca: Download complete 06:35:58 8998bd30e6a1: Verifying Checksum 06:35:58 8998bd30e6a1: Download complete 06:36:00 2437ff75d9bd: Download complete 06:36:02 8998bd30e6a1: Pull complete 06:36:03 04944245beec: Pull complete 06:36:04 699f458cf7ca: Pull complete 06:36:05 765212b225bb: Pull complete 06:36:06 f23df028b6ca: Pull complete 06:36:06 d65c8cfc05b1: Pull complete 06:36:24 2437ff75d9bd: Pull complete 06:36:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:36:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:36:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:24 prd-ubuntu20.04-docker-arm64-4c-16g-9258 does not seem to be running inside a container 06:36:24 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:36:27 $ docker top 1281161220d521ad7a667d58cbc973fddb947d11d89fc20cb096de0d2d09eea4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:36:28 ---> job-cost.sh 06:36:28 lf-activate-venv: SKIPPING 06:36:28 INFO: No Stack... 06:36:28 INFO: Retrieving Pricing Info for: v3-standard-4 06:36:29 INFO: Archiving Costs [Pipeline] sh 06:36:29 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 06:36:29 + cut -d, -f6 [Pipeline] lock 06:36:30 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] 06:36:30 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] did not exist. Created. 06:36:30 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:36:30 /w/workspace/device-sdk-go/2@tmp/durable-60b36aec/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:36:31 + echo total: 0.10999999940395355 [Pipeline] stash 06:36:31 Warning: overwriting stash ‘stack-cost’ 06:36:31 Stashed 1 file(s) [Pipeline] } 06:36:31 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1618-2-stack-cost] [Pipeline] // lock [Pipeline] } 06:36:31 $ docker stop --time=1 1281161220d521ad7a667d58cbc973fddb947d11d89fc20cb096de0d2d09eea4 06:36:32 $ docker rm -f --volumes 1281161220d521ad7a667d58cbc973fddb947d11d89fc20cb096de0d2d09eea4 [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 06:36:33 provisioning config files... 06:36:33 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config10260099992266094425tmp [Pipeline] { [Pipeline] sh 06:36:33 + set +x 06:36:33 + curl -s https://codecov.io/bash 06:36:33 + bash -s -- 06:36:33 06:36:33 _____ _ 06:36:33 / ____| | | 06:36:33 | | ___ __| | ___ ___ _____ __ 06:36:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:36:33 | |___| (_) | (_| | __/ (_| (_) \ V / 06:36:33 \_____\___/ \__,_|\___|\___\___/ \_/ 06:36:33 Bash-1.0.6 06:36:33 06:36:33 06:36:33 ==> git version 2.25.1 found 06:36:33 ==> 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 06:36:33 Release-Date: 2020-01-08 06:36:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:36:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:36:33 ==> Jenkins CI detected. 06:36:33 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1618 06:36:33 project root: . 06:36:33 --> token set from env 06:36:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:36:33 ==> Running gcov in . (disable via -X gcov) 06:36:33 ==> Python coveragepy not found 06:36:33 ==> Searching for coverage reports in: 06:36:33 + . 06:36:33 -> Found 1 reports 06:36:33 ==> Detecting git/mercurial file structure 06:36:33 ==> Reading reports 06:36:33 + ./coverage.out bytes=127940 06:36:33 ==> Appending adjustments 06:36:33 https://docs.codecov.io/docs/fixing-reports 06:36:34 + Found adjustments 06:36:34 ==> Gzipping contents 06:36:34 20K /tmp/codecov.zHg1fz.gz 06:36:34 ==> Uploading reports 06:36:34 url: https://codecov.io 06:36:34 query: branch=PR-1618&commit=2142bae1f45ba2855303e44800e00e2aa6ee3206&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1618%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1618&job=&cmd_args= 06:36:34 -> Pinging Codecov 06:36:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1618&commit=2142bae1f45ba2855303e44800e00e2aa6ee3206&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1618%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1618&job=&cmd_args= 06:36:34 -> Uploading to 06:36:34 https://storage.googleapis.com/codecov/v4/raw/2024-09-03/7E55EF52A471D76F132DFD9A03CDDE97/2142bae1f45ba2855303e44800e00e2aa6ee3206/1a56babf-1c5d-4413-921a-218c64e2cfe3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240903%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240903T063634Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0f3ac28203b97567a03e466ff6bbda601f129f8b63df92e0de282151fe5e8a73 06:36:34 % Total % Received % Xferd Average Speed Time Time Time Current 06:36:34 Dload Upload Total Spent Left Speed 06:36:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17672 0 0 100 17672 0 87485 --:--:-- --:--:-- --:--:-- 87054 100 17672 0 0 100 17672 0 73633 --:--:-- --:--:-- --:--:-- 73327 06:36:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2142bae1f45ba2855303e44800e00e2aa6ee3206 [Pipeline] } 06:36:34 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:36:35 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives ] 06:36:35 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives 06:36:35 total 16 06:36:35 drwxr-xr-x 3 root root 4096 Sep 3 06:19 . 06:36:35 drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 06:19 .. 06:36:35 drwxr-xr-x 2 root root 4096 Sep 3 06:19 cost 06:36:35 -rw-r--r-- 1 root root 86 Sep 3 06:19 cost.csv 06:36:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives 06:36:35 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives 06:36:35 total 16 06:36:35 drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 06:19 . 06:36:35 drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 06:19 .. 06:36:35 drwxr-xr-x 2 jenkins jenkins 4096 Sep 3 06:19 cost 06:36:35 -rw-r--r-- 1 jenkins jenkins 86 Sep 3 06:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:36:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:36:36 ---> package-listing.sh 06:36:36 ++ facter osfamily 06:36:36 ++ tr '[:upper:]' '[:lower:]' 06:36:36 + OS_FAMILY=debian 06:36:36 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1618 06:36:36 + START_PACKAGES=/tmp/packages_start.txt 06:36:36 + END_PACKAGES=/tmp/packages_end.txt 06:36:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:36:36 + PACKAGES=/tmp/packages_start.txt 06:36:36 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1618 ']' 06:36:36 + PACKAGES=/tmp/packages_end.txt 06:36:36 + case "${OS_FAMILY}" in 06:36:36 + dpkg -l 06:36:36 + grep '^ii' 06:36:36 + '[' -f /tmp/packages_start.txt ']' 06:36:36 + '[' -f /tmp/packages_end.txt ']' 06:36:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:36:36 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1618 ']' 06:36:36 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/ 06:36:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1618/archives/ [Pipeline] echo 06:36:36 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-1618/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:36:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:36:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:36:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:36:37 prd-ubuntu20.04-docker-8c-8g-9256 does not seem to be running inside a container 06:36:37 $ 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-1618/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-1618 -v /w/workspace/gexfoundry_device-sdk-go_PR-1618:/w/workspace/gexfoundry_device-sdk-go_PR-1618:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:36:37 $ docker top a506ad5a73f544bf87986e492f302073d905f8ab4ec0e19a30d4088229fe79cd -eo pid,comm [Pipeline] { [Pipeline] sh 06:36:38 + touch /tmp/pre-build-complete [Pipeline] sh 06:36:38 + mkdir -p /var/log/sysstat [Pipeline] sh 06:36:39 + ls /var/log/sa-host 06:36:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:36:39 provisioning config files... 06:36:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1618@tmp/config5854457526795959068tmp [Pipeline] { [Pipeline] echo 06:36:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:36:39 ---> create-netrc.sh [Pipeline] } 06:36:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:36:39 ---> python-tools-install.sh [Pipeline] echo 06:36:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:36:40 ---> sudo-logs.sh 06:36:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:36:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:36:40 ---> job-cost.sh 06:36:40 lf-activate-venv: SKIPPING 06:36:40 DEBUG: total: 0.2199999988079071 06:36:40 INFO: Retrieving Stack Cost... 06:36:40 INFO: Retrieving Pricing Info for: v3-standard-8 06:36:41 INFO: Archiving Costs [Pipeline] echo 06:36:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:36:41 ---> logs-deploy.sh 06:36:41 lf-activate-venv: SKIPPING 06:36:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1618/2 06:36:41 INFO: archiving workspace using pattern(s): 06:36:42 Archives upload complete. 06:36:42 INFO: archiving logs to Nexus