Pull request #292 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8adca88bda4b00201e1fbd25617fba5fe53259c7+fa0493e2e3feda240b1cb1121ab26136a8f60332 (8f51a6246a977c7be782fa6e28e134f7457e162e) 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-ssh2412676332964226799.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-ssh13089040418884582476.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-292/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-292/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2162529328123800833.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-292/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15257964877636844386.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-ssh12251284217252810015.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-292/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-292/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14329744077056429616.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8793 in /w/workspace/gexfoundry_device-rest-go_PR-292 [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-292 # 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 Merging remotes/origin/main commit fa0493e2e3feda240b1cb1121ab26136a8f60332 into PR head commit 8adca88bda4b00201e1fbd25617fba5fe53259c7 Merge succeeded, producing 8adca88bda4b00201e1fbd25617fba5fe53259c7 Checking out Revision 8adca88bda4b00201e1fbd25617fba5fe53259c7 (PR-292) 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 > 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/292/head:refs/remotes/origin/PR-292 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8adca88bda4b00201e1fbd25617fba5fe53259c7 # 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 fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8adca88bda4b00201e1fbd25617fba5fe53259c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-17T21:01:51.169Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-17T21:01:51.349Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-17T21:01:51.452Z] ========================================================= [2023-04-17T21:01:51.452Z] EdgeX Global Pipelines Version Info [2023-04-17T21:01:51.452Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:01:52.198Z] ------------------- [2023-04-17T21:01:52.198Z] stable info: [2023-04-17T21:01:52.198Z] ------------------- [2023-04-17T21:01:52.198Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-17T21:01:52.198Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T21:01:52.198Z] Message: update stable to v1.0.248 [2023-04-17T21:01:52.772Z] ------------------- [2023-04-17T21:01:52.772Z] experimental info: [2023-04-17T21:01:52.772Z] ------------------- [2023-04-17T21:01:52.772Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-17T21:01:52.772Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-17T21:01:52.772Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-17T21:01:53.088Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-17T21:01:53.133Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-17T21:01:53.174Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-17T21:01:53.212Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-17T21:01:53.251Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-17T21:01:53.290Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-17T21:01:53.332Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-17T21:01:53.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-17T21:01:53.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-17T21:01:53.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-17T21:01:53.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-17T21:01:53.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-17T21:01:53.574Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-17T21:01:53.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-17T21:01:53.656Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T21:01:53.694Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-17T21:01:53.733Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T21:01:53.773Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-17T21:01:53.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-17T21:01:53.854Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-17T21:01:53.897Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-17T21:01:53.941Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-17T21:01:53.981Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-17T21:01:54.022Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-17T21:01:54.060Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-17T21:01:54.097Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-17T21:01:54.135Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-17T21:01:54.180Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-292 [Pipeline] echo [2023-04-17T21:01:54.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-292 [Pipeline] echo [2023-04-17T21:01:54.266Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-292 [Pipeline] echo [2023-04-17T21:01:54.311Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8adca88bda4b00201e1fbd25617fba5fe53259c7 [Pipeline] echo [2023-04-17T21:01:54.357Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8adca88 [Pipeline] echo [2023-04-17T21:01:54.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T21:01:54.520Z] provisioning config files... [2023-04-17T21:01:54.551Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-292@tmp/config12513245820344879571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:01:54.897Z] ---> docker-login.sh [2023-04-17T21:01:54.897Z] nexus3.edgexfoundry.org:10001 [2023-04-17T21:01:55.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:01:55.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:01:55.158Z] Configure a credential helper to remove this warning. See [2023-04-17T21:01:55.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:01:55.159Z] [2023-04-17T21:01:55.159Z] Login Succeeded [2023-04-17T21:01:55.159Z] nexus3.edgexfoundry.org:10002 [2023-04-17T21:01:55.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:01:55.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:01:55.159Z] Configure a credential helper to remove this warning. See [2023-04-17T21:01:55.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:01:55.159Z] [2023-04-17T21:01:55.159Z] Login Succeeded [2023-04-17T21:01:55.159Z] nexus3.edgexfoundry.org:10003 [2023-04-17T21:01:55.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:01:55.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:01:55.419Z] Configure a credential helper to remove this warning. See [2023-04-17T21:01:55.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:01:55.419Z] [2023-04-17T21:01:55.419Z] Login Succeeded [2023-04-17T21:01:55.419Z] nexus3.edgexfoundry.org:10004 [2023-04-17T21:01:55.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:01:55.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:01:55.419Z] Configure a credential helper to remove this warning. See [2023-04-17T21:01:55.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:01:55.419Z] [2023-04-17T21:01:55.419Z] Login Succeeded [2023-04-17T21:01:55.419Z] docker.io [2023-04-17T21:01:55.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:01:55.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:01:55.679Z] Configure a credential helper to remove this warning. See [2023-04-17T21:01:55.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:01:55.679Z] [2023-04-17T21:01:55.679Z] Login Succeeded [2023-04-17T21:01:55.679Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T21:01:55.708Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-17T21:01:56.382Z] + git rev-list -1 --merges 8adca88bda4b00201e1fbd25617fba5fe53259c7~1..8adca88bda4b00201e1fbd25617fba5fe53259c7 [Pipeline] echo [2023-04-17T21:01:56.440Z] -----------> git rev-list -1 --merges 8adca88bda4b00201e1fbd25617fba5fe53259c7~1..8adca88bda4b00201e1fbd25617fba5fe53259c7 8adca88bda4b00201e1fbd25617fba5fe53259c7 [false] [Pipeline] sh [2023-04-17T21:01:56.748Z] + git log --format=format:%s -1 8adca88bda4b00201e1fbd25617fba5fe53259c7 [Pipeline] echo [2023-04-17T21:01:56.802Z] ========================================================= [2023-04-17T21:01:56.803Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-17T21:01:56.803Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T21:01:57.231Z] + git log --format=format:%s -1 8adca88bda4b00201e1fbd25617fba5fe53259c7 [Pipeline] echo [2023-04-17T21:01:57.272Z] [semverPrep] GIT_COMMIT: 8adca88bda4b00201e1fbd25617fba5fe53259c7, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-17T21:01:57.320Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-17T21:01:57.700Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-17T21:01:57.700Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-17T21:01:57.700Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-17T21:01:57.700Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-17T21:01:57.701Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-17T21:01:57.701Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-17T21:01:57.701Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:01:58.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T21:01:58.154Z] [2023-04-17T21:01:58.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:01:58.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T21:01:58.531Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-17T21:01:58.531Z] b85a868b505f: Pulling fs layer [2023-04-17T21:01:58.531Z] e2be974225ed: Pulling fs layer [2023-04-17T21:01:58.531Z] 339a4e72a1f5: Pulling fs layer [2023-04-17T21:01:58.531Z] 988bab9f4d93: Pulling fs layer [2023-04-17T21:01:58.531Z] 1469e6f7b9e6: Pulling fs layer [2023-04-17T21:01:58.531Z] eaf3925da568: Pulling fs layer [2023-04-17T21:01:58.531Z] bab4dde63d76: Pulling fs layer [2023-04-17T21:01:58.531Z] bde34c3a00c8: Pulling fs layer [2023-04-17T21:01:58.531Z] b352a97aabf1: Pulling fs layer [2023-04-17T21:01:58.531Z] 4872d77fe225: Pulling fs layer [2023-04-17T21:01:58.531Z] 5851b861e8e6: Pulling fs layer [2023-04-17T21:01:58.531Z] 988bab9f4d93: Waiting [2023-04-17T21:01:58.531Z] bab4dde63d76: Waiting [2023-04-17T21:01:58.531Z] bde34c3a00c8: Waiting [2023-04-17T21:01:58.531Z] 1469e6f7b9e6: Waiting [2023-04-17T21:01:58.531Z] 4872d77fe225: Waiting [2023-04-17T21:01:58.531Z] 5851b861e8e6: Waiting [2023-04-17T21:01:58.531Z] eaf3925da568: Waiting [2023-04-17T21:01:58.531Z] b352a97aabf1: Waiting [2023-04-17T21:01:58.531Z] e2be974225ed: Download complete [2023-04-17T21:01:58.531Z] 988bab9f4d93: Verifying Checksum [2023-04-17T21:01:58.531Z] 988bab9f4d93: Download complete [2023-04-17T21:01:58.791Z] 1469e6f7b9e6: Verifying Checksum [2023-04-17T21:01:58.791Z] 1469e6f7b9e6: Download complete [2023-04-17T21:01:58.791Z] eaf3925da568: Verifying Checksum [2023-04-17T21:01:58.791Z] eaf3925da568: Download complete [2023-04-17T21:01:58.791Z] 339a4e72a1f5: Verifying Checksum [2023-04-17T21:01:58.791Z] 339a4e72a1f5: Download complete [2023-04-17T21:01:58.791Z] bde34c3a00c8: Download complete [2023-04-17T21:01:58.791Z] b352a97aabf1: Download complete [2023-04-17T21:01:58.791Z] 4872d77fe225: Download complete [2023-04-17T21:01:58.791Z] 5851b861e8e6: Verifying Checksum [2023-04-17T21:01:58.791Z] 5851b861e8e6: Download complete [2023-04-17T21:01:58.791Z] b85a868b505f: Download complete [2023-04-17T21:01:59.052Z] bab4dde63d76: Verifying Checksum [2023-04-17T21:01:59.052Z] bab4dde63d76: Download complete [2023-04-17T21:02:00.431Z] b85a868b505f: Pull complete [2023-04-17T21:02:00.431Z] e2be974225ed: Pull complete [2023-04-17T21:02:00.688Z] 339a4e72a1f5: Pull complete [2023-04-17T21:02:00.947Z] 988bab9f4d93: Pull complete [2023-04-17T21:02:01.206Z] 1469e6f7b9e6: Pull complete [2023-04-17T21:02:01.206Z] eaf3925da568: Pull complete [2023-04-17T21:02:03.117Z] bab4dde63d76: Pull complete [2023-04-17T21:02:03.117Z] bde34c3a00c8: Pull complete [2023-04-17T21:02:03.381Z] b352a97aabf1: Pull complete [2023-04-17T21:02:03.381Z] 4872d77fe225: Pull complete [2023-04-17T21:02:03.381Z] 5851b861e8e6: Pull complete [2023-04-17T21:02:03.642Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-17T21:02:03.642Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-17T21:02:03.642Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:02:03.884Z] prd-ubuntu20.04-docker-8c-8g-8793 does not seem to be running inside a container [2023-04-17T21:02:03.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-292 -v /w/workspace/gexfoundry_device-rest-go_PR-292:/w/workspace/gexfoundry_device-rest-go_PR-292:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-292@tmp:/w/workspace/gexfoundry_device-rest-go_PR-292@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 [2023-04-17T21:02:05.535Z] $ docker top 5cf0aac13a2d12b5215490dccd0597028bdaec5feb7f4adec206100020d88ed2 -eo pid,comm [2023-04-17T21:02:05.593Z] 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). [2023-04-17T21:02:05.593Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-17T21:02:05.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T21:02:05.714Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T21:02:05.831Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T21:02:05.838Z] $ docker exec 5cf0aac13a2d12b5215490dccd0597028bdaec5feb7f4adec206100020d88ed2 ssh-agent [2023-04-17T21:02:05.944Z] SSH_AUTH_SOCK=/tmp/ssh-jshuAdn7AseL/agent.32 [2023-04-17T21:02:05.944Z] SSH_AGENT_PID=39 [2023-04-17T21:02:05.954Z] Running ssh-add (command line suppressed) [2023-04-17T21:02:06.077Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-292@tmp/private_key_15135093010855153740.key (/w/workspace/gexfoundry_device-rest-go_PR-292@tmp/private_key_15135093010855153740.key) [2023-04-17T21:02:06.090Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T21:02:06.416Z] + git tag --points-at HEAD [Pipeline] } [2023-04-17T21:02:06.449Z] $ docker exec --env ******** --env ******** 5cf0aac13a2d12b5215490dccd0597028bdaec5feb7f4adec206100020d88ed2 ssh-agent -k [2023-04-17T21:02:06.546Z] unset SSH_AUTH_SOCK; [2023-04-17T21:02:06.547Z] unset SSH_AGENT_PID; [2023-04-17T21:02:06.547Z] echo Agent pid 39 killed; [2023-04-17T21:02:06.555Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-17T21:02:06.634Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-17T21:02:06.634Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-17T21:02:06.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-17T21:02:06.763Z] $ docker exec 5cf0aac13a2d12b5215490dccd0597028bdaec5feb7f4adec206100020d88ed2 ssh-agent [2023-04-17T21:02:06.880Z] SSH_AUTH_SOCK=/tmp/ssh-s0JiPsByeB1G/agent.71 [2023-04-17T21:02:06.880Z] SSH_AGENT_PID=77 [2023-04-17T21:02:06.885Z] Running ssh-add (command line suppressed) [2023-04-17T21:02:07.017Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-292@tmp/private_key_13956558934545372457.key (/w/workspace/gexfoundry_device-rest-go_PR-292@tmp/private_key_13956558934545372457.key) [2023-04-17T21:02:07.026Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-17T21:02:07.352Z] + git semver init [2023-04-17T21:02:07.611Z] 2023-04-17 21:02:07,535 [run_init] DEBUG init version:0.0.0 force:False [2023-04-17T21:02:07.611Z] 2023-04-17 21:02:07,536 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-292/.semver [2023-04-17T21:02:07.611Z] 2023-04-17 21:02:07,536 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-292/.semver [2023-04-17T21:02:07.611Z] 2023-04-17 21:02:07,536 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-292/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-292, universal_newlines=False, shell=None, istream=None) [2023-04-17T21:02:08.549Z] 2023-04-17 21:02:08,505 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-292/.git/info/exclude [2023-04-17T21:02:08.549Z] 2023-04-17 21:02:08,506 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-292/.semver/PR-292 with force:False [2023-04-17T21:02:08.549Z] 2023-04-17 21:02:08,506 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-292/.semver/PR-292 [2023-04-17T21:02:08.549Z] 2023-04-17 21:02:08,510 [execute] INFO git cat-file --batch-check [2023-04-17T21:02:08.549Z] 2023-04-17 21:02:08,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-292/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T21:02:08.549Z] 2023-04-17 21:02:08,518 [execute] INFO git cat-file --batch [2023-04-17T21:02:08.549Z] 2023-04-17 21:02:08,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-292/.semver, universal_newlines=False, shell=None, istream=) [2023-04-17T21:02:08.549Z] 2023-04-17 21:02:08,524 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-292/.semver/PR-292 [2023-04-17T21:02:08.549Z] 0.0.0 [Pipeline] } [2023-04-17T21:02:08.579Z] $ docker exec --env ******** --env ******** 5cf0aac13a2d12b5215490dccd0597028bdaec5feb7f4adec206100020d88ed2 ssh-agent -k [2023-04-17T21:02:08.690Z] unset SSH_AUTH_SOCK; [2023-04-17T21:02:08.692Z] unset SSH_AGENT_PID; [2023-04-17T21:02:08.692Z] echo Agent pid 77 killed; [2023-04-17T21:02:08.698Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-17T21:02:09.111Z] + git semver [Pipeline] } [2023-04-17T21:02:09.399Z] $ docker stop --time=1 5cf0aac13a2d12b5215490dccd0597028bdaec5feb7f4adec206100020d88ed2 [2023-04-17T21:02:10.746Z] $ docker rm -f --volumes 5cf0aac13a2d12b5215490dccd0597028bdaec5feb7f4adec206100020d88ed2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-17T21:02:11.147Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-17T21:02:11.429Z] Stashed 1 file(s) [Pipeline] echo [2023-04-17T21:02:11.448Z] [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 [2023-04-17T21:02:12.049Z] provisioning config files... [2023-04-17T21:02:12.057Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-292@tmp/config5817184458233643333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:02:12.405Z] ---> docker-login.sh [2023-04-17T21:02:12.405Z] nexus3.edgexfoundry.org:10001 [2023-04-17T21:02:12.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:02:12.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:02:12.405Z] Configure a credential helper to remove this warning. See [2023-04-17T21:02:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:02:12.406Z] [2023-04-17T21:02:12.406Z] Login Succeeded [2023-04-17T21:02:12.406Z] nexus3.edgexfoundry.org:10002 [2023-04-17T21:02:12.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:02:12.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:02:12.406Z] Configure a credential helper to remove this warning. See [2023-04-17T21:02:12.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:02:12.406Z] [2023-04-17T21:02:12.406Z] Login Succeeded [2023-04-17T21:02:12.406Z] nexus3.edgexfoundry.org:10003 [2023-04-17T21:02:12.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:02:12.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:02:12.664Z] Configure a credential helper to remove this warning. See [2023-04-17T21:02:12.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:02:12.664Z] [2023-04-17T21:02:12.664Z] Login Succeeded [2023-04-17T21:02:12.664Z] nexus3.edgexfoundry.org:10004 [2023-04-17T21:02:12.664Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:02:12.664Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:02:12.664Z] Configure a credential helper to remove this warning. See [2023-04-17T21:02:12.664Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:02:12.664Z] [2023-04-17T21:02:12.664Z] Login Succeeded [2023-04-17T21:02:12.664Z] docker.io [2023-04-17T21:02:12.923Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:02:12.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:02:12.923Z] Configure a credential helper to remove this warning. See [2023-04-17T21:02:12.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:02:12.923Z] [2023-04-17T21:02:12.923Z] Login Succeeded [2023-04-17T21:02:12.923Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T21:02:12.953Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T21:02:13.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T21:02:13.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T21:02:13.217Z] ========================================================= [2023-04-17T21:02:13.217Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-17T21:02:13.217Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:02:13.683Z] + 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 . [2023-04-17T21:02:13.683Z] Sending build context to Docker daemon 10.89MB [2023-04-17T21:02:13.683Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T21:02:13.683Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T21:02:13.683Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-17T21:02:13.683Z] 63b65145d645: Pulling fs layer [2023-04-17T21:02:13.683Z] a2d21d5440eb: Pulling fs layer [2023-04-17T21:02:13.683Z] 935e6c44a52c: Pulling fs layer [2023-04-17T21:02:13.683Z] 94cc34f8dd06: Pulling fs layer [2023-04-17T21:02:13.683Z] 30dea6a524f1: Pulling fs layer [2023-04-17T21:02:13.683Z] a2aff8979fd8: Pulling fs layer [2023-04-17T21:02:13.683Z] 6808be2612f2: Pulling fs layer [2023-04-17T21:02:13.683Z] f25807f1079a: Pulling fs layer [2023-04-17T21:02:13.683Z] 94cc34f8dd06: Waiting [2023-04-17T21:02:13.683Z] 30dea6a524f1: Waiting [2023-04-17T21:02:13.683Z] a2aff8979fd8: Waiting [2023-04-17T21:02:13.683Z] 6808be2612f2: Waiting [2023-04-17T21:02:13.683Z] f25807f1079a: Waiting [2023-04-17T21:02:13.683Z] a2d21d5440eb: Download complete [2023-04-17T21:02:13.683Z] 94cc34f8dd06: Verifying Checksum [2023-04-17T21:02:13.683Z] 94cc34f8dd06: Download complete [2023-04-17T21:02:13.942Z] 30dea6a524f1: Verifying Checksum [2023-04-17T21:02:13.942Z] 30dea6a524f1: Download complete [2023-04-17T21:02:13.942Z] 63b65145d645: Verifying Checksum [2023-04-17T21:02:13.942Z] 63b65145d645: Download complete [2023-04-17T21:02:13.942Z] a2aff8979fd8: Verifying Checksum [2023-04-17T21:02:13.942Z] a2aff8979fd8: Download complete [2023-04-17T21:02:13.942Z] 63b65145d645: Pull complete [2023-04-17T21:02:14.202Z] a2d21d5440eb: Pull complete [2023-04-17T21:02:14.202Z] f25807f1079a: Verifying Checksum [2023-04-17T21:02:14.202Z] f25807f1079a: Download complete [2023-04-17T21:02:14.461Z] 935e6c44a52c: Verifying Checksum [2023-04-17T21:02:14.461Z] 935e6c44a52c: Download complete [2023-04-17T21:02:14.719Z] 6808be2612f2: Verifying Checksum [2023-04-17T21:02:14.719Z] 6808be2612f2: Download complete [2023-04-17T21:02:18.910Z] 935e6c44a52c: Pull complete [2023-04-17T21:02:18.910Z] 94cc34f8dd06: Pull complete [2023-04-17T21:02:18.910Z] 30dea6a524f1: Pull complete [2023-04-17T21:02:18.910Z] a2aff8979fd8: Pull complete [2023-04-17T21:02:20.814Z] 6808be2612f2: Pull complete [2023-04-17T21:02:21.751Z] f25807f1079a: Pull complete [2023-04-17T21:02:21.751Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-17T21:02:21.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-17T21:02:21.751Z] ---> 3b553350e43f [2023-04-17T21:02:21.751Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T21:02:23.676Z] ---> Running in 8ea5c5d6eae2 [2023-04-17T21:02:23.676Z] Removing intermediate container 8ea5c5d6eae2 [2023-04-17T21:02:23.676Z] ---> f150b0b677cf [2023-04-17T21:02:23.676Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T21:02:23.676Z] ---> Running in 7ff9496f7c33 [2023-04-17T21:02:23.676Z] Removing intermediate container 7ff9496f7c33 [2023-04-17T21:02:23.676Z] ---> 53923e11fda5 [2023-04-17T21:02:23.676Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T21:02:23.676Z] ---> Running in 954d878ad051 [2023-04-17T21:02:23.676Z] Removing intermediate container 954d878ad051 [2023-04-17T21:02:23.676Z] ---> 521c276a8065 [2023-04-17T21:02:23.676Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T21:02:23.935Z] ---> Running in f68ef25d540a [2023-04-17T21:02:23.935Z] Removing intermediate container f68ef25d540a [2023-04-17T21:02:23.935Z] ---> d77e38ba03e9 [2023-04-17T21:02:23.935Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T21:02:23.935Z] ---> Running in fcfb6e00bf87 [2023-04-17T21:02:24.197Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-17T21:02:24.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-17T21:02:24.457Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T21:02:24.457Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T21:02:24.457Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T21:02:24.754Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T21:02:24.754Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T21:02:24.754Z] OK: 269 MiB in 57 packages [2023-04-17T21:02:25.013Z] Removing intermediate container fcfb6e00bf87 [2023-04-17T21:02:25.013Z] ---> 268a215e1b6b [2023-04-17T21:02:25.013Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-17T21:02:25.013Z] ---> Running in 7718e01db4f5 [2023-04-17T21:02:25.274Z] Removing intermediate container 7718e01db4f5 [2023-04-17T21:02:25.274Z] ---> c71c54b34c14 [2023-04-17T21:02:25.274Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T21:02:25.274Z] ---> 421bfe0c411b [2023-04-17T21:02:25.274Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T21:02:25.532Z] ---> Running in 92bc6db41bb4 [2023-04-17T21:02:26.858Z] Still waiting to schedule task [2023-04-17T21:02:26.858Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-17T21:02:52.099Z] Removing intermediate container 92bc6db41bb4 [2023-04-17T21:02:52.099Z] ---> 6dd50b793e87 [2023-04-17T21:02:52.099Z] Step 11/12 : COPY . . [2023-04-17T21:02:52.099Z] ---> 7991c667b07c [2023-04-17T21:02:52.099Z] Step 12/12 : RUN $MAKE [2023-04-17T21:02:52.099Z] ---> Running in d7ed70ed7eda [2023-04-17T21:02:52.099Z] noop [2023-04-17T21:02:52.100Z] Removing intermediate container d7ed70ed7eda [2023-04-17T21:02:52.100Z] ---> 2585be8d4f55 [2023-04-17T21:02:52.100Z] Successfully built 2585be8d4f55 [2023-04-17T21:02:52.100Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:02:52.557Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T21:02:52.557Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:02:52.714Z] prd-ubuntu20.04-docker-8c-8g-8793 does not seem to be running inside a container [2023-04-17T21:02:52.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-292 -v /w/workspace/gexfoundry_device-rest-go_PR-292:/w/workspace/gexfoundry_device-rest-go_PR-292:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-292@tmp:/w/workspace/gexfoundry_device-rest-go_PR-292@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 [2023-04-17T21:02:53.105Z] $ docker top 1aa9849b3995672a8728671296cd2f47c36224b8c7c612878005e492df1d964c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T21:02:53.483Z] + go version [2023-04-17T21:02:53.483Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-17T21:02:53.516Z] $ docker stop --time=1 1aa9849b3995672a8728671296cd2f47c36224b8c7c612878005e492df1d964c [2023-04-17T21:02:54.790Z] $ docker rm -f --volumes 1aa9849b3995672a8728671296cd2f47c36224b8c7c612878005e492df1d964c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:02:55.480Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-17T21:02:55.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:02:55.626Z] prd-ubuntu20.04-docker-8c-8g-8793 does not seem to be running inside a container [2023-04-17T21:02:55.659Z] $ 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-292 -v /w/workspace/gexfoundry_device-rest-go_PR-292:/w/workspace/gexfoundry_device-rest-go_PR-292:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-292@tmp:/w/workspace/gexfoundry_device-rest-go_PR-292@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 [2023-04-17T21:02:55.994Z] $ docker top 2355fdf43f72041b4dd1d5d47d14960528b49a725fb04326e7d78fe30c02daf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T21:02:56.373Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-292 [Pipeline] fileExists [Pipeline] sh [2023-04-17T21:02:56.728Z] + make test [2023-04-17T21:02:56.728Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T21:03:02.001Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-17T21:03:14.205Z] # github.com/edgexfoundry/device-rest-go/cmd [2023-04-17T21:03:14.205Z] 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 Start) [2023-04-17T21:03:14.205Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.3% of statements [2023-04-17T21:03:14.205Z] FAIL [2023-04-17T21:03:14.205Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-04-17T21:03:14.253Z] $ docker stop --time=1 2355fdf43f72041b4dd1d5d47d14960528b49a725fb04326e7d78fe30c02daf8 [2023-04-17T21:03:16.344Z] $ docker rm -f --volumes 2355fdf43f72041b4dd1d5d47d14960528b49a725fb04326e7d78fe30c02daf8 [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 [2023-04-17T21:03:17.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T21:03:17.478Z] [2023-04-17T21:03:17.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:03:17.850Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T21:03:17.850Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-17T21:03:17.850Z] 5eb5b503b376: Pulling fs layer [2023-04-17T21:03:17.850Z] 5c69ac0246d0: Pulling fs layer [2023-04-17T21:03:17.850Z] ec43610c2a17: Pulling fs layer [2023-04-17T21:03:17.850Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-17T21:03:17.850Z] 33b1e0a273af: Pulling fs layer [2023-04-17T21:03:17.850Z] 5d3b04190fa2: Pulling fs layer [2023-04-17T21:03:17.850Z] 2f39f015ded8: Pulling fs layer [2023-04-17T21:03:17.850Z] 33b1e0a273af: Waiting [2023-04-17T21:03:17.850Z] 5d3b04190fa2: Waiting [2023-04-17T21:03:17.850Z] 2f39f015ded8: Waiting [2023-04-17T21:03:17.850Z] 3a2ae6a8a46f: Waiting [2023-04-17T21:03:17.850Z] 5c69ac0246d0: Download complete [2023-04-17T21:03:17.850Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-17T21:03:17.850Z] 3a2ae6a8a46f: Download complete [2023-04-17T21:03:17.850Z] 33b1e0a273af: Verifying Checksum [2023-04-17T21:03:17.850Z] 33b1e0a273af: Download complete [2023-04-17T21:03:17.850Z] 5d3b04190fa2: Download complete [2023-04-17T21:03:17.850Z] ec43610c2a17: Verifying Checksum [2023-04-17T21:03:17.850Z] ec43610c2a17: Download complete [2023-04-17T21:03:18.108Z] 5eb5b503b376: Verifying Checksum [2023-04-17T21:03:18.108Z] 5eb5b503b376: Download complete [2023-04-17T21:03:18.676Z] 2f39f015ded8: Download complete [2023-04-17T21:03:19.243Z] 5eb5b503b376: Pull complete [2023-04-17T21:03:19.525Z] 5c69ac0246d0: Pull complete [2023-04-17T21:03:19.800Z] ec43610c2a17: Pull complete [2023-04-17T21:03:19.800Z] 3a2ae6a8a46f: Pull complete [2023-04-17T21:03:20.075Z] 33b1e0a273af: Pull complete [2023-04-17T21:03:20.075Z] 5d3b04190fa2: Pull complete [2023-04-17T21:03:24.293Z] 2f39f015ded8: Pull complete [2023-04-17T21:03:24.293Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-17T21:03:24.293Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T21:03:24.293Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:03:24.513Z] prd-ubuntu20.04-docker-8c-8g-8793 does not seem to be running inside a container [2023-04-17T21:03:24.549Z] $ 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-292 -v /w/workspace/gexfoundry_device-rest-go_PR-292:/w/workspace/gexfoundry_device-rest-go_PR-292:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-292@tmp:/w/workspace/gexfoundry_device-rest-go_PR-292@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 [2023-04-17T21:03:26.222Z] $ docker top 6a8a4e244077016f7e5974c899064bc3553e6fa0666321772215d340eb51b549 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:03:26.656Z] ---> job-cost.sh [2023-04-17T21:03:26.656Z] lf-activate-venv: SKIPPING [2023-04-17T21:03:26.656Z] INFO: No Stack... [2023-04-17T21:03:26.915Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T21:03:27.173Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T21:03:27.488Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-292/archives/cost.csv [2023-04-17T21:03:27.488Z] + cut -d, -f6 [Pipeline] lock [2023-04-17T21:03:27.533Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-292-1-stack-cost] [2023-04-17T21:03:27.538Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-292-1-stack-cost] did not exist. Created. [2023-04-17T21:03:27.538Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-292-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T21:03:27.928Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-17T21:03:27.983Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T21:03:28.013Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-292-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T21:03:28.096Z] $ docker stop --time=1 6a8a4e244077016f7e5974c899064bc3553e6fa0666321772215d340eb51b549 [2023-04-17T21:03:29.265Z] $ docker rm -f --volumes 6a8a4e244077016f7e5974c899064bc3553e6fa0666321772215d340eb51b549 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T21:03:29.642Z] Failed in branch amd64 [2023-04-17T21:07:21.483Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8795 in /w/workspace/gexfoundry_device-rest-go_PR-292 [Pipeline] { [Pipeline] ws [2023-04-17T21:07:21.547Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-17T21:07:21.638Z] The recommended git tool is: git [2023-04-17T21:07:30.640Z] using credential edgex-jenkins-ssh [2023-04-17T21:07:30.673Z] Cloning the remote Git repository [2023-04-17T21:07:30.771Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-17T21:07:31.008Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-17T21:07:31.279Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-17T21:07:31.280Z] > git --version # timeout=10 [2023-04-17T21:07:31.329Z] > git --version # 'git version 2.25.1' [2023-04-17T21:07:31.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T21:07:31.647Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T21:07:33.691Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-17T21:07:33.737Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-17T21:07:35.114Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-17T21:07:35.168Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-17T21:07:35.169Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T21:07:35.195Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/292/head:refs/remotes/origin/PR-292 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-17T21:07:35.921Z] Merging remotes/origin/main commit fa0493e2e3feda240b1cb1121ab26136a8f60332 into PR head commit 8adca88bda4b00201e1fbd25617fba5fe53259c7 [2023-04-17T21:07:36.695Z] Merge succeeded, producing 8adca88bda4b00201e1fbd25617fba5fe53259c7 [2023-04-17T21:07:36.695Z] Checking out Revision 8adca88bda4b00201e1fbd25617fba5fe53259c7 (PR-292) [2023-04-17T21:07:35.950Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T21:07:36.272Z] > git checkout -f 8adca88bda4b00201e1fbd25617fba5fe53259c7 # timeout=10 [2023-04-17T21:07:36.445Z] > git remote # timeout=10 [2023-04-17T21:07:36.492Z] > git config --get remote.origin.url # timeout=10 [2023-04-17T21:07:36.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-17T21:07:36.579Z] > git merge fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 [2023-04-17T21:07:36.637Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-17T21:07:36.706Z] > git config core.sparsecheckout # timeout=10 [2023-04-17T21:07:36.763Z] > git checkout -f 8adca88bda4b00201e1fbd25617fba5fe53259c7 # timeout=10 [2023-04-17T21:07:37.763Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-17T21:07:37.897Z] > git --version # timeout=10 [2023-04-17T21:07:37.926Z] > git --version # 'git version 2.25.1' [2023-04-17T21:07:37.961Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-17T21:07:39.133Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-17T21:07:39.133Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-17T21:07:39.133Z] Dload Upload Total Spent Left Speed [2023-04-17T21:07:39.133Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh [2023-04-17T21:07:40.151Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-17T21:07:40.521Z] + sudo tee /etc/docker/daemon.new [2023-04-17T21:07:40.521Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-17T21:07:40.521Z] { [2023-04-17T21:07:40.521Z] "registry-mirrors": [ [2023-04-17T21:07:40.521Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-17T21:07:40.521Z] ], [2023-04-17T21:07:40.521Z] "bip": "10.250.0.254/24", [2023-04-17T21:07:40.521Z] "hosts": [ [2023-04-17T21:07:40.521Z] "tcp://0.0.0.0:5555", [2023-04-17T21:07:40.521Z] "unix:///var/run/docker.sock" [2023-04-17T21:07:40.521Z] ], [2023-04-17T21:07:40.521Z] "mtu": 1458, [2023-04-17T21:07:40.521Z] "selinux-enabled": true, [2023-04-17T21:07:40.521Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-17T21:07:40.521Z] } [Pipeline] sh [2023-04-17T21:07:40.890Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-17T21:07:41.277Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T21:07:59.690Z] provisioning config files... [2023-04-17T21:07:59.730Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config14096127446336568724tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:08:00.161Z] ---> docker-login.sh [2023-04-17T21:08:00.161Z] nexus3.edgexfoundry.org:10001 [2023-04-17T21:08:00.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:08:01.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:08:01.028Z] Configure a credential helper to remove this warning. See [2023-04-17T21:08:01.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:08:01.028Z] [2023-04-17T21:08:01.028Z] Login Succeeded [2023-04-17T21:08:01.028Z] nexus3.edgexfoundry.org:10002 [2023-04-17T21:08:01.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:08:01.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:08:01.578Z] Configure a credential helper to remove this warning. See [2023-04-17T21:08:01.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:08:01.578Z] [2023-04-17T21:08:01.578Z] Login Succeeded [2023-04-17T21:08:01.578Z] nexus3.edgexfoundry.org:10003 [2023-04-17T21:08:01.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:08:02.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:08:02.125Z] Configure a credential helper to remove this warning. See [2023-04-17T21:08:02.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:08:02.125Z] [2023-04-17T21:08:02.125Z] Login Succeeded [2023-04-17T21:08:02.125Z] nexus3.edgexfoundry.org:10004 [2023-04-17T21:08:02.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:08:02.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:08:02.398Z] Configure a credential helper to remove this warning. See [2023-04-17T21:08:02.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:08:02.398Z] [2023-04-17T21:08:02.398Z] Login Succeeded [2023-04-17T21:08:02.398Z] docker.io [2023-04-17T21:08:02.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-17T21:08:02.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-17T21:08:02.944Z] Configure a credential helper to remove this warning. See [2023-04-17T21:08:02.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-17T21:08:02.944Z] [2023-04-17T21:08:02.944Z] Login Succeeded [2023-04-17T21:08:02.944Z] ---> docker-login.sh ends [Pipeline] } [2023-04-17T21:08:02.973Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-17T21:08:03.463Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T21:08:03.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-17T21:08:03.536Z] ========================================================= [2023-04-17T21:08:03.536Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-17T21:08:03.536Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:08:04.054Z] + 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 . [2023-04-17T21:08:04.054Z] Sending build context to Docker daemon 137.7kB [2023-04-17T21:08:04.327Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-17T21:08:04.327Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-17T21:08:04.604Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-17T21:08:04.604Z] af6eaf76a39c: Pulling fs layer [2023-04-17T21:08:04.604Z] 55522c791124: Pulling fs layer [2023-04-17T21:08:04.604Z] ce5c4a1c91eb: Pulling fs layer [2023-04-17T21:08:04.604Z] 169dfbe0d373: Pulling fs layer [2023-04-17T21:08:04.604Z] e1ff8fa3b103: Pulling fs layer [2023-04-17T21:08:04.604Z] 52ebb69f0ebf: Pulling fs layer [2023-04-17T21:08:04.604Z] 5abe8eddf0d5: Pulling fs layer [2023-04-17T21:08:04.604Z] e1ff8fa3b103: Waiting [2023-04-17T21:08:04.604Z] 52ebb69f0ebf: Waiting [2023-04-17T21:08:04.604Z] 5abe8eddf0d5: Waiting [2023-04-17T21:08:04.604Z] 169dfbe0d373: Waiting [2023-04-17T21:08:04.604Z] 55522c791124: Verifying Checksum [2023-04-17T21:08:04.604Z] 55522c791124: Download complete [2023-04-17T21:08:04.604Z] 169dfbe0d373: Verifying Checksum [2023-04-17T21:08:04.604Z] 169dfbe0d373: Download complete [2023-04-17T21:08:04.604Z] e1ff8fa3b103: Verifying Checksum [2023-04-17T21:08:04.604Z] e1ff8fa3b103: Download complete [2023-04-17T21:08:04.604Z] af6eaf76a39c: Verifying Checksum [2023-04-17T21:08:04.604Z] af6eaf76a39c: Download complete [2023-04-17T21:08:06.039Z] af6eaf76a39c: Pull complete [2023-04-17T21:08:06.039Z] 5abe8eddf0d5: Verifying Checksum [2023-04-17T21:08:06.039Z] 5abe8eddf0d5: Download complete [2023-04-17T21:08:06.312Z] 55522c791124: Pull complete [2023-04-17T21:08:07.756Z] ce5c4a1c91eb: Verifying Checksum [2023-04-17T21:08:07.756Z] ce5c4a1c91eb: Download complete [2023-04-17T21:08:07.756Z] 52ebb69f0ebf: Verifying Checksum [2023-04-17T21:08:18.032Z] ce5c4a1c91eb: Pull complete [2023-04-17T21:08:18.333Z] 169dfbe0d373: Pull complete [2023-04-17T21:08:18.622Z] e1ff8fa3b103: Pull complete [2023-04-17T21:08:26.903Z] 52ebb69f0ebf: Pull complete [2023-04-17T21:08:28.870Z] 5abe8eddf0d5: Pull complete [2023-04-17T21:08:28.871Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-17T21:08:28.871Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-17T21:08:28.871Z] ---> 6cb57ee374ae [2023-04-17T21:08:28.871Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-17T21:08:30.866Z] ---> Running in 8b109c6906c5 [2023-04-17T21:08:31.459Z] Removing intermediate container 8b109c6906c5 [2023-04-17T21:08:31.459Z] ---> 37ee70b3f219 [2023-04-17T21:08:31.459Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-17T21:08:31.459Z] ---> Running in ae3a6947b38a [2023-04-17T21:08:31.730Z] Removing intermediate container ae3a6947b38a [2023-04-17T21:08:31.730Z] ---> 85a6f2c40324 [2023-04-17T21:08:31.730Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-17T21:08:31.730Z] ---> Running in d4a57c513993 [2023-04-17T21:08:32.324Z] Removing intermediate container d4a57c513993 [2023-04-17T21:08:32.324Z] ---> 15beba420e5e [2023-04-17T21:08:32.324Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-17T21:08:32.324Z] ---> Running in 24b4689d4e05 [2023-04-17T21:08:32.604Z] Removing intermediate container 24b4689d4e05 [2023-04-17T21:08:32.604Z] ---> 0a7d6c560ac4 [2023-04-17T21:08:32.604Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-17T21:08:32.604Z] ---> Running in b989ca7457c7 [2023-04-17T21:08:34.029Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-17T21:08:34.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-17T21:08:36.051Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-17T21:08:36.051Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-17T21:08:36.051Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-17T21:08:36.051Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-17T21:08:36.051Z] Executing busybox-1.35.0-r29.trigger [2023-04-17T21:08:36.051Z] OK: 268 MiB in 57 packages [2023-04-17T21:08:37.023Z] Removing intermediate container b989ca7457c7 [2023-04-17T21:08:37.024Z] ---> f7092cd1effc [2023-04-17T21:08:37.024Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-17T21:08:37.298Z] ---> Running in 3c6005c32b56 [2023-04-17T21:08:37.569Z] Removing intermediate container 3c6005c32b56 [2023-04-17T21:08:37.569Z] ---> dd83ac4a02bd [2023-04-17T21:08:37.569Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-17T21:08:40.171Z] ---> f92274a47219 [2023-04-17T21:08:40.171Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-17T21:08:40.171Z] ---> Running in 3b2394cd8c17 [2023-04-17T21:09:48.098Z] Removing intermediate container 3b2394cd8c17 [2023-04-17T21:09:48.098Z] ---> ff2f5caf5df4 [2023-04-17T21:09:48.098Z] Step 11/12 : COPY . . [2023-04-17T21:09:48.098Z] ---> 38b63ec66786 [2023-04-17T21:09:48.098Z] Step 12/12 : RUN $MAKE [2023-04-17T21:09:48.098Z] ---> Running in f7668f785613 [2023-04-17T21:09:49.074Z] noop [2023-04-17T21:09:50.084Z] Removing intermediate container f7668f785613 [2023-04-17T21:09:50.084Z] ---> 8945c8cffc34 [2023-04-17T21:09:50.084Z] Successfully built 8945c8cffc34 [2023-04-17T21:09:50.084Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:09:50.588Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T21:09:50.588Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:09:50.909Z] prd-ubuntu20.04-docker-arm64-4c-16g-8795 does not seem to be running inside a container [2023-04-17T21:09:50.993Z] $ 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 [2023-04-17T21:09:52.357Z] $ docker top f96bcc2203be87732c5a44e79633212d09d5e3c2e44f12123e09e1ebbe505a87 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T21:09:53.261Z] + go version [2023-04-17T21:09:53.261Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-17T21:09:53.297Z] $ docker stop --time=1 f96bcc2203be87732c5a44e79633212d09d5e3c2e44f12123e09e1ebbe505a87 [2023-04-17T21:09:55.017Z] $ docker rm -f --volumes f96bcc2203be87732c5a44e79633212d09d5e3c2e44f12123e09e1ebbe505a87 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:09:55.877Z] + docker inspect -f . ci-base-image-arm64 [2023-04-17T21:09:55.877Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:09:56.152Z] prd-ubuntu20.04-docker-arm64-4c-16g-8795 does not seem to be running inside a container [2023-04-17T21:09:56.243Z] $ 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 [2023-04-17T21:09:58.372Z] $ docker top e002dec2c8c3f7440d9dfca6c00dfe5f6497f186690e9415ae62e89805293e6b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T21:09:59.318Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-17T21:10:00.039Z] + make test [2023-04-17T21:10:00.039Z] go test ./... -coverprofile=coverage.out ./... [2023-04-17T21:10:46.961Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-17T21:12:53.782Z] # github.com/edgexfoundry/device-rest-go/cmd [2023-04-17T21:12:53.782Z] 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 Start) [2023-04-17T21:13:03.899Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 32.3% of statements [2023-04-17T21:13:03.899Z] FAIL [2023-04-17T21:13:03.899Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-04-17T21:13:03.947Z] $ docker stop --time=1 e002dec2c8c3f7440d9dfca6c00dfe5f6497f186690e9415ae62e89805293e6b [2023-04-17T21:13:05.963Z] $ docker rm -f --volumes e002dec2c8c3f7440d9dfca6c00dfe5f6497f186690e9415ae62e89805293e6b [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 [2023-04-17T21:13:07.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T21:13:07.830Z] [2023-04-17T21:13:07.830Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:13:08.242Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T21:13:08.515Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-17T21:13:08.515Z] 8998bd30e6a1: Pulling fs layer [2023-04-17T21:13:08.515Z] 04944245beec: Pulling fs layer [2023-04-17T21:13:08.515Z] 699f458cf7ca: Pulling fs layer [2023-04-17T21:13:08.515Z] 765212b225bb: Pulling fs layer [2023-04-17T21:13:08.515Z] f23df028b6ca: Pulling fs layer [2023-04-17T21:13:08.515Z] d65c8cfc05b1: Pulling fs layer [2023-04-17T21:13:08.515Z] 2437ff75d9bd: Pulling fs layer [2023-04-17T21:13:08.515Z] 765212b225bb: Waiting [2023-04-17T21:13:08.515Z] f23df028b6ca: Waiting [2023-04-17T21:13:08.515Z] d65c8cfc05b1: Waiting [2023-04-17T21:13:08.515Z] 04944245beec: Verifying Checksum [2023-04-17T21:13:08.515Z] 04944245beec: Download complete [2023-04-17T21:13:08.515Z] 765212b225bb: Download complete [2023-04-17T21:13:08.515Z] f23df028b6ca: Verifying Checksum [2023-04-17T21:13:08.515Z] f23df028b6ca: Download complete [2023-04-17T21:13:08.787Z] d65c8cfc05b1: Verifying Checksum [2023-04-17T21:13:08.787Z] d65c8cfc05b1: Download complete [2023-04-17T21:13:08.787Z] 699f458cf7ca: Verifying Checksum [2023-04-17T21:13:08.787Z] 699f458cf7ca: Download complete [2023-04-17T21:13:09.059Z] 8998bd30e6a1: Verifying Checksum [2023-04-17T21:13:09.059Z] 8998bd30e6a1: Download complete [2023-04-17T21:13:11.676Z] 2437ff75d9bd: Verifying Checksum [2023-04-17T21:13:11.676Z] 2437ff75d9bd: Download complete [2023-04-17T21:13:13.631Z] 8998bd30e6a1: Pull complete [2023-04-17T21:13:13.901Z] 04944245beec: Pull complete [2023-04-17T21:13:15.315Z] 699f458cf7ca: Pull complete [2023-04-17T21:13:15.584Z] 765212b225bb: Pull complete [2023-04-17T21:13:19.865Z] f23df028b6ca: Pull complete [2023-04-17T21:13:19.865Z] d65c8cfc05b1: Pull complete [2023-04-17T21:13:34.932Z] 2437ff75d9bd: Pull complete [2023-04-17T21:13:34.932Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-17T21:13:34.932Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-17T21:13:34.932Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:13:35.313Z] prd-ubuntu20.04-docker-arm64-4c-16g-8795 does not seem to be running inside a container [2023-04-17T21:13:35.409Z] $ 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 [2023-04-17T21:13:38.618Z] $ docker top 251934058f03aea5c6344ad43743f637c2687ef09dc817e90314104d2859d0c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:13:39.600Z] ---> job-cost.sh [2023-04-17T21:13:39.600Z] lf-activate-venv: SKIPPING [2023-04-17T21:13:39.600Z] INFO: No Stack... [2023-04-17T21:13:40.192Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-17T21:13:41.167Z] INFO: Archiving Costs [Pipeline] sh [2023-04-17T21:13:41.851Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv+ [2023-04-17T21:13:41.851Z] cut -d, -f6 [Pipeline] lock [2023-04-17T21:13:41.973Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-292-1-stack-cost] [2023-04-17T21:13:41.979Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-292-1-stack-cost] did not exist. Created. [2023-04-17T21:13:41.979Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-292-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-17T21:13:42.800Z] /w/workspace/device-rest-go/1@tmp/durable-6fc85db0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-17T21:13:43.598Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-17T21:13:43.634Z] Warning: overwriting stash ‘stack-cost’ [2023-04-17T21:13:44.364Z] Stashed 1 file(s) [Pipeline] } [2023-04-17T21:13:44.383Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-292-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-17T21:13:44.467Z] $ docker stop --time=1 251934058f03aea5c6344ad43743f637c2687ef09dc817e90314104d2859d0c7 [2023-04-17T21:13:46.665Z] $ docker rm -f --volumes 251934058f03aea5c6344ad43743f637c2687ef09dc817e90314104d2859d0c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-17T21:13:47.461Z] 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 [2023-04-17T21:13:49.448Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-292/archives ] [2023-04-17T21:13:49.448Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-292/archives [2023-04-17T21:13:49.448Z] total 16 [2023-04-17T21:13:49.448Z] drwxr-xr-x 3 root root 4096 Apr 17 21:03 . [2023-04-17T21:13:49.448Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 21:03 .. [2023-04-17T21:13:49.448Z] drwxr-xr-x 2 root root 4096 Apr 17 21:03 cost [2023-04-17T21:13:49.448Z] -rw-r--r-- 1 root root 86 Apr 17 21:03 cost.csv [2023-04-17T21:13:49.448Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-292/archives [2023-04-17T21:13:49.448Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-292/archives [2023-04-17T21:13:49.448Z] total 16 [2023-04-17T21:13:49.448Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 21:03 . [2023-04-17T21:13:49.448Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 21:03 .. [2023-04-17T21:13:49.448Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 21:03 cost [2023-04-17T21:13:49.448Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 17 21:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:13:49.775Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:13:50.660Z] ---> package-listing.sh [2023-04-17T21:13:50.660Z] ++ facter osfamily [2023-04-17T21:13:50.660Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-17T21:13:50.919Z] + OS_FAMILY=debian [2023-04-17T21:13:50.919Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-292 [2023-04-17T21:13:50.919Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-17T21:13:50.919Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-17T21:13:50.919Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-17T21:13:50.919Z] + PACKAGES=/tmp/packages_start.txt [2023-04-17T21:13:50.919Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-292 ']' [2023-04-17T21:13:50.919Z] + PACKAGES=/tmp/packages_end.txt [2023-04-17T21:13:50.919Z] + case "${OS_FAMILY}" in [2023-04-17T21:13:50.919Z] + dpkg -l [2023-04-17T21:13:50.919Z] + grep '^ii' [2023-04-17T21:13:50.919Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-17T21:13:50.919Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-17T21:13:50.919Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-17T21:13:50.919Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-292 ']' [2023-04-17T21:13:50.919Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-292/archives/ [2023-04-17T21:13:50.919Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-292/archives/ [Pipeline] echo [2023-04-17T21:13:50.951Z] 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-292/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-17T21:13:51.238Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-17T21:13:51.865Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-17T21:13:51.865Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-17T21:13:52.012Z] prd-ubuntu20.04-docker-8c-8g-8793 does not seem to be running inside a container [2023-04-17T21:13:52.040Z] $ 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-292/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-292 -v /w/workspace/gexfoundry_device-rest-go_PR-292:/w/workspace/gexfoundry_device-rest-go_PR-292:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-292@tmp:/w/workspace/gexfoundry_device-rest-go_PR-292@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 [2023-04-17T21:13:52.252Z] $ docker top 0573964d3429de5e412d794d97bf75b36b30d552475468c6c5e92fffce439a79 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-17T21:13:52.630Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-17T21:13:52.939Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-17T21:13:53.248Z] + ls /var/log/sa-host [2023-04-17T21:13:53.248Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-17T21:13:53.384Z] provisioning config files... [2023-04-17T21:13:53.392Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-292@tmp/config8742522769339351700tmp [Pipeline] { [Pipeline] echo [2023-04-17T21:13:53.439Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:13:53.750Z] ---> create-netrc.sh [Pipeline] } [2023-04-17T21:13:53.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:13:54.185Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-17T21:13:54.222Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:13:54.532Z] ---> sudo-logs.sh [2023-04-17T21:13:54.533Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-17T21:13:54.621Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:13:54.939Z] ---> job-cost.sh [2023-04-17T21:13:54.939Z] lf-activate-venv: SKIPPING [2023-04-17T21:13:54.939Z] DEBUG: total: 0.2199999988079071 [2023-04-17T21:13:54.939Z] INFO: Retrieving Stack Cost... [2023-04-17T21:13:55.198Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-17T21:13:55.766Z] INFO: Archiving Costs [Pipeline] echo [2023-04-17T21:13:55.803Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-17T21:13:56.115Z] ---> logs-deploy.sh [2023-04-17T21:13:56.115Z] lf-activate-venv: SKIPPING [2023-04-17T21:13:56.115Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-292/1 [2023-04-17T21:13:56.115Z] INFO: archiving workspace using pattern(s): [2023-04-17T21:13:57.053Z] Archives upload complete. [2023-04-17T21:13:57.053Z] INFO: archiving logs to Nexus