Pull request #1615 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222+55ceb93b68ddd1fabddb6a346a0921fb81c17045 (8cc2ef1201d335b230bef85a6714ff0e0f2e259d) 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-ssh1337008117739557830.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh6911337073059298205.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 590556114a56c6d90cc8043840e039c2f74196dc 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-1615/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-1615/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18324863499280305856.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-1615/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17896984820049700140.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh8222408306281595517.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-1615/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-1615/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13807444001473131505.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 590556114a56c6d90cc8043840e039c2f74196dc 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-8172’ Running on prd-ubuntu20.04-docker-8c-8g-8203 in /w/workspace/gexfoundry_device-sdk-go_PR-1615 [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-1615 # 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/1615/head:refs/remotes/origin/PR-1615 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 55ceb93b68ddd1fabddb6a346a0921fb81c17045 into PR head commit 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 Merge succeeded, producing 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 Checking out Revision 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 (PR-1615) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc > git config core.sparsecheckout # timeout=10 > git checkout -f 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 # 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 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:33:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:33:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:33:27 ========================================================= 04:33:27 EdgeX Global Pipelines Version Info 04:33:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:33:28 ------------------- 04:33:28 stable info: 04:33:28 ------------------- 04:33:28 Commited By: Ginny Guan ginny@iotechsys.com 04:33:28 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 04:33:28 Message: update stable to v1.0.260 04:33:28 ------------------- 04:33:28 experimental info: 04:33:28 ------------------- 04:33:28 Commited By: Ginny Guan ginny@iotechsys.com 04:33:28 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 04:33:28 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:33:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:33:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:33:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:33:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1615 [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1615 [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1615 [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70224c8 [Pipeline] echo 04:33:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:30 provisioning config files... 04:33:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/config17027804025518808392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:31 ---> ****-login.sh 04:33:31 nexus3.edgexfoundry.org:10001 04:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:31 Configure a credential helper to remove this warning. See 04:33:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:31 04:33:31 Login Succeeded 04:33:31 nexus3.edgexfoundry.org:10002 04:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:31 Configure a credential helper to remove this warning. See 04:33:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:31 04:33:31 Login Succeeded 04:33:31 nexus3.edgexfoundry.org:10003 04:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:31 Configure a credential helper to remove this warning. See 04:33:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:31 04:33:31 Login Succeeded 04:33:31 nexus3.edgexfoundry.org:10004 04:33:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:32 Configure a credential helper to remove this warning. See 04:33:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:32 04:33:32 Login Succeeded 04:33:32 ****.io 04:33:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:32 Configure a credential helper to remove this warning. See 04:33:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:32 04:33:32 Login Succeeded 04:33:32 ---> ****-login.sh ends [Pipeline] } 04:33:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:33:33 + git rev-list -1 --merges 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222~1..70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] echo 04:33:33 -----------> git rev-list -1 --merges 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222~1..70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [false] [Pipeline] sh 04:33:33 + git log --format=format:%s -1 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] echo 04:33:33 ========================================================= 04:33:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:33:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:33:34 + git log --format=format:%s -1 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] echo 04:33:34 [semverPrep] GIT_COMMIT: 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:33:34 [semverPrep] This is not a build commit. [Pipeline] sh 04:33:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:33:34 + grep -v github /etc/ssh/ssh_known_hosts 04:33:34 + [ -e /tmp/ssh_known_hosts ] 04:33:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:33:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:33:34 + sudo tee -a /etc/ssh/ssh_known_hosts 04:33:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:35 04:33:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:35 0.1.4: Pulling from edgex-devops/py-git-semver 04:33:35 b85a868b505f: Pulling fs layer 04:33:35 e2be974225ed: Pulling fs layer 04:33:35 339a4e72a1f5: Pulling fs layer 04:33:35 988bab9f4d93: Pulling fs layer 04:33:35 1469e6f7b9e6: Pulling fs layer 04:33:35 eaf3925da568: Pulling fs layer 04:33:35 bab4dde63d76: Pulling fs layer 04:33:35 bde34c3a00c8: Pulling fs layer 04:33:35 b352a97aabf1: Pulling fs layer 04:33:35 4872d77fe225: Pulling fs layer 04:33:35 5851b861e8e6: Pulling fs layer 04:33:35 988bab9f4d93: Waiting 04:33:35 bde34c3a00c8: Waiting 04:33:35 b352a97aabf1: Waiting 04:33:35 4872d77fe225: Waiting 04:33:35 1469e6f7b9e6: Waiting 04:33:35 eaf3925da568: Waiting 04:33:35 5851b861e8e6: Waiting 04:33:35 bab4dde63d76: Waiting 04:33:35 e2be974225ed: Download complete 04:33:35 988bab9f4d93: Download complete 04:33:35 1469e6f7b9e6: Verifying Checksum 04:33:35 1469e6f7b9e6: Download complete 04:33:35 eaf3925da568: Verifying Checksum 04:33:35 eaf3925da568: Download complete 04:33:35 339a4e72a1f5: Verifying Checksum 04:33:35 339a4e72a1f5: Download complete 04:33:35 bde34c3a00c8: Download complete 04:33:35 b352a97aabf1: Verifying Checksum 04:33:35 b352a97aabf1: Download complete 04:33:35 4872d77fe225: Verifying Checksum 04:33:35 4872d77fe225: Download complete 04:33:35 5851b861e8e6: Download complete 04:33:35 b85a868b505f: Verifying Checksum 04:33:35 b85a868b505f: Download complete 04:33:36 bab4dde63d76: Verifying Checksum 04:33:36 bab4dde63d76: Download complete 04:33:36 b85a868b505f: Pull complete 04:33:36 e2be974225ed: Pull complete 04:33:37 339a4e72a1f5: Pull complete 04:33:37 988bab9f4d93: Pull complete 04:33:37 1469e6f7b9e6: Pull complete 04:33:37 eaf3925da568: Pull complete 04:33:39 bab4dde63d76: Pull complete 04:33:39 bde34c3a00c8: Pull complete 04:33:39 b352a97aabf1: Pull complete 04:33:39 4872d77fe225: Pull complete 04:33:39 5851b861e8e6: Pull complete 04:33:39 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:33:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:39 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:40 prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container 04:33:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:33:45 $ docker top a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 -eo pid,comm 04:33:45 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:33:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:33:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:45 [ssh-agent] Looking for ssh-agent implementation... 04:33:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:45 $ docker exec a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 ssh-agent 04:33:45 SSH_AUTH_SOCK=/tmp/ssh-DPmsug3cq6Lj/agent.32 04:33:45 SSH_AGENT_PID=38 04:33:45 Running ssh-add (command line suppressed) 04:33:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/private_key_1832753265078685728.key (/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/private_key_1832753265078685728.key) 04:33:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:46 + git tag --points-at HEAD [Pipeline] } 04:33:46 $ docker exec --env ******** --env ******** a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 ssh-agent -k 04:33:46 unset SSH_AUTH_SOCK; 04:33:46 unset SSH_AGENT_PID; 04:33:46 echo Agent pid 38 killed; 04:33:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:33:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:46 [ssh-agent] Looking for ssh-agent implementation... 04:33:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:46 $ docker exec a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 ssh-agent 04:33:46 SSH_AUTH_SOCK=/tmp/ssh-C5RPtgjhphlX/agent.71 04:33:46 SSH_AGENT_PID=77 04:33:46 Running ssh-add (command line suppressed) 04:33:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/private_key_3707999677914631891.key (/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/private_key_3707999677914631891.key) 04:33:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:47 + git semver init 04:33:47 2024-08-23 04:33:47,495 [run_init] DEBUG init version:0.0.0 force:False 04:33:47 2024-08-23 04:33:47,497 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver 04:33:47 2024-08-23 04:33:47,497 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver 04:33:47 2024-08-23 04:33:47,498 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1615, universal_newlines=False, shell=None, istream=None) 04:33:50 2024-08-23 04:33:50,079 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615/.git/info/exclude 04:33:50 2024-08-23 04:33:50,080 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver/PR-1615 with force:False 04:33:50 2024-08-23 04:33:50,080 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver/PR-1615 04:33:50 2024-08-23 04:33:50,084 [execute] INFO git cat-file --batch-check 04:33:50 2024-08-23 04:33:50,085 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver, universal_newlines=False, shell=None, istream=) 04:33:50 2024-08-23 04:33:50,090 [execute] INFO git cat-file --batch 04:33:50 2024-08-23 04:33:50,090 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver, universal_newlines=False, shell=None, istream=) 04:33:50 2024-08-23 04:33:50,094 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1615/.semver/PR-1615 04:33:50 0.0.0 [Pipeline] } 04:33:50 $ docker exec --env ******** --env ******** a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 ssh-agent -k 04:33:50 unset SSH_AUTH_SOCK; 04:33:50 unset SSH_AGENT_PID; 04:33:50 echo Agent pid 77 killed; 04:33:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:33:50 + git semver [Pipeline] } 04:33:51 $ docker stop --time=1 a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 04:33:52 $ docker rm -f --volumes a64ce90d0c85a256cc581fb07413812fbc56f1653442acae64f18fca99bec915 [Pipeline] // withDockerContainer [Pipeline] sh 04:33:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:33:53 Stashed 1 file(s) [Pipeline] echo 04:33:53 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:54 provisioning config files... 04:33:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/config15398907547344739778tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:54 ---> ****-login.sh 04:33:54 nexus3.edgexfoundry.org:10001 04:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:54 Configure a credential helper to remove this warning. See 04:33:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:54 04:33:54 Login Succeeded 04:33:54 nexus3.edgexfoundry.org:10002 04:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:54 Configure a credential helper to remove this warning. See 04:33:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:54 04:33:54 Login Succeeded 04:33:54 nexus3.edgexfoundry.org:10003 04:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:54 Configure a credential helper to remove this warning. See 04:33:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:54 04:33:54 Login Succeeded 04:33:54 nexus3.edgexfoundry.org:10004 04:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:54 Configure a credential helper to remove this warning. See 04:33:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:54 04:33:54 Login Succeeded 04:33:54 ****.io 04:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:55 Configure a credential helper to remove this warning. See 04:33:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:55 04:33:55 Login Succeeded 04:33:55 ---> ****-login.sh ends [Pipeline] } 04:33:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:33:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:33:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:33:55 ========================================================= 04:33:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:33:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:56 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:33:56 Sending build context to Docker daemon 25.12MB 04:33:56 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:33:56 Step 2/10 : FROM ${BASE} AS builder 04:33:56 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:33:56 619be1103602: Pulling fs layer 04:33:56 7862e08f4a3e: Pulling fs layer 04:33:56 5df492c9dc93: Pulling fs layer 04:33:56 7629e6793208: Pulling fs layer 04:33:56 4f4fb700ef54: Pulling fs layer 04:33:56 fb5054dd5b73: Pulling fs layer 04:33:56 eeca6798cff9: Pulling fs layer 04:33:56 aa269ceb94a6: Pulling fs layer 04:33:56 ada007ff1a6a: Pulling fs layer 04:33:56 4f4fb700ef54: Waiting 04:33:56 7629e6793208: Waiting 04:33:56 fb5054dd5b73: Waiting 04:33:56 eeca6798cff9: Waiting 04:33:56 aa269ceb94a6: Waiting 04:33:56 ada007ff1a6a: Waiting 04:33:56 7862e08f4a3e: Download complete 04:33:56 7629e6793208: Download complete 04:33:56 4f4fb700ef54: Verifying Checksum 04:33:56 4f4fb700ef54: Download complete 04:33:56 619be1103602: Verifying Checksum 04:33:56 619be1103602: Download complete 04:33:56 fb5054dd5b73: Verifying Checksum 04:33:56 fb5054dd5b73: Download complete 04:33:56 eeca6798cff9: Verifying Checksum 04:33:56 eeca6798cff9: Download complete 04:33:56 619be1103602: Pull complete 04:33:56 ada007ff1a6a: Verifying Checksum 04:33:56 ada007ff1a6a: Download complete 04:33:56 7862e08f4a3e: Pull complete 04:33:56 5df492c9dc93: Verifying Checksum 04:33:56 5df492c9dc93: Download complete 04:33:57 aa269ceb94a6: Verifying Checksum 04:33:57 aa269ceb94a6: Download complete 04:34:00 5df492c9dc93: Pull complete 04:34:00 7629e6793208: Pull complete 04:34:00 4f4fb700ef54: Pull complete 04:34:00 fb5054dd5b73: Pull complete 04:34:00 eeca6798cff9: Pull complete 04:34:02 aa269ceb94a6: Pull complete 04:34:02 ada007ff1a6a: Pull complete 04:34:02 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 04:34:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:34:02 ---> f489d0715acc 04:34:02 Step 3/10 : ARG MAKE=make build 04:34:06 ---> Running in e4d68a540236 04:34:06 Removing intermediate container e4d68a540236 04:34:06 ---> 559761d09615 04:34:06 Step 4/10 : WORKDIR /device-sdk-go 04:34:06 ---> Running in 67d61e2a2191 04:34:06 Removing intermediate container 67d61e2a2191 04:34:06 ---> 86745f4d9eda 04:34:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:34:06 ---> Running in 3e6fa6efd322 04:34:06 Removing intermediate container 3e6fa6efd322 04:34:06 ---> d3459e66798b 04:34:06 Step 6/10 : RUN apk add --update --no-cache make git 04:34:06 ---> Running in 600dc5bc0ed0 04:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:34:07 OK: 264 MiB in 52 packages 04:34:07 Removing intermediate container 600dc5bc0ed0 04:34:07 ---> 892cc3905eb2 04:34:07 Step 7/10 : COPY go.mod vendor* ./ 04:34:08 ---> 36c666c368cd 04:34:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:08 ---> Running in 4e85c39f0d57 04:34:08 Still waiting to schedule task 04:34:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:34:46 Removing intermediate container 4e85c39f0d57 04:34:46 ---> 74e2a8c6528d 04:34:46 Step 9/10 : COPY . . 04:34:46 ---> fd841d4c01a1 04:34:46 Step 10/10 : RUN ${MAKE} 04:34:46 ---> Running in 927bd180ab22 04:34:47 noop 04:34:47 Removing intermediate container 927bd180ab22 04:34:47 ---> c319377a89d5 04:34:47 Successfully built c319377a89d5 04:34:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:47 + docker inspect -f . ci-base-image-x86_64 04:34:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:47 prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container 04:34:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:34:48 $ docker top 08a6ba93c9671f45518971c90eee1a010213f2b4de0abc9a5480bc8865250483 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:48 + go version 04:34:48 go version go1.21.9 linux/amd64 [Pipeline] } 04:34:48 $ docker stop --time=1 08a6ba93c9671f45518971c90eee1a010213f2b4de0abc9a5480bc8865250483 04:34:50 $ docker rm -f --volumes 08a6ba93c9671f45518971c90eee1a010213f2b4de0abc9a5480bc8865250483 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:50 + docker inspect -f . ci-base-image-x86_64 04:34:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:51 prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container 04:34:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:34:51 $ docker top f268591a2e91208b4b231b22d4e3dd59fb58d5e9a3c03602fc23be3f49c78a95 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:51 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1615 [Pipeline] fileExists [Pipeline] sh 04:34:52 + make test 04:34:52 go test -race -coverprofile=coverage.out ./... 04:34:58 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.039s coverage: 79.4% of statements 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.048s coverage: 86.0% of statements 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.081s coverage: 52.2% of statements 04:35:37 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.034s coverage: 14.4% of statements 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.274s coverage: 44.6% of statements 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.053s coverage: 68.5% of statements 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.086s coverage: 89.2% of statements 04:35:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.4% of statements 04:35:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8207 in /w/workspace/gexfoundry_device-sdk-go_PR-1615 [Pipeline] { [Pipeline] ws 04:35:42 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:35:45 The recommended git tool is: git 04:35:52 using credential edgex-jenkins-ssh 04:35:52 Cloning the remote Git repository 04:35:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:35:53 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:35:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:35:53 > git --version # timeout=10 04:35:53 > git --version # 'git version 2.25.1' 04:35:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:35:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:35:57 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:35:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:35:59 Merging remotes/origin/main commit 55ceb93b68ddd1fabddb6a346a0921fb81c17045 into PR head commit 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 04:35:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:35:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:35:58 using GIT_SSH to set credentials SSH Credentials for GitHub 04:35:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1615/head:refs/remotes/origin/PR-1615 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:35:59 > git config core.sparsecheckout # timeout=10 04:35:59 > git checkout -f 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 # timeout=10 04:35:59 > git remote # timeout=10 04:35:59 > git config --get remote.origin.url # timeout=10 04:35:59 using GIT_SSH to set credentials SSH Credentials for GitHub 04:35:59 Merge succeeded, producing 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 04:35:59 Checking out Revision 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 (PR-1615) 04:36:00 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:36:00 > git --version # timeout=10 04:36:00 > git --version # 'git version 2.25.1' 04:36:00 fatal: bad object 590556114a56c6d90cc8043840e039c2f74196dc 04:35:59 > git merge 55ceb93b68ddd1fabddb6a346a0921fb81c17045 # timeout=10 04:35:59 > git rev-parse HEAD^{commit} # timeout=10 04:35:59 > git config core.sparsecheckout # timeout=10 04:35:59 > git checkout -f 70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:36:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:36:05 % Total % Received % Xferd Average Speed Time Time Time Current 04:36:05 Dload Upload Total Spent Left Speed 04:36:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 04:36:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:36:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:36:05 + sudo tee /etc/docker/daemon.new 04:36:05 { 04:36:05 "registry-mirrors": [ 04:36:05 "https://nexus3.edgexfoundry.org:10001" 04:36:05 ], 04:36:05 "bip": "10.250.0.254/24", 04:36:05 "hosts": [ 04:36:05 "tcp://0.0.0.0:5555", 04:36:05 "unix:///var/run/docker.sock" 04:36:05 ], 04:36:05 "mtu": 1458, 04:36:05 "selinux-enabled": true, 04:36:05 "seccomp-profile": "/etc/docker/seccomp.json" 04:36:05 } [Pipeline] sh 04:36:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:36:06 + sudo service docker restart 04:36:09 GO111MODULE=on go vet ./... 04:36:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:36:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:36:16 ./bin/test-attribution-txt.sh [Pipeline] echo 04:36:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:36:16 $ docker stop --time=1 f268591a2e91208b4b231b22d4e3dd59fb58d5e9a3c03602fc23be3f49c78a95 04:36:18 $ docker rm -f --volumes f268591a2e91208b4b231b22d4e3dd59fb58d5e9a3c03602fc23be3f49c78a95 [Pipeline] // withDockerContainer [Pipeline] sh 04:36:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:36:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:36:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:36:20 + ls -al . 04:36:20 total 380 04:36:20 drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 04:34 . 04:36:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:33 .. 04:36:20 -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 04:33 .dockerignore 04:36:20 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 04:35 .git 04:36:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:33 .github 04:36:20 -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 04:33 .gitignore 04:36:20 -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 04:33 .golangci.yml 04:36:20 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 04:33 .semver 04:36:20 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 23 04:33 CHANGELOG.md 04:36:20 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 04:33 GOVERNANCE.md 04:36:20 -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 04:33 Jenkinsfile 04:36:20 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 04:33 LICENSE 04:36:20 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 04:33 Makefile 04:36:20 -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 04:33 OWNERS.md 04:36:20 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 23 04:33 README.md 04:36:20 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 04:33 VERSION 04:36:20 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:33 bin 04:36:20 -rw-r--r-- 1 jenkins jenkins 126053 Aug 23 04:35 coverage.out 04:36:20 drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 04:33 example 04:36:20 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 23 04:33 go.mod 04:36:20 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 23 04:33 go.sum 04:36:20 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:33 internal 04:36:20 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:33 openapi 04:36:20 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 04:33 pkg 04:36:20 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:33 snap 04:36:20 -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 04:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36: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=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 --label arch=amd64 --label version=0.0.0 . 04:36:21 Sending build context to Docker daemon 25.25MB 04:36:21 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:36:21 Step 2/24 : FROM ${BASE} AS builder 04:36:21 ---> c319377a89d5 04:36:21 Step 3/24 : ARG MAKE=make build 04:36:21 ---> Running in e9f812d8df24 04:36:21 Removing intermediate container e9f812d8df24 04:36:21 ---> 1ab38eeaf76a 04:36:21 Step 4/24 : WORKDIR /device-sdk-go 04:36:21 ---> Running in 1f7e10f0acf1 04:36:21 Removing intermediate container 1f7e10f0acf1 04:36:21 ---> f3916d816e60 04:36:21 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:36:21 ---> Running in a68f3f6b8102 04:36:21 Removing intermediate container a68f3f6b8102 04:36:21 ---> 7c4220681d31 04:36:21 Step 6/24 : RUN apk add --update --no-cache make git 04:36:21 ---> Running in 4c9bb7f9e7ef 04:36:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:36:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:36:22 OK: 264 MiB in 52 packages 04:36:22 Removing intermediate container 4c9bb7f9e7ef 04:36:22 ---> 70b34ee7509b 04:36:22 Step 7/24 : COPY go.mod vendor* ./ 04:36:22 ---> 35bab2081142 04:36:22 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:36:22 ---> Running in 4f7beb80f642 04:36:23 Removing intermediate container 4f7beb80f642 04:36:23 ---> 91ee97b3bf77 04:36:23 Step 9/24 : COPY . . 04:36:24 ---> 285fe4cade14 04:36:24 Step 10/24 : RUN ${MAKE} 04:36:24 ---> Running in 42a6620ba7b4 04:36:24 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:24 provisioning config files... 04:36:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8541981457804564014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:25 ---> ****-login.sh 04:36:25 nexus3.edgexfoundry.org:10001 04:36:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:25 Configure a credential helper to remove this warning. See 04:36:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:25 04:36:25 Login Succeeded 04:36:25 nexus3.edgexfoundry.org:10002 04:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:26 Configure a credential helper to remove this warning. See 04:36:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:26 04:36:26 Login Succeeded 04:36:26 nexus3.edgexfoundry.org:10003 04:36:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:26 Configure a credential helper to remove this warning. See 04:36:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:26 04:36:26 Login Succeeded 04:36:26 nexus3.edgexfoundry.org:10004 04:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:27 Configure a credential helper to remove this warning. See 04:36:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:27 04:36:27 Login Succeeded 04:36:27 ****.io 04:36:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:27 Configure a credential helper to remove this warning. See 04:36:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:27 04:36:27 Login Succeeded 04:36:27 ---> ****-login.sh ends [Pipeline] } 04:36:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:36:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:36:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:36:28 ========================================================= 04:36:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:36:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:28 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 04:36:29 Sending build context to Docker daemon 13MB 04:36:29 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 04:36:29 Step 2/10 : FROM ${BASE} AS builder 04:36:29 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:36:29 c6b39de5b339: Pulling fs layer 04:36:29 a69c41024577: Pulling fs layer 04:36:29 d6de4b400683: Pulling fs layer 04:36:29 35cb2a7552d0: Pulling fs layer 04:36:29 4f4fb700ef54: Pulling fs layer 04:36:29 464afbd9ba4c: Pulling fs layer 04:36:29 00f215d4a9da: Pulling fs layer 04:36:29 d496ad576159: Pulling fs layer 04:36:29 4f4fb700ef54: Waiting 04:36:29 464afbd9ba4c: Waiting 04:36:29 00f215d4a9da: Waiting 04:36:29 d496ad576159: Waiting 04:36:29 35cb2a7552d0: Waiting 04:36:29 a69c41024577: Verifying Checksum 04:36:29 a69c41024577: Download complete 04:36:29 35cb2a7552d0: Verifying Checksum 04:36:29 35cb2a7552d0: Download complete 04:36:29 c6b39de5b339: Download complete 04:36:29 4f4fb700ef54: Verifying Checksum 04:36:29 4f4fb700ef54: Download complete 04:36:29 464afbd9ba4c: Verifying Checksum 04:36:29 464afbd9ba4c: Download complete 04:36:29 d496ad576159: Verifying Checksum 04:36:29 d496ad576159: Download complete 04:36:30 c6b39de5b339: Pull complete 04:36:31 a69c41024577: Pull complete 04:36:31 d6de4b400683: Verifying Checksum 04:36:31 d6de4b400683: Download complete 04:36:32 00f215d4a9da: Verifying Checksum 04:36:32 00f215d4a9da: Download complete 04:36:44 d6de4b400683: Pull complete 04:36:44 35cb2a7552d0: Pull complete 04:36:44 4f4fb700ef54: Pull complete 04:36:44 464afbd9ba4c: Pull complete 04:36:52 00f215d4a9da: Pull complete 04:36:54 d496ad576159: Pull complete 04:36:54 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 04:36:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:36:54 ---> f246e2811388 04:36:54 Step 3/10 : ARG MAKE=make build 04:36:56 ---> Running in cfbac1ae9bf4 04:36:56 Removing intermediate container cfbac1ae9bf4 04:36:56 ---> f10374e4f4c0 04:36:56 Step 4/10 : WORKDIR /device-sdk-go 04:36:56 ---> Running in 64327e8a542a 04:36:56 Removing intermediate container 64327e8a542a 04:36:56 ---> 0d976b26f3b3 04:36:56 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:36:56 ---> Running in 8c0062f4086f 04:36:56 Removing intermediate container 8c0062f4086f 04:36:56 ---> 4cdf8dae9f1d 04:36:56 Step 6/10 : RUN apk add --update --no-cache make git 04:36:56 ---> Running in 7fc5d542d6e3 04:36:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:36:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:36:59 OK: 266 MiB in 52 packages 04:37:00 Removing intermediate container 7fc5d542d6e3 04:37:00 ---> fbb6f14b963e 04:37:00 Step 7/10 : COPY go.mod vendor* ./ 04:37:00 ---> 6ccffdf82ba2 04:37:00 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:37:00 ---> Running in 8ca9ad1fdb46 04:37:03 Removing intermediate container 42a6620ba7b4 04:37:03 ---> 19407a6ce239 04:37:03 Step 11/24 : FROM alpine:3.18 04:37:03 3.18: Pulling from library/alpine 04:37:03 930bdd4d222e: Pulling fs layer 04:37:03 930bdd4d222e: Verifying Checksum 04:37:03 930bdd4d222e: Download complete 04:37:03 930bdd4d222e: Pull complete 04:37:03 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:37:03 Status: Downloaded newer image for alpine:3.18 04:37:03 ---> 18f865063206 04:37:03 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:37:03 ---> Running in bb6030c90dca 04:37:03 Removing intermediate container bb6030c90dca 04:37:03 ---> cb686b7790b9 04:37:03 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:37:03 ---> Running in ac181276de10 04:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:37:03 (1/1) Installing dumb-init (1.2.5-r2) 04:37:03 Executing busybox-1.36.1-r7.trigger 04:37:03 OK: 7 MiB in 16 packages 04:37:03 Removing intermediate container ac181276de10 04:37:03 ---> 236bae10a9d0 04:37:03 Step 14/24 : RUN apk --no-cache upgrade 04:37:03 ---> Running in d3ee528ce8de 04:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:37:03 OK: 7 MiB in 16 packages 04:37:03 Removing intermediate container d3ee528ce8de 04:37:03 ---> 561d06ec589c 04:37:03 Step 15/24 : WORKDIR / 04:37:03 ---> Running in 1f9f31c33192 04:37:03 Removing intermediate container 1f9f31c33192 04:37:03 ---> be7e1780f97b 04:37:03 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:37:03 ---> 0c231d1be57e 04:37:03 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:37:05 ---> 318715fab939 04:37:05 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:37:05 ---> 86668465e58f 04:37:05 Step 19/24 : EXPOSE 59999 04:37:05 ---> Running in 2ffc79f12685 04:37:05 Removing intermediate container 2ffc79f12685 04:37:05 ---> 7faca4ef16db 04:37:05 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:37:05 ---> Running in b0c13392f0f1 04:37:05 Removing intermediate container b0c13392f0f1 04:37:05 ---> 08e8926cedd4 04:37:05 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:37:05 ---> Running in 11e258fb473d 04:37:05 Removing intermediate container 11e258fb473d 04:37:05 ---> 568842819e7a 04:37:05 Step 22/24 : LABEL arch=amd64 04:37:05 ---> Running in 116ca7315c21 04:37:05 Removing intermediate container 116ca7315c21 04:37:05 ---> 2425e4b7346b 04:37:05 Step 23/24 : LABEL git_sha=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 04:37:05 ---> Running in 514f20fdb65b 04:37:06 Removing intermediate container 514f20fdb65b 04:37:06 ---> 65ad5aab3eab 04:37:06 Step 24/24 : LABEL version=0.0.0 04:37:06 ---> Running in ff056549ad26 04:37:06 Removing intermediate container ff056549ad26 04:37:06 ---> 101fed6bcb3c 04:37:06 [Warning] One or more build-args [ARCH] were not consumed 04:37:06 Successfully built 101fed6bcb3c 04:37:06 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:07 04:37:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:37:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:07 latest: Pulling from edgex-lftools-log-publisher 04:37:07 5eb5b503b376: Pulling fs layer 04:37:07 5c69ac0246d0: Pulling fs layer 04:37:07 ec43610c2a17: Pulling fs layer 04:37:07 3a2ae6a8a46f: Pulling fs layer 04:37:07 33b1e0a273af: Pulling fs layer 04:37:07 5d3b04190fa2: Pulling fs layer 04:37:07 2f39f015ded8: Pulling fs layer 04:37:07 33b1e0a273af: Waiting 04:37:07 5d3b04190fa2: Waiting 04:37:07 2f39f015ded8: Waiting 04:37:07 3a2ae6a8a46f: Waiting 04:37:07 5c69ac0246d0: Download complete 04:37:07 3a2ae6a8a46f: Verifying Checksum 04:37:07 3a2ae6a8a46f: Download complete 04:37:07 33b1e0a273af: Verifying Checksum 04:37:07 33b1e0a273af: Download complete 04:37:07 5d3b04190fa2: Verifying Checksum 04:37:07 5d3b04190fa2: Download complete 04:37:07 ec43610c2a17: Verifying Checksum 04:37:07 ec43610c2a17: Download complete 04:37:07 5eb5b503b376: Verifying Checksum 04:37:07 5eb5b503b376: Download complete 04:37:08 2f39f015ded8: Download complete 04:37:08 5eb5b503b376: Pull complete 04:37:08 5c69ac0246d0: Pull complete 04:37:09 ec43610c2a17: Pull complete 04:37:09 3a2ae6a8a46f: Pull complete 04:37:09 33b1e0a273af: Pull complete 04:37:09 5d3b04190fa2: Pull complete 04:37:14 2f39f015ded8: Pull complete 04:37:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:37:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:37:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:37:14 prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container 04:37:14 $ 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-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:37:19 $ docker top 20174ff65645ba52946d47b14ad1a392904dcd9799d460161736584ed44155f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:37:19 ---> job-cost.sh 04:37:19 lf-activate-venv: SKIPPING 04:37:19 INFO: No Stack... 04:37:20 INFO: Retrieving Pricing Info for: v3-standard-8 04:37:20 INFO: Archiving Costs [Pipeline] sh 04:37:20 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives/cost.csv 04:37:20 + cut -d, -f6 [Pipeline] lock 04:37:20 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] 04:37:20 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] did not exist. Created. 04:37:20 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:37:21 + echo total: 0.2199999988079071 [Pipeline] stash 04:37:21 Stashed 1 file(s) [Pipeline] } 04:37:21 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:37:21 $ docker stop --time=1 20174ff65645ba52946d47b14ad1a392904dcd9799d460161736584ed44155f9 04:37:22 $ docker rm -f --volumes 20174ff65645ba52946d47b14ad1a392904dcd9799d460161736584ed44155f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:38:52 Removing intermediate container 8ca9ad1fdb46 04:38:52 ---> 5c55a009d471 04:38:52 Step 9/10 : COPY . . 04:38:52 ---> f72151375a56 04:38:52 Step 10/10 : RUN ${MAKE} 04:38:52 ---> Running in 8833ec8a839f 04:38:52 noop 04:38:52 Removing intermediate container 8833ec8a839f 04:38:52 ---> a1ff43a3a84e 04:38:52 Successfully built a1ff43a3a84e 04:38:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:52 + docker inspect -f . ci-base-image-arm64 04:38:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:53 prd-ubuntu20.04-docker-arm64-4c-16g-8207 does not seem to be running inside a container 04:38:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:38:54 $ docker top 9acff907da276cbb43fae1aefe0053c975ad63c020219e0c9f8bd81fe755df8c -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:55 + go version 04:38:55 go version go1.21.9 linux/arm64 [Pipeline] } 04:38:55 $ docker stop --time=1 9acff907da276cbb43fae1aefe0053c975ad63c020219e0c9f8bd81fe755df8c 04:38:57 $ docker rm -f --volumes 9acff907da276cbb43fae1aefe0053c975ad63c020219e0c9f8bd81fe755df8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:58 + docker inspect -f . ci-base-image-arm64 04:38:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:58 prd-ubuntu20.04-docker-arm64-4c-16g-8207 does not seem to be running inside a container 04:38:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:38:59 $ docker top 42f97af6d899b7842e3d31505dc7020a3264937194430ca6708d871be5d44ef3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:00 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:39:01 + make test 04:39:01 go test -race -coverprofile=coverage.out ./... 04:39:47 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:43:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:43:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:43:09 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:43:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:43:09 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:43:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.114s coverage: 26.0% of statements 04:43:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.161s coverage: 79.4% of statements 04:43:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:43:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:43:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.258s coverage: 86.0% of statements 04:43:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.502s coverage: 52.2% of statements 04:43:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.191s coverage: 14.4% of statements 04:43:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.950s coverage: 44.6% of statements 04:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:43:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:43:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.304s coverage: 68.5% of statements 04:43:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.405s coverage: 89.2% of statements 04:43:42 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:43:42 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.238s coverage: 5.4% of statements 04:43:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:43:44 GO111MODULE=on go vet ./... 04:47:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:47:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:47:51 ./bin/test-attribution-txt.sh [Pipeline] echo 04:47:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:47:51 $ docker stop --time=1 42f97af6d899b7842e3d31505dc7020a3264937194430ca6708d871be5d44ef3 04:47:53 $ docker rm -f --volumes 42f97af6d899b7842e3d31505dc7020a3264937194430ca6708d871be5d44ef3 [Pipeline] // withDockerContainer [Pipeline] sh 04:47:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:47:55 Warning: overwriting stash ‘coverage-report’ 04:47:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:47:56 + ls -al . 04:47:56 total 376 04:47:56 drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 04:39 . 04:47:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:35 .. 04:47:56 -rw-rw-r-- 1 jenkins jenkins 140 Aug 23 04:35 .dockerignore 04:47:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 04:36 .git 04:47:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:35 .github 04:47:56 -rw-rw-r-- 1 jenkins jenkins 137 Aug 23 04:35 .gitignore 04:47:56 -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 04:35 .golangci.yml 04:47:56 -rw-rw-r-- 1 jenkins jenkins 48109 Aug 23 04:35 CHANGELOG.md 04:47:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 04:35 GOVERNANCE.md 04:47:56 -rw-rw-r-- 1 jenkins jenkins 885 Aug 23 04:35 Jenkinsfile 04:47:56 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 23 04:35 LICENSE 04:47:56 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 23 04:35 Makefile 04:47:56 -rw-rw-r-- 1 jenkins jenkins 619 Aug 23 04:35 OWNERS.md 04:47:56 -rw-rw-r-- 1 jenkins jenkins 4937 Aug 23 04:35 README.md 04:47:56 -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 04:33 VERSION 04:47:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 04:35 bin 04:47:56 -rw-r--r-- 1 jenkins jenkins 126054 Aug 23 04:43 coverage.out 04:47:56 drwxrwxr-x 5 jenkins jenkins 4096 Aug 23 04:35 example 04:47:56 -rw-rw-r-- 1 jenkins jenkins 6996 Aug 23 04:35 go.mod 04:47:56 -rw-rw-r-- 1 jenkins jenkins 101460 Aug 23 04:35 go.sum 04:47:56 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:35 internal 04:47:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 04:35 openapi 04:47:56 drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 04:35 pkg 04:47:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 04:35 snap 04:47:56 -rw-rw-r-- 1 jenkins jenkins 222 Aug 23 04:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:57 + 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=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 --label arch=arm64 --label version=0.0.0 . 04:47:57 Sending build context to Docker daemon 13.12MB 04:47:57 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 04:47:57 Step 2/24 : FROM ${BASE} AS builder 04:47:57 ---> a1ff43a3a84e 04:47:57 Step 3/24 : ARG MAKE=make build 04:47:57 ---> Running in 905313ed7649 04:47:58 Removing intermediate container 905313ed7649 04:47:58 ---> 2ed20a4f9afb 04:47:58 Step 4/24 : WORKDIR /device-sdk-go 04:47:58 ---> Running in 4068bea08671 04:47:58 Removing intermediate container 4068bea08671 04:47:58 ---> e4cf5f378477 04:47:58 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:47:58 ---> Running in 8308cf615101 04:47:59 Removing intermediate container 8308cf615101 04:47:59 ---> 3536a37ef355 04:47:59 Step 6/24 : RUN apk add --update --no-cache make git 04:47:59 ---> Running in 23920a5aba0d 04:48:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:48:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:48:01 OK: 266 MiB in 52 packages 04:48:02 Removing intermediate container 23920a5aba0d 04:48:02 ---> 571c38871169 04:48:02 Step 7/24 : COPY go.mod vendor* ./ 04:48:02 ---> 9d1f1cca0dcc 04:48:02 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:03 ---> Running in 8580ba53629f 04:48:05 Removing intermediate container 8580ba53629f 04:48:05 ---> 29a71d962043 04:48:05 Step 9/24 : COPY . . 04:48:07 ---> eaae75c189a5 04:48:07 Step 10/24 : RUN ${MAKE} 04:48:07 ---> Running in ccf135963296 04:48:08 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:52:01 Removing intermediate container ccf135963296 04:52:01 ---> 4dd609b5ed51 04:52:01 Step 11/24 : FROM alpine:3.18 04:52:01 3.18: Pulling from library/alpine 04:52:01 4983c3fe2029: Pulling fs layer 04:52:01 4983c3fe2029: Verifying Checksum 04:52:01 4983c3fe2029: Download complete 04:52:01 4983c3fe2029: Pull complete 04:52:01 Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 04:52:01 Status: Downloaded newer image for alpine:3.18 04:52:01 ---> a0237000ae83 04:52:01 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:52:01 ---> Running in 4bd12eb74ffa 04:52:01 Removing intermediate container 4bd12eb74ffa 04:52:01 ---> 0e7da734571a 04:52:01 Step 13/24 : RUN apk add --update --no-cache dumb-init 04:52:01 ---> Running in 0f10a8ecae61 04:52:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:52:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:52:01 (1/1) Installing dumb-init (1.2.5-r2) 04:52:01 Executing busybox-1.36.1-r7.trigger 04:52:01 OK: 8 MiB in 16 packages 04:52:01 Removing intermediate container 0f10a8ecae61 04:52:01 ---> 5b93086ad01f 04:52:01 Step 14/24 : RUN apk --no-cache upgrade 04:52:01 ---> Running in 434e1a09517f 04:52:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:52:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:52:03 OK: 8 MiB in 16 packages 04:52:04 Removing intermediate container 434e1a09517f 04:52:04 ---> 06006212368d 04:52:04 Step 15/24 : WORKDIR / 04:52:04 ---> Running in 7d08bf94dad5 04:52:04 Removing intermediate container 7d08bf94dad5 04:52:04 ---> ceb749ab869b 04:52:04 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:52:04 ---> 2d3ee8be7af7 04:52:04 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:52:07 ---> 720070e91bb4 04:52:07 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:52:07 ---> 927c8373e0c6 04:52:07 Step 19/24 : EXPOSE 59999 04:52:07 ---> Running in e63ed71e2cfd 04:52:08 Removing intermediate container e63ed71e2cfd 04:52:08 ---> 89d58a5fb8fd 04:52:08 Step 20/24 : ENTRYPOINT ["/device-simple"] 04:52:08 ---> Running in 9d21c2933a40 04:52:08 Removing intermediate container 9d21c2933a40 04:52:08 ---> 302b33f426cd 04:52:08 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:52:08 ---> Running in 32fbfcc130dd 04:52:08 Removing intermediate container 32fbfcc130dd 04:52:08 ---> 682b7c06d355 04:52:08 Step 22/24 : LABEL arch=arm64 04:52:09 ---> Running in 716c41e19661 04:52:09 Removing intermediate container 716c41e19661 04:52:09 ---> 6b22ae9a0861 04:52:09 Step 23/24 : LABEL git_sha=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 04:52:09 ---> Running in 6dfdf3e67628 04:52:09 Removing intermediate container 6dfdf3e67628 04:52:09 ---> 71a7a1f4e521 04:52:09 Step 24/24 : LABEL version=0.0.0 04:52:09 ---> Running in 745421b3ee6d 04:52:10 Removing intermediate container 745421b3ee6d 04:52:10 ---> 70c6ac8d5eaf 04:52:10 [Warning] One or more build-args [ARCH] were not consumed 04:52:10 Successfully built 70c6ac8d5eaf 04:52:10 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:52:11 04:52:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:52:11 arm64: Pulling from edgex-lftools-log-publisher 04:52:11 8998bd30e6a1: Pulling fs layer 04:52:11 04944245beec: Pulling fs layer 04:52:11 699f458cf7ca: Pulling fs layer 04:52:11 765212b225bb: Pulling fs layer 04:52:11 f23df028b6ca: Pulling fs layer 04:52:11 d65c8cfc05b1: Pulling fs layer 04:52:11 2437ff75d9bd: Pulling fs layer 04:52:11 f23df028b6ca: Waiting 04:52:11 d65c8cfc05b1: Waiting 04:52:11 2437ff75d9bd: Waiting 04:52:11 765212b225bb: Waiting 04:52:11 04944245beec: Verifying Checksum 04:52:11 04944245beec: Download complete 04:52:11 765212b225bb: Verifying Checksum 04:52:11 765212b225bb: Download complete 04:52:11 f23df028b6ca: Verifying Checksum 04:52:11 f23df028b6ca: Download complete 04:52:11 d65c8cfc05b1: Verifying Checksum 04:52:11 d65c8cfc05b1: Download complete 04:52:12 699f458cf7ca: Verifying Checksum 04:52:12 699f458cf7ca: Download complete 04:52:12 8998bd30e6a1: Verifying Checksum 04:52:12 8998bd30e6a1: Download complete 04:52:15 2437ff75d9bd: Verifying Checksum 04:52:15 2437ff75d9bd: Download complete 04:52:17 8998bd30e6a1: Pull complete 04:52:18 04944245beec: Pull complete 04:52:20 699f458cf7ca: Pull complete 04:52:20 765212b225bb: Pull complete 04:52:21 f23df028b6ca: Pull complete 04:52:21 d65c8cfc05b1: Pull complete 04:52:39 2437ff75d9bd: Pull complete 04:52:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:52:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:52:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:40 prd-ubuntu20.04-docker-arm64-4c-16g-8207 does not seem to be running inside a container 04:52:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:52:43 $ docker top 47066b2d5d0f6f1b8cfb3e545091aa26c3bba4d59f52ffcd515a8cf5e07a7878 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:44 ---> job-cost.sh 04:52:44 lf-activate-venv: SKIPPING 04:52:44 INFO: No Stack... 04:52:45 INFO: Retrieving Pricing Info for: v3-standard-4 04:52:46 INFO: Archiving Costs [Pipeline] sh 04:52:47 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:52:47 + cut -d, -f6 [Pipeline] lock 04:52:47 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] 04:52:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] did not exist. Created. 04:52:47 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:52:48 /w/workspace/device-sdk-go/1@tmp/durable-c27fd361/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:52:49 + echo total: 0.10999999940395355 [Pipeline] stash 04:52:49 Warning: overwriting stash ‘stack-cost’ 04:52:49 Stashed 1 file(s) [Pipeline] } 04:52:49 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1615-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:52:49 $ docker stop --time=1 47066b2d5d0f6f1b8cfb3e545091aa26c3bba4d59f52ffcd515a8cf5e07a7878 04:52:50 $ docker rm -f --volumes 47066b2d5d0f6f1b8cfb3e545091aa26c3bba4d59f52ffcd515a8cf5e07a7878 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:52:52 provisioning config files... 04:52:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/config14017700668440125180tmp [Pipeline] { [Pipeline] sh 04:52:52 + set +x 04:52:52 + curl -s https://codecov.io/bash 04:52:52 + bash -s -- 04:52:52 04:52:52 _____ _ 04:52:52 / ____| | | 04:52:52 | | ___ __| | ___ ___ _____ __ 04:52:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:52:52 | |___| (_) | (_| | __/ (_| (_) \ V / 04:52:52 \_____\___/ \__,_|\___|\___\___/ \_/ 04:52:52 Bash-1.0.6 04:52:52 04:52:52 04:52:52 ==> git version 2.25.1 found 04:52:52 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:52:52 Release-Date: 2020-01-08 04:52:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:52:52 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:52:52 ==> Jenkins CI detected. 04:52:52 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1615 04:52:52 project root: . 04:52:52 --> token set from env 04:52:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:52:52 ==> Running gcov in . (disable via -X gcov) 04:52:52 ==> Python coveragepy not found 04:52:52 ==> Searching for coverage reports in: 04:52:52 + . 04:52:52 -> Found 1 reports 04:52:52 ==> Detecting git/mercurial file structure 04:52:52 ==> Reading reports 04:52:52 + ./coverage.out bytes=126054 04:52:52 ==> Appending adjustments 04:52:52 https://docs.codecov.io/docs/fixing-reports 04:52:53 + Found adjustments 04:52:53 ==> Gzipping contents 04:52:53 20K /tmp/codecov.f9Tpre.gz 04:52:53 ==> Uploading reports 04:52:53 url: https://codecov.io 04:52:53 query: branch=PR-1615&commit=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1615%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1615&job=&cmd_args= 04:52:53 -> Pinging Codecov 04:52:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1615&commit=70224c8b3e45ed3d1f12f6a5ca7dd292bc477222&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1615%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1615&job=&cmd_args= 04:52:53 -> Uploading to 04:52:53 https://storage.googleapis.com/codecov/v4/raw/2024-08-23/7E55EF52A471D76F132DFD9A03CDDE97/70224c8b3e45ed3d1f12f6a5ca7dd292bc477222/d3c5746a-d85e-43e3-80eb-3180f94c2131.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240823%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240823T045253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=402469f3a12f5f04100400abad1de91f3b44a8c745ef2087422f94e29e7eefa3 04:52:53 % Total % Received % Xferd Average Speed Time Time Time Current 04:52:53 Dload Upload Total Spent Left Speed 04:52:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17144 0 0 100 17144 0 71433 --:--:-- --:--:-- --:--:-- 71433 04:52:53 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/70224c8b3e45ed3d1f12f6a5ca7dd292bc477222 [Pipeline] } 04:52:53 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 04:52:55 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives ] 04:52:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives 04:52:55 total 16 04:52:55 drwxr-xr-x 3 root root 4096 Aug 23 04:37 . 04:52:55 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:37 .. 04:52:55 drwxr-xr-x 2 root root 4096 Aug 23 04:37 cost 04:52:55 -rw-r--r-- 1 root root 86 Aug 23 04:37 cost.csv 04:52:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives 04:52:55 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives 04:52:55 total 16 04:52:55 drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 04:37 . 04:52:55 drwxrwxr-x 12 jenkins jenkins 4096 Aug 23 04:37 .. 04:52:55 drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 04:37 cost 04:52:55 -rw-r--r-- 1 jenkins jenkins 86 Aug 23 04:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:52:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:52:57 ---> package-listing.sh 04:52:57 ++ facter osfamily 04:52:57 ++ tr '[:upper:]' '[:lower:]' 04:52:57 + OS_FAMILY=debian 04:52:57 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1615 04:52:57 + START_PACKAGES=/tmp/packages_start.txt 04:52:57 + END_PACKAGES=/tmp/packages_end.txt 04:52:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:52:57 + PACKAGES=/tmp/packages_start.txt 04:52:57 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1615 ']' 04:52:57 + PACKAGES=/tmp/packages_end.txt 04:52:57 + case "${OS_FAMILY}" in 04:52:57 + dpkg -l 04:52:57 + grep '^ii' 04:52:57 + '[' -f /tmp/packages_start.txt ']' 04:52:57 + '[' -f /tmp/packages_end.txt ']' 04:52:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:52:57 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1615 ']' 04:52:57 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives/ 04:52:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1615/archives/ [Pipeline] echo 04:52:57 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-1615/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:52:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:52:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:58 prd-ubuntu20.04-docker-8c-8g-8203 does not seem to be running inside a container 04:52:58 $ 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-1615/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-1615 -v /w/workspace/gexfoundry_device-sdk-go_PR-1615:/w/workspace/gexfoundry_device-sdk-go_PR-1615:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:52:58 $ docker top 19b4dfefb70d853674af05b04a3e4aa7587c0c5ca51a2e4c82bb67f14281b9f3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:59 + touch /tmp/pre-build-complete [Pipeline] sh 04:52:59 + mkdir -p /var/log/sysstat [Pipeline] sh 04:52:59 + ls /var/log/sa-host 04:52:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:53:00 provisioning config files... 04:53:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1615@tmp/config8912837231370190973tmp [Pipeline] { [Pipeline] echo 04:53:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:53:00 ---> create-netrc.sh [Pipeline] } 04:53:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:53:00 ---> python-tools-install.sh [Pipeline] echo 04:53:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:53:01 ---> sudo-logs.sh 04:53:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:53:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:53:01 ---> job-cost.sh 04:53:01 lf-activate-venv: SKIPPING 04:53:01 DEBUG: total: 0.2199999988079071 04:53:01 INFO: Retrieving Stack Cost... 04:53:01 INFO: Retrieving Pricing Info for: v3-standard-8 04:53:02 INFO: Archiving Costs [Pipeline] echo 04:53:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:53:02 ---> logs-deploy.sh 04:53:02 lf-activate-venv: SKIPPING 04:53:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1615/1 04:53:02 INFO: archiving workspace using pattern(s): 04:53:03 Archives upload complete. 04:53:03 INFO: archiving logs to Nexus