Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6022b55aa28b84bb084135b90188b1b6f409b14d+97b36af7baff2da76e29dc2359062fa76ab64ed3 (b4c2bfdb6446cf7fc8c88eec0b2c6dacea59be30) 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-ssh13089982548637488555.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3175554988814211738.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1575/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-1575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15141107335330405180.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh4087288944795018692.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-1575/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-1575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh867223480265537649.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-295 in /w/workspace/gexfoundry_device-sdk-go_PR-1575 [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-1575 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 6022b55aa28b84bb084135b90188b1b6f409b14d Merge succeeded, producing 52e6da81349bfd285acd743fd724851427ed4430 Checking out Revision 52e6da81349bfd285acd743fd724851427ed4430 (PR-1575) > 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/1575/head:refs/remotes/origin/PR-1575 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6022b55aa28b84bb084135b90188b1b6f409b14d # 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 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 52e6da81349bfd285acd743fd724851427ed4430 # timeout=10 Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:21 ========================================================= 18:42:21 EdgeX Global Pipelines Version Info 18:42:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:21 ------------------- 18:42:21 stable info: 18:42:21 ------------------- 18:42:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:21 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:42:21 Message: update stable to v1.0.258 18:42:22 ------------------- 18:42:22 experimental info: 18:42:22 ------------------- 18:42:22 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:22 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 18:42:22 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1575 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1575 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1575 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 52e6da81349bfd285acd743fd724851427ed4430 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 52e6da8 [Pipeline] echo 18:42:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:23 provisioning config files... 18:42:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config13798393878305717782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:23 ---> ****-login.sh 18:42:23 nexus3.edgexfoundry.org:10001 18:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:24 Configure a credential helper to remove this warning. See 18:42:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:24 18:42:24 Login Succeeded 18:42:24 nexus3.edgexfoundry.org:10002 18:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:24 Configure a credential helper to remove this warning. See 18:42:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:24 18:42:24 Login Succeeded 18:42:24 nexus3.edgexfoundry.org:10003 18:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:24 Configure a credential helper to remove this warning. See 18:42:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:24 18:42:24 Login Succeeded 18:42:24 nexus3.edgexfoundry.org:10004 18:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:24 Configure a credential helper to remove this warning. See 18:42:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:24 18:42:24 Login Succeeded 18:42:24 ****.io 18:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:24 Configure a credential helper to remove this warning. See 18:42:24 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:24 18:42:24 Login Succeeded 18:42:24 ---> ****-login.sh ends [Pipeline] } 18:42:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:25 + git rev-list -1 --merges 52e6da81349bfd285acd743fd724851427ed4430~1..52e6da81349bfd285acd743fd724851427ed4430 [Pipeline] echo 18:42:25 -----------> git rev-list -1 --merges 52e6da81349bfd285acd743fd724851427ed4430~1..52e6da81349bfd285acd743fd724851427ed4430 52e6da81349bfd285acd743fd724851427ed4430 18:42:25 52e6da81349bfd285acd743fd724851427ed4430 [false] [Pipeline] sh 18:42:25 + git log --format=format:%s -1 52e6da81349bfd285acd743fd724851427ed4430 [Pipeline] echo 18:42:25 ========================================================= 18:42:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:25 + git log --format=format:%s -1 52e6da81349bfd285acd743fd724851427ed4430 [Pipeline] echo 18:42:25 [semverPrep] GIT_COMMIT: 52e6da81349bfd285acd743fd724851427ed4430, Commit Message: Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD [Pipeline] echo 18:42:25 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:26 + grep -v github /etc/ssh/ssh_known_hosts 18:42:26 + [ -e /tmp/ssh_known_hosts ] 18:42:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:26 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:26 sudo tee -a /etc/ssh/ssh_known_hosts 18:42:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:26 18:42:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:27 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:27 b85a868b505f: Pulling fs layer 18:42:27 e2be974225ed: Pulling fs layer 18:42:27 339a4e72a1f5: Pulling fs layer 18:42:27 988bab9f4d93: Pulling fs layer 18:42:27 1469e6f7b9e6: Pulling fs layer 18:42:27 eaf3925da568: Pulling fs layer 18:42:27 bab4dde63d76: Pulling fs layer 18:42:27 bde34c3a00c8: Pulling fs layer 18:42:27 b352a97aabf1: Pulling fs layer 18:42:27 4872d77fe225: Pulling fs layer 18:42:27 5851b861e8e6: Pulling fs layer 18:42:27 bab4dde63d76: Waiting 18:42:27 bde34c3a00c8: Waiting 18:42:27 988bab9f4d93: Waiting 18:42:27 5851b861e8e6: Waiting 18:42:27 1469e6f7b9e6: Waiting 18:42:27 b352a97aabf1: Waiting 18:42:27 4872d77fe225: Waiting 18:42:27 e2be974225ed: Verifying Checksum 18:42:27 e2be974225ed: Download complete 18:42:27 988bab9f4d93: Verifying Checksum 18:42:27 988bab9f4d93: Download complete 18:42:27 1469e6f7b9e6: Verifying Checksum 18:42:27 1469e6f7b9e6: Download complete 18:42:27 339a4e72a1f5: Verifying Checksum 18:42:27 339a4e72a1f5: Download complete 18:42:27 eaf3925da568: Verifying Checksum 18:42:27 eaf3925da568: Download complete 18:42:27 bde34c3a00c8: Download complete 18:42:27 b352a97aabf1: Verifying Checksum 18:42:27 b352a97aabf1: Download complete 18:42:27 4872d77fe225: Verifying Checksum 18:42:27 4872d77fe225: Download complete 18:42:27 5851b861e8e6: Verifying Checksum 18:42:27 5851b861e8e6: Download complete 18:42:27 b85a868b505f: Verifying Checksum 18:42:27 b85a868b505f: Download complete 18:42:27 bab4dde63d76: Verifying Checksum 18:42:27 bab4dde63d76: Download complete 18:42:28 b85a868b505f: Pull complete 18:42:28 e2be974225ed: Pull complete 18:42:29 339a4e72a1f5: Pull complete 18:42:29 988bab9f4d93: Pull complete 18:42:29 1469e6f7b9e6: Pull complete 18:42:29 eaf3925da568: Pull complete 18:42:31 bab4dde63d76: Pull complete 18:42:31 bde34c3a00c8: Pull complete 18:42:31 b352a97aabf1: Pull complete 18:42:31 4872d77fe225: Pull complete 18:42:31 5851b861e8e6: Pull complete 18:42:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:31 prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container 18:42:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:42:36 $ docker top 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a -eo pid,comm 18:42:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:42:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:36 [ssh-agent] Looking for ssh-agent implementation... 18:42:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:36 $ docker exec 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a ssh-agent 18:42:36 SSH_AUTH_SOCK=/tmp/ssh-iUCcaSpulpdg/agent.32 18:42:36 SSH_AGENT_PID=38 18:42:36 Running ssh-add (command line suppressed) 18:42:36 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_11803250040573510397.key (/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_11803250040573510397.key) 18:42:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:37 + git tag --points-at HEAD [Pipeline] } 18:42:37 $ docker exec --env ******** --env ******** 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a ssh-agent -k 18:42:37 unset SSH_AUTH_SOCK; 18:42:37 unset SSH_AGENT_PID; 18:42:37 echo Agent pid 38 killed; 18:42:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:37 [ssh-agent] Looking for ssh-agent implementation... 18:42:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:37 $ docker exec 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a ssh-agent 18:42:37 SSH_AUTH_SOCK=/tmp/ssh-wlORluukBHyQ/agent.71 18:42:37 SSH_AGENT_PID=77 18:42:37 Running ssh-add (command line suppressed) 18:42:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_16071005362349786286.key (/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/private_key_16071005362349786286.key) 18:42:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:37 + git semver init 18:42:38 2024-05-16 18:42:38,125 [run_init] DEBUG init version:0.0.0 force:False 18:42:38 2024-05-16 18:42:38,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver 18:42:38 2024-05-16 18:42:38,127 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver 18:42:38 2024-05-16 18:42:38,128 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1575, universal_newlines=False, shell=None, istream=None) 18:42:39 2024-05-16 18:42:39,422 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.git/info/exclude 18:42:39 2024-05-16 18:42:39,423 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver/PR-1575 with force:False 18:42:39 2024-05-16 18:42:39,423 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver/PR-1575 18:42:39 2024-05-16 18:42:39,428 [execute] INFO git cat-file --batch-check 18:42:39 2024-05-16 18:42:39,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver, universal_newlines=False, shell=None, istream=) 18:42:39 2024-05-16 18:42:39,435 [execute] INFO git cat-file --batch 18:42:39 2024-05-16 18:42:39,435 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver, universal_newlines=False, shell=None, istream=) 18:42:39 2024-05-16 18:42:39,441 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1575/.semver/PR-1575 18:42:39 0.0.0 [Pipeline] } 18:42:39 $ docker exec --env ******** --env ******** 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a ssh-agent -k 18:42:39 unset SSH_AUTH_SOCK; 18:42:39 unset SSH_AGENT_PID; 18:42:39 echo Agent pid 77 killed; 18:42:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:40 + git semver [Pipeline] } 18:42:40 $ docker stop --time=1 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a 18:42:41 $ docker rm -f --volumes 00789d1656a97b2a2ec506df025065e6d4cfaa171a3d983f4e6246ce03ff6d0a [Pipeline] // withDockerContainer [Pipeline] sh 18:42:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:42 Stashed 1 file(s) [Pipeline] echo 18:42:42 [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 18:42:42 provisioning config files... 18:42:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config6434245411087696475tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:42 ---> ****-login.sh 18:42:42 nexus3.edgexfoundry.org:10001 18:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:42 Configure a credential helper to remove this warning. See 18:42:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:42 18:42:42 Login Succeeded 18:42:42 nexus3.edgexfoundry.org:10002 18:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:42 Configure a credential helper to remove this warning. See 18:42:42 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:42 18:42:42 Login Succeeded 18:42:42 nexus3.edgexfoundry.org:10003 18:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:43 Configure a credential helper to remove this warning. See 18:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:43 18:42:43 Login Succeeded 18:42:43 nexus3.edgexfoundry.org:10004 18:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:43 Configure a credential helper to remove this warning. See 18:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:43 18:42:43 Login Succeeded 18:42:43 ****.io 18:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:42:43 Configure a credential helper to remove this warning. See 18:42:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:42:43 18:42:43 Login Succeeded 18:42:43 ---> ****-login.sh ends [Pipeline] } 18:42:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:42:43 ========================================================= 18:42:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:42:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:44 + 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 . 18:42:44 Sending build context to Docker daemon 25.72MB 18:42:44 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:42:44 Step 2/10 : FROM ${BASE} AS builder 18:42:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:44 619be1103602: Pulling fs layer 18:42:44 7862e08f4a3e: Pulling fs layer 18:42:44 5df492c9dc93: Pulling fs layer 18:42:44 7629e6793208: Pulling fs layer 18:42:44 4f4fb700ef54: Pulling fs layer 18:42:44 fb5054dd5b73: Pulling fs layer 18:42:44 eeca6798cff9: Pulling fs layer 18:42:44 aa269ceb94a6: Pulling fs layer 18:42:44 ada007ff1a6a: Pulling fs layer 18:42:44 fb5054dd5b73: Waiting 18:42:44 7629e6793208: Waiting 18:42:44 4f4fb700ef54: Waiting 18:42:44 ada007ff1a6a: Waiting 18:42:44 eeca6798cff9: Waiting 18:42:44 aa269ceb94a6: Waiting 18:42:44 7862e08f4a3e: Verifying Checksum 18:42:44 7862e08f4a3e: Download complete 18:42:44 7629e6793208: Download complete 18:42:44 4f4fb700ef54: Verifying Checksum 18:42:44 4f4fb700ef54: Download complete 18:42:44 fb5054dd5b73: Download complete 18:42:44 619be1103602: Verifying Checksum 18:42:44 619be1103602: Download complete 18:42:44 eeca6798cff9: Verifying Checksum 18:42:44 eeca6798cff9: Download complete 18:42:44 619be1103602: Pull complete 18:42:44 ada007ff1a6a: Verifying Checksum 18:42:44 ada007ff1a6a: Download complete 18:42:45 7862e08f4a3e: Pull complete 18:42:45 5df492c9dc93: Verifying Checksum 18:42:45 5df492c9dc93: Download complete 18:42:45 aa269ceb94a6: Verifying Checksum 18:42:45 aa269ceb94a6: Download complete 18:42:48 5df492c9dc93: Pull complete 18:42:48 7629e6793208: Pull complete 18:42:48 4f4fb700ef54: Pull complete 18:42:48 fb5054dd5b73: Pull complete 18:42:48 eeca6798cff9: Pull complete 18:42:51 aa269ceb94a6: Pull complete 18:42:51 ada007ff1a6a: Pull complete 18:42:51 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 18:42:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:42:51 ---> f489d0715acc 18:42:51 Step 3/10 : ARG MAKE=make build 18:42:57 Still waiting to schedule task 18:42:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:42:59 ---> Running in e8f4f5d90954 18:42:59 Removing intermediate container e8f4f5d90954 18:42:59 ---> 346d026a76ac 18:42:59 Step 4/10 : WORKDIR /device-sdk-go 18:42:59 ---> Running in 9d1201366023 18:43:00 Removing intermediate container 9d1201366023 18:43:00 ---> 2d1af1684af9 18:43:00 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:00 ---> Running in 2fdb59d261c5 18:43:00 Removing intermediate container 2fdb59d261c5 18:43:00 ---> 2e69ecd16544 18:43:00 Step 6/10 : RUN apk add --update --no-cache make git 18:43:00 ---> Running in 688bfa7d0849 18:43:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:43:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:43:04 OK: 264 MiB in 52 packages 18:43:04 Removing intermediate container 688bfa7d0849 18:43:04 ---> bc8b31db194b 18:43:04 Step 7/10 : COPY go.mod vendor* ./ 18:43:04 ---> 762a3b5b9b19 18:43:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:04 ---> Running in c9fdf14a1403 18:44:01 Removing intermediate container c9fdf14a1403 18:44:01 ---> fa240bde99ec 18:44:01 Step 9/10 : COPY . . 18:44:01 ---> 744955f193bb 18:44:01 Step 10/10 : RUN ${MAKE} 18:44:01 ---> Running in 15613fac1640 18:44:01 noop 18:44:01 Removing intermediate container 15613fac1640 18:44:01 ---> eed19dbf620a 18:44:01 Successfully built eed19dbf620a 18:44:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:01 + docker inspect -f . ci-base-image-x86_64 18:44:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:01 prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container 18:44:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:44:02 $ docker top d9434cef08073ea17a554e3b27d7357b686dbddd300167e06b8f2298ffefa11c -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:02 + go version 18:44:02 go version go1.21.9 linux/amd64 [Pipeline] } 18:44:02 $ docker stop --time=1 d9434cef08073ea17a554e3b27d7357b686dbddd300167e06b8f2298ffefa11c 18:44:03 $ docker rm -f --volumes d9434cef08073ea17a554e3b27d7357b686dbddd300167e06b8f2298ffefa11c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:04 + docker inspect -f . ci-base-image-x86_64 18:44:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:04 prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container 18:44:04 $ 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-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:44:04 $ docker top 3e0fb8b0c58712d8e91b02a462a3c4cb51466c8cdb51370df64c61bf2e9baadb -eo pid,comm [Pipeline] { [Pipeline] sh 18:44:04 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1575 [Pipeline] fileExists [Pipeline] sh 18:44:05 + make test 18:44:05 go test -race -coverprofile=coverage.out ./... 18:44:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:44:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-299 in /w/workspace/gexfoundry_device-sdk-go_PR-1575 [Pipeline] { [Pipeline] ws 18:44:32 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 18:44:33 The recommended git tool is: git 18:44:38 using credential edgex-jenkins-ssh 18:44:38 Cloning the remote Git repository 18:44:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:44:38 > git init /w/workspace/device-sdk-go/2 # timeout=10 18:44:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:39 > git --version # timeout=10 18:44:39 > git --version # 'git version 2.25.1' 18:44:39 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:44:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:44:43 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1575/head:refs/remotes/origin/PR-1575 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:44:44 Merging remotes/origin/main commit 97b36af7baff2da76e29dc2359062fa76ab64ed3 into PR head commit 6022b55aa28b84bb084135b90188b1b6f409b14d 18:44:44 Merge succeeded, producing 03d2350f6a220024c358480ab0ab11dc2f4c9832 18:44:44 Checking out Revision 03d2350f6a220024c358480ab0ab11dc2f4c9832 (PR-1575) 18:44:44 > git config core.sparsecheckout # timeout=10 18:44:44 > git checkout -f 6022b55aa28b84bb084135b90188b1b6f409b14d # timeout=10 18:44:44 > git remote # timeout=10 18:44:44 > git config --get remote.origin.url # timeout=10 18:44:44 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:44 > git merge 97b36af7baff2da76e29dc2359062fa76ab64ed3 # timeout=10 18:44:44 > git rev-parse HEAD^{commit} # timeout=10 18:44:44 > git config core.sparsecheckout # timeout=10 18:44:44 > git checkout -f 03d2350f6a220024c358480ab0ab11dc2f4c9832 # timeout=10 18:44:48 Commit message: "Merge commit '97b36af7baff2da76e29dc2359062fa76ab64ed3' into HEAD" 18:44:48 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:50 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:50 Dload Upload Total Spent Left Speed 18:44:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:44:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.048s coverage: 27.6% of statements 18:44:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.060s coverage: 81.5% of statements 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:44:50 --- FAIL: TestAddReadingTags (0.00s) 18:44:50 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 18:44:50 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 18:44:50 18:44:50 goroutine 45 [running]: 18:44:50 testing.tRunner.func1.2({0x10b3340, 0xc0003ec300}) 18:44:50 /usr/local/go/src/testing/testing.go:1545 +0x3f7 18:44:50 testing.tRunner.func1() 18:44:50 /usr/local/go/src/testing/testing.go:1548 +0x716 18:44:50 panic({0x10b3340?, 0xc0003ec300?}) 18:44:50 /usr/local/go/src/runtime/panic.go:920 +0x270 18:44:50 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000f1100) 18:44:50 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 18:44:50 github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11aa9e0, 0x11}, {0x11aa9e0, 0x11}, 0xc0004d7660) 18:44:50 /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 18:44:50 github.com/edgexfoundry/device-sdk-go/v3/internal/common.TestAddReadingTags(0x0?) 18:44:50 /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/common/utils_test.go:275 +0x51 18:44:50 testing.tRunner(0xc0002b4b60, 0x11f56f0) 18:44:50 /usr/local/go/src/testing/testing.go:1595 +0x262 18:44:50 created by testing.(*T).Run in goroutine 1 18:44:50 /usr/local/go/src/testing/testing.go:1648 +0x846 18:44:50 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.066s 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:44:50 --- FAIL: TestRestController_GetCommand (0.00s) 18:44:50 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 18:44:50 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 18:44:50 18:44:50 goroutine 7 [running]: 18:44:50 testing.tRunner.func1.2({0x1960840, 0xc0002fce40}) 18:44:50 /usr/local/go/src/testing/testing.go:1545 +0x3f7 18:44:50 testing.tRunner.func1() 18:44:50 /usr/local/go/src/testing/testing.go:1548 +0x716 18:44:50 panic({0x1960840?, 0xc0002fce40?}) 18:44:50 /usr/local/go/src/runtime/panic.go:920 +0x270 18:44:50 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc000133270) 18:44:50 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 18:44:50 github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x1b687f9, 0xc}, {0x1b687f9, 0xc}, 0xc000349340) 18:44:50 /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 18:44:50 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http.TestRestController_GetCommand(0x0?) 18:44:50 /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/controller/http/command_test.go:220 +0x5d 18:44:50 testing.tRunner(0xc0005831e0, 0x1be76d8) 18:44:50 /usr/local/go/src/testing/testing.go:1595 +0x262 18:44:50 created by testing.(*T).Run in goroutine 1 18:44:50 /usr/local/go/src/testing/testing.go:1648 +0x846 18:44:50 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.072s 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:44:50 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:44:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.063s coverage: 14.4% of statements 18:44:50 --- FAIL: Test_processDevices (0.00s) 18:44:50 --- FAIL: Test_processDevices/valid_load_device_from_file (0.00s) 18:44:50 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 18:44:50 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 18:44:50 18:44:50 goroutine 65 [running]: 18:44:50 testing.tRunner.func1.2({0x10b53c0, 0xc000528b10}) 18:44:50 /usr/local/go/src/testing/testing.go:1545 +0x3f7 18:44:50 testing.tRunner.func1() 18:44:50 /usr/local/go/src/testing/testing.go:1548 +0x716 18:44:50 panic({0x10b53c0?, 0xc000528b10?}) 18:44:50 /usr/local/go/src/runtime/panic.go:920 +0x270 18:44:50 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000bd518) 18:44:50 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 18:44:50 github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11acef4, 0x11}, {0x11acef4, 0x11}, 0xc000522320) 18:44:50 /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 18:44:50 github.com/edgexfoundry/device-sdk-go/v3/internal/provision.Test_processDevices.func1(0x0?) 18:44:50 /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/provision/devices_test.go:37 +0x7f 18:44:50 testing.tRunner(0xc0006a9520, 0xc0005206d0) 18:44:50 /usr/local/go/src/testing/testing.go:1595 +0x262 18:44:50 created by testing.(*T).Run in goroutine 64 18:44:50 /usr/local/go/src/testing/testing.go:1648 +0x846 18:44:50 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.055s 18:44:50 --- FAIL: TestCommandValuesToEventDTO_ReadingUnits (0.00s) 18:44:50 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 18:44:50 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 18:44:50 18:44:50 goroutine 82 [running]: 18:44:50 testing.tRunner.func1.2({0x10c2a60, 0xc0003185a0}) 18:44:50 /usr/local/go/src/testing/testing.go:1545 +0x3f7 18:44:50 testing.tRunner.func1() 18:44:50 /usr/local/go/src/testing/testing.go:1548 +0x716 18:44:50 panic({0x10c2a60?, 0xc0003185a0?}) 18:44:50 /usr/local/go/src/runtime/panic.go:920 +0x270 18:44:50 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000174e0) 18:44:50 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0x89 18:44:50 github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x11ba70e, 0x11}, {0x11ba70e, 0x11}, 0xc000602220) 18:44:50 /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/cache/init.go:22 +0xa5 18:44:50 github.com/edgexfoundry/device-sdk-go/v3/internal/transformer.TestCommandValuesToEventDTO_ReadingUnits(0x0?) 18:44:50 /w/workspace/gexfoundry_device-sdk-go_PR-1575/internal/transformer/transform_test.go:156 +0x50 18:44:50 testing.tRunner(0xc000338000, 0x12068b8) 18:44:50 /usr/local/go/src/testing/testing.go:1595 +0x262 18:44:50 created by testing.(*T).Run in goroutine 1 18:44:50 /usr/local/go/src/testing/testing.go:1648 +0x846 18:44:50 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.044s 18:44:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.117s coverage: 89.2% of statements 18:44:50 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.065s coverage: 5.5% of statements 18:44:50 FAIL 18:44:50 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 18:44:50 $ docker stop --time=1 3e0fb8b0c58712d8e91b02a462a3c4cb51466c8cdb51370df64c61bf2e9baadb 18:44:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:44:50 + sudo tee /etc/docker/daemon.new 18:44:50 { 18:44:50 "registry-mirrors": [ 18:44:50 "https://nexus3.edgexfoundry.org:10001" 18:44:50 ], 18:44:50 "bip": "10.250.0.254/24", 18:44:50 "hosts": [ 18:44:50 "tcp://0.0.0.0:5555", 18:44:50 "unix:///var/run/docker.sock" 18:44:50 ], 18:44:50 "mtu": 1458, 18:44:50 "selinux-enabled": true, 18:44:50 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:50 } 18:44:52 $ docker rm -f --volumes 3e0fb8b0c58712d8e91b02a462a3c4cb51466c8cdb51370df64c61bf2e9baadb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [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 18:44:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:53 18:44:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:53 + sudo service docker restart 18:44:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:53 latest: Pulling from edgex-lftools-log-publisher 18:44:53 5eb5b503b376: Pulling fs layer 18:44:53 5c69ac0246d0: Pulling fs layer 18:44:53 ec43610c2a17: Pulling fs layer 18:44:53 3a2ae6a8a46f: Pulling fs layer 18:44:53 33b1e0a273af: Pulling fs layer 18:44:53 5d3b04190fa2: Pulling fs layer 18:44:53 2f39f015ded8: Pulling fs layer 18:44:53 33b1e0a273af: Waiting 18:44:53 5d3b04190fa2: Waiting 18:44:53 3a2ae6a8a46f: Waiting 18:44:53 5c69ac0246d0: Verifying Checksum 18:44:53 5c69ac0246d0: Download complete 18:44:53 3a2ae6a8a46f: Verifying Checksum 18:44:53 3a2ae6a8a46f: Download complete 18:44:53 33b1e0a273af: Verifying Checksum 18:44:53 33b1e0a273af: Download complete 18:44:53 5d3b04190fa2: Download complete 18:44:53 ec43610c2a17: Verifying Checksum 18:44:53 ec43610c2a17: Download complete 18:44:53 5eb5b503b376: Verifying Checksum 18:44:53 5eb5b503b376: Download complete 18:44:54 2f39f015ded8: Download complete 18:44:55 5eb5b503b376: Pull complete 18:44:55 5c69ac0246d0: Pull complete 18:44:55 ec43610c2a17: Pull complete 18:44:55 3a2ae6a8a46f: Pull complete 18:44:56 33b1e0a273af: Pull complete 18:44:56 5d3b04190fa2: Pull complete 18:45:00 2f39f015ded8: Pull complete 18:45:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:45:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:45:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:45:00 prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container 18:45: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-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:45:02 $ docker top 2b0f8e5198f8411d93f494701db5149c38574653930bde6684150a66ed43a028 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:02 ---> job-cost.sh 18:45:02 lf-activate-venv: SKIPPING 18:45:02 INFO: No Stack... 18:45:02 INFO: Retrieving Pricing Info for: v3-standard-8 18:45:03 INFO: Archiving Costs [Pipeline] sh 18:45:03 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives/cost.csv 18:45:03 + cut -d, -f6 [Pipeline] lock 18:45:03 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] 18:45:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] did not exist. Created. 18:45:03 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:45:04 + echo total: 0.2199999988079071 [Pipeline] stash 18:45:04 Stashed 1 file(s) [Pipeline] } 18:45:04 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:45:04 $ docker stop --time=1 2b0f8e5198f8411d93f494701db5149c38574653930bde6684150a66ed43a028 18:45:05 $ docker rm -f --volumes 2b0f8e5198f8411d93f494701db5149c38574653930bde6684150a66ed43a028 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:45:05 Failed in branch amd64 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:11 provisioning config files... 18:45:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config11701522486408460005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:12 ---> ****-login.sh 18:45:12 nexus3.edgexfoundry.org:10001 18:45:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:12 Configure a credential helper to remove this warning. See 18:45:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:12 18:45:12 Login Succeeded 18:45:12 nexus3.edgexfoundry.org:10002 18:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:13 Configure a credential helper to remove this warning. See 18:45:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:13 18:45:13 Login Succeeded 18:45:13 nexus3.edgexfoundry.org:10003 18:45:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:13 Configure a credential helper to remove this warning. See 18:45:13 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:13 18:45:13 Login Succeeded 18:45:13 nexus3.edgexfoundry.org:10004 18:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:14 Configure a credential helper to remove this warning. See 18:45:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:14 18:45:14 Login Succeeded 18:45:14 ****.io 18:45:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 18:45:14 Configure a credential helper to remove this warning. See 18:45:14 https://docs.****.com/engine/reference/commandline/login/#credentials-store 18:45:14 18:45:14 Login Succeeded 18:45:14 ---> ****-login.sh ends [Pipeline] } 18:45:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:45:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:45:15 ========================================================= 18:45:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:45:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:15 + 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 . 18:45:16 Sending build context to Docker daemon 13.27MB 18:45:16 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 18:45:16 Step 2/10 : FROM ${BASE} AS builder 18:45:16 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:16 c6b39de5b339: Pulling fs layer 18:45:16 a69c41024577: Pulling fs layer 18:45:16 d6de4b400683: Pulling fs layer 18:45:16 35cb2a7552d0: Pulling fs layer 18:45:16 4f4fb700ef54: Pulling fs layer 18:45:16 464afbd9ba4c: Pulling fs layer 18:45:16 00f215d4a9da: Pulling fs layer 18:45:16 d496ad576159: Pulling fs layer 18:45:16 35cb2a7552d0: Waiting 18:45:16 464afbd9ba4c: Waiting 18:45:16 4f4fb700ef54: Waiting 18:45:16 00f215d4a9da: Waiting 18:45:16 d496ad576159: Waiting 18:45:16 a69c41024577: Verifying Checksum 18:45:16 a69c41024577: Download complete 18:45:16 35cb2a7552d0: Verifying Checksum 18:45:16 35cb2a7552d0: Download complete 18:45:16 4f4fb700ef54: Verifying Checksum 18:45:16 4f4fb700ef54: Download complete 18:45:16 464afbd9ba4c: Download complete 18:45:16 c6b39de5b339: Verifying Checksum 18:45:16 c6b39de5b339: Download complete 18:45:17 d496ad576159: Verifying Checksum 18:45:17 d496ad576159: Download complete 18:45:17 c6b39de5b339: Pull complete 18:45:18 a69c41024577: Pull complete 18:45:18 d6de4b400683: Verifying Checksum 18:45:18 d6de4b400683: Download complete 18:45:19 00f215d4a9da: Verifying Checksum 18:45:19 00f215d4a9da: Download complete 18:45:32 d6de4b400683: Pull complete 18:45:32 35cb2a7552d0: Pull complete 18:45:32 4f4fb700ef54: Pull complete 18:45:32 464afbd9ba4c: Pull complete 18:45:42 00f215d4a9da: Pull complete 18:45:44 d496ad576159: Pull complete 18:45:44 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 18:45:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:45:44 ---> f246e2811388 18:45:44 Step 3/10 : ARG MAKE=make build 18:45:45 ---> Running in d90db39d72f8 18:45:45 Removing intermediate container d90db39d72f8 18:45:45 ---> 21ca6e616806 18:45:45 Step 4/10 : WORKDIR /device-sdk-go 18:45:46 ---> Running in d99ad050859b 18:45:46 Removing intermediate container d99ad050859b 18:45:46 ---> a93b8f935d38 18:45:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:45:46 ---> Running in e4f673bd5fe7 18:45:46 Removing intermediate container e4f673bd5fe7 18:45:46 ---> 7f8c1b0bf1b5 18:45:46 Step 6/10 : RUN apk add --update --no-cache make git 18:45:47 ---> Running in 7951a7cd5d6e 18:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:45:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:45:49 OK: 266 MiB in 52 packages 18:45:50 Removing intermediate container 7951a7cd5d6e 18:45:50 ---> 8db38536ff7f 18:45:50 Step 7/10 : COPY go.mod vendor* ./ 18:45:51 ---> 2435008f1ccf 18:45:51 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:51 ---> Running in d648cb5a86c2 18:47:58 Removing intermediate container d648cb5a86c2 18:47:58 ---> 2dd8bdf62f24 18:47:58 Step 9/10 : COPY . . 18:47:58 ---> 3a2c2bf686d1 18:47:58 Step 10/10 : RUN ${MAKE} 18:47:58 ---> Running in b931ad0b8c08 18:47:58 noop 18:47:58 Removing intermediate container b931ad0b8c08 18:47:58 ---> 17e002b88dee 18:47:58 Successfully built 17e002b88dee 18:47:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:58 + docker inspect -f . ci-base-image-arm64 18:47:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:58 prd-ubuntu20.04-docker-arm64-4c-16g-299 does not seem to be running inside a container 18:47:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 18:48:00 $ docker top 867683be805459fbd75cd4d7d01321151ac150decee44523021e9ddebdde24b7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:01 + go version 18:48:01 go version go1.21.9 linux/arm64 [Pipeline] } 18:48:01 $ docker stop --time=1 867683be805459fbd75cd4d7d01321151ac150decee44523021e9ddebdde24b7 18:48:02 $ docker rm -f --volumes 867683be805459fbd75cd4d7d01321151ac150decee44523021e9ddebdde24b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:03 + docker inspect -f . ci-base-image-arm64 18:48:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:48:03 prd-ubuntu20.04-docker-arm64-4c-16g-299 does not seem to be running inside a container 18:48:03 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** ci-base-image-arm64 cat 18:48:05 $ docker top 53fb5676c567417f3670ee025df74a5b148c7718ddfe4e337c859ad878398c4b -eo pid,comm [Pipeline] { [Pipeline] sh 18:48:06 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 18:48:06 + make test 18:48:06 go test -race -coverprofile=coverage.out ./... 18:49:03 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:52:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:52:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:52:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:52:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:52:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:52:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.275s coverage: 27.6% of statements 18:52:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.325s coverage: 81.5% of statements 18:53:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:53:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:53:05 --- FAIL: TestAddReadingTags (0.00s) 18:53:05 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 18:53:05 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 18:53:05 18:53:05 goroutine 9 [running]: 18:53:05 testing.tRunner.func1.2({0xab10e0, 0xc0000b9530}) 18:53:05 /usr/local/go/src/testing/testing.go:1545 +0x2c8 18:53:05 testing.tRunner.func1() 18:53:05 /usr/local/go/src/testing/testing.go:1548 +0x4c4 18:53:05 panic({0xab10e0?, 0xc0000b9530?}) 18:53:05 /usr/local/go/src/runtime/panic.go:920 +0x26c 18:53:05 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0005350e0) 18:53:05 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 18:53:05 github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba8626, 0x11}, {0xba8626, 0x11}, 0xc0004f45e0) 18:53:05 /w/workspace/device-sdk-go/2/internal/cache/init.go:22 +0x70 18:53:05 github.com/edgexfoundry/device-sdk-go/v3/internal/common.TestAddReadingTags(0x0?) 18:53:05 /w/workspace/device-sdk-go/2/internal/common/utils_test.go:275 +0x4c 18:53:05 testing.tRunner(0xc000107040, 0xbf3128) 18:53:05 /usr/local/go/src/testing/testing.go:1595 +0x1b4 18:53:05 created by testing.(*T).Run in goroutine 1 18:53:05 /usr/local/go/src/testing/testing.go:1648 +0x5ec 18:53:05 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.430s 18:53:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:53:10 --- FAIL: TestRestController_GetCommand (0.00s) 18:53:10 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 18:53:10 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 18:53:10 18:53:10 goroutine 18 [running]: 18:53:10 testing.tRunner.func1.2({0x1248760, 0xc0002b72f0}) 18:53:10 /usr/local/go/src/testing/testing.go:1545 +0x2c8 18:53:10 testing.tRunner.func1() 18:53:10 /usr/local/go/src/testing/testing.go:1548 +0x4c4 18:53:10 panic({0x1248760?, 0xc0002b72f0?}) 18:53:10 /usr/local/go/src/runtime/panic.go:920 +0x26c 18:53:10 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0004df250) 18:53:10 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 18:53:10 github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0x1450787, 0xc}, {0x1450787, 0xc}, 0xc00036a220) 18:53:10 /w/workspace/device-sdk-go/2/internal/cache/init.go:22 +0x70 18:53:10 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http.TestRestController_GetCommand(0x0?) 18:53:10 /w/workspace/device-sdk-go/2/internal/controller/http/command_test.go:220 +0x58 18:53:10 testing.tRunner(0xc000502d00, 0x14cf4c8) 18:53:10 /usr/local/go/src/testing/testing.go:1595 +0x1b4 18:53:10 created by testing.(*T).Run in goroutine 1 18:53:10 /usr/local/go/src/testing/testing.go:1648 +0x5ec 18:53:10 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.462s 18:53:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.344s coverage: 14.4% of statements 18:53:16 --- FAIL: Test_processDevices (0.00s) 18:53:16 --- FAIL: Test_processDevices/valid_load_device_from_file (0.00s) 18:53:16 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 18:53:16 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 18:53:16 18:53:16 goroutine 26 [running]: 18:53:16 testing.tRunner.func1.2({0xab1140, 0xc0002ea090}) 18:53:16 /usr/local/go/src/testing/testing.go:1545 +0x2c8 18:53:16 testing.tRunner.func1() 18:53:16 /usr/local/go/src/testing/testing.go:1548 +0x4c4 18:53:16 panic({0xab1140?, 0xc0002ea090?}) 18:53:16 /usr/local/go/src/runtime/panic.go:920 +0x26c 18:53:16 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0000b9500) 18:53:16 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 18:53:16 github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba8b1a, 0x11}, {0xba8b1a, 0x11}, 0xc00004c2a0) 18:53:16 /w/workspace/device-sdk-go/2/internal/cache/init.go:22 +0x70 18:53:16 github.com/edgexfoundry/device-sdk-go/v3/internal/provision.Test_processDevices.func1(0x0?) 18:53:16 /w/workspace/device-sdk-go/2/internal/provision/devices_test.go:37 +0x68 18:53:16 testing.tRunner(0xc00054ad00, 0xc000580530) 18:53:16 /usr/local/go/src/testing/testing.go:1595 +0x1b4 18:53:16 created by testing.(*T).Run in goroutine 25 18:53:16 /usr/local/go/src/testing/testing.go:1648 +0x5ec 18:53:16 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.260s 18:53:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:53:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:53:17 --- FAIL: TestCommandValuesToEventDTO_ReadingUnits (0.00s) 18:53:17 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren [recovered] 18:53:17 panic: interface conversion: *mocks.DeviceClient is not interfaces.DeviceClient: missing method AllDevicesWithChildren 18:53:17 18:53:17 goroutine 66 [running]: 18:53:17 testing.tRunner.func1.2({0xab1800, 0xc00046efc0}) 18:53:17 /usr/local/go/src/testing/testing.go:1545 +0x2c8 18:53:17 testing.tRunner.func1() 18:53:17 /usr/local/go/src/testing/testing.go:1548 +0x4c4 18:53:17 panic({0xab1800?, 0xc00046efc0?}) 18:53:17 /usr/local/go/src/runtime/panic.go:920 +0x26c 18:53:17 github.com/edgexfoundry/go-mod-bootstrap/v3/bootstrap/container.DeviceClientFrom(0xc0001354c0) 18:53:17 /go/pkg/mod/github.com/edgexfoundry/go-mod-bootstrap/v3@v3.2.0-dev.31/bootstrap/container/clients.go:118 +0xa0 18:53:17 github.com/edgexfoundry/device-sdk-go/v3/internal/cache.InitCache({0xba9354, 0x11}, {0xba9354, 0x11}, 0xc000175080) 18:53:17 /w/workspace/device-sdk-go/2/internal/cache/init.go:22 +0x70 18:53:17 github.com/edgexfoundry/device-sdk-go/v3/internal/transformer.TestCommandValuesToEventDTO_ReadingUnits(0x0?) 18:53:17 /w/workspace/device-sdk-go/2/internal/transformer/transform_test.go:156 +0x50 18:53:17 testing.tRunner(0xc0002be000, 0xbf52f0) 18:53:17 /usr/local/go/src/testing/testing.go:1595 +0x1b4 18:53:17 created by testing.(*T).Run in goroutine 1 18:53:17 /usr/local/go/src/testing/testing.go:1648 +0x5ec 18:53:17 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.308s 18:53:22 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.565s coverage: 89.2% of statements 18:53:26 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:53:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.408s coverage: 5.5% of statements 18:53:27 FAIL 18:53:28 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 18:53:28 $ docker stop --time=1 53fb5676c567417f3670ee025df74a5b148c7718ddfe4e337c859ad878398c4b 18:53:30 $ docker rm -f --volumes 53fb5676c567417f3670ee025df74a5b148c7718ddfe4e337c859ad878398c4b [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:53:32 18:53:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:53:33 arm64: Pulling from edgex-lftools-log-publisher 18:53:33 8998bd30e6a1: Pulling fs layer 18:53:33 04944245beec: Pulling fs layer 18:53:33 699f458cf7ca: Pulling fs layer 18:53:33 765212b225bb: Pulling fs layer 18:53:33 f23df028b6ca: Pulling fs layer 18:53:33 d65c8cfc05b1: Pulling fs layer 18:53:33 2437ff75d9bd: Pulling fs layer 18:53:33 f23df028b6ca: Waiting 18:53:33 765212b225bb: Waiting 18:53:33 d65c8cfc05b1: Waiting 18:53:33 2437ff75d9bd: Waiting 18:53:33 04944245beec: Verifying Checksum 18:53:33 04944245beec: Download complete 18:53:33 765212b225bb: Verifying Checksum 18:53:33 765212b225bb: Download complete 18:53:33 f23df028b6ca: Verifying Checksum 18:53:33 f23df028b6ca: Download complete 18:53:33 d65c8cfc05b1: Verifying Checksum 18:53:33 d65c8cfc05b1: Download complete 18:53:33 699f458cf7ca: Verifying Checksum 18:53:33 699f458cf7ca: Download complete 18:53:34 8998bd30e6a1: Verifying Checksum 18:53:34 8998bd30e6a1: Download complete 18:53:37 2437ff75d9bd: Verifying Checksum 18:53:37 2437ff75d9bd: Download complete 18:53:39 8998bd30e6a1: Pull complete 18:53:39 04944245beec: Pull complete 18:53:41 699f458cf7ca: Pull complete 18:53:41 765212b225bb: Pull complete 18:53:42 f23df028b6ca: Pull complete 18:53:43 d65c8cfc05b1: Pull complete 18:54:01 2437ff75d9bd: Pull complete 18:54:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:54:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:54:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:01 prd-ubuntu20.04-docker-arm64-4c-16g-299 does not seem to be running inside a container 18:54:01 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:54:04 $ docker top 62a1e0a1b63c0e9895286d3795838293e6c7a15a64c48fbf70f048801d8928f9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:05 ---> job-cost.sh 18:54:05 lf-activate-venv: SKIPPING 18:54:05 INFO: No Stack... 18:54:06 INFO: Retrieving Pricing Info for: v3-standard-4 18:54:07 INFO: Archiving Costs [Pipeline] sh 18:54:07 + cut -d, -f6 18:54:07 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 18:54:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] 18:54:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] did not exist. Created. 18:54:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:54:08 /w/workspace/device-sdk-go/2@tmp/durable-f56469fa/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:54:09 + echo total: 0.10999999940395355 [Pipeline] stash 18:54:09 Warning: overwriting stash ‘stack-cost’ 18:54:09 Stashed 1 file(s) [Pipeline] } 18:54:09 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1575-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:54:09 $ docker stop --time=1 62a1e0a1b63c0e9895286d3795838293e6c7a15a64c48fbf70f048801d8928f9 18:54:11 $ docker rm -f --volumes 62a1e0a1b63c0e9895286d3795838293e6c7a15a64c48fbf70f048801d8928f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 18:54:11 Failed in branch arm64 [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 18:54:12 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives ] 18:54:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives 18:54:12 total 16 18:54:12 drwxr-xr-x 3 root root 4096 May 16 18:45 . 18:54:12 drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:45 .. 18:54:12 drwxr-xr-x 2 root root 4096 May 16 18:45 cost 18:54:12 -rw-r--r-- 1 root root 86 May 16 18:45 cost.csv 18:54:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives 18:54:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives 18:54:12 total 16 18:54:12 drwxr-xr-x 3 jenkins jenkins 4096 May 16 18:45 . 18:54:12 drwxrwxr-x 12 jenkins jenkins 4096 May 16 18:45 .. 18:54:12 drwxr-xr-x 2 jenkins jenkins 4096 May 16 18:45 cost 18:54:12 -rw-r--r-- 1 jenkins jenkins 86 May 16 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:54:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:54:13 ---> package-listing.sh 18:54:13 ++ facter osfamily 18:54:13 ++ tr '[:upper:]' '[:lower:]' 18:54:14 + OS_FAMILY=debian 18:54:14 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1575 18:54:14 + START_PACKAGES=/tmp/packages_start.txt 18:54:14 + END_PACKAGES=/tmp/packages_end.txt 18:54:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:54:14 + PACKAGES=/tmp/packages_start.txt 18:54:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1575 ']' 18:54:14 + PACKAGES=/tmp/packages_end.txt 18:54:14 + case "${OS_FAMILY}" in 18:54:14 + dpkg -l 18:54:14 + grep '^ii' 18:54:14 + '[' -f /tmp/packages_start.txt ']' 18:54:14 + '[' -f /tmp/packages_end.txt ']' 18:54:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:54:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1575 ']' 18:54:14 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives/ 18:54:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1575/archives/ [Pipeline] echo 18:54:14 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-1575/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:54:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:54:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:54:14 prd-ubuntu20.04-docker-8c-8g-295 does not seem to be running inside a container 18:54:14 $ 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-1575/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-1575 -v /w/workspace/gexfoundry_device-sdk-go_PR-1575:/w/workspace/gexfoundry_device-sdk-go_PR-1575:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:54:15 $ docker top 6b9024eb6ffbedb00a41ad9c1eca34eb392964e611815d2a318e779e31001517 -eo pid,comm [Pipeline] { [Pipeline] sh 18:54:15 + touch /tmp/pre-build-complete [Pipeline] sh 18:54:15 + mkdir -p /var/log/sysstat [Pipeline] sh 18:54:16 + ls /var/log/sa-host 18:54:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:16 provisioning config files... 18:54:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1575@tmp/config17322989968667818776tmp [Pipeline] { [Pipeline] echo 18:54:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:54:16 ---> create-netrc.sh [Pipeline] } 18:54:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:54:16 ---> python-tools-install.sh [Pipeline] echo 18:54:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:54:17 ---> sudo-logs.sh 18:54:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:54:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:54:17 ---> job-cost.sh 18:54:17 lf-activate-venv: SKIPPING 18:54:17 DEBUG: total: 0.2199999988079071 18:54:17 INFO: Retrieving Stack Cost... 18:54:17 INFO: Retrieving Pricing Info for: v3-standard-8 18:54:18 INFO: Archiving Costs [Pipeline] echo 18:54:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:54:18 ---> logs-deploy.sh 18:54:18 lf-activate-venv: SKIPPING 18:54:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1575/2 18:54:18 INFO: archiving workspace using pattern(s): 18:54:19 Archives upload complete. 18:54:19 INFO: archiving logs to Nexus