Pull request #1565 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce178c8c17500841a6f4a6a782eb47f81bbc4242+f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 (e2f86151ab45b26424318ffb07a3888d62c04371) 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-ssh5936545337056408438.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-ssh15377250535915544569.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-1565/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-1565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17219828331590925873.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-1565/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15188656878788254236.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-ssh16886697195390670041.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-1565/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-1565/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11928461123039863590.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-5561 in /w/workspace/gexfoundry_device-sdk-go_PR-1565 [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-1565 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 into PR head commit ce178c8c17500841a6f4a6a782eb47f81bbc4242 Merge succeeded, producing ce178c8c17500841a6f4a6a782eb47f81bbc4242 Checking out Revision ce178c8c17500841a6f4a6a782eb47f81bbc4242 (PR-1565) Commit message: "build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1565/head:refs/remotes/origin/PR-1565 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce178c8c17500841a6f4a6a782eb47f81bbc4242 # 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 f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce178c8c17500841a6f4a6a782eb47f81bbc4242 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:32:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:32:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:32:50 ========================================================= 23:32:50 EdgeX Global Pipelines Version Info 23:32:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:32:51 ------------------- 23:32:51 stable info: 23:32:51 ------------------- 23:32:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:32:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:32:51 Message: update stable to v1.0.258 23:32:51 ------------------- 23:32:51 experimental info: 23:32:51 ------------------- 23:32:51 Commited By: **** collab-it+edgex@linuxfoundation.org 23:32:51 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 23:32:51 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:32:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:32:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:32:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:32:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:32:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1565 [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1565 [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1565 [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] echo 23:32:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce178c8 [Pipeline] echo 23:32:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:54 provisioning config files... 23:32:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/config17055344896354306978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:54 ---> ****-login.sh 23:32:54 nexus3.edgexfoundry.org:10001 23:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:54 Configure a credential helper to remove this warning. See 23:32:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:54 23:32:54 Login Succeeded 23:32:54 nexus3.edgexfoundry.org:10002 23:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:54 Configure a credential helper to remove this warning. See 23:32:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:54 23:32:54 Login Succeeded 23:32:54 nexus3.edgexfoundry.org:10003 23:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:55 Configure a credential helper to remove this warning. See 23:32:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:55 23:32:55 Login Succeeded 23:32:55 nexus3.edgexfoundry.org:10004 23:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:55 Configure a credential helper to remove this warning. See 23:32:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:55 23:32:55 Login Succeeded 23:32:55 ****.io 23:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:32:55 Configure a credential helper to remove this warning. See 23:32:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:32:55 23:32:55 Login Succeeded 23:32:55 ---> ****-login.sh ends [Pipeline] } 23:32:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:32:56 + git rev-list -1 --merges ce178c8c17500841a6f4a6a782eb47f81bbc4242~1..ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] echo 23:32:56 -----------> git rev-list -1 --merges ce178c8c17500841a6f4a6a782eb47f81bbc4242~1..ce178c8c17500841a6f4a6a782eb47f81bbc4242 ce178c8c17500841a6f4a6a782eb47f81bbc4242 [false] [Pipeline] sh 23:32:56 + git log --format=format:%s -1 ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] echo 23:32:56 ========================================================= 23:32:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:32:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:32:57 + git log --format=format:%s -1 ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] echo 23:32:57 [semverPrep] GIT_COMMIT: ce178c8c17500841a6f4a6a782eb47f81bbc4242, Commit Message: build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 [Pipeline] echo 23:32:57 [semverPrep] This is not a build commit. [Pipeline] sh 23:32:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:32:57 + grep -v github /etc/ssh/ssh_known_hosts 23:32:57 + [ -e /tmp/ssh_known_hosts ] 23:32:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:32:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:32:57 + sudo tee -a /etc/ssh/ssh_known_hosts 23:32:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:32:58 23:32:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:32:58 0.1.4: Pulling from edgex-devops/py-git-semver 23:32:58 b85a868b505f: Pulling fs layer 23:32:58 e2be974225ed: Pulling fs layer 23:32:58 339a4e72a1f5: Pulling fs layer 23:32:58 988bab9f4d93: Pulling fs layer 23:32:58 1469e6f7b9e6: Pulling fs layer 23:32:58 eaf3925da568: Pulling fs layer 23:32:58 bab4dde63d76: Pulling fs layer 23:32:58 bde34c3a00c8: Pulling fs layer 23:32:58 b352a97aabf1: Pulling fs layer 23:32:58 4872d77fe225: Pulling fs layer 23:32:58 5851b861e8e6: Pulling fs layer 23:32:58 988bab9f4d93: Waiting 23:32:58 1469e6f7b9e6: Waiting 23:32:58 eaf3925da568: Waiting 23:32:58 bab4dde63d76: Waiting 23:32:58 4872d77fe225: Waiting 23:32:58 bde34c3a00c8: Waiting 23:32:58 5851b861e8e6: Waiting 23:32:58 b352a97aabf1: Waiting 23:32:58 e2be974225ed: Verifying Checksum 23:32:58 e2be974225ed: Download complete 23:32:58 988bab9f4d93: Verifying Checksum 23:32:58 988bab9f4d93: Download complete 23:32:58 1469e6f7b9e6: Verifying Checksum 23:32:58 1469e6f7b9e6: Download complete 23:32:58 339a4e72a1f5: Verifying Checksum 23:32:58 339a4e72a1f5: Download complete 23:32:58 eaf3925da568: Verifying Checksum 23:32:58 eaf3925da568: Download complete 23:32:58 bde34c3a00c8: Verifying Checksum 23:32:58 bde34c3a00c8: Download complete 23:32:58 b352a97aabf1: Download complete 23:32:58 4872d77fe225: Verifying Checksum 23:32:58 4872d77fe225: Download complete 23:32:58 5851b861e8e6: Download complete 23:32:58 b85a868b505f: Download complete 23:32:59 bab4dde63d76: Verifying Checksum 23:32:59 bab4dde63d76: Download complete 23:33:00 b85a868b505f: Pull complete 23:33:00 e2be974225ed: Pull complete 23:33:00 339a4e72a1f5: Pull complete 23:33:01 988bab9f4d93: Pull complete 23:33:01 1469e6f7b9e6: Pull complete 23:33:01 eaf3925da568: Pull complete 23:33:03 bab4dde63d76: Pull complete 23:33:03 bde34c3a00c8: Pull complete 23:33:03 b352a97aabf1: Pull complete 23:33:03 4872d77fe225: Pull complete 23:33:03 5851b861e8e6: Pull complete 23:33:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:33:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:33:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:03 prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container 23:33:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@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 23:33:07 $ docker top 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c -eo pid,comm 23:33:07 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). 23:33:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:33:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:33:07 [ssh-agent] Looking for ssh-agent implementation... 23:33:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:33:07 $ docker exec 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c ssh-agent 23:33:07 SSH_AUTH_SOCK=/tmp/ssh-phIneUpzLMwR/agent.32 23:33:07 SSH_AGENT_PID=38 23:33:07 Running ssh-add (command line suppressed) 23:33:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/private_key_12219405378252718197.key (/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/private_key_12219405378252718197.key) 23:33:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:33:08 + git tag --points-at HEAD [Pipeline] } 23:33:08 $ docker exec --env ******** --env ******** 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c ssh-agent -k 23:33:08 unset SSH_AUTH_SOCK; 23:33:08 unset SSH_AGENT_PID; 23:33:08 echo Agent pid 38 killed; 23:33:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:33:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:33:08 [ssh-agent] Looking for ssh-agent implementation... 23:33:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:33:08 $ docker exec 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c ssh-agent 23:33:08 SSH_AUTH_SOCK=/tmp/ssh-0D1j2SbBEsMt/agent.70 23:33:08 SSH_AGENT_PID=76 23:33:08 Running ssh-add (command line suppressed) 23:33:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/private_key_13072811727011628485.key (/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/private_key_13072811727011628485.key) 23:33:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:33:09 + git semver init 23:33:09 2024-03-13 23:33:09,563 [run_init] DEBUG init version:0.0.0 force:False 23:33:09 2024-03-13 23:33:09,564 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver 23:33:09 2024-03-13 23:33:09,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver 23:33:09 2024-03-13 23:33:09,565 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1565, universal_newlines=False, shell=None, istream=None) 23:33:11 2024-03-13 23:33:10,825 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565/.git/info/exclude 23:33:11 2024-03-13 23:33:10,826 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver/PR-1565 with force:False 23:33:11 2024-03-13 23:33:10,826 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver/PR-1565 23:33:11 2024-03-13 23:33:10,830 [execute] INFO git cat-file --batch-check 23:33:11 2024-03-13 23:33:10,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver, universal_newlines=False, shell=None, istream=) 23:33:11 2024-03-13 23:33:10,837 [execute] INFO git cat-file --batch 23:33:11 2024-03-13 23:33:10,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver, universal_newlines=False, shell=None, istream=) 23:33:11 2024-03-13 23:33:10,843 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1565/.semver/PR-1565 23:33:11 0.0.0 [Pipeline] } 23:33:11 $ docker exec --env ******** --env ******** 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c ssh-agent -k 23:33:11 unset SSH_AUTH_SOCK; 23:33:11 unset SSH_AGENT_PID; 23:33:11 echo Agent pid 76 killed; 23:33:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:33:11 + git semver [Pipeline] } 23:33:12 $ docker stop --time=1 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c 23:33:13 $ docker rm -f --volumes 158f9e444cb29dcfb44193ccb1765bc0fb91315e631e21e435bdb39329a4b63c [Pipeline] // withDockerContainer [Pipeline] sh 23:33:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:33:14 Stashed 1 file(s) [Pipeline] echo 23:33:14 [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 23:33:15 provisioning config files... 23:33:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/config17798614763714442582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:15 ---> ****-login.sh 23:33:15 nexus3.edgexfoundry.org:10001 23:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:33:15 Configure a credential helper to remove this warning. See 23:33:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:33:15 23:33:15 Login Succeeded 23:33:15 nexus3.edgexfoundry.org:10002 23:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:33:15 Configure a credential helper to remove this warning. See 23:33:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:33:15 23:33:15 Login Succeeded 23:33:15 nexus3.edgexfoundry.org:10003 23:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:33:15 Configure a credential helper to remove this warning. See 23:33:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:33:15 23:33:15 Login Succeeded 23:33:15 nexus3.edgexfoundry.org:10004 23:33:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:33:15 Configure a credential helper to remove this warning. See 23:33:15 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:33:15 23:33:15 Login Succeeded 23:33:15 ****.io 23:33:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:33:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:33:16 Configure a credential helper to remove this warning. See 23:33:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:33:16 23:33:16 Login Succeeded 23:33:16 ---> ****-login.sh ends [Pipeline] } 23:33:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:33:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:33:16 ========================================================= 23:33:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:33:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:17 + 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 . 23:33:17 Sending build context to Docker daemon 21.96MB 23:33:17 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 23:33:17 Step 2/10 : FROM ${BASE} AS builder 23:33:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:33:17 7264a8db6415: Pulling fs layer 23:33:17 c4d48a809fc2: Pulling fs layer 23:33:17 4f1c88b9dad5: Pulling fs layer 23:33:17 ad3a456e5733: Pulling fs layer 23:33:17 69c7f0334f64: Pulling fs layer 23:33:17 1f1c1a5573a3: Pulling fs layer 23:33:17 ce7588e14bc9: Pulling fs layer 23:33:17 b5e4710f87ac: Pulling fs layer 23:33:17 ad3a456e5733: Waiting 23:33:17 ce7588e14bc9: Waiting 23:33:17 b5e4710f87ac: Waiting 23:33:17 69c7f0334f64: Waiting 23:33:17 1f1c1a5573a3: Waiting 23:33:17 c4d48a809fc2: Verifying Checksum 23:33:17 c4d48a809fc2: Download complete 23:33:17 ad3a456e5733: Download complete 23:33:17 69c7f0334f64: Verifying Checksum 23:33:17 69c7f0334f64: Download complete 23:33:17 7264a8db6415: Verifying Checksum 23:33:17 7264a8db6415: Download complete 23:33:17 1f1c1a5573a3: Verifying Checksum 23:33:17 1f1c1a5573a3: Download complete 23:33:17 b5e4710f87ac: Verifying Checksum 23:33:17 b5e4710f87ac: Download complete 23:33:17 7264a8db6415: Pull complete 23:33:17 c4d48a809fc2: Pull complete 23:33:17 4f1c88b9dad5: Verifying Checksum 23:33:17 4f1c88b9dad5: Download complete 23:33:18 ce7588e14bc9: Verifying Checksum 23:33:18 ce7588e14bc9: Download complete 23:33:21 4f1c88b9dad5: Pull complete 23:33:21 ad3a456e5733: Pull complete 23:33:21 69c7f0334f64: Pull complete 23:33:21 1f1c1a5573a3: Pull complete 23:33:23 ce7588e14bc9: Pull complete 23:33:24 b5e4710f87ac: Pull complete 23:33:24 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 23:33:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:33:24 ---> 88b5674ff536 23:33:24 Step 3/10 : ARG MAKE=make build 23:33:30 Still waiting to schedule task 23:33:30 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:33:32 ---> Running in 5b710cdf8d23 23:33:32 Removing intermediate container 5b710cdf8d23 23:33:32 ---> ffe1e1e3b436 23:33:32 Step 4/10 : WORKDIR /device-sdk-go 23:33:32 ---> Running in 74b34e5c8779 23:33:32 Removing intermediate container 74b34e5c8779 23:33:32 ---> 901f34138863 23:33:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:33:32 ---> Running in cc9bf71cfa17 23:33:32 Removing intermediate container cc9bf71cfa17 23:33:32 ---> d6f89df0030e 23:33:32 Step 6/10 : RUN apk add --update --no-cache make git 23:33:32 ---> Running in b1458302fd46 23:33:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:33:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:33:32 OK: 264 MiB in 52 packages 23:33:32 Removing intermediate container b1458302fd46 23:33:32 ---> f766409f28af 23:33:32 Step 7/10 : COPY go.mod vendor* ./ 23:33:32 ---> 2947fec98032 23:33:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:32 ---> Running in f2c51002174c 23:34:11 Removing intermediate container f2c51002174c 23:34:11 ---> 9948fd2e070b 23:34:11 Step 9/10 : COPY . . 23:34:11 ---> 203928aedd20 23:34:11 Step 10/10 : RUN ${MAKE} 23:34:11 ---> Running in 253bf93ffcbb 23:34:11 noop 23:34:11 Removing intermediate container 253bf93ffcbb 23:34:11 ---> 66b00f8cb82b 23:34:11 Successfully built 66b00f8cb82b 23:34:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:12 + docker inspect -f . ci-base-image-x86_64 23:34:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:12 prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container 23:34:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@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 23:34:13 $ docker top eb84c05945622c608b13b8be4235046ef35ee8b6297f821a6a76708036e23d68 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:13 + go version 23:34:13 go version go1.21.0 linux/amd64 [Pipeline] } 23:34:13 $ docker stop --time=1 eb84c05945622c608b13b8be4235046ef35ee8b6297f821a6a76708036e23d68 23:34:14 $ docker rm -f --volumes eb84c05945622c608b13b8be4235046ef35ee8b6297f821a6a76708036e23d68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:34:15 + docker inspect -f . ci-base-image-x86_64 23:34:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:34:16 prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container 23:34:16 $ 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-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@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 23:34:16 $ docker top 2e1acd3b24e742a7df04db3912a177d87ff3999a5a24dd2b42005a090cca6f5f -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:16 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1565 [Pipeline] fileExists [Pipeline] sh 23:34:17 + make test 23:34:17 go test -race -coverprofile=coverage.out ./... 23:34:23 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:34:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:34:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:34:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:34:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:34:38 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:34:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:34:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:34:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.040s coverage: 27.6% of statements 23:34:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.042s coverage: 81.5% of statements 23:34:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.065s coverage: 86.0% of statements 23:34:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:34:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:34:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:34:41 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.100s coverage: 71.8% of statements 23:34:41 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:34:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.056s coverage: 14.4% of statements 23:34:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.865s coverage: 45.9% of statements 23:34:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.084s coverage: 68.5% of statements 23:34:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.112s coverage: 89.2% of statements 23:34:44 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.048s coverage: 5.5% of statements 23:35:06 GO111MODULE=on go vet ./... 23:35:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:35:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:35:09 ./bin/test-attribution-txt.sh 23:35:09 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 23:35:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:35:09 $ docker stop --time=1 2e1acd3b24e742a7df04db3912a177d87ff3999a5a24dd2b42005a090cca6f5f 23:35:14 $ docker rm -f --volumes 2e1acd3b24e742a7df04db3912a177d87ff3999a5a24dd2b42005a090cca6f5f [Pipeline] // withDockerContainer [Pipeline] sh 23:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:35:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:35:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:35:16 + ls -al . 23:35:16 total 308 23:35:16 drwxrwxr-x 11 jenkins jenkins 4096 Mar 13 23:34 . 23:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:32 .. 23:35:16 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 23:32 .dockerignore 23:35:16 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:34 .git 23:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:32 .github 23:35:16 -rw-rw-r-- 1 jenkins jenkins 137 Mar 13 23:32 .gitignore 23:35:16 -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 23:32 .golangci.yml 23:35:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:33 .semver 23:35:16 -rw-rw-r-- 1 jenkins jenkins 48109 Mar 13 23:32 CHANGELOG.md 23:35:16 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:32 GOVERNANCE.md 23:35:16 -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 23:32 Jenkinsfile 23:35:16 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 23:32 LICENSE 23:35:16 -rw-rw-r-- 1 jenkins jenkins 1842 Mar 13 23:32 Makefile 23:35:16 -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 23:32 OWNERS.md 23:35:16 -rw-rw-r-- 1 jenkins jenkins 4933 Mar 13 23:32 README.md 23:35:16 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:33 VERSION 23:35:16 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:32 bin 23:35:16 -rw-r--r-- 1 jenkins jenkins 122153 Mar 13 23:34 coverage.out 23:35:16 drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 23:32 example 23:35:16 -rw-rw-r-- 1 jenkins jenkins 3768 Mar 13 23:32 go.mod 23:35:16 -rw-rw-r-- 1 jenkins jenkins 35399 Mar 13 23:32 go.sum 23:35:16 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 23:32 internal 23:35:16 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:32 openapi 23:35:16 drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 23:32 pkg 23:35:16 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:32 snap 23:35:16 -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 23:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:16 + 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=ce178c8c17500841a6f4a6a782eb47f81bbc4242 --label arch=amd64 --label version=0.0.0 . 23:35:16 Sending build context to Docker daemon 22.09MB 23:35:16 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 23:35:16 Step 2/23 : FROM ${BASE} AS builder 23:35:16 ---> 66b00f8cb82b 23:35:16 Step 3/23 : ARG MAKE=make build 23:35:17 ---> Running in 8825ac65b085 23:35:17 Removing intermediate container 8825ac65b085 23:35:17 ---> 261ce7546559 23:35:17 Step 4/23 : WORKDIR /device-sdk-go 23:35:17 ---> Running in a1fe66a64137 23:35:17 Removing intermediate container a1fe66a64137 23:35:17 ---> 1160fe85f501 23:35:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:35:17 ---> Running in ccc5b096fe0c 23:35:17 Removing intermediate container ccc5b096fe0c 23:35:17 ---> 86d8103b0ac7 23:35:17 Step 6/23 : RUN apk add --update --no-cache make git 23:35:17 ---> Running in 7716b9cc3b14 23:35:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:35:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:35:18 OK: 264 MiB in 52 packages 23:35:18 Removing intermediate container 7716b9cc3b14 23:35:18 ---> a9484b1af4d9 23:35:18 Step 7/23 : COPY go.mod vendor* ./ 23:35:18 ---> 1b50aba7bf7e 23:35:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:35:18 ---> Running in 526e6b33f60c 23:35:19 Removing intermediate container 526e6b33f60c 23:35:19 ---> 0929c447600f 23:35:19 Step 9/23 : COPY . . 23:35:20 ---> 0576eb1c4964 23:35:20 Step 10/23 : RUN ${MAKE} 23:35:20 ---> Running in d6bfe09a209c 23:35:20 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 23:35:43 Removing intermediate container d6bfe09a209c 23:35:43 ---> f3f84f92134c 23:35:43 Step 11/23 : FROM alpine:3.18 23:35:43 3.18: Pulling from library/alpine 23:35:43 619be1103602: Pulling fs layer 23:35:43 619be1103602: Verifying Checksum 23:35:43 619be1103602: Download complete 23:35:43 619be1103602: Pull complete 23:35:43 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 23:35:43 Status: Downloaded newer image for alpine:3.18 23:35:43 ---> d3782b16ccc9 23:35:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:35:43 ---> Running in 8a3c07bb41c5 23:35:43 Removing intermediate container 8a3c07bb41c5 23:35:43 ---> a29d4d0305e5 23:35:43 Step 13/23 : RUN apk add --update --no-cache 23:35:43 ---> Running in f2287a54ba8e 23:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:35:43 OK: 7 MiB in 15 packages 23:35:44 Removing intermediate container f2287a54ba8e 23:35:44 ---> 0f025adc7737 23:35:44 Step 14/23 : WORKDIR / 23:35:44 ---> Running in a3d57690044a 23:35:44 Removing intermediate container a3d57690044a 23:35:44 ---> d315dd2c48ed 23:35:44 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:35:44 ---> 36f976dd6998 23:35:44 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:35:45 ---> 342b831d925f 23:35:45 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:35:45 ---> 3bcb7eb0905f 23:35:45 Step 18/23 : EXPOSE 59999 23:35:45 ---> Running in 12edc8b903ca 23:35:45 Removing intermediate container 12edc8b903ca 23:35:45 ---> 6c63255b1172 23:35:45 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:35:45 ---> Running in a9a03b0600f1 23:35:45 Removing intermediate container a9a03b0600f1 23:35:45 ---> ea89ef88cdf9 23:35:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:35:45 ---> Running in 89185059579e 23:35:45 Removing intermediate container 89185059579e 23:35:45 ---> 2a84076fa292 23:35:45 Step 21/23 : LABEL arch=amd64 23:35:45 ---> Running in 66511b7bb2bc 23:35:45 Removing intermediate container 66511b7bb2bc 23:35:45 ---> 2f711c1dd539 23:35:45 Step 22/23 : LABEL git_sha=ce178c8c17500841a6f4a6a782eb47f81bbc4242 23:35:45 ---> Running in 036b211a6853 23:35:45 Removing intermediate container 036b211a6853 23:35:45 ---> ec33c704529e 23:35:45 Step 23/23 : LABEL version=0.0.0 23:35:45 ---> Running in 8337032d26fe 23:35:46 Removing intermediate container 8337032d26fe 23:35:46 ---> 8bd17b58fc2e 23:35:46 [Warning] One or more build-args [ARCH] were not consumed 23:35:46 Successfully built 8bd17b58fc2e 23:35:46 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 23:35:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:47 23:35:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:35:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:47 latest: Pulling from edgex-lftools-log-publisher 23:35:47 5eb5b503b376: Pulling fs layer 23:35:47 5c69ac0246d0: Pulling fs layer 23:35:47 ec43610c2a17: Pulling fs layer 23:35:47 3a2ae6a8a46f: Pulling fs layer 23:35:47 33b1e0a273af: Pulling fs layer 23:35:47 5d3b04190fa2: Pulling fs layer 23:35:47 2f39f015ded8: Pulling fs layer 23:35:47 33b1e0a273af: Waiting 23:35:47 5d3b04190fa2: Waiting 23:35:47 2f39f015ded8: Waiting 23:35:47 3a2ae6a8a46f: Waiting 23:35:47 5c69ac0246d0: Download complete 23:35:47 3a2ae6a8a46f: Verifying Checksum 23:35:47 3a2ae6a8a46f: Download complete 23:35:47 33b1e0a273af: Verifying Checksum 23:35:47 33b1e0a273af: Download complete 23:35:47 ec43610c2a17: Verifying Checksum 23:35:47 ec43610c2a17: Download complete 23:35:47 5d3b04190fa2: Verifying Checksum 23:35:47 5d3b04190fa2: Download complete 23:35:47 5eb5b503b376: Verifying Checksum 23:35:47 5eb5b503b376: Download complete 23:35:48 2f39f015ded8: Download complete 23:35:49 5eb5b503b376: Pull complete 23:35:49 5c69ac0246d0: Pull complete 23:35:49 ec43610c2a17: Pull complete 23:35:49 3a2ae6a8a46f: Pull complete 23:35:49 33b1e0a273af: Pull complete 23:35:49 5d3b04190fa2: Pull complete 23:35:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5578 in /w/workspace/gexfoundry_device-sdk-go_PR-1565 [Pipeline] { [Pipeline] ws 23:35:50 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:35:54 2f39f015ded8: Pull complete 23:35:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:35:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:54 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:35:54 prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container 23:35:54 $ 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-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@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 23:35:59 $ docker top e4247a8d8667a92a90382a819521931f07e4985c9c271f416e4f854f4ddc080c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:35:59 ---> job-cost.sh 23:35:59 lf-activate-venv: SKIPPING 23:35:59 INFO: No Stack... 23:36:00 INFO: Retrieving Pricing Info for: v3-standard-8 23:36:00 INFO: Archiving Costs [Pipeline] sh 23:36:01 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives/cost.csv 23:36:01 + cut -d, -f6 [Pipeline] lock 23:36:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] 23:36:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] did not exist. Created. 23:36:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:36:01 + echo total: 0.2199999988079071 [Pipeline] stash 23:36:01 Stashed 1 file(s) [Pipeline] } 23:36:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:36:01 $ docker stop --time=1 e4247a8d8667a92a90382a819521931f07e4985c9c271f416e4f854f4ddc080c 23:36:02 using credential edgex-jenkins-ssh 23:36:02 Cloning the remote Git repository 23:36:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:36:02 > git init /w/workspace/device-sdk-go/1 # timeout=10 23:36:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:36:02 > git --version # timeout=10 23:36:02 > git --version # 'git version 2.25.1' 23:36:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:03 $ docker rm -f --volumes e4247a8d8667a92a90382a819521931f07e4985c9c271f416e4f854f4ddc080c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:36:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:36:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:08 Merging remotes/origin/main commit f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 into PR head commit ce178c8c17500841a6f4a6a782eb47f81bbc4242 23:36:08 Merge succeeded, producing ce178c8c17500841a6f4a6a782eb47f81bbc4242 23:36:08 Checking out Revision ce178c8c17500841a6f4a6a782eb47f81bbc4242 (PR-1565) 23:36:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:36:07 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:36:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1565/head:refs/remotes/origin/PR-1565 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:36:08 > git config core.sparsecheckout # timeout=10 23:36:08 > git checkout -f ce178c8c17500841a6f4a6a782eb47f81bbc4242 # timeout=10 23:36:08 > git remote # timeout=10 23:36:08 > git config --get remote.origin.url # timeout=10 23:36:08 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:08 > git merge f05d4df2d6cfbf1d4cda26b08f1f7d90529eebf2 # timeout=10 23:36:08 > git rev-parse HEAD^{commit} # timeout=10 23:36:08 > git config core.sparsecheckout # timeout=10 23:36:08 > git checkout -f ce178c8c17500841a6f4a6a782eb47f81bbc4242 # timeout=10 23:36:09 Commit message: "build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0" 23:36:09 > git --version # timeout=10 23:36:09 > git --version # 'git version 2.25.1' 23:36:09 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:36:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:36:11 % Total % Received % Xferd Average Speed Time Time Time Current 23:36:11 Dload Upload Total Spent Left Speed 23:36:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 143k 0 --:--:-- --:--:-- --:--:-- 145k [Pipeline] sh 23:36:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:36:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:36:12 + sudo tee /etc/docker/daemon.new 23:36:12 { 23:36:12 "registry-mirrors": [ 23:36:12 "https://nexus3.edgexfoundry.org:10001" 23:36:12 ], 23:36:12 "bip": "10.250.0.254/24", 23:36:12 "hosts": [ 23:36:12 "tcp://0.0.0.0:5555", 23:36:12 "unix:///var/run/docker.sock" 23:36:12 ], 23:36:12 "mtu": 1458, 23:36:12 "selinux-enabled": true, 23:36:12 "seccomp-profile": "/etc/docker/seccomp.json" 23:36:12 } [Pipeline] sh 23:36:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:36:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:36:31 provisioning config files... 23:36:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14289092060013606028tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:32 ---> ****-login.sh 23:36:32 nexus3.edgexfoundry.org:10001 23:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:33 Configure a credential helper to remove this warning. See 23:36:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:33 23:36:33 Login Succeeded 23:36:33 nexus3.edgexfoundry.org:10002 23:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:33 Configure a credential helper to remove this warning. See 23:36:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:33 23:36:33 Login Succeeded 23:36:33 nexus3.edgexfoundry.org:10003 23:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:34 Configure a credential helper to remove this warning. See 23:36:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:34 23:36:34 Login Succeeded 23:36:34 nexus3.edgexfoundry.org:10004 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:34 Configure a credential helper to remove this warning. See 23:36:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:34 23:36:34 Login Succeeded 23:36:34 ****.io 23:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:36:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 23:36:35 Configure a credential helper to remove this warning. See 23:36:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 23:36:35 23:36:35 Login Succeeded 23:36:35 ---> ****-login.sh ends [Pipeline] } 23:36:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:36:35 ========================================================= 23:36:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:36:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:36:36 + 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 . 23:36:37 Sending build context to Docker daemon 11.39MB 23:36:37 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 23:36:37 Step 2/10 : FROM ${BASE} AS builder 23:36:37 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:36:37 9fda8d8052c6: Pulling fs layer 23:36:37 5d54e960e981: Pulling fs layer 23:36:37 c4a7e357bf2a: Pulling fs layer 23:36:37 f0e02332f6b5: Pulling fs layer 23:36:37 872ee5b61b7b: Pulling fs layer 23:36:37 0c6a40ed1a82: Pulling fs layer 23:36:37 94ae7d8d031c: Pulling fs layer 23:36:37 872ee5b61b7b: Waiting 23:36:37 0c6a40ed1a82: Waiting 23:36:37 f0e02332f6b5: Waiting 23:36:37 94ae7d8d031c: Waiting 23:36:37 5d54e960e981: Download complete 23:36:37 f0e02332f6b5: Verifying Checksum 23:36:37 f0e02332f6b5: Download complete 23:36:37 872ee5b61b7b: Verifying Checksum 23:36:37 872ee5b61b7b: Download complete 23:36:37 9fda8d8052c6: Verifying Checksum 23:36:37 9fda8d8052c6: Download complete 23:36:38 94ae7d8d031c: Verifying Checksum 23:36:38 94ae7d8d031c: Download complete 23:36:38 9fda8d8052c6: Pull complete 23:36:39 c4a7e357bf2a: Verifying Checksum 23:36:39 c4a7e357bf2a: Download complete 23:36:39 5d54e960e981: Pull complete 23:36:40 0c6a40ed1a82: Verifying Checksum 23:36:40 0c6a40ed1a82: Download complete 23:36:53 c4a7e357bf2a: Pull complete 23:36:53 f0e02332f6b5: Pull complete 23:36:53 872ee5b61b7b: Pull complete 23:37:03 0c6a40ed1a82: Pull complete 23:37:12 94ae7d8d031c: Pull complete 23:37:12 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 23:37:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:37:12 ---> 86de565de09d 23:37:12 Step 3/10 : ARG MAKE=make build 23:37:12 ---> Running in 434f3a5a5560 23:37:12 Removing intermediate container 434f3a5a5560 23:37:12 ---> b72db6841cc3 23:37:12 Step 4/10 : WORKDIR /device-sdk-go 23:37:12 ---> Running in ec1c438eab9e 23:37:12 Removing intermediate container ec1c438eab9e 23:37:12 ---> 0f0040993806 23:37:12 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:37:12 ---> Running in d25d7a5483b9 23:37:12 Removing intermediate container d25d7a5483b9 23:37:12 ---> 15724f76b0cd 23:37:12 Step 6/10 : RUN apk add --update --no-cache make git 23:37:12 ---> Running in f2143c8f7e4a 23:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:37:21 OK: 266 MiB in 52 packages 23:37:21 Removing intermediate container f2143c8f7e4a 23:37:21 ---> e35bea0a5978 23:37:21 Step 7/10 : COPY go.mod vendor* ./ 23:37:21 ---> 307a8cae0032 23:37:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:37:21 ---> Running in fafb786e08e3 23:38:26 go: github.com/Microsoft/go-winio@v0.6.1: Get "https://proxy.golang.org/github.com/%21microsoft/go-winio/@v/v0.6.1.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/OneOfOne/xxhash@v1.2.8: Get "https://proxy.golang.org/github.com/%21one%21of%21one/xxhash/@v/v1.2.8.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/armon/go-metrics@v0.4.1: Get "https://proxy.golang.org/github.com/armon/go-metrics/@v/v0.4.1.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/cenkalti/backoff@v2.2.1+incompatible: Get "https://proxy.golang.org/github.com/cenkalti/backoff/@v/v2.2.1+incompatible.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/davecgh/go-spew@v1.1.2-0.20180830191138-d8f796af33cc: Get "https://proxy.golang.org/github.com/davecgh/go-spew/@v/v1.1.2-0.20180830191138-d8f796af33cc.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/eclipse/paho.mqtt.golang@v1.4.3: Get "https://proxy.golang.org/github.com/eclipse/paho.mqtt.golang/@v/v1.4.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.21: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-bootstrap/v3/@v/v3.2.0-dev.21.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/edgexfoundry/go-mod-configuration/v3@v3.2.0-dev.3: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-configuration/v3/@v/v3.2.0-dev.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/edgexfoundry/go-mod-core-contracts/v3@v3.2.0-dev.8: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-core-contracts/v3/@v/v3.2.0-dev.8.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/edgexfoundry/go-mod-messaging/v3@v3.2.0-dev.12: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-messaging/v3/@v/v3.2.0-dev.12.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/edgexfoundry/go-mod-registry/v3@v3.2.0-dev.3: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-registry/v3/@v/v3.2.0-dev.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/edgexfoundry/go-mod-secrets/v3@v3.2.0-dev.5: Get "https://proxy.golang.org/github.com/edgexfoundry/go-mod-secrets/v3/@v/v3.2.0-dev.5.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/fatih/color@v1.14.1: Get "https://proxy.golang.org/github.com/fatih/color/@v/v1.14.1.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/fxamacker/cbor/v2@v2.6.0: Get "https://proxy.golang.org/github.com/fxamacker/cbor/v2/@v/v2.6.0.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/gabriel-vasile/mimetype@v1.4.3: Get "https://proxy.golang.org/github.com/gabriel-vasile/mimetype/@v/v1.4.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 go: github.com/go-jose/go-jose/v3@v3.0.3: Get "https://proxy.golang.org/github.com/go-jose/go-jose/v3/@v/v3.0.3.mod": dial tcp [2607:f8b0:400b:80c::2011]:443: connect: cannot assign requested address 23:38:26 skipping... 23:38:59 Removing intermediate container fafb786e08e3 23:38:59 ---> 53c5c80fb921 23:38:59 Step 9/10 : COPY . . 23:38:59 ---> c7abbb0c6a75 23:38:59 Step 10/10 : RUN ${MAKE} 23:38:59 ---> Running in 88275c31f698 23:38:59 noop 23:38:59 Removing intermediate container 88275c31f698 23:38:59 ---> fee8dc23a428 23:38:59 Successfully built fee8dc23a428 23:38:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:00 + docker inspect -f . ci-base-image-arm64 23:39:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:01 prd-ubuntu20.04-docker-arm64-4c-16g-5578 does not seem to be running inside a container 23:39:01 $ 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 23:39:02 $ docker top eed6bb0930fe5658a8b90f60c5295beef0596867dd992c05292f7743336d66b2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:03 + go version 23:39:03 go version go1.21.0 linux/arm64 [Pipeline] } 23:39:03 $ docker stop --time=1 eed6bb0930fe5658a8b90f60c5295beef0596867dd992c05292f7743336d66b2 23:39:05 $ docker rm -f --volumes eed6bb0930fe5658a8b90f60c5295beef0596867dd992c05292f7743336d66b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:07 + docker inspect -f . ci-base-image-arm64 23:39:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:07 prd-ubuntu20.04-docker-arm64-4c-16g-5578 does not seem to be running inside a container 23:39:07 $ 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 23:39:09 $ docker top abce990f29d856708f5eb0f9e053f06d4da741f8bfb03ee9c572b9ff2bcdf52c -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 23:39:11 + make test 23:39:11 go test -race -coverprofile=coverage.out ./... 23:39:11 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v3 v3.2.0-dev.8 23:39:11 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v3 v3.2.0-dev.21 23:39:12 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:39:12 go: downloading github.com/edgexfoundry/go-mod-messaging/v3 v3.2.0-dev.12 23:39:12 go: downloading github.com/edgexfoundry/go-mod-registry/v3 v3.2.0-dev.3 23:39:12 go: downloading github.com/edgexfoundry/go-mod-configuration/v3 v3.2.0-dev.3 23:39:12 go: downloading github.com/eclipse/paho.mqtt.golang v1.4.3 23:39:12 go: downloading github.com/edgexfoundry/go-mod-secrets/v3 v3.2.0-dev.5 23:39:13 go: downloading github.com/fxamacker/cbor/v2 v2.6.0 23:39:13 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc 23:39:13 go: downloading github.com/gabriel-vasile/mimetype v1.4.3 23:39:14 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:39:14 go: downloading github.com/go-jose/go-jose/v3 v3.0.3 23:39:15 go: downloading github.com/fatih/color v1.14.1 23:39:15 go: downloading github.com/armon/go-metrics v0.4.1 23:40:12 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 23:42:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 23:42:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 23:42:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 23:42:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 23:42:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 23:42:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.242s coverage: 27.6% of statements 23:42:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.311s coverage: 81.5% of statements 23:42:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 23:42:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 23:42:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.442s coverage: 86.0% of statements 23:43:02 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 23:43:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.526s coverage: 71.8% of statements 23:43:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.352s coverage: 14.4% of statements 23:43:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.211s coverage: 45.9% of statements 23:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 23:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 23:43:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.504s coverage: 68.5% of statements 23:43:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.513s coverage: 89.2% of statements 23:43:13 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 23:43:14 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.328s coverage: 5.5% of statements 23:43:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:43:15 GO111MODULE=on go vet ./... 23:46:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:46:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:46:22 ./bin/test-attribution-txt.sh 23:46:22 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 23:46:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:46:23 $ docker stop --time=1 abce990f29d856708f5eb0f9e053f06d4da741f8bfb03ee9c572b9ff2bcdf52c 23:46:25 $ docker rm -f --volumes abce990f29d856708f5eb0f9e053f06d4da741f8bfb03ee9c572b9ff2bcdf52c [Pipeline] // withDockerContainer [Pipeline] sh 23:46:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:46:28 Warning: overwriting stash ‘coverage-report’ 23:46:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:46:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:46:30 + ls -al . 23:46:30 total 304 23:46:30 drwxrwxr-x 10 jenkins jenkins 4096 Mar 13 23:39 . 23:46:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:36 .. 23:46:30 -rw-rw-r-- 1 jenkins jenkins 140 Mar 13 23:36 .dockerignore 23:46:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 13 23:36 .git 23:46:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:36 .github 23:46:30 -rw-rw-r-- 1 jenkins jenkins 137 Mar 13 23:36 .gitignore 23:46:30 -rw-rw-r-- 1 jenkins jenkins 42 Mar 13 23:36 .golangci.yml 23:46:30 -rw-rw-r-- 1 jenkins jenkins 48109 Mar 13 23:36 CHANGELOG.md 23:46:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 13 23:36 GOVERNANCE.md 23:46:30 -rw-rw-r-- 1 jenkins jenkins 885 Mar 13 23:36 Jenkinsfile 23:46:30 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 13 23:36 LICENSE 23:46:30 -rw-rw-r-- 1 jenkins jenkins 1842 Mar 13 23:36 Makefile 23:46:30 -rw-rw-r-- 1 jenkins jenkins 619 Mar 13 23:36 OWNERS.md 23:46:30 -rw-rw-r-- 1 jenkins jenkins 4933 Mar 13 23:36 README.md 23:46:30 -rw-rw-r-- 1 jenkins jenkins 5 Mar 13 23:33 VERSION 23:46:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 13 23:36 bin 23:46:30 -rw-r--r-- 1 jenkins jenkins 122155 Mar 13 23:43 coverage.out 23:46:30 drwxrwxr-x 5 jenkins jenkins 4096 Mar 13 23:36 example 23:46:30 -rw-rw-r-- 1 jenkins jenkins 3768 Mar 13 23:36 go.mod 23:46:30 -rw-rw-r-- 1 jenkins jenkins 35399 Mar 13 23:36 go.sum 23:46:30 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 23:36 internal 23:46:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 13 23:36 openapi 23:46:30 drwxrwxr-x 6 jenkins jenkins 4096 Mar 13 23:36 pkg 23:46:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 13 23:36 snap 23:46:30 -rw-rw-r-- 1 jenkins jenkins 222 Mar 13 23:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:30 + 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=ce178c8c17500841a6f4a6a782eb47f81bbc4242 --label arch=arm64 --label version=0.0.0 . 23:46:31 Sending build context to Docker daemon 11.51MB 23:46:31 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 23:46:31 Step 2/23 : FROM ${BASE} AS builder 23:46:31 ---> fee8dc23a428 23:46:31 Step 3/23 : ARG MAKE=make build 23:46:31 ---> Running in ed823e812ba1 23:46:31 Removing intermediate container ed823e812ba1 23:46:31 ---> 6b8b86c1daaf 23:46:31 Step 4/23 : WORKDIR /device-sdk-go 23:46:32 ---> Running in 348f5bbe8978 23:46:32 Removing intermediate container 348f5bbe8978 23:46:32 ---> 2621ff18ba6e 23:46:32 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 23:46:32 ---> Running in 8623810f4494 23:46:32 Removing intermediate container 8623810f4494 23:46:32 ---> 4016b71435db 23:46:32 Step 6/23 : RUN apk add --update --no-cache make git 23:46:32 ---> Running in 121b3a997a0b 23:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:46:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:46:35 OK: 266 MiB in 52 packages 23:46:36 Removing intermediate container 121b3a997a0b 23:46:36 ---> cd8435b8cad4 23:46:36 Step 7/23 : COPY go.mod vendor* ./ 23:46:37 ---> 150f1e2d3379 23:46:37 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:46:37 ---> Running in 4a6a5af0b169 23:46:57 Removing intermediate container 4a6a5af0b169 23:46:57 ---> c0be611e428e 23:46:57 Step 9/23 : COPY . . 23:46:57 ---> 9c48a844bfbd 23:46:57 Step 10/23 : RUN ${MAKE} 23:46:57 ---> Running in 0153c5a0d96f 23:46:58 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 23:49:35 Removing intermediate container 0153c5a0d96f 23:49:35 ---> f301e33f5d0e 23:49:35 Step 11/23 : FROM alpine:3.18 23:49:35 3.18: Pulling from library/alpine 23:49:35 c6b39de5b339: Pulling fs layer 23:49:35 c6b39de5b339: Verifying Checksum 23:49:35 c6b39de5b339: Download complete 23:49:35 c6b39de5b339: Pull complete 23:49:35 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 23:49:35 Status: Downloaded newer image for alpine:3.18 23:49:35 ---> 33abbf032149 23:49:35 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:49:35 ---> Running in 7c36d2fcf4f7 23:49:35 Removing intermediate container 7c36d2fcf4f7 23:49:35 ---> d9f448965752 23:49:35 Step 13/23 : RUN apk add --update --no-cache 23:49:35 ---> Running in 82f13a9aaf5a 23:49:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:49:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:49:35 OK: 8 MiB in 15 packages 23:49:35 Removing intermediate container 82f13a9aaf5a 23:49:35 ---> aa487760761a 23:49:35 Step 14/23 : WORKDIR / 23:49:35 ---> Running in 4d850e1069c1 23:49:35 Removing intermediate container 4d850e1069c1 23:49:35 ---> d13634312e85 23:49:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:49:35 ---> 529c8b72f755 23:49:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:49:35 ---> 5e5ce925dfcb 23:49:35 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:49:35 ---> 64f18ab0bea2 23:49:35 Step 18/23 : EXPOSE 59999 23:49:35 ---> Running in 02606309c268 23:49:35 Removing intermediate container 02606309c268 23:49:35 ---> feb2ffb9676e 23:49:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 23:49:35 ---> Running in 8a3bb31f455d 23:49:35 Removing intermediate container 8a3bb31f455d 23:49:35 ---> 17d3ac676c0a 23:49:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:49:35 ---> Running in f342144cde5a 23:49:35 Removing intermediate container f342144cde5a 23:49:35 ---> 8dcbffb3775f 23:49:35 Step 21/23 : LABEL arch=arm64 23:49:35 ---> Running in ce67aec9a700 23:49:35 Removing intermediate container ce67aec9a700 23:49:35 ---> 3c64d322d8b4 23:49:35 Step 22/23 : LABEL git_sha=ce178c8c17500841a6f4a6a782eb47f81bbc4242 23:49:35 ---> Running in d24f2624389b 23:49:35 Removing intermediate container d24f2624389b 23:49:35 ---> 4e185771523f 23:49:35 Step 23/23 : LABEL version=0.0.0 23:49:35 ---> Running in 528ef6ed4259 23:49:35 Removing intermediate container 528ef6ed4259 23:49:35 ---> 9175800b27c7 23:49:35 [Warning] One or more build-args [ARCH] were not consumed 23:49:35 Successfully built 9175800b27c7 23:49:35 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:49:36 23:49:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:49:37 arm64: Pulling from edgex-lftools-log-publisher 23:49:37 8998bd30e6a1: Pulling fs layer 23:49:37 04944245beec: Pulling fs layer 23:49:37 699f458cf7ca: Pulling fs layer 23:49:37 765212b225bb: Pulling fs layer 23:49:37 f23df028b6ca: Pulling fs layer 23:49:37 d65c8cfc05b1: Pulling fs layer 23:49:37 2437ff75d9bd: Pulling fs layer 23:49:37 765212b225bb: Waiting 23:49:37 f23df028b6ca: Waiting 23:49:37 2437ff75d9bd: Waiting 23:49:37 d65c8cfc05b1: Waiting 23:49:37 04944245beec: Verifying Checksum 23:49:37 04944245beec: Download complete 23:49:37 765212b225bb: Download complete 23:49:37 f23df028b6ca: Verifying Checksum 23:49:37 f23df028b6ca: Download complete 23:49:37 d65c8cfc05b1: Verifying Checksum 23:49:37 d65c8cfc05b1: Download complete 23:49:37 699f458cf7ca: Verifying Checksum 23:49:37 699f458cf7ca: Download complete 23:49:37 8998bd30e6a1: Verifying Checksum 23:49:37 8998bd30e6a1: Download complete 23:49:40 2437ff75d9bd: Verifying Checksum 23:49:40 2437ff75d9bd: Download complete 23:49:43 8998bd30e6a1: Pull complete 23:49:43 04944245beec: Pull complete 23:49:45 699f458cf7ca: Pull complete 23:49:45 765212b225bb: Pull complete 23:49:46 f23df028b6ca: Pull complete 23:49:46 d65c8cfc05b1: Pull complete 23:50:04 2437ff75d9bd: Pull complete 23:50:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:50:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:04 prd-ubuntu20.04-docker-arm64-4c-16g-5578 does not seem to be running inside a container 23:50:04 $ 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 23:50:07 $ docker top f6c882a910496e723ffad280fec3bfe38b33db348ff90ea3909e6bded44184bc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:08 ---> job-cost.sh 23:50:08 lf-activate-venv: SKIPPING 23:50:08 INFO: No Stack... 23:50:09 INFO: Retrieving Pricing Info for: v3-standard-4 23:50:09 INFO: Archiving Costs [Pipeline] sh 23:50:10 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 23:50:10 + cut -d, -f6 [Pipeline] lock 23:50:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] 23:50:10 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] did not exist. Created. 23:50:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:50:11 /w/workspace/device-sdk-go/1@tmp/durable-f7f6aa38/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:50:11 + echo total: 0.10999999940395355 [Pipeline] stash 23:50:11 Warning: overwriting stash ‘stack-cost’ 23:50:11 Stashed 1 file(s) [Pipeline] } 23:50:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1565-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:50:12 $ docker stop --time=1 f6c882a910496e723ffad280fec3bfe38b33db348ff90ea3909e6bded44184bc 23:50:13 $ docker rm -f --volumes f6c882a910496e723ffad280fec3bfe38b33db348ff90ea3909e6bded44184bc [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 23:50:15 provisioning config files... 23:50:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/config13370636813131536336tmp [Pipeline] { [Pipeline] sh 23:50:16 + set +x 23:50:16 + bash -s -- 23:50:16 + curl -s https://codecov.io/bash 23:50:16 23:50:16 _____ _ 23:50:16 / ____| | | 23:50:16 | | ___ __| | ___ ___ _____ __ 23:50:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:50:16 | |___| (_) | (_| | __/ (_| (_) \ V / 23:50:16 \_____\___/ \__,_|\___|\___\___/ \_/ 23:50:16 Bash-1.0.6 23:50:16 23:50:16 23:50:16 ==> git version 2.25.1 found 23:50:16 ==> 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 23:50:16 Release-Date: 2020-01-08 23:50:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:50:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:50:16 ==> Jenkins CI detected. 23:50:16 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1565 23:50:16 project root: . 23:50:16 --> token set from env 23:50:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:50:16 ==> Running gcov in . (disable via -X gcov) 23:50:16 ==> Python coveragepy not found 23:50:16 ==> Searching for coverage reports in: 23:50:16 + . 23:50:16 -> Found 1 reports 23:50:16 ==> Detecting git/mercurial file structure 23:50:16 ==> Reading reports 23:50:16 + ./coverage.out bytes=122155 23:50:16 ==> Appending adjustments 23:50:16 https://docs.codecov.io/docs/fixing-reports 23:50:16 + Found adjustments 23:50:16 ==> Gzipping contents 23:50:16 20K /tmp/codecov.DZORpx.gz 23:50:16 ==> Uploading reports 23:50:16 url: https://codecov.io 23:50:16 query: branch=PR-1565&commit=ce178c8c17500841a6f4a6a782eb47f81bbc4242&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1565%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1565&job=&cmd_args= 23:50:16 -> Pinging Codecov 23:50:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1565&commit=ce178c8c17500841a6f4a6a782eb47f81bbc4242&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1565%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1565&job=&cmd_args= 23:50:16 -> Uploading to 23:50:16 https://storage.googleapis.com/codecov/v4/raw/2024-03-13/7E55EF52A471D76F132DFD9A03CDDE97/ce178c8c17500841a6f4a6a782eb47f81bbc4242/bbf97a82-fa50-407e-adcb-a4888b971590.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240313%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240313T235016Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e93b768fb677f251c94aecf3df1332fcb13c513ce0a6dc328a63a60a923b9e1f 23:50:16 % Total % Received % Xferd Average Speed Time Time Time Current 23:50:16 Dload Upload Total Spent Left Speed 23:50:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 54550 --:--:-- --:--:-- --:--:-- 54550 23:50:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ce178c8c17500841a6f4a6a782eb47f81bbc4242 [Pipeline] } 23:50:17 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 23:50:20 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives ] 23:50:20 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives 23:50:20 total 16 23:50:20 drwxr-xr-x 3 root root 4096 Mar 13 23:36 . 23:50:20 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 23:36 .. 23:50:20 drwxr-xr-x 2 root root 4096 Mar 13 23:36 cost 23:50:20 -rw-r--r-- 1 root root 86 Mar 13 23:36 cost.csv 23:50:20 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives 23:50:20 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives 23:50:20 total 16 23:50:20 drwxr-xr-x 3 jenkins jenkins 4096 Mar 13 23:36 . 23:50:20 drwxrwxr-x 12 jenkins jenkins 4096 Mar 13 23:36 .. 23:50:20 drwxr-xr-x 2 jenkins jenkins 4096 Mar 13 23:36 cost 23:50:20 -rw-r--r-- 1 jenkins jenkins 86 Mar 13 23:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:50:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:50:21 ---> package-listing.sh 23:50:21 ++ facter osfamily 23:50:21 ++ tr '[:upper:]' '[:lower:]' 23:50:22 + OS_FAMILY=debian 23:50:22 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1565 23:50:22 + START_PACKAGES=/tmp/packages_start.txt 23:50:22 + END_PACKAGES=/tmp/packages_end.txt 23:50:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:50:22 + PACKAGES=/tmp/packages_start.txt 23:50:22 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1565 ']' 23:50:22 + PACKAGES=/tmp/packages_end.txt 23:50:22 + case "${OS_FAMILY}" in 23:50:22 + dpkg -l 23:50:22 + grep '^ii' 23:50:22 + '[' -f /tmp/packages_start.txt ']' 23:50:22 + '[' -f /tmp/packages_end.txt ']' 23:50:22 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:50:22 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1565 ']' 23:50:22 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives/ 23:50:22 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1565/archives/ [Pipeline] echo 23:50:22 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-1565/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:50:22 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:50:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:23 prd-ubuntu20.04-docker-8c-8g-5561 does not seem to be running inside a container 23:50:23 $ 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-1565/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-1565 -v /w/workspace/gexfoundry_device-sdk-go_PR-1565:/w/workspace/gexfoundry_device-sdk-go_PR-1565:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1565@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 23:50:23 $ docker top cd72431a4498f4260300b1379b45ce932b16a0698a051f3235d7272d04764635 -eo pid,comm [Pipeline] { [Pipeline] sh 23:50:23 + touch /tmp/pre-build-complete [Pipeline] sh 23:50:24 + mkdir -p /var/log/sysstat [Pipeline] sh 23:50:24 + ls /var/log/sa-host 23:50:24 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:24 provisioning config files... 23:50:24 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1565@tmp/config11787321643769125169tmp [Pipeline] { [Pipeline] echo 23:50:24 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:50:25 ---> create-netrc.sh [Pipeline] } 23:50:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:50:25 ---> python-tools-install.sh [Pipeline] echo 23:50:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:50:26 ---> sudo-logs.sh 23:50:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:50:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:50:26 ---> job-cost.sh 23:50:26 lf-activate-venv: SKIPPING 23:50:26 DEBUG: total: 0.2199999988079071 23:50:26 INFO: Retrieving Stack Cost... 23:50:27 INFO: Retrieving Pricing Info for: v3-standard-8 23:50:27 INFO: Archiving Costs [Pipeline] echo 23:50:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:50:27 ---> logs-deploy.sh 23:50:27 lf-activate-venv: SKIPPING 23:50:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1565/1 23:50:27 INFO: archiving workspace using pattern(s): 23:50:28 Archives upload complete. 23:50:28 INFO: archiving logs to Nexus