Pull request #1629 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f+0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd (66f34d36637081eae010f01f673445e966c7c0a7) 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-ssh5162131127118884034.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-ssh4938780807918673707.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 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-1629/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-1629/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh658467409868552685.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-1629/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6420305003484447782.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision b5a5e52272fc4198cf3754284eedf36dbf0baa35 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f b5a5e52272fc4198cf3754284eedf36dbf0baa35 # timeout=10 Commit message: "Merge pull request #456 from cherrycl/issue-452-4" > 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-ssh3406842606734295366.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-1629/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-1629/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8536238404990599967.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 b5a5e52272fc4198cf3754284eedf36dbf0baa35 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-12545’ Running on prd-ubuntu20.04-docker-8c-8g-12550 in /w/workspace/gexfoundry_device-sdk-go_PR-1629 [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-1629 # 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/1629/head:refs/remotes/origin/PR-1629 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd into PR head commit 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f Merge succeeded, producing 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f Checking out Revision 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f (PR-1629) > git config core.sparsecheckout # timeout=10 > git checkout -f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f # 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 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f # timeout=10 Commit message: "fix: Change status code to 400 for write commands with invalid values" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:29:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:29:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:29:06 ========================================================= 01:29:06 EdgeX Global Pipelines Version Info 01:29:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:29:07 ------------------- 01:29:07 stable info: 01:29:07 ------------------- 01:29:07 Commited By: Cherry Wang cherry@iotechsys.com 01:29:07 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:29:07 Message: update stable to v1.0.264 01:29:08 ------------------- 01:29:08 experimental info: 01:29:08 ------------------- 01:29:08 Commited By: Cherry Wang cherry@iotechsys.com 01:29:08 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 01:29:08 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:29:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:29:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1629 [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1629 [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1629 [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44ddd41 [Pipeline] echo 01:29:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:29:10 provisioning config files... 01:29:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/config8535011342836333440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:10 ---> ****-login.sh 01:29:10 nexus3.edgexfoundry.org:10001 01:29:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:11 Configure a credential helper to remove this warning. See 01:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:11 01:29:11 Login Succeeded 01:29:11 nexus3.edgexfoundry.org:10002 01:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:11 Configure a credential helper to remove this warning. See 01:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:11 01:29:11 Login Succeeded 01:29:11 nexus3.edgexfoundry.org:10003 01:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:11 Configure a credential helper to remove this warning. See 01:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:11 01:29:11 Login Succeeded 01:29:11 nexus3.edgexfoundry.org:10004 01:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:11 Configure a credential helper to remove this warning. See 01:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:11 01:29:11 Login Succeeded 01:29:11 ****.io 01:29:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:11 Configure a credential helper to remove this warning. See 01:29:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:11 01:29:11 Login Succeeded 01:29:11 ---> ****-login.sh ends [Pipeline] } 01:29:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:29:12 + git rev-list -1 --merges 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f~1..44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] echo 01:29:12 -----------> git rev-list -1 --merges 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f~1..44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [false] [Pipeline] sh 01:29:12 + git log --format=format:%s -1 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] echo 01:29:12 ========================================================= 01:29:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:29:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:29:13 + git log --format=format:%s -1 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] echo 01:29:13 [semverPrep] GIT_COMMIT: 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f, Commit Message: fix: Change status code to 400 for write commands with invalid values [Pipeline] echo 01:29:13 [semverPrep] This is not a build commit. [Pipeline] sh 01:29:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:29:13 + grep -v github /etc/ssh/ssh_known_hosts 01:29:13 + [ -e /tmp/ssh_known_hosts ] 01:29:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:29:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:29:13 + sudo tee -a /etc/ssh/ssh_known_hosts 01:29:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:14 01:29:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:14 0.1.4: Pulling from edgex-devops/py-git-semver 01:29:14 b85a868b505f: Pulling fs layer 01:29:14 e2be974225ed: Pulling fs layer 01:29:14 339a4e72a1f5: Pulling fs layer 01:29:14 988bab9f4d93: Pulling fs layer 01:29:14 1469e6f7b9e6: Pulling fs layer 01:29:14 eaf3925da568: Pulling fs layer 01:29:14 bab4dde63d76: Pulling fs layer 01:29:14 bde34c3a00c8: Pulling fs layer 01:29:14 b352a97aabf1: Pulling fs layer 01:29:14 4872d77fe225: Pulling fs layer 01:29:14 5851b861e8e6: Pulling fs layer 01:29:14 988bab9f4d93: Waiting 01:29:14 eaf3925da568: Waiting 01:29:14 bab4dde63d76: Waiting 01:29:14 bde34c3a00c8: Waiting 01:29:14 4872d77fe225: Waiting 01:29:14 5851b861e8e6: Waiting 01:29:14 1469e6f7b9e6: Waiting 01:29:14 b352a97aabf1: Waiting 01:29:14 e2be974225ed: Verifying Checksum 01:29:14 e2be974225ed: Download complete 01:29:14 988bab9f4d93: Verifying Checksum 01:29:14 988bab9f4d93: Download complete 01:29:14 1469e6f7b9e6: Verifying Checksum 01:29:14 1469e6f7b9e6: Download complete 01:29:15 eaf3925da568: Verifying Checksum 01:29:15 eaf3925da568: Download complete 01:29:15 339a4e72a1f5: Verifying Checksum 01:29:15 339a4e72a1f5: Download complete 01:29:15 bde34c3a00c8: Download complete 01:29:15 b352a97aabf1: Verifying Checksum 01:29:15 b352a97aabf1: Download complete 01:29:15 4872d77fe225: Verifying Checksum 01:29:15 4872d77fe225: Download complete 01:29:15 5851b861e8e6: Download complete 01:29:15 b85a868b505f: Verifying Checksum 01:29:15 b85a868b505f: Download complete 01:29:15 bab4dde63d76: Verifying Checksum 01:29:15 bab4dde63d76: Download complete 01:29:16 b85a868b505f: Pull complete 01:29:16 e2be974225ed: Pull complete 01:29:17 339a4e72a1f5: Pull complete 01:29:17 988bab9f4d93: Pull complete 01:29:17 1469e6f7b9e6: Pull complete 01:29:17 eaf3925da568: Pull complete 01:29:19 bab4dde63d76: Pull complete 01:29:19 bde34c3a00c8: Pull complete 01:29:19 b352a97aabf1: Pull complete 01:29:19 4872d77fe225: Pull complete 01:29:19 5851b861e8e6: Pull complete 01:29:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:29:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:29:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:20 prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container 01:29:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@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-devops/py-git-semver:0.1.4 cat 01:29:25 $ docker top 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b -eo pid,comm 01:29:25 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). 01:29:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:29:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:25 [ssh-agent] Looking for ssh-agent implementation... 01:29:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:25 $ docker exec 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b ssh-agent 01:29:26 SSH_AUTH_SOCK=/tmp/ssh-fKUWii96M7PF/agent.31 01:29:26 SSH_AGENT_PID=37 01:29:26 Running ssh-add (command line suppressed) 01:29:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/private_key_5072539910652618535.key (/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/private_key_5072539910652618535.key) 01:29:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:31 + git tag --points-at HEAD [Pipeline] } 01:29:32 $ docker exec --env ******** --env ******** 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b ssh-agent -k 01:29:32 unset SSH_AUTH_SOCK; 01:29:32 unset SSH_AGENT_PID; 01:29:32 echo Agent pid 37 killed; 01:29:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:29:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:29:32 [ssh-agent] Looking for ssh-agent implementation... 01:29:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:29:32 $ docker exec 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b ssh-agent 01:29:32 SSH_AUTH_SOCK=/tmp/ssh-Zq2poi06ppus/agent.70 01:29:32 SSH_AGENT_PID=76 01:29:32 Running ssh-add (command line suppressed) 01:29:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/private_key_7490048837264592175.key (/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/private_key_7490048837264592175.key) 01:29:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:29:32 + git semver init 01:29:33 2024-10-02 01:29:33,135 [run_init] DEBUG init version:0.0.0 force:False 01:29:33 2024-10-02 01:29:33,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver 01:29:33 2024-10-02 01:29:33,137 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver 01:29:33 2024-10-02 01:29:33,137 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1629, universal_newlines=False, shell=None, istream=None) 01:29:35 2024-10-02 01:29:35,297 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629/.git/info/exclude 01:29:35 2024-10-02 01:29:35,298 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver/PR-1629 with force:False 01:29:35 2024-10-02 01:29:35,298 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver/PR-1629 01:29:35 2024-10-02 01:29:35,302 [execute] INFO git cat-file --batch-check 01:29:35 2024-10-02 01:29:35,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver, universal_newlines=False, shell=None, istream=) 01:29:35 2024-10-02 01:29:35,309 [execute] INFO git cat-file --batch 01:29:35 2024-10-02 01:29:35,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver, universal_newlines=False, shell=None, istream=) 01:29:35 2024-10-02 01:29:35,316 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1629/.semver/PR-1629 01:29:35 0.0.0 [Pipeline] } 01:29:35 $ docker exec --env ******** --env ******** 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b ssh-agent -k 01:29:35 unset SSH_AUTH_SOCK; 01:29:35 unset SSH_AGENT_PID; 01:29:35 echo Agent pid 76 killed; 01:29:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:29:36 + git semver [Pipeline] } 01:29:36 $ docker stop --time=1 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b 01:29:37 $ docker rm -f --volumes 542f9831d604c940bec05e3aff7ba2e49e3f9d869387fcab6dda813d6422714b [Pipeline] // withDockerContainer [Pipeline] sh 01:29:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:29:38 Stashed 1 file(s) [Pipeline] echo 01:29:38 [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 01:29:39 provisioning config files... 01:29:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/config14019753628082482512tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:29:39 ---> ****-login.sh 01:29:39 nexus3.edgexfoundry.org:10001 01:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:39 Configure a credential helper to remove this warning. See 01:29:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:39 01:29:39 Login Succeeded 01:29:39 nexus3.edgexfoundry.org:10002 01:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:39 Configure a credential helper to remove this warning. See 01:29:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:39 01:29:39 Login Succeeded 01:29:39 nexus3.edgexfoundry.org:10003 01:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:40 Configure a credential helper to remove this warning. See 01:29:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:40 01:29:40 Login Succeeded 01:29:40 nexus3.edgexfoundry.org:10004 01:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:40 Configure a credential helper to remove this warning. See 01:29:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:40 01:29:40 Login Succeeded 01:29:40 ****.io 01:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:29:40 Configure a credential helper to remove this warning. See 01:29:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:29:40 01:29:40 Login Succeeded 01:29:40 ---> ****-login.sh ends [Pipeline] } 01:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:29:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:29:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:29:40 ========================================================= 01:29:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:29:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:41 + 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 . 01:29:41 Sending build context to Docker daemon 25.32MB 01:29:41 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:29:41 Step 2/10 : FROM ${BASE} AS builder 01:29:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:29:41 619be1103602: Pulling fs layer 01:29:41 7862e08f4a3e: Pulling fs layer 01:29:41 5df492c9dc93: Pulling fs layer 01:29:41 7629e6793208: Pulling fs layer 01:29:41 4f4fb700ef54: Pulling fs layer 01:29:41 fb5054dd5b73: Pulling fs layer 01:29:41 eeca6798cff9: Pulling fs layer 01:29:41 aa269ceb94a6: Pulling fs layer 01:29:41 ada007ff1a6a: Pulling fs layer 01:29:41 4f4fb700ef54: Waiting 01:29:41 fb5054dd5b73: Waiting 01:29:41 eeca6798cff9: Waiting 01:29:41 ada007ff1a6a: Waiting 01:29:41 7629e6793208: Waiting 01:29:41 aa269ceb94a6: Waiting 01:29:41 7862e08f4a3e: Verifying Checksum 01:29:41 7862e08f4a3e: Download complete 01:29:41 7629e6793208: Verifying Checksum 01:29:41 7629e6793208: Download complete 01:29:41 4f4fb700ef54: Verifying Checksum 01:29:41 4f4fb700ef54: Download complete 01:29:41 fb5054dd5b73: Verifying Checksum 01:29:41 fb5054dd5b73: Download complete 01:29:41 619be1103602: Download complete 01:29:41 eeca6798cff9: Verifying Checksum 01:29:41 eeca6798cff9: Download complete 01:29:41 619be1103602: Pull complete 01:29:41 7862e08f4a3e: Pull complete 01:29:42 ada007ff1a6a: Verifying Checksum 01:29:42 ada007ff1a6a: Download complete 01:29:42 5df492c9dc93: Verifying Checksum 01:29:42 5df492c9dc93: Download complete 01:29:42 aa269ceb94a6: Download complete 01:29:45 5df492c9dc93: Pull complete 01:29:45 7629e6793208: Pull complete 01:29:45 4f4fb700ef54: Pull complete 01:29:45 fb5054dd5b73: Pull complete 01:29:46 eeca6798cff9: Pull complete 01:29:48 aa269ceb94a6: Pull complete 01:29:49 ada007ff1a6a: Pull complete 01:29:49 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:29:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:29:49 ---> f489d0715acc 01:29:49 Step 3/10 : ARG MAKE=make build 01:29:54 Still waiting to schedule task 01:29:54 ‘prd-ubuntu20.04-docker-arm64-4c-16g-12546’ is offline 01:29:55 ---> Running in ed62d7feebc3 01:29:55 Removing intermediate container ed62d7feebc3 01:29:55 ---> d33a81a1063e 01:29:55 Step 4/10 : WORKDIR /device-sdk-go 01:29:55 ---> Running in 867d069d3dab 01:29:56 Removing intermediate container 867d069d3dab 01:29:56 ---> 9e24ac5bb678 01:29:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:29:56 ---> Running in 869ae7f29b73 01:29:56 Removing intermediate container 869ae7f29b73 01:29:56 ---> 32c982de6704 01:29:56 Step 6/10 : RUN apk add --update --no-cache make git 01:29:56 ---> Running in 12048c9c4209 01:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:29:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:29:56 OK: 264 MiB in 52 packages 01:29:57 Removing intermediate container 12048c9c4209 01:29:57 ---> 271a2d7dd8b4 01:29:57 Step 7/10 : COPY go.mod vendor* ./ 01:29:57 ---> 9909586fc3c2 01:29:57 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:29:57 ---> Running in f31783903f0f 01:30:53 Removing intermediate container f31783903f0f 01:30:53 ---> 7d410b384c19 01:30:53 Step 9/10 : COPY . . 01:30:54 ---> c97735add4cd 01:30:54 Step 10/10 : RUN ${MAKE} 01:30:54 ---> Running in 7282a783f2e4 01:30:54 noop 01:30:55 Removing intermediate container 7282a783f2e4 01:30:55 ---> 191fa4b59765 01:30:55 Successfully built 191fa4b59765 01:30:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:55 + docker inspect -f . ci-base-image-x86_64 01:30:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:55 prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container 01:30:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:30:56 $ docker top 3b208c6ed62d3e747d4c2b8d9591bdf6b536606869b7e1ba2b6c42fe1d833fa8 -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:56 + go version 01:30:56 go version go1.21.9 linux/amd64 [Pipeline] } 01:30:56 $ docker stop --time=1 3b208c6ed62d3e747d4c2b8d9591bdf6b536606869b7e1ba2b6c42fe1d833fa8 01:30:57 $ docker rm -f --volumes 3b208c6ed62d3e747d4c2b8d9591bdf6b536606869b7e1ba2b6c42fe1d833fa8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:58 + docker inspect -f . ci-base-image-x86_64 01:30:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:58 prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container 01:30:59 $ 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-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:30:59 $ docker top a312e6e6e4bbb4ae909c6595dfd579f48e37690cf2d900eb0dd43c6f7237eafa -eo pid,comm [Pipeline] { [Pipeline] sh 01:30:59 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1629 [Pipeline] fileExists [Pipeline] sh 01:31:00 + make test 01:31:00 go test -race -coverprofile=coverage.out ./... 01:31:06 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:31:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 26.0% of statements 01:31:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.033s coverage: 79.4% of statements 01:31:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements 01:31:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:31:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 01:31:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:31:34 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:31:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 45.2% of statements 01:31:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:31:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.036s coverage: 14.1% of statements 01:31:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.369s coverage: 44.6% of statements 01:31:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.047s coverage: 68.5% of statements 01:31:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.086s coverage: 89.2% of statements 01:31:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.056s coverage: 5.3% of statements 01:32:10 GO111MODULE=on go vet ./... 01:32:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:32:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:32:12 ./bin/test-attribution-txt.sh [Pipeline] echo 01:32:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:32:12 $ docker stop --time=1 a312e6e6e4bbb4ae909c6595dfd579f48e37690cf2d900eb0dd43c6f7237eafa 01:32:19 $ docker rm -f --volumes a312e6e6e4bbb4ae909c6595dfd579f48e37690cf2d900eb0dd43c6f7237eafa [Pipeline] // withDockerContainer [Pipeline] sh 01:32:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:32:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:32:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:32:21 + ls -al . 01:32:21 total 384 01:32:21 drwxrwxr-x 11 jenkins jenkins 4096 Oct 2 01:31 . 01:32:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:28 .. 01:32:21 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 01:29 .dockerignore 01:32:21 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 01:31 .git 01:32:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:29 .github 01:32:21 -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 01:29 .gitignore 01:32:21 -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 01:29 .golangci.yml 01:32:21 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 01:29 .semver 01:32:21 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 01:29 CHANGELOG.md 01:32:21 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 01:29 GOVERNANCE.md 01:32:21 -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 01:29 Jenkinsfile 01:32:21 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 01:29 LICENSE 01:32:21 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 01:29 Makefile 01:32:21 -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 01:29 OWNERS.md 01:32:21 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 01:29 README.md 01:32:21 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 01:29 VERSION 01:32:21 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 01:29 bin 01:32:21 -rw-r--r-- 1 jenkins jenkins 128347 Oct 2 01:31 coverage.out 01:32:21 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 01:29 example 01:32:21 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 2 01:29 go.mod 01:32:21 -rw-rw-r-- 1 jenkins jenkins 101462 Oct 2 01:29 go.sum 01:32:21 drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 01:29 internal 01:32:21 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:29 openapi 01:32:21 drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 01:29 pkg 01:32:21 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:29 snap 01:32:21 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 01:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:21 + 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=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f --label arch=amd64 --label version=0.0.0 . 01:32:21 Sending build context to Docker daemon 25.45MB 01:32:21 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 01:32:21 Step 2/24 : FROM ${BASE} AS builder 01:32:21 ---> 191fa4b59765 01:32:21 Step 3/24 : ARG MAKE=make build 01:32:22 ---> Running in 6d3e658497ca 01:32:22 Removing intermediate container 6d3e658497ca 01:32:22 ---> 350c1b3445d1 01:32:22 Step 4/24 : WORKDIR /device-sdk-go 01:32:22 ---> Running in 4e10d55f2866 01:32:22 Removing intermediate container 4e10d55f2866 01:32:22 ---> ee8221867ea2 01:32:22 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:32:22 ---> Running in 19eaa54755e6 01:32:22 Removing intermediate container 19eaa54755e6 01:32:22 ---> 5a113c767b36 01:32:22 Step 6/24 : RUN apk add --update --no-cache make git 01:32:22 ---> Running in 035abfc4f9a1 01:32:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:32:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:32:23 OK: 264 MiB in 52 packages 01:32:23 Removing intermediate container 035abfc4f9a1 01:32:23 ---> be83f0fd7cc7 01:32:23 Step 7/24 : COPY go.mod vendor* ./ 01:32:24 ---> 6fdf7281ee07 01:32:24 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:24 ---> Running in de488eb435fc 01:32:24 Removing intermediate container de488eb435fc 01:32:24 ---> 71a7bec91b95 01:32:24 Step 9/24 : COPY . . 01:32:25 ---> 77264cf8a990 01:32:25 Step 10/24 : RUN ${MAKE} 01:32:25 ---> Running in f375dd6b8664 01:32:26 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 01:33:12 Removing intermediate container f375dd6b8664 01:33:12 ---> a177be7e77ec 01:33:12 Step 11/24 : FROM alpine:3.18 01:33:12 3.18: Pulling from library/alpine 01:33:12 1cc3d825d8b2: Pulling fs layer 01:33:12 1cc3d825d8b2: Verifying Checksum 01:33:12 1cc3d825d8b2: Download complete 01:33:12 1cc3d825d8b2: Pull complete 01:33:12 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 01:33:12 Status: Downloaded newer image for alpine:3.18 01:33:12 ---> 2c64cf60f6f0 01:33:12 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:33:12 ---> Running in 013c87aa3fbd 01:33:12 Removing intermediate container 013c87aa3fbd 01:33:12 ---> b1905f1c68bf 01:33:12 Step 13/24 : RUN apk add --update --no-cache dumb-init 01:33:12 ---> Running in 1f3d81f5826f 01:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:33:12 (1/1) Installing dumb-init (1.2.5-r2) 01:33:12 Executing busybox-1.36.1-r7.trigger 01:33:12 OK: 7 MiB in 16 packages 01:33:12 Removing intermediate container 1f3d81f5826f 01:33:12 ---> 6e841be14dca 01:33:12 Step 14/24 : RUN apk --no-cache upgrade 01:33:12 ---> Running in 6ad54ed3243f 01:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:33:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:33:12 OK: 7 MiB in 16 packages 01:33:12 Removing intermediate container 6ad54ed3243f 01:33:12 ---> 6eb04424ea65 01:33:12 Step 15/24 : WORKDIR / 01:33:12 ---> Running in 548143a19ec6 01:33:12 Removing intermediate container 548143a19ec6 01:33:12 ---> 8db172c0f148 01:33:12 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:33:12 ---> 839264fefd2f 01:33:12 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:33:13 ---> 102df286de62 01:33:13 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:33:13 ---> e70d5b4eb514 01:33:13 Step 19/24 : EXPOSE 59999 01:33:13 ---> Running in 50f938d94da9 01:33:13 Removing intermediate container 50f938d94da9 01:33:13 ---> ebe2a6efacdf 01:33:13 Step 20/24 : ENTRYPOINT ["/device-simple"] 01:33:13 ---> Running in b77cc8223f36 01:33:13 Removing intermediate container b77cc8223f36 01:33:13 ---> f0b6973e17a9 01:33:13 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:33:13 ---> Running in 5037b552c6fb 01:33:13 Removing intermediate container 5037b552c6fb 01:33:13 ---> 13d1d2503e6c 01:33:13 Step 22/24 : LABEL arch=amd64 01:33:13 ---> Running in a0a2c5048070 01:33:13 Removing intermediate container a0a2c5048070 01:33:13 ---> 516836b06438 01:33:13 Step 23/24 : LABEL git_sha=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f 01:33:13 ---> Running in f5067f6b2a2c 01:33:13 Removing intermediate container f5067f6b2a2c 01:33:13 ---> 10f2995eaba0 01:33:13 Step 24/24 : LABEL version=0.0.0 01:33:14 ---> Running in f705a0d2bd9f 01:33:14 Removing intermediate container f705a0d2bd9f 01:33:14 ---> f84c8a0367d2 01:33:14 [Warning] One or more build-args [ARCH] were not consumed 01:33:14 Successfully built f84c8a0367d2 01:33:14 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 01:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:15 01:33:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:15 latest: Pulling from edgex-lftools-log-publisher 01:33:15 5eb5b503b376: Pulling fs layer 01:33:15 5c69ac0246d0: Pulling fs layer 01:33:15 ec43610c2a17: Pulling fs layer 01:33:15 3a2ae6a8a46f: Pulling fs layer 01:33:15 33b1e0a273af: Pulling fs layer 01:33:15 5d3b04190fa2: Pulling fs layer 01:33:15 2f39f015ded8: Pulling fs layer 01:33:15 3a2ae6a8a46f: Waiting 01:33:15 33b1e0a273af: Waiting 01:33:15 5d3b04190fa2: Waiting 01:33:15 2f39f015ded8: Waiting 01:33:15 5c69ac0246d0: Verifying Checksum 01:33:15 5c69ac0246d0: Download complete 01:33:15 3a2ae6a8a46f: Download complete 01:33:15 33b1e0a273af: Verifying Checksum 01:33:15 33b1e0a273af: Download complete 01:33:15 5d3b04190fa2: Verifying Checksum 01:33:15 5d3b04190fa2: Download complete 01:33:15 ec43610c2a17: Verifying Checksum 01:33:15 ec43610c2a17: Download complete 01:33:15 5eb5b503b376: Verifying Checksum 01:33:15 5eb5b503b376: Download complete 01:33:16 2f39f015ded8: Verifying Checksum 01:33:16 2f39f015ded8: Download complete 01:33:16 5eb5b503b376: Pull complete 01:33:17 5c69ac0246d0: Pull complete 01:33:17 ec43610c2a17: Pull complete 01:33:17 3a2ae6a8a46f: Pull complete 01:33:18 33b1e0a273af: Pull complete 01:33:18 5d3b04190fa2: Pull complete 01:33:23 2f39f015ded8: Pull complete 01:33:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:33:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:23 prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container 01:33:23 $ 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-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:33:41 $ docker top 948c0f7fe5c458f0dbfd7649dd7136ff12a14e780a8ec60ba22cd207c8703b19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:41 ---> job-cost.sh 01:33:41 lf-activate-venv: SKIPPING 01:33:41 INFO: No Stack... 01:33:42 INFO: Retrieving Pricing Info for: v3-standard-8 01:33:42 INFO: Archiving Costs [Pipeline] sh 01:33:42 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives/cost.csv 01:33:42 + cut -d, -f6 [Pipeline] lock 01:33:42 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] 01:33:42 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] did not exist. Created. 01:33:42 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:33:43 + echo total: 0.2199999988079071 [Pipeline] stash 01:33:43 Stashed 1 file(s) [Pipeline] } 01:33:43 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:33:43 $ docker stop --time=1 948c0f7fe5c458f0dbfd7649dd7136ff12a14e780a8ec60ba22cd207c8703b19 01:33:44 $ docker rm -f --volumes 948c0f7fe5c458f0dbfd7649dd7136ff12a14e780a8ec60ba22cd207c8703b19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:36:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12559 in /w/workspace/gexfoundry_device-sdk-go_PR-1629 [Pipeline] { [Pipeline] ws 01:36:20 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 01:36:20 The recommended git tool is: git 01:36:29 using credential edgex-jenkins-ssh 01:36:29 Cloning the remote Git repository 01:36:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:36:29 > git init /w/workspace/device-sdk-go/1 # timeout=10 01:36:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:36:29 > git --version # timeout=10 01:36:29 > git --version # 'git version 2.25.1' 01:36:29 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:36:33 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:36:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:36:35 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:36:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:36:35 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1629/head:refs/remotes/origin/PR-1629 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:36:36 Merging remotes/origin/main commit 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd into PR head commit 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f 01:36:36 Merge succeeded, producing 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f 01:36:36 Checking out Revision 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f (PR-1629) 01:36:36 > git config core.sparsecheckout # timeout=10 01:36:36 > git checkout -f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f # timeout=10 01:36:36 > git remote # timeout=10 01:36:36 > git config --get remote.origin.url # timeout=10 01:36:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:36:36 > git merge 0f2c62f772c3dcfcf9e1166837c0dba43afb8cfd # timeout=10 01:36:36 > git rev-parse HEAD^{commit} # timeout=10 01:36:36 > git config core.sparsecheckout # timeout=10 01:36:36 > git checkout -f 44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f # timeout=10 01:36:40 Commit message: "fix: Change status code to 400 for write commands with invalid values" 01:36:40 > git --version # timeout=10 01:36:40 > git --version # 'git version 2.25.1' 01:36:40 fatal: bad object b5a5e52272fc4198cf3754284eedf36dbf0baa35 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:36:42 % Total % Received % Xferd Average Speed Time Time Time Current 01:36:42 Dload Upload Total Spent Left Speed 01:36:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 112k 0 --:--:-- --:--:-- --:--:-- 112k [Pipeline] sh 01:36:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:36:43 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 01:36:43 /etc/docker/daemon.json 01:36:43 { 01:36:43 "registry-mirrors": [ 01:36:43 "https://nexus3.edgexfoundry.org:10001" 01:36:43 ], 01:36:43 "bip": "10.250.0.254/24", 01:36:43 "hosts": [ 01:36:43 "tcp://0.0.0.0:5555", 01:36:43 "unix:///var/run/docker.sock" 01:36:43 ], 01:36:43 "mtu": 1458, 01:36:43 "selinux-enabled": true, 01:36:43 "seccomp-profile": "/etc/docker/seccomp.json" 01:36:43 } [Pipeline] sh 01:36:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:36:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:37:02 provisioning config files... 01:37:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12828265868699942469tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:02 ---> ****-login.sh 01:37:02 nexus3.edgexfoundry.org:10001 01:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:37:03 Configure a credential helper to remove this warning. See 01:37:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:37:03 01:37:03 Login Succeeded 01:37:03 nexus3.edgexfoundry.org:10002 01:37:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:37:04 Configure a credential helper to remove this warning. See 01:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:37:04 01:37:04 Login Succeeded 01:37:04 nexus3.edgexfoundry.org:10003 01:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:37:04 Configure a credential helper to remove this warning. See 01:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:37:04 01:37:04 Login Succeeded 01:37:04 nexus3.edgexfoundry.org:10004 01:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:37:04 Configure a credential helper to remove this warning. See 01:37:04 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:37:04 01:37:04 Login Succeeded 01:37:04 ****.io 01:37:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:37:05 Configure a credential helper to remove this warning. See 01:37:05 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:37:05 01:37:05 Login Succeeded 01:37:05 ---> ****-login.sh ends [Pipeline] } 01:37:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:37:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:37:05 ========================================================= 01:37:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:37:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:06 + 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 . 01:37:06 Sending build context to Docker daemon 13.12MB 01:37:06 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:37:06 Step 2/10 : FROM ${BASE} AS builder 01:37:07 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:37:07 c6b39de5b339: Pulling fs layer 01:37:07 a69c41024577: Pulling fs layer 01:37:07 d6de4b400683: Pulling fs layer 01:37:07 35cb2a7552d0: Pulling fs layer 01:37:07 4f4fb700ef54: Pulling fs layer 01:37:07 4f4fb700ef54: Waiting 01:37:07 35cb2a7552d0: Waiting 01:37:07 464afbd9ba4c: Pulling fs layer 01:37:07 00f215d4a9da: Pulling fs layer 01:37:07 464afbd9ba4c: Waiting 01:37:07 00f215d4a9da: Waiting 01:37:07 d496ad576159: Pulling fs layer 01:37:07 d496ad576159: Waiting 01:37:07 a69c41024577: Verifying Checksum 01:37:07 a69c41024577: Download complete 01:37:07 35cb2a7552d0: Verifying Checksum 01:37:07 35cb2a7552d0: Download complete 01:37:07 4f4fb700ef54: Verifying Checksum 01:37:07 4f4fb700ef54: Download complete 01:37:07 464afbd9ba4c: Verifying Checksum 01:37:07 464afbd9ba4c: Download complete 01:37:07 c6b39de5b339: Verifying Checksum 01:37:07 c6b39de5b339: Download complete 01:37:07 d496ad576159: Verifying Checksum 01:37:07 d496ad576159: Download complete 01:37:07 c6b39de5b339: Pull complete 01:37:08 a69c41024577: Pull complete 01:37:08 d6de4b400683: Verifying Checksum 01:37:08 d6de4b400683: Download complete 01:37:09 00f215d4a9da: Verifying Checksum 01:37:09 00f215d4a9da: Download complete 01:37:22 d6de4b400683: Pull complete 01:37:22 35cb2a7552d0: Pull complete 01:37:22 4f4fb700ef54: Pull complete 01:37:22 464afbd9ba4c: Pull complete 01:37:30 00f215d4a9da: Pull complete 01:37:31 d496ad576159: Pull complete 01:37:31 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:37:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:37:31 ---> f246e2811388 01:37:31 Step 3/10 : ARG MAKE=make build 01:37:33 ---> Running in e7edd0ad5bf7 01:37:33 Removing intermediate container e7edd0ad5bf7 01:37:33 ---> 422460751562 01:37:33 Step 4/10 : WORKDIR /device-sdk-go 01:37:33 ---> Running in b5291d8bab09 01:37:33 Removing intermediate container b5291d8bab09 01:37:33 ---> 5f42591904af 01:37:33 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:37:33 ---> Running in 84f1ef34447a 01:37:33 Removing intermediate container 84f1ef34447a 01:37:33 ---> df17200bd528 01:37:33 Step 6/10 : RUN apk add --update --no-cache make git 01:37:34 ---> Running in 943a95f534a8 01:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:37:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:37:36 OK: 266 MiB in 52 packages 01:37:37 Removing intermediate container 943a95f534a8 01:37:37 ---> ab6e0396395f 01:37:37 Step 7/10 : COPY go.mod vendor* ./ 01:37:37 ---> f43ac3f4309b 01:37:37 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:37 ---> Running in 22566e076c99 01:39:29 Removing intermediate container 22566e076c99 01:39:29 ---> 09c15100605b 01:39:29 Step 9/10 : COPY . . 01:39:30 ---> 1a1f510db960 01:39:30 Step 10/10 : RUN ${MAKE} 01:39:30 ---> Running in ed1b9a6248fd 01:39:31 noop 01:39:31 Removing intermediate container ed1b9a6248fd 01:39:31 ---> 2bad8e25511d 01:39:31 Successfully built 2bad8e25511d 01:39:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:32 + docker inspect -f . ci-base-image-arm64 01:39:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:32 prd-ubuntu20.04-docker-arm64-4c-16g-12559 does not seem to be running inside a container 01:39:32 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:39:33 $ docker top 2f439ae3b43a6ca7d8fd52b3c39131900346adc71aa43180e13d2c82cf99658a -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:34 + go version 01:39:34 go version go1.21.9 linux/arm64 [Pipeline] } 01:39:34 $ docker stop --time=1 2f439ae3b43a6ca7d8fd52b3c39131900346adc71aa43180e13d2c82cf99658a 01:39:36 $ docker rm -f --volumes 2f439ae3b43a6ca7d8fd52b3c39131900346adc71aa43180e13d2c82cf99658a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:37 + docker inspect -f . ci-base-image-arm64 01:39:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:37 prd-ubuntu20.04-docker-arm64-4c-16g-12559 does not seem to be running inside a container 01:39:37 $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat 01:39:39 $ docker top 4ad8cb8399a00a24354366eb5128874f872000a3e50583f8a0f5b0f6fb126664 -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:40 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 01:39:41 + make test 01:39:41 go test -race -coverprofile=coverage.out ./... 01:40:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:43:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:43:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:43:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:43:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:43:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:43:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.112s coverage: 26.0% of statements 01:43:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.173s coverage: 79.4% of statements 01:44:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:44:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:44:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.227s coverage: 86.0% of statements 01:44:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:44:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.407s coverage: 45.2% of statements 01:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.152s coverage: 14.1% of statements 01:44:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.990s coverage: 44.6% of statements 01:44:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] 01:44:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:44:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:44:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.297s coverage: 68.5% of statements 01:44:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.360s coverage: 89.2% of statements 01:44:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:44:25 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.255s coverage: 5.3% of statements 01:44:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:44:26 GO111MODULE=on go vet ./... 01:48:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:48:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:48:18 ./bin/test-attribution-txt.sh [Pipeline] echo 01:48:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:48:18 $ docker stop --time=1 4ad8cb8399a00a24354366eb5128874f872000a3e50583f8a0f5b0f6fb126664 01:48:20 $ docker rm -f --volumes 4ad8cb8399a00a24354366eb5128874f872000a3e50583f8a0f5b0f6fb126664 [Pipeline] // withDockerContainer [Pipeline] sh 01:48:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:48:23 Warning: overwriting stash ‘coverage-report’ 01:48:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:48:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:48:24 + ls -al . 01:48:24 total 380 01:48:24 drwxrwxr-x 10 jenkins jenkins 4096 Oct 2 01:39 . 01:48:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:36 .. 01:48:24 -rw-rw-r-- 1 jenkins jenkins 140 Oct 2 01:36 .dockerignore 01:48:24 drwxrwxr-x 8 jenkins jenkins 4096 Oct 2 01:36 .git 01:48:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:36 .github 01:48:24 -rw-rw-r-- 1 jenkins jenkins 137 Oct 2 01:36 .gitignore 01:48:24 -rw-rw-r-- 1 jenkins jenkins 42 Oct 2 01:36 .golangci.yml 01:48:24 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 2 01:36 CHANGELOG.md 01:48:24 -rw-rw-r-- 1 jenkins jenkins 677 Oct 2 01:36 GOVERNANCE.md 01:48:24 -rw-rw-r-- 1 jenkins jenkins 885 Oct 2 01:36 Jenkinsfile 01:48:24 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 2 01:36 LICENSE 01:48:24 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 2 01:36 Makefile 01:48:24 -rw-rw-r-- 1 jenkins jenkins 619 Oct 2 01:36 OWNERS.md 01:48:24 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 2 01:36 README.md 01:48:24 -rw-rw-r-- 1 jenkins jenkins 5 Oct 2 01:29 VERSION 01:48:24 drwxrwxr-x 2 jenkins jenkins 4096 Oct 2 01:36 bin 01:48:24 -rw-r--r-- 1 jenkins jenkins 128347 Oct 2 01:44 coverage.out 01:48:24 drwxrwxr-x 5 jenkins jenkins 4096 Oct 2 01:36 example 01:48:24 -rw-rw-r-- 1 jenkins jenkins 6985 Oct 2 01:36 go.mod 01:48:24 -rw-rw-r-- 1 jenkins jenkins 101462 Oct 2 01:36 go.sum 01:48:24 drwxrwxr-x 13 jenkins jenkins 4096 Oct 2 01:36 internal 01:48:24 drwxrwxr-x 3 jenkins jenkins 4096 Oct 2 01:36 openapi 01:48:24 drwxrwxr-x 6 jenkins jenkins 4096 Oct 2 01:36 pkg 01:48:24 drwxrwxr-x 4 jenkins jenkins 4096 Oct 2 01:36 snap 01:48:24 -rw-rw-r-- 1 jenkins jenkins 222 Oct 2 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:25 + 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=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f --label arch=arm64 --label version=0.0.0 . 01:48:25 Sending build context to Docker daemon 13.25MB 01:48:25 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 01:48:25 Step 2/24 : FROM ${BASE} AS builder 01:48:25 ---> 2bad8e25511d 01:48:25 Step 3/24 : ARG MAKE=make build 01:48:25 ---> Running in a54fdacc6dd5 01:48:26 Removing intermediate container a54fdacc6dd5 01:48:26 ---> ec276e54dece 01:48:26 Step 4/24 : WORKDIR /device-sdk-go 01:48:26 ---> Running in 61def4df2cc1 01:48:26 Removing intermediate container 61def4df2cc1 01:48:26 ---> c0590cf983f1 01:48:26 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:48:26 ---> Running in bc3b33fdc2cb 01:48:27 Removing intermediate container bc3b33fdc2cb 01:48:27 ---> 1cf52a41118f 01:48:27 Step 6/24 : RUN apk add --update --no-cache make git 01:48:27 ---> Running in 71f0d1fdc617 01:48:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:48:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:48:29 OK: 266 MiB in 52 packages 01:48:30 Removing intermediate container 71f0d1fdc617 01:48:30 ---> 7e5002f5f6d1 01:48:30 Step 7/24 : COPY go.mod vendor* ./ 01:48:30 ---> 861925948ced 01:48:30 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:48:30 ---> Running in 746309be9195 01:48:32 Removing intermediate container 746309be9195 01:48:32 ---> cf2bfe5cda03 01:48:32 Step 9/24 : COPY . . 01:48:34 ---> 71b0b61dce5b 01:48:34 Step 10/24 : RUN ${MAKE} 01:48:34 ---> Running in c6a31f2fe076 01:48:35 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 01:52:11 Removing intermediate container c6a31f2fe076 01:52:11 ---> 6e05f87a92f7 01:52:11 Step 11/24 : FROM alpine:3.18 01:52:11 3.18: Pulling from library/alpine 01:52:11 720f3032cd11: Pulling fs layer 01:52:11 720f3032cd11: Verifying Checksum 01:52:11 720f3032cd11: Download complete 01:52:11 720f3032cd11: Pull complete 01:52:11 Digest: sha256:3ddf7bf1d408188f9849efbf4f902720ae08f5131bb39013518b918aa056d0de 01:52:11 Status: Downloaded newer image for alpine:3.18 01:52:11 ---> 3e834921e367 01:52:11 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:52:11 ---> Running in 49bd82b7ae6c 01:52:11 Removing intermediate container 49bd82b7ae6c 01:52:11 ---> 6d69be263b1f 01:52:11 Step 13/24 : RUN apk add --update --no-cache dumb-init 01:52:11 ---> Running in 516ae6498480 01:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:52:11 (1/1) Installing dumb-init (1.2.5-r2) 01:52:11 Executing busybox-1.36.1-r7.trigger 01:52:11 OK: 8 MiB in 16 packages 01:52:11 Removing intermediate container 516ae6498480 01:52:11 ---> 0caa549db8e1 01:52:11 Step 14/24 : RUN apk --no-cache upgrade 01:52:11 ---> Running in c9c8ceeb9a1d 01:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:52:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:52:12 OK: 8 MiB in 16 packages 01:52:13 Removing intermediate container c9c8ceeb9a1d 01:52:13 ---> b9be76a64e15 01:52:13 Step 15/24 : WORKDIR / 01:52:13 ---> Running in 26ea8afbbd47 01:52:13 Removing intermediate container 26ea8afbbd47 01:52:13 ---> 5cecc3cb7aeb 01:52:13 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:52:14 ---> b7856102c2ec 01:52:14 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:52:16 ---> 3cb31a1b3eb5 01:52:16 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:52:16 ---> 77c41671b6a1 01:52:16 Step 19/24 : EXPOSE 59999 01:52:16 ---> Running in d6cebe60ac59 01:52:17 Removing intermediate container d6cebe60ac59 01:52:17 ---> d33bdca7d09f 01:52:17 Step 20/24 : ENTRYPOINT ["/device-simple"] 01:52:17 ---> Running in 89b46724ee26 01:52:17 Removing intermediate container 89b46724ee26 01:52:17 ---> e2345456e211 01:52:17 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:52:17 ---> Running in 1e60b32a95f7 01:52:17 Removing intermediate container 1e60b32a95f7 01:52:17 ---> 979f7d32144f 01:52:17 Step 22/24 : LABEL arch=arm64 01:52:17 ---> Running in d56a8ec0baa2 01:52:18 Removing intermediate container d56a8ec0baa2 01:52:18 ---> e409fab3b5c4 01:52:18 Step 23/24 : LABEL git_sha=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f 01:52:18 ---> Running in acd106360fab 01:52:18 Removing intermediate container acd106360fab 01:52:18 ---> ebf5adfb95df 01:52:18 Step 24/24 : LABEL version=0.0.0 01:52:18 ---> Running in 2b1d99cab93c 01:52:19 Removing intermediate container 2b1d99cab93c 01:52:19 ---> ed1fae1116c4 01:52:19 [Warning] One or more build-args [ARCH] were not consumed 01:52:19 Successfully built ed1fae1116c4 01:52:19 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 01:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:19 01:52:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:20 arm64: Pulling from edgex-lftools-log-publisher 01:52:20 8998bd30e6a1: Pulling fs layer 01:52:20 04944245beec: Pulling fs layer 01:52:20 699f458cf7ca: Pulling fs layer 01:52:20 765212b225bb: Pulling fs layer 01:52:20 f23df028b6ca: Pulling fs layer 01:52:20 d65c8cfc05b1: Pulling fs layer 01:52:20 2437ff75d9bd: Pulling fs layer 01:52:20 2437ff75d9bd: Waiting 01:52:20 765212b225bb: Waiting 01:52:20 f23df028b6ca: Waiting 01:52:20 d65c8cfc05b1: Waiting 01:52:20 04944245beec: Verifying Checksum 01:52:20 04944245beec: Download complete 01:52:20 765212b225bb: Verifying Checksum 01:52:20 765212b225bb: Download complete 01:52:20 f23df028b6ca: Download complete 01:52:20 d65c8cfc05b1: Verifying Checksum 01:52:20 d65c8cfc05b1: Download complete 01:52:20 699f458cf7ca: Verifying Checksum 01:52:20 699f458cf7ca: Download complete 01:52:21 8998bd30e6a1: Download complete 01:52:23 2437ff75d9bd: Download complete 01:52:26 8998bd30e6a1: Pull complete 01:52:27 04944245beec: Pull complete 01:52:30 699f458cf7ca: Pull complete 01:52:30 765212b225bb: Pull complete 01:52:30 f23df028b6ca: Pull complete 01:52:31 d65c8cfc05b1: Pull complete 01:52:49 2437ff75d9bd: Pull complete 01:52:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:52:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:50 prd-ubuntu20.04-docker-arm64-4c-16g-12559 does not seem to be running inside a container 01:52:50 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:52:53 $ docker top 39a5eda5ed084f6a285ae257f769206449022951bcba5f56a41666cf10c11cdb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:53 ---> job-cost.sh 01:52:54 lf-activate-venv: SKIPPING 01:52:54 INFO: No Stack... 01:52:54 INFO: Retrieving Pricing Info for: v3-standard-4 01:52:55 INFO: Archiving Costs [Pipeline] sh 01:52:55 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 01:52:55 + cut -d, -f6 [Pipeline] lock 01:52:55 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] 01:52:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] did not exist. Created. 01:52:55 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:52:56 /w/workspace/device-sdk-go/1@tmp/durable-aaf72ead/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:52:56 + echo total: 0.10999999940395355 [Pipeline] stash 01:52:57 Warning: overwriting stash ‘stack-cost’ 01:52:57 Stashed 1 file(s) [Pipeline] } 01:52:57 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1629-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:52:57 $ docker stop --time=1 39a5eda5ed084f6a285ae257f769206449022951bcba5f56a41666cf10c11cdb 01:52:58 $ docker rm -f --volumes 39a5eda5ed084f6a285ae257f769206449022951bcba5f56a41666cf10c11cdb [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 01:53:00 provisioning config files... 01:53:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/config12961799869808015438tmp [Pipeline] { [Pipeline] sh 01:53:00 + set +x 01:53:00 + + bash -s -- 01:53:00 curl -s https://codecov.io/bash 01:53:00 01:53:00 _____ _ 01:53:00 / ____| | | 01:53:00 | | ___ __| | ___ ___ _____ __ 01:53:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:53:00 | |___| (_) | (_| | __/ (_| (_) \ V / 01:53:00 \_____\___/ \__,_|\___|\___\___/ \_/ 01:53:00 Bash-1.0.6 01:53:00 01:53:00 01:53:00 ==> git version 2.25.1 found 01:53:00 ==> 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 01:53:00 Release-Date: 2020-01-08 01:53:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:53:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:53:00 ==> Jenkins CI detected. 01:53:00 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1629 01:53:00 project root: . 01:53:00 --> token set from env 01:53:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:53:00 ==> Running gcov in . (disable via -X gcov) 01:53:00 ==> Python coveragepy not found 01:53:00 ==> Searching for coverage reports in: 01:53:00 + . 01:53:00 -> Found 1 reports 01:53:00 ==> Detecting git/mercurial file structure 01:53:00 ==> Reading reports 01:53:00 + ./coverage.out bytes=128347 01:53:00 ==> Appending adjustments 01:53:00 https://docs.codecov.io/docs/fixing-reports 01:53:00 + Found adjustments 01:53:00 ==> Gzipping contents 01:53:00 20K /tmp/codecov.YXdO6i.gz 01:53:00 ==> Uploading reports 01:53:00 url: https://codecov.io 01:53:00 query: branch=PR-1629&commit=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1629%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1629&job=&cmd_args= 01:53:00 -> Pinging Codecov 01:53:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1629&commit=44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1629%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1629&job=&cmd_args= 01:53:01 -> Uploading to 01:53:01 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f/7ae936b0-5055-4b84-9be3-a6696e2150ae.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241002%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241002T015300Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=b66834498b618391beebdf82fa0b2e91b5dc27546e3990a3561f96870ef7ea43 01:53:01 % Total % Received % Xferd Average Speed Time Time Time Current 01:53:01 Dload Upload Total Spent Left Speed 01:53:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17720 0 0 100 17720 0 75084 --:--:-- --:--:-- --:--:-- 75404 01:53:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/44ddd41cb5e6b40211c543a30b3ec4dbb1ba819f [Pipeline] } 01:53:01 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 01:53:03 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives ] 01:53:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives 01:53:03 total 16 01:53:03 drwxr-xr-x 3 root root 4096 Oct 2 01:33 . 01:53:03 drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 01:33 .. 01:53:03 drwxr-xr-x 2 root root 4096 Oct 2 01:33 cost 01:53:03 -rw-r--r-- 1 root root 86 Oct 2 01:33 cost.csv 01:53:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives 01:53:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives 01:53:03 total 16 01:53:03 drwxr-xr-x 3 jenkins jenkins 4096 Oct 2 01:33 . 01:53:03 drwxrwxr-x 12 jenkins jenkins 4096 Oct 2 01:33 .. 01:53:03 drwxr-xr-x 2 jenkins jenkins 4096 Oct 2 01:33 cost 01:53:03 -rw-r--r-- 1 jenkins jenkins 86 Oct 2 01:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:53:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:53:05 ---> package-listing.sh 01:53:05 ++ facter osfamily 01:53:05 ++ tr '[:upper:]' '[:lower:]' 01:53:05 + OS_FAMILY=debian 01:53:05 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1629 01:53:05 + START_PACKAGES=/tmp/packages_start.txt 01:53:05 + END_PACKAGES=/tmp/packages_end.txt 01:53:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:53:05 + PACKAGES=/tmp/packages_start.txt 01:53:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1629 ']' 01:53:05 + PACKAGES=/tmp/packages_end.txt 01:53:05 + case "${OS_FAMILY}" in 01:53:05 + dpkg -l 01:53:05 + grep '^ii' 01:53:05 + '[' -f /tmp/packages_start.txt ']' 01:53:05 + '[' -f /tmp/packages_end.txt ']' 01:53:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:53:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1629 ']' 01:53:05 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives/ 01:53:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1629/archives/ [Pipeline] echo 01:53:05 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-1629/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:53:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:53:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:06 prd-ubuntu20.04-docker-8c-8g-12550 does not seem to be running inside a container 01:53:06 $ 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-1629/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-1629 -v /w/workspace/gexfoundry_device-sdk-go_PR-1629:/w/workspace/gexfoundry_device-sdk-go_PR-1629:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:53:06 $ docker top 6384d04d9a06e1295500b69af1b7c6e07296e2d08c84b78d5218dc2a22ff63c9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:07 + touch /tmp/pre-build-complete [Pipeline] sh 01:53:07 + mkdir -p /var/log/sysstat [Pipeline] sh 01:53:07 + ls /var/log/sa-host 01:53:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:08 provisioning config files... 01:53:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1629@tmp/config17302981178706022586tmp [Pipeline] { [Pipeline] echo 01:53:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:53:08 ---> create-netrc.sh [Pipeline] } 01:53:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:53:08 ---> python-tools-install.sh [Pipeline] echo 01:53:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:53:09 ---> sudo-logs.sh 01:53:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:53:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:53:09 ---> job-cost.sh 01:53:09 lf-activate-venv: SKIPPING 01:53:09 DEBUG: total: 0.2199999988079071 01:53:09 INFO: Retrieving Stack Cost... 01:53:09 INFO: Retrieving Pricing Info for: v3-standard-8 01:53:10 INFO: Archiving Costs [Pipeline] echo 01:53:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:53:10 ---> logs-deploy.sh 01:53:10 lf-activate-venv: SKIPPING 01:53:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1629/1 01:53:10 INFO: archiving workspace using pattern(s): 01:53:11 Archives upload complete. 01:53:11 INFO: archiving logs to Nexus