Pull request #325 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c9820f08da888540b5b60248d7b6306d0c495dec+55c123e92a81b52ef904480be8a3eb69bc416b29 (662f797207277693516fb3d478775b5dbabbde86) 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-ssh13721240038392276325.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh10043479307382821880.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-325/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-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10015172260910245342.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-325/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12351777057063430491.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh12625799951567743369.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-325/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-325/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14170636423513376915.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 ‘prd-ubuntu20.04-docker-8c-8g-16818’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16828’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-16822’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-16826’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16829 in /w/workspace/gexfoundry_device-rest-go_PR-325 [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-325 # 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 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit c9820f08da888540b5b60248d7b6306d0c495dec Merge succeeded, producing c9820f08da888540b5b60248d7b6306d0c495dec Checking out Revision c9820f08da888540b5b60248d7b6306d0c495dec (PR-325) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd > 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/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9820f08da888540b5b60248d7b6306d0c495dec # 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 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9820f08da888540b5b60248d7b6306d0c495dec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-24T23:53:56.997Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-24T23:53:57.186Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-24T23:53:57.279Z] ========================================================= [2023-05-24T23:53:57.279Z] EdgeX Global Pipelines Version Info [2023-05-24T23:53:57.279Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-24T23:53:58.012Z] ------------------- [2023-05-24T23:53:58.012Z] stable info: [2023-05-24T23:53:58.012Z] ------------------- [2023-05-24T23:53:58.012Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-24T23:53:58.012Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T23:53:58.012Z] Message: update stable to v1.0.249 [2023-05-24T23:53:58.581Z] ------------------- [2023-05-24T23:53:58.581Z] experimental info: [2023-05-24T23:53:58.581Z] ------------------- [2023-05-24T23:53:58.581Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-24T23:53:58.581Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-24T23:53:58.581Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-24T23:53:58.864Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-24T23:53:58.903Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-24T23:53:58.948Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-24T23:53:58.989Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-24T23:53:59.029Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-24T23:53:59.072Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-24T23:53:59.116Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-24T23:53:59.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-24T23:53:59.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-24T23:53:59.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-24T23:53:59.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-24T23:53:59.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-24T23:53:59.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-24T23:53:59.390Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-24T23:53:59.433Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T23:53:59.474Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-24T23:53:59.515Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T23:53:59.552Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-24T23:53:59.593Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-24T23:53:59.638Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-24T23:53:59.682Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-24T23:53:59.725Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-24T23:53:59.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-24T23:53:59.797Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-24T23:53:59.833Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-24T23:53:59.869Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-24T23:53:59.905Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-24T23:53:59.942Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-325 [Pipeline] echo [2023-05-24T23:53:59.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-325 [Pipeline] echo [2023-05-24T23:54:00.029Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-325 [Pipeline] echo [2023-05-24T23:54:00.073Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] echo [2023-05-24T23:54:00.117Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9820f0 [Pipeline] echo [2023-05-24T23:54:00.160Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T23:54:00.278Z] provisioning config files... [2023-05-24T23:54:00.309Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/config18334816333197914179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T23:54:00.646Z] ---> docker-login.sh [2023-05-24T23:54:00.646Z] nexus3.edgexfoundry.org:10001 [2023-05-24T23:54:00.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:00.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:00.909Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:00.909Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:00.909Z] [2023-05-24T23:54:00.909Z] Login Succeeded [2023-05-24T23:54:00.909Z] nexus3.edgexfoundry.org:10002 [2023-05-24T23:54:01.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:01.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:01.172Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:01.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:01.172Z] [2023-05-24T23:54:01.172Z] Login Succeeded [2023-05-24T23:54:01.172Z] nexus3.edgexfoundry.org:10003 [2023-05-24T23:54:01.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:01.172Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:01.172Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:01.172Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:01.172Z] [2023-05-24T23:54:01.172Z] Login Succeeded [2023-05-24T23:54:01.172Z] nexus3.edgexfoundry.org:10004 [2023-05-24T23:54:01.172Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:01.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:01.431Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:01.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:01.431Z] [2023-05-24T23:54:01.431Z] Login Succeeded [2023-05-24T23:54:01.431Z] docker.io [2023-05-24T23:54:01.431Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:01.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:01.692Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:01.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:01.692Z] [2023-05-24T23:54:01.692Z] Login Succeeded [2023-05-24T23:54:01.692Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T23:54:01.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-24T23:54:02.327Z] + git rev-list -1 --merges c9820f08da888540b5b60248d7b6306d0c495dec~1..c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] echo [2023-05-24T23:54:02.359Z] -----------> git rev-list -1 --merges c9820f08da888540b5b60248d7b6306d0c495dec~1..c9820f08da888540b5b60248d7b6306d0c495dec c9820f08da888540b5b60248d7b6306d0c495dec [false] [Pipeline] sh [2023-05-24T23:54:02.668Z] + git log --format=format:%s -1 c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] echo [2023-05-24T23:54:02.698Z] ========================================================= [2023-05-24T23:54:02.698Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-24T23:54:02.698Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T23:54:03.128Z] + git log --format=format:%s -1 c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] echo [2023-05-24T23:54:03.158Z] [semverPrep] GIT_COMMIT: c9820f08da888540b5b60248d7b6306d0c495dec, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-24T23:54:03.185Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-24T23:54:03.551Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-24T23:54:03.551Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-24T23:54:03.551Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-24T23:54:03.551Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-24T23:54:03.551Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-24T23:54:03.551Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-24T23:54:03.551Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:54:03.993Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T23:54:03.993Z] [2023-05-24T23:54:03.993Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:54:04.372Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T23:54:04.372Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-24T23:54:04.372Z] b85a868b505f: Pulling fs layer [2023-05-24T23:54:04.372Z] e2be974225ed: Pulling fs layer [2023-05-24T23:54:04.372Z] 339a4e72a1f5: Pulling fs layer [2023-05-24T23:54:04.372Z] 988bab9f4d93: Pulling fs layer [2023-05-24T23:54:04.372Z] 1469e6f7b9e6: Pulling fs layer [2023-05-24T23:54:04.372Z] eaf3925da568: Pulling fs layer [2023-05-24T23:54:04.372Z] bab4dde63d76: Pulling fs layer [2023-05-24T23:54:04.372Z] bde34c3a00c8: Pulling fs layer [2023-05-24T23:54:04.372Z] b352a97aabf1: Pulling fs layer [2023-05-24T23:54:04.372Z] 4872d77fe225: Pulling fs layer [2023-05-24T23:54:04.372Z] 5851b861e8e6: Pulling fs layer [2023-05-24T23:54:04.372Z] 1469e6f7b9e6: Waiting [2023-05-24T23:54:04.372Z] bde34c3a00c8: Waiting [2023-05-24T23:54:04.372Z] eaf3925da568: Waiting [2023-05-24T23:54:04.372Z] bab4dde63d76: Waiting [2023-05-24T23:54:04.372Z] b352a97aabf1: Waiting [2023-05-24T23:54:04.372Z] 4872d77fe225: Waiting [2023-05-24T23:54:04.372Z] 5851b861e8e6: Waiting [2023-05-24T23:54:04.372Z] e2be974225ed: Verifying Checksum [2023-05-24T23:54:04.372Z] e2be974225ed: Download complete [2023-05-24T23:54:04.372Z] 988bab9f4d93: Verifying Checksum [2023-05-24T23:54:04.372Z] 988bab9f4d93: Download complete [2023-05-24T23:54:04.372Z] 339a4e72a1f5: Verifying Checksum [2023-05-24T23:54:04.372Z] 339a4e72a1f5: Download complete [2023-05-24T23:54:04.638Z] 1469e6f7b9e6: Verifying Checksum [2023-05-24T23:54:04.638Z] eaf3925da568: Verifying Checksum [2023-05-24T23:54:04.638Z] eaf3925da568: Download complete [2023-05-24T23:54:04.638Z] bde34c3a00c8: Download complete [2023-05-24T23:54:04.638Z] b352a97aabf1: Download complete [2023-05-24T23:54:04.638Z] 4872d77fe225: Verifying Checksum [2023-05-24T23:54:04.638Z] 4872d77fe225: Download complete [2023-05-24T23:54:04.638Z] 5851b861e8e6: Verifying Checksum [2023-05-24T23:54:04.638Z] 5851b861e8e6: Download complete [2023-05-24T23:54:04.638Z] b85a868b505f: Verifying Checksum [2023-05-24T23:54:04.638Z] b85a868b505f: Download complete [2023-05-24T23:54:04.902Z] bab4dde63d76: Verifying Checksum [2023-05-24T23:54:04.902Z] bab4dde63d76: Download complete [2023-05-24T23:54:06.811Z] b85a868b505f: Pull complete [2023-05-24T23:54:06.811Z] e2be974225ed: Pull complete [2023-05-24T23:54:06.811Z] 339a4e72a1f5: Pull complete [2023-05-24T23:54:06.811Z] 988bab9f4d93: Pull complete [2023-05-24T23:54:06.811Z] 1469e6f7b9e6: Pull complete [2023-05-24T23:54:06.811Z] eaf3925da568: Pull complete [2023-05-24T23:54:08.717Z] bab4dde63d76: Pull complete [2023-05-24T23:54:08.717Z] bde34c3a00c8: Pull complete [2023-05-24T23:54:08.717Z] b352a97aabf1: Pull complete [2023-05-24T23:54:08.717Z] 4872d77fe225: Pull complete [2023-05-24T23:54:08.975Z] 5851b861e8e6: Pull complete [2023-05-24T23:54:08.975Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-24T23:54:08.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-24T23:54:08.975Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T23:54:09.195Z] prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container [2023-05-24T23:54:09.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@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-05-24T23:54:13.917Z] $ docker top 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 -eo pid,comm [2023-05-24T23:54:13.972Z] 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-05-24T23:54:13.972Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-24T23:54:14.126Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T23:54:14.126Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T23:54:14.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T23:54:14.243Z] $ docker exec 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 ssh-agent [2023-05-24T23:54:14.362Z] SSH_AUTH_SOCK=/tmp/ssh-5z3lIWHXjQCw/agent.33 [2023-05-24T23:54:14.362Z] SSH_AGENT_PID=39 [2023-05-24T23:54:14.369Z] Running ssh-add (command line suppressed) [2023-05-24T23:54:14.458Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-325@tmp/private_key_10116188383656133764.key (/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/private_key_10116188383656133764.key) [2023-05-24T23:54:14.474Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T23:54:14.814Z] + git tag --points-at HEAD [Pipeline] } [2023-05-24T23:54:14.835Z] $ docker exec --env ******** --env ******** 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 ssh-agent -k [2023-05-24T23:54:14.922Z] unset SSH_AUTH_SOCK; [2023-05-24T23:54:14.923Z] unset SSH_AGENT_PID; [2023-05-24T23:54:14.923Z] echo Agent pid 39 killed; [2023-05-24T23:54:14.932Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-24T23:54:15.018Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-24T23:54:15.018Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-24T23:54:15.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-24T23:54:15.114Z] $ docker exec 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 ssh-agent [2023-05-24T23:54:15.230Z] SSH_AUTH_SOCK=/tmp/ssh-itv7y3MPjxzx/agent.72 [2023-05-24T23:54:15.230Z] SSH_AGENT_PID=79 [2023-05-24T23:54:15.235Z] Running ssh-add (command line suppressed) [2023-05-24T23:54:15.334Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-325@tmp/private_key_4128922416604248444.key (/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/private_key_4128922416604248444.key) [2023-05-24T23:54:15.349Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-24T23:54:15.672Z] + git semver init [2023-05-24T23:54:15.932Z] 2023-05-24 23:54:15,853 [run_init] DEBUG init version:0.0.0 force:False [2023-05-24T23:54:15.932Z] 2023-05-24 23:54:15,853 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-325/.semver [2023-05-24T23:54:15.932Z] 2023-05-24 23:54:15,854 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-325/.semver [2023-05-24T23:54:15.932Z] 2023-05-24 23:54:15,854 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-325/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-325, universal_newlines=False, shell=None, istream=None) [2023-05-24T23:54:16.883Z] 2023-05-24 23:54:16,878 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-325/.git/info/exclude [2023-05-24T23:54:16.883Z] 2023-05-24 23:54:16,879 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-325/.semver/PR-325 with force:False [2023-05-24T23:54:16.883Z] 2023-05-24 23:54:16,879 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-325/.semver/PR-325 [2023-05-24T23:54:17.142Z] 2023-05-24 23:54:16,883 [execute] INFO git cat-file --batch-check [2023-05-24T23:54:17.142Z] 2023-05-24 23:54:16,884 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-325/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T23:54:17.142Z] 2023-05-24 23:54:16,891 [execute] INFO git cat-file --batch [2023-05-24T23:54:17.142Z] 2023-05-24 23:54:16,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-325/.semver, universal_newlines=False, shell=None, istream=) [2023-05-24T23:54:17.142Z] 2023-05-24 23:54:16,896 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-325/.semver/PR-325 [2023-05-24T23:54:17.142Z] 0.0.0 [Pipeline] } [2023-05-24T23:54:17.167Z] $ docker exec --env ******** --env ******** 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 ssh-agent -k [2023-05-24T23:54:17.253Z] unset SSH_AUTH_SOCK; [2023-05-24T23:54:17.253Z] unset SSH_AGENT_PID; [2023-05-24T23:54:17.253Z] echo Agent pid 79 killed; [2023-05-24T23:54:17.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-24T23:54:17.685Z] + git semver [Pipeline] } [2023-05-24T23:54:17.966Z] $ docker stop --time=1 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 [2023-05-24T23:54:19.288Z] $ docker rm -f --volumes 7055b67b1390994c236b9c5a8e9998fb2b44cb34eadf2598ae5cdd6d16ec9f35 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T23:54:19.677Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-24T23:54:19.933Z] Stashed 1 file(s) [Pipeline] echo [2023-05-24T23:54:19.951Z] [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-05-24T23:54:20.556Z] provisioning config files... [2023-05-24T23:54:20.566Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/config15797519490921978977tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T23:54:20.904Z] ---> docker-login.sh [2023-05-24T23:54:20.904Z] nexus3.edgexfoundry.org:10001 [2023-05-24T23:54:20.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:20.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:20.904Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:20.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:20.904Z] [2023-05-24T23:54:20.904Z] Login Succeeded [2023-05-24T23:54:20.904Z] nexus3.edgexfoundry.org:10002 [2023-05-24T23:54:20.904Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:20.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:20.904Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:20.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:20.904Z] [2023-05-24T23:54:20.904Z] Login Succeeded [2023-05-24T23:54:20.904Z] nexus3.edgexfoundry.org:10003 [2023-05-24T23:54:21.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:21.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:21.165Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:21.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:21.165Z] [2023-05-24T23:54:21.165Z] Login Succeeded [2023-05-24T23:54:21.165Z] nexus3.edgexfoundry.org:10004 [2023-05-24T23:54:21.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:21.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:21.165Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:21.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:21.165Z] [2023-05-24T23:54:21.165Z] Login Succeeded [2023-05-24T23:54:21.165Z] docker.io [2023-05-24T23:54:21.165Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:54:21.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:54:21.425Z] Configure a credential helper to remove this warning. See [2023-05-24T23:54:21.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:54:21.425Z] [2023-05-24T23:54:21.425Z] Login Succeeded [2023-05-24T23:54:21.425Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T23:54:21.454Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T23:54:21.648Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T23:54:21.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T23:54:21.716Z] ========================================================= [2023-05-24T23:54:21.716Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-24T23:54:21.716Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:54:22.207Z] + 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-05-24T23:54:22.207Z] Sending build context to Docker daemon 10.94MB [2023-05-24T23:54:22.207Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T23:54:22.207Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-24T23:54:22.207Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-24T23:54:22.207Z] f56be85fc22e: Pulling fs layer [2023-05-24T23:54:22.207Z] 85791d961cd3: Pulling fs layer [2023-05-24T23:54:22.208Z] d694b5ae8c79: Pulling fs layer [2023-05-24T23:54:22.208Z] 9f32a84ed3da: Pulling fs layer [2023-05-24T23:54:22.208Z] 4d19c01a9841: Pulling fs layer [2023-05-24T23:54:22.208Z] 9325e15d5711: Pulling fs layer [2023-05-24T23:54:22.208Z] 556b6ee489ea: Pulling fs layer [2023-05-24T23:54:22.208Z] c5a4b2cf53e6: Pulling fs layer [2023-05-24T23:54:22.208Z] 9f32a84ed3da: Waiting [2023-05-24T23:54:22.208Z] 4d19c01a9841: Waiting [2023-05-24T23:54:22.208Z] 556b6ee489ea: Waiting [2023-05-24T23:54:22.208Z] 9325e15d5711: Waiting [2023-05-24T23:54:22.208Z] c5a4b2cf53e6: Waiting [2023-05-24T23:54:22.208Z] 85791d961cd3: Download complete [2023-05-24T23:54:22.469Z] 9f32a84ed3da: Download complete [2023-05-24T23:54:22.469Z] 4d19c01a9841: Verifying Checksum [2023-05-24T23:54:22.469Z] 4d19c01a9841: Download complete [2023-05-24T23:54:22.469Z] f56be85fc22e: Download complete [2023-05-24T23:54:22.469Z] 9325e15d5711: Verifying Checksum [2023-05-24T23:54:22.469Z] f56be85fc22e: Pull complete [2023-05-24T23:54:22.729Z] 85791d961cd3: Pull complete [2023-05-24T23:54:22.986Z] c5a4b2cf53e6: Verifying Checksum [2023-05-24T23:54:22.986Z] c5a4b2cf53e6: Download complete [2023-05-24T23:54:22.986Z] d694b5ae8c79: Verifying Checksum [2023-05-24T23:54:22.986Z] d694b5ae8c79: Download complete [2023-05-24T23:54:23.245Z] 556b6ee489ea: Verifying Checksum [2023-05-24T23:54:23.245Z] 556b6ee489ea: Download complete [2023-05-24T23:54:26.526Z] d694b5ae8c79: Pull complete [2023-05-24T23:54:26.526Z] 9f32a84ed3da: Pull complete [2023-05-24T23:54:26.526Z] 4d19c01a9841: Pull complete [2023-05-24T23:54:26.526Z] 9325e15d5711: Pull complete [2023-05-24T23:54:29.058Z] 556b6ee489ea: Pull complete [2023-05-24T23:54:29.626Z] c5a4b2cf53e6: Pull complete [2023-05-24T23:54:29.626Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-24T23:54:29.626Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-24T23:54:29.626Z] ---> c4be618373d6 [2023-05-24T23:54:29.626Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-24T23:54:35.376Z] Still waiting to schedule task [2023-05-24T23:54:35.376Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-24T23:54:36.198Z] ---> Running in 22e8b6e0cbc1 [2023-05-24T23:54:36.198Z] Removing intermediate container 22e8b6e0cbc1 [2023-05-24T23:54:36.198Z] ---> c1bcb003f048 [2023-05-24T23:54:36.198Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-24T23:54:36.198Z] ---> Running in cf62551cb288 [2023-05-24T23:54:36.198Z] Removing intermediate container cf62551cb288 [2023-05-24T23:54:36.198Z] ---> 6b15bcac05c9 [2023-05-24T23:54:36.198Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-24T23:54:36.198Z] ---> Running in b4512fa031aa [2023-05-24T23:54:36.198Z] Removing intermediate container b4512fa031aa [2023-05-24T23:54:36.198Z] ---> af3778b25581 [2023-05-24T23:54:36.198Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-24T23:54:36.198Z] ---> Running in ae2427176cb2 [2023-05-24T23:54:36.198Z] Removing intermediate container ae2427176cb2 [2023-05-24T23:54:36.198Z] ---> 8eee26be4dbb [2023-05-24T23:54:36.198Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-24T23:54:36.198Z] ---> Running in 65d7c2d910d1 [2023-05-24T23:54:36.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T23:54:36.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T23:54:36.198Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-24T23:54:36.198Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-24T23:54:36.198Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-24T23:54:36.198Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-24T23:54:36.198Z] Executing busybox-1.35.0-r29.trigger [2023-05-24T23:54:36.198Z] OK: 269 MiB in 57 packages [2023-05-24T23:54:36.766Z] Removing intermediate container 65d7c2d910d1 [2023-05-24T23:54:36.766Z] ---> 34c235f81d78 [2023-05-24T23:54:36.766Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-24T23:54:36.766Z] ---> Running in d5a41c54dc27 [2023-05-24T23:54:36.766Z] Removing intermediate container d5a41c54dc27 [2023-05-24T23:54:36.766Z] ---> af6a04dcdf90 [2023-05-24T23:54:36.766Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-24T23:54:36.767Z] ---> 8da9ca96ac64 [2023-05-24T23:54:36.767Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T23:54:37.026Z] ---> Running in effb26e90558 [2023-05-24T23:55:09.127Z] Removing intermediate container effb26e90558 [2023-05-24T23:55:09.127Z] ---> c9b00fc67496 [2023-05-24T23:55:09.127Z] Step 11/12 : COPY . . [2023-05-24T23:55:09.127Z] ---> ef71158f9ead [2023-05-24T23:55:09.127Z] Step 12/12 : RUN $MAKE [2023-05-24T23:55:09.127Z] ---> Running in f3fc9ff433f7 [2023-05-24T23:55:09.127Z] noop [2023-05-24T23:55:09.385Z] Removing intermediate container f3fc9ff433f7 [2023-05-24T23:55:09.385Z] ---> ac8dd025792c [2023-05-24T23:55:09.645Z] Successfully built ac8dd025792c [2023-05-24T23:55:09.645Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:55:10.081Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T23:55:10.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T23:55:10.223Z] prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container [2023-05-24T23:55:10.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@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-05-24T23:55:10.580Z] $ docker top 3d5f87424be036092be002ef05161ce552838c469b2cc103ee033a0adedc922a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T23:55:10.961Z] + go version [2023-05-24T23:55:10.961Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-24T23:55:10.995Z] $ docker stop --time=1 3d5f87424be036092be002ef05161ce552838c469b2cc103ee033a0adedc922a [2023-05-24T23:55:12.230Z] $ docker rm -f --volumes 3d5f87424be036092be002ef05161ce552838c469b2cc103ee033a0adedc922a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:55:12.911Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-24T23:55:12.911Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T23:55:13.086Z] prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container [2023-05-24T23:55:13.135Z] $ 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-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@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-05-24T23:55:13.453Z] $ docker top 30a276bb6679aa87a96173ea66954ac48827df44fedd01f19ec508f3e44312d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T23:55:13.853Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-325 [Pipeline] fileExists [Pipeline] sh [2023-05-24T23:55:14.206Z] + make test [2023-05-24T23:55:14.206Z] go test ./... -coverprofile=coverage.out ./... [2023-05-24T23:55:18.391Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-24T23:55:28.361Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-24T23:55:28.361Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements [2023-05-24T23:55:33.620Z] go vet ./... [2023-05-24T23:55:36.148Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-24T23:55:36.148Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-24T23:55:36.148Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-24T23:55:36.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-24T23:55:36.221Z] $ docker stop --time=1 30a276bb6679aa87a96173ea66954ac48827df44fedd01f19ec508f3e44312d7 [2023-05-24T23:55:40.421Z] $ docker rm -f --volumes 30a276bb6679aa87a96173ea66954ac48827df44fedd01f19ec508f3e44312d7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-24T23:55:40.927Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-24T23:55:40.992Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-24T23:55:41.583Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-24T23:55:41.888Z] + ls -al . [2023-05-24T23:55:41.888Z] total 184 [2023-05-24T23:55:41.888Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 23:55 . [2023-05-24T23:55:41.888Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:53 .. [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 23:53 .dockerignore [2023-05-24T23:55:41.889Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:54 .git [2023-05-24T23:55:41.889Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:53 .github [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 329 May 24 23:53 .gitignore [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:53 .golangci.yml [2023-05-24T23:55:41.889Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:54 .semver [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 24 23:53 Attribution.txt [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 24 23:53 CHANGELOG.md [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 24 23:53 Dockerfile [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:53 GOVERNANCE.md [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 23:53 Jenkinsfile [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:53 LICENSE [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 24 23:53 Makefile [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 23:53 OWNERS.md [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 24 23:53 README.md [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:54 VERSION [2023-05-24T23:55:41.889Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:53 bin [2023-05-24T23:55:41.889Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:53 cmd [2023-05-24T23:55:41.889Z] -rw-r--r-- 1 jenkins jenkins 14663 May 24 23:55 coverage.out [2023-05-24T23:55:41.889Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:53 driver [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 3354 May 24 23:53 go.mod [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 31232 May 24 23:53 go.sum [2023-05-24T23:55:41.889Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:53 snap [2023-05-24T23:55:41.889Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 23:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:55:42.319Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c9820f08da888540b5b60248d7b6306d0c495dec --label arch=amd64 --label version=0.0.0 . [2023-05-24T23:55:42.319Z] Sending build context to Docker daemon 10.95MB [2023-05-24T23:55:42.319Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T23:55:42.319Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-24T23:55:42.319Z] ---> ac8dd025792c [2023-05-24T23:55:42.319Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-24T23:55:42.579Z] ---> Running in 7be57974029b [2023-05-24T23:55:42.579Z] Removing intermediate container 7be57974029b [2023-05-24T23:55:42.579Z] ---> 8b7ee6626ba6 [2023-05-24T23:55:42.579Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-24T23:55:42.579Z] ---> Running in aee48260a3c8 [2023-05-24T23:55:42.837Z] Removing intermediate container aee48260a3c8 [2023-05-24T23:55:42.837Z] ---> 1149c9ed3232 [2023-05-24T23:55:42.837Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-24T23:55:42.837Z] ---> Running in dbef83bd0c03 [2023-05-24T23:55:42.837Z] Removing intermediate container dbef83bd0c03 [2023-05-24T23:55:42.837Z] ---> fcd716a8ba76 [2023-05-24T23:55:42.837Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-24T23:55:42.837Z] ---> Running in 1f2b8f6a4e07 [2023-05-24T23:55:42.837Z] Removing intermediate container 1f2b8f6a4e07 [2023-05-24T23:55:42.837Z] ---> 90d05d77b737 [2023-05-24T23:55:42.837Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-24T23:55:42.837Z] ---> Running in 8694edea5a3a [2023-05-24T23:55:43.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T23:55:43.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T23:55:43.357Z] OK: 269 MiB in 57 packages [2023-05-24T23:55:43.926Z] Removing intermediate container 8694edea5a3a [2023-05-24T23:55:43.927Z] ---> e36bd01c6515 [2023-05-24T23:55:43.927Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-24T23:55:43.927Z] ---> Running in 761def61cd80 [2023-05-24T23:55:43.927Z] Removing intermediate container 761def61cd80 [2023-05-24T23:55:43.927Z] ---> 50578f308f39 [2023-05-24T23:55:43.927Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-24T23:55:43.927Z] ---> fa70eaa73b71 [2023-05-24T23:55:43.927Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T23:55:43.927Z] ---> Running in fa380a78b5de [2023-05-24T23:55:44.983Z] Removing intermediate container fa380a78b5de [2023-05-24T23:55:44.983Z] ---> 7906a3d573d0 [2023-05-24T23:55:44.983Z] Step 11/25 : COPY . . [2023-05-24T23:55:45.241Z] ---> 8671af8e0d21 [2023-05-24T23:55:45.241Z] Step 12/25 : RUN $MAKE [2023-05-24T23:55:45.241Z] ---> Running in f43c108666ec [2023-05-24T23:55:45.500Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-24T23:56:07.419Z] Removing intermediate container f43c108666ec [2023-05-24T23:56:07.419Z] ---> f084f890a815 [2023-05-24T23:56:07.419Z] Step 13/25 : FROM alpine:3.17 [2023-05-24T23:56:07.419Z] 3.17: Pulling from library/alpine [2023-05-24T23:56:07.419Z] f56be85fc22e: Already exists [2023-05-24T23:56:07.419Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-24T23:56:07.419Z] Status: Downloaded newer image for alpine:3.17 [2023-05-24T23:56:07.419Z] ---> 9ed4aefc74f6 [2023-05-24T23:56:07.419Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-24T23:56:07.419Z] ---> Running in ec443c4a516c [2023-05-24T23:56:07.419Z] Removing intermediate container ec443c4a516c [2023-05-24T23:56:07.419Z] ---> 1e30f68df511 [2023-05-24T23:56:07.419Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-24T23:56:07.419Z] ---> Running in 166573b29372 [2023-05-24T23:56:07.419Z] Removing intermediate container 166573b29372 [2023-05-24T23:56:07.419Z] ---> c8fd29260aac [2023-05-24T23:56:07.419Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-24T23:56:07.419Z] ---> Running in 7705c6a02df3 [2023-05-24T23:56:07.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-24T23:56:07.419Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-24T23:56:07.419Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-24T23:56:07.419Z] Executing busybox-1.35.0-r29.trigger [2023-05-24T23:56:07.419Z] OK: 7 MiB in 16 packages [2023-05-24T23:56:07.419Z] Removing intermediate container 7705c6a02df3 [2023-05-24T23:56:07.419Z] ---> 41728773a126 [2023-05-24T23:56:07.419Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-24T23:56:07.419Z] ---> 3d566984ec93 [2023-05-24T23:56:07.419Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-24T23:56:07.419Z] ---> 94ed539e0893 [2023-05-24T23:56:07.419Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-24T23:56:07.419Z] ---> 65a5f13c06ca [2023-05-24T23:56:07.419Z] Step 20/25 : EXPOSE 59986 [2023-05-24T23:56:07.419Z] ---> Running in 0cb5bc30ec6f [2023-05-24T23:56:07.419Z] Removing intermediate container 0cb5bc30ec6f [2023-05-24T23:56:07.419Z] ---> ddca85cc8f8b [2023-05-24T23:56:07.419Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-24T23:56:07.419Z] ---> Running in 8c7de1b279e0 [2023-05-24T23:56:07.419Z] Removing intermediate container 8c7de1b279e0 [2023-05-24T23:56:07.419Z] ---> 73af3bf43257 [2023-05-24T23:56:07.419Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-24T23:56:07.419Z] ---> Running in d70469306b1a [2023-05-24T23:56:07.419Z] Removing intermediate container d70469306b1a [2023-05-24T23:56:07.419Z] ---> 2d5fb8f8e675 [2023-05-24T23:56:07.419Z] Step 23/25 : LABEL arch=amd64 [2023-05-24T23:56:07.419Z] ---> Running in 70dcd2e865b8 [2023-05-24T23:56:07.419Z] Removing intermediate container 70dcd2e865b8 [2023-05-24T23:56:07.419Z] ---> 5e25b59f7d9a [2023-05-24T23:56:07.419Z] Step 24/25 : LABEL git_sha=c9820f08da888540b5b60248d7b6306d0c495dec [2023-05-24T23:56:07.419Z] ---> Running in fe57dd972c57 [2023-05-24T23:56:07.419Z] Removing intermediate container fe57dd972c57 [2023-05-24T23:56:07.419Z] ---> ea818768ea3e [2023-05-24T23:56:07.419Z] Step 25/25 : LABEL version=0.0.0 [2023-05-24T23:56:07.419Z] ---> Running in 19c164348655 [2023-05-24T23:56:07.419Z] Removing intermediate container 19c164348655 [2023-05-24T23:56:07.419Z] ---> a0da2c25e101 [2023-05-24T23:56:07.419Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-24T23:56:07.419Z] Successfully built a0da2c25e101 [2023-05-24T23:56:07.419Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:56:08.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T23:56:08.269Z] [2023-05-24T23:56:08.269Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:56:08.659Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T23:56:08.659Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-24T23:56:08.659Z] 5eb5b503b376: Pulling fs layer [2023-05-24T23:56:08.659Z] 5c69ac0246d0: Pulling fs layer [2023-05-24T23:56:08.659Z] ec43610c2a17: Pulling fs layer [2023-05-24T23:56:08.659Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-24T23:56:08.659Z] 33b1e0a273af: Pulling fs layer [2023-05-24T23:56:08.659Z] 5d3b04190fa2: Pulling fs layer [2023-05-24T23:56:08.659Z] 2f39f015ded8: Pulling fs layer [2023-05-24T23:56:08.659Z] 3a2ae6a8a46f: Waiting [2023-05-24T23:56:08.659Z] 33b1e0a273af: Waiting [2023-05-24T23:56:08.659Z] 5d3b04190fa2: Waiting [2023-05-24T23:56:08.659Z] 2f39f015ded8: Waiting [2023-05-24T23:56:08.659Z] 5c69ac0246d0: Download complete [2023-05-24T23:56:08.659Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-24T23:56:08.659Z] 3a2ae6a8a46f: Download complete [2023-05-24T23:56:08.925Z] 33b1e0a273af: Verifying Checksum [2023-05-24T23:56:08.925Z] 33b1e0a273af: Download complete [2023-05-24T23:56:08.925Z] ec43610c2a17: Verifying Checksum [2023-05-24T23:56:08.925Z] ec43610c2a17: Download complete [2023-05-24T23:56:08.925Z] 5d3b04190fa2: Verifying Checksum [2023-05-24T23:56:08.925Z] 5d3b04190fa2: Download complete [2023-05-24T23:56:08.925Z] 5eb5b503b376: Verifying Checksum [2023-05-24T23:56:08.925Z] 5eb5b503b376: Download complete [2023-05-24T23:56:09.491Z] 2f39f015ded8: Verifying Checksum [2023-05-24T23:56:09.491Z] 2f39f015ded8: Download complete [2023-05-24T23:56:10.057Z] 5eb5b503b376: Pull complete [2023-05-24T23:56:10.057Z] 5c69ac0246d0: Pull complete [2023-05-24T23:56:10.623Z] ec43610c2a17: Pull complete [2023-05-24T23:56:10.623Z] 3a2ae6a8a46f: Pull complete [2023-05-24T23:56:10.881Z] 33b1e0a273af: Pull complete [2023-05-24T23:56:10.881Z] 5d3b04190fa2: Pull complete [2023-05-24T23:56:15.063Z] 2f39f015ded8: Pull complete [2023-05-24T23:56:15.063Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-24T23:56:15.063Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-24T23:56:15.063Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T23:56:15.282Z] prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container [2023-05-24T23:56:15.314Z] $ 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-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@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-05-24T23:56:19.897Z] $ docker top 14bd51ca5248ebbdb9d5d03906c99953f867f4a4cb9edf2122cd4a40746e9d70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T23:56:20.338Z] ---> job-cost.sh [2023-05-24T23:56:20.338Z] lf-activate-venv: SKIPPING [2023-05-24T23:56:20.338Z] INFO: No Stack... [2023-05-24T23:56:20.596Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-24T23:56:21.162Z] INFO: Archiving Costs [Pipeline] sh [2023-05-24T23:56:21.473Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-325/archives/cost.csv [2023-05-24T23:56:21.473Z] + cut -d, -f6 [Pipeline] lock [2023-05-24T23:56:21.520Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [2023-05-24T23:56:21.526Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] did not exist. Created. [2023-05-24T23:56:21.526Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-24T23:56:22.008Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-24T23:56:22.071Z] Stashed 1 file(s) [Pipeline] } [2023-05-24T23:56:22.106Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-24T23:56:22.174Z] $ docker stop --time=1 14bd51ca5248ebbdb9d5d03906c99953f867f4a4cb9edf2122cd4a40746e9d70 [2023-05-24T23:56:23.305Z] $ docker rm -f --volumes 14bd51ca5248ebbdb9d5d03906c99953f867f4a4cb9edf2122cd4a40746e9d70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-24T23:57:01.844Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16833 in /w/workspace/gexfoundry_device-rest-go_PR-325 [Pipeline] { [Pipeline] ws [2023-05-24T23:57:01.894Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-24T23:57:01.972Z] The recommended git tool is: git [2023-05-24T23:57:09.086Z] using credential edgex-jenkins-ssh [2023-05-24T23:57:09.105Z] Cloning the remote Git repository [2023-05-24T23:57:09.177Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-24T23:57:09.303Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-24T23:57:09.504Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-24T23:57:09.505Z] > git --version # timeout=10 [2023-05-24T23:57:09.531Z] > git --version # 'git version 2.25.1' [2023-05-24T23:57:09.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T23:57:09.736Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T23:57:11.725Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-24T23:57:11.765Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-24T23:57:13.479Z] Merging remotes/origin/main commit 55c123e92a81b52ef904480be8a3eb69bc416b29 into PR head commit c9820f08da888540b5b60248d7b6306d0c495dec [2023-05-24T23:57:13.791Z] Merge succeeded, producing c9820f08da888540b5b60248d7b6306d0c495dec [2023-05-24T23:57:13.791Z] Checking out Revision c9820f08da888540b5b60248d7b6306d0c495dec (PR-325) [2023-05-24T23:57:12.898Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-24T23:57:12.949Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-24T23:57:12.950Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T23:57:12.972Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/325/head:refs/remotes/origin/PR-325 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-24T23:57:13.510Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T23:57:13.591Z] > git checkout -f c9820f08da888540b5b60248d7b6306d0c495dec # timeout=10 [2023-05-24T23:57:13.689Z] > git remote # timeout=10 [2023-05-24T23:57:13.712Z] > git config --get remote.origin.url # timeout=10 [2023-05-24T23:57:13.730Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-24T23:57:13.746Z] > git merge 55c123e92a81b52ef904480be8a3eb69bc416b29 # timeout=10 [2023-05-24T23:57:13.779Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-24T23:57:13.808Z] > git config core.sparsecheckout # timeout=10 [2023-05-24T23:57:13.824Z] > git checkout -f c9820f08da888540b5b60248d7b6306d0c495dec # timeout=10 [2023-05-24T23:57:14.399Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-24T23:57:14.479Z] > git --version # timeout=10 [2023-05-24T23:57:14.494Z] > git --version # 'git version 2.25.1' [2023-05-24T23:57:14.516Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-24T23:57:15.639Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-24T23:57:15.640Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-24T23:57:15.640Z] Dload Upload Total Spent Left Speed [2023-05-24T23:57:15.640Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 170k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2023-05-24T23:57:16.486Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-24T23:57:16.866Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-24T23:57:16.866Z] + sudo tee /etc/docker/daemon.new [2023-05-24T23:57:16.866Z] { [2023-05-24T23:57:16.866Z] "registry-mirrors": [ [2023-05-24T23:57:16.866Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-24T23:57:16.866Z] ], [2023-05-24T23:57:16.866Z] "bip": "10.250.0.254/24", [2023-05-24T23:57:16.866Z] "hosts": [ [2023-05-24T23:57:16.866Z] "tcp://0.0.0.0:5555", [2023-05-24T23:57:16.866Z] "unix:///var/run/docker.sock" [2023-05-24T23:57:16.866Z] ], [2023-05-24T23:57:16.866Z] "mtu": 1458, [2023-05-24T23:57:16.866Z] "selinux-enabled": true, [2023-05-24T23:57:16.866Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-24T23:57:16.866Z] } [Pipeline] sh [2023-05-24T23:57:17.237Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-24T23:57:17.614Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-24T23:57:35.997Z] provisioning config files... [2023-05-24T23:57:36.031Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11001259112557071342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-24T23:57:36.456Z] ---> docker-login.sh [2023-05-24T23:57:36.456Z] nexus3.edgexfoundry.org:10001 [2023-05-24T23:57:37.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:57:37.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:57:37.050Z] Configure a credential helper to remove this warning. See [2023-05-24T23:57:37.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:57:37.050Z] [2023-05-24T23:57:37.050Z] Login Succeeded [2023-05-24T23:57:37.050Z] nexus3.edgexfoundry.org:10002 [2023-05-24T23:57:37.326Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:57:37.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:57:37.601Z] Configure a credential helper to remove this warning. See [2023-05-24T23:57:37.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:57:37.601Z] [2023-05-24T23:57:37.601Z] Login Succeeded [2023-05-24T23:57:37.601Z] nexus3.edgexfoundry.org:10003 [2023-05-24T23:57:37.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:57:37.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:57:37.876Z] Configure a credential helper to remove this warning. See [2023-05-24T23:57:37.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:57:37.876Z] [2023-05-24T23:57:37.876Z] Login Succeeded [2023-05-24T23:57:37.876Z] nexus3.edgexfoundry.org:10004 [2023-05-24T23:57:38.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:57:38.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:57:38.437Z] Configure a credential helper to remove this warning. See [2023-05-24T23:57:38.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:57:38.437Z] [2023-05-24T23:57:38.437Z] Login Succeeded [2023-05-24T23:57:38.437Z] docker.io [2023-05-24T23:57:38.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-24T23:57:38.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-24T23:57:38.985Z] Configure a credential helper to remove this warning. See [2023-05-24T23:57:38.985Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-24T23:57:38.985Z] [2023-05-24T23:57:38.985Z] Login Succeeded [2023-05-24T23:57:38.985Z] ---> docker-login.sh ends [Pipeline] } [2023-05-24T23:57:39.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-24T23:57:39.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T23:57:39.584Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-24T23:57:39.616Z] ========================================================= [2023-05-24T23:57:39.616Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-24T23:57:39.616Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:57:40.141Z] + 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-05-24T23:57:40.141Z] Sending build context to Docker daemon 139.3kB [2023-05-24T23:57:40.422Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-24T23:57:40.422Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-24T23:57:40.700Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-24T23:57:40.700Z] c41833b44d91: Pulling fs layer [2023-05-24T23:57:40.700Z] ed15518f5707: Pulling fs layer [2023-05-24T23:57:40.700Z] feae8fd75edb: Pulling fs layer [2023-05-24T23:57:40.700Z] 242c74f7c9fa: Pulling fs layer [2023-05-24T23:57:40.700Z] 3cdef696dda3: Pulling fs layer [2023-05-24T23:57:40.700Z] 2ced38df9373: Pulling fs layer [2023-05-24T23:57:40.700Z] 58f1dce35555: Pulling fs layer [2023-05-24T23:57:40.700Z] 3cdef696dda3: Waiting [2023-05-24T23:57:40.700Z] 2ced38df9373: Waiting [2023-05-24T23:57:40.700Z] 58f1dce35555: Waiting [2023-05-24T23:57:40.700Z] 242c74f7c9fa: Waiting [2023-05-24T23:57:40.700Z] ed15518f5707: Verifying Checksum [2023-05-24T23:57:40.700Z] ed15518f5707: Download complete [2023-05-24T23:57:40.700Z] 242c74f7c9fa: Download complete [2023-05-24T23:57:40.700Z] 3cdef696dda3: Verifying Checksum [2023-05-24T23:57:40.700Z] 3cdef696dda3: Download complete [2023-05-24T23:57:40.700Z] c41833b44d91: Verifying Checksum [2023-05-24T23:57:40.700Z] c41833b44d91: Download complete [2023-05-24T23:57:41.684Z] c41833b44d91: Pull complete [2023-05-24T23:57:42.275Z] 58f1dce35555: Verifying Checksum [2023-05-24T23:57:42.275Z] 58f1dce35555: Download complete [2023-05-24T23:57:43.253Z] feae8fd75edb: Verifying Checksum [2023-05-24T23:57:43.253Z] feae8fd75edb: Download complete [2023-05-24T23:57:43.525Z] 2ced38df9373: Verifying Checksum [2023-05-24T23:57:43.525Z] 2ced38df9373: Download complete [2023-05-24T23:57:43.799Z] ed15518f5707: Pull complete [2023-05-24T23:57:56.168Z] feae8fd75edb: Pull complete [2023-05-24T23:57:56.168Z] 242c74f7c9fa: Pull complete [2023-05-24T23:57:56.168Z] 3cdef696dda3: Pull complete [2023-05-24T23:58:02.860Z] 2ced38df9373: Pull complete [2023-05-24T23:58:04.821Z] 58f1dce35555: Pull complete [2023-05-24T23:58:04.821Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-24T23:58:04.821Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-24T23:58:04.821Z] ---> fadd8f120f05 [2023-05-24T23:58:04.821Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-24T23:58:06.783Z] ---> Running in 4e6a914681c8 [2023-05-24T23:58:07.054Z] Removing intermediate container 4e6a914681c8 [2023-05-24T23:58:07.054Z] ---> 02f7a4692b57 [2023-05-24T23:58:07.054Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-24T23:58:07.326Z] ---> Running in 24839d36a2f7 [2023-05-24T23:58:07.597Z] Removing intermediate container 24839d36a2f7 [2023-05-24T23:58:07.597Z] ---> b5fc10ec37d1 [2023-05-24T23:58:07.597Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-24T23:58:07.597Z] ---> Running in 685d6dd2e275 [2023-05-24T23:58:08.190Z] Removing intermediate container 685d6dd2e275 [2023-05-24T23:58:08.190Z] ---> c450b718e994 [2023-05-24T23:58:08.190Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-24T23:58:08.190Z] ---> Running in e405290830d1 [2023-05-24T23:58:08.462Z] Removing intermediate container e405290830d1 [2023-05-24T23:58:08.462Z] ---> 78cd587c9545 [2023-05-24T23:58:08.462Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-24T23:58:08.462Z] ---> Running in 4adaa5e5eebf [2023-05-24T23:58:09.882Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-24T23:58:10.473Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-24T23:58:11.896Z] (1/4) Installing openssh-keygen (9.1_p1-r3) [2023-05-24T23:58:11.896Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-24T23:58:11.896Z] (3/4) Installing openssh-client-common (9.1_p1-r3) [2023-05-24T23:58:11.896Z] (4/4) Installing openssh-client-default (9.1_p1-r3) [2023-05-24T23:58:11.896Z] Executing busybox-1.35.0-r29.trigger [2023-05-24T23:58:11.896Z] OK: 268 MiB in 57 packages [2023-05-24T23:58:13.335Z] Removing intermediate container 4adaa5e5eebf [2023-05-24T23:58:13.335Z] ---> abd581e3fdfa [2023-05-24T23:58:13.335Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-24T23:58:13.335Z] ---> Running in 2058bd3cbc27 [2023-05-24T23:58:13.606Z] Removing intermediate container 2058bd3cbc27 [2023-05-24T23:58:13.606Z] ---> 1d2d3f71d04b [2023-05-24T23:58:13.606Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-24T23:58:14.198Z] ---> 27f2ef93a087 [2023-05-24T23:58:14.198Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-24T23:58:14.198Z] ---> Running in 8cb8b6ea7969 [2023-05-24T23:59:35.916Z] Removing intermediate container 8cb8b6ea7969 [2023-05-24T23:59:35.916Z] ---> 6b2bde9ad1f8 [2023-05-24T23:59:35.916Z] Step 11/12 : COPY . . [2023-05-24T23:59:35.916Z] ---> a85435f991cd [2023-05-24T23:59:35.916Z] Step 12/12 : RUN $MAKE [2023-05-24T23:59:35.916Z] ---> Running in 2a11216a596d [2023-05-24T23:59:35.916Z] noop [2023-05-24T23:59:35.916Z] Removing intermediate container 2a11216a596d [2023-05-24T23:59:35.916Z] ---> 5eb4013bb2ce [2023-05-24T23:59:35.916Z] Successfully built 5eb4013bb2ce [2023-05-24T23:59:35.916Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:59:36.413Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T23:59:36.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T23:59:36.718Z] prd-ubuntu20.04-docker-arm64-4c-16g-16833 does not seem to be running inside a container [2023-05-24T23:59:36.799Z] $ 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-05-24T23:59:38.118Z] $ docker top 7e37fc63f46c01cf0103f242f5e95a9c6e23029ad06cd6fa2fbc7ef9dc3fef72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T23:59:39.036Z] + go version [2023-05-24T23:59:39.036Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-24T23:59:39.072Z] $ docker stop --time=1 7e37fc63f46c01cf0103f242f5e95a9c6e23029ad06cd6fa2fbc7ef9dc3fef72 [2023-05-24T23:59:40.754Z] $ docker rm -f --volumes 7e37fc63f46c01cf0103f242f5e95a9c6e23029ad06cd6fa2fbc7ef9dc3fef72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-24T23:59:41.629Z] + docker inspect -f . ci-base-image-arm64 [2023-05-24T23:59:41.629Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-24T23:59:41.927Z] prd-ubuntu20.04-docker-arm64-4c-16g-16833 does not seem to be running inside a container [2023-05-24T23:59:42.007Z] $ 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-05-24T23:59:43.393Z] $ docker top bfb02734f6ac5023f65191ce871f0e465e54e6c4ef92f0169669cf0c45dcc28e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-24T23:59:44.420Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-24T23:59:45.143Z] + make test [2023-05-24T23:59:45.143Z] go test ./... -coverprofile=coverage.out ./... [2023-05-25T00:00:24.115Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-25T00:03:15.966Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-25T00:03:15.966Z] ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 32.2% of statements [2023-05-25T00:03:15.966Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-25T00:03:15.966Z] go vet ./... [2023-05-25T00:03:48.260Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-25T00:03:48.260Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-25T00:03:48.260Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-25T00:03:48.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-25T00:03:48.318Z] $ docker stop --time=1 bfb02734f6ac5023f65191ce871f0e465e54e6c4ef92f0169669cf0c45dcc28e [2023-05-25T00:03:50.366Z] $ docker rm -f --volumes bfb02734f6ac5023f65191ce871f0e465e54e6c4ef92f0169669cf0c45dcc28e [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-25T00:03:51.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-25T00:03:51.823Z] Warning: overwriting stash ‘coverage-report’ [2023-05-25T00:03:52.545Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-25T00:03:53.154Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-25T00:03:53.515Z] + ls -al . [2023-05-25T00:03:53.515Z] total 180 [2023-05-25T00:03:53.515Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:59 . [2023-05-25T00:03:53.515Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:57 .. [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 23:57 .dockerignore [2023-05-25T00:03:53.515Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:57 .git [2023-05-25T00:03:53.515Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:57 .github [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 329 May 24 23:57 .gitignore [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:57 .golangci.yml [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 24 23:57 Attribution.txt [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 24 23:57 CHANGELOG.md [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 24 23:57 Dockerfile [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:57 GOVERNANCE.md [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 23:57 Jenkinsfile [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:57 LICENSE [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 24 23:57 Makefile [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 23:57 OWNERS.md [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 24 23:57 README.md [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:54 VERSION [2023-05-25T00:03:53.515Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:57 bin [2023-05-25T00:03:53.515Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:57 cmd [2023-05-25T00:03:53.515Z] -rw-r--r-- 1 jenkins jenkins 14663 May 25 00:03 coverage.out [2023-05-25T00:03:53.515Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:57 driver [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 3354 May 24 23:57 go.mod [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 31232 May 24 23:57 go.sum [2023-05-25T00:03:53.515Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:57 snap [2023-05-25T00:03:53.515Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 23:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:03:53.956Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c9820f08da888540b5b60248d7b6306d0c495dec --label arch=arm64 --label version=0.0.0 . [2023-05-25T00:03:53.956Z] Sending build context to Docker daemon 154.6kB [2023-05-25T00:03:54.228Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-25T00:03:54.228Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-25T00:03:54.228Z] ---> 5eb4013bb2ce [2023-05-25T00:03:54.228Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-25T00:03:54.506Z] ---> Running in 433d4b61334c [2023-05-25T00:03:54.779Z] Removing intermediate container 433d4b61334c [2023-05-25T00:03:54.779Z] ---> 1b2476dc17b8 [2023-05-25T00:03:54.779Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-25T00:03:54.779Z] ---> Running in ac975b47c549 [2023-05-25T00:03:55.375Z] Removing intermediate container ac975b47c549 [2023-05-25T00:03:55.375Z] ---> e8f350104be1 [2023-05-25T00:03:55.375Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-25T00:03:55.375Z] ---> Running in ec2d30a803bd [2023-05-25T00:03:55.648Z] Removing intermediate container ec2d30a803bd [2023-05-25T00:03:55.648Z] ---> dd43fdfbb50f [2023-05-25T00:03:55.648Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-25T00:03:55.919Z] ---> Running in 4058d6ec456f [2023-05-25T00:03:56.192Z] Removing intermediate container 4058d6ec456f [2023-05-25T00:03:56.192Z] ---> 582759567890 [2023-05-25T00:03:56.192Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-25T00:03:56.192Z] ---> Running in 8e78ff16826f [2023-05-25T00:03:57.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-25T00:03:58.208Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-25T00:04:00.171Z] OK: 268 MiB in 57 packages [2023-05-25T00:04:00.760Z] Removing intermediate container 8e78ff16826f [2023-05-25T00:04:00.760Z] ---> 3f2983f66ae1 [2023-05-25T00:04:00.760Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-25T00:04:01.725Z] ---> Running in 68fac0f76d6c [2023-05-25T00:04:01.998Z] Removing intermediate container 68fac0f76d6c [2023-05-25T00:04:01.998Z] ---> f1583ea952d2 [2023-05-25T00:04:01.998Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-25T00:04:02.591Z] ---> c12618318f3b [2023-05-25T00:04:02.591Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-25T00:04:02.866Z] ---> Running in 261df275980d [2023-05-25T00:04:05.464Z] Removing intermediate container 261df275980d [2023-05-25T00:04:05.464Z] ---> a0d607e6f28e [2023-05-25T00:04:05.464Z] Step 11/25 : COPY . . [2023-05-25T00:04:06.437Z] ---> b9bdee83b09f [2023-05-25T00:04:06.437Z] Step 12/25 : RUN $MAKE [2023-05-25T00:04:06.437Z] ---> Running in f809454d25aa [2023-05-25T00:04:07.863Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-25T00:06:44.727Z] Removing intermediate container f809454d25aa [2023-05-25T00:06:44.727Z] ---> 9ef2b6c14a5d [2023-05-25T00:06:44.727Z] Step 13/25 : FROM alpine:3.17 [2023-05-25T00:06:44.727Z] 3.17: Pulling from library/alpine [2023-05-25T00:06:44.727Z] c41833b44d91: Already exists [2023-05-25T00:06:44.727Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-25T00:06:44.727Z] Status: Downloaded newer image for alpine:3.17 [2023-05-25T00:06:44.727Z] ---> 51e60588ff2c [2023-05-25T00:06:44.727Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-25T00:06:44.727Z] ---> Running in d293e7fb4bcb [2023-05-25T00:06:45.332Z] Removing intermediate container d293e7fb4bcb [2023-05-25T00:06:45.332Z] ---> 129cd10cb64f [2023-05-25T00:06:45.332Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-25T00:06:45.332Z] ---> Running in bf2a38755742 [2023-05-25T00:06:45.615Z] Removing intermediate container bf2a38755742 [2023-05-25T00:06:45.615Z] ---> a869ba97bd70 [2023-05-25T00:06:45.615Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-25T00:06:45.902Z] ---> Running in 3c4360f115c2 [2023-05-25T00:06:46.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-25T00:06:47.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-25T00:06:49.312Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-25T00:06:49.312Z] Executing busybox-1.35.0-r29.trigger [2023-05-25T00:06:49.312Z] OK: 8 MiB in 16 packages [2023-05-25T00:06:49.901Z] Removing intermediate container 3c4360f115c2 [2023-05-25T00:06:49.901Z] ---> cd12decdd153 [2023-05-25T00:06:49.901Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-25T00:06:51.862Z] ---> 32b80e611567 [2023-05-25T00:06:51.862Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-25T00:06:52.130Z] ---> 152a95eadf06 [2023-05-25T00:06:52.130Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-25T00:06:52.718Z] ---> 03ea9eb4f5e3 [2023-05-25T00:06:52.718Z] Step 20/25 : EXPOSE 59986 [2023-05-25T00:06:52.718Z] ---> Running in dd39735b71f1 [2023-05-25T00:06:53.309Z] Removing intermediate container dd39735b71f1 [2023-05-25T00:06:53.309Z] ---> 7b129b62bfab [2023-05-25T00:06:53.309Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-25T00:06:53.309Z] ---> Running in 23c1102a3575 [2023-05-25T00:06:53.579Z] Removing intermediate container 23c1102a3575 [2023-05-25T00:06:53.579Z] ---> 272d7f5f11ca [2023-05-25T00:06:53.579Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-25T00:06:53.579Z] ---> Running in a066238a5cb5 [2023-05-25T00:06:53.849Z] Removing intermediate container a066238a5cb5 [2023-05-25T00:06:53.849Z] ---> e47f62fcae53 [2023-05-25T00:06:53.849Z] Step 23/25 : LABEL arch=arm64 [2023-05-25T00:06:54.121Z] ---> Running in d33f25dd3e7c [2023-05-25T00:06:54.393Z] Removing intermediate container d33f25dd3e7c [2023-05-25T00:06:54.393Z] ---> e9988487e685 [2023-05-25T00:06:54.393Z] Step 24/25 : LABEL git_sha=c9820f08da888540b5b60248d7b6306d0c495dec [2023-05-25T00:06:54.393Z] ---> Running in 5c3053fd16fc [2023-05-25T00:06:54.985Z] Removing intermediate container 5c3053fd16fc [2023-05-25T00:06:54.985Z] ---> 5ecdb02fb498 [2023-05-25T00:06:54.985Z] Step 25/25 : LABEL version=0.0.0 [2023-05-25T00:06:54.985Z] ---> Running in 510fa17ce4c3 [2023-05-25T00:06:55.254Z] Removing intermediate container 510fa17ce4c3 [2023-05-25T00:06:55.254Z] ---> 6ce439e54fd2 [2023-05-25T00:06:55.254Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-25T00:06:55.254Z] Successfully built 6ce439e54fd2 [2023-05-25T00:06:55.254Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:06:56.086Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:06:56.086Z] [2023-05-25T00:06:56.086Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:06:56.507Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:06:56.507Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-25T00:06:56.507Z] 8998bd30e6a1: Pulling fs layer [2023-05-25T00:06:56.507Z] 04944245beec: Pulling fs layer [2023-05-25T00:06:56.507Z] 699f458cf7ca: Pulling fs layer [2023-05-25T00:06:56.507Z] 765212b225bb: Pulling fs layer [2023-05-25T00:06:56.507Z] f23df028b6ca: Pulling fs layer [2023-05-25T00:06:56.507Z] d65c8cfc05b1: Pulling fs layer [2023-05-25T00:06:56.507Z] 2437ff75d9bd: Pulling fs layer [2023-05-25T00:06:56.507Z] f23df028b6ca: Waiting [2023-05-25T00:06:56.507Z] d65c8cfc05b1: Waiting [2023-05-25T00:06:56.507Z] 2437ff75d9bd: Waiting [2023-05-25T00:06:56.507Z] 765212b225bb: Waiting [2023-05-25T00:06:56.778Z] 04944245beec: Verifying Checksum [2023-05-25T00:06:56.778Z] 04944245beec: Download complete [2023-05-25T00:06:56.778Z] 765212b225bb: Download complete [2023-05-25T00:06:56.778Z] f23df028b6ca: Download complete [2023-05-25T00:06:56.778Z] d65c8cfc05b1: Verifying Checksum [2023-05-25T00:06:56.778Z] d65c8cfc05b1: Download complete [2023-05-25T00:06:57.049Z] 699f458cf7ca: Verifying Checksum [2023-05-25T00:06:57.049Z] 699f458cf7ca: Download complete [2023-05-25T00:06:57.322Z] 8998bd30e6a1: Verifying Checksum [2023-05-25T00:06:57.322Z] 8998bd30e6a1: Download complete [2023-05-25T00:06:59.912Z] 2437ff75d9bd: Verifying Checksum [2023-05-25T00:06:59.912Z] 2437ff75d9bd: Download complete [2023-05-25T00:07:01.874Z] 8998bd30e6a1: Pull complete [2023-05-25T00:07:02.145Z] 04944245beec: Pull complete [2023-05-25T00:07:03.564Z] 699f458cf7ca: Pull complete [2023-05-25T00:07:03.832Z] 765212b225bb: Pull complete [2023-05-25T00:07:04.808Z] f23df028b6ca: Pull complete [2023-05-25T00:07:04.808Z] d65c8cfc05b1: Pull complete [2023-05-25T00:07:19.819Z] 2437ff75d9bd: Pull complete [2023-05-25T00:07:19.819Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-25T00:07:19.819Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-25T00:07:19.819Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:07:20.179Z] prd-ubuntu20.04-docker-arm64-4c-16g-16833 does not seem to be running inside a container [2023-05-25T00:07:20.233Z] $ 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-05-25T00:07:23.292Z] $ docker top ebd581d102412304fb91a0ab448d3c2451e1d048c779d3df689f6ddb01977d76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:07:24.271Z] ---> job-cost.sh [2023-05-25T00:07:24.271Z] lf-activate-venv: SKIPPING [2023-05-25T00:07:24.271Z] INFO: No Stack... [2023-05-25T00:07:24.861Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-25T00:07:25.829Z] INFO: Archiving Costs [Pipeline] sh [2023-05-25T00:07:26.502Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-05-25T00:07:26.502Z] + cut -d, -f6 [Pipeline] lock [2023-05-25T00:07:26.608Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [2023-05-25T00:07:26.613Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] did not exist. Created. [2023-05-25T00:07:26.613Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-25T00:07:27.358Z] /w/workspace/device-rest-go/1@tmp/durable-ea3b0e98/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-25T00:07:28.055Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-25T00:07:28.084Z] Warning: overwriting stash ‘stack-cost’ [2023-05-25T00:07:28.134Z] Stashed 1 file(s) [Pipeline] } [2023-05-25T00:07:28.149Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-325-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-25T00:07:28.195Z] $ docker stop --time=1 ebd581d102412304fb91a0ab448d3c2451e1d048c779d3df689f6ddb01977d76 [2023-05-25T00:07:29.746Z] $ docker rm -f --volumes ebd581d102412304fb91a0ab448d3c2451e1d048c779d3df689f6ddb01977d76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-05-25T00:07:30.779Z] provisioning config files... [2023-05-25T00:07:30.790Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/config1459827035709004205tmp [Pipeline] { [Pipeline] sh [2023-05-25T00:07:31.117Z] + set +x [2023-05-25T00:07:31.118Z] + bash -s -- [2023-05-25T00:07:31.118Z] + curl -s https://codecov.io/bash [2023-05-25T00:07:31.118Z] [2023-05-25T00:07:31.118Z] _____ _ [2023-05-25T00:07:31.118Z] / ____| | | [2023-05-25T00:07:31.118Z] | | ___ __| | ___ ___ _____ __ [2023-05-25T00:07:31.118Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-25T00:07:31.118Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-25T00:07:31.118Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-25T00:07:31.118Z] Bash-1.0.6 [2023-05-25T00:07:31.118Z] [2023-05-25T00:07:31.118Z] [2023-05-25T00:07:31.118Z] ==> git version 2.25.1 found [2023-05-25T00:07:31.118Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-05-25T00:07:31.118Z] Release-Date: 2020-01-08 [2023-05-25T00:07:31.118Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-05-25T00:07:31.118Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-25T00:07:31.118Z] ==> Jenkins CI detected. [2023-05-25T00:07:31.118Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-325 [2023-05-25T00:07:31.118Z] project root: . [2023-05-25T00:07:31.118Z] --> token set from env [2023-05-25T00:07:31.118Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-25T00:07:31.118Z] ==> Running gcov in . (disable via -X gcov) [2023-05-25T00:07:31.118Z] ==> Python coveragepy not found [2023-05-25T00:07:31.118Z] ==> Searching for coverage reports in: [2023-05-25T00:07:31.118Z] + . [2023-05-25T00:07:31.118Z] -> Found 1 reports [2023-05-25T00:07:31.118Z] ==> Detecting git/mercurial file structure [2023-05-25T00:07:31.118Z] ==> Reading reports [2023-05-25T00:07:31.118Z] + ./coverage.out bytes=14663 [2023-05-25T00:07:31.118Z] ==> Appending adjustments [2023-05-25T00:07:31.118Z] https://docs.codecov.io/docs/fixing-reports [2023-05-25T00:07:31.378Z] + Found adjustments [2023-05-25T00:07:31.378Z] ==> Gzipping contents [2023-05-25T00:07:31.378Z] 4.0K /tmp/codecov.ixH1qX.gz [2023-05-25T00:07:31.378Z] ==> Uploading reports [2023-05-25T00:07:31.378Z] url: https://codecov.io [2023-05-25T00:07:31.378Z] query: branch=PR-325&commit=c9820f08da888540b5b60248d7b6306d0c495dec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=325&job=&cmd_args= [2023-05-25T00:07:31.378Z] -> Pinging Codecov [2023-05-25T00:07:31.378Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-325&commit=c9820f08da888540b5b60248d7b6306d0c495dec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-325%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=325&job=&cmd_args= [2023-05-25T00:07:31.640Z] -> Uploading to [2023-05-25T00:07:31.640Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-25/4E5D53B4F1F92C436F7061BF334D961C/c9820f08da888540b5b60248d7b6306d0c495dec/701bbed0-7c92-43fe-90d0-07fedbcd6d32.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T000731Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d78b6c65674858d9af51686dbf9826710621ca785d5e6a3564fad29285804ab7 [2023-05-25T00:07:31.640Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-25T00:07:31.640Z] Dload Upload Total Spent Left Speed [2023-05-25T00:07:31.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 13072 --:--:-- --:--:-- --:--:-- 13141 [2023-05-25T00:07:31.900Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c9820f08da888540b5b60248d7b6306d0c495dec [Pipeline] } [2023-05-25T00:07:31.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-05-25T00:07:33.712Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-325/archives ] [2023-05-25T00:07:33.712Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-325/archives [2023-05-25T00:07:33.712Z] total 16 [2023-05-25T00:07:33.712Z] drwxr-xr-x 3 root root 4096 May 24 23:56 . [2023-05-25T00:07:33.712Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:56 .. [2023-05-25T00:07:33.712Z] drwxr-xr-x 2 root root 4096 May 24 23:56 cost [2023-05-25T00:07:33.712Z] -rw-r--r-- 1 root root 86 May 24 23:56 cost.csv [2023-05-25T00:07:33.712Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-325/archives [2023-05-25T00:07:33.712Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-325/archives [2023-05-25T00:07:33.712Z] total 16 [2023-05-25T00:07:33.712Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:56 . [2023-05-25T00:07:33.712Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:56 .. [2023-05-25T00:07:33.712Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 23:56 cost [2023-05-25T00:07:33.712Z] -rw-r--r-- 1 jenkins jenkins 86 May 24 23:56 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:07:34.032Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:07:34.925Z] ---> package-listing.sh [2023-05-25T00:07:34.925Z] ++ facter osfamily [2023-05-25T00:07:34.925Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-25T00:07:35.184Z] + OS_FAMILY=debian [2023-05-25T00:07:35.184Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-325 [2023-05-25T00:07:35.184Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-25T00:07:35.184Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-25T00:07:35.184Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-25T00:07:35.184Z] + PACKAGES=/tmp/packages_start.txt [2023-05-25T00:07:35.184Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-325 ']' [2023-05-25T00:07:35.184Z] + PACKAGES=/tmp/packages_end.txt [2023-05-25T00:07:35.184Z] + case "${OS_FAMILY}" in [2023-05-25T00:07:35.184Z] + dpkg -l [2023-05-25T00:07:35.184Z] + grep '^ii' [2023-05-25T00:07:35.184Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-25T00:07:35.184Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-25T00:07:35.184Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-25T00:07:35.184Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-325 ']' [2023-05-25T00:07:35.184Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-325/archives/ [2023-05-25T00:07:35.184Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-325/archives/ [Pipeline] echo [2023-05-25T00:07:35.215Z] 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-325/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-25T00:07:35.507Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-25T00:07:36.136Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-25T00:07:36.136Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-25T00:07:36.278Z] prd-ubuntu20.04-docker-8c-8g-16829 does not seem to be running inside a container [2023-05-25T00:07:36.304Z] $ 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-325/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-325 -v /w/workspace/gexfoundry_device-rest-go_PR-325:/w/workspace/gexfoundry_device-rest-go_PR-325:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-325@tmp:/w/workspace/gexfoundry_device-rest-go_PR-325@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-05-25T00:07:36.516Z] $ docker top ac4ebf18ef25b09534971777e5adbc6ab0812976b77e72b65fcadceee5be2676 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-25T00:07:36.907Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-25T00:07:37.217Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-25T00:07:37.542Z] + ls /var/log/sa-host [2023-05-25T00:07:37.542Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-25T00:07:37.740Z] provisioning config files... [2023-05-25T00:07:37.751Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-325@tmp/config2801736316894365408tmp [Pipeline] { [Pipeline] echo [2023-05-25T00:07:37.801Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:07:38.118Z] ---> create-netrc.sh [Pipeline] } [2023-05-25T00:07:38.145Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:07:38.546Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-25T00:07:38.578Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:07:38.894Z] ---> sudo-logs.sh [2023-05-25T00:07:38.894Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-25T00:07:38.988Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:07:39.302Z] ---> job-cost.sh [2023-05-25T00:07:39.302Z] lf-activate-venv: SKIPPING [2023-05-25T00:07:39.302Z] DEBUG: total: 0.2199999988079071 [2023-05-25T00:07:39.302Z] INFO: Retrieving Stack Cost... [2023-05-25T00:07:39.872Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-25T00:07:40.132Z] INFO: Archiving Costs [Pipeline] echo [2023-05-25T00:07:40.168Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-25T00:07:40.483Z] ---> logs-deploy.sh [2023-05-25T00:07:40.483Z] lf-activate-venv: SKIPPING [2023-05-25T00:07:40.483Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-325/1 [2023-05-25T00:07:40.483Z] INFO: archiving workspace using pattern(s): [2023-05-25T00:07:41.422Z] Archives upload complete. [2023-05-25T00:07:41.422Z] INFO: archiving logs to Nexus