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 [2023-04-12T20:58:59.255Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-12T20:58:59.417Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-12T20:58:59.512Z] ========================================================= [2023-04-12T20:58:59.512Z] EdgeX Global Pipelines Version Info [2023-04-12T20:58:59.512Z] ========================================================= [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 [2023-04-12T20:59:00.242Z] ------------------- [2023-04-12T20:59:00.242Z] stable info: [2023-04-12T20:59:00.242Z] ------------------- [2023-04-12T20:59:00.242Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-12T20:59:00.242Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-12T20:59:00.242Z] Message: update stable to v1.0.248 [2023-04-12T20:59:00.811Z] ------------------- [2023-04-12T20:59:00.811Z] experimental info: [2023-04-12T20:59:00.811Z] ------------------- [2023-04-12T20:59:00.811Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-12T20:59:00.811Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-12T20:59:00.811Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-12T20:59:01.087Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-12T20:59:01.126Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-12T20:59:01.163Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-12T20:59:01.204Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-12T20:59:01.241Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-12T20:59:01.282Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-12T20:59:01.322Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-12T20:59:01.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-12T20:59:01.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-12T20:59:01.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-12T20:59:01.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-12T20:59:01.510Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-12T20:59:01.557Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-12T20:59:01.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-12T20:59:01.633Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T20:59:01.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T20:59:01.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T20:59:01.756Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T20:59:01.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-12T20:59:01.829Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-12T20:59:01.868Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-12T20:59:01.912Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-12T20:59:01.961Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-12T20:59:02.002Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-12T20:59:02.051Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-12T20:59:02.096Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-12T20:59:02.143Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-12T20:59:02.189Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-288 [Pipeline] echo [2023-04-12T20:59:02.229Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-288 [Pipeline] echo [2023-04-12T20:59:02.273Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-288 [Pipeline] echo [2023-04-12T20:59:02.310Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [Pipeline] echo [2023-04-12T20:59:02.351Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e3325b5 [Pipeline] echo [2023-04-12T20:59:02.389Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T20:59:02.500Z] provisioning config files... [2023-04-12T20:59:02.513Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp/config5817306120187658125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T20:59:02.858Z] ---> docker-login.sh [2023-04-12T20:59:02.858Z] nexus3.edgexfoundry.org:10001 [2023-04-12T20:59:03.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:03.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:03.117Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:03.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:03.117Z] [2023-04-12T20:59:03.117Z] Login Succeeded [2023-04-12T20:59:03.117Z] nexus3.edgexfoundry.org:10002 [2023-04-12T20:59:03.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:03.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:03.376Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:03.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:03.376Z] [2023-04-12T20:59:03.376Z] Login Succeeded [2023-04-12T20:59:03.376Z] nexus3.edgexfoundry.org:10003 [2023-04-12T20:59:03.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:03.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:03.376Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:03.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:03.376Z] [2023-04-12T20:59:03.376Z] Login Succeeded [2023-04-12T20:59:03.376Z] nexus3.edgexfoundry.org:10004 [2023-04-12T20:59:03.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:03.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:03.376Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:03.376Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:03.376Z] [2023-04-12T20:59:03.376Z] Login Succeeded [2023-04-12T20:59:03.376Z] docker.io [2023-04-12T20:59:03.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:03.896Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:03.896Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:03.896Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:03.896Z] [2023-04-12T20:59:03.896Z] Login Succeeded [2023-04-12T20:59:03.896Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T20:59:03.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-12T20:59:04.505Z] + git rev-list -1 --merges e3325b5d144ea7a5590fb9a4b829210311f8d5c0~1..e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [Pipeline] echo [2023-04-12T20:59:04.566Z] -----------> git rev-list -1 --merges e3325b5d144ea7a5590fb9a4b829210311f8d5c0~1..e3325b5d144ea7a5590fb9a4b829210311f8d5c0 e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [false] [Pipeline] sh [2023-04-12T20:59:04.872Z] + git log --format=format:%s -1 e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [Pipeline] echo [2023-04-12T20:59:04.906Z] ========================================================= [2023-04-12T20:59:04.906Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-12T20:59:04.906Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T20:59:05.335Z] + git log --format=format:%s -1 e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [Pipeline] echo [2023-04-12T20:59:05.370Z] [semverPrep] GIT_COMMIT: e3325b5d144ea7a5590fb9a4b829210311f8d5c0, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-12T20:59:05.399Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-12T20:59:05.790Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-12T20:59:05.790Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-12T20:59:05.790Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-12T20:59:05.790Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-12T20:59:05.790Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-12T20:59:05.790Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-12T20:59:05.790Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T20:59:06.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T20:59:06.263Z] [2023-04-12T20:59:06.263Z] 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-12T20:59:06.636Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T20:59:06.636Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-12T20:59:06.636Z] b85a868b505f: Pulling fs layer [2023-04-12T20:59:06.636Z] e2be974225ed: Pulling fs layer [2023-04-12T20:59:06.636Z] 339a4e72a1f5: Pulling fs layer [2023-04-12T20:59:06.636Z] 988bab9f4d93: Pulling fs layer [2023-04-12T20:59:06.636Z] 1469e6f7b9e6: Pulling fs layer [2023-04-12T20:59:06.636Z] eaf3925da568: Pulling fs layer [2023-04-12T20:59:06.636Z] bab4dde63d76: Pulling fs layer [2023-04-12T20:59:06.636Z] bde34c3a00c8: Pulling fs layer [2023-04-12T20:59:06.636Z] b352a97aabf1: Pulling fs layer [2023-04-12T20:59:06.636Z] 4872d77fe225: Pulling fs layer [2023-04-12T20:59:06.636Z] 5851b861e8e6: Pulling fs layer [2023-04-12T20:59:06.636Z] 988bab9f4d93: Waiting [2023-04-12T20:59:06.636Z] bde34c3a00c8: Waiting [2023-04-12T20:59:06.636Z] 1469e6f7b9e6: Waiting [2023-04-12T20:59:06.636Z] b352a97aabf1: Waiting [2023-04-12T20:59:06.636Z] 4872d77fe225: Waiting [2023-04-12T20:59:06.636Z] bab4dde63d76: Waiting [2023-04-12T20:59:06.636Z] eaf3925da568: Waiting [2023-04-12T20:59:06.636Z] e2be974225ed: Verifying Checksum [2023-04-12T20:59:06.636Z] e2be974225ed: Download complete [2023-04-12T20:59:06.636Z] 988bab9f4d93: Verifying Checksum [2023-04-12T20:59:06.636Z] 988bab9f4d93: Download complete [2023-04-12T20:59:06.895Z] 1469e6f7b9e6: Verifying Checksum [2023-04-12T20:59:06.895Z] 1469e6f7b9e6: Download complete [2023-04-12T20:59:06.895Z] eaf3925da568: Verifying Checksum [2023-04-12T20:59:06.895Z] 339a4e72a1f5: Verifying Checksum [2023-04-12T20:59:06.895Z] 339a4e72a1f5: Download complete [2023-04-12T20:59:06.895Z] bde34c3a00c8: Verifying Checksum [2023-04-12T20:59:06.895Z] bde34c3a00c8: Download complete [2023-04-12T20:59:06.895Z] b352a97aabf1: Download complete [2023-04-12T20:59:06.895Z] 4872d77fe225: Verifying Checksum [2023-04-12T20:59:06.895Z] 4872d77fe225: Download complete [2023-04-12T20:59:06.895Z] 5851b861e8e6: Download complete [2023-04-12T20:59:06.895Z] b85a868b505f: Verifying Checksum [2023-04-12T20:59:06.895Z] b85a868b505f: Download complete [2023-04-12T20:59:07.153Z] bab4dde63d76: Verifying Checksum [2023-04-12T20:59:07.153Z] bab4dde63d76: Download complete [2023-04-12T20:59:08.094Z] b85a868b505f: Pull complete [2023-04-12T20:59:08.094Z] e2be974225ed: Pull complete [2023-04-12T20:59:08.661Z] 339a4e72a1f5: Pull complete [2023-04-12T20:59:08.661Z] 988bab9f4d93: Pull complete [2023-04-12T20:59:08.920Z] 1469e6f7b9e6: Pull complete [2023-04-12T20:59:08.920Z] eaf3925da568: Pull complete [2023-04-12T20:59:10.831Z] bab4dde63d76: Pull complete [2023-04-12T20:59:10.831Z] bde34c3a00c8: Pull complete [2023-04-12T20:59:10.831Z] b352a97aabf1: Pull complete [2023-04-12T20:59:10.831Z] 4872d77fe225: Pull complete [2023-04-12T20:59:10.831Z] 5851b861e8e6: Pull complete [2023-04-12T20:59:10.831Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-12T20:59:10.831Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T20:59:10.831Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T20:59:11.046Z] prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container [2023-04-12T20:59:11.077Z] $ 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 [2023-04-12T20:59:13.619Z] $ docker top 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 -eo pid,comm [2023-04-12T20:59:13.673Z] 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-12T20:59:13.673Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-12T20:59:13.803Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T20:59:13.803Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T20:59:13.914Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T20:59:13.916Z] $ docker exec 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 ssh-agent [2023-04-12T20:59:14.008Z] SSH_AUTH_SOCK=/tmp/ssh-kip4docqqF6z/agent.33 [2023-04-12T20:59:14.008Z] SSH_AGENT_PID=39 [2023-04-12T20:59:14.014Z] Running ssh-add (command line suppressed) [2023-04-12T20:59:14.110Z] 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) [2023-04-12T20:59:14.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T20:59:14.449Z] + git tag --points-at HEAD [Pipeline] } [2023-04-12T20:59:14.474Z] $ docker exec --env ******** --env ******** 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 ssh-agent -k [2023-04-12T20:59:14.558Z] unset SSH_AUTH_SOCK; [2023-04-12T20:59:14.559Z] unset SSH_AGENT_PID; [2023-04-12T20:59:14.559Z] echo Agent pid 39 killed; [2023-04-12T20:59:14.568Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-12T20:59:14.655Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T20:59:14.655Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T20:59:14.750Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T20:59:14.752Z] $ docker exec 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 ssh-agent [2023-04-12T20:59:14.857Z] SSH_AUTH_SOCK=/tmp/ssh-m0BRWxVAPrNx/agent.71 [2023-04-12T20:59:14.857Z] SSH_AGENT_PID=77 [2023-04-12T20:59:14.862Z] Running ssh-add (command line suppressed) [2023-04-12T20:59:14.957Z] 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) [2023-04-12T20:59:14.971Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T20:59:15.302Z] + git semver init [2023-04-12T20:59:15.561Z] 2023-04-12 20:59:15,467 [run_init] DEBUG init version:0.0.0 force:False [2023-04-12T20:59:15.561Z] 2023-04-12 20:59:15,468 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-288/.semver [2023-04-12T20:59:15.561Z] 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 [2023-04-12T20:59:15.561Z] 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) [2023-04-12T20:59:16.939Z] 2023-04-12 20:59:16,594 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-288/.git/info/exclude [2023-04-12T20:59:16.939Z] 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 [2023-04-12T20:59:16.939Z] 2023-04-12 20:59:16,595 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-288/.semver/PR-288 [2023-04-12T20:59:16.939Z] 2023-04-12 20:59:16,599 [execute] INFO git cat-file --batch-check [2023-04-12T20:59:16.939Z] 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=) [2023-04-12T20:59:16.939Z] 2023-04-12 20:59:16,604 [execute] INFO git cat-file --batch [2023-04-12T20:59:16.939Z] 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=) [2023-04-12T20:59:16.939Z] 2023-04-12 20:59:16,609 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-288/.semver/PR-288 [2023-04-12T20:59:16.939Z] 0.0.0 [Pipeline] } [2023-04-12T20:59:16.964Z] $ docker exec --env ******** --env ******** 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 ssh-agent -k [2023-04-12T20:59:17.067Z] unset SSH_AUTH_SOCK; [2023-04-12T20:59:17.068Z] unset SSH_AGENT_PID; [2023-04-12T20:59:17.068Z] echo Agent pid 77 killed; [2023-04-12T20:59:17.076Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-12T20:59:17.498Z] + git semver [Pipeline] } [2023-04-12T20:59:17.776Z] $ docker stop --time=1 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 [2023-04-12T20:59:19.066Z] $ docker rm -f --volumes 507d07af12678a1774c31f0a69befc562bd0f810bf466dc5f6f0592827492d05 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T20:59:19.452Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-12T20:59:19.722Z] Stashed 1 file(s) [Pipeline] echo [2023-04-12T20:59:19.739Z] [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-12T20:59:20.289Z] provisioning config files... [2023-04-12T20:59:20.298Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp/config5807194763690483877tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T20:59:20.657Z] ---> docker-login.sh [2023-04-12T20:59:20.657Z] nexus3.edgexfoundry.org:10001 [2023-04-12T20:59:20.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:20.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:20.657Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:20.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:20.657Z] [2023-04-12T20:59:20.657Z] Login Succeeded [2023-04-12T20:59:20.657Z] nexus3.edgexfoundry.org:10002 [2023-04-12T20:59:20.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:20.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:20.657Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:20.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:20.657Z] [2023-04-12T20:59:20.657Z] Login Succeeded [2023-04-12T20:59:20.657Z] nexus3.edgexfoundry.org:10003 [2023-04-12T20:59:20.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:20.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:20.917Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:20.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:20.917Z] [2023-04-12T20:59:20.917Z] Login Succeeded [2023-04-12T20:59:20.917Z] nexus3.edgexfoundry.org:10004 [2023-04-12T20:59:20.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:20.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:20.917Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:20.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:20.917Z] [2023-04-12T20:59:20.917Z] Login Succeeded [2023-04-12T20:59:20.917Z] docker.io [2023-04-12T20:59:20.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T20:59:21.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T20:59:21.179Z] Configure a credential helper to remove this warning. See [2023-04-12T20:59:21.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T20:59:21.179Z] [2023-04-12T20:59:21.179Z] Login Succeeded [2023-04-12T20:59:21.179Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T20:59:21.209Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T20:59:21.408Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T20:59:21.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T20:59:21.475Z] ========================================================= [2023-04-12T20:59:21.475Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-12T20:59:21.475Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T20:59:21.937Z] + 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-12T20:59:21.937Z] Sending build context to Docker daemon 10.88MB [2023-04-12T20:59:21.937Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T20:59:21.937Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-12T20:59:21.937Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-12T20:59:21.937Z] 63b65145d645: Pulling fs layer [2023-04-12T20:59:21.937Z] a2d21d5440eb: Pulling fs layer [2023-04-12T20:59:21.937Z] 935e6c44a52c: Pulling fs layer [2023-04-12T20:59:21.937Z] 94cc34f8dd06: Pulling fs layer [2023-04-12T20:59:21.937Z] 30dea6a524f1: Pulling fs layer [2023-04-12T20:59:21.937Z] a2aff8979fd8: Pulling fs layer [2023-04-12T20:59:21.937Z] 6808be2612f2: Pulling fs layer [2023-04-12T20:59:21.937Z] f25807f1079a: Pulling fs layer [2023-04-12T20:59:21.937Z] 94cc34f8dd06: Waiting [2023-04-12T20:59:21.937Z] 30dea6a524f1: Waiting [2023-04-12T20:59:21.937Z] a2aff8979fd8: Waiting [2023-04-12T20:59:21.937Z] f25807f1079a: Waiting [2023-04-12T20:59:21.937Z] 6808be2612f2: Waiting [2023-04-12T20:59:22.196Z] a2d21d5440eb: Verifying Checksum [2023-04-12T20:59:22.196Z] a2d21d5440eb: Download complete [2023-04-12T20:59:22.196Z] 94cc34f8dd06: Download complete [2023-04-12T20:59:22.196Z] 30dea6a524f1: Verifying Checksum [2023-04-12T20:59:22.196Z] 30dea6a524f1: Download complete [2023-04-12T20:59:22.196Z] 63b65145d645: Verifying Checksum [2023-04-12T20:59:22.196Z] 63b65145d645: Download complete [2023-04-12T20:59:22.196Z] a2aff8979fd8: Verifying Checksum [2023-04-12T20:59:22.196Z] a2aff8979fd8: Download complete [2023-04-12T20:59:22.196Z] 63b65145d645: Pull complete [2023-04-12T20:59:22.455Z] a2d21d5440eb: Pull complete [2023-04-12T20:59:22.455Z] f25807f1079a: Verifying Checksum [2023-04-12T20:59:22.455Z] f25807f1079a: Download complete [2023-04-12T20:59:22.714Z] 935e6c44a52c: Verifying Checksum [2023-04-12T20:59:22.714Z] 935e6c44a52c: Download complete [2023-04-12T20:59:22.714Z] 6808be2612f2: Verifying Checksum [2023-04-12T20:59:22.714Z] 6808be2612f2: Download complete [2023-04-12T20:59:25.992Z] 935e6c44a52c: Pull complete [2023-04-12T20:59:25.992Z] 94cc34f8dd06: Pull complete [2023-04-12T20:59:25.992Z] 30dea6a524f1: Pull complete [2023-04-12T20:59:25.992Z] a2aff8979fd8: Pull complete [2023-04-12T20:59:28.518Z] 6808be2612f2: Pull complete [2023-04-12T20:59:28.776Z] f25807f1079a: Pull complete [2023-04-12T20:59:28.776Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-12T20:59:28.776Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-12T20:59:28.776Z] ---> 3b553350e43f [2023-04-12T20:59:28.776Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-12T20:59:32.071Z] ---> Running in 7c725285feec [2023-04-12T20:59:32.071Z] Removing intermediate container 7c725285feec [2023-04-12T20:59:32.071Z] ---> 27a7301a6e91 [2023-04-12T20:59:32.071Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T20:59:32.071Z] ---> Running in af5a67d7841b [2023-04-12T20:59:32.330Z] Removing intermediate container af5a67d7841b [2023-04-12T20:59:32.330Z] ---> 033c0eb0e7d5 [2023-04-12T20:59:32.330Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-12T20:59:32.330Z] ---> Running in 862d404e96d7 [2023-04-12T20:59:32.330Z] Removing intermediate container 862d404e96d7 [2023-04-12T20:59:32.330Z] ---> 559ffd7b7e07 [2023-04-12T20:59:32.330Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T20:59:32.330Z] ---> Running in 933dfa9821a7 [2023-04-12T20:59:32.330Z] Removing intermediate container 933dfa9821a7 [2023-04-12T20:59:32.331Z] ---> 251a9b902da2 [2023-04-12T20:59:32.331Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T20:59:32.591Z] ---> Running in 14edc6f68260 [2023-04-12T20:59:32.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T20:59:32.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T20:59:33.419Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-12T20:59:33.419Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-12T20:59:33.419Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-12T20:59:33.419Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-12T20:59:33.419Z] Executing busybox-1.35.0-r29.trigger [2023-04-12T20:59:33.419Z] OK: 269 MiB in 57 packages [2023-04-12T20:59:33.678Z] Removing intermediate container 14edc6f68260 [2023-04-12T20:59:33.678Z] ---> 9dbd08649b5f [2023-04-12T20:59:33.678Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-12T20:59:33.678Z] ---> Running in 6297ecdeb6c3 [2023-04-12T20:59:33.937Z] Removing intermediate container 6297ecdeb6c3 [2023-04-12T20:59:33.937Z] ---> 20516e5a7548 [2023-04-12T20:59:33.937Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-12T20:59:33.937Z] ---> 1522abf9d216 [2023-04-12T20:59:33.937Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T20:59:33.937Z] ---> Running in 3b2698d1cca0 [2023-04-12T20:59:35.120Z] Still waiting to schedule task [2023-04-12T20:59:35.120Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-12T21:00:06.030Z] Removing intermediate container 3b2698d1cca0 [2023-04-12T21:00:06.031Z] ---> d49f66b61762 [2023-04-12T21:00:06.031Z] Step 11/12 : COPY . . [2023-04-12T21:00:06.031Z] ---> 1df4d07e9d1b [2023-04-12T21:00:06.031Z] Step 12/12 : RUN $MAKE [2023-04-12T21:00:06.031Z] ---> Running in 33fc69b40f29 [2023-04-12T21:00:06.031Z] noop [2023-04-12T21:00:06.031Z] Removing intermediate container 33fc69b40f29 [2023-04-12T21:00:06.031Z] ---> be822488ed07 [2023-04-12T21:00:06.031Z] Successfully built be822488ed07 [2023-04-12T21:00:06.031Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T21:00:06.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T21:00:06.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T21:00:06.640Z] prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container [2023-04-12T21:00:06.670Z] $ 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 [2023-04-12T21:00:06.994Z] $ docker top 8ec4475255b73145311280d6b21afe5219be4e1cad6b1ff11de13005c4f26cb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T21:00:07.395Z] + go version [2023-04-12T21:00:07.395Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-12T21:00:07.425Z] $ docker stop --time=1 8ec4475255b73145311280d6b21afe5219be4e1cad6b1ff11de13005c4f26cb7 [2023-04-12T21:00:08.681Z] $ 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 [2023-04-12T21:00:09.400Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T21:00:09.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T21:00:09.559Z] prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container [2023-04-12T21:00:09.591Z] $ 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 [2023-04-12T21:00:09.913Z] $ docker top a4c7c67ae7c025ead4b2c48d5ef549ef44aefa36f94789644f04e73e4bd7f08b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T21:00:10.306Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-288 [Pipeline] fileExists [Pipeline] sh [2023-04-12T21:00:10.657Z] + make test [2023-04-12T21:00:10.657Z] go test ./... -coverprofile=coverage.out ./... [2023-04-12T21:00:14.844Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-12T21:00:24.807Z] # github.com/edgexfoundry/device-rest-go/cmd [2023-04-12T21:00:24.807Z] 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) [2023-04-12T21:00:24.807Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.0% of statements [2023-04-12T21:00:24.807Z] FAIL [2023-04-12T21:00:24.807Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-04-12T21:00:24.850Z] $ docker stop --time=1 a4c7c67ae7c025ead4b2c48d5ef549ef44aefa36f94789644f04e73e4bd7f08b [2023-04-12T21:00:27.922Z] $ 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 [2023-04-12T21:00:29.068Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T21:00:29.068Z] [2023-04-12T21:00:29.068Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T21:00:29.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T21:00:29.440Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-12T21:00:29.440Z] 5eb5b503b376: Pulling fs layer [2023-04-12T21:00:29.440Z] 5c69ac0246d0: Pulling fs layer [2023-04-12T21:00:29.440Z] ec43610c2a17: Pulling fs layer [2023-04-12T21:00:29.440Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-12T21:00:29.440Z] 33b1e0a273af: Pulling fs layer [2023-04-12T21:00:29.440Z] 5d3b04190fa2: Pulling fs layer [2023-04-12T21:00:29.440Z] 2f39f015ded8: Pulling fs layer [2023-04-12T21:00:29.440Z] 5d3b04190fa2: Waiting [2023-04-12T21:00:29.440Z] 3a2ae6a8a46f: Waiting [2023-04-12T21:00:29.440Z] 2f39f015ded8: Waiting [2023-04-12T21:00:29.440Z] 33b1e0a273af: Waiting [2023-04-12T21:00:29.440Z] 5c69ac0246d0: Verifying Checksum [2023-04-12T21:00:29.440Z] 5c69ac0246d0: Download complete [2023-04-12T21:00:29.440Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-12T21:00:29.440Z] 3a2ae6a8a46f: Download complete [2023-04-12T21:00:29.440Z] 33b1e0a273af: Verifying Checksum [2023-04-12T21:00:29.440Z] 33b1e0a273af: Download complete [2023-04-12T21:00:29.440Z] 5d3b04190fa2: Download complete [2023-04-12T21:00:29.440Z] ec43610c2a17: Download complete [2023-04-12T21:00:29.698Z] 5eb5b503b376: Verifying Checksum [2023-04-12T21:00:29.698Z] 5eb5b503b376: Download complete [2023-04-12T21:00:30.262Z] 2f39f015ded8: Download complete [2023-04-12T21:00:30.521Z] 5eb5b503b376: Pull complete [2023-04-12T21:00:30.780Z] 5c69ac0246d0: Pull complete [2023-04-12T21:00:31.038Z] ec43610c2a17: Pull complete [2023-04-12T21:00:31.038Z] 3a2ae6a8a46f: Pull complete [2023-04-12T21:00:31.297Z] 33b1e0a273af: Pull complete [2023-04-12T21:00:31.297Z] 5d3b04190fa2: Pull complete [2023-04-12T21:00:35.547Z] 2f39f015ded8: Pull complete [2023-04-12T21:00:35.547Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-12T21:00:35.547Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T21:00:35.547Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T21:00:35.825Z] prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container [2023-04-12T21:00:35.911Z] $ 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 [2023-04-12T21:00:39.505Z] $ docker top aed20743ddf4dd767be6cd59b51b7c93c05e1d63521935181a9455cf7fe80b16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:00:39.955Z] ---> job-cost.sh [2023-04-12T21:00:39.955Z] lf-activate-venv: SKIPPING [2023-04-12T21:00:39.955Z] INFO: No Stack... [2023-04-12T21:00:40.215Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T21:00:40.475Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T21:00:40.797Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-288/archives/cost.csv [2023-04-12T21:00:40.797Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T21:00:40.835Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [2023-04-12T21:00:40.840Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] did not exist. Created. [2023-04-12T21:00:40.840Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T21:00:41.240Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-12T21:00:41.295Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T21:00:41.319Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T21:00:41.395Z] $ docker stop --time=1 aed20743ddf4dd767be6cd59b51b7c93c05e1d63521935181a9455cf7fe80b16 [2023-04-12T21:00:42.529Z] $ docker rm -f --volumes aed20743ddf4dd767be6cd59b51b7c93c05e1d63521935181a9455cf7fe80b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-12T21:00:42.948Z] Failed in branch amd64 [2023-04-12T21:01:05.554Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7592 in /w/workspace/gexfoundry_device-rest-go_PR-288 [Pipeline] { [Pipeline] ws [2023-04-12T21:01:05.611Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-12T21:01:05.691Z] The recommended git tool is: git [2023-04-12T21:01:11.009Z] using credential edgex-jenkins-ssh [2023-04-12T21:01:11.029Z] Cloning the remote Git repository [2023-04-12T21:01:11.070Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-12T21:01:11.162Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-12T21:01:11.302Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-12T21:01:11.303Z] > git --version # timeout=10 [2023-04-12T21:01:11.333Z] > git --version # 'git version 2.25.1' [2023-04-12T21:01:11.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T21:01:11.476Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T21:01:13.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-12T21:01:13.380Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T21:01:14.288Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-12T21:01:14.332Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-12T21:01:14.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T21:01:14.351Z] > 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 [2023-04-12T21:01:14.833Z] Merging remotes/origin/main commit 795c3d665a96d2a485aec9c896c7781dae732fba into PR head commit e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [2023-04-12T21:01:15.104Z] Merge succeeded, producing e3325b5d144ea7a5590fb9a4b829210311f8d5c0 [2023-04-12T21:01:15.105Z] Checking out Revision e3325b5d144ea7a5590fb9a4b829210311f8d5c0 (PR-288) [2023-04-12T21:01:15.599Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-12T21:01:15.646Z] > git --version # timeout=10 [2023-04-12T21:01:15.664Z] > git --version # 'git version 2.25.1' [2023-04-12T21:01:15.685Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-12T21:01:14.850Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T21:01:14.919Z] > git checkout -f e3325b5d144ea7a5590fb9a4b829210311f8d5c0 # timeout=10 [2023-04-12T21:01:15.004Z] > git remote # timeout=10 [2023-04-12T21:01:15.022Z] > git config --get remote.origin.url # timeout=10 [2023-04-12T21:01:15.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T21:01:15.062Z] > git merge 795c3d665a96d2a485aec9c896c7781dae732fba # timeout=10 [2023-04-12T21:01:15.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-12T21:01:15.113Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T21:01:15.129Z] > git checkout -f e3325b5d144ea7a5590fb9a4b829210311f8d5c0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T21:01:16.864Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-12T21:01:16.864Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T21:01:16.864Z] Dload Upload Total Spent Left Speed [2023-04-12T21:01:16.864Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-04-12T21:01:17.474Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-12T21:01:17.831Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-12T21:01:17.831Z] + sudo tee /etc/docker/daemon.new [2023-04-12T21:01:17.831Z] { [2023-04-12T21:01:17.831Z] "registry-mirrors": [ [2023-04-12T21:01:17.831Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-12T21:01:17.831Z] ], [2023-04-12T21:01:17.831Z] "bip": "10.250.0.254/24", [2023-04-12T21:01:17.831Z] "hosts": [ [2023-04-12T21:01:17.831Z] "tcp://0.0.0.0:5555", [2023-04-12T21:01:17.831Z] "unix:///var/run/docker.sock" [2023-04-12T21:01:17.831Z] ], [2023-04-12T21:01:17.831Z] "mtu": 1458, [2023-04-12T21:01:17.831Z] "selinux-enabled": true, [2023-04-12T21:01:17.831Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-12T21:01:17.831Z] } [Pipeline] sh [2023-04-12T21:01:18.176Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-12T21:01:18.522Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T21:01:36.845Z] provisioning config files... [2023-04-12T21:01:36.873Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9569555310587040194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:01:37.270Z] ---> docker-login.sh [2023-04-12T21:01:37.271Z] nexus3.edgexfoundry.org:10001 [2023-04-12T21:01:37.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T21:01:37.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T21:01:37.818Z] Configure a credential helper to remove this warning. See [2023-04-12T21:01:37.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T21:01:37.818Z] [2023-04-12T21:01:37.818Z] Login Succeeded [2023-04-12T21:01:37.818Z] nexus3.edgexfoundry.org:10002 [2023-04-12T21:01:38.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T21:01:38.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T21:01:38.359Z] Configure a credential helper to remove this warning. See [2023-04-12T21:01:38.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T21:01:38.359Z] [2023-04-12T21:01:38.359Z] Login Succeeded [2023-04-12T21:01:38.359Z] nexus3.edgexfoundry.org:10003 [2023-04-12T21:01:38.359Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T21:01:38.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T21:01:38.631Z] Configure a credential helper to remove this warning. See [2023-04-12T21:01:38.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T21:01:38.631Z] [2023-04-12T21:01:38.631Z] Login Succeeded [2023-04-12T21:01:38.631Z] nexus3.edgexfoundry.org:10004 [2023-04-12T21:01:38.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T21:01:38.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T21:01:38.904Z] Configure a credential helper to remove this warning. See [2023-04-12T21:01:38.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T21:01:38.904Z] [2023-04-12T21:01:38.904Z] Login Succeeded [2023-04-12T21:01:38.904Z] docker.io [2023-04-12T21:01:39.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T21:01:39.443Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T21:01:39.443Z] Configure a credential helper to remove this warning. See [2023-04-12T21:01:39.443Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T21:01:39.443Z] [2023-04-12T21:01:39.443Z] Login Succeeded [2023-04-12T21:01:39.443Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T21:01:39.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T21:01:39.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T21:01:39.901Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T21:01:39.934Z] ========================================================= [2023-04-12T21:01:39.934Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-12T21:01:39.934Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T21:01:40.445Z] + 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-12T21:01:40.445Z] Sending build context to Docker daemon 137.2kB [2023-04-12T21:01:40.715Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T21:01:40.715Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-12T21:01:44.076Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-12T21:01:44.076Z] af6eaf76a39c: Pulling fs layer [2023-04-12T21:01:44.076Z] 55522c791124: Pulling fs layer [2023-04-12T21:01:44.076Z] ce5c4a1c91eb: Pulling fs layer [2023-04-12T21:01:44.076Z] 169dfbe0d373: Pulling fs layer [2023-04-12T21:01:44.076Z] e1ff8fa3b103: Pulling fs layer [2023-04-12T21:01:44.076Z] 52ebb69f0ebf: Pulling fs layer [2023-04-12T21:01:44.076Z] 5abe8eddf0d5: Pulling fs layer [2023-04-12T21:01:44.076Z] e1ff8fa3b103: Waiting [2023-04-12T21:01:44.076Z] 169dfbe0d373: Waiting [2023-04-12T21:01:44.076Z] 52ebb69f0ebf: Waiting [2023-04-12T21:01:44.076Z] 55522c791124: Verifying Checksum [2023-04-12T21:01:44.076Z] 55522c791124: Download complete [2023-04-12T21:01:44.076Z] 169dfbe0d373: Verifying Checksum [2023-04-12T21:01:44.076Z] 169dfbe0d373: Download complete [2023-04-12T21:01:44.076Z] e1ff8fa3b103: Verifying Checksum [2023-04-12T21:01:44.076Z] e1ff8fa3b103: Download complete [2023-04-12T21:01:44.076Z] af6eaf76a39c: Verifying Checksum [2023-04-12T21:01:44.076Z] af6eaf76a39c: Download complete [2023-04-12T21:01:45.048Z] af6eaf76a39c: Pull complete [2023-04-12T21:01:45.048Z] 5abe8eddf0d5: Verifying Checksum [2023-04-12T21:01:45.048Z] 5abe8eddf0d5: Download complete [2023-04-12T21:01:45.642Z] 55522c791124: Pull complete [2023-04-12T21:01:46.614Z] 52ebb69f0ebf: Verifying Checksum [2023-04-12T21:01:46.614Z] 52ebb69f0ebf: Download complete [2023-04-12T21:01:46.614Z] ce5c4a1c91eb: Verifying Checksum [2023-04-12T21:01:46.614Z] ce5c4a1c91eb: Download complete [2023-04-12T21:01:59.071Z] ce5c4a1c91eb: Pull complete [2023-04-12T21:01:59.071Z] 169dfbe0d373: Pull complete [2023-04-12T21:01:59.071Z] e1ff8fa3b103: Pull complete [2023-04-12T21:02:05.743Z] 52ebb69f0ebf: Pull complete [2023-04-12T21:02:06.708Z] 5abe8eddf0d5: Pull complete [2023-04-12T21:02:06.708Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-12T21:02:06.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-12T21:02:06.708Z] ---> 6cb57ee374ae [2023-04-12T21:02:06.708Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-12T21:02:08.672Z] ---> Running in 6ca4829485a9 [2023-04-12T21:02:08.673Z] Removing intermediate container 6ca4829485a9 [2023-04-12T21:02:08.673Z] ---> f5840d904e31 [2023-04-12T21:02:08.673Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T21:02:08.673Z] ---> Running in deb58f4538d0 [2023-04-12T21:02:09.258Z] Removing intermediate container deb58f4538d0 [2023-04-12T21:02:09.259Z] ---> 63d13e0e56cb [2023-04-12T21:02:09.259Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-12T21:02:09.259Z] ---> Running in 9cbbff889f5b [2023-04-12T21:02:09.527Z] Removing intermediate container 9cbbff889f5b [2023-04-12T21:02:09.527Z] ---> 1e1fd99f8783 [2023-04-12T21:02:09.527Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T21:02:09.527Z] ---> Running in 9f27e9c7b273 [2023-04-12T21:02:09.796Z] Removing intermediate container 9f27e9c7b273 [2023-04-12T21:02:09.796Z] ---> 6b4eda336045 [2023-04-12T21:02:09.796Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T21:02:10.064Z] ---> Running in 1959baba1467 [2023-04-12T21:02:11.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T21:02:11.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T21:02:12.592Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-12T21:02:12.592Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-12T21:02:12.592Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-12T21:02:12.592Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-12T21:02:12.592Z] Executing busybox-1.35.0-r29.trigger [2023-04-12T21:02:12.861Z] OK: 268 MiB in 57 packages [2023-04-12T21:02:13.827Z] Removing intermediate container 1959baba1467 [2023-04-12T21:02:13.827Z] ---> ed13c78c8c95 [2023-04-12T21:02:13.827Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-12T21:02:13.827Z] ---> Running in 83977ba07bbc [2023-04-12T21:02:14.097Z] Removing intermediate container 83977ba07bbc [2023-04-12T21:02:14.097Z] ---> 3271f9b8c7a6 [2023-04-12T21:02:14.097Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-12T21:02:14.697Z] ---> 930ac3538bb8 [2023-04-12T21:02:14.697Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T21:02:14.697Z] ---> Running in cacecb1228de [2023-04-12T21:03:36.367Z] Removing intermediate container cacecb1228de [2023-04-12T21:03:36.367Z] ---> cca59b9b190c [2023-04-12T21:03:36.367Z] Step 11/12 : COPY . . [2023-04-12T21:03:36.367Z] ---> 583eccd4553f [2023-04-12T21:03:36.367Z] Step 12/12 : RUN $MAKE [2023-04-12T21:03:36.367Z] ---> Running in ec05d5c0aa61 [2023-04-12T21:03:36.367Z] noop [2023-04-12T21:03:36.367Z] Removing intermediate container ec05d5c0aa61 [2023-04-12T21:03:36.367Z] ---> 40013c19b97d [2023-04-12T21:03:36.367Z] Successfully built 40013c19b97d [2023-04-12T21:03:36.367Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T21:03:36.854Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T21:03:36.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T21:03:37.133Z] prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container [2023-04-12T21:03:37.201Z] $ 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-12T21:03:38.390Z] $ docker top 2a21efc181ea752e895c2b33818fbdca1e670828bc58db54c9c6ac5479ac1e2f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T21:03:39.254Z] + go version [2023-04-12T21:03:39.254Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-12T21:03:39.294Z] $ docker stop --time=1 2a21efc181ea752e895c2b33818fbdca1e670828bc58db54c9c6ac5479ac1e2f [2023-04-12T21:03:42.148Z] $ 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 [2023-04-12T21:03:42.986Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T21:03:42.986Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T21:03:43.237Z] prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container [2023-04-12T21:03:43.301Z] $ 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-12T21:03:44.438Z] $ docker top 88a8feecd60df363741d122f03eb9bda8c8c5fb1c0688e004b3e55982db5a212 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T21:03:44.985Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-12T21:03:45.510Z] + make test [2023-04-12T21:03:45.510Z] go test ./... -coverprofile=coverage.out ./... [2023-04-12T21:04:17.808Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-12T21:06:09.530Z] # github.com/edgexfoundry/device-rest-go/cmd [2023-04-12T21:06:09.530Z] 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) [2023-04-12T21:06:16.198Z] ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 33.0% of statements [2023-04-12T21:06:16.198Z] FAIL [2023-04-12T21:06:16.198Z] make: *** [Makefile:29: unittest] Error 1 [Pipeline] } [2023-04-12T21:06:16.245Z] $ docker stop --time=1 88a8feecd60df363741d122f03eb9bda8c8c5fb1c0688e004b3e55982db5a212 [2023-04-12T21:06:18.431Z] $ 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 [2023-04-12T21:06:20.133Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T21:06:20.133Z] [2023-04-12T21:06:20.133Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T21:06:20.554Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T21:06:20.820Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-12T21:06:20.820Z] 8998bd30e6a1: Pulling fs layer [2023-04-12T21:06:20.820Z] 04944245beec: Pulling fs layer [2023-04-12T21:06:20.820Z] 699f458cf7ca: Pulling fs layer [2023-04-12T21:06:20.820Z] 765212b225bb: Pulling fs layer [2023-04-12T21:06:20.820Z] f23df028b6ca: Pulling fs layer [2023-04-12T21:06:20.820Z] d65c8cfc05b1: Pulling fs layer [2023-04-12T21:06:20.820Z] 2437ff75d9bd: Pulling fs layer [2023-04-12T21:06:20.820Z] 765212b225bb: Waiting [2023-04-12T21:06:20.820Z] d65c8cfc05b1: Waiting [2023-04-12T21:06:20.820Z] f23df028b6ca: Waiting [2023-04-12T21:06:20.820Z] 2437ff75d9bd: Waiting [2023-04-12T21:06:20.820Z] 04944245beec: Verifying Checksum [2023-04-12T21:06:20.820Z] 04944245beec: Download complete [2023-04-12T21:06:20.820Z] 765212b225bb: Verifying Checksum [2023-04-12T21:06:20.820Z] 765212b225bb: Download complete [2023-04-12T21:06:21.087Z] f23df028b6ca: Download complete [2023-04-12T21:06:21.087Z] d65c8cfc05b1: Download complete [2023-04-12T21:06:21.087Z] 699f458cf7ca: Verifying Checksum [2023-04-12T21:06:21.087Z] 699f458cf7ca: Download complete [2023-04-12T21:06:21.673Z] 8998bd30e6a1: Verifying Checksum [2023-04-12T21:06:21.673Z] 8998bd30e6a1: Download complete [2023-04-12T21:06:24.251Z] 2437ff75d9bd: Verifying Checksum [2023-04-12T21:06:24.251Z] 2437ff75d9bd: Download complete [2023-04-12T21:06:26.835Z] 8998bd30e6a1: Pull complete [2023-04-12T21:06:27.796Z] 04944245beec: Pull complete [2023-04-12T21:06:30.382Z] 699f458cf7ca: Pull complete [2023-04-12T21:06:30.649Z] 765212b225bb: Pull complete [2023-04-12T21:06:32.057Z] f23df028b6ca: Pull complete [2023-04-12T21:06:32.644Z] d65c8cfc05b1: Pull complete [2023-04-12T21:06:50.861Z] 2437ff75d9bd: Pull complete [2023-04-12T21:06:50.861Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-12T21:06:50.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T21:06:50.861Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T21:06:51.182Z] prd-ubuntu20.04-docker-arm64-4c-16g-7592 does not seem to be running inside a container [2023-04-12T21:06:51.249Z] $ 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-12T21:06:53.432Z] $ docker top 49a8da2a1f61ecd61f6b86553c5084f1b87a8ebb4727c9b4a2466390b7be1bec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:06:54.319Z] ---> job-cost.sh [2023-04-12T21:06:54.319Z] lf-activate-venv: SKIPPING [2023-04-12T21:06:54.319Z] INFO: No Stack... [2023-04-12T21:06:54.899Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-12T21:06:55.480Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T21:06:55.823Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-12T21:06:55.823Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T21:06:56.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [2023-04-12T21:06:56.181Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] did not exist. Created. [2023-04-12T21:06:56.182Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T21:06:56.909Z] /w/workspace/device-rest-go/1@tmp/durable-4b66f501/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-12T21:06:57.581Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-12T21:06:57.616Z] Warning: overwriting stash ‘stack-cost’ [2023-04-12T21:06:58.005Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T21:06:58.022Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-288-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T21:06:58.106Z] $ docker stop --time=1 49a8da2a1f61ecd61f6b86553c5084f1b87a8ebb4727c9b4a2466390b7be1bec [2023-04-12T21:07:01.169Z] $ 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] } [2023-04-12T21:07:01.942Z] 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-12T21:07:03.957Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-288/archives ] [2023-04-12T21:07:03.957Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-288/archives [2023-04-12T21:07:03.957Z] total 16 [2023-04-12T21:07:03.957Z] drwxr-xr-x 3 root root 4096 Apr 12 21:00 . [2023-04-12T21:07:03.957Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 21:00 .. [2023-04-12T21:07:03.957Z] drwxr-xr-x 2 root root 4096 Apr 12 21:00 cost [2023-04-12T21:07:03.957Z] -rw-r--r-- 1 root root 86 Apr 12 21:00 cost.csv [2023-04-12T21:07:03.957Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-288/archives [2023-04-12T21:07:03.957Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-288/archives [2023-04-12T21:07:03.957Z] total 16 [2023-04-12T21:07:03.957Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 21:00 . [2023-04-12T21:07:03.957Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 21:00 .. [2023-04-12T21:07:03.957Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 21:00 cost [2023-04-12T21:07:03.957Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 12 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:07:04.287Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:07:05.175Z] ---> package-listing.sh [2023-04-12T21:07:05.175Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-12T21:07:05.175Z] ++ facter osfamily [2023-04-12T21:07:05.435Z] + OS_FAMILY=debian [2023-04-12T21:07:05.435Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-288 [2023-04-12T21:07:05.435Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-12T21:07:05.435Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-12T21:07:05.435Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-12T21:07:05.435Z] + PACKAGES=/tmp/packages_start.txt [2023-04-12T21:07:05.435Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-288 ']' [2023-04-12T21:07:05.435Z] + PACKAGES=/tmp/packages_end.txt [2023-04-12T21:07:05.435Z] + case "${OS_FAMILY}" in [2023-04-12T21:07:05.435Z] + dpkg -l [2023-04-12T21:07:05.435Z] + grep '^ii' [2023-04-12T21:07:05.435Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-12T21:07:05.435Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-12T21:07:05.435Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-12T21:07:05.435Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-288 ']' [2023-04-12T21:07:05.435Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-288/archives/ [2023-04-12T21:07:05.435Z] + 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 [2023-04-12T21:07:05.475Z] 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 [2023-04-12T21:07:05.768Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T21:07:06.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T21:07:06.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T21:07:06.552Z] prd-ubuntu20.04-docker-8c-8g-7591 does not seem to be running inside a container [2023-04-12T21:07:06.580Z] $ 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 [2023-04-12T21:07:06.787Z] $ docker top 58f4208519fd9d693b0ae2c56d0035a2f84dec128724b3ac9a3053fea4b1ef43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T21:07:07.175Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-12T21:07:07.489Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-12T21:07:07.798Z] + ls /var/log/sa-host [2023-04-12T21:07:07.799Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T21:07:08.017Z] provisioning config files... [2023-04-12T21:07:08.029Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-288@tmp/config18217456298615290525tmp [Pipeline] { [Pipeline] echo [2023-04-12T21:07:08.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:07:08.393Z] ---> create-netrc.sh [Pipeline] } [2023-04-12T21:07:08.419Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:07:08.819Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-12T21:07:08.852Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:07:09.159Z] ---> sudo-logs.sh [2023-04-12T21:07:09.159Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-12T21:07:09.242Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:07:09.545Z] ---> job-cost.sh [2023-04-12T21:07:09.545Z] lf-activate-venv: SKIPPING [2023-04-12T21:07:09.545Z] DEBUG: total: 0.2199999988079071 [2023-04-12T21:07:09.545Z] INFO: Retrieving Stack Cost... [2023-04-12T21:07:09.804Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T21:07:10.063Z] INFO: Archiving Costs [Pipeline] echo [2023-04-12T21:07:10.096Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T21:07:10.411Z] ---> logs-deploy.sh [2023-04-12T21:07:10.411Z] lf-activate-venv: SKIPPING [2023-04-12T21:07:10.411Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-288/1 [2023-04-12T21:07:10.411Z] INFO: archiving workspace using pattern(s): [2023-04-12T21:07:11.350Z] Archives upload complete. [2023-04-12T21:07:11.350Z] INFO: archiving logs to Nexus