Pull request #1506 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 88f03503c07c02c451459ab8c2d5aba4061d83b0 rather than 9717c1c853f3528f29e097c66443c6ebe99eb0df Obtained Jenkinsfile from 88f03503c07c02c451459ab8c2d5aba4061d83b0 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-ssh3903854845610034895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh15000994856048257047.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1506/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-1506/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11047234766173021432.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh16925020695841900290.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-1506/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-1506/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1171403381828012618.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.20 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-5858 in /w/workspace/gexfoundry_device-sdk-go_PR-1506 [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-1506 # 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/1506/head:refs/remotes/origin/PR-1506 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 88f03503c07c02c451459ab8c2d5aba4061d83b0 into PR head commit 9717c1c853f3528f29e097c66443c6ebe99eb0df Merge succeeded, producing 32fb47eb60393407249507902e6925af8c7b08fb Checking out Revision 32fb47eb60393407249507902e6925af8c7b08fb (PR-1506) > git config core.sparsecheckout # timeout=10 > git checkout -f 9717c1c853f3528f29e097c66443c6ebe99eb0df # 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 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32fb47eb60393407249507902e6925af8c7b08fb # timeout=10 Commit message: "Merge commit '88f03503c07c02c451459ab8c2d5aba4061d83b0' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:42:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:42:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:42:37 ========================================================= 03:42:37 EdgeX Global Pipelines Version Info 03:42:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:42:37 ------------------- 03:42:37 stable info: 03:42:37 ------------------- 03:42:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:42:37 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:42:37 Message: update stable to v1.0.253 > git rev-list --no-walk 95f003700f388a4c1e8d18fe61d80fd241bdb166 # timeout=10 03:42:38 ------------------- 03:42:38 experimental info: 03:42:38 ------------------- 03:42:38 Commited By: **** collab-it+edgex@linuxfoundation.org 03:42:38 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 03:42:38 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:42:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1506 [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1506 [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1506 [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32fb47eb60393407249507902e6925af8c7b08fb [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32fb47e [Pipeline] echo 03:42:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:42:39 provisioning config files... 03:42:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config1148762023723113455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:39 ---> docker-login.sh 03:42:39 nexus3.edgexfoundry.org:10001 03:42:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:40 Configure a credential helper to remove this warning. See 03:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:40 03:42:40 Login Succeeded 03:42:40 nexus3.edgexfoundry.org:10002 03:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:40 Configure a credential helper to remove this warning. See 03:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:40 03:42:40 Login Succeeded 03:42:40 nexus3.edgexfoundry.org:10003 03:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:40 Configure a credential helper to remove this warning. See 03:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:40 03:42:40 Login Succeeded 03:42:40 nexus3.edgexfoundry.org:10004 03:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:40 Configure a credential helper to remove this warning. See 03:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:40 03:42:40 Login Succeeded 03:42:40 docker.io 03:42:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:40 Configure a credential helper to remove this warning. See 03:42:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:40 03:42:40 Login Succeeded 03:42:40 ---> docker-login.sh ends [Pipeline] } 03:42:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:42:40 + git rev-list -1 --merges 32fb47eb60393407249507902e6925af8c7b08fb~1..32fb47eb60393407249507902e6925af8c7b08fb [Pipeline] echo 03:42:40 -----------> git rev-list -1 --merges 32fb47eb60393407249507902e6925af8c7b08fb~1..32fb47eb60393407249507902e6925af8c7b08fb 32fb47eb60393407249507902e6925af8c7b08fb 03:42:40 32fb47eb60393407249507902e6925af8c7b08fb [false] [Pipeline] sh 03:42:41 + git log --format=format:%s -1 32fb47eb60393407249507902e6925af8c7b08fb [Pipeline] echo 03:42:41 ========================================================= 03:42:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:42:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:42:41 + git log --format=format:%s -1 32fb47eb60393407249507902e6925af8c7b08fb [Pipeline] echo 03:42:41 [semverPrep] GIT_COMMIT: 32fb47eb60393407249507902e6925af8c7b08fb, Commit Message: Merge commit '88f03503c07c02c451459ab8c2d5aba4061d83b0' into HEAD [Pipeline] echo 03:42:41 [semverPrep] This is not a build commit. [Pipeline] sh 03:42:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:42:41 + grep -v github /etc/ssh/ssh_known_hosts 03:42:41 + [ -e /tmp/ssh_known_hosts ] 03:42:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:42:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:42:41 + sudo tee -a /etc/ssh/ssh_known_hosts 03:42:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:42 03:42:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:42 0.1.4: Pulling from edgex-devops/py-git-semver 03:42:42 b85a868b505f: Pulling fs layer 03:42:42 e2be974225ed: Pulling fs layer 03:42:42 339a4e72a1f5: Pulling fs layer 03:42:42 988bab9f4d93: Pulling fs layer 03:42:42 1469e6f7b9e6: Pulling fs layer 03:42:42 eaf3925da568: Pulling fs layer 03:42:42 bab4dde63d76: Pulling fs layer 03:42:42 bde34c3a00c8: Pulling fs layer 03:42:42 b352a97aabf1: Pulling fs layer 03:42:42 4872d77fe225: Pulling fs layer 03:42:42 5851b861e8e6: Pulling fs layer 03:42:42 988bab9f4d93: Waiting 03:42:42 1469e6f7b9e6: Waiting 03:42:42 eaf3925da568: Waiting 03:42:42 bab4dde63d76: Waiting 03:42:42 4872d77fe225: Waiting 03:42:42 bde34c3a00c8: Waiting 03:42:42 5851b861e8e6: Waiting 03:42:42 b352a97aabf1: Waiting 03:42:42 e2be974225ed: Verifying Checksum 03:42:42 e2be974225ed: Download complete 03:42:42 988bab9f4d93: Verifying Checksum 03:42:42 988bab9f4d93: Download complete 03:42:42 1469e6f7b9e6: Verifying Checksum 03:42:42 1469e6f7b9e6: Download complete 03:42:42 eaf3925da568: Verifying Checksum 03:42:42 eaf3925da568: Download complete 03:42:42 339a4e72a1f5: Verifying Checksum 03:42:42 339a4e72a1f5: Download complete 03:42:42 bde34c3a00c8: Download complete 03:42:42 b352a97aabf1: Download complete 03:42:42 4872d77fe225: Verifying Checksum 03:42:42 4872d77fe225: Download complete 03:42:42 5851b861e8e6: Download complete 03:42:42 b85a868b505f: Verifying Checksum 03:42:42 b85a868b505f: Download complete 03:42:43 bab4dde63d76: Verifying Checksum 03:42:43 bab4dde63d76: Download complete 03:42:44 b85a868b505f: Pull complete 03:42:44 e2be974225ed: Pull complete 03:42:44 339a4e72a1f5: Pull complete 03:42:45 988bab9f4d93: Pull complete 03:42:45 1469e6f7b9e6: Pull complete 03:42:45 eaf3925da568: Pull complete 03:42:47 bab4dde63d76: Pull complete 03:42:47 bde34c3a00c8: Pull complete 03:42:47 b352a97aabf1: Pull complete 03:42:47 4872d77fe225: Pull complete 03:42:47 5851b861e8e6: Pull complete 03:42:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:42:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:42:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:42:47 prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container 03:42:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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-devops/py-git-semver:0.1.4 cat 03:42:50 $ docker top 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 -eo pid,comm 03:42:50 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). 03:42:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:42:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:50 [ssh-agent] Looking for ssh-agent implementation... 03:42:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:50 $ docker exec 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 ssh-agent 03:42:50 SSH_AUTH_SOCK=/tmp/ssh-wjGqFxPSv8Uq/agent.34 03:42:50 SSH_AGENT_PID=40 03:42:50 Running ssh-add (command line suppressed) 03:42:50 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_5098729345037460442.key (/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_5098729345037460442.key) 03:42:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:50 + git tag --points-at HEAD [Pipeline] } 03:42:50 $ docker exec --env ******** --env ******** 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 ssh-agent -k 03:42:51 unset SSH_AUTH_SOCK; 03:42:51 unset SSH_AGENT_PID; 03:42:51 echo Agent pid 40 killed; 03:42:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:42:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:42:51 [ssh-agent] Looking for ssh-agent implementation... 03:42:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:42:51 $ docker exec 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 ssh-agent 03:42:51 SSH_AUTH_SOCK=/tmp/ssh-jjF6xhh0vENl/agent.72 03:42:51 SSH_AGENT_PID=78 03:42:51 Running ssh-add (command line suppressed) 03:42:51 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_3795854233168818474.key (/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/private_key_3795854233168818474.key) 03:42:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:42:51 + git semver init 03:42:52 2023-09-12 03:42:52,060 [run_init] DEBUG init version:0.0.0 force:False 03:42:52 2023-09-12 03:42:52,061 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver 03:42:52 2023-09-12 03:42:52,062 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver 03:42:52 2023-09-12 03:42:52,063 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506, universal_newlines=False, shell=None, istream=None) 03:42:53 2023-09-12 03:42:52,930 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.git/info/exclude 03:42:53 2023-09-12 03:42:52,931 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 with force:False 03:42:53 2023-09-12 03:42:52,931 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 03:42:53 2023-09-12 03:42:52,934 [execute] INFO git cat-file --batch-check 03:42:53 2023-09-12 03:42:52,934 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver, universal_newlines=False, shell=None, istream=) 03:42:53 2023-09-12 03:42:52,940 [execute] INFO git cat-file --batch 03:42:53 2023-09-12 03:42:52,940 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver, universal_newlines=False, shell=None, istream=) 03:42:53 2023-09-12 03:42:52,944 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1506/.semver/PR-1506 03:42:53 0.0.0 [Pipeline] } 03:42:53 $ docker exec --env ******** --env ******** 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 ssh-agent -k 03:42:53 unset SSH_AUTH_SOCK; 03:42:53 unset SSH_AGENT_PID; 03:42:53 echo Agent pid 78 killed; 03:42:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:42:53 + git semver [Pipeline] } 03:42:53 $ docker stop --time=1 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 03:42:55 $ docker rm -f --volumes 818a158b17c8cc30978f2ea7f7f53458fb70e1de1bea04a93a924ee342a3d398 [Pipeline] // withDockerContainer [Pipeline] sh 03:42:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:42:55 Stashed 1 file(s) [Pipeline] echo 03:42:55 [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 03:42:55 provisioning config files... 03:42:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config5496768896206777241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:42:56 ---> docker-login.sh 03:42:56 nexus3.edgexfoundry.org:10001 03:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:56 Configure a credential helper to remove this warning. See 03:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:56 03:42:56 Login Succeeded 03:42:56 nexus3.edgexfoundry.org:10002 03:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:56 Configure a credential helper to remove this warning. See 03:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:56 03:42:56 Login Succeeded 03:42:56 nexus3.edgexfoundry.org:10003 03:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:56 Configure a credential helper to remove this warning. See 03:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:56 03:42:56 Login Succeeded 03:42:56 nexus3.edgexfoundry.org:10004 03:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:56 Configure a credential helper to remove this warning. See 03:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:56 03:42:56 Login Succeeded 03:42:56 docker.io 03:42:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:42:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:42:56 Configure a credential helper to remove this warning. See 03:42:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:42:56 03:42:56 Login Succeeded 03:42:56 ---> docker-login.sh ends [Pipeline] } 03:42:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:42:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:42:57 ========================================================= 03:42:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:42:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:42:57 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 03:42:57 Sending build context to Docker daemon 11.13MB 03:42:57 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:42:57 Step 2/10 : FROM ${BASE} AS builder 03:42:57 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:42:57 4db1b89c0bd1: Pulling fs layer 03:42:57 6911f1a30b25: Pulling fs layer 03:42:57 e194b8c5c2a9: Pulling fs layer 03:42:57 6863d3e3a2b1: Pulling fs layer 03:42:57 ec0bb842ea78: Pulling fs layer 03:42:57 40a00589a448: Pulling fs layer 03:42:57 6c08303d61cc: Pulling fs layer 03:42:57 798269fcf238: Pulling fs layer 03:42:57 40a00589a448: Waiting 03:42:57 6c08303d61cc: Waiting 03:42:57 6863d3e3a2b1: Waiting 03:42:57 ec0bb842ea78: Waiting 03:42:57 798269fcf238: Waiting 03:42:57 6911f1a30b25: Verifying Checksum 03:42:57 6911f1a30b25: Download complete 03:42:57 6863d3e3a2b1: Verifying Checksum 03:42:57 6863d3e3a2b1: Download complete 03:42:57 ec0bb842ea78: Download complete 03:42:57 4db1b89c0bd1: Verifying Checksum 03:42:57 4db1b89c0bd1: Download complete 03:42:57 40a00589a448: Verifying Checksum 03:42:57 40a00589a448: Download complete 03:42:57 4db1b89c0bd1: Pull complete 03:42:57 6911f1a30b25: Pull complete 03:42:58 798269fcf238: Verifying Checksum 03:42:58 798269fcf238: Download complete 03:42:58 e194b8c5c2a9: Verifying Checksum 03:42:58 e194b8c5c2a9: Download complete 03:42:58 6c08303d61cc: Verifying Checksum 03:42:58 6c08303d61cc: Download complete 03:43:01 e194b8c5c2a9: Pull complete 03:43:01 6863d3e3a2b1: Pull complete 03:43:01 ec0bb842ea78: Pull complete 03:43:01 40a00589a448: Pull complete 03:43:04 6c08303d61cc: Pull complete 03:43:05 798269fcf238: Pull complete 03:43:05 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 03:43:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:43:05 ---> ec979cd7f677 03:43:05 Step 3/10 : ARG MAKE=make build 03:43:10 Still waiting to schedule task 03:43:10 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:43:11 ---> Running in 649bfd90b945 03:43:11 Removing intermediate container 649bfd90b945 03:43:11 ---> 2156522c5285 03:43:11 Step 4/10 : WORKDIR /device-sdk-go 03:43:11 ---> Running in 30175d8dcfaa 03:43:11 Removing intermediate container 30175d8dcfaa 03:43:11 ---> ffb7b9265f4d 03:43:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:43:11 ---> Running in 73f4e10f304e 03:43:11 Removing intermediate container 73f4e10f304e 03:43:11 ---> 97dc39f32c78 03:43:11 Step 6/10 : RUN apk add --update --no-cache make git 03:43:11 ---> Running in a3cee2761a1c 03:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:43:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:43:12 OK: 265 MiB in 53 packages 03:43:12 Removing intermediate container a3cee2761a1c 03:43:12 ---> aad2148fcc76 03:43:12 Step 7/10 : COPY go.mod vendor* ./ 03:43:12 ---> e2b17f67a5dd 03:43:12 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:43:12 ---> Running in a82542b6c41d 03:43:59 Removing intermediate container a82542b6c41d 03:43:59 ---> fec1e0ddeb3d 03:43:59 Step 9/10 : COPY . . 03:43:59 ---> 5c032c1b4e91 03:43:59 Step 10/10 : RUN ${MAKE} 03:43:59 ---> Running in 1e0fbae4093e 03:43:59 noop 03:43:59 Removing intermediate container 1e0fbae4093e 03:43:59 ---> 099e49a1a5fd 03:43:59 Successfully built 099e49a1a5fd 03:43:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:59 + docker inspect -f . ci-base-image-x86_64 03:43:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:43:59 prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container 03:43:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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 ******** ci-base-image-x86_64 cat 03:44:00 $ docker top 4e588d16f2a28f076fb29390cbb1f2a54373df59745ed745cf6e921ec6df86d8 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:00 + go version 03:44:00 go version go1.20.6 linux/amd64 [Pipeline] } 03:44:00 $ docker stop --time=1 4e588d16f2a28f076fb29390cbb1f2a54373df59745ed745cf6e921ec6df86d8 03:44:01 $ docker rm -f --volumes 4e588d16f2a28f076fb29390cbb1f2a54373df59745ed745cf6e921ec6df86d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:02 + docker inspect -f . ci-base-image-x86_64 03:44:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:02 prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container 03:44:02 $ 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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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 ******** ci-base-image-x86_64 cat 03:44:02 $ docker top a9969a94ad8822c9f796b25ec73b053b5aace207698d938be9e5637481504f9d -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:03 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1506 [Pipeline] fileExists [Pipeline] sh 03:44:03 + make test 03:44:03 go test -race -coverprofile=coverage.out ./... 03:44:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:44:23 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 03:44:23 internal/common/utils.go:74:25: undefined: common.NewPathBuilder 03:44:23 internal/common/utils.go:74:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 03:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:44:23 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] 03:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:44:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:44:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.062s coverage: 80.2% of statements 03:44:23 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common [build failed] 03:44:23 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] 03:44:23 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] 03:44:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:44:24 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:44:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.837s coverage: 44.2% of statements 03:44:26 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] 03:44:26 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.114s coverage: 89.2% of statements 03:44:26 FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] 03:44:26 FAIL 03:44:26 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 03:44:26 $ docker stop --time=1 a9969a94ad8822c9f796b25ec73b053b5aace207698d938be9e5637481504f9d 03:44:30 $ docker rm -f --volumes a9969a94ad8822c9f796b25ec73b053b5aace207698d938be9e5637481504f9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:31 03:44:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:31 latest: Pulling from edgex-lftools-log-publisher 03:44:31 5eb5b503b376: Pulling fs layer 03:44:31 5c69ac0246d0: Pulling fs layer 03:44:31 ec43610c2a17: Pulling fs layer 03:44:31 3a2ae6a8a46f: Pulling fs layer 03:44:31 33b1e0a273af: Pulling fs layer 03:44:31 5d3b04190fa2: Pulling fs layer 03:44:31 2f39f015ded8: Pulling fs layer 03:44:31 3a2ae6a8a46f: Waiting 03:44:31 33b1e0a273af: Waiting 03:44:31 5d3b04190fa2: Waiting 03:44:31 2f39f015ded8: Waiting 03:44:31 5c69ac0246d0: Download complete 03:44:31 3a2ae6a8a46f: Verifying Checksum 03:44:31 3a2ae6a8a46f: Download complete 03:44:31 33b1e0a273af: Verifying Checksum 03:44:31 33b1e0a273af: Download complete 03:44:31 5d3b04190fa2: Verifying Checksum 03:44:31 5d3b04190fa2: Download complete 03:44:31 ec43610c2a17: Download complete 03:44:31 5eb5b503b376: Download complete 03:44:32 2f39f015ded8: Download complete 03:44:32 5eb5b503b376: Pull complete 03:44:32 5c69ac0246d0: Pull complete 03:44:33 ec43610c2a17: Pull complete 03:44:33 3a2ae6a8a46f: Pull complete 03:44:33 33b1e0a273af: Pull complete 03:44:33 5d3b04190fa2: Pull complete 03:44:37 2f39f015ded8: Pull complete 03:44:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:44:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:37 prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container 03:44:37 $ 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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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 03:44:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5859 in /w/workspace/gexfoundry_device-sdk-go_PR-1506 03:44:41 $ docker top 2d192eb3023f4021c1c9520ad4c0db0b709dae05cc2cc4e1f9245b9edeac29c2 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 03:44:42 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 03:44:42 The recommended git tool is: git 03:44:42 ---> job-cost.sh 03:44:42 lf-activate-venv: SKIPPING 03:44:42 INFO: No Stack... 03:44:42 INFO: Retrieving Pricing Info for: v3-standard-8 03:44:42 INFO: Archiving Costs [Pipeline] sh 03:44:43 + + cut -d, -f6 03:44:43 cat /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/cost.csv [Pipeline] lock 03:44:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] 03:44:43 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] did not exist. Created. 03:44:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:43 + echo total: 0.2199999988079071 [Pipeline] stash 03:44:43 Stashed 1 file(s) [Pipeline] } 03:44:43 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:43 $ docker stop --time=1 2d192eb3023f4021c1c9520ad4c0db0b709dae05cc2cc4e1f9245b9edeac29c2 03:44:44 $ docker rm -f --volumes 2d192eb3023f4021c1c9520ad4c0db0b709dae05cc2cc4e1f9245b9edeac29c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:44:44 Failed in branch amd64 03:44:46 using credential edgex-jenkins-ssh 03:44:46 Cloning the remote Git repository 03:44:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:44:46 > git init /w/workspace/device-sdk-go/3 # timeout=10 03:44:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:44:46 > git --version # timeout=10 03:44:46 > git --version # 'git version 2.25.1' 03:44:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:44:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:44:51 Merging remotes/origin/main commit 88f03503c07c02c451459ab8c2d5aba4061d83b0 into PR head commit 9717c1c853f3528f29e097c66443c6ebe99eb0df 03:44:52 Merge succeeded, producing 6d7eae2921c35bb2f1f1d34d2e9b0b926fd78207 03:44:52 Checking out Revision 6d7eae2921c35bb2f1f1d34d2e9b0b926fd78207 (PR-1506) 03:44:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:44:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:44:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1506/head:refs/remotes/origin/PR-1506 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:44:51 > git config core.sparsecheckout # timeout=10 03:44:51 > git checkout -f 9717c1c853f3528f29e097c66443c6ebe99eb0df # timeout=10 03:44:51 > git remote # timeout=10 03:44:51 > git config --get remote.origin.url # timeout=10 03:44:51 using GIT_SSH to set credentials SSH Credentials for GitHub 03:44:51 > git merge 88f03503c07c02c451459ab8c2d5aba4061d83b0 # timeout=10 03:44:52 > git rev-parse HEAD^{commit} # timeout=10 03:44:52 > git config core.sparsecheckout # timeout=10 03:44:52 > git checkout -f 6d7eae2921c35bb2f1f1d34d2e9b0b926fd78207 # timeout=10 03:44:55 Commit message: "Merge commit '88f03503c07c02c451459ab8c2d5aba4061d83b0' into HEAD" 03:44:55 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:44:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:44:56 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:56 Dload Upload Total Spent Left Speed 03:44:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k 03:44:55 > git rev-list --no-walk 95f003700f388a4c1e8d18fe61d80fd241bdb166 # timeout=10 [Pipeline] sh 03:44:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:44:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:44:57 + sudo tee /etc/docker/daemon.new 03:44:57 { 03:44:57 "registry-mirrors": [ 03:44:57 "https://nexus3.edgexfoundry.org:10001" 03:44:57 ], 03:44:57 "bip": "10.250.0.254/24", 03:44:57 "hosts": [ 03:44:57 "tcp://0.0.0.0:5555", 03:44:57 "unix:///var/run/docker.sock" 03:44:57 ], 03:44:57 "mtu": 1458, 03:44:57 "selinux-enabled": true, 03:44:57 "seccomp-profile": "/etc/docker/seccomp.json" 03:44:57 } [Pipeline] sh 03:44:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:44:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:45:16 provisioning config files... 03:45:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config10507895395721335433tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:45:16 ---> docker-login.sh 03:45:16 nexus3.edgexfoundry.org:10001 03:45:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:17 Configure a credential helper to remove this warning. See 03:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:17 03:45:17 Login Succeeded 03:45:17 nexus3.edgexfoundry.org:10002 03:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:17 Configure a credential helper to remove this warning. See 03:45:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:17 03:45:17 Login Succeeded 03:45:17 nexus3.edgexfoundry.org:10003 03:45:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:18 Configure a credential helper to remove this warning. See 03:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:18 03:45:18 Login Succeeded 03:45:18 nexus3.edgexfoundry.org:10004 03:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:18 Configure a credential helper to remove this warning. See 03:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:18 03:45:18 Login Succeeded 03:45:18 docker.io 03:45:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:45:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:45:18 Configure a credential helper to remove this warning. See 03:45:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:45:18 03:45:18 Login Succeeded 03:45:18 ---> docker-login.sh ends [Pipeline] } 03:45:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:45:19 ========================================================= 03:45:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 03:45:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:45:19 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 03:45:19 Sending build context to Docker daemon 5.957MB 03:45:20 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:45:20 Step 2/10 : FROM ${BASE} AS builder 03:45:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:45:20 edb6bdbacee9: Pulling fs layer 03:45:20 5f9638ab2659: Pulling fs layer 03:45:20 8d51d6327a98: Pulling fs layer 03:45:20 8b374f2dd631: Pulling fs layer 03:45:20 ec14aa9079de: Pulling fs layer 03:45:20 2f466654f4bb: Pulling fs layer 03:45:20 554e91adad29: Pulling fs layer 03:45:20 2f466654f4bb: Waiting 03:45:20 554e91adad29: Waiting 03:45:20 8b374f2dd631: Waiting 03:45:20 ec14aa9079de: Waiting 03:45:20 5f9638ab2659: Verifying Checksum 03:45:20 5f9638ab2659: Download complete 03:45:20 8b374f2dd631: Verifying Checksum 03:45:20 8b374f2dd631: Download complete 03:45:20 ec14aa9079de: Verifying Checksum 03:45:20 ec14aa9079de: Download complete 03:45:20 edb6bdbacee9: Verifying Checksum 03:45:20 edb6bdbacee9: Download complete 03:45:20 edb6bdbacee9: Pull complete 03:45:21 554e91adad29: Verifying Checksum 03:45:21 554e91adad29: Download complete 03:45:21 5f9638ab2659: Pull complete 03:45:22 8d51d6327a98: Verifying Checksum 03:45:22 8d51d6327a98: Download complete 03:45:22 2f466654f4bb: Verifying Checksum 03:45:22 2f466654f4bb: Download complete 03:45:32 8d51d6327a98: Pull complete 03:45:33 8b374f2dd631: Pull complete 03:45:33 ec14aa9079de: Pull complete 03:45:40 2f466654f4bb: Pull complete 03:45:45 554e91adad29: Pull complete 03:45:45 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 03:45:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 03:45:45 ---> 1e15ea492957 03:45:45 Step 3/10 : ARG MAKE=make build 03:45:45 ---> Running in 709425a72061 03:45:45 Removing intermediate container 709425a72061 03:45:45 ---> 6faae0c2a384 03:45:45 Step 4/10 : WORKDIR /device-sdk-go 03:45:45 ---> Running in 3b82cab97f18 03:45:45 Removing intermediate container 3b82cab97f18 03:45:45 ---> c8dad63ed518 03:45:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:45:45 ---> Running in 500cb7699b98 03:45:45 Removing intermediate container 500cb7699b98 03:45:45 ---> bd5e4f715ac5 03:45:45 Step 6/10 : RUN apk add --update --no-cache make git 03:45:45 ---> Running in c6d872650599 03:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 03:45:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 03:45:47 OK: 263 MiB in 53 packages 03:45:48 Removing intermediate container c6d872650599 03:45:48 ---> ec5097a49a82 03:45:48 Step 7/10 : COPY go.mod vendor* ./ 03:45:49 ---> 14fef5fb164e 03:45:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:45:49 ---> Running in 3a990d226603 03:46:57 Removing intermediate container 3a990d226603 03:46:57 ---> b11d64de3a62 03:46:57 Step 9/10 : COPY . . 03:46:57 ---> 45b0bbdf2e08 03:46:57 Step 10/10 : RUN ${MAKE} 03:46:57 ---> Running in 9a5d3341ed4d 03:46:57 noop 03:46:57 Removing intermediate container 9a5d3341ed4d 03:46:57 ---> 51755f5489c5 03:46:57 Successfully built 51755f5489c5 03:46:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:57 + docker inspect -f . ci-base-image-arm64 03:46:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:57 prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container 03:46:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 03:46:58 $ docker top a4a77affb039e12efbfaa931815635fe669d1dc767c1234917698e3b3f063c24 -eo pid,comm [Pipeline] { [Pipeline] sh 03:46:59 + go version 03:46:59 go version go1.20.6 linux/arm64 [Pipeline] } 03:46:59 $ docker stop --time=1 a4a77affb039e12efbfaa931815635fe669d1dc767c1234917698e3b3f063c24 03:47:01 $ docker rm -f --volumes a4a77affb039e12efbfaa931815635fe669d1dc767c1234917698e3b3f063c24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:01 + docker inspect -f . ci-base-image-arm64 03:47:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:47:01 prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container 03:47:02 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 03:47:03 $ docker top ffb239726404f38e065f7cb5450aa2f5f851c3ae3cff0a4a165c52d4ec7ee62a -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:04 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 03:47:04 + make test 03:47:04 go test -race -coverprofile=coverage.out ./... 03:47:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:49:49 # github.com/edgexfoundry/device-sdk-go/v3/internal/common 03:49:49 internal/common/utils.go:74:25: undefined: common.NewPathBuilder 03:49:49 internal/common/utils.go:74:86: configuration.Service.EnableNameFieldEscape undefined (type "github.com/edgexfoundry/go-mod-bootstrap/v3/config".ServiceInfo has no field or method EnableNameFieldEscape) 03:49:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:49:49 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:49:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:49:49 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent [build failed] 03:49:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.250s coverage: 80.2% of statements 03:49:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:49:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:49:59 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/common [build failed] 03:50:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:50:00 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http [build failed] 03:50:00 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [build failed] 03:50:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:50:03 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:50:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.755s coverage: 44.2% of statements 03:50:06 FAIL github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [build failed] 03:50:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.454s coverage: 89.2% of statements 03:50:07 FAIL github.com/edgexfoundry/device-sdk-go/v3/pkg/service [build failed] 03:50:07 FAIL 03:50:07 make: *** [Makefile:38: unittest] Error 1 [Pipeline] } 03:50:07 $ docker stop --time=1 ffb239726404f38e065f7cb5450aa2f5f851c3ae3cff0a4a165c52d4ec7ee62a 03:50:09 $ docker rm -f --volumes ffb239726404f38e065f7cb5450aa2f5f851c3ae3cff0a4a165c52d4ec7ee62a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:11 03:50:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:11 arm64: Pulling from edgex-lftools-log-publisher 03:50:11 8998bd30e6a1: Pulling fs layer 03:50:11 04944245beec: Pulling fs layer 03:50:11 699f458cf7ca: Pulling fs layer 03:50:11 765212b225bb: Pulling fs layer 03:50:11 f23df028b6ca: Pulling fs layer 03:50:11 d65c8cfc05b1: Pulling fs layer 03:50:11 2437ff75d9bd: Pulling fs layer 03:50:11 765212b225bb: Waiting 03:50:11 f23df028b6ca: Waiting 03:50:11 d65c8cfc05b1: Waiting 03:50:11 04944245beec: Verifying Checksum 03:50:11 04944245beec: Download complete 03:50:11 765212b225bb: Verifying Checksum 03:50:11 765212b225bb: Download complete 03:50:11 f23df028b6ca: Verifying Checksum 03:50:11 f23df028b6ca: Download complete 03:50:11 d65c8cfc05b1: Verifying Checksum 03:50:11 d65c8cfc05b1: Download complete 03:50:11 699f458cf7ca: Verifying Checksum 03:50:11 699f458cf7ca: Download complete 03:50:12 8998bd30e6a1: Verifying Checksum 03:50:12 8998bd30e6a1: Download complete 03:50:14 2437ff75d9bd: Verifying Checksum 03:50:14 2437ff75d9bd: Download complete 03:50:16 8998bd30e6a1: Pull complete 03:50:16 04944245beec: Pull complete 03:50:17 699f458cf7ca: Pull complete 03:50:18 765212b225bb: Pull complete 03:50:18 f23df028b6ca: Pull complete 03:50:19 d65c8cfc05b1: Pull complete 03:50:34 2437ff75d9bd: Pull complete 03:50:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:50:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:50:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:50:34 prd-ubuntu20.04-docker-arm64-4c-16g-5859 does not seem to be running inside a container 03:50:34 $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 03:50:36 $ docker top cbe633eaa714ff51ff529c25319f6e60f438af6f0c2c425037dea09210895f50 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:50:37 ---> job-cost.sh 03:50:37 lf-activate-venv: SKIPPING 03:50:37 INFO: No Stack... 03:50:37 INFO: Retrieving Pricing Info for: v3-standard-4 03:50:38 INFO: Archiving Costs [Pipeline] sh 03:50:39 + + catcut /w/workspace/device-sdk-go/3/archives/cost.csv -d, 03:50:39 -f6 [Pipeline] lock 03:50:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] 03:50:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] did not exist. Created. 03:50:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:50:39 /w/workspace/device-sdk-go/3@tmp/durable-eb0f6ecf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:50:39 + echo total: 0.10999999940395355 [Pipeline] stash 03:50:39 Warning: overwriting stash ‘stack-cost’ 03:50:40 Stashed 1 file(s) [Pipeline] } 03:50:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1506-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:50:40 $ docker stop --time=1 cbe633eaa714ff51ff529c25319f6e60f438af6f0c2c425037dea09210895f50 03:50:43 $ docker rm -f --volumes cbe633eaa714ff51ff529c25319f6e60f438af6f0c2c425037dea09210895f50 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 03:50:43 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 03:50:43 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives ] 03:50:43 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives 03:50:43 total 16 03:50:43 drwxr-xr-x 3 root root 4096 Sep 12 03:44 . 03:50:43 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 03:44 .. 03:50:43 drwxr-xr-x 2 root root 4096 Sep 12 03:44 cost 03:50:43 -rw-r--r-- 1 root root 86 Sep 12 03:44 cost.csv 03:50:43 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives 03:50:43 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives 03:50:43 total 16 03:50:43 drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 03:44 . 03:50:43 drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 03:44 .. 03:50:43 drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 03:44 cost 03:50:43 -rw-r--r-- 1 jenkins jenkins 86 Sep 12 03:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:50:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:50:45 ---> package-listing.sh 03:50:45 ++ facter osfamily 03:50:45 ++ tr '[:upper:]' '[:lower:]' 03:50:45 + OS_FAMILY=debian 03:50:45 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1506 03:50:45 + START_PACKAGES=/tmp/packages_start.txt 03:50:45 + END_PACKAGES=/tmp/packages_end.txt 03:50:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:50:45 + PACKAGES=/tmp/packages_start.txt 03:50:45 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1506 ']' 03:50:45 + PACKAGES=/tmp/packages_end.txt 03:50:45 + case "${OS_FAMILY}" in 03:50:45 + dpkg -l 03:50:45 + grep '^ii' 03:50:45 + '[' -f /tmp/packages_start.txt ']' 03:50:45 + '[' -f /tmp/packages_end.txt ']' 03:50:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:50:45 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1506 ']' 03:50:45 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/ 03:50:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1506/archives/ [Pipeline] echo 03:50:45 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-1506/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:50:45 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:50:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:50:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:50:46 prd-ubuntu20.04-docker-8c-8g-5858 does not seem to be running inside a container 03:50:46 $ 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-1506/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-1506 -v /w/workspace/gexfoundry_device-sdk-go_PR-1506:/w/workspace/gexfoundry_device-sdk-go_PR-1506:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1506@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:50:46 $ docker top 5e846f4d107f27ac22f81278e015d6254bbd615e75fdecd9d93555a194c703da -eo pid,comm [Pipeline] { [Pipeline] sh 03:50:46 + touch /tmp/pre-build-complete [Pipeline] sh 03:50:47 + mkdir -p /var/log/sysstat [Pipeline] sh 03:50:47 + ls /var/log/sa-host 03:50:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:50:47 provisioning config files... 03:50:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1506@tmp/config403365573543348656tmp [Pipeline] { [Pipeline] echo 03:50:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:50:47 ---> create-netrc.sh [Pipeline] } 03:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:50:48 ---> python-tools-install.sh [Pipeline] echo 03:50:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:50:48 ---> sudo-logs.sh 03:50:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:50:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:50:48 ---> job-cost.sh 03:50:48 lf-activate-venv: SKIPPING 03:50:48 DEBUG: total: 0.2199999988079071 03:50:48 INFO: Retrieving Stack Cost... 03:50:49 INFO: Retrieving Pricing Info for: v3-standard-8 03:50:49 INFO: Archiving Costs [Pipeline] echo 03:50:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:50:49 ---> logs-deploy.sh 03:50:49 lf-activate-venv: SKIPPING 03:50:49 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1506/3 03:50:49 INFO: archiving workspace using pattern(s): 03:50:50 Archives upload complete. 03:50:50 INFO: archiving logs to Nexus