Pull request #1580 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ethan256 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at d3487eec0ede001a3c25d71c6388e8b50871be46 rather than 223c3cf2d9106e3768d8f217f81ec937c9274de2 Obtained Jenkinsfile from d3487eec0ede001a3c25d71c6388e8b50871be46 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-ssh2665832890136012027.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-ssh18433312375284186702.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1580/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5624030312031754695.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 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-ssh12159114917207661688.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1580/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10102127664016356397.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4673 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [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-1580 # 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/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit 223c3cf2d9106e3768d8f217f81ec937c9274de2 Merge succeeded, producing 223c3cf2d9106e3768d8f217f81ec937c9274de2 Checking out Revision 223c3cf2d9106e3768d8f217f81ec937c9274de2 (PR-1580) > git config core.sparsecheckout # timeout=10 > git checkout -f 223c3cf2d9106e3768d8f217f81ec937c9274de2 # 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 d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 223c3cf2d9106e3768d8f217f81ec937c9274de2 # timeout=10 Commit message: "Merge branch 'edgexfoundry:main' into main" First time build. Skipping changelog. > git rev-list --no-walk 9b341dd96325adb5f3b63082d72c9242068405c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:20:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:20:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:20:05 ========================================================= 07:20:05 EdgeX Global Pipelines Version Info 07:20:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:20:06 ------------------- 07:20:06 stable info: 07:20:06 ------------------- 07:20:06 Commited By: Ginny Guan ginny@iotechsys.com 07:20:06 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 07:20:06 Message: update stable to v1.0.260 07:20:07 ------------------- 07:20:07 experimental info: 07:20:07 ------------------- 07:20:07 Commited By: Ginny Guan ginny@iotechsys.com 07:20:07 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 07:20:07 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:20:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:20:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:20:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1580 [Pipeline] echo 07:20:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1580 [Pipeline] echo 07:20:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1580 [Pipeline] echo 07:20:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 223c3cf2d9106e3768d8f217f81ec937c9274de2 [Pipeline] echo 07:20:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 223c3cf [Pipeline] echo 07:20:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:08 provisioning config files... 07:20:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config1486255773665627802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:08 ---> ****-login.sh 07:20:08 nexus3.edgexfoundry.org:10001 07:20:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:08 Configure a credential helper to remove this warning. See 07:20:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:08 07:20:08 Login Succeeded 07:20:08 nexus3.edgexfoundry.org:10002 07:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:09 Configure a credential helper to remove this warning. See 07:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:09 07:20:09 Login Succeeded 07:20:09 nexus3.edgexfoundry.org:10003 07:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:09 Configure a credential helper to remove this warning. See 07:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:09 07:20:09 Login Succeeded 07:20:09 nexus3.edgexfoundry.org:10004 07:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:09 Configure a credential helper to remove this warning. See 07:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:09 07:20:09 Login Succeeded 07:20:09 ****.io 07:20:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:09 Configure a credential helper to remove this warning. See 07:20:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:09 07:20:09 Login Succeeded 07:20:09 ---> ****-login.sh ends [Pipeline] } 07:20:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:20:09 + git rev-list -1 --merges 223c3cf2d9106e3768d8f217f81ec937c9274de2~1..223c3cf2d9106e3768d8f217f81ec937c9274de2 [Pipeline] echo 07:20:10 -----------> git rev-list -1 --merges 223c3cf2d9106e3768d8f217f81ec937c9274de2~1..223c3cf2d9106e3768d8f217f81ec937c9274de2 223c3cf2d9106e3768d8f217f81ec937c9274de2 07:20:10 223c3cf2d9106e3768d8f217f81ec937c9274de2 [false] [Pipeline] sh 07:20:10 + git log --format=format:%s -1 223c3cf2d9106e3768d8f217f81ec937c9274de2 [Pipeline] echo 07:20:10 ========================================================= 07:20:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:20:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:20:10 + git log --format=format:%s -1 223c3cf2d9106e3768d8f217f81ec937c9274de2 [Pipeline] echo 07:20:10 [semverPrep] GIT_COMMIT: 223c3cf2d9106e3768d8f217f81ec937c9274de2, Commit Message: Merge branch 'edgexfoundry:main' into main [Pipeline] echo 07:20:10 [semverPrep] This is not a build commit. [Pipeline] sh 07:20:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:20:11 + grep -v github /etc/ssh/ssh_known_hosts 07:20:11 + [ -e /tmp/ssh_known_hosts ] 07:20:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:20:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:20:11 + sudo tee -a /etc/ssh/ssh_known_hosts 07:20:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:11 07:20:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:11 0.1.4: Pulling from edgex-devops/py-git-semver 07:20:11 b85a868b505f: Pulling fs layer 07:20:11 e2be974225ed: Pulling fs layer 07:20:11 339a4e72a1f5: Pulling fs layer 07:20:11 988bab9f4d93: Pulling fs layer 07:20:11 1469e6f7b9e6: Pulling fs layer 07:20:11 eaf3925da568: Pulling fs layer 07:20:11 bab4dde63d76: Pulling fs layer 07:20:11 bde34c3a00c8: Pulling fs layer 07:20:11 b352a97aabf1: Pulling fs layer 07:20:11 4872d77fe225: Pulling fs layer 07:20:11 5851b861e8e6: Pulling fs layer 07:20:11 bde34c3a00c8: Waiting 07:20:11 4872d77fe225: Waiting 07:20:11 b352a97aabf1: Waiting 07:20:11 988bab9f4d93: Waiting 07:20:11 1469e6f7b9e6: Waiting 07:20:11 bab4dde63d76: Waiting 07:20:11 eaf3925da568: Waiting 07:20:11 e2be974225ed: Verifying Checksum 07:20:11 e2be974225ed: Download complete 07:20:11 988bab9f4d93: Verifying Checksum 07:20:11 988bab9f4d93: Download complete 07:20:11 1469e6f7b9e6: Verifying Checksum 07:20:11 1469e6f7b9e6: Download complete 07:20:11 eaf3925da568: Verifying Checksum 07:20:11 eaf3925da568: Download complete 07:20:12 339a4e72a1f5: Verifying Checksum 07:20:12 339a4e72a1f5: Download complete 07:20:12 bde34c3a00c8: Verifying Checksum 07:20:12 bde34c3a00c8: Download complete 07:20:12 b352a97aabf1: Verifying Checksum 07:20:12 b352a97aabf1: Download complete 07:20:12 4872d77fe225: Verifying Checksum 07:20:12 4872d77fe225: Download complete 07:20:12 5851b861e8e6: Verifying Checksum 07:20:12 5851b861e8e6: Download complete 07:20:12 b85a868b505f: Download complete 07:20:12 bab4dde63d76: Verifying Checksum 07:20:12 bab4dde63d76: Download complete 07:20:13 b85a868b505f: Pull complete 07:20:13 e2be974225ed: Pull complete 07:20:14 339a4e72a1f5: Pull complete 07:20:14 988bab9f4d93: Pull complete 07:20:14 1469e6f7b9e6: Pull complete 07:20:14 eaf3925da568: Pull complete 07:20:16 bab4dde63d76: Pull complete 07:20:16 bde34c3a00c8: Pull complete 07:20:16 b352a97aabf1: Pull complete 07:20:16 4872d77fe225: Pull complete 07:20:16 5851b861e8e6: Pull complete 07:20:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:20:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:20:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:16 prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container 07:20:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:20:19 $ docker top 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:20:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:19 [ssh-agent] Looking for ssh-agent implementation... 07:20:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:19 $ docker exec 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc ssh-agent 07:20:19 SSH_AUTH_SOCK=/tmp/ssh-SrKCnxt7IKkS/agent.32 07:20:19 SSH_AGENT_PID=38 07:20:19 Running ssh-add (command line suppressed) 07:20:20 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_5606256284184599811.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_5606256284184599811.key) 07:20:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:20 + git tag --points-at HEAD [Pipeline] } 07:20:20 $ docker exec --env ******** --env ******** 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc ssh-agent -k 07:20:20 unset SSH_AUTH_SOCK; 07:20:20 unset SSH_AGENT_PID; 07:20:20 echo Agent pid 38 killed; 07:20:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:20:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:20:20 [ssh-agent] Looking for ssh-agent implementation... 07:20:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:20:20 $ docker exec 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc ssh-agent 07:20:20 SSH_AUTH_SOCK=/tmp/ssh-ktdJFhygQosO/agent.71 07:20:20 SSH_AGENT_PID=77 07:20:20 Running ssh-add (command line suppressed) 07:20:20 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_204859789932955408.key (/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/private_key_204859789932955408.key) 07:20:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:20:21 + git semver init 07:20:21 2024-07-01 07:20:21,359 [run_init] DEBUG init version:0.0.0 force:False 07:20:21 2024-07-01 07:20:21,360 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver 07:20:21 2024-07-01 07:20:21,361 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver 07:20:21 2024-07-01 07:20:21,361 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580, universal_newlines=False, shell=None, istream=None) 07:20:23 2024-07-01 07:20:23,427 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.git/info/exclude 07:20:23 2024-07-01 07:20:23,428 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 with force:False 07:20:23 2024-07-01 07:20:23,428 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 07:20:23 2024-07-01 07:20:23,433 [execute] INFO git cat-file --batch-check 07:20:23 2024-07-01 07:20:23,433 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) 07:20:23 2024-07-01 07:20:23,440 [execute] INFO git cat-file --batch 07:20:23 2024-07-01 07:20:23,440 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver, universal_newlines=False, shell=None, istream=) 07:20:23 2024-07-01 07:20:23,446 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1580/.semver/PR-1580 07:20:23 0.0.0 [Pipeline] } 07:20:24 $ docker exec --env ******** --env ******** 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc ssh-agent -k 07:20:24 unset SSH_AUTH_SOCK; 07:20:24 unset SSH_AGENT_PID; 07:20:24 echo Agent pid 77 killed; 07:20:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:20:24 + git semver [Pipeline] } 07:20:24 $ docker stop --time=1 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc 07:20:26 $ docker rm -f --volumes 6c627d86a6273c5ee7d4415181fd35719814c34f85d7044d80ecd58086514ebc [Pipeline] // withDockerContainer [Pipeline] sh 07:20:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:20:26 Stashed 1 file(s) [Pipeline] echo 07:20:26 [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 07:20:26 provisioning config files... 07:20:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config17491790282067685248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:27 ---> ****-login.sh 07:20:27 nexus3.edgexfoundry.org:10001 07:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:27 Configure a credential helper to remove this warning. See 07:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:27 07:20:27 Login Succeeded 07:20:27 nexus3.edgexfoundry.org:10002 07:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:27 Configure a credential helper to remove this warning. See 07:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:27 07:20:27 Login Succeeded 07:20:27 nexus3.edgexfoundry.org:10003 07:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:27 Configure a credential helper to remove this warning. See 07:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:27 07:20:27 Login Succeeded 07:20:27 nexus3.edgexfoundry.org:10004 07:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:27 Configure a credential helper to remove this warning. See 07:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:27 07:20:27 Login Succeeded 07:20:27 ****.io 07:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:20:27 Configure a credential helper to remove this warning. See 07:20:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:20:27 07:20:27 Login Succeeded 07:20:27 ---> ****-login.sh ends [Pipeline] } 07:20:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:20:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:20:27 ========================================================= 07:20:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 07:20:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:28 + 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 . 07:20:28 Sending build context to Docker daemon 25.25MB 07:20:28 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:20:28 Step 2/10 : FROM ${BASE} AS builder 07:20:28 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 07:20:28 619be1103602: Pulling fs layer 07:20:28 7862e08f4a3e: Pulling fs layer 07:20:28 5df492c9dc93: Pulling fs layer 07:20:28 7629e6793208: Pulling fs layer 07:20:28 4f4fb700ef54: Pulling fs layer 07:20:28 fb5054dd5b73: Pulling fs layer 07:20:28 eeca6798cff9: Pulling fs layer 07:20:28 4f4fb700ef54: Waiting 07:20:28 fb5054dd5b73: Waiting 07:20:28 7629e6793208: Waiting 07:20:28 eeca6798cff9: Waiting 07:20:28 aa269ceb94a6: Pulling fs layer 07:20:28 ada007ff1a6a: Pulling fs layer 07:20:28 aa269ceb94a6: Waiting 07:20:28 ada007ff1a6a: Waiting 07:20:28 7862e08f4a3e: Download complete 07:20:28 7629e6793208: Verifying Checksum 07:20:28 7629e6793208: Download complete 07:20:28 4f4fb700ef54: Verifying Checksum 07:20:28 4f4fb700ef54: Download complete 07:20:28 fb5054dd5b73: Download complete 07:20:28 619be1103602: Verifying Checksum 07:20:28 619be1103602: Download complete 07:20:28 eeca6798cff9: Verifying Checksum 07:20:28 eeca6798cff9: Download complete 07:20:28 619be1103602: Pull complete 07:20:28 ada007ff1a6a: Verifying Checksum 07:20:28 ada007ff1a6a: Download complete 07:20:28 7862e08f4a3e: Pull complete 07:20:28 5df492c9dc93: Download complete 07:20:29 aa269ceb94a6: Verifying Checksum 07:20:29 aa269ceb94a6: Download complete 07:20:32 5df492c9dc93: Pull complete 07:20:32 7629e6793208: Pull complete 07:20:32 4f4fb700ef54: Pull complete 07:20:32 fb5054dd5b73: Pull complete 07:20:32 eeca6798cff9: Pull complete 07:20:35 aa269ceb94a6: Pull complete 07:20:35 ada007ff1a6a: Pull complete 07:20:35 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 07:20:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 07:20:35 ---> f489d0715acc 07:20:35 Step 3/10 : ARG MAKE=make build 07:20:39 ---> Running in f685d2a3ccf6 07:20:39 Removing intermediate container f685d2a3ccf6 07:20:39 ---> cdbb6fbb7892 07:20:39 Step 4/10 : WORKDIR /device-sdk-go 07:20:39 ---> Running in 86a82008982c 07:20:39 Removing intermediate container 86a82008982c 07:20:39 ---> 5ecf1623721d 07:20:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:20:39 ---> Running in 05aa208f7b10 07:20:39 Removing intermediate container 05aa208f7b10 07:20:39 ---> a805870ca9da 07:20:39 Step 6/10 : RUN apk add --update --no-cache make git 07:20:39 ---> Running in 7c66f74a5a23 07:20:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 07:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 07:20:40 OK: 264 MiB in 52 packages 07:20:40 Removing intermediate container 7c66f74a5a23 07:20:40 ---> 5c1154463bd5 07:20:40 Step 7/10 : COPY go.mod vendor* ./ 07:20:40 ---> bcedee63680f 07:20:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:40 ---> Running in c990545d1e87 07:20:41 Still waiting to schedule task 07:20:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 07:21:37 Removing intermediate container c990545d1e87 07:21:37 ---> 6d9229bbbe56 07:21:37 Step 9/10 : COPY . . 07:21:37 ---> d0ae68b5bda9 07:21:37 Step 10/10 : RUN ${MAKE} 07:21:37 ---> Running in f95df8797d80 07:21:37 noop 07:21:37 Removing intermediate container f95df8797d80 07:21:37 ---> 6cdb497b77f1 07:21:37 Successfully built 6cdb497b77f1 07:21:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:37 + docker inspect -f . ci-base-image-x86_64 07:21:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:37 prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container 07:21:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:38 $ docker top fc99c26586a4492bfc43699825eb125e965ed66a5c3dae8bacd99d483eb2b4a6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:38 + go version 07:21:38 go version go1.21.9 linux/amd64 [Pipeline] } 07:21:38 $ docker stop --time=1 fc99c26586a4492bfc43699825eb125e965ed66a5c3dae8bacd99d483eb2b4a6 07:21:39 $ docker rm -f --volumes fc99c26586a4492bfc43699825eb125e965ed66a5c3dae8bacd99d483eb2b4a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:40 + docker inspect -f . ci-base-image-x86_64 07:21:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:40 prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container 07:21:40 $ 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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:21:40 $ docker top e98e765ee9602439583eb94541bd5b2b20c42d979461784355b248119c174ad4 -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] fileExists [Pipeline] sh 07:21:41 + make test 07:21:41 go test -race -coverprofile=coverage.out ./... 07:21:47 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:22:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4674 in /w/workspace/gexfoundry_device-sdk-go_PR-1580 [Pipeline] { [Pipeline] ws 07:22:19 Running in /w/workspace/device-sdk-go/9 [Pipeline] { [Pipeline] checkout 07:22:22 The recommended git tool is: git 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:22:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.034s coverage: 27.0% of statements 07:22:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.051s coverage: 80.0% of statements 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:22:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.047s coverage: 86.0% of statements 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:22:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:22:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.097s coverage: 71.8% of statements 07:22:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:22:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.038s coverage: 14.4% of statements 07:22:30 using credential edgex-jenkins-ssh 07:22:30 Cloning the remote Git repository 07:22:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:22:30 > git init /w/workspace/device-sdk-go/9 # timeout=10 07:22:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:22:31 > git --version # timeout=10 07:22:31 > git --version # 'git version 2.25.1' 07:22:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:22:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:22:36 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:22:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:22:36 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1580/head:refs/remotes/origin/PR-1580 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:22:36 Merging remotes/origin/main commit d3487eec0ede001a3c25d71c6388e8b50871be46 into PR head commit 223c3cf2d9106e3768d8f217f81ec937c9274de2 07:22:37 Merge succeeded, producing 223c3cf2d9106e3768d8f217f81ec937c9274de2 07:22:37 Checking out Revision 223c3cf2d9106e3768d8f217f81ec937c9274de2 (PR-1580) 07:22:36 > git config core.sparsecheckout # timeout=10 07:22:36 > git checkout -f 223c3cf2d9106e3768d8f217f81ec937c9274de2 # timeout=10 07:22:37 > git remote # timeout=10 07:22:37 > git config --get remote.origin.url # timeout=10 07:22:37 using GIT_SSH to set credentials SSH Credentials for GitHub 07:22:37 > git merge d3487eec0ede001a3c25d71c6388e8b50871be46 # timeout=10 07:22:37 > git rev-parse HEAD^{commit} # timeout=10 07:22:37 > git config core.sparsecheckout # timeout=10 07:22:37 > git checkout -f 223c3cf2d9106e3768d8f217f81ec937c9274de2 # timeout=10 07:22:41 Commit message: "Merge branch 'edgexfoundry:main' into main" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:22:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:22:42 % Total % Received % Xferd Average Speed Time Time Time Current 07:22:42 Dload Upload Total Spent Left Speed 07:22:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 100 12828 100 12828 0 0 2482 0 0:00:05 0:00:05 --:--:-- 2628 [Pipeline] sh 07:22:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:22:48 + sudo tee /etc/docker/daemon.new 07:22:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:22:48 { 07:22:48 "registry-mirrors": [ 07:22:48 "https://nexus3.edgexfoundry.org:10001" 07:22:48 ], 07:22:48 "bip": "10.250.0.254/24", 07:22:48 "hosts": [ 07:22:48 "tcp://0.0.0.0:5555", 07:22:48 "unix:///var/run/docker.sock" 07:22:48 ], 07:22:48 "mtu": 1458, 07:22:48 "selinux-enabled": true, 07:22:48 "seccomp-profile": "/etc/docker/seccomp.json" 07:22:48 } [Pipeline] sh 07:22:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:22:48 + sudo service docker restart 07:22:51 --- FAIL: Test_processDevices (20.01s) 07:22:51 --- FAIL: Test_processDevices/valid_load_devices_from_uri (10.00s) 07:22:51 devices_test.go:40: 07:22:51 Error Trace: /w/workspace/gexfoundry_device-sdk-go_PR-1580/internal/provision/devices_test.go:40 07:22:51 Error: Not equal: 07:22:51 expected: 5 07:22:51 actual : 0 07:22:51 Test: Test_processDevices/valid_load_devices_from_uri 07:22:51 FAIL 07:22:51 coverage: 44.6% of statements 07:22:51 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/provision 23.871s 07:22:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.062s coverage: 68.5% of statements 07:22:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.082s coverage: 89.2% of statements 07:22:51 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.091s coverage: 5.4% of statements 07:22:51 FAIL 07:22:51 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 07:22:51 $ docker stop --time=1 e98e765ee9602439583eb94541bd5b2b20c42d979461784355b248119c174ad4 07:22:53 $ docker rm -f --volumes e98e765ee9602439583eb94541bd5b2b20c42d979461784355b248119c174ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:53 07:22:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:22:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:22:54 latest: Pulling from edgex-lftools-log-publisher 07:22:54 5eb5b503b376: Pulling fs layer 07:22:54 5c69ac0246d0: Pulling fs layer 07:22:54 ec43610c2a17: Pulling fs layer 07:22:54 3a2ae6a8a46f: Pulling fs layer 07:22:54 33b1e0a273af: Pulling fs layer 07:22:54 5d3b04190fa2: Pulling fs layer 07:22:54 2f39f015ded8: Pulling fs layer 07:22:54 33b1e0a273af: Waiting 07:22:54 3a2ae6a8a46f: Waiting 07:22:54 5d3b04190fa2: Waiting 07:22:54 5c69ac0246d0: Verifying Checksum 07:22:54 5c69ac0246d0: Download complete 07:22:54 3a2ae6a8a46f: Verifying Checksum 07:22:54 3a2ae6a8a46f: Download complete 07:22:54 33b1e0a273af: Verifying Checksum 07:22:54 33b1e0a273af: Download complete 07:22:54 5d3b04190fa2: Verifying Checksum 07:22:54 5d3b04190fa2: Download complete 07:22:54 ec43610c2a17: Verifying Checksum 07:22:54 ec43610c2a17: Download complete 07:22:54 5eb5b503b376: Verifying Checksum 07:22:54 5eb5b503b376: Download complete 07:22:55 2f39f015ded8: Download complete 07:22:55 5eb5b503b376: Pull complete 07:22:55 5c69ac0246d0: Pull complete 07:22:56 ec43610c2a17: Pull complete 07:22:56 3a2ae6a8a46f: Pull complete 07:22:56 33b1e0a273af: Pull complete 07:22:56 5d3b04190fa2: Pull complete 07:23:00 2f39f015ded8: Pull complete 07:23:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:23:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:23:00 prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container 07:23:00 $ 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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:23:04 $ docker top 6f8f83e37e46455e2126fdaf0a1b7681a65606b082c86d778a4a0c2a77807b9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:23:05 ---> job-cost.sh 07:23:05 lf-activate-venv: SKIPPING 07:23:05 INFO: No Stack... 07:23:05 INFO: Retrieving Pricing Info for: v3-standard-8 07:23:05 INFO: Archiving Costs [Pipeline] sh 07:23:06 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/cost.csv 07:23:06 + cut -d, -f6 [Pipeline] lock 07:23:06 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] 07:23:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] did not exist. Created. 07:23:06 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:23:06 + echo total: 0.2199999988079071 [Pipeline] stash 07:23:06 Stashed 1 file(s) [Pipeline] } 07:23:06 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [Pipeline] // lock [Pipeline] } 07:23:06 $ docker stop --time=1 6f8f83e37e46455e2126fdaf0a1b7681a65606b082c86d778a4a0c2a77807b9a 07:23:07 $ docker rm -f --volumes 6f8f83e37e46455e2126fdaf0a1b7681a65606b082c86d778a4a0c2a77807b9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // script [Pipeline] configFileProvider 07:23:07 provisioning config files... [Pipeline] } [Pipeline] // withEnv 07:23:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/9@tmp/config10742814864453088942tmp [Pipeline] } [Pipeline] // stage [Pipeline] { [Pipeline] } 07:23:07 Failed in branch amd64 [Pipeline] libraryResource [Pipeline] sh 07:23:08 ---> ****-login.sh 07:23:08 nexus3.edgexfoundry.org:10001 07:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:09 Configure a credential helper to remove this warning. See 07:23:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:09 07:23:09 Login Succeeded 07:23:09 nexus3.edgexfoundry.org:10002 07:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:09 Configure a credential helper to remove this warning. See 07:23:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:09 07:23:09 Login Succeeded 07:23:09 nexus3.edgexfoundry.org:10003 07:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:09 Configure a credential helper to remove this warning. See 07:23:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:09 07:23:09 Login Succeeded 07:23:09 nexus3.edgexfoundry.org:10004 07:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:10 Configure a credential helper to remove this warning. See 07:23:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:10 07:23:10 Login Succeeded 07:23:10 ****.io 07:23:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:23:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 07:23:10 Configure a credential helper to remove this warning. See 07:23:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 07:23:10 07:23:10 Login Succeeded 07:23:10 ---> ****-login.sh ends [Pipeline] } 07:23:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:23:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:23:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 07:23:10 ========================================================= 07:23:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 07:23:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:23:11 + 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 . 07:23:11 Sending build context to Docker daemon 13.19MB 07:23:11 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 07:23:11 Step 2/10 : FROM ${BASE} AS builder 07:23:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:23:12 c6b39de5b339: Pulling fs layer 07:23:12 a69c41024577: Pulling fs layer 07:23:12 d6de4b400683: Pulling fs layer 07:23:12 35cb2a7552d0: Pulling fs layer 07:23:12 4f4fb700ef54: Pulling fs layer 07:23:12 464afbd9ba4c: Pulling fs layer 07:23:12 00f215d4a9da: Pulling fs layer 07:23:12 d496ad576159: Pulling fs layer 07:23:12 4f4fb700ef54: Waiting 07:23:12 464afbd9ba4c: Waiting 07:23:12 00f215d4a9da: Waiting 07:23:12 d496ad576159: Waiting 07:23:12 35cb2a7552d0: Waiting 07:23:12 a69c41024577: Verifying Checksum 07:23:12 a69c41024577: Download complete 07:23:12 35cb2a7552d0: Verifying Checksum 07:23:12 35cb2a7552d0: Download complete 07:23:12 4f4fb700ef54: Verifying Checksum 07:23:12 4f4fb700ef54: Download complete 07:23:12 464afbd9ba4c: Verifying Checksum 07:23:12 464afbd9ba4c: Download complete 07:23:12 c6b39de5b339: Verifying Checksum 07:23:12 c6b39de5b339: Download complete 07:23:12 d496ad576159: Verifying Checksum 07:23:12 d496ad576159: Download complete 07:23:13 c6b39de5b339: Pull complete 07:23:13 a69c41024577: Pull complete 07:23:13 d6de4b400683: Verifying Checksum 07:23:13 d6de4b400683: Download complete 07:23:14 00f215d4a9da: Verifying Checksum 07:23:14 00f215d4a9da: Download complete 07:23:27 d6de4b400683: Pull complete 07:23:27 35cb2a7552d0: Pull complete 07:23:27 4f4fb700ef54: Pull complete 07:23:27 464afbd9ba4c: Pull complete 07:23:35 00f215d4a9da: Pull complete 07:23:36 d496ad576159: Pull complete 07:23:36 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 07:23:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 07:23:36 ---> f246e2811388 07:23:36 Step 3/10 : ARG MAKE=make build 07:23:38 ---> Running in 217ba13c0d5b 07:23:38 Removing intermediate container 217ba13c0d5b 07:23:38 ---> 03572efbf911 07:23:38 Step 4/10 : WORKDIR /device-sdk-go 07:23:39 ---> Running in b1d0c547e7a5 07:23:40 Removing intermediate container b1d0c547e7a5 07:23:40 ---> d00135f10e36 07:23:40 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:23:40 ---> Running in c56eb8dc8a2f 07:23:40 Removing intermediate container c56eb8dc8a2f 07:23:40 ---> cd7f8f3f8562 07:23:40 Step 6/10 : RUN apk add --update --no-cache make git 07:23:40 ---> Running in 927c1f83a7f0 07:23:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:23:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:23:43 OK: 266 MiB in 52 packages 07:23:44 Removing intermediate container 927c1f83a7f0 07:23:44 ---> 8e0483fa80a5 07:23:44 Step 7/10 : COPY go.mod vendor* ./ 07:23:44 ---> 4c18482af3ed 07:23:44 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:23:44 ---> Running in 8478d661cccf 07:25:51 Removing intermediate container 8478d661cccf 07:25:51 ---> 08e035905164 07:25:51 Step 9/10 : COPY . . 07:25:51 ---> fe1c6fb9e198 07:25:51 Step 10/10 : RUN ${MAKE} 07:25:51 ---> Running in 6c1c0dd328ea 07:25:51 noop 07:25:51 Removing intermediate container 6c1c0dd328ea 07:25:51 ---> 0650e5e3a384 07:25:51 Successfully built 0650e5e3a384 07:25:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:51 + docker inspect -f . ci-base-image-arm64 07:25:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:52 prd-ubuntu20.04-docker-arm64-4c-16g-4674 does not seem to be running inside a container 07:25:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:25:53 $ docker top 78e4234c01a506c3a93304edd3d1b401b223f693b1596146c7a7a498f092aa5b -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:54 + go version 07:25:54 go version go1.21.9 linux/arm64 [Pipeline] } 07:25:54 $ docker stop --time=1 78e4234c01a506c3a93304edd3d1b401b223f693b1596146c7a7a498f092aa5b 07:25:55 $ docker rm -f --volumes 78e4234c01a506c3a93304edd3d1b401b223f693b1596146c7a7a498f092aa5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:56 + docker inspect -f . ci-base-image-arm64 07:25:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:25:56 prd-ubuntu20.04-docker-arm64-4c-16g-4674 does not seem to be running inside a container 07:25:56 $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:25:58 $ docker top 69efcb4660566dd69f90ffd8482402607cc8513ab23ddfe99af1e561d016ef39 -eo pid,comm [Pipeline] { [Pipeline] sh 07:25:58 + git config --global --add safe.directory /w/workspace/device-sdk-go/9 [Pipeline] fileExists [Pipeline] sh 07:25:59 + make test 07:25:59 go test -race -coverprofile=coverage.out ./... 07:26:38 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 07:30:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 07:30:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 07:30:00 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 07:30:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 07:30:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 07:30:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.126s coverage: 27.0% of statements 07:30:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.180s coverage: 80.0% of statements 07:30:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 07:30:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 07:30:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.240s coverage: 86.0% of statements 07:30:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 07:30:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.568s coverage: 71.8% of statements 07:30:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.264s coverage: 14.4% of statements 07:30:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.354s coverage: 44.6% of statements 07:30:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 07:30:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 07:30:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.337s coverage: 68.5% of statements 07:30:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.353s coverage: 89.2% of statements 07:30:33 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 07:30:34 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.243s coverage: 5.4% of statements 07:30:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:30:35 GO111MODULE=on go vet ./... 07:34:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:34:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:34:12 ./bin/test-attribution-txt.sh 07:34:12 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 07:34:12 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 07:34:12 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 07:34:12 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 07:34:12 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 07:34:12 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 07:34:12 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 07:34:12 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 07:34:12 An attribution for golang.org/x/term is missing from Attribution.txt, please add 07:34:12 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 07:34:12 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 07:34:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 07:34:12 $ docker stop --time=1 69efcb4660566dd69f90ffd8482402607cc8513ab23ddfe99af1e561d016ef39 07:34:14 $ docker rm -f --volumes 69efcb4660566dd69f90ffd8482402607cc8513ab23ddfe99af1e561d016ef39 [Pipeline] // withDockerContainer [Pipeline] sh 07:34:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:34:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:34:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:34:18 + ls -al . 07:34:18 total 372 07:34:18 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 07:26 . 07:34:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 07:22 .. 07:34:18 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 07:22 .dockerignore 07:34:18 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 07:22 .git 07:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 07:22 .github 07:34:18 -rw-rw-r-- 1 jenkins jenkins 137 Jul 1 07:22 .gitignore 07:34:18 -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 07:22 .golangci.yml 07:34:18 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 1 07:22 CHANGELOG.md 07:34:18 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 07:22 GOVERNANCE.md 07:34:18 -rw-rw-r-- 1 jenkins jenkins 885 Jul 1 07:22 Jenkinsfile 07:34:18 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 07:22 LICENSE 07:34:18 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 1 07:22 Makefile 07:34:18 -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 07:22 OWNERS.md 07:34:18 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 1 07:22 README.md 07:34:18 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 07:20 VERSION 07:34:18 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 07:22 bin 07:34:18 -rw-r--r-- 1 jenkins jenkins 122665 Jul 1 07:30 coverage.out 07:34:18 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 07:22 example 07:34:18 -rw-rw-r-- 1 jenkins jenkins 7101 Jul 1 07:22 go.mod 07:34:18 -rw-rw-r-- 1 jenkins jenkins 102001 Jul 1 07:22 go.sum 07:34:18 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 07:22 internal 07:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 07:22 openapi 07:34:18 drwxrwxr-x 6 jenkins jenkins 4096 Jul 1 07:22 pkg 07:34:18 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 07:22 snap 07:34:18 -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 07:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:34:19 + 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=223c3cf2d9106e3768d8f217f81ec937c9274de2 --label arch=arm64 --label version=0.0.0 . 07:34:19 Sending build context to Docker daemon 13.31MB 07:34:19 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 07:34:19 Step 2/24 : FROM ${BASE} AS builder 07:34:19 ---> 0650e5e3a384 07:34:19 Step 3/24 : ARG MAKE=make build 07:34:19 ---> Running in a3dbe4c3a900 07:34:20 Removing intermediate container a3dbe4c3a900 07:34:20 ---> c4ce5eac6e11 07:34:20 Step 4/24 : WORKDIR /device-sdk-go 07:34:20 ---> Running in ab486640d125 07:34:20 Removing intermediate container ab486640d125 07:34:20 ---> 6f398c65a7b6 07:34:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 07:34:20 ---> Running in 5c94ec1cac7c 07:34:20 Removing intermediate container 5c94ec1cac7c 07:34:20 ---> 9af4671f968c 07:34:20 Step 6/24 : RUN apk add --update --no-cache make git 07:34:21 ---> Running in e887dbf11db4 07:34:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:34:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:34:23 OK: 266 MiB in 52 packages 07:34:24 Removing intermediate container e887dbf11db4 07:34:24 ---> 62250dcce5f9 07:34:24 Step 7/24 : COPY go.mod vendor* ./ 07:34:24 ---> 66c95dcf7cb1 07:34:24 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:34:24 ---> Running in da7e0a8d33f9 07:34:26 Removing intermediate container da7e0a8d33f9 07:34:26 ---> 479c1d398172 07:34:26 Step 9/24 : COPY . . 07:34:28 ---> ff6840f884c5 07:34:28 Step 10/24 : RUN ${MAKE} 07:34:28 ---> Running in 9b25781af875 07:34:29 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 07:37:51 Removing intermediate container 9b25781af875 07:37:51 ---> f8df47123a3c 07:37:51 Step 11/24 : FROM alpine:3.18 07:37:51 3.18: Pulling from library/alpine 07:37:51 5c905c7ebe2f: Pulling fs layer 07:37:51 5c905c7ebe2f: Verifying Checksum 07:37:51 5c905c7ebe2f: Download complete 07:37:51 5c905c7ebe2f: Pull complete 07:37:51 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 07:37:51 Status: Downloaded newer image for alpine:3.18 07:37:51 ---> dec292d02e07 07:37:51 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:37:51 ---> Running in f49190075e62 07:37:51 Removing intermediate container f49190075e62 07:37:51 ---> 63d4fb80782b 07:37:51 Step 13/24 : RUN apk add --update --no-cache dumb-init 07:37:51 ---> Running in 2b9298b69889 07:37:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:37:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:37:51 (1/1) Installing dumb-init (1.2.5-r2) 07:37:51 Executing busybox-1.36.1-r7.trigger 07:37:51 OK: 8 MiB in 16 packages 07:37:51 Removing intermediate container 2b9298b69889 07:37:51 ---> c75642832414 07:37:51 Step 14/24 : RUN apk --no-cache upgrade 07:37:51 ---> Running in d661c3fc116e 07:37:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 07:37:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 07:37:52 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 07:37:53 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 07:37:53 OK: 8 MiB in 16 packages 07:37:53 Removing intermediate container d661c3fc116e 07:37:53 ---> a3e93303400c 07:37:53 Step 15/24 : WORKDIR / 07:37:53 ---> Running in 58340d0f5932 07:37:54 Removing intermediate container 58340d0f5932 07:37:54 ---> ce0b06542df7 07:37:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:37:54 ---> 1e3b3b69f0b8 07:37:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:37:56 ---> ad116abd09ee 07:37:56 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:37:57 ---> 8fdae020067e 07:37:57 Step 19/24 : EXPOSE 59999 07:37:57 ---> Running in ecd8aa8fd30a 07:37:57 Removing intermediate container ecd8aa8fd30a 07:37:57 ---> 8f36f089a037 07:37:57 Step 20/24 : ENTRYPOINT ["/device-simple"] 07:37:57 ---> Running in 5f7e6d52b7d5 07:37:57 Removing intermediate container 5f7e6d52b7d5 07:37:57 ---> c6865a7571d1 07:37:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 07:37:57 ---> Running in d4b90c313ce9 07:37:58 Removing intermediate container d4b90c313ce9 07:37:58 ---> f52032c35584 07:37:58 Step 22/24 : LABEL arch=arm64 07:37:58 ---> Running in f7c3a9df6dd3 07:37:58 Removing intermediate container f7c3a9df6dd3 07:37:58 ---> c2102a6c6896 07:37:58 Step 23/24 : LABEL git_sha=223c3cf2d9106e3768d8f217f81ec937c9274de2 07:37:58 ---> Running in e8b670afb892 07:37:58 Removing intermediate container e8b670afb892 07:37:58 ---> 809429e94ec2 07:37:58 Step 24/24 : LABEL version=0.0.0 07:37:58 ---> Running in 9d8fbcb74a35 07:37:59 Removing intermediate container 9d8fbcb74a35 07:37:59 ---> b12ac96a87ed 07:37:59 [Warning] One or more build-args [ARCH] were not consumed 07:37:59 Successfully built b12ac96a87ed 07:37:59 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 07:38:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:38:00 07:38:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:38:00 arm64: Pulling from edgex-lftools-log-publisher 07:38:00 8998bd30e6a1: Pulling fs layer 07:38:00 04944245beec: Pulling fs layer 07:38:00 699f458cf7ca: Pulling fs layer 07:38:00 765212b225bb: Pulling fs layer 07:38:00 f23df028b6ca: Pulling fs layer 07:38:00 d65c8cfc05b1: Pulling fs layer 07:38:00 2437ff75d9bd: Pulling fs layer 07:38:00 765212b225bb: Waiting 07:38:00 f23df028b6ca: Waiting 07:38:00 2437ff75d9bd: Waiting 07:38:00 d65c8cfc05b1: Waiting 07:38:00 04944245beec: Verifying Checksum 07:38:00 04944245beec: Download complete 07:38:00 765212b225bb: Verifying Checksum 07:38:00 765212b225bb: Download complete 07:38:00 f23df028b6ca: Verifying Checksum 07:38:00 f23df028b6ca: Download complete 07:38:00 d65c8cfc05b1: Verifying Checksum 07:38:00 d65c8cfc05b1: Download complete 07:38:00 699f458cf7ca: Verifying Checksum 07:38:00 699f458cf7ca: Download complete 07:38:01 8998bd30e6a1: Verifying Checksum 07:38:01 8998bd30e6a1: Download complete 07:38:03 2437ff75d9bd: Verifying Checksum 07:38:03 2437ff75d9bd: Download complete 07:38:05 8998bd30e6a1: Pull complete 07:38:06 04944245beec: Pull complete 07:38:07 699f458cf7ca: Pull complete 07:38:07 765212b225bb: Pull complete 07:38:08 f23df028b6ca: Pull complete 07:38:08 d65c8cfc05b1: Pull complete 07:38:27 2437ff75d9bd: Pull complete 07:38:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:38:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:38:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:27 prd-ubuntu20.04-docker-arm64-4c-16g-4674 does not seem to be running inside a container 07:38:27 $ 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/9 -v /w/workspace/device-sdk-go/9:/w/workspace/device-sdk-go/9:rw,z -v /w/workspace/device-sdk-go/9@tmp:/w/workspace/device-sdk-go/9@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:38:29 $ docker top 0158051f6187d235351dc4a078118c95d2b19e17ea634f08be014ef462819c73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:38:30 ---> job-cost.sh 07:38:30 lf-activate-venv: SKIPPING 07:38:30 INFO: No Stack... 07:38:31 INFO: Retrieving Pricing Info for: v3-standard-4 07:38:31 INFO: Archiving Costs [Pipeline] sh 07:38:32 + cat /w/workspace/device-sdk-go/9/archives/cost.csv 07:38:32 + cut -d, -f6 [Pipeline] lock 07:38:32 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] 07:38:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] did not exist. Created. 07:38:32 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:38:32 /w/workspace/device-sdk-go/9@tmp/durable-bc52064c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:38:33 + echo total: 0.10999999940395355 [Pipeline] stash 07:38:33 Warning: overwriting stash ‘stack-cost’ 07:38:33 Stashed 1 file(s) [Pipeline] } 07:38:33 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1580-9-stack-cost] [Pipeline] // lock [Pipeline] } 07:38:33 $ docker stop --time=1 0158051f6187d235351dc4a078118c95d2b19e17ea634f08be014ef462819c73 07:38:34 $ docker rm -f --volumes 0158051f6187d235351dc4a078118c95d2b19e17ea634f08be014ef462819c73 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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 07:38:36 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives ] 07:38:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 07:38:36 total 16 07:38:36 drwxr-xr-x 3 root root 4096 Jul 1 07:23 . 07:38:36 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 07:23 .. 07:38:36 drwxr-xr-x 2 root root 4096 Jul 1 07:23 cost 07:38:36 -rw-r--r-- 1 root root 86 Jul 1 07:23 cost.csv 07:38:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 07:38:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives 07:38:36 total 16 07:38:36 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 07:23 . 07:38:36 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 07:23 .. 07:38:36 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 07:23 cost 07:38:36 -rw-r--r-- 1 jenkins jenkins 86 Jul 1 07:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:38:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:38:37 ---> package-listing.sh 07:38:37 ++ facter osfamily 07:38:37 ++ tr '[:upper:]' '[:lower:]' 07:38:37 + OS_FAMILY=debian 07:38:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1580 07:38:37 + START_PACKAGES=/tmp/packages_start.txt 07:38:37 + END_PACKAGES=/tmp/packages_end.txt 07:38:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:38:37 + PACKAGES=/tmp/packages_start.txt 07:38:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' 07:38:37 + PACKAGES=/tmp/packages_end.txt 07:38:37 + case "${OS_FAMILY}" in 07:38:37 + dpkg -l 07:38:37 + grep '^ii' 07:38:37 + '[' -f /tmp/packages_start.txt ']' 07:38:37 + '[' -f /tmp/packages_end.txt ']' 07:38:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:38:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1580 ']' 07:38:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ 07:38:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1580/archives/ [Pipeline] echo 07:38:37 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-1580/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:38:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:38:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:38:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:38:38 prd-ubuntu20.04-docker-8c-8g-4673 does not seem to be running inside a container 07:38:38 $ 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-1580/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-1580 -v /w/workspace/gexfoundry_device-sdk-go_PR-1580:/w/workspace/gexfoundry_device-sdk-go_PR-1580:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:38:38 $ docker top 390fcafea507593bfe680266da33b6fec7902cc25bac210ad1ceaa82cd14ce3f -eo pid,comm [Pipeline] { [Pipeline] sh 07:38:38 + touch /tmp/pre-build-complete [Pipeline] sh 07:38:39 + mkdir -p /var/log/sysstat [Pipeline] sh 07:38:39 + ls /var/log/sa-host 07:38:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:38:39 provisioning config files... 07:38:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1580@tmp/config344670073338511020tmp [Pipeline] { [Pipeline] echo 07:38:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:38:39 ---> create-netrc.sh [Pipeline] } 07:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:38:40 ---> python-tools-install.sh [Pipeline] echo 07:38:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:38:40 ---> sudo-logs.sh 07:38:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:38:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:38:40 ---> job-cost.sh 07:38:40 lf-activate-venv: SKIPPING 07:38:40 DEBUG: total: 0.2199999988079071 07:38:40 INFO: Retrieving Stack Cost... 07:38:41 INFO: Retrieving Pricing Info for: v3-standard-8 07:38:41 INFO: Archiving Costs [Pipeline] echo 07:38:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:38:41 ---> logs-deploy.sh 07:38:41 lf-activate-venv: SKIPPING 07:38:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1580/9 07:38:41 INFO: archiving workspace using pattern(s): 07:38:42 Archives upload complete. 07:38:42 INFO: archiving logs to Nexus