Pull request #1399 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Loading trusted files from base branch main at c61610bbbff1187c8ac68f5c7e0a10add7b75ddb rather than 27df07216cb02fc65b1632e7f4b88a4de08b2221 Obtained Jenkinsfile from c61610bbbff1187c8ac68f5c7e0a10add7b75ddb 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-ssh9602168793052016545.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4014387893022009060.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5185708730012937291.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1399/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5508022662439369064.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4599037226752428081.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1399/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13393212906385866790.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5028 in /w/workspace/gexfoundry_device-sdk-go_PR-1399 [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-1399 # 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/1399/head:refs/remotes/origin/PR-1399 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 27df07216cb02fc65b1632e7f4b88a4de08b2221 Merge succeeded, producing 27df07216cb02fc65b1632e7f4b88a4de08b2221 Checking out Revision 27df07216cb02fc65b1632e7f4b88a4de08b2221 (PR-1399) > git config core.sparsecheckout # timeout=10 > git checkout -f 27df07216cb02fc65b1632e7f4b88a4de08b2221 # 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 c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 27df07216cb02fc65b1632e7f4b88a4de08b2221 # timeout=10 Commit message: "build(deps): Update go-mod-core-contracts version" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:59:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:59:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:56 ========================================================= 01:59:56 EdgeX Global Pipelines Version Info 01:59:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:59:57 ------------------- 01:59:57 stable info: 01:59:57 ------------------- 01:59:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:59:57 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 01:59:57 Message: update stable to v1.0.245 01:59:58 ------------------- 01:59:58 experimental info: 01:59:58 ------------------- 01:59:58 Commited By: **** collab-it+edgex@linuxfoundation.org 01:59:58 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 01:59:58 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:59:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1399 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1399 [Pipeline] echo 01:59:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1399 [Pipeline] echo 02:00:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 27df07216cb02fc65b1632e7f4b88a4de08b2221 [Pipeline] echo 02:00:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 27df072 [Pipeline] echo 02:00:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:00:00 provisioning config files... 02:00:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config10351516112842661935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:00 ---> docker-login.sh 02:00:00 nexus3.edgexfoundry.org:10001 02:00:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 nexus3.edgexfoundry.org:10002 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 nexus3.edgexfoundry.org:10003 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 nexus3.edgexfoundry.org:10004 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 docker.io 02:00:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:01 Configure a credential helper to remove this warning. See 02:00:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:01 02:00:01 Login Succeeded 02:00:01 ---> docker-login.sh ends [Pipeline] } 02:00:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:00:02 + git rev-list -1 --merges 27df07216cb02fc65b1632e7f4b88a4de08b2221~1..27df07216cb02fc65b1632e7f4b88a4de08b2221 [Pipeline] echo 02:00:02 -----------> git rev-list -1 --merges 27df07216cb02fc65b1632e7f4b88a4de08b2221~1..27df07216cb02fc65b1632e7f4b88a4de08b2221 27df07216cb02fc65b1632e7f4b88a4de08b2221 [false] [Pipeline] sh 02:00:02 + git log --format=format:%s -1 27df07216cb02fc65b1632e7f4b88a4de08b2221 [Pipeline] echo 02:00:03 ========================================================= 02:00:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:00:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:03 + git log --format=format:%s -1 27df07216cb02fc65b1632e7f4b88a4de08b2221 [Pipeline] echo 02:00:03 [semverPrep] GIT_COMMIT: 27df07216cb02fc65b1632e7f4b88a4de08b2221, Commit Message: build(deps): Update go-mod-core-contracts version [Pipeline] echo 02:00:03 [semverPrep] This is not a build commit. [Pipeline] sh 02:00:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:00:03 + grep -v github /etc/ssh/ssh_known_hosts 02:00:03 + [ -e /tmp/ssh_known_hosts ] 02:00:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:00:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:00:03 + sudo tee -a /etc/ssh/ssh_known_hosts 02:00:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:04 02:00:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:04 0.1.4: Pulling from edgex-devops/py-git-semver 02:00:04 b85a868b505f: Pulling fs layer 02:00:04 e2be974225ed: Pulling fs layer 02:00:04 339a4e72a1f5: Pulling fs layer 02:00:04 988bab9f4d93: Pulling fs layer 02:00:04 1469e6f7b9e6: Pulling fs layer 02:00:04 eaf3925da568: Pulling fs layer 02:00:04 bab4dde63d76: Pulling fs layer 02:00:04 bde34c3a00c8: Pulling fs layer 02:00:04 b352a97aabf1: Pulling fs layer 02:00:04 4872d77fe225: Pulling fs layer 02:00:04 5851b861e8e6: Pulling fs layer 02:00:04 1469e6f7b9e6: Waiting 02:00:04 988bab9f4d93: Waiting 02:00:04 bab4dde63d76: Waiting 02:00:04 b352a97aabf1: Waiting 02:00:04 4872d77fe225: Waiting 02:00:04 5851b861e8e6: Waiting 02:00:04 eaf3925da568: Waiting 02:00:04 bde34c3a00c8: Waiting 02:00:04 e2be974225ed: Verifying Checksum 02:00:04 e2be974225ed: Download complete 02:00:04 988bab9f4d93: Download complete 02:00:05 339a4e72a1f5: Verifying Checksum 02:00:05 339a4e72a1f5: Download complete 02:00:05 1469e6f7b9e6: Verifying Checksum 02:00:05 1469e6f7b9e6: Download complete 02:00:05 eaf3925da568: Download complete 02:00:05 bde34c3a00c8: Download complete 02:00:05 b352a97aabf1: Verifying Checksum 02:00:05 b352a97aabf1: Download complete 02:00:05 4872d77fe225: Download complete 02:00:05 5851b861e8e6: Verifying Checksum 02:00:05 5851b861e8e6: Download complete 02:00:05 b85a868b505f: Verifying Checksum 02:00:05 b85a868b505f: Download complete 02:00:05 bab4dde63d76: Verifying Checksum 02:00:05 bab4dde63d76: Download complete 02:00:06 b85a868b505f: Pull complete 02:00:06 e2be974225ed: Pull complete 02:00:07 339a4e72a1f5: Pull complete 02:00:07 988bab9f4d93: Pull complete 02:00:07 1469e6f7b9e6: Pull complete 02:00:07 eaf3925da568: Pull complete 02:00:09 bab4dde63d76: Pull complete 02:00:09 bde34c3a00c8: Pull complete 02:00:09 b352a97aabf1: Pull complete 02:00:09 4872d77fe225: Pull complete 02:00:09 5851b861e8e6: Pull complete 02:00:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:00:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:00:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:09 prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container 02:00:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:00:12 $ docker top cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 -eo pid,comm 02:00:12 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). 02:00:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:00:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:12 [ssh-agent] Looking for ssh-agent implementation... 02:00:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:12 $ docker exec cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 ssh-agent 02:00:12 SSH_AUTH_SOCK=/tmp/ssh-tQFNRGqcv5CB/agent.32 02:00:12 SSH_AGENT_PID=39 02:00:12 Running ssh-add (command line suppressed) 02:00:12 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_12572680244304332201.key (/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_12572680244304332201.key) 02:00:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:13 + git tag --points-at HEAD [Pipeline] } 02:00:13 $ docker exec --env ******** --env ******** cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 ssh-agent -k 02:00:13 unset SSH_AUTH_SOCK; 02:00:13 unset SSH_AGENT_PID; 02:00:13 echo Agent pid 39 killed; 02:00:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:00:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:00:13 [ssh-agent] Looking for ssh-agent implementation... 02:00:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:00:13 $ docker exec cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 ssh-agent 02:00:13 SSH_AUTH_SOCK=/tmp/ssh-PEtgpt3a45WK/agent.71 02:00:13 SSH_AGENT_PID=77 02:00:13 Running ssh-add (command line suppressed) 02:00:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_15710739231945952273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/private_key_15710739231945952273.key) 02:00:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:00:14 + git semver init 02:00:14 2023-03-22 02:00:14,356 [run_init] DEBUG init version:0.0.0 force:False 02:00:14 2023-03-22 02:00:14,357 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver 02:00:14 2023-03-22 02:00:14,358 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver 02:00:14 2023-03-22 02:00:14,358 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399, universal_newlines=False, shell=None, istream=None) 02:00:15 2023-03-22 02:00:15,235 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.git/info/exclude 02:00:15 2023-03-22 02:00:15,236 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 with force:False 02:00:15 2023-03-22 02:00:15,236 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 02:00:15 2023-03-22 02:00:15,240 [execute] INFO git cat-file --batch-check 02:00:15 2023-03-22 02:00:15,240 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver, universal_newlines=False, shell=None, istream=) 02:00:15 2023-03-22 02:00:15,247 [execute] INFO git cat-file --batch 02:00:15 2023-03-22 02:00:15,247 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver, universal_newlines=False, shell=None, istream=) 02:00:15 2023-03-22 02:00:15,252 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1399/.semver/PR-1399 02:00:15 0.0.0 [Pipeline] } 02:00:15 $ docker exec --env ******** --env ******** cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 ssh-agent -k 02:00:15 unset SSH_AUTH_SOCK; 02:00:15 unset SSH_AGENT_PID; 02:00:15 echo Agent pid 77 killed; 02:00:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:00:15 + git semver [Pipeline] } 02:00:16 $ docker stop --time=1 cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 02:00:17 $ docker rm -f --volumes cc4c41963438ad6f5589069c53da62d3117301259776694e44f84957c5c91f09 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:00:18 Stashed 1 file(s) [Pipeline] echo 02:00:18 [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 02:00:18 provisioning config files... 02:00:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config6457665145126365317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:00:19 ---> docker-login.sh 02:00:19 nexus3.edgexfoundry.org:10001 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 nexus3.edgexfoundry.org:10002 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 nexus3.edgexfoundry.org:10003 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 nexus3.edgexfoundry.org:10004 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 docker.io 02:00:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:00:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:00:19 Configure a credential helper to remove this warning. See 02:00:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:00:19 02:00:19 Login Succeeded 02:00:19 ---> docker-login.sh ends [Pipeline] } 02:00:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:00:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:00:19 ========================================================= 02:00:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:00:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:20 + 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 . 02:00:20 Sending build context to Docker daemon 10.8MB 02:00:20 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 02:00:20 Step 2/10 : FROM ${BASE} AS builder 02:00:20 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:00:20 63b65145d645: Pulling fs layer 02:00:20 a2d21d5440eb: Pulling fs layer 02:00:20 935e6c44a52c: Pulling fs layer 02:00:20 94cc34f8dd06: Pulling fs layer 02:00:20 30dea6a524f1: Pulling fs layer 02:00:20 a2aff8979fd8: Pulling fs layer 02:00:20 6808be2612f2: Pulling fs layer 02:00:20 f25807f1079a: Pulling fs layer 02:00:20 94cc34f8dd06: Waiting 02:00:20 30dea6a524f1: Waiting 02:00:20 a2aff8979fd8: Waiting 02:00:20 6808be2612f2: Waiting 02:00:20 f25807f1079a: Waiting 02:00:20 a2d21d5440eb: Verifying Checksum 02:00:20 a2d21d5440eb: Download complete 02:00:20 94cc34f8dd06: Verifying Checksum 02:00:20 94cc34f8dd06: Download complete 02:00:20 30dea6a524f1: Verifying Checksum 02:00:20 30dea6a524f1: Download complete 02:00:20 63b65145d645: Verifying Checksum 02:00:20 63b65145d645: Download complete 02:00:20 a2aff8979fd8: Verifying Checksum 02:00:20 a2aff8979fd8: Download complete 02:00:20 63b65145d645: Pull complete 02:00:20 a2d21d5440eb: Pull complete 02:00:21 935e6c44a52c: Verifying Checksum 02:00:21 935e6c44a52c: Download complete 02:00:21 f25807f1079a: Verifying Checksum 02:00:21 f25807f1079a: Download complete 02:00:21 6808be2612f2: Verifying Checksum 02:00:21 6808be2612f2: Download complete 02:00:24 935e6c44a52c: Pull complete 02:00:24 94cc34f8dd06: Pull complete 02:00:24 30dea6a524f1: Pull complete 02:00:24 a2aff8979fd8: Pull complete 02:00:27 6808be2612f2: Pull complete 02:00:28 f25807f1079a: Pull complete 02:00:28 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:00:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:00:28 ---> 3b553350e43f 02:00:28 Step 3/10 : ARG MAKE=make build 02:00:32 ---> Running in 52e2fb26d467 02:00:32 Removing intermediate container 52e2fb26d467 02:00:32 ---> 46457968f9d4 02:00:32 Step 4/10 : WORKDIR /device-sdk-go 02:00:32 ---> Running in ddf72f55a854 02:00:32 Removing intermediate container ddf72f55a854 02:00:32 ---> ff641255ef21 02:00:32 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:00:32 ---> Running in a34dc88ec8a4 02:00:32 Removing intermediate container a34dc88ec8a4 02:00:32 ---> 5dfd0e2f9eea 02:00:32 Step 6/10 : RUN apk add --update --no-cache make git 02:00:32 ---> Running in 654f1ff4019a 02:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:33 OK: 265 MiB in 53 packages 02:00:33 Removing intermediate container 654f1ff4019a 02:00:33 ---> d728857c73bc 02:00:33 Step 7/10 : COPY go.mod vendor* ./ 02:00:33 Still waiting to schedule task 02:00:33 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5026’ is offline 02:00:33 ---> 788cdb0e6ce9 02:00:33 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:33 ---> Running in 1e139ebd4a06 02:01:12 Removing intermediate container 1e139ebd4a06 02:01:12 ---> 1867b04dd68e 02:01:12 Step 9/10 : COPY . . 02:01:12 ---> 76f85c3dfe0d 02:01:12 Step 10/10 : RUN ${MAKE} 02:01:12 ---> Running in 93624b996554 02:01:12 noop 02:01:12 Removing intermediate container 93624b996554 02:01:12 ---> e86a891e947c 02:01:12 Successfully built e86a891e947c 02:01:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:12 + docker inspect -f . ci-base-image-x86_64 02:01:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:13 prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container 02:01:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:01:13 $ docker top 7e90f051f4675a5186547f277274f2b55b255a005f5683e0ad582f1162a2dd1d -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:13 + go version 02:01:13 go version go1.20.2 linux/amd64 [Pipeline] } 02:01:13 $ docker stop --time=1 7e90f051f4675a5186547f277274f2b55b255a005f5683e0ad582f1162a2dd1d 02:01:15 $ docker rm -f --volumes 7e90f051f4675a5186547f277274f2b55b255a005f5683e0ad582f1162a2dd1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:15 + docker inspect -f . ci-base-image-x86_64 02:01:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:16 prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container 02:01:16 $ 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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:01:16 $ docker top 4769af45ab825c0d2b411d0304f0710f1bfc12ed1c2babefa4aac7118a6052a7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:01:16 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1399 [Pipeline] fileExists [Pipeline] sh 02:01:17 + make test 02:01:17 go test -race -coverprofile=coverage.out ./... 02:01:17 go: downloading golang.org/x/net v0.7.0 02:01:17 go: downloading golang.org/x/crypto v0.6.0 02:01:17 go: downloading golang.org/x/sys v0.5.0 02:01:17 go: downloading golang.org/x/text v0.7.0 02:01:18 go: updates to go.mod needed; to update it: 02:01:18 go mod tidy 02:01:18 make: *** [Makefile:35: unittest] Error 1 [Pipeline] } 02:01:18 $ docker stop --time=1 4769af45ab825c0d2b411d0304f0710f1bfc12ed1c2babefa4aac7118a6052a7 02:01:20 $ docker rm -f --volumes 4769af45ab825c0d2b411d0304f0710f1bfc12ed1c2babefa4aac7118a6052a7 [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 02:01:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:22 02:01:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:22 latest: Pulling from edgex-lftools-log-publisher 02:01:22 5eb5b503b376: Pulling fs layer 02:01:22 5c69ac0246d0: Pulling fs layer 02:01:22 ec43610c2a17: Pulling fs layer 02:01:22 3a2ae6a8a46f: Pulling fs layer 02:01:22 33b1e0a273af: Pulling fs layer 02:01:22 5d3b04190fa2: Pulling fs layer 02:01:22 2f39f015ded8: Pulling fs layer 02:01:22 3a2ae6a8a46f: Waiting 02:01:22 33b1e0a273af: Waiting 02:01:22 2f39f015ded8: Waiting 02:01:22 5d3b04190fa2: Waiting 02:01:22 5c69ac0246d0: Verifying Checksum 02:01:22 5c69ac0246d0: Download complete 02:01:22 3a2ae6a8a46f: Verifying Checksum 02:01:22 3a2ae6a8a46f: Download complete 02:01:22 33b1e0a273af: Verifying Checksum 02:01:22 33b1e0a273af: Download complete 02:01:22 5d3b04190fa2: Verifying Checksum 02:01:22 5d3b04190fa2: Download complete 02:01:22 ec43610c2a17: Verifying Checksum 02:01:22 ec43610c2a17: Download complete 02:01:22 5eb5b503b376: Verifying Checksum 02:01:22 5eb5b503b376: Download complete 02:01:23 2f39f015ded8: Download complete 02:01:23 5eb5b503b376: Pull complete 02:01:24 5c69ac0246d0: Pull complete 02:01:24 ec43610c2a17: Pull complete 02:01:24 3a2ae6a8a46f: Pull complete 02:01:24 33b1e0a273af: Pull complete 02:01:24 5d3b04190fa2: Pull complete 02:01:29 2f39f015ded8: Pull complete 02:01:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:01:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:29 prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container 02:01:29 $ 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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:01:33 $ docker top d7d27feb5361b7db8183a146f28862b2398abb264a0a6dad2dcc2f0fc84e0590 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:33 ---> job-cost.sh 02:01:33 lf-activate-venv: SKIPPING 02:01:33 INFO: No Stack... 02:01:34 INFO: Retrieving Pricing Info for: v3-standard-8 02:01:34 INFO: Archiving Costs [Pipeline] sh 02:01:34 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/cost.csv 02:01:34 + cut -d, -f6 [Pipeline] lock 02:01:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] 02:01:34 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] did not exist. Created. 02:01:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:01:35 + echo total: 0.2199999988079071 [Pipeline] stash 02:01:35 Stashed 1 file(s) [Pipeline] } 02:01:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:01:35 $ docker stop --time=1 d7d27feb5361b7db8183a146f28862b2398abb264a0a6dad2dcc2f0fc84e0590 02:01:36 $ docker rm -f --volumes d7d27feb5361b7db8183a146f28862b2398abb264a0a6dad2dcc2f0fc84e0590 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:01:36 Failed in branch amd64 02:02:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5030 in /w/workspace/gexfoundry_device-sdk-go_PR-1399 [Pipeline] { [Pipeline] ws 02:02:59 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 02:02:59 The recommended git tool is: git 02:03:06 using credential edgex-jenkins-ssh 02:03:06 Cloning the remote Git repository 02:03:06 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:03:06 > git init /w/workspace/device-sdk-go/1 # timeout=10 02:03:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:03:06 > git --version # timeout=10 02:03:06 > git --version # 'git version 2.25.1' 02:03:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:03:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:03:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:03:09 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1399/head:refs/remotes/origin/PR-1399 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:03:10 Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit 27df07216cb02fc65b1632e7f4b88a4de08b2221 02:03:10 Merge succeeded, producing 27df07216cb02fc65b1632e7f4b88a4de08b2221 02:03:10 Checking out Revision 27df07216cb02fc65b1632e7f4b88a4de08b2221 (PR-1399) 02:03:10 > git config core.sparsecheckout # timeout=10 02:03:10 > git checkout -f 27df07216cb02fc65b1632e7f4b88a4de08b2221 # timeout=10 02:03:10 > git remote # timeout=10 02:03:10 > git config --get remote.origin.url # timeout=10 02:03:10 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:10 > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 02:03:10 > git rev-parse HEAD^{commit} # timeout=10 02:03:10 > git config core.sparsecheckout # timeout=10 02:03:10 > git checkout -f 27df07216cb02fc65b1632e7f4b88a4de08b2221 # timeout=10 02:03:14 Commit message: "build(deps): Update go-mod-core-contracts version" 02:03:14 > git --version # timeout=10 02:03:14 > git --version # 'git version 2.25.1' 02:03:14 fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:03:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:03:15 Dload Upload Total Spent Left Speed 02:03:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 02:03:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:03:16 + sudo tee /etc/docker/daemon.new 02:03:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:03:16 { 02:03:16 "registry-mirrors": [ 02:03:16 "https://nexus3.edgexfoundry.org:10001" 02:03:16 ], 02:03:16 "bip": "10.250.0.254/24", 02:03:16 "hosts": [ 02:03:16 "tcp://0.0.0.0:5555", 02:03:16 "unix:///var/run/docker.sock" 02:03:16 ], 02:03:16 "mtu": 1458, 02:03:16 "selinux-enabled": true, 02:03:16 "seccomp-profile": "/etc/docker/seccomp.json" 02:03:16 } [Pipeline] sh 02:03:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:03:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:35 provisioning config files... 02:03:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7170890051599207074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:35 ---> docker-login.sh 02:03:35 nexus3.edgexfoundry.org:10001 02:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:36 Configure a credential helper to remove this warning. See 02:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:36 02:03:36 Login Succeeded 02:03:36 nexus3.edgexfoundry.org:10002 02:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:37 Configure a credential helper to remove this warning. See 02:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:37 02:03:37 Login Succeeded 02:03:37 nexus3.edgexfoundry.org:10003 02:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:37 Configure a credential helper to remove this warning. See 02:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:37 02:03:37 Login Succeeded 02:03:37 nexus3.edgexfoundry.org:10004 02:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:37 Configure a credential helper to remove this warning. See 02:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:37 02:03:37 Login Succeeded 02:03:37 docker.io 02:03:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:38 Configure a credential helper to remove this warning. See 02:03:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:38 02:03:38 Login Succeeded 02:03:38 ---> docker-login.sh ends [Pipeline] } 02:03:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:03:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:03:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:03:39 ========================================================= 02:03:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:03:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:39 + 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 . 02:03:40 Sending build context to Docker daemon 5.816MB 02:03:40 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 02:03:40 Step 2/10 : FROM ${BASE} AS builder 02:03:40 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:03:40 af6eaf76a39c: Pulling fs layer 02:03:40 55522c791124: Pulling fs layer 02:03:40 ce5c4a1c91eb: Pulling fs layer 02:03:40 169dfbe0d373: Pulling fs layer 02:03:40 e1ff8fa3b103: Pulling fs layer 02:03:40 52ebb69f0ebf: Pulling fs layer 02:03:40 5abe8eddf0d5: Pulling fs layer 02:03:40 169dfbe0d373: Waiting 02:03:40 e1ff8fa3b103: Waiting 02:03:40 52ebb69f0ebf: Waiting 02:03:40 55522c791124: Verifying Checksum 02:03:40 55522c791124: Download complete 02:03:40 169dfbe0d373: Verifying Checksum 02:03:40 169dfbe0d373: Download complete 02:03:40 e1ff8fa3b103: Verifying Checksum 02:03:40 e1ff8fa3b103: Download complete 02:03:40 af6eaf76a39c: Verifying Checksum 02:03:40 af6eaf76a39c: Download complete 02:03:41 af6eaf76a39c: Pull complete 02:03:41 5abe8eddf0d5: Verifying Checksum 02:03:41 5abe8eddf0d5: Download complete 02:03:42 55522c791124: Pull complete 02:03:43 ce5c4a1c91eb: Verifying Checksum 02:03:43 ce5c4a1c91eb: Download complete 02:03:43 52ebb69f0ebf: Verifying Checksum 02:03:43 52ebb69f0ebf: Download complete 02:03:55 ce5c4a1c91eb: Pull complete 02:03:55 169dfbe0d373: Pull complete 02:03:55 e1ff8fa3b103: Pull complete 02:04:02 52ebb69f0ebf: Pull complete 02:04:03 5abe8eddf0d5: Pull complete 02:04:03 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:04:03 ---> 6cb57ee374ae 02:04:03 Step 3/10 : ARG MAKE=make build 02:04:05 ---> Running in 9b410b28e618 02:04:05 Removing intermediate container 9b410b28e618 02:04:05 ---> bd8c88310641 02:04:05 Step 4/10 : WORKDIR /device-sdk-go 02:04:05 ---> Running in 26deba129e33 02:04:05 Removing intermediate container 26deba129e33 02:04:05 ---> f3e04a754f5c 02:04:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:04:05 ---> Running in 8aee494b0441 02:04:06 Removing intermediate container 8aee494b0441 02:04:06 ---> 16f05dbd736c 02:04:06 Step 6/10 : RUN apk add --update --no-cache make git 02:04:06 ---> Running in 3bcc935d79d5 02:04:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:04:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:04:09 OK: 263 MiB in 53 packages 02:04:10 Removing intermediate container 3bcc935d79d5 02:04:10 ---> a5143b951e98 02:04:10 Step 7/10 : COPY go.mod vendor* ./ 02:04:10 ---> 88c41530f4cf 02:04:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:10 ---> Running in 9fd0a5fac97e 02:05:18 Removing intermediate container 9fd0a5fac97e 02:05:18 ---> f0427704637f 02:05:18 Step 9/10 : COPY . . 02:05:18 ---> 320b129f9398 02:05:18 Step 10/10 : RUN ${MAKE} 02:05:18 ---> Running in 21ae388e4fe6 02:05:18 noop 02:05:20 Removing intermediate container 21ae388e4fe6 02:05:20 ---> 5e96fc8b0ea8 02:05:20 Successfully built 5e96fc8b0ea8 02:05:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:21 + docker inspect -f . ci-base-image-arm64 02:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:21 prd-ubuntu20.04-docker-arm64-4c-16g-5030 does not seem to be running inside a container 02:05:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:05:22 $ docker top 32a0a7a53f5b901ffc97457757004e969992452562e92c2c1fdabc21c2680704 -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:23 + go version 02:05:23 go version go1.20.2 linux/arm64 [Pipeline] } 02:05:23 $ docker stop --time=1 32a0a7a53f5b901ffc97457757004e969992452562e92c2c1fdabc21c2680704 02:05:25 $ docker rm -f --volumes 32a0a7a53f5b901ffc97457757004e969992452562e92c2c1fdabc21c2680704 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:25 + docker inspect -f . ci-base-image-arm64 02:05:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:26 prd-ubuntu20.04-docker-arm64-4c-16g-5030 does not seem to be running inside a container 02:05:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:05:27 $ docker top 35166c2a1e8fecf4caa1c9a03967c628b0a0448f492a1f6a48ea79a0c1e134bd -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:28 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 02:05:28 + make test 02:05:28 go test -race -coverprofile=coverage.out ./... 02:05:29 go: downloading golang.org/x/net v0.7.0 02:05:30 go: downloading golang.org/x/crypto v0.6.0 02:05:30 go: downloading golang.org/x/sys v0.5.0 02:05:31 go: downloading golang.org/x/text v0.7.0 02:05:34 go: updates to go.mod needed; to update it: 02:05:34 go mod tidy 02:05:34 make: *** [Makefile:35: unittest] Error 1 [Pipeline] } 02:05:34 $ docker stop --time=1 35166c2a1e8fecf4caa1c9a03967c628b0a0448f492a1f6a48ea79a0c1e134bd 02:05:36 $ docker rm -f --volumes 35166c2a1e8fecf4caa1c9a03967c628b0a0448f492a1f6a48ea79a0c1e134bd [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 02:05:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:38 02:05:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:05:39 arm64: Pulling from edgex-lftools-log-publisher 02:05:39 8998bd30e6a1: Pulling fs layer 02:05:39 04944245beec: Pulling fs layer 02:05:39 699f458cf7ca: Pulling fs layer 02:05:39 765212b225bb: Pulling fs layer 02:05:39 f23df028b6ca: Pulling fs layer 02:05:39 d65c8cfc05b1: Pulling fs layer 02:05:39 2437ff75d9bd: Pulling fs layer 02:05:39 f23df028b6ca: Waiting 02:05:39 765212b225bb: Waiting 02:05:39 d65c8cfc05b1: Waiting 02:05:39 2437ff75d9bd: Waiting 02:05:39 04944245beec: Verifying Checksum 02:05:39 04944245beec: Download complete 02:05:39 765212b225bb: Verifying Checksum 02:05:39 765212b225bb: Download complete 02:05:39 f23df028b6ca: Verifying Checksum 02:05:39 f23df028b6ca: Download complete 02:05:39 d65c8cfc05b1: Verifying Checksum 02:05:39 d65c8cfc05b1: Download complete 02:05:39 699f458cf7ca: Download complete 02:05:39 8998bd30e6a1: Download complete 02:05:41 2437ff75d9bd: Verifying Checksum 02:05:41 2437ff75d9bd: Download complete 02:05:46 8998bd30e6a1: Pull complete 02:05:46 04944245beec: Pull complete 02:05:47 699f458cf7ca: Pull complete 02:05:47 765212b225bb: Pull complete 02:05:48 f23df028b6ca: Pull complete 02:05:48 d65c8cfc05b1: Pull complete 02:06:01 2437ff75d9bd: Pull complete 02:06:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:06:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:06:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:01 prd-ubuntu20.04-docker-arm64-4c-16g-5030 does not seem to be running inside a container 02:06: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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:06:03 $ docker top c8ae80586dbcc9565cb9e8e506159f0eee5978b1d7a8294705a5d3d7b3ec8a9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:06:04 ---> job-cost.sh 02:06:04 lf-activate-venv: SKIPPING 02:06:04 INFO: No Stack... 02:06:05 INFO: Retrieving Pricing Info for: v3-standard-4 02:06:05 INFO: Archiving Costs [Pipeline] sh 02:06:06 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 02:06:06 + cut -d, -f6 [Pipeline] lock 02:06:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] 02:06:06 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] did not exist. Created. 02:06:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:06:07 /w/workspace/device-sdk-go/1@tmp/durable-7a31947e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:06:07 + echo total: 0.10999999940395355 [Pipeline] stash 02:06:07 Warning: overwriting stash ‘stack-cost’ 02:06:08 Stashed 1 file(s) [Pipeline] } 02:06:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1399-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:06:08 $ docker stop --time=1 c8ae80586dbcc9565cb9e8e506159f0eee5978b1d7a8294705a5d3d7b3ec8a9d 02:06:10 $ docker rm -f --volumes c8ae80586dbcc9565cb9e8e506159f0eee5978b1d7a8294705a5d3d7b3ec8a9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 02:06:10 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 02:06:12 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives ] 02:06:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives 02:06:12 total 16 02:06:12 drwxr-xr-x 3 root root 4096 Mar 22 02:01 . 02:06:12 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 02:01 .. 02:06:12 drwxr-xr-x 2 root root 4096 Mar 22 02:01 cost 02:06:12 -rw-r--r-- 1 root root 86 Mar 22 02:01 cost.csv 02:06:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives 02:06:12 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives 02:06:12 total 16 02:06:12 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 02:01 . 02:06:12 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 02:01 .. 02:06:12 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 02:01 cost 02:06:12 -rw-r--r-- 1 jenkins jenkins 86 Mar 22 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:06:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:06:13 ---> package-listing.sh 02:06:13 ++ facter osfamily 02:06:13 ++ tr '[:upper:]' '[:lower:]' 02:06:14 + OS_FAMILY=debian 02:06:14 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1399 02:06:14 + START_PACKAGES=/tmp/packages_start.txt 02:06:14 + END_PACKAGES=/tmp/packages_end.txt 02:06:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:06:14 + PACKAGES=/tmp/packages_start.txt 02:06:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1399 ']' 02:06:14 + PACKAGES=/tmp/packages_end.txt 02:06:14 + case "${OS_FAMILY}" in 02:06:14 + dpkg -l 02:06:14 + grep '^ii' 02:06:14 + '[' -f /tmp/packages_start.txt ']' 02:06:14 + '[' -f /tmp/packages_end.txt ']' 02:06:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:06:14 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1399 ']' 02:06:14 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/ 02:06:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1399/archives/ [Pipeline] echo 02:06: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-1399/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:06:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:06:15 prd-ubuntu20.04-docker-8c-8g-5028 does not seem to be running inside a container 02:06:15 $ 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-1399/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-1399 -v /w/workspace/gexfoundry_device-sdk-go_PR-1399:/w/workspace/gexfoundry_device-sdk-go_PR-1399:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:06:15 $ docker top 9a08af64ad69d75f84827e49b7d64cce3b7f35136e14f3cfecb2971e522c6ba0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:15 + touch /tmp/pre-build-complete [Pipeline] sh 02:06:16 + mkdir -p /var/log/sysstat [Pipeline] sh 02:06:16 + ls /var/log/sa-host 02:06:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:06:16 provisioning config files... 02:06:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1399@tmp/config15993408799241012052tmp [Pipeline] { [Pipeline] echo 02:06:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:06:17 ---> create-netrc.sh [Pipeline] } 02:06:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:06:17 ---> python-tools-install.sh [Pipeline] echo 02:06:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:06:18 ---> sudo-logs.sh 02:06:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:06:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:06:18 ---> job-cost.sh 02:06:18 lf-activate-venv: SKIPPING 02:06:18 DEBUG: total: 0.2199999988079071 02:06:18 INFO: Retrieving Stack Cost... 02:06:18 INFO: Retrieving Pricing Info for: v3-standard-8 02:06:18 INFO: Archiving Costs [Pipeline] echo 02:06:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:06:19 ---> logs-deploy.sh 02:06:19 lf-activate-venv: SKIPPING 02:06:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1399/1 02:06:19 INFO: archiving workspace using pattern(s): 02:06:20 Archives upload complete. 02:06:20 INFO: archiving logs to Nexus