Pull request #1547 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c8833e942165f9dff23b0e30e9e2177b523bc0d1+9538fefa27763f734e76c76e23c9c4865d039fa2 (cdb138e8860b31776b41e0aaa0d7e614b44212b5) 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-ssh2789539562683464136.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1418828791304226801.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11469279421328657798.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1547/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11726275005694360812.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9344204424651131086.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1547/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1547/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5160848294933996836.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25019 in /w/workspace/gexfoundry_device-sdk-go_PR-1547 [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-1547 # 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 Merging remotes/origin/main commit 9538fefa27763f734e76c76e23c9c4865d039fa2 into PR head commit c8833e942165f9dff23b0e30e9e2177b523bc0d1 Merge succeeded, producing c8833e942165f9dff23b0e30e9e2177b523bc0d1 Checking out Revision c8833e942165f9dff23b0e30e9e2177b523bc0d1 (PR-1547) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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/1547/head:refs/remotes/origin/PR-1547 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8833e942165f9dff23b0e30e9e2177b523bc0d1 # 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 9538fefa27763f734e76c76e23c9c4865d039fa2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8833e942165f9dff23b0e30e9e2177b523bc0d1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:19:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:19:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:19:21 ========================================================= 04:19:21 EdgeX Global Pipelines Version Info 04:19:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:19:22 ------------------- 04:19:22 stable info: 04:19:22 ------------------- 04:19:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:19:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:19:22 Message: update stable to v1.0.258 04:19:22 ------------------- 04:19:22 experimental info: 04:19:22 ------------------- 04:19:22 Commited By: **** collab-it+edgex@linuxfoundation.org 04:19:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:19:22 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:19:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:19:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1547 [Pipeline] echo 04:19:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1547 [Pipeline] echo 04:19:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1547 [Pipeline] echo 04:19:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8833e942165f9dff23b0e30e9e2177b523bc0d1 [Pipeline] echo 04:19:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c8833e9 [Pipeline] echo 04:19:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:25 provisioning config files... 04:19:25 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp/config17938704952534774236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:25 ---> ****-login.sh 04:19:25 nexus3.edgexfoundry.org:10001 04:19:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 nexus3.edgexfoundry.org:10002 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 nexus3.edgexfoundry.org:10003 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 nexus3.edgexfoundry.org:10004 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 ****.io 04:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:26 Configure a credential helper to remove this warning. See 04:19:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:26 04:19:26 Login Succeeded 04:19:26 ---> ****-login.sh ends [Pipeline] } 04:19:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:19:27 + git rev-list -1 --merges c8833e942165f9dff23b0e30e9e2177b523bc0d1~1..c8833e942165f9dff23b0e30e9e2177b523bc0d1 [Pipeline] echo 04:19:27 -----------> git rev-list -1 --merges c8833e942165f9dff23b0e30e9e2177b523bc0d1~1..c8833e942165f9dff23b0e30e9e2177b523bc0d1 c8833e942165f9dff23b0e30e9e2177b523bc0d1 [false] [Pipeline] sh 04:19:28 + git log --format=format:%s -1 c8833e942165f9dff23b0e30e9e2177b523bc0d1 [Pipeline] echo 04:19:28 ========================================================= 04:19:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:19:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:19:28 + git log --format=format:%s -1 c8833e942165f9dff23b0e30e9e2177b523bc0d1 [Pipeline] echo 04:19:28 [semverPrep] GIT_COMMIT: c8833e942165f9dff23b0e30e9e2177b523bc0d1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:19:28 [semverPrep] This is not a build commit. [Pipeline] sh 04:19:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:19:29 + grep -v github /etc/ssh/ssh_known_hosts 04:19:29 + [ -e /tmp/ssh_known_hosts ] 04:19:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:19:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:19:29 + sudo tee -a /etc/ssh/ssh_known_hosts 04:19:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:29 04:19:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:30 0.1.4: Pulling from edgex-devops/py-git-semver 04:19:30 b85a868b505f: Pulling fs layer 04:19:30 e2be974225ed: Pulling fs layer 04:19:30 339a4e72a1f5: Pulling fs layer 04:19:30 988bab9f4d93: Pulling fs layer 04:19:30 1469e6f7b9e6: Pulling fs layer 04:19:30 eaf3925da568: Pulling fs layer 04:19:30 bab4dde63d76: Pulling fs layer 04:19:30 bde34c3a00c8: Pulling fs layer 04:19:30 b352a97aabf1: Pulling fs layer 04:19:30 4872d77fe225: Pulling fs layer 04:19:30 5851b861e8e6: Pulling fs layer 04:19:30 1469e6f7b9e6: Waiting 04:19:30 b352a97aabf1: Waiting 04:19:30 4872d77fe225: Waiting 04:19:30 5851b861e8e6: Waiting 04:19:30 eaf3925da568: Waiting 04:19:30 988bab9f4d93: Waiting 04:19:30 e2be974225ed: Verifying Checksum 04:19:30 e2be974225ed: Download complete 04:19:30 988bab9f4d93: Download complete 04:19:30 339a4e72a1f5: Verifying Checksum 04:19:30 339a4e72a1f5: Download complete 04:19:30 1469e6f7b9e6: Verifying Checksum 04:19:30 1469e6f7b9e6: Download complete 04:19:30 eaf3925da568: Download complete 04:19:30 bde34c3a00c8: Download complete 04:19:30 b352a97aabf1: Verifying Checksum 04:19:30 b352a97aabf1: Download complete 04:19:30 4872d77fe225: Verifying Checksum 04:19:30 4872d77fe225: Download complete 04:19:30 5851b861e8e6: Verifying Checksum 04:19:30 5851b861e8e6: Download complete 04:19:30 b85a868b505f: Verifying Checksum 04:19:30 b85a868b505f: Download complete 04:19:30 bab4dde63d76: Verifying Checksum 04:19:30 bab4dde63d76: Download complete 04:19:31 b85a868b505f: Pull complete 04:19:31 e2be974225ed: Pull complete 04:19:32 339a4e72a1f5: Pull complete 04:19:32 988bab9f4d93: Pull complete 04:19:32 1469e6f7b9e6: Pull complete 04:19:32 eaf3925da568: Pull complete 04:19:34 bab4dde63d76: Pull complete 04:19:34 bde34c3a00c8: Pull complete 04:19:34 b352a97aabf1: Pull complete 04:19:34 4872d77fe225: Pull complete 04:19:34 5851b861e8e6: Pull complete 04:19:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:19:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:19:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:34 prd-ubuntu20.04-docker-8c-8g-25019 does not seem to be running inside a container 04:19:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1547 -v /w/workspace/gexfoundry_device-sdk-go_PR-1547:/w/workspace/gexfoundry_device-sdk-go_PR-1547:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1547@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:19:37 $ docker top 969a556b72ad37f00240c3374f28b7ca1f338d2696cdda9314634e5ab863adee -eo pid,comm 04:19:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:19:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:19:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:37 [ssh-agent] Looking for ssh-agent implementation... 04:19:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:38 $ docker exec 969a556b72ad37f00240c3374f28b7ca1f338d2696cdda9314634e5ab863adee ssh-agent 04:19:38 SSH_AUTH_SOCK=/tmp/ssh-BfGQhQTQwFv8/agent.31 04:19:38 SSH_AGENT_PID=37 04:19:38 Running ssh-add (command line suppressed) 04:19:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp/private_key_15249826511633545972.key (/w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp/private_key_15249826511633545972.key) 04:19:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:38 + git tag --points-at HEAD [Pipeline] } 04:19:38 $ docker exec --env ******** --env ******** 969a556b72ad37f00240c3374f28b7ca1f338d2696cdda9314634e5ab863adee ssh-agent -k 04:19:38 unset SSH_AUTH_SOCK; 04:19:38 unset SSH_AGENT_PID; 04:19:38 echo Agent pid 37 killed; 04:19:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:19:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:19:38 [ssh-agent] Looking for ssh-agent implementation... 04:19:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:19:39 $ docker exec 969a556b72ad37f00240c3374f28b7ca1f338d2696cdda9314634e5ab863adee ssh-agent 04:19:39 SSH_AUTH_SOCK=/tmp/ssh-GZVpz3Eur403/agent.69 04:19:39 SSH_AGENT_PID=75 04:19:39 Running ssh-add (command line suppressed) 04:19:39 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp/private_key_1425420709650373484.key (/w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp/private_key_1425420709650373484.key) 04:19:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:19:39 + git semver init 04:19:39 2023-12-14 04:19:39,800 [run_init] DEBUG init version:0.0.0 force:False 04:19:39 2023-12-14 04:19:39,801 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1547/.semver 04:19:39 2023-12-14 04:19:39,801 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1547/.semver 04:19:39 2023-12-14 04:19:39,802 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1547/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1547, universal_newlines=False, shell=None, istream=None) 04:19:41 2023-12-14 04:19:41,004 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1547/.git/info/exclude 04:19:41 2023-12-14 04:19:41,005 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1547/.semver/PR-1547 with force:False 04:19:41 2023-12-14 04:19:41,005 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1547/.semver/PR-1547 04:19:41 2023-12-14 04:19:41,010 [execute] INFO git cat-file --batch-check 04:19:41 2023-12-14 04:19:41,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1547/.semver, universal_newlines=False, shell=None, istream=) 04:19:41 2023-12-14 04:19:41,016 [execute] INFO git cat-file --batch 04:19:41 2023-12-14 04:19:41,016 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1547/.semver, universal_newlines=False, shell=None, istream=) 04:19:41 2023-12-14 04:19:41,021 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1547/.semver/PR-1547 04:19:41 0.0.0 [Pipeline] } 04:19:41 $ docker exec --env ******** --env ******** 969a556b72ad37f00240c3374f28b7ca1f338d2696cdda9314634e5ab863adee ssh-agent -k 04:19:41 unset SSH_AUTH_SOCK; 04:19:41 unset SSH_AGENT_PID; 04:19:41 echo Agent pid 75 killed; 04:19:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:19:41 + git semver [Pipeline] } 04:19:42 $ docker stop --time=1 969a556b72ad37f00240c3374f28b7ca1f338d2696cdda9314634e5ab863adee 04:19:43 $ docker rm -f --volumes 969a556b72ad37f00240c3374f28b7ca1f338d2696cdda9314634e5ab863adee [Pipeline] // withDockerContainer [Pipeline] sh 04:19:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:19:44 Stashed 1 file(s) [Pipeline] echo 04:19:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:45 provisioning config files... 04:19:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp/config11119332760659897349tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:19:45 ---> ****-login.sh 04:19:45 nexus3.edgexfoundry.org:10001 04:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:45 Configure a credential helper to remove this warning. See 04:19:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:45 04:19:45 Login Succeeded 04:19:45 nexus3.edgexfoundry.org:10002 04:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:45 Configure a credential helper to remove this warning. See 04:19:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:45 04:19:45 Login Succeeded 04:19:45 nexus3.edgexfoundry.org:10003 04:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:45 Configure a credential helper to remove this warning. See 04:19:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:45 04:19:45 Login Succeeded 04:19:45 nexus3.edgexfoundry.org:10004 04:19:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:45 Configure a credential helper to remove this warning. See 04:19:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:45 04:19:45 Login Succeeded 04:19:45 ****.io 04:19:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:19:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:19:46 Configure a credential helper to remove this warning. See 04:19:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:19:46 04:19:46 Login Succeeded 04:19:46 ---> ****-login.sh ends [Pipeline] } 04:19:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:19:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:19:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:19:46 ========================================================= 04:19:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:19:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:47 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:19:47 Sending build context to Docker daemon 21.91MB 04:19:47 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:19:47 Step 2/10 : FROM ${BASE} AS builder 04:19:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:19:47 7264a8db6415: Pulling fs layer 04:19:47 c4d48a809fc2: Pulling fs layer 04:19:47 4f1c88b9dad5: Pulling fs layer 04:19:47 ad3a456e5733: Pulling fs layer 04:19:47 69c7f0334f64: Pulling fs layer 04:19:47 1f1c1a5573a3: Pulling fs layer 04:19:47 ce7588e14bc9: Pulling fs layer 04:19:47 b5e4710f87ac: Pulling fs layer 04:19:47 69c7f0334f64: Waiting 04:19:47 1f1c1a5573a3: Waiting 04:19:47 ce7588e14bc9: Waiting 04:19:47 b5e4710f87ac: Waiting 04:19:47 ad3a456e5733: Waiting 04:19:47 c4d48a809fc2: Verifying Checksum 04:19:47 c4d48a809fc2: Download complete 04:19:47 ad3a456e5733: Download complete 04:19:47 69c7f0334f64: Verifying Checksum 04:19:47 69c7f0334f64: Download complete 04:19:47 7264a8db6415: Verifying Checksum 04:19:47 7264a8db6415: Download complete 04:19:47 1f1c1a5573a3: Verifying Checksum 04:19:47 1f1c1a5573a3: Download complete 04:19:47 7264a8db6415: Pull complete 04:19:47 b5e4710f87ac: Verifying Checksum 04:19:47 b5e4710f87ac: Download complete 04:19:47 c4d48a809fc2: Pull complete 04:19:47 4f1c88b9dad5: Download complete 04:19:48 ce7588e14bc9: Verifying Checksum 04:19:48 ce7588e14bc9: Download complete 04:19:51 4f1c88b9dad5: Pull complete 04:19:51 ad3a456e5733: Pull complete 04:19:51 69c7f0334f64: Pull complete 04:19:51 1f1c1a5573a3: Pull complete 04:19:54 ce7588e14bc9: Pull complete 04:19:54 b5e4710f87ac: Pull complete 04:19:54 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:19:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:19:54 ---> 88b5674ff536 04:19:54 Step 3/10 : ARG MAKE=make build 04:19:59 ---> Running in e5b0141af111 04:19:59 Removing intermediate container e5b0141af111 04:19:59 ---> 32c2ef6e7c67 04:19:59 Step 4/10 : WORKDIR /device-sdk-go 04:19:59 ---> Running in ebc737c3092e 04:19:59 Removing intermediate container ebc737c3092e 04:19:59 ---> 611a6b1fc702 04:19:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:19:59 ---> Running in 765ecd90e9a0 04:19:59 Removing intermediate container 765ecd90e9a0 04:19:59 ---> a451320e6d04 04:19:59 Step 6/10 : RUN apk add --update --no-cache make git 04:19:59 ---> Running in 3348e58139e4 04:19:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:20:00 Still waiting to schedule task 04:20:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:20:00 OK: 264 MiB in 52 packages 04:20:00 Removing intermediate container 3348e58139e4 04:20:00 ---> 6712f47e2a7d 04:20:00 Step 7/10 : COPY go.mod vendor* ./ 04:20:00 ---> f95d446506bb 04:20:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:00 ---> Running in 2e7d3739ac85 04:20:47 Removing intermediate container 2e7d3739ac85 04:20:47 ---> dc651a8e1104 04:20:47 Step 9/10 : COPY . . 04:20:47 ---> 089cd97f0aae 04:20:47 Step 10/10 : RUN ${MAKE} 04:20:47 ---> Running in 9f1a106e8ea5 04:20:47 noop 04:20:47 Removing intermediate container 9f1a106e8ea5 04:20:47 ---> 381227610f11 04:20:47 Successfully built 381227610f11 04:20:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:48 + docker inspect -f . ci-base-image-x86_64 04:20:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:48 prd-ubuntu20.04-docker-8c-8g-25019 does not seem to be running inside a container 04:20:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1547 -v /w/workspace/gexfoundry_device-sdk-go_PR-1547:/w/workspace/gexfoundry_device-sdk-go_PR-1547:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1547@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 ******** ci-base-image-x86_64 cat 04:20:48 $ docker top b77d248b7119496484feaed091012601496d85a9ffa603129e2ed98b6e967e69 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:49 + go version 04:20:49 go version go1.21.0 linux/amd64 [Pipeline] } 04:20:49 $ docker stop --time=1 b77d248b7119496484feaed091012601496d85a9ffa603129e2ed98b6e967e69 04:20:50 $ docker rm -f --volumes b77d248b7119496484feaed091012601496d85a9ffa603129e2ed98b6e967e69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:51 + docker inspect -f . ci-base-image-x86_64 04:20:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:51 prd-ubuntu20.04-docker-8c-8g-25019 does not seem to be running inside a container 04:20:51 $ 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-1547 -v /w/workspace/gexfoundry_device-sdk-go_PR-1547:/w/workspace/gexfoundry_device-sdk-go_PR-1547:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1547@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 ******** ci-base-image-x86_64 cat 04:20:52 $ docker top 570a59d99d2ae4721bac544dba726417d7ec825c8738d1e8b38e5e558e5f8d1f -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:52 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1547 [Pipeline] fileExists [Pipeline] sh 04:20:53 + make test 04:20:53 go test -race -coverprofile=coverage.out ./... 04:21:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:21:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:21:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:21:16 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:21:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:21:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:21:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:21:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.054s coverage: 27.6% of statements 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.051s coverage: 81.5% of statements 04:21:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.069s coverage: 86.0% of statements 04:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:21:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.094s coverage: 71.8% of statements 04:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.056s coverage: 14.4% of statements 04:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.083s coverage: 45.9% of statements 04:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.072s coverage: 68.5% of statements 04:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.106s coverage: 89.2% of statements 04:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.055s coverage: 5.5% of statements 04:21:44 GO111MODULE=on go vet ./... 04:21:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25020 in /w/workspace/gexfoundry_device-sdk-go_PR-1547 [Pipeline] { [Pipeline] ws 04:21:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:21:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:46 ./bin/test-attribution-txt.sh 04:21:48 The recommended git tool is: git [Pipeline] echo 04:21:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:21:48 $ docker stop --time=1 570a59d99d2ae4721bac544dba726417d7ec825c8738d1e8b38e5e558e5f8d1f 04:21:51 $ docker rm -f --volumes 570a59d99d2ae4721bac544dba726417d7ec825c8738d1e8b38e5e558e5f8d1f [Pipeline] // withDockerContainer [Pipeline] sh 04:21:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:21:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:53 + ls -al . 04:21:53 total 308 04:21:53 drwxrwxr-x 11 jenkins jenkins 4096 Dec 14 04:20 . 04:21:53 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 04:19 .. 04:21:53 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 04:19 .dockerignore 04:21:53 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 04:21 .git 04:21:53 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 04:19 .github 04:21:53 -rw-rw-r-- 1 jenkins jenkins 137 Dec 14 04:19 .gitignore 04:21:53 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 04:19 .golangci.yml 04:21:53 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 04:19 .semver 04:21:53 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 14 04:19 CHANGELOG.md 04:21:53 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 04:19 GOVERNANCE.md 04:21:53 -rw-rw-r-- 1 jenkins jenkins 885 Dec 14 04:19 Jenkinsfile 04:21:53 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 04:19 LICENSE 04:21:53 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 14 04:19 Makefile 04:21:53 -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 04:19 OWNERS.md 04:21:53 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 14 04:19 README.md 04:21:53 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 04:19 VERSION 04:21:53 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 04:19 bin 04:21:53 -rw-r--r-- 1 jenkins jenkins 122153 Dec 14 04:21 coverage.out 04:21:53 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 04:19 example 04:21:53 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 14 04:19 go.mod 04:21:53 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 14 04:19 go.sum 04:21:53 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 04:19 internal 04:21:53 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 04:19 openapi 04:21:53 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 04:19 pkg 04:21:53 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 04:19 snap 04:21:53 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:54 using credential edgex-jenkins-ssh 04:21:54 Cloning the remote Git repository 04:21:54 + 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=c8833e942165f9dff23b0e30e9e2177b523bc0d1 --label arch=amd64 --label version=0.0.0 . 04:21:54 Sending build context to Docker daemon 22.03MB 04:21:54 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 04:21:54 Step 2/23 : FROM ${BASE} AS builder 04:21:54 ---> 381227610f11 04:21:54 Step 3/23 : ARG MAKE=make build 04:21:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:21:54 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:21:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:21:54 > git --version # timeout=10 04:21:54 > git --version # 'git version 2.25.1' 04:21:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:21:54 ---> Running in eaae35896afd 04:21:54 Removing intermediate container eaae35896afd 04:21:54 ---> 4ccb1b79829b 04:21:54 Step 4/23 : WORKDIR /device-sdk-go 04:21:54 ---> Running in 709a0fa01cd2 04:21:54 Removing intermediate container 709a0fa01cd2 04:21:54 ---> f8a4cb760d94 04:21:54 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:21:54 ---> Running in a0fa1b160cb0 04:21:55 Removing intermediate container a0fa1b160cb0 04:21:55 ---> be5cc5ad984d 04:21:55 Step 6/23 : RUN apk add --update --no-cache make git 04:21:55 ---> Running in a09663114651 04:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:21:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:21:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:21:55 OK: 264 MiB in 52 packages 04:21:56 Removing intermediate container a09663114651 04:21:56 ---> facafba184fe 04:21:56 Step 7/23 : COPY go.mod vendor* ./ 04:21:56 ---> 7a7db107f279 04:21:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:56 ---> Running in c844a5e1575d 04:21:57 Removing intermediate container c844a5e1575d 04:21:57 ---> 448f995ff14a 04:21:57 Step 9/23 : COPY . . 04:21:57 ---> ca2d8502cc99 04:21:57 Step 10/23 : RUN ${MAKE} 04:21:57 ---> Running in ff0bccd945ed 04:21:57 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:21:59 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:21:59 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:22:01 Merging remotes/origin/main commit 9538fefa27763f734e76c76e23c9c4865d039fa2 into PR head commit c8833e942165f9dff23b0e30e9e2177b523bc0d1 04:22:01 Merge succeeded, producing c8833e942165f9dff23b0e30e9e2177b523bc0d1 04:22:01 Checking out Revision c8833e942165f9dff23b0e30e9e2177b523bc0d1 (PR-1547) 04:22:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:22:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:22:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1547/head:refs/remotes/origin/PR-1547 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:22:01 > git config core.sparsecheckout # timeout=10 04:22:01 > git checkout -f c8833e942165f9dff23b0e30e9e2177b523bc0d1 # timeout=10 04:22:01 > git remote # timeout=10 04:22:01 > git config --get remote.origin.url # timeout=10 04:22:01 using GIT_SSH to set credentials SSH Credentials for GitHub 04:22:01 > git merge 9538fefa27763f734e76c76e23c9c4865d039fa2 # timeout=10 04:22:01 > git rev-parse HEAD^{commit} # timeout=10 04:22:01 > git config core.sparsecheckout # timeout=10 04:22:01 > git checkout -f c8833e942165f9dff23b0e30e9e2177b523bc0d1 # timeout=10 04:22:02 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:22:02 > git --version # timeout=10 04:22:02 > git --version # 'git version 2.25.1' 04:22:02 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:22:03 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:03 Dload Upload Total Spent Left Speed 04:22:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 101k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 04:22:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:22:04 + sudo tee /etc/docker/daemon.new 04:22:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:22:04 { 04:22:04 "registry-mirrors": [ 04:22:04 "https://nexus3.edgexfoundry.org:10001" 04:22:04 ], 04:22:04 "bip": "10.250.0.254/24", 04:22:04 "hosts": [ 04:22:04 "tcp://0.0.0.0:5555", 04:22:04 "unix:///var/run/docker.sock" 04:22:04 ], 04:22:04 "mtu": 1458, 04:22:04 "selinux-enabled": true, 04:22:04 "seccomp-profile": "/etc/docker/seccomp.json" 04:22:04 } [Pipeline] sh 04:22:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:22:04 + sudo service docker restart 04:22:19 Removing intermediate container ff0bccd945ed 04:22:19 ---> 4c1044e66ac2 04:22:19 Step 11/23 : FROM alpine:3.18 04:22:19 3.18: Pulling from library/alpine 04:22:19 c926b61bad3b: Pulling fs layer 04:22:19 c926b61bad3b: Verifying Checksum 04:22:19 c926b61bad3b: Download complete 04:22:19 c926b61bad3b: Pull complete 04:22:19 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:22:19 Status: Downloaded newer image for alpine:3.18 04:22:19 ---> b541f2080109 04:22:19 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:22:19 ---> Running in 14f5925c76e9 04:22:19 Removing intermediate container 14f5925c76e9 04:22:19 ---> 82e9c6453e94 04:22:19 Step 13/23 : RUN apk add --update --no-cache 04:22:19 ---> Running in 7dbb81cf5ede 04:22:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:22:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:22:19 OK: 7 MiB in 15 packages 04:22:19 Removing intermediate container 7dbb81cf5ede 04:22:19 ---> a46848392fa4 04:22:19 Step 14/23 : WORKDIR / 04:22:19 ---> Running in f0d52bdd2df9 04:22:19 Removing intermediate container f0d52bdd2df9 04:22:19 ---> 3140e8c8755f 04:22:19 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:22:19 ---> cd20466b1975 04:22:19 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:22:19 ---> 7c5c6c4e2c1f 04:22:19 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:22:19 ---> c0744ba82b43 04:22:19 Step 18/23 : EXPOSE 59999 04:22:19 ---> Running in 929d263ddb8c 04:22:19 Removing intermediate container 929d263ddb8c 04:22:19 ---> 9dcd61583645 04:22:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:22:19 ---> Running in 5848f20ad529 04:22:19 Removing intermediate container 5848f20ad529 04:22:19 ---> 591f77cd1953 04:22:19 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:22:19 ---> Running in 6a91c94ec354 04:22:19 Removing intermediate container 6a91c94ec354 04:22:19 ---> f256d93de042 04:22:19 Step 21/23 : LABEL arch=amd64 04:22:19 ---> Running in d47eb52fd3b4 04:22:19 Removing intermediate container d47eb52fd3b4 04:22:19 ---> c665378dcf70 04:22:19 Step 22/23 : LABEL git_sha=c8833e942165f9dff23b0e30e9e2177b523bc0d1 04:22:19 ---> Running in 50fb629939d1 04:22:20 Removing intermediate container 50fb629939d1 04:22:20 ---> bf184ba8fb4e 04:22:20 Step 23/23 : LABEL version=0.0.0 04:22:20 ---> Running in e5787927055f 04:22:20 Removing intermediate container e5787927055f 04:22:20 ---> b72a04054d59 04:22:20 [Warning] One or more build-args [ARCH] were not consumed 04:22:20 Successfully built b72a04054d59 04:22:20 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:21 04:22:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:21 latest: Pulling from edgex-lftools-log-publisher 04:22:21 5eb5b503b376: Pulling fs layer 04:22:21 5c69ac0246d0: Pulling fs layer 04:22:21 ec43610c2a17: Pulling fs layer 04:22:21 3a2ae6a8a46f: Pulling fs layer 04:22:21 33b1e0a273af: Pulling fs layer 04:22:21 5d3b04190fa2: Pulling fs layer 04:22:21 2f39f015ded8: Pulling fs layer 04:22:21 5d3b04190fa2: Waiting 04:22:21 2f39f015ded8: Waiting 04:22:21 3a2ae6a8a46f: Waiting 04:22:21 33b1e0a273af: Waiting 04:22:21 5c69ac0246d0: Download complete 04:22:21 3a2ae6a8a46f: Verifying Checksum 04:22:21 3a2ae6a8a46f: Download complete 04:22:21 33b1e0a273af: Verifying Checksum 04:22:21 33b1e0a273af: Download complete 04:22:21 ec43610c2a17: Verifying Checksum 04:22:21 ec43610c2a17: Download complete 04:22:21 5d3b04190fa2: Verifying Checksum 04:22:22 5eb5b503b376: Verifying Checksum 04:22:22 5eb5b503b376: Download complete 04:22:22 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:23 provisioning config files... 04:22:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1696625864945920657tmp 04:22:23 5eb5b503b376: Pull complete [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:23 5c69ac0246d0: Pull complete 04:22:23 ---> ****-login.sh 04:22:23 nexus3.edgexfoundry.org:10001 04:22:23 ec43610c2a17: Pull complete 04:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:24 Configure a credential helper to remove this warning. See 04:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:24 04:22:24 Login Succeeded 04:22:24 nexus3.edgexfoundry.org:10002 04:22:24 3a2ae6a8a46f: Pull complete 04:22:24 33b1e0a273af: Pull complete 04:22:24 5d3b04190fa2: Pull complete 04:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:24 Configure a credential helper to remove this warning. See 04:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:24 04:22:24 Login Succeeded 04:22:24 nexus3.edgexfoundry.org:10003 04:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:24 Configure a credential helper to remove this warning. See 04:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:24 04:22:24 Login Succeeded 04:22:24 nexus3.edgexfoundry.org:10004 04:22:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:24 Configure a credential helper to remove this warning. See 04:22:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:24 04:22:24 Login Succeeded 04:22:24 ****.io 04:22:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:22:25 Configure a credential helper to remove this warning. See 04:22:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:22:25 04:22:25 Login Succeeded 04:22:25 ---> ****-login.sh ends [Pipeline] } 04:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:22:26 ========================================================= 04:22:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:22:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:26 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:22:28 2f39f015ded8: Pull complete 04:22:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:22:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:28 prd-ubuntu20.04-docker-8c-8g-25019 does not seem to be running inside a container 04:22:28 $ 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-1547 -v /w/workspace/gexfoundry_device-sdk-go_PR-1547:/w/workspace/gexfoundry_device-sdk-go_PR-1547:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:22:31 #0 building with "default" instance using docker driver 04:22:31 04:22:31 #1 [internal] load build definition from Dockerfile 04:22:31 #1 transferring dockerfile: 04:22:31 #1 transferring dockerfile: 1.54kB 0.0s done 04:22:31 #1 DONE 0.1s 04:22:31 04:22:31 #2 [internal] load .dockerignore 04:22:31 #2 transferring context: 182B done 04:22:31 #2 DONE 0.1s 04:22:31 04:22:31 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:22:31 #3 DONE 0.1s 04:22:31 04:22:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:22:31 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 04:22:31 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 04:22:31 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 1.05MB / 63.99MB 0.1s 04:22:31 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 0B / 156B 0.1s 04:22:31 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.0s done 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 6.29MB / 63.99MB 0.2s 04:22:31 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 04:22:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.2s 04:22:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 2.10MB / 3.33MB 0.2s 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.36MB / 63.99MB 0.4s 04:22:31 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.1s done 04:22:31 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.3s done 04:22:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 04:22:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0B / 11.40MB 0.4s 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 15.73MB / 63.99MB 0.5s 04:22:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 3.15MB / 11.40MB 0.5s 04:22:31 #4 ... 04:22:31 04:22:31 #5 [internal] load build context 04:22:31 #5 transferring context: 11.14MB 0.6s done 04:22:31 #5 DONE 0.7s 04:22:31 04:22:31 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 19.92MB / 63.99MB 0.6s 04:22:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.6s 04:22:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 7.34MB / 11.40MB 0.6s 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s 04:22:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 15.73MB / 97.63MB 0.8s 04:22:31 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.9s 04:22:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 20.97MB / 97.63MB 0.9s 04:22:31 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 1.0s 04:22:31 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 04:22:31 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 45.09MB / 63.99MB 1.1s 04:22:31 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.32MB / 97.63MB 1.1s 04:22:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 50.33MB / 63.99MB 1.2s 04:22:32 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 04:22:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 59.77MB / 63.99MB 1.4s 04:22:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 44.63MB / 97.63MB 1.4s 04:22:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 04:22:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 50.33MB / 97.63MB 1.5s 04:22:32 $ docker top 1a2efeb5e82b3705514e770528ae27dad7dcc0af81d7e0ecfeaf9d0ce47fa647 -eo pid,comm [Pipeline] { 04:22:32 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 04:22:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 55.57MB / 97.63MB 1.6s 04:22:32 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [Pipeline] libraryResource [Pipeline] sh 04:22:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.8s 04:22:32 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.9s 04:22:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 2.0s 04:22:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.41MB / 97.63MB 2.2s 04:22:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 2.3s 04:22:33 ---> job-cost.sh 04:22:33 lf-activate-venv: SKIPPING 04:22:33 INFO: No Stack... 04:22:33 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.5s 04:22:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s done 04:22:33 INFO: Archiving Costs [Pipeline] sh 04:22:34 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1547/archives/cost.csv 04:22:34 + cut -d, -f6 [Pipeline] lock 04:22:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1547-1-stack-cost] 04:22:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1547-1-stack-cost] did not exist. Created. 04:22:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1547-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:34 + echo total: 0.2199999988079071 [Pipeline] stash 04:22:34 Stashed 1 file(s) [Pipeline] } 04:22:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1547-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:35 $ docker stop --time=1 1a2efeb5e82b3705514e770528ae27dad7dcc0af81d7e0ecfeaf9d0ce47fa647 04:22:36 $ docker rm -f --volumes 1a2efeb5e82b3705514e770528ae27dad7dcc0af81d7e0ecfeaf9d0ce47fa647 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:22:38 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.5s 04:22:43 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.6s 04:22:49 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.5s done 04:22:50 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 04:22:50 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 04:22:50 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 04:22:56 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s 04:22:59 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.3s done 04:22:59 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 04:23:00 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 04:23:01 #4 DONE 30.1s 04:23:01 04:23:01 #6 [builder 2/7] WORKDIR /device-sdk-go 04:23:02 #6 DONE 1.6s 04:23:02 04:23:02 #7 [builder 3/7] RUN apk add --update --no-cache make git 04:23:03 #7 0.663 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:23:03 #7 1.043 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:23:04 #7 2.043 OK: 266 MiB in 52 packages 04:23:04 #7 DONE 2.3s 04:23:04 04:23:04 #8 [builder 4/7] COPY go.mod vendor* ./ 04:23:05 #8 DONE 0.2s 04:23:05 04:23:05 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:31 #9 DONE 23.1s 04:23:31 04:23:31 #10 [builder 6/7] COPY . . 04:23:31 #10 DONE 0.3s 04:23:31 04:23:31 #11 [builder 7/7] RUN echo noop 04:23:31 #11 0.552 noop 04:23:31 #11 DONE 0.6s 04:23:31 04:23:31 #12 exporting to image 04:23:31 #12 exporting layers 04:23:50 #12 exporting layers 20.4s done 04:23:50 #12 writing image sha256:66f4a02ef45f1ea91d2c9c0adae9e7252b47b0db5365ba4b5d857690223fcee3 done 04:23:50 #12 naming to docker.io/library/ci-base-image-arm64 0.0s done 04:23:50 #12 DONE 20.4s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:50 + docker inspect -f . ci-base-image-arm64 04:23:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:50 prd-ubuntu20.04-docker-arm64-4c-16g-25020 does not seem to be running inside a container 04:23:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:23:52 $ docker top 5894b8692bcc03c1f5b4be32ed1422140fe1c4fd917855ba723dee98789d59f6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:52 + go version 04:23:52 go version go1.21.0 linux/arm64 [Pipeline] } 04:23:52 $ docker stop --time=1 5894b8692bcc03c1f5b4be32ed1422140fe1c4fd917855ba723dee98789d59f6 04:23:56 $ docker rm -f --volumes 5894b8692bcc03c1f5b4be32ed1422140fe1c4fd917855ba723dee98789d59f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:57 + docker inspect -f . ci-base-image-arm64 04:23:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:58 prd-ubuntu20.04-docker-arm64-4c-16g-25020 does not seem to be running inside a container 04:23:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:23:59 $ docker top f3ca81b8378cbfc84fd44e1544141ad66b366d690abfc4a9bf3c42986fdaed90 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:24:00 + make test 04:24:00 go test -race -coverprofile=coverage.out ./... 04:24:32 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:25:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:25:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:25:40 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:25:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:25:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:25:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:25:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:25:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.293s coverage: 27.6% of statements 04:25:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.255s coverage: 81.5% of statements 04:25:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.299s coverage: 86.0% of statements 04:25:40 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:25:40 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.401s coverage: 71.8% of statements 04:25:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:25:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:25:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.255s coverage: 14.4% of statements 04:25:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.798s coverage: 45.9% of statements 04:25:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.389s coverage: 68.5% of statements 04:25:43 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.452s coverage: 89.2% of statements 04:25:43 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:25:45 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.225s coverage: 5.5% of statements 04:25:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:25:45 GO111MODULE=on go vet ./... 04:26:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:26:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:26:53 ./bin/test-attribution-txt.sh [Pipeline] echo 04:26:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:26:53 $ docker stop --time=1 f3ca81b8378cbfc84fd44e1544141ad66b366d690abfc4a9bf3c42986fdaed90 04:26:55 $ docker rm -f --volumes f3ca81b8378cbfc84fd44e1544141ad66b366d690abfc4a9bf3c42986fdaed90 [Pipeline] // withDockerContainer [Pipeline] sh 04:26:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:26:57 Warning: overwriting stash ‘coverage-report’ 04:26:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:26:59 + ls -al . 04:26:59 total 304 04:26:59 drwxrwxr-x 10 jenkins jenkins 4096 Dec 14 04:24 . 04:26:59 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 04:21 .. 04:26:59 -rw-rw-r-- 1 jenkins jenkins 140 Dec 14 04:22 .dockerignore 04:26:59 drwxrwxr-x 8 jenkins jenkins 4096 Dec 14 04:22 .git 04:26:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 04:22 .github 04:26:59 -rw-rw-r-- 1 jenkins jenkins 137 Dec 14 04:22 .gitignore 04:26:59 -rw-rw-r-- 1 jenkins jenkins 42 Dec 14 04:22 .golangci.yml 04:26:59 -rw-rw-r-- 1 jenkins jenkins 48109 Dec 14 04:22 CHANGELOG.md 04:26:59 -rw-rw-r-- 1 jenkins jenkins 677 Dec 14 04:22 GOVERNANCE.md 04:26:59 -rw-rw-r-- 1 jenkins jenkins 885 Dec 14 04:22 Jenkinsfile 04:26:59 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 14 04:22 LICENSE 04:26:59 -rw-rw-r-- 1 jenkins jenkins 1842 Dec 14 04:22 Makefile 04:26:59 -rw-rw-r-- 1 jenkins jenkins 619 Dec 14 04:22 OWNERS.md 04:26:59 -rw-rw-r-- 1 jenkins jenkins 4933 Dec 14 04:22 README.md 04:26:59 -rw-rw-r-- 1 jenkins jenkins 5 Dec 14 04:19 VERSION 04:26:59 drwxrwxr-x 2 jenkins jenkins 4096 Dec 14 04:22 bin 04:26:59 -rw-r--r-- 1 jenkins jenkins 122153 Dec 14 04:25 coverage.out 04:26:59 drwxrwxr-x 5 jenkins jenkins 4096 Dec 14 04:22 example 04:26:59 -rw-rw-r-- 1 jenkins jenkins 3719 Dec 14 04:22 go.mod 04:26:59 -rw-rw-r-- 1 jenkins jenkins 34269 Dec 14 04:22 go.sum 04:26:59 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 04:22 internal 04:26:59 drwxrwxr-x 3 jenkins jenkins 4096 Dec 14 04:22 openapi 04:26:59 drwxrwxr-x 6 jenkins jenkins 4096 Dec 14 04:22 pkg 04:26:59 drwxrwxr-x 4 jenkins jenkins 4096 Dec 14 04:22 snap 04:26:59 -rw-rw-r-- 1 jenkins jenkins 222 Dec 14 04:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:59 + 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=c8833e942165f9dff23b0e30e9e2177b523bc0d1 --label arch=arm64 --label version=0.0.0 . 04:27:00 #0 building with "default" instance using docker driver 04:27:00 04:27:00 #1 [internal] load build definition from Dockerfile 04:27:00 #1 transferring dockerfile: 1.54kB 0.0s done 04:27:00 #1 DONE 0.0s 04:27:00 04:27:00 #2 [internal] load .dockerignore 04:27:00 #2 transferring context: 182B 0.0s done 04:27:00 #2 DONE 0.0s 04:27:00 04:27:00 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 04:27:00 #3 DONE 0.0s 04:27:00 04:27:00 #4 [internal] load metadata for docker.io/library/alpine:3.18 04:27:02 #4 DONE 2.3s 04:27:02 04:27:02 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:27:02 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 04:27:02 #5 ... 04:27:02 04:27:02 #6 [internal] load build context 04:27:02 #6 transferring context: 137.71kB 0.1s done 04:27:02 #6 DONE 0.1s 04:27:02 04:27:02 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 04:27:02 #7 DONE 0.2s 04:27:02 04:27:02 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:27:02 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 04:27:02 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 04:27:02 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 04:27:02 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0B / 3.33MB 0.1s 04:27:03 #5 ... 04:27:03 04:27:03 #8 [builder 2/7] WORKDIR /device-sdk-go 04:27:03 #8 DONE 0.1s 04:27:03 04:27:03 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 04:27:03 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.2s 04:27:03 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 04:27:03 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.2s done 04:27:03 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 04:27:03 #5 DONE 1.0s 04:27:03 04:27:03 #9 [builder 3/7] RUN apk add --update --no-cache make git 04:27:03 #9 0.698 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:27:04 #9 1.138 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:27:05 #9 2.182 OK: 266 MiB in 52 packages 04:27:05 #9 DONE 2.5s 04:27:05 04:27:05 #10 [stage-1 2/6] RUN apk add --update --no-cache 04:27:05 #10 0.612 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:27:05 #10 0.934 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:27:05 #10 ... 04:27:05 04:27:05 #11 [builder 4/7] COPY go.mod vendor* ./ 04:27:05 #11 DONE 0.1s 04:27:05 04:27:05 #10 [stage-1 2/6] RUN apk add --update --no-cache 04:27:05 #10 1.932 OK: 8 MiB in 15 packages 04:27:06 #10 DONE 2.2s 04:27:06 04:27:06 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:27:06 #12 DONE 1.2s 04:27:06 04:27:06 #13 [builder 6/7] COPY . . 04:27:07 #13 DONE 0.4s 04:27:07 04:27:07 #14 [builder 7/7] RUN make build 04:27:07 #14 0.593 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:28:15 #14 DONE 57.9s 04:28:15 04:28:15 #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:28:15 #15 DONE 0.1s 04:28:15 04:28:15 #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:28:15 #16 DONE 0.3s 04:28:15 04:28:15 #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:28:15 #17 DONE 0.1s 04:28:15 04:28:15 #18 exporting to image 04:28:15 #18 exporting layers 04:28:15 #18 exporting layers 0.3s done 04:28:15 #18 writing image sha256:262853815f4338457e85893693a7c244c8e6cfa7de5cfb8e8cbf77439e3f2b9f done 04:28:15 #18 naming to docker.io/library/device-sdk-simple-arm64 done 04:28:15 #18 DONE 0.3s [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:16 04:28:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:17 arm64: Pulling from edgex-lftools-log-publisher 04:28:17 8998bd30e6a1: Pulling fs layer 04:28:17 04944245beec: Pulling fs layer 04:28:17 699f458cf7ca: Pulling fs layer 04:28:17 765212b225bb: Pulling fs layer 04:28:17 f23df028b6ca: Pulling fs layer 04:28:17 765212b225bb: Waiting 04:28:17 d65c8cfc05b1: Pulling fs layer 04:28:17 f23df028b6ca: Waiting 04:28:17 d65c8cfc05b1: Waiting 04:28:17 2437ff75d9bd: Pulling fs layer 04:28:17 04944245beec: Verifying Checksum 04:28:17 04944245beec: Download complete 04:28:17 765212b225bb: Verifying Checksum 04:28:17 765212b225bb: Download complete 04:28:17 f23df028b6ca: Download complete 04:28:17 d65c8cfc05b1: Download complete 04:28:17 699f458cf7ca: Verifying Checksum 04:28:17 699f458cf7ca: Download complete 04:28:18 8998bd30e6a1: Verifying Checksum 04:28:18 8998bd30e6a1: Download complete 04:28:20 2437ff75d9bd: Verifying Checksum 04:28:20 2437ff75d9bd: Download complete 04:28:24 8998bd30e6a1: Pull complete 04:28:27 04944245beec: Pull complete 04:28:29 699f458cf7ca: Pull complete 04:28:29 765212b225bb: Pull complete 04:28:30 f23df028b6ca: Pull complete 04:28:30 d65c8cfc05b1: Pull complete 04:28:52 2437ff75d9bd: Pull complete 04:28:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:28:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:28:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:52 prd-ubuntu20.04-docker-arm64-4c-16g-25020 does not seem to be running inside a container 04:28:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:28:56 $ docker top 49676cbf7e797bc3cbd45fe22714c8af0f8b775f2128890fafd90b4b5e02ddcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:57 ---> job-cost.sh 04:28:57 lf-activate-venv: SKIPPING 04:28:57 INFO: No Stack... 04:28:58 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:58 INFO: Archiving Costs [Pipeline] sh 04:28:59 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:28:59 + cut -d, -f6 [Pipeline] lock 04:28:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1547-1-stack-cost] 04:28:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1547-1-stack-cost] did not exist. Created. 04:28:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1547-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:59 /w/workspace/device-sdk-go/1@tmp/durable-8d5f7546/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:29:00 + echo total: 0.2199999988079071 [Pipeline] stash 04:29:00 Warning: overwriting stash ‘stack-cost’ 04:29:00 Stashed 1 file(s) [Pipeline] } 04:29:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1547-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:29:00 $ docker stop --time=1 49676cbf7e797bc3cbd45fe22714c8af0f8b775f2128890fafd90b4b5e02ddcf 04:29:01 $ docker rm -f --volumes 49676cbf7e797bc3cbd45fe22714c8af0f8b775f2128890fafd90b4b5e02ddcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:29:03 provisioning config files... 04:29:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp/config13428624474841221563tmp [Pipeline] { [Pipeline] sh 04:29:04 + set +x 04:29:04 + curl -s https://codecov.io/bash 04:29:04 + bash -s -- 04:29:04 04:29:04 _____ _ 04:29:04 / ____| | | 04:29:04 | | ___ __| | ___ ___ _____ __ 04:29:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:29:04 | |___| (_) | (_| | __/ (_| (_) \ V / 04:29:04 \_____\___/ \__,_|\___|\___\___/ \_/ 04:29:04 Bash-1.0.6 04:29:04 04:29:04 04:29:04 ==> git version 2.25.1 found 04:29:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:29:04 Release-Date: 2020-01-08 04:29:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:29:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:29:04 ==> Jenkins CI detected. 04:29:04 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1547 04:29:04 project root: . 04:29:04 --> token set from env 04:29:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:29:04 ==> Running gcov in . (disable via -X gcov) 04:29:04 ==> Python coveragepy not found 04:29:04 ==> Searching for coverage reports in: 04:29:04 + . 04:29:04 -> Found 1 reports 04:29:04 ==> Detecting git/mercurial file structure 04:29:04 ==> Reading reports 04:29:04 + ./coverage.out bytes=122153 04:29:04 ==> Appending adjustments 04:29:04 https://docs.codecov.io/docs/fixing-reports 04:29:04 + Found adjustments 04:29:04 ==> Gzipping contents 04:29:04 20K /tmp/codecov.yuQbwW.gz 04:29:04 ==> Uploading reports 04:29:04 url: https://codecov.io 04:29:04 query: branch=PR-1547&commit=c8833e942165f9dff23b0e30e9e2177b523bc0d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1547%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1547&job=&cmd_args= 04:29:04 -> Pinging Codecov 04:29:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1547&commit=c8833e942165f9dff23b0e30e9e2177b523bc0d1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1547%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1547&job=&cmd_args= 04:29:04 -> Uploading to 04:29:04 https://storage.googleapis.com/codecov/v4/raw/2023-12-14/7E55EF52A471D76F132DFD9A03CDDE97/c8833e942165f9dff23b0e30e9e2177b523bc0d1/0a6632ec-1e89-4b36-832b-ace79cbc2989.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231214T042904Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b3350fa7827ecca5d33ef659d2590fee174d3ab4e1cec7fc7a07bb8c19dc525d 04:29:04 % Total % Received % Xferd Average Speed Time Time Time Current 04:29:04 Dload Upload Total Spent Left Speed 04:29:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16778 0 0 100 16778 0 59708 --:--:-- --:--:-- --:--:-- 59708 04:29:05 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c8833e942165f9dff23b0e30e9e2177b523bc0d1 [Pipeline] } 04:29:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:29:08 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1547/archives ] 04:29:08 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1547/archives 04:29:08 total 16 04:29:08 drwxr-xr-x 3 root root 4096 Dec 14 04:22 . 04:29:08 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 04:22 .. 04:29:08 drwxr-xr-x 2 root root 4096 Dec 14 04:22 cost 04:29:08 -rw-r--r-- 1 root root 86 Dec 14 04:22 cost.csv 04:29:08 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1547/archives 04:29:08 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1547/archives 04:29:08 total 16 04:29:08 drwxr-xr-x 3 jenkins jenkins 4096 Dec 14 04:22 . 04:29:08 drwxrwxr-x 12 jenkins jenkins 4096 Dec 14 04:22 .. 04:29:08 drwxr-xr-x 2 jenkins jenkins 4096 Dec 14 04:22 cost 04:29:08 -rw-r--r-- 1 jenkins jenkins 86 Dec 14 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:29:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:29:09 ---> package-listing.sh 04:29:09 ++ facter osfamily 04:29:09 ++ tr '[:upper:]' '[:lower:]' 04:29:09 + OS_FAMILY=debian 04:29:09 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1547 04:29:09 + START_PACKAGES=/tmp/packages_start.txt 04:29:09 + END_PACKAGES=/tmp/packages_end.txt 04:29:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:29:09 + PACKAGES=/tmp/packages_start.txt 04:29:09 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1547 ']' 04:29:09 + PACKAGES=/tmp/packages_end.txt 04:29:09 + case "${OS_FAMILY}" in 04:29:09 + dpkg -l 04:29:09 + grep '^ii' 04:29:09 + '[' -f /tmp/packages_start.txt ']' 04:29:09 + '[' -f /tmp/packages_end.txt ']' 04:29:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:29:09 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1547 ']' 04:29:09 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1547/archives/ 04:29:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1547/archives/ [Pipeline] echo 04:29:10 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-1547/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:29:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:29:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:29:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:29:11 prd-ubuntu20.04-docker-8c-8g-25019 does not seem to be running inside a container 04:29:11 $ 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-1547/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-1547 -v /w/workspace/gexfoundry_device-sdk-go_PR-1547:/w/workspace/gexfoundry_device-sdk-go_PR-1547:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1547@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:29:11 $ docker top f728008561c9999d2cc872f7dde8afc4b5e5fb69095150b54590fe3df79717ad -eo pid,comm [Pipeline] { [Pipeline] sh 04:29:11 + touch /tmp/pre-build-complete [Pipeline] sh 04:29:12 + mkdir -p /var/log/sysstat [Pipeline] sh 04:29:12 + ls /var/log/sa-host 04:29:12 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:29:12 provisioning config files... 04:29:12 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1547@tmp/config4875791117379192615tmp [Pipeline] { [Pipeline] echo 04:29:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:29:13 ---> create-netrc.sh [Pipeline] } 04:29:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:29:13 ---> python-tools-install.sh [Pipeline] echo 04:29:13 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:29:14 ---> sudo-logs.sh 04:29:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:29:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:29:14 ---> job-cost.sh 04:29:14 lf-activate-venv: SKIPPING 04:29:14 DEBUG: total: 0.2199999988079071 04:29:14 INFO: Retrieving Stack Cost... 04:29:15 INFO: Retrieving Pricing Info for: v3-standard-8 04:29:15 INFO: Archiving Costs [Pipeline] echo 04:29:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:29:16 ---> logs-deploy.sh 04:29:16 lf-activate-venv: SKIPPING 04:29:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1547/1 04:29:16 INFO: archiving workspace using pattern(s): 04:29:17 Archives upload complete. 04:29:17 INFO: archiving logs to Nexus