Pull request #288 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e3325b5d144ea7a5590fb9a4b829210311f8d5c0+795c3d665a96d2a485aec9c896c7781dae732fba (95ea5d4d923edfd05c6d5581e539328d427fe335) 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-ssh6381155560195911124.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6061437069471006970.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-rest-go/branches/PR-288/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-rest-go/branches/PR-288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18189962801545433714.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-rest-go/branches/PR-288/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8574114503285583786.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh7558796237894126353.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-rest-go/branches/PR-288/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-rest-go/branches/PR-288/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2961089409298223652.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-7591 in /w/workspace/gexfoundry_device-rest-go_PR-288 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-288 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 795c3d665a96d2a485aec9c896c7781dae732fba into PR head commit e3325b5d144ea7a5590fb9a4b829210311f8d5c0 Merge succeeded, producing e3325b5d144ea7a5590fb9a4b829210311f8d5c0 Checking out Revision e3325b5d144ea7a5590fb9a4b829210311f8d5c0 (PR-288) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:58:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:59 ========================================================= 20:58:59 EdgeX Global Pipelines Version Info 20:58:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f e3325b5d144ea7a5590fb9a4b829210311f8d5c0 # 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 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e3325b5d144ea7a5590fb9a4b829210311f8d5c0 # timeout=10 20:59:00 ------------------- 20:59:00 stable info: 20:59:00 ------------------- 20:59:00 Commited By: Bill Mahoney bill.mahoney@intel.com 20:59:00 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:59:00 Message: update stable to v1.0.248 20:59:00 ------------------- 20:59:00 experimental info: 20:59:00 ------------------- 20:59:00 Commited By: **** collab-it+edgex@linuxfoundation.org 20:59:00 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:59:00 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:59:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-288 [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-288 [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-288 [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3325b5 [Pipeline] echo 20:59:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:59:02 provisioning config files... 20:59:02 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp/config5817306120187658125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:02 ---> docker-login.sh 20:59:02 nexus3.edgexfoundry.org:10001 20:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:03 Configure a credential helper to remove this warning. See 20:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:03 20:59:03 Login Succeeded 20:59:03 nexus3.edgexfoundry.org:10002 20:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:03 Configure a credential helper to remove this warning. See 20:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:03 20:59:03 Login Succeeded 20:59:03 nexus3.edgexfoundry.org:10003 20:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:03 Configure a credential helper to remove this warning. See 20:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:03 20:59:03 Login Succeeded 20:59:03 nexus3.edgexfoundry.org:10004 20:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:03 Configure a credential helper to remove this warning. See 20:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:03 20:59:03 Login Succeeded 20:59:03 docker.io 20:59:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:03 Configure a credential helper to remove this warning. See 20:59:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:03 20:59:03 Login Succeeded 20:59:03 ---> docker-login.sh ends [Pipeline] } 20:59:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:59:04 + git rev-list -1 --merges e3325b5d144ea7a5590fb9a4b829210311f8d5c0~1..e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [Pipeline] echo 20:59:04 -----------> git rev-list -1 --merges e3325b5d144ea7a5590fb9a4b829210311f8d5c0~1..e3325b5d144ea7a5590fb9a4b829210311f8d5c0 e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [false] [Pipeline] sh 20:59:04 + git log --format=format:%s -1 e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [Pipeline] echo 20:59:04 ========================================================= 20:59:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:59:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:59:05 + git log --format=format:%s -1 e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [Pipeline] echo 20:59:05 [semverPrep] GIT_COMMIT: e3325b5d144ea7a5590fb9a4b829210311f8d5c0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 20:59:05 [semverPrep] This is not a build commit. [Pipeline] sh 20:59:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:59:05 + grep -v github /etc/ssh/ssh_known_hosts 20:59:05 + [ -e /tmp/ssh_known_hosts ] 20:59:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:59:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:59:05 + sudo tee -a /etc/ssh/ssh_known_hosts 20:59:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:06 20:59:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:06 0.1.4: Pulling from edgex-devops/py-git-semver 20:59:06 b85a868b505f: Pulling fs layer 20:59:06 e2be974225ed: Pulling fs layer 20:59:06 339a4e72a1f5: Pulling fs layer 20:59:06 988bab9f4d93: Pulling fs layer 20:59:06 1469e6f7b9e6: Pulling fs layer 20:59:06 eaf3925da568: Pulling fs layer 20:59:06 bab4dde63d76: Pulling fs layer 20:59:06 bde34c3a00c8: Pulling fs layer 20:59:06 b352a97aabf1: Pulling fs layer 20:59:06 4872d77fe225: Pulling fs layer 20:59:06 5851b861e8e6: Pulling fs layer 20:59:06 988bab9f4d93: Waiting 20:59:06 bde34c3a00c8: Waiting 20:59:06 1469e6f7b9e6: Waiting 20:59:06 b352a97aabf1: Waiting 20:59:06 4872d77fe225: Waiting 20:59:06 bab4dde63d76: Waiting 20:59:06 eaf3925da568: Waiting 20:59:06 e2be974225ed: Verifying Checksum 20:59:06 e2be974225ed: Download complete 20:59:06 988bab9f4d93: Verifying Checksum 20:59:06 988bab9f4d93: Download complete 20:59:06 1469e6f7b9e6: Verifying Checksum 20:59:06 1469e6f7b9e6: Download complete 20:59:06 eaf3925da568: Verifying Checksum 20:59:06 339a4e72a1f5: Verifying Checksum 20:59:06 339a4e72a1f5: Download complete 20:59:06 bde34c3a00c8: Verifying Checksum 20:59:06 bde34c3a00c8: Download complete 20:59:06 b352a97aabf1: Download complete 20:59:06 4872d77fe225: Verifying Checksum 20:59:06 4872d77fe225: Download complete 20:59:06 5851b861e8e6: Download complete 20:59:06 b85a868b505f: Verifying Checksum 20:59:06 b85a868b505f: Download complete 20:59:07 bab4dde63d76: Verifying Checksum 20:59:07 bab4dde63d76: Download complete 20:59:08 b85a868b505f: Pull complete 20:59:08 e2be974225ed: Pull complete 20:59:08 339a4e72a1f5: Pull complete 20:59:08 988bab9f4d93: Pull complete 20:59:08 1469e6f7b9e6: Pull complete 20:59:08 eaf3925da568: Pull complete 20:59:10 bab4dde63d76: Pull complete 20:59:10 bde34c3a00c8: Pull complete 20:59:10 b352a97aabf1: Pull complete 20:59:10 4872d77fe225: Pull complete 20:59:10 5851b861e8e6: Pull complete 20:59:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:59:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:11 prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container 20:59:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-288 -v /w/workspace/gexfoundry_device-rest-go_PR-288:/w/workspace/gexfoundry_device-rest-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-288@tmp:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:13 $ docker top 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 -eo pid,comm 20:59:13 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). 20:59:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:13 [ssh-agent] Looking for ssh-agent implementation... 20:59:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:13 $ docker exec 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 ssh-agent 20:59:14 SSH_AUTH_SOCK=/tmp/ssh-kip4docqqF6z/agent.33 20:59:14 SSH_AGENT_PID=39 20:59:14 Running ssh-add (command line suppressed) 20:59:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-288@tmp/private_key_8787111710523031983.key (/w/workspace/gexfoundry_device-rest-go_PR-288@tmp/private_key_8787111710523031983.key) 20:59:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:14 + git tag --points-at HEAD [Pipeline] } 20:59:14 $ docker exec --env ******** --env ******** 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 ssh-agent -k 20:59:14 unset SSH_AUTH_SOCK; 20:59:14 unset SSH_AGENT_PID; 20:59:14 echo Agent pid 39 killed; 20:59:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:59:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:14 [ssh-agent] Looking for ssh-agent implementation... 20:59:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:14 $ docker exec 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 ssh-agent 20:59:14 SSH_AUTH_SOCK=/tmp/ssh-m0BRWxVAPrNx/agent.71 20:59:14 SSH_AGENT_PID=77 20:59:14 Running ssh-add (command line suppressed) 20:59:14 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-288@tmp/private_key_5327225837429337299.key (/w/workspace/gexfoundry_device-rest-go_PR-288@tmp/private_key_5327225837429337299.key) 20:59:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:15 + git semver init 20:59:15 2023-04-12 20:59:15,467 [run_init] DEBUG init version:0.0.0 force:False 20:59:15 2023-04-12 20:59:15,468 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-288/.semver 20:59:15 2023-04-12 20:59:15,468 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-288/.semver 20:59:15 2023-04-12 20:59:15,469 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-288/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-288, universal_newlines=False, shell=None, istream=None) 20:59:16 2023-04-12 20:59:16,594 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-288/.git/info/exclude 20:59:16 2023-04-12 20:59:16,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-288/.semver/PR-288 with force:False 20:59:16 2023-04-12 20:59:16,595 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-288/.semver/PR-288 20:59:16 2023-04-12 20:59:16,599 [execute] INFO git cat-file --batch-check 20:59:16 2023-04-12 20:59:16,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-288/.semver, universal_newlines=False, shell=None, istream=) 20:59:16 2023-04-12 20:59:16,604 [execute] INFO git cat-file --batch 20:59:16 2023-04-12 20:59:16,604 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-288/.semver, universal_newlines=False, shell=None, istream=) 20:59:16 2023-04-12 20:59:16,609 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-288/.semver/PR-288 20:59:16 0.0.0 [Pipeline] } 20:59:16 $ docker exec --env ******** --env ******** 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 ssh-agent -k 20:59:17 unset SSH_AUTH_SOCK; 20:59:17 unset SSH_AGENT_PID; 20:59:17 echo Agent pid 77 killed; 20:59:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:17 + git semver [Pipeline] } 20:59:17 $ docker stop --time=1 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 20:59:19 $ docker rm -f --volumes 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:19 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:59:19 Stashed 1 file(s) [Pipeline] echo 20:59:19 [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 20:59:20 provisioning config files... 20:59:20 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp/config5807194763690483877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:20 ---> docker-login.sh 20:59:20 nexus3.edgexfoundry.org:10001 20:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:20 Configure a credential helper to remove this warning. See 20:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:20 20:59:20 Login Succeeded 20:59:20 nexus3.edgexfoundry.org:10002 20:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:20 Configure a credential helper to remove this warning. See 20:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:20 20:59:20 Login Succeeded 20:59:20 nexus3.edgexfoundry.org:10003 20:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:20 Configure a credential helper to remove this warning. See 20:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:20 20:59:20 Login Succeeded 20:59:20 nexus3.edgexfoundry.org:10004 20:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:20 Configure a credential helper to remove this warning. See 20:59:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:20 20:59:20 Login Succeeded 20:59:20 docker.io 20:59:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:21 Configure a credential helper to remove this warning. See 20:59:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:21 20:59:21 Login Succeeded 20:59:21 ---> docker-login.sh ends [Pipeline] } 20:59:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:21 ========================================================= 20:59:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:59:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:21 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:59:21 Sending build context to Docker daemon 10.88MB 20:59:21 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:59:21 Step 2/12 : FROM ${BASE} AS builder 20:59:21 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:21 63b65145d645: Pulling fs layer 20:59:21 a2d21d5440eb: Pulling fs layer 20:59:21 935e6c44a52c: Pulling fs layer 20:59:21 94cc34f8dd06: Pulling fs layer 20:59:21 30dea6a524f1: Pulling fs layer 20:59:21 a2aff8979fd8: Pulling fs layer 20:59:21 6808be2612f2: Pulling fs layer 20:59:21 f25807f1079a: Pulling fs layer 20:59:21 94cc34f8dd06: Waiting 20:59:21 30dea6a524f1: Waiting 20:59:21 a2aff8979fd8: Waiting 20:59:21 f25807f1079a: Waiting 20:59:21 6808be2612f2: Waiting 20:59:22 a2d21d5440eb: Verifying Checksum 20:59:22 a2d21d5440eb: Download complete 20:59:22 94cc34f8dd06: Download complete 20:59:22 30dea6a524f1: Verifying Checksum 20:59:22 30dea6a524f1: Download complete 20:59:22 63b65145d645: Verifying Checksum 20:59:22 63b65145d645: Download complete 20:59:22 a2aff8979fd8: Verifying Checksum 20:59:22 a2aff8979fd8: Download complete 20:59:22 63b65145d645: Pull complete 20:59:22 a2d21d5440eb: Pull complete 20:59:22 f25807f1079a: Verifying Checksum 20:59:22 f25807f1079a: Download complete 20:59:22 935e6c44a52c: Verifying Checksum 20:59:22 935e6c44a52c: Download complete 20:59:22 6808be2612f2: Verifying Checksum 20:59:22 6808be2612f2: Download complete 20:59:25 935e6c44a52c: Pull complete 20:59:25 94cc34f8dd06: Pull complete 20:59:25 30dea6a524f1: Pull complete 20:59:25 a2aff8979fd8: Pull complete 20:59:28 6808be2612f2: Pull complete 20:59:28 f25807f1079a: Pull complete 20:59:28 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:59:28 ---> 3b553350e43f 20:59:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:59:32 ---> Running in 7c725285feec 20:59:32 Removing intermediate container 7c725285feec 20:59:32 ---> 27a7301a6e91 20:59:32 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:32 ---> Running in af5a67d7841b 20:59:32 Removing intermediate container af5a67d7841b 20:59:32 ---> 033c0eb0e7d5 20:59:32 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:59:32 ---> Running in 862d404e96d7 20:59:32 Removing intermediate container 862d404e96d7 20:59:32 ---> 559ffd7b7e07 20:59:32 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:59:32 ---> Running in 933dfa9821a7 20:59:32 Removing intermediate container 933dfa9821a7 20:59:32 ---> 251a9b902da2 20:59:32 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:32 ---> Running in 14edc6f68260 20:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:59:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:59:33 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:59:33 (2/4) Installing libedit (20221030.3.1-r0) 20:59:33 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:59:33 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:59:33 Executing busybox-1.35.0-r29.trigger 20:59:33 OK: 269 MiB in 57 packages 20:59:33 Removing intermediate container 14edc6f68260 20:59:33 ---> 9dbd08649b5f 20:59:33 Step 8/12 : WORKDIR /device-rest-go 20:59:33 ---> Running in 6297ecdeb6c3 20:59:33 Removing intermediate container 6297ecdeb6c3 20:59:33 ---> 20516e5a7548 20:59:33 Step 9/12 : COPY go.mod vendor* ./ 20:59:33 ---> 1522abf9d216 20:59:33 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:33 ---> Running in 3b2698d1cca0 20:59:35 Still waiting to schedule task 20:59:35 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:00:06 Removing intermediate container 3b2698d1cca0 21:00:06 ---> d49f66b61762 21:00:06 Step 11/12 : COPY . . 21:00:06 ---> 1df4d07e9d1b 21:00:06 Step 12/12 : RUN $MAKE 21:00:06 ---> Running in 33fc69b40f29 21:00:06 noop 21:00:06 Removing intermediate container 33fc69b40f29 21:00:06 ---> be822488ed07 21:00:06 Successfully built be822488ed07 21:00:06 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:06 + docker inspect -f . ci-base-image-x86_64 21:00:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:06 prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container 21:00:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-288 -v /w/workspace/gexfoundry_device-rest-go_PR-288:/w/workspace/gexfoundry_device-rest-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-288@tmp:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:00:06 $ docker top 8ec4475255b73145311280d6b21afe5219be4e1cad6b1ff11de13005c4f26cb7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:07 + go version 21:00:07 go version go1.20.2 linux/amd64 [Pipeline] } 21:00:07 $ docker stop --time=1 8ec4475255b73145311280d6b21afe5219be4e1cad6b1ff11de13005c4f26cb7 21:00:08 $ docker rm -f --volumes 8ec4475255b73145311280d6b21afe5219be4e1cad6b1ff11de13005c4f26cb7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:09 + docker inspect -f . ci-base-image-x86_64 21:00:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:09 prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container 21:00:09 $ 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-rest-go_PR-288 -v /w/workspace/gexfoundry_device-rest-go_PR-288:/w/workspace/gexfoundry_device-rest-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-288@tmp:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:00:09 $ docker top a4c7c67ae7c025ead4b2c48d5ef549ef44aefa36f94789644f04e73e4bd7f08b -eo pid,comm [Pipeline] { [Pipeline] sh 21:00:10 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-288 [Pipeline] fileExists [Pipeline] sh 21:00:10 + make test 21:00:10 go test ./... -coverprofile=coverage.out ./... 21:00:14 ? github.com/edgexfoundry/device-rest-go [no test files] 21:00:24 # github.com/edgexfoundry/device-rest-go/cmd 21:00:24 cmd/main.go:32:54: cannot use &sd (value of type *"github.com/edgexfoundry/device-rest-go/driver".RestDriver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in argument to startup.Bootstrap: *"github.com/edgexfoundry/device-rest-go/driver".RestDriver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Discover) 21:00:24 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.0% of statements 21:00:24 FAIL 21:00:24 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 21:00:24 $ docker stop --time=1 a4c7c67ae7c025ead4b2c48d5ef549ef44aefa36f94789644f04e73e4bd7f08b 21:00:27 $ docker rm -f --volumes a4c7c67ae7c025ead4b2c48d5ef549ef44aefa36f94789644f04e73e4bd7f08b [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 21:00:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:29 21:00:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:29 latest: Pulling from edgex-lftools-log-publisher 21:00:29 5eb5b503b376: Pulling fs layer 21:00:29 5c69ac0246d0: Pulling fs layer 21:00:29 ec43610c2a17: Pulling fs layer 21:00:29 3a2ae6a8a46f: Pulling fs layer 21:00:29 33b1e0a273af: Pulling fs layer 21:00:29 5d3b04190fa2: Pulling fs layer 21:00:29 2f39f015ded8: Pulling fs layer 21:00:29 5d3b04190fa2: Waiting 21:00:29 3a2ae6a8a46f: Waiting 21:00:29 2f39f015ded8: Waiting 21:00:29 33b1e0a273af: Waiting 21:00:29 5c69ac0246d0: Verifying Checksum 21:00:29 5c69ac0246d0: Download complete 21:00:29 3a2ae6a8a46f: Verifying Checksum 21:00:29 3a2ae6a8a46f: Download complete 21:00:29 33b1e0a273af: Verifying Checksum 21:00:29 33b1e0a273af: Download complete 21:00:29 5d3b04190fa2: Download complete 21:00:29 ec43610c2a17: Download complete 21:00:29 5eb5b503b376: Verifying Checksum 21:00:29 5eb5b503b376: Download complete 21:00:30 2f39f015ded8: Download complete 21:00:30 5eb5b503b376: Pull complete 21:00:30 5c69ac0246d0: Pull complete 21:00:31 ec43610c2a17: Pull complete 21:00:31 3a2ae6a8a46f: Pull complete 21:00:31 33b1e0a273af: Pull complete 21:00:31 5d3b04190fa2: Pull complete 21:00:35 2f39f015ded8: Pull complete 21:00:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:35 prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container 21:00:35 $ 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-rest-go_PR-288 -v /w/workspace/gexfoundry_device-rest-go_PR-288:/w/workspace/gexfoundry_device-rest-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-288@tmp:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:39 $ docker top aed20743ddf4dd767be6cd59b51b7c93c05e1d63521935181a9455cf7fe80b16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:39 ---> job-cost.sh 21:00:39 lf-activate-venv: SKIPPING 21:00:39 INFO: No Stack... 21:00:40 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:40 INFO: Archiving Costs [Pipeline] sh 21:00:40 + cat /w/workspace/gexfoundry_device-rest-go_PR-288/archives/cost.csv 21:00:40 + cut -d, -f6 [Pipeline] lock 21:00:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] 21:00:40 Resource [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] did not exist. Created. 21:00:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:41 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:41 Stashed 1 file(s) [Pipeline] } 21:00:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:41 $ docker stop --time=1 aed20743ddf4dd767be6cd59b51b7c93c05e1d63521935181a9455cf7fe80b16 21:00:42 $ docker rm -f --volumes aed20743ddf4dd767be6cd59b51b7c93c05e1d63521935181a9455cf7fe80b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:00:42 Failed in branch amd64 21:01:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7592 in /w/workspace/gexfoundry_device-rest-go_PR-288 [Pipeline] { [Pipeline] ws 21:01:05 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:01:05 The recommended git tool is: git 21:01:11 using credential edgex-jenkins-ssh 21:01:11 Cloning the remote Git repository 21:01:11 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:01:11 > git init /w/workspace/device-rest-go/1 # timeout=10 21:01:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:11 > git --version # timeout=10 21:01:11 > git --version # 'git version 2.25.1' 21:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:14 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/288/head:refs/remotes/origin/PR-288 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:01:14 Merging remotes/origin/main commit 795c3d665a96d2a485aec9c896c7781dae732fba into PR head commit e3325b5d144ea7a5590fb9a4b829210311f8d5c0 21:01:15 Merge succeeded, producing e3325b5d144ea7a5590fb9a4b829210311f8d5c0 21:01:15 Checking out Revision e3325b5d144ea7a5590fb9a4b829210311f8d5c0 (PR-288) 21:01:15 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 21:01:15 > git --version # timeout=10 21:01:15 > git --version # 'git version 2.25.1' 21:01:15 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:01:14 > git config core.sparsecheckout # timeout=10 21:01:14 > git checkout -f e3325b5d144ea7a5590fb9a4b829210311f8d5c0 # timeout=10 21:01:15 > git remote # timeout=10 21:01:15 > git config --get remote.origin.url # timeout=10 21:01:15 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:15 > git merge 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 21:01:15 > git rev-parse HEAD^{commit} # timeout=10 21:01:15 > git config core.sparsecheckout # timeout=10 21:01:15 > git checkout -f e3325b5d144ea7a5590fb9a4b829210311f8d5c0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:01:16 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:16 Dload Upload Total Spent Left Speed 21:01:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 21:01:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:01:17 + sudo tee /etc/docker/daemon.new 21:01:17 { 21:01:17 "registry-mirrors": [ 21:01:17 "https://nexus3.edgexfoundry.org:10001" 21:01:17 ], 21:01:17 "bip": "10.250.0.254/24", 21:01:17 "hosts": [ 21:01:17 "tcp://0.0.0.0:5555", 21:01:17 "unix:///var/run/docker.sock" 21:01:17 ], 21:01:17 "mtu": 1458, 21:01:17 "selinux-enabled": true, 21:01:17 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:17 } [Pipeline] sh 21:01:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:36 provisioning config files... 21:01:36 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9569555310587040194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:37 ---> docker-login.sh 21:01:37 nexus3.edgexfoundry.org:10001 21:01:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:37 Configure a credential helper to remove this warning. See 21:01:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:37 21:01:37 Login Succeeded 21:01:37 nexus3.edgexfoundry.org:10002 21:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:38 Configure a credential helper to remove this warning. See 21:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:38 21:01:38 Login Succeeded 21:01:38 nexus3.edgexfoundry.org:10003 21:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:38 Configure a credential helper to remove this warning. See 21:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:38 21:01:38 Login Succeeded 21:01:38 nexus3.edgexfoundry.org:10004 21:01:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:38 Configure a credential helper to remove this warning. See 21:01:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:38 21:01:38 Login Succeeded 21:01:38 docker.io 21:01:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:39 Configure a credential helper to remove this warning. See 21:01:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:39 21:01:39 Login Succeeded 21:01:39 ---> docker-login.sh ends [Pipeline] } 21:01:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:39 ========================================================= 21:01:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:01:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:01:40 Sending build context to Docker daemon 137.2kB 21:01:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:01:40 Step 2/12 : FROM ${BASE} AS builder 21:01:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:44 af6eaf76a39c: Pulling fs layer 21:01:44 55522c791124: Pulling fs layer 21:01:44 ce5c4a1c91eb: Pulling fs layer 21:01:44 169dfbe0d373: Pulling fs layer 21:01:44 e1ff8fa3b103: Pulling fs layer 21:01:44 52ebb69f0ebf: Pulling fs layer 21:01:44 5abe8eddf0d5: Pulling fs layer 21:01:44 e1ff8fa3b103: Waiting 21:01:44 169dfbe0d373: Waiting 21:01:44 52ebb69f0ebf: Waiting 21:01:44 55522c791124: Verifying Checksum 21:01:44 55522c791124: Download complete 21:01:44 169dfbe0d373: Verifying Checksum 21:01:44 169dfbe0d373: Download complete 21:01:44 e1ff8fa3b103: Verifying Checksum 21:01:44 e1ff8fa3b103: Download complete 21:01:44 af6eaf76a39c: Verifying Checksum 21:01:44 af6eaf76a39c: Download complete 21:01:45 af6eaf76a39c: Pull complete 21:01:45 5abe8eddf0d5: Verifying Checksum 21:01:45 5abe8eddf0d5: Download complete 21:01:45 55522c791124: Pull complete 21:01:46 52ebb69f0ebf: Verifying Checksum 21:01:46 52ebb69f0ebf: Download complete 21:01:46 ce5c4a1c91eb: Verifying Checksum 21:01:46 ce5c4a1c91eb: Download complete 21:01:59 ce5c4a1c91eb: Pull complete 21:01:59 169dfbe0d373: Pull complete 21:01:59 e1ff8fa3b103: Pull complete 21:02:05 52ebb69f0ebf: Pull complete 21:02:06 5abe8eddf0d5: Pull complete 21:02:06 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:02:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:02:06 ---> 6cb57ee374ae 21:02:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:02:08 ---> Running in 6ca4829485a9 21:02:08 Removing intermediate container 6ca4829485a9 21:02:08 ---> f5840d904e31 21:02:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:08 ---> Running in deb58f4538d0 21:02:09 Removing intermediate container deb58f4538d0 21:02:09 ---> 63d13e0e56cb 21:02:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:02:09 ---> Running in 9cbbff889f5b 21:02:09 Removing intermediate container 9cbbff889f5b 21:02:09 ---> 1e1fd99f8783 21:02:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:02:09 ---> Running in 9f27e9c7b273 21:02:09 Removing intermediate container 9f27e9c7b273 21:02:09 ---> 6b4eda336045 21:02:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:10 ---> Running in 1959baba1467 21:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:02:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:02:12 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:02:12 (2/4) Installing libedit (20221030.3.1-r0) 21:02:12 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:02:12 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:02:12 Executing busybox-1.35.0-r29.trigger 21:02:12 OK: 268 MiB in 57 packages 21:02:13 Removing intermediate container 1959baba1467 21:02:13 ---> ed13c78c8c95 21:02:13 Step 8/12 : WORKDIR /device-rest-go 21:02:13 ---> Running in 83977ba07bbc 21:02:14 Removing intermediate container 83977ba07bbc 21:02:14 ---> 3271f9b8c7a6 21:02:14 Step 9/12 : COPY go.mod vendor* ./ 21:02:14 ---> 930ac3538bb8 21:02:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:14 ---> Running in cacecb1228de 21:03:36 Removing intermediate container cacecb1228de 21:03:36 ---> cca59b9b190c 21:03:36 Step 11/12 : COPY . . 21:03:36 ---> 583eccd4553f 21:03:36 Step 12/12 : RUN $MAKE 21:03:36 ---> Running in ec05d5c0aa61 21:03:36 noop 21:03:36 Removing intermediate container ec05d5c0aa61 21:03:36 ---> 40013c19b97d 21:03:36 Successfully built 40013c19b97d 21:03:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:36 + docker inspect -f . ci-base-image-arm64 21:03:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:37 prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container 21:03:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:38 $ docker top 2a21efc181ea752e895c2b33818fbdca1e670828bc58db54c9c6ac5479ac1e2f -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:39 + go version 21:03:39 go version go1.20.2 linux/arm64 [Pipeline] } 21:03:39 $ docker stop --time=1 2a21efc181ea752e895c2b33818fbdca1e670828bc58db54c9c6ac5479ac1e2f 21:03:42 $ docker rm -f --volumes 2a21efc181ea752e895c2b33818fbdca1e670828bc58db54c9c6ac5479ac1e2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:42 + docker inspect -f . ci-base-image-arm64 21:03:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:43 prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container 21:03:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:44 $ docker top 88a8feecd60df363741d122f03eb9bda8c8c5fb1c0688e004b3e55982db5a212 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:44 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:03:45 + make test 21:03:45 go test ./... -coverprofile=coverage.out ./... 21:04:17 ? github.com/edgexfoundry/device-rest-go [no test files] 21:06:09 # github.com/edgexfoundry/device-rest-go/cmd 21:06:09 cmd/main.go:32:54: cannot use &sd (value of type *"github.com/edgexfoundry/device-rest-go/driver".RestDriver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in argument to startup.Bootstrap: *"github.com/edgexfoundry/device-rest-go/driver".RestDriver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (missing method Discover) 21:06:16 ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 33.0% of statements 21:06:16 FAIL 21:06:16 make: *** [Makefile:29: unittest] Error 1 [Pipeline] } 21:06:16 $ docker stop --time=1 88a8feecd60df363741d122f03eb9bda8c8c5fb1c0688e004b3e55982db5a212 21:06:18 $ docker rm -f --volumes 88a8feecd60df363741d122f03eb9bda8c8c5fb1c0688e004b3e55982db5a212 [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 21:06:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:20 21:06:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:20 arm64: Pulling from edgex-lftools-log-publisher 21:06:20 8998bd30e6a1: Pulling fs layer 21:06:20 04944245beec: Pulling fs layer 21:06:20 699f458cf7ca: Pulling fs layer 21:06:20 765212b225bb: Pulling fs layer 21:06:20 f23df028b6ca: Pulling fs layer 21:06:20 d65c8cfc05b1: Pulling fs layer 21:06:20 2437ff75d9bd: Pulling fs layer 21:06:20 765212b225bb: Waiting 21:06:20 d65c8cfc05b1: Waiting 21:06:20 f23df028b6ca: Waiting 21:06:20 2437ff75d9bd: Waiting 21:06:20 04944245beec: Verifying Checksum 21:06:20 04944245beec: Download complete 21:06:20 765212b225bb: Verifying Checksum 21:06:20 765212b225bb: Download complete 21:06:21 f23df028b6ca: Download complete 21:06:21 d65c8cfc05b1: Download complete 21:06:21 699f458cf7ca: Verifying Checksum 21:06:21 699f458cf7ca: Download complete 21:06:21 8998bd30e6a1: Verifying Checksum 21:06:21 8998bd30e6a1: Download complete 21:06:24 2437ff75d9bd: Verifying Checksum 21:06:24 2437ff75d9bd: Download complete 21:06:26 8998bd30e6a1: Pull complete 21:06:27 04944245beec: Pull complete 21:06:30 699f458cf7ca: Pull complete 21:06:30 765212b225bb: Pull complete 21:06:32 f23df028b6ca: Pull complete 21:06:32 d65c8cfc05b1: Pull complete 21:06:50 2437ff75d9bd: Pull complete 21:06:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:06:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:06:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:51 prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container 21:06:51 $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:06:53 $ docker top 49a8da2a1f61ecd61f6b86553c5084f1b87a8ebb4727c9b4a2466390b7be1bec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:54 ---> job-cost.sh 21:06:54 lf-activate-venv: SKIPPING 21:06:54 INFO: No Stack... 21:06:54 INFO: Retrieving Pricing Info for: v3-standard-4 21:06:55 INFO: Archiving Costs [Pipeline] sh 21:06:55 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:06:55 + cut -d, -f6 [Pipeline] lock 21:06:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] 21:06:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] did not exist. Created. 21:06:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:56 /w/workspace/device-rest-go/1@tmp/durable-4b66f501/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:06:57 + echo total: 0.10999999940395355 [Pipeline] stash 21:06:57 Warning: overwriting stash ‘stack-cost’ 21:06:58 Stashed 1 file(s) [Pipeline] } 21:06:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:58 $ docker stop --time=1 49a8da2a1f61ecd61f6b86553c5084f1b87a8ebb4727c9b4a2466390b7be1bec 21:07:01 $ docker rm -f --volumes 49a8da2a1f61ecd61f6b86553c5084f1b87a8ebb4727c9b4a2466390b7be1bec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:07:01 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 21:07:03 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-288/archives ] 21:07:03 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-288/archives 21:07:03 total 16 21:07:03 drwxr-xr-x 3 root root 4096 Apr 12 21:00 . 21:07:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 21:00 .. 21:07:03 drwxr-xr-x 2 root root 4096 Apr 12 21:00 cost 21:07:03 -rw-r--r-- 1 root root 86 Apr 12 21:00 cost.csv 21:07:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-288/archives 21:07:03 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-288/archives 21:07:03 total 16 21:07:03 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 21:00 . 21:07:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 21:00 .. 21:07:03 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 21:00 cost 21:07:03 -rw-r--r-- 1 jenkins jenkins 86 Apr 12 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:07:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:07:05 ---> package-listing.sh 21:07:05 ++ tr '[:upper:]' '[:lower:]' 21:07:05 ++ facter osfamily 21:07:05 + OS_FAMILY=debian 21:07:05 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-288 21:07:05 + START_PACKAGES=/tmp/packages_start.txt 21:07:05 + END_PACKAGES=/tmp/packages_end.txt 21:07:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:07:05 + PACKAGES=/tmp/packages_start.txt 21:07:05 + '[' /w/workspace/gexfoundry_device-rest-go_PR-288 ']' 21:07:05 + PACKAGES=/tmp/packages_end.txt 21:07:05 + case "${OS_FAMILY}" in 21:07:05 + dpkg -l 21:07:05 + grep '^ii' 21:07:05 + '[' -f /tmp/packages_start.txt ']' 21:07:05 + '[' -f /tmp/packages_end.txt ']' 21:07:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:07:05 + '[' /w/workspace/gexfoundry_device-rest-go_PR-288 ']' 21:07:05 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-288/archives/ 21:07:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-288/archives/ [Pipeline] echo 21:07:05 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-rest-go_PR-288/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:07:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:07:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:06 prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container 21:07:06 $ 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-rest-go_PR-288/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-rest-go_PR-288 -v /w/workspace/gexfoundry_device-rest-go_PR-288:/w/workspace/gexfoundry_device-rest-go_PR-288:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-288@tmp:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:07:06 $ docker top 58f4208519fd9d693b0ae2c56d0035a2f84dec128724b3ac9a3053fea4b1ef43 -eo pid,comm [Pipeline] { [Pipeline] sh 21:07:07 + touch /tmp/pre-build-complete [Pipeline] sh 21:07:07 + mkdir -p /var/log/sysstat [Pipeline] sh 21:07:07 + ls /var/log/sa-host 21:07:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:08 provisioning config files... 21:07:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp/config18217456298615290525tmp [Pipeline] { [Pipeline] echo 21:07:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:07:08 ---> create-netrc.sh [Pipeline] } 21:07:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:07:08 ---> python-tools-install.sh [Pipeline] echo 21:07:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:07:09 ---> sudo-logs.sh 21:07:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:07:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:07:09 ---> job-cost.sh 21:07:09 lf-activate-venv: SKIPPING 21:07:09 DEBUG: total: 0.2199999988079071 21:07:09 INFO: Retrieving Stack Cost... 21:07:09 INFO: Retrieving Pricing Info for: v3-standard-8 21:07:10 INFO: Archiving Costs [Pipeline] echo 21:07:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:07:10 ---> logs-deploy.sh 21:07:10 lf-activate-venv: SKIPPING 21:07:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-288/1 21:07:10 INFO: archiving workspace using pattern(s): 21:07:11 Archives upload complete. 21:07:11 INFO: archiving logs to Nexus