Pull request #1625 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0273bc1903c20c0119abaa3ddf16b67a83272bfa+224db1e0e192554ed613955b9810071aef8a346e (9332aab21e40aef25297891cb9acb96df8e99ebf) 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-ssh12836321165115278801.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2242901069979429210.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision f3350a1713306dce7682ed7e37d5774890d03277 The recommended git tool is: git using credential edgex-jenkins-ssh 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-1625/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-1625/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14251837490862201283.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-1625/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6311034901799812528.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh12198996168245232574.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-1625/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-1625/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16997827243453664666.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 f3350a1713306dce7682ed7e37d5774890d03277 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9988 in /w/workspace/gexfoundry_device-sdk-go_PR-1625 [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-1625 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1625/head:refs/remotes/origin/PR-1625 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 0273bc1903c20c0119abaa3ddf16b67a83272bfa Merge succeeded, producing 0273bc1903c20c0119abaa3ddf16b67a83272bfa Checking out Revision 0273bc1903c20c0119abaa3ddf16b67a83272bfa (PR-1625) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 > git config core.sparsecheckout # timeout=10 > git checkout -f 0273bc1903c20c0119abaa3ddf16b67a83272bfa # 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 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0273bc1903c20c0119abaa3ddf16b67a83272bfa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:42:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:42:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:42:38 ========================================================= 04:42:38 EdgeX Global Pipelines Version Info 04:42:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:42:39 ------------------- 04:42:39 stable info: 04:42:39 ------------------- 04:42:39 Commited By: Cherry Wang cherry@iotechsys.com 04:42:39 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:42:39 Message: update stable to v1.0.263 04:42:39 ------------------- 04:42:39 experimental info: 04:42:39 ------------------- 04:42:39 Commited By: Cherry Wang cherry@iotechsys.com 04:42:39 Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 04:42:39 Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:42:39 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:42:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1625 [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1625 [Pipeline] echo 04:42:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1625 [Pipeline] echo 04:42:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] echo 04:42:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0273bc1 [Pipeline] echo 04:42:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:42 provisioning config files... 04:42:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/config17164850581682436065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:42 ---> ****-login.sh 04:42:42 nexus3.edgexfoundry.org:10001 04:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:43 Configure a credential helper to remove this warning. See 04:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:43 04:42:43 Login Succeeded 04:42:43 nexus3.edgexfoundry.org:10002 04:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:43 Configure a credential helper to remove this warning. See 04:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:43 04:42:43 Login Succeeded 04:42:43 nexus3.edgexfoundry.org:10003 04:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:43 Configure a credential helper to remove this warning. See 04:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:43 04:42:43 Login Succeeded 04:42:43 nexus3.edgexfoundry.org:10004 04:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:43 Configure a credential helper to remove this warning. See 04:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:43 04:42:43 Login Succeeded 04:42:43 ****.io 04:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:43 Configure a credential helper to remove this warning. See 04:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:43 04:42:43 Login Succeeded 04:42:43 ---> ****-login.sh ends [Pipeline] } 04:42:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:42:44 + git rev-list -1 --merges 0273bc1903c20c0119abaa3ddf16b67a83272bfa~1..0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] echo 04:42:44 -----------> git rev-list -1 --merges 0273bc1903c20c0119abaa3ddf16b67a83272bfa~1..0273bc1903c20c0119abaa3ddf16b67a83272bfa 0273bc1903c20c0119abaa3ddf16b67a83272bfa [false] [Pipeline] sh 04:42:44 + git log --format=format:%s -1 0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] echo 04:42:44 ========================================================= 04:42:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:42:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:45 + git log --format=format:%s -1 0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] echo 04:42:45 [semverPrep] GIT_COMMIT: 0273bc1903c20c0119abaa3ddf16b67a83272bfa, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:42:45 [semverPrep] This is not a build commit. [Pipeline] sh 04:42:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:42:45 + grep -v github /etc/ssh/ssh_known_hosts 04:42:45 + [ -e /tmp/ssh_known_hosts ] 04:42:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:42:45 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:42:45 sudo tee -a /etc/ssh/ssh_known_hosts 04:42:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:42:46 04:42:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:42:46 0.1.4: Pulling from edgex-devops/py-git-semver 04:42:46 b85a868b505f: Pulling fs layer 04:42:46 e2be974225ed: Pulling fs layer 04:42:46 339a4e72a1f5: Pulling fs layer 04:42:46 988bab9f4d93: Pulling fs layer 04:42:46 1469e6f7b9e6: Pulling fs layer 04:42:46 eaf3925da568: Pulling fs layer 04:42:46 bab4dde63d76: Pulling fs layer 04:42:46 bde34c3a00c8: Pulling fs layer 04:42:46 b352a97aabf1: Pulling fs layer 04:42:46 4872d77fe225: Pulling fs layer 04:42:46 5851b861e8e6: Pulling fs layer 04:42:46 bab4dde63d76: Waiting 04:42:46 988bab9f4d93: Waiting 04:42:46 1469e6f7b9e6: Waiting 04:42:46 bde34c3a00c8: Waiting 04:42:46 b352a97aabf1: Waiting 04:42:46 eaf3925da568: Waiting 04:42:46 4872d77fe225: Waiting 04:42:46 5851b861e8e6: Waiting 04:42:46 e2be974225ed: Download complete 04:42:46 988bab9f4d93: Verifying Checksum 04:42:46 988bab9f4d93: Download complete 04:42:46 1469e6f7b9e6: Verifying Checksum 04:42:46 1469e6f7b9e6: Download complete 04:42:46 eaf3925da568: Verifying Checksum 04:42:46 eaf3925da568: Download complete 04:42:46 339a4e72a1f5: Verifying Checksum 04:42:46 339a4e72a1f5: Download complete 04:42:46 bde34c3a00c8: Verifying Checksum 04:42:46 bde34c3a00c8: Download complete 04:42:46 b352a97aabf1: Verifying Checksum 04:42:46 b352a97aabf1: Download complete 04:42:46 4872d77fe225: Verifying Checksum 04:42:46 4872d77fe225: Download complete 04:42:46 5851b861e8e6: Download complete 04:42:46 b85a868b505f: Verifying Checksum 04:42:46 b85a868b505f: Download complete 04:42:47 bab4dde63d76: Verifying Checksum 04:42:47 bab4dde63d76: Download complete 04:42:47 b85a868b505f: Pull complete 04:42:47 e2be974225ed: Pull complete 04:42:48 339a4e72a1f5: Pull complete 04:42:48 988bab9f4d93: Pull complete 04:42:48 1469e6f7b9e6: Pull complete 04:42:48 eaf3925da568: Pull complete 04:42:50 bab4dde63d76: Pull complete 04:42:50 bde34c3a00c8: Pull complete 04:42:50 b352a97aabf1: Pull complete 04:42:50 4872d77fe225: Pull complete 04:42:50 5851b861e8e6: Pull complete 04:42:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:42:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:42:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:51 prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container 04:42:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:42:54 $ docker top c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 -eo pid,comm 04:42:54 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:42:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:54 [ssh-agent] Looking for ssh-agent implementation... 04:42:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:55 $ docker exec c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 ssh-agent 04:42:55 SSH_AUTH_SOCK=/tmp/ssh-hHq63FTrFw3y/agent.32 04:42:55 SSH_AGENT_PID=38 04:42:55 Running ssh-add (command line suppressed) 04:42:55 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/private_key_13173225873447648957.key (/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/private_key_13173225873447648957.key) 04:42:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:55 + git tag --points-at HEAD [Pipeline] } 04:42:55 $ docker exec --env ******** --env ******** c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 ssh-agent -k 04:42:55 unset SSH_AUTH_SOCK; 04:42:55 unset SSH_AGENT_PID; 04:42:55 echo Agent pid 38 killed; 04:42:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:42:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:55 [ssh-agent] Looking for ssh-agent implementation... 04:42:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:55 $ docker exec c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 ssh-agent 04:42:56 SSH_AUTH_SOCK=/tmp/ssh-Q4qlrBbfiE7f/agent.71 04:42:56 SSH_AGENT_PID=78 04:42:56 Running ssh-add (command line suppressed) 04:42:56 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/private_key_13606689292964755382.key (/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/private_key_13606689292964755382.key) 04:42:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:56 + git semver init 04:42:56 2024-09-10 04:42:56,759 [run_init] DEBUG init version:0.0.0 force:False 04:42:56 2024-09-10 04:42:56,760 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver 04:42:56 2024-09-10 04:42:56,760 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver 04:42:56 2024-09-10 04:42:56,761 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1625, universal_newlines=False, shell=None, istream=None) 04:42:59 2024-09-10 04:42:58,759 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625/.git/info/exclude 04:42:59 2024-09-10 04:42:58,759 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver/PR-1625 with force:False 04:42:59 2024-09-10 04:42:58,760 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver/PR-1625 04:42:59 2024-09-10 04:42:58,763 [execute] INFO git cat-file --batch-check 04:42:59 2024-09-10 04:42:58,764 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver, universal_newlines=False, shell=None, istream=) 04:42:59 2024-09-10 04:42:58,768 [execute] INFO git cat-file --batch 04:42:59 2024-09-10 04:42:58,769 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver, universal_newlines=False, shell=None, istream=) 04:42:59 2024-09-10 04:42:58,773 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1625/.semver/PR-1625 04:42:59 0.0.0 [Pipeline] } 04:42:59 $ docker exec --env ******** --env ******** c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 ssh-agent -k 04:42:59 unset SSH_AUTH_SOCK; 04:42:59 unset SSH_AGENT_PID; 04:42:59 echo Agent pid 78 killed; 04:42:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:43:00 + git semver [Pipeline] } 04:43:00 $ docker stop --time=1 c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 04:43:01 $ docker rm -f --volumes c88850f2586d5abfad23e24b9fdf1997e6cddccee140600b3dbcfa1253f5f5c8 [Pipeline] // withDockerContainer [Pipeline] sh 04:43:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:43:02 Stashed 1 file(s) [Pipeline] echo 04:43:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:43:03 provisioning config files... 04:43:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/config3316670989446438711tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:43:03 ---> ****-login.sh 04:43:03 nexus3.edgexfoundry.org:10001 04:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:03 Configure a credential helper to remove this warning. See 04:43:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:03 04:43:03 Login Succeeded 04:43:03 nexus3.edgexfoundry.org:10002 04:43:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:03 Configure a credential helper to remove this warning. See 04:43:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:03 04:43:03 Login Succeeded 04:43:03 nexus3.edgexfoundry.org:10003 04:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:04 Configure a credential helper to remove this warning. See 04:43:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:04 04:43:04 Login Succeeded 04:43:04 nexus3.edgexfoundry.org:10004 04:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:04 Configure a credential helper to remove this warning. See 04:43:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:04 04:43:04 Login Succeeded 04:43:04 ****.io 04:43:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:43:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:43:04 Configure a credential helper to remove this warning. See 04:43:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:43:04 04:43:04 Login Succeeded 04:43:04 ---> ****-login.sh ends [Pipeline] } 04:43:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:43:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:43:04 ========================================================= 04:43:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:43:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:05 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:43:05 Sending build context to Docker daemon 25.31MB 04:43:05 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:43:05 Step 2/10 : FROM ${BASE} AS builder 04:43:05 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:43:05 619be1103602: Pulling fs layer 04:43:05 7862e08f4a3e: Pulling fs layer 04:43:05 5df492c9dc93: Pulling fs layer 04:43:05 7629e6793208: Pulling fs layer 04:43:05 4f4fb700ef54: Pulling fs layer 04:43:05 fb5054dd5b73: Pulling fs layer 04:43:05 eeca6798cff9: Pulling fs layer 04:43:05 aa269ceb94a6: Pulling fs layer 04:43:05 ada007ff1a6a: Pulling fs layer 04:43:05 fb5054dd5b73: Waiting 04:43:05 eeca6798cff9: Waiting 04:43:05 7629e6793208: Waiting 04:43:05 aa269ceb94a6: Waiting 04:43:05 4f4fb700ef54: Waiting 04:43:05 ada007ff1a6a: Waiting 04:43:05 7862e08f4a3e: Download complete 04:43:05 7629e6793208: Verifying Checksum 04:43:05 7629e6793208: Download complete 04:43:05 4f4fb700ef54: Verifying Checksum 04:43:05 4f4fb700ef54: Download complete 04:43:05 fb5054dd5b73: Verifying Checksum 04:43:05 fb5054dd5b73: Download complete 04:43:05 619be1103602: Verifying Checksum 04:43:05 eeca6798cff9: Verifying Checksum 04:43:05 eeca6798cff9: Download complete 04:43:05 619be1103602: Pull complete 04:43:05 ada007ff1a6a: Verifying Checksum 04:43:05 ada007ff1a6a: Download complete 04:43:05 7862e08f4a3e: Pull complete 04:43:06 5df492c9dc93: Verifying Checksum 04:43:06 5df492c9dc93: Download complete 04:43:06 aa269ceb94a6: Verifying Checksum 04:43:06 aa269ceb94a6: Download complete 04:43:08 5df492c9dc93: Pull complete 04:43:09 7629e6793208: Pull complete 04:43:09 4f4fb700ef54: Pull complete 04:43:09 fb5054dd5b73: Pull complete 04:43:09 eeca6798cff9: Pull complete 04:43:11 aa269ceb94a6: Pull complete 04:43:12 ada007ff1a6a: Pull complete 04:43:12 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:43:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:43:12 ---> f489d0715acc 04:43:12 Step 3/10 : ARG MAKE=make build 04:43:18 Still waiting to schedule task 04:43:18 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:43:18 ---> Running in e378c906e45c 04:43:18 Removing intermediate container e378c906e45c 04:43:18 ---> 904e424bcf4c 04:43:18 Step 4/10 : WORKDIR /device-sdk-go 04:43:18 ---> Running in 4196312a3090 04:43:18 Removing intermediate container 4196312a3090 04:43:18 ---> b01f2d17fec2 04:43:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:43:18 ---> Running in d874bfc9757a 04:43:18 Removing intermediate container d874bfc9757a 04:43:18 ---> 7572d88a5b3c 04:43:18 Step 6/10 : RUN apk add --update --no-cache make git 04:43:18 ---> Running in 539176396d5d 04:43:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:43:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:43:19 OK: 264 MiB in 52 packages 04:43:19 Removing intermediate container 539176396d5d 04:43:19 ---> e7f12f0a8e4b 04:43:19 Step 7/10 : COPY go.mod vendor* ./ 04:43:19 ---> 8d9012e9305f 04:43:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:19 ---> Running in 7981c27156ae 04:44:16 Removing intermediate container 7981c27156ae 04:44:16 ---> 3d0fe5781904 04:44:16 Step 9/10 : COPY . . 04:44:16 ---> d84ce157efb1 04:44:16 Step 10/10 : RUN ${MAKE} 04:44:16 ---> Running in c66d25f5beb4 04:44:16 noop 04:44:16 Removing intermediate container c66d25f5beb4 04:44:16 ---> 108536fe094f 04:44:16 Successfully built 108536fe094f 04:44:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:16 + docker inspect -f . ci-base-image-x86_64 04:44:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:16 prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container 04:44:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:44:17 $ docker top 3cf062155e89cfc5bf05267de4979442ce18bb05cc18642bd98f13b3cb82671a -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:17 + go version 04:44:17 go version go1.21.9 linux/amd64 [Pipeline] } 04:44:17 $ docker stop --time=1 3cf062155e89cfc5bf05267de4979442ce18bb05cc18642bd98f13b3cb82671a 04:44:18 $ docker rm -f --volumes 3cf062155e89cfc5bf05267de4979442ce18bb05cc18642bd98f13b3cb82671a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:19 + docker inspect -f . ci-base-image-x86_64 04:44:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:19 prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container 04:44:19 $ 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-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:44:20 $ docker top daef4ae53ecb8a187c29bf9568d144a41ef3aa6875fb2e40d0a7a3e5b3b4b1a8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:20 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1625 [Pipeline] fileExists [Pipeline] sh 04:44:20 + make test 04:44:20 go test -race -coverprofile=coverage.out ./... 04:44:29 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:44:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:44:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:44:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:44:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:44:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:44:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:44:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:44:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 26.0% of statements 04:44:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.031s coverage: 79.4% of statements 04:44:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.044s coverage: 86.0% of statements 04:44:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:44:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:44:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:44:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:44:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 45.2% of statements 04:44:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:44:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.027s coverage: 14.4% of statements 04:44:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.466s coverage: 44.6% of statements 04:44:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.045s coverage: 68.5% of statements 04:44:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.092s coverage: 89.2% of statements 04:44:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.050s coverage: 5.3% of statements 04:45:32 GO111MODULE=on go vet ./... 04:45:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:45:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:45:34 ./bin/test-attribution-txt.sh 04:45:35 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 04:45:35 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 04:45:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:45:35 $ docker stop --time=1 daef4ae53ecb8a187c29bf9568d144a41ef3aa6875fb2e40d0a7a3e5b3b4b1a8 04:45:40 $ docker rm -f --volumes daef4ae53ecb8a187c29bf9568d144a41ef3aa6875fb2e40d0a7a3e5b3b4b1a8 [Pipeline] // withDockerContainer [Pipeline] sh 04:45:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:45:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:45:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:45:42 + ls -al . 04:45:42 total 384 04:45:42 drwxrwxr-x 11 jenkins jenkins 4096 Sep 10 04:44 . 04:45:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 04:42 .. 04:45:42 -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 04:42 .dockerignore 04:45:42 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 04:45 .git 04:45:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 04:42 .github 04:45:42 -rw-rw-r-- 1 jenkins jenkins 137 Sep 10 04:42 .gitignore 04:45:42 -rw-rw-r-- 1 jenkins jenkins 42 Sep 10 04:42 .golangci.yml 04:45:42 drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 04:42 .semver 04:45:42 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 10 04:42 CHANGELOG.md 04:45:42 -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 04:42 GOVERNANCE.md 04:45:42 -rw-rw-r-- 1 jenkins jenkins 885 Sep 10 04:42 Jenkinsfile 04:45:42 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 10 04:42 LICENSE 04:45:42 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 10 04:42 Makefile 04:45:42 -rw-rw-r-- 1 jenkins jenkins 619 Sep 10 04:42 OWNERS.md 04:45:42 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 10 04:42 README.md 04:45:42 -rw-rw-r-- 1 jenkins jenkins 5 Sep 10 04:43 VERSION 04:45:42 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 04:42 bin 04:45:42 -rw-r--r-- 1 jenkins jenkins 127942 Sep 10 04:44 coverage.out 04:45:42 drwxrwxr-x 5 jenkins jenkins 4096 Sep 10 04:42 example 04:45:42 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 10 04:42 go.mod 04:45:42 -rw-rw-r-- 1 jenkins jenkins 101627 Sep 10 04:42 go.sum 04:45:42 drwxrwxr-x 13 jenkins jenkins 4096 Sep 10 04:42 internal 04:45:42 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 04:42 openapi 04:45:42 drwxrwxr-x 6 jenkins jenkins 4096 Sep 10 04:42 pkg 04:45:42 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 04:42 snap 04:45:42 -rw-rw-r-- 1 jenkins jenkins 222 Sep 10 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:43 + 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=0273bc1903c20c0119abaa3ddf16b67a83272bfa --label arch=amd64 --label version=0.0.0 . 04:45:43 Sending build context to Docker daemon 25.44MB 04:45:43 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:45:43 Step 2/24 : FROM ${BASE} AS builder 04:45:43 ---> 108536fe094f 04:45:43 Step 3/24 : ARG MAKE=make build 04:45:43 ---> Running in 22047af54e21 04:45:43 Removing intermediate container 22047af54e21 04:45:43 ---> bd8b0fb9f17b 04:45:43 Step 4/24 : WORKDIR /device-sdk-go 04:45:43 ---> Running in 9893ca508835 04:45:44 Removing intermediate container 9893ca508835 04:45:44 ---> d44c02c59735 04:45:44 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:45:44 ---> Running in dbbda82cb27e 04:45:44 Removing intermediate container dbbda82cb27e 04:45:44 ---> bf9af5e21809 04:45:44 Step 6/24 : RUN apk add --update --no-cache make git 04:45:44 ---> Running in 6017d4018f8b 04:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:45:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:45:44 OK: 264 MiB in 52 packages 04:45:45 Removing intermediate container 6017d4018f8b 04:45:45 ---> 9cc4ae0513df 04:45:45 Step 7/24 : COPY go.mod vendor* ./ 04:45:45 ---> 06ba97f176bf 04:45:45 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:45:45 ---> Running in 2aabf713ea82 04:45:45 Removing intermediate container 2aabf713ea82 04:45:45 ---> 98ac137ebffc 04:45:45 Step 9/24 : COPY . . 04:45:46 ---> 435e5f0a15ab 04:45:46 Step 10/24 : RUN ${MAKE} 04:45:46 ---> Running in bfb3d09fe0cf 04:45:47 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:46:25 Removing intermediate container bfb3d09fe0cf 04:46:25 ---> ae33a8c0d3a1 04:46:25 Step 11/24 : FROM alpine:3.18 04:46:25 3.18: Pulling from library/alpine 04:46:25 1cc3d825d8b2: Pulling fs layer 04:46:25 1cc3d825d8b2: Verifying Checksum 04:46:25 1cc3d825d8b2: Download complete 04:46:25 1cc3d825d8b2: Pull complete 04:46:25 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 04:46:25 Status: Downloaded newer image for alpine:3.18 04:46:25 ---> 2c64cf60f6f0 04:46:25 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:46:25 ---> Running in a7de2e12f35b 04:46:25 Removing intermediate container a7de2e12f35b 04:46:25 ---> 7aaf3f33230e 04:46:25 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:46:25 ---> Running in ee91c056366c 04:46:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:46:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:46:25 (1/1) Installing dumb-init (1.2.5-r2) 04:46:25 Executing busybox-1.36.1-r7.trigger 04:46:25 OK: 7 MiB in 16 packages 04:46:25 Removing intermediate container ee91c056366c 04:46:25 ---> 58fd1c5522e4 04:46:25 Step 14/24 : RUN apk --no-cache upgrade 04:46:25 ---> Running in 386dbb01108f 04:46:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:46:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:46:25 OK: 7 MiB in 16 packages 04:46:25 Removing intermediate container 386dbb01108f 04:46:25 ---> ae3352d6073c 04:46:25 Step 15/24 : WORKDIR / 04:46:25 ---> Running in 4e1d798b8e2f 04:46:25 Removing intermediate container 4e1d798b8e2f 04:46:25 ---> 5cb01939ffee 04:46:25 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:46:25 ---> 4f3ec3a68ec6 04:46:25 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:46:26 ---> c9fa0dedb2b2 04:46:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:46:26 ---> 0f7a890bd530 04:46:26 Step 19/24 : EXPOSE 59999 04:46:26 ---> Running in 0f75aca07414 04:46:26 Removing intermediate container 0f75aca07414 04:46:26 ---> 988454eac718 04:46:26 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:46:26 ---> Running in f1c9368f5f58 04:46:26 Removing intermediate container f1c9368f5f58 04:46:26 ---> 772ec617b121 04:46:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:46:26 ---> Running in 9ad14ed3654d 04:46:26 Removing intermediate container 9ad14ed3654d 04:46:26 ---> a588b7406ae0 04:46:26 Step 22/24 : LABEL arch=amd64 04:46:26 ---> Running in 31941ebe1f19 04:46:26 Removing intermediate container 31941ebe1f19 04:46:26 ---> b52091064b1e 04:46:26 Step 23/24 : LABEL git_sha=0273bc1903c20c0119abaa3ddf16b67a83272bfa 04:46:26 ---> Running in 7daf546a5b98 04:46:26 Removing intermediate container 7daf546a5b98 04:46:26 ---> ea2f2f7b0561 04:46:26 Step 24/24 : LABEL version=0.0.0 04:46:26 ---> Running in 8a4bf61f5a29 04:46:26 Removing intermediate container 8a4bf61f5a29 04:46:26 ---> 5c8f53f70982 04:46:26 [Warning] One or more build-args [ARCH] were not consumed 04:46:26 Successfully built 5c8f53f70982 04:46:26 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:28 04:46:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:28 latest: Pulling from edgex-lftools-log-publisher 04:46:28 5eb5b503b376: Pulling fs layer 04:46:28 5c69ac0246d0: Pulling fs layer 04:46:28 ec43610c2a17: Pulling fs layer 04:46:28 3a2ae6a8a46f: Pulling fs layer 04:46:28 33b1e0a273af: Pulling fs layer 04:46:28 5d3b04190fa2: Pulling fs layer 04:46:28 2f39f015ded8: Pulling fs layer 04:46:28 33b1e0a273af: Waiting 04:46:28 5d3b04190fa2: Waiting 04:46:28 2f39f015ded8: Waiting 04:46:28 3a2ae6a8a46f: Waiting 04:46:28 5c69ac0246d0: Download complete 04:46:28 3a2ae6a8a46f: Verifying Checksum 04:46:28 3a2ae6a8a46f: Download complete 04:46:28 33b1e0a273af: Verifying Checksum 04:46:28 33b1e0a273af: Download complete 04:46:28 5d3b04190fa2: Verifying Checksum 04:46:28 5d3b04190fa2: Download complete 04:46:28 ec43610c2a17: Verifying Checksum 04:46:28 ec43610c2a17: Download complete 04:46:28 5eb5b503b376: Verifying Checksum 04:46:28 5eb5b503b376: Download complete 04:46:29 2f39f015ded8: Verifying Checksum 04:46:29 2f39f015ded8: Download complete 04:46:29 5eb5b503b376: Pull complete 04:46:30 5c69ac0246d0: Pull complete 04:46:30 ec43610c2a17: Pull complete 04:46:30 3a2ae6a8a46f: Pull complete 04:46:30 33b1e0a273af: Pull complete 04:46:30 5d3b04190fa2: Pull complete 04:46:34 2f39f015ded8: Pull complete 04:46:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:46:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:46:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:35 prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container 04:46:35 $ 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-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:46:38 $ docker top ec5a17b711a4c16606e275331f43080b78f04f5cc5f39f30f6b7b177ce064d74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:39 ---> job-cost.sh 04:46:39 lf-activate-venv: SKIPPING 04:46:39 INFO: No Stack... 04:46:39 INFO: Retrieving Pricing Info for: v3-standard-8 04:46:40 INFO: Archiving Costs [Pipeline] sh 04:46:40 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives/cost.csv 04:46:40 + cut -d, -f6 [Pipeline] lock 04:46:40 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] 04:46:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] did not exist. Created. 04:46:40 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:46:41 + echo total: 0.2199999988079071 [Pipeline] stash 04:46:41 Stashed 1 file(s) [Pipeline] } 04:46:41 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:46:41 $ docker stop --time=1 ec5a17b711a4c16606e275331f43080b78f04f5cc5f39f30f6b7b177ce064d74 04:46:42 $ docker rm -f --volumes ec5a17b711a4c16606e275331f43080b78f04f5cc5f39f30f6b7b177ce064d74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:47:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9989 in /w/workspace/gexfoundry_device-sdk-go_PR-1625 [Pipeline] { [Pipeline] ws 04:47:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:48:00 The recommended git tool is: git 04:48:10 using credential edgex-jenkins-ssh 04:48:10 Cloning the remote Git repository 04:48:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:48:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:48:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:48:10 > git --version # timeout=10 04:48:10 > git --version # 'git version 2.25.1' 04:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:48:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:48:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:48:16 Merging remotes/origin/main commit 224db1e0e192554ed613955b9810071aef8a346e into PR head commit 0273bc1903c20c0119abaa3ddf16b67a83272bfa 04:48:16 Merge succeeded, producing 0273bc1903c20c0119abaa3ddf16b67a83272bfa 04:48:16 Checking out Revision 0273bc1903c20c0119abaa3ddf16b67a83272bfa (PR-1625) 04:48:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:48:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:48:15 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1625/head:refs/remotes/origin/PR-1625 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:48:16 > git config core.sparsecheckout # timeout=10 04:48:16 > git checkout -f 0273bc1903c20c0119abaa3ddf16b67a83272bfa # timeout=10 04:48:16 > git remote # timeout=10 04:48:16 > git config --get remote.origin.url # timeout=10 04:48:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:48:16 > git merge 224db1e0e192554ed613955b9810071aef8a346e # timeout=10 04:48:16 > git rev-parse HEAD^{commit} # timeout=10 04:48:16 > git config core.sparsecheckout # timeout=10 04:48:16 > git checkout -f 0273bc1903c20c0119abaa3ddf16b67a83272bfa # timeout=10 04:48:17 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:48:17 > git --version # timeout=10 04:48:17 > git --version # 'git version 2.25.1' 04:48:17 fatal: bad object f3350a1713306dce7682ed7e37d5774890d03277 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:48:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:48:22 % Total % Received % Xferd Average Speed Time Time Time Current 04:48:22 Dload Upload Total Spent Left Speed 04:48:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 04:48:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:48:23 + sudo tee /etc/docker/daemon.new 04:48:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:48:23 { 04:48:23 "registry-mirrors": [ 04:48:23 "https://nexus3.edgexfoundry.org:10001" 04:48:23 ], 04:48:23 "bip": "10.250.0.254/24", 04:48:23 "hosts": [ 04:48:23 "tcp://0.0.0.0:5555", 04:48:23 "unix:///var/run/docker.sock" 04:48:23 ], 04:48:23 "mtu": 1458, 04:48:23 "selinux-enabled": true, 04:48:23 "seccomp-profile": "/etc/docker/seccomp.json" 04:48:23 } [Pipeline] sh 04:48:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:48:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:48:42 provisioning config files... 04:48:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config10989568138106849440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:43 ---> ****-login.sh 04:48:43 nexus3.edgexfoundry.org:10001 04:48:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:43 Configure a credential helper to remove this warning. See 04:48:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:43 04:48:43 Login Succeeded 04:48:43 nexus3.edgexfoundry.org:10002 04:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:44 Configure a credential helper to remove this warning. See 04:48:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:44 04:48:44 Login Succeeded 04:48:44 nexus3.edgexfoundry.org:10003 04:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:44 Configure a credential helper to remove this warning. See 04:48:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:44 04:48:44 Login Succeeded 04:48:44 nexus3.edgexfoundry.org:10004 04:48:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:45 Configure a credential helper to remove this warning. See 04:48:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:45 04:48:45 Login Succeeded 04:48:45 ****.io 04:48:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:48:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:48:45 Configure a credential helper to remove this warning. See 04:48:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:48:45 04:48:45 Login Succeeded 04:48:45 ---> ****-login.sh ends [Pipeline] } 04:48:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:48:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:48:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:48:46 ========================================================= 04:48:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:48:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:47 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:48:47 Sending build context to Docker daemon 13.11MB 04:48:47 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:48:47 Step 2/10 : FROM ${BASE} AS builder 04:48:47 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:48:47 c6b39de5b339: Pulling fs layer 04:48:47 a69c41024577: Pulling fs layer 04:48:47 d6de4b400683: Pulling fs layer 04:48:47 35cb2a7552d0: Pulling fs layer 04:48:47 4f4fb700ef54: Pulling fs layer 04:48:47 464afbd9ba4c: Pulling fs layer 04:48:47 00f215d4a9da: Pulling fs layer 04:48:47 d496ad576159: Pulling fs layer 04:48:47 35cb2a7552d0: Waiting 04:48:47 4f4fb700ef54: Waiting 04:48:47 464afbd9ba4c: Waiting 04:48:47 00f215d4a9da: Waiting 04:48:47 d496ad576159: Waiting 04:48:47 a69c41024577: Verifying Checksum 04:48:47 a69c41024577: Download complete 04:48:47 35cb2a7552d0: Verifying Checksum 04:48:47 35cb2a7552d0: Download complete 04:48:47 4f4fb700ef54: Verifying Checksum 04:48:47 4f4fb700ef54: Download complete 04:48:47 c6b39de5b339: Verifying Checksum 04:48:47 c6b39de5b339: Download complete 04:48:47 464afbd9ba4c: Verifying Checksum 04:48:47 464afbd9ba4c: Download complete 04:48:48 d496ad576159: Verifying Checksum 04:48:48 d496ad576159: Download complete 04:48:49 c6b39de5b339: Pull complete 04:48:49 a69c41024577: Pull complete 04:48:49 d6de4b400683: Verifying Checksum 04:48:49 d6de4b400683: Download complete 04:48:51 00f215d4a9da: Verifying Checksum 04:48:51 00f215d4a9da: Download complete 04:49:03 d6de4b400683: Pull complete 04:49:03 35cb2a7552d0: Pull complete 04:49:03 4f4fb700ef54: Pull complete 04:49:03 464afbd9ba4c: Pull complete 04:49:13 00f215d4a9da: Pull complete 04:49:14 d496ad576159: Pull complete 04:49:14 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:49:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:49:14 ---> f246e2811388 04:49:14 Step 3/10 : ARG MAKE=make build 04:49:16 ---> Running in f63040a0c309 04:49:17 Removing intermediate container f63040a0c309 04:49:17 ---> 5e7a6f8413a6 04:49:17 Step 4/10 : WORKDIR /device-sdk-go 04:49:17 ---> Running in ad4e34af4fca 04:49:18 Removing intermediate container ad4e34af4fca 04:49:18 ---> ad5cccf508b1 04:49:18 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:49:18 ---> Running in 61a4bb5d206d 04:49:18 Removing intermediate container 61a4bb5d206d 04:49:18 ---> 4d65cb562228 04:49:18 Step 6/10 : RUN apk add --update --no-cache make git 04:49:18 ---> Running in 6105eeef566d 04:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:49:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:49:21 OK: 266 MiB in 52 packages 04:49:22 Removing intermediate container 6105eeef566d 04:49:22 ---> ddfd94071705 04:49:22 Step 7/10 : COPY go.mod vendor* ./ 04:49:23 ---> f04c984ac948 04:49:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:49:23 ---> Running in 41d10038ef48 04:51:14 Removing intermediate container 41d10038ef48 04:51:14 ---> a3edd4a5cca0 04:51:14 Step 9/10 : COPY . . 04:51:15 ---> 55a8447a395d 04:51:15 Step 10/10 : RUN ${MAKE} 04:51:15 ---> Running in f472fc186f9a 04:51:16 noop 04:51:17 Removing intermediate container f472fc186f9a 04:51:17 ---> b278b23cf78f 04:51:17 Successfully built b278b23cf78f 04:51:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:17 + docker inspect -f . ci-base-image-arm64 04:51:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:18 prd-ubuntu20.04-docker-arm64-4c-16g-9989 does not seem to be running inside a container 04:51:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:51:19 $ docker top 43c66594997c0d52e6d0f8254cdaa63184bece31ee8bf39d0c55da05b49ef184 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:20 + go version 04:51:20 go version go1.21.9 linux/arm64 [Pipeline] } 04:51:20 $ docker stop --time=1 43c66594997c0d52e6d0f8254cdaa63184bece31ee8bf39d0c55da05b49ef184 04:51:22 $ docker rm -f --volumes 43c66594997c0d52e6d0f8254cdaa63184bece31ee8bf39d0c55da05b49ef184 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:23 + docker inspect -f . ci-base-image-arm64 04:51:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:23 prd-ubuntu20.04-docker-arm64-4c-16g-9989 does not seem to be running inside a container 04:51:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:51:25 $ docker top f200853a9be8935991280e1fdf2aa85dc2694fb9087ac9be961bdad157d8b693 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:26 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:51:27 + make test 04:51:27 go test -race -coverprofile=coverage.out ./... 04:52:13 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:55:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:55:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:55:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:55:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:55:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:55:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.125s coverage: 26.0% of statements 04:56:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.170s coverage: 79.4% of statements 04:56:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:56:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:56:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.277s coverage: 86.0% of statements 04:56:13 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:56:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.638s coverage: 45.2% of statements 04:56:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.144s coverage: 14.4% of statements 04:56:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.944s coverage: 44.6% of statements 04:56:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 04:56:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:56:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:56:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.305s coverage: 68.5% of statements 04:56:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.377s coverage: 89.2% of statements 04:56:28 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:56:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.252s coverage: 5.3% of statements 04:56:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:56:30 GO111MODULE=on go vet ./... 05:00:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:00:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:00:23 ./bin/test-attribution-txt.sh 05:00:23 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 05:00:23 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 05:00:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 05:00:23 $ docker stop --time=1 f200853a9be8935991280e1fdf2aa85dc2694fb9087ac9be961bdad157d8b693 05:00:25 $ docker rm -f --volumes f200853a9be8935991280e1fdf2aa85dc2694fb9087ac9be961bdad157d8b693 [Pipeline] // withDockerContainer [Pipeline] sh 05:00:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:00:27 Warning: overwriting stash ‘coverage-report’ 05:00:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:00:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:00:29 + ls -al . 05:00:29 total 380 05:00:29 drwxrwxr-x 10 jenkins jenkins 4096 Sep 10 04:51 . 05:00:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 04:48 .. 05:00:29 -rw-rw-r-- 1 jenkins jenkins 140 Sep 10 04:48 .dockerignore 05:00:29 drwxrwxr-x 8 jenkins jenkins 4096 Sep 10 04:48 .git 05:00:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 04:48 .github 05:00:29 -rw-rw-r-- 1 jenkins jenkins 137 Sep 10 04:48 .gitignore 05:00:29 -rw-rw-r-- 1 jenkins jenkins 42 Sep 10 04:48 .golangci.yml 05:00:29 -rw-rw-r-- 1 jenkins jenkins 48109 Sep 10 04:48 CHANGELOG.md 05:00:29 -rw-rw-r-- 1 jenkins jenkins 677 Sep 10 04:48 GOVERNANCE.md 05:00:29 -rw-rw-r-- 1 jenkins jenkins 885 Sep 10 04:48 Jenkinsfile 05:00:29 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 10 04:48 LICENSE 05:00:29 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 10 04:48 Makefile 05:00:29 -rw-rw-r-- 1 jenkins jenkins 619 Sep 10 04:48 OWNERS.md 05:00:29 -rw-rw-r-- 1 jenkins jenkins 4937 Sep 10 04:48 README.md 05:00:29 -rw-rw-r-- 1 jenkins jenkins 5 Sep 10 04:43 VERSION 05:00:29 drwxrwxr-x 2 jenkins jenkins 4096 Sep 10 04:48 bin 05:00:29 -rw-r--r-- 1 jenkins jenkins 127940 Sep 10 04:56 coverage.out 05:00:29 drwxrwxr-x 5 jenkins jenkins 4096 Sep 10 04:48 example 05:00:29 -rw-rw-r-- 1 jenkins jenkins 6984 Sep 10 04:48 go.mod 05:00:29 -rw-rw-r-- 1 jenkins jenkins 101627 Sep 10 04:48 go.sum 05:00:29 drwxrwxr-x 13 jenkins jenkins 4096 Sep 10 04:48 internal 05:00:29 drwxrwxr-x 3 jenkins jenkins 4096 Sep 10 04:48 openapi 05:00:29 drwxrwxr-x 6 jenkins jenkins 4096 Sep 10 04:48 pkg 05:00:29 drwxrwxr-x 4 jenkins jenkins 4096 Sep 10 04:48 snap 05:00:29 -rw-rw-r-- 1 jenkins jenkins 222 Sep 10 04:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:29 + 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=0273bc1903c20c0119abaa3ddf16b67a83272bfa --label arch=arm64 --label version=0.0.0 . 05:00:30 Sending build context to Docker daemon 13.24MB 05:00:30 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 05:00:30 Step 2/24 : FROM ${BASE} AS builder 05:00:30 ---> b278b23cf78f 05:00:30 Step 3/24 : ARG MAKE=make build 05:00:30 ---> Running in 0c4f829a1913 05:00:30 Removing intermediate container 0c4f829a1913 05:00:30 ---> 54476d9f0ba3 05:00:30 Step 4/24 : WORKDIR /device-sdk-go 05:00:30 ---> Running in fec17ee35eb8 05:00:31 Removing intermediate container fec17ee35eb8 05:00:31 ---> 672a11c4ee7c 05:00:31 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 05:00:31 ---> Running in 7fa26ff0d88d 05:00:31 Removing intermediate container 7fa26ff0d88d 05:00:31 ---> 59570ac2f687 05:00:31 Step 6/24 : RUN apk add --update --no-cache make git 05:00:31 ---> Running in ec308a08344e 05:00:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:00:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:00:33 OK: 266 MiB in 52 packages 05:00:34 Removing intermediate container ec308a08344e 05:00:34 ---> 3917e1e053ae 05:00:34 Step 7/24 : COPY go.mod vendor* ./ 05:00:35 ---> 74cc17142ed8 05:00:35 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:00:35 ---> Running in 425b1c5e1075 05:00:37 Removing intermediate container 425b1c5e1075 05:00:37 ---> 19125e6d96df 05:00:37 Step 9/24 : COPY . . 05:00:39 ---> 9ec951b50778 05:00:39 Step 10/24 : RUN ${MAKE} 05:00:39 ---> Running in 35e1865b0a83 05:00:40 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 05:04:05 Removing intermediate container 35e1865b0a83 05:04:05 ---> 7992640cc0ba 05:04:05 Step 11/24 : FROM alpine:3.18 05:04:05 3.18: Pulling from library/alpine 05:04:05 720f3032cd11: Pulling fs layer 05:04:05 720f3032cd11: Verifying Checksum 05:04:05 720f3032cd11: Download complete 05:04:05 720f3032cd11: Pull complete 05:04:05 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 05:04:05 Status: Downloaded newer image for alpine:3.18 05:04:05 ---> 3e834921e367 05:04:05 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:04:05 ---> Running in df83d3ca2675 05:04:05 Removing intermediate container df83d3ca2675 05:04:05 ---> 80fb65c8209a 05:04:05 Step 13/24 : RUN apk add --update --no-cache dumb-init 05:04:05 ---> Running in 84f22dd3bc5f 05:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:04:05 (1/1) Installing dumb-init (1.2.5-r2) 05:04:05 Executing busybox-1.36.1-r7.trigger 05:04:05 OK: 8 MiB in 16 packages 05:04:05 Removing intermediate container 84f22dd3bc5f 05:04:05 ---> c6f4b2f131be 05:04:05 Step 14/24 : RUN apk --no-cache upgrade 05:04:05 ---> Running in 99a386535071 05:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 05:04:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 05:04:05 OK: 8 MiB in 16 packages 05:04:05 Removing intermediate container 99a386535071 05:04:05 ---> b0888cb9681a 05:04:05 Step 15/24 : WORKDIR / 05:04:05 ---> Running in aa0e819f8964 05:04:05 Removing intermediate container aa0e819f8964 05:04:05 ---> 59d9bb78889c 05:04:05 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:04:05 ---> 4cca23cdafd1 05:04:05 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:04:07 ---> 8f2946c27da0 05:04:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:04:08 ---> 6ae6996e3565 05:04:08 Step 19/24 : EXPOSE 59999 05:04:08 ---> Running in f5406f349558 05:04:08 Removing intermediate container f5406f349558 05:04:08 ---> 2c0647342a64 05:04:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 05:04:08 ---> Running in aa7e7a877360 05:04:09 Removing intermediate container aa7e7a877360 05:04:09 ---> a204fc66d92d 05:04:09 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:04:09 ---> Running in ef58694f45b5 05:04:09 Removing intermediate container ef58694f45b5 05:04:09 ---> 33e67598b52a 05:04:09 Step 22/24 : LABEL arch=arm64 05:04:09 ---> Running in a0f967863f56 05:04:09 Removing intermediate container a0f967863f56 05:04:09 ---> 8b3021781974 05:04:09 Step 23/24 : LABEL git_sha=0273bc1903c20c0119abaa3ddf16b67a83272bfa 05:04:09 ---> Running in d6dd6023236f 05:04:10 Removing intermediate container d6dd6023236f 05:04:10 ---> 14b7e4c057a9 05:04:10 Step 24/24 : LABEL version=0.0.0 05:04:10 ---> Running in 60b342ccfed3 05:04:10 Removing intermediate container 60b342ccfed3 05:04:10 ---> 9f2e538b286b 05:04:10 [Warning] One or more build-args [ARCH] were not consumed 05:04:10 Successfully built 9f2e538b286b 05:04:10 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:11 05:04:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:11 arm64: Pulling from edgex-lftools-log-publisher 05:04:11 8998bd30e6a1: Pulling fs layer 05:04:11 04944245beec: Pulling fs layer 05:04:11 699f458cf7ca: Pulling fs layer 05:04:11 765212b225bb: Pulling fs layer 05:04:11 f23df028b6ca: Pulling fs layer 05:04:11 d65c8cfc05b1: Pulling fs layer 05:04:11 2437ff75d9bd: Pulling fs layer 05:04:11 f23df028b6ca: Waiting 05:04:11 2437ff75d9bd: Waiting 05:04:11 765212b225bb: Waiting 05:04:11 d65c8cfc05b1: Waiting 05:04:12 04944245beec: Verifying Checksum 05:04:12 04944245beec: Download complete 05:04:12 765212b225bb: Verifying Checksum 05:04:12 765212b225bb: Download complete 05:04:12 f23df028b6ca: Verifying Checksum 05:04:12 f23df028b6ca: Download complete 05:04:12 d65c8cfc05b1: Verifying Checksum 05:04:12 d65c8cfc05b1: Download complete 05:04:12 699f458cf7ca: Verifying Checksum 05:04:12 699f458cf7ca: Download complete 05:04:12 8998bd30e6a1: Verifying Checksum 05:04:12 8998bd30e6a1: Download complete 05:04:15 2437ff75d9bd: Verifying Checksum 05:04:15 2437ff75d9bd: Download complete 05:04:17 8998bd30e6a1: Pull complete 05:04:17 04944245beec: Pull complete 05:04:19 699f458cf7ca: Pull complete 05:04:19 765212b225bb: Pull complete 05:04:20 f23df028b6ca: Pull complete 05:04:20 d65c8cfc05b1: Pull complete 05:04:38 2437ff75d9bd: Pull complete 05:04:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:04:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:04:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:39 prd-ubuntu20.04-docker-arm64-4c-16g-9989 does not seem to be running inside a container 05:04:39 $ 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 05:04:41 $ docker top 0b0acdf18ed48509a024e8547b63aacf767f637acc4c3467f9af5fa59228c0a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:42 ---> job-cost.sh 05:04:42 lf-activate-venv: SKIPPING 05:04:42 INFO: No Stack... 05:04:42 INFO: Retrieving Pricing Info for: v3-standard-4 05:04:43 INFO: Archiving Costs [Pipeline] sh 05:04:44 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:04:44 + cut -d, -f6 [Pipeline] lock 05:04:44 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] 05:04:44 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] did not exist. Created. 05:04:44 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:44 /w/workspace/device-sdk-go/1@tmp/durable-c46953d7/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:04:45 + echo total: 0.10999999940395355 [Pipeline] stash 05:04:45 Warning: overwriting stash ‘stack-cost’ 05:04:45 Stashed 1 file(s) [Pipeline] } 05:04:45 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1625-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:45 $ docker stop --time=1 0b0acdf18ed48509a024e8547b63aacf767f637acc4c3467f9af5fa59228c0a8 05:04:46 $ docker rm -f --volumes 0b0acdf18ed48509a024e8547b63aacf767f637acc4c3467f9af5fa59228c0a8 [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 05:04:48 provisioning config files... 05:04:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/config13439795146936691494tmp [Pipeline] { [Pipeline] sh 05:04:48 + set +x 05:04:48 + + bash -s -- 05:04:48 curl -s https://codecov.io/bash 05:04:48 05:04:48 _____ _ 05:04:48 / ____| | | 05:04:48 | | ___ __| | ___ ___ _____ __ 05:04:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:04:48 | |___| (_) | (_| | __/ (_| (_) \ V / 05:04:48 \_____\___/ \__,_|\___|\___\___/ \_/ 05:04:48 Bash-1.0.6 05:04:48 05:04:48 05:04:48 ==> git version 2.25.1 found 05:04:48 ==> 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 05:04:48 Release-Date: 2020-01-08 05:04:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:04:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:04:48 ==> Jenkins CI detected. 05:04:48 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1625 05:04:48 project root: . 05:04:48 --> token set from env 05:04:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:04:48 ==> Running gcov in . (disable via -X gcov) 05:04:48 ==> Python coveragepy not found 05:04:48 ==> Searching for coverage reports in: 05:04:48 + . 05:04:48 -> Found 1 reports 05:04:48 ==> Detecting git/mercurial file structure 05:04:48 ==> Reading reports 05:04:48 + ./coverage.out bytes=127940 05:04:48 ==> Appending adjustments 05:04:48 https://docs.codecov.io/docs/fixing-reports 05:04:48 + Found adjustments 05:04:48 ==> Gzipping contents 05:04:48 20K /tmp/codecov.MaruSj.gz 05:04:48 ==> Uploading reports 05:04:48 url: https://codecov.io 05:04:48 query: branch=PR-1625&commit=0273bc1903c20c0119abaa3ddf16b67a83272bfa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1625%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1625&job=&cmd_args= 05:04:48 -> Pinging Codecov 05:04:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1625&commit=0273bc1903c20c0119abaa3ddf16b67a83272bfa&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1625%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1625&job=&cmd_args= 05:04:48 -> Uploading to 05:04:48 https://storage.googleapis.com/codecov/v4/raw/2024-09-10/7E55EF52A471D76F132DFD9A03CDDE97/0273bc1903c20c0119abaa3ddf16b67a83272bfa/66869ba8-8e63-4d89-93da-d18ce39961a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240910%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240910T050448Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=71e23e30e7eb5420636b796787063ca55f2faa7eb7776863a557e8abd67dae9d 05:04:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:48 Dload Upload Total Spent Left Speed 05:04:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17667 0 0 100 17667 0 76480 --:--:-- --:--:-- --:--:-- 76480 05:04:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0273bc1903c20c0119abaa3ddf16b67a83272bfa [Pipeline] } 05:04:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:04:51 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives ] 05:04:51 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives 05:04:51 total 16 05:04:51 drwxr-xr-x 3 root root 4096 Sep 10 04:46 . 05:04:51 drwxrwxr-x 12 jenkins jenkins 4096 Sep 10 04:46 .. 05:04:51 drwxr-xr-x 2 root root 4096 Sep 10 04:46 cost 05:04:51 -rw-r--r-- 1 root root 86 Sep 10 04:46 cost.csv 05:04:51 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives 05:04:51 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives 05:04:51 total 16 05:04:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 10 04:46 . 05:04:51 drwxrwxr-x 12 jenkins jenkins 4096 Sep 10 04:46 .. 05:04:51 drwxr-xr-x 2 jenkins jenkins 4096 Sep 10 04:46 cost 05:04:51 -rw-r--r-- 1 jenkins jenkins 86 Sep 10 04:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:04:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:04:52 ---> package-listing.sh 05:04:52 ++ facter osfamily 05:04:52 ++ tr '[:upper:]' '[:lower:]' 05:04:53 + OS_FAMILY=debian 05:04:53 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1625 05:04:53 + START_PACKAGES=/tmp/packages_start.txt 05:04:53 + END_PACKAGES=/tmp/packages_end.txt 05:04:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:04:53 + PACKAGES=/tmp/packages_start.txt 05:04:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1625 ']' 05:04:53 + PACKAGES=/tmp/packages_end.txt 05:04:53 + case "${OS_FAMILY}" in 05:04:53 + dpkg -l 05:04:53 + grep '^ii' 05:04:53 + '[' -f /tmp/packages_start.txt ']' 05:04:53 + '[' -f /tmp/packages_end.txt ']' 05:04:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:04:53 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1625 ']' 05:04:53 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives/ 05:04:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1625/archives/ [Pipeline] echo 05:04:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1625/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:04:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:04:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:04:54 prd-ubuntu20.04-docker-8c-8g-9988 does not seem to be running inside a container 05:04:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1625/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-1625 -v /w/workspace/gexfoundry_device-sdk-go_PR-1625:/w/workspace/gexfoundry_device-sdk-go_PR-1625:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1625@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 05:04:54 $ docker top e756062f9b71bf0e11b3e8ef842d8ef2bcf180f314a89b3204252b2d68bb2b4f -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:54 + touch /tmp/pre-build-complete [Pipeline] sh 05:04:55 + mkdir -p /var/log/sysstat [Pipeline] sh 05:04:55 + ls /var/log/sa-host 05:04:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:55 provisioning config files... 05:04:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1625@tmp/config8371832667883631490tmp [Pipeline] { [Pipeline] echo 05:04:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:04:56 ---> create-netrc.sh [Pipeline] } 05:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:04:56 ---> python-tools-install.sh [Pipeline] echo 05:04:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:04:57 ---> sudo-logs.sh 05:04:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:04:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:04:57 ---> job-cost.sh 05:04:57 lf-activate-venv: SKIPPING 05:04:57 DEBUG: total: 0.2199999988079071 05:04:57 INFO: Retrieving Stack Cost... 05:04:58 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:58 INFO: Archiving Costs [Pipeline] echo 05:04:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:04:58 ---> logs-deploy.sh 05:04:58 lf-activate-venv: SKIPPING 05:04:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1625/1 05:04:58 INFO: archiving workspace using pattern(s): 05:04:59 Archives upload complete. 05:04:59 INFO: archiving logs to Nexus