Pull request #363 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97+63560b1f091cdd18f74439d048f83e61f0721fcd (070b4d2f58e55820fb1959a120588c891a1e218c) 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-ssh7688897849600444680.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh10004754468306555996.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-363/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2086792892996388596.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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 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-ssh6421772424390644237.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-363/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14210681358244157462.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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.21 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-centos7-blackbox-4c-2g-16521’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-16522’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-17131’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17133 in /w/workspace/gexfoundry_device-rest-go_PR-363 [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-363 # 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 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 Merge succeeded, producing 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 Checking out Revision 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 (PR-363) Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" First time build. Skipping changelog. > 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/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # 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 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 > git rev-list --no-walk 238ac675b534bf811069c41c04debdd8b62de6e1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-09T14:01:19.409Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-09T14:01:19.463Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-09T14:01:19.486Z] ========================================================= [2023-11-09T14:01:19.486Z] EdgeX Global Pipelines Version Info [2023-11-09T14:01:19.486Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:01:20.209Z] ------------------- [2023-11-09T14:01:20.210Z] stable info: [2023-11-09T14:01:20.210Z] ------------------- [2023-11-09T14:01:20.210Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-09T14:01:20.210Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T14:01:20.210Z] Message: update stable to v1.0.257 [2023-11-09T14:01:20.784Z] ------------------- [2023-11-09T14:01:20.784Z] experimental info: [2023-11-09T14:01:20.784Z] ------------------- [2023-11-09T14:01:20.784Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-09T14:01:20.784Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-09T14:01:20.784Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-09T14:01:20.942Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-11-09T14:01:20.951Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-11-09T14:01:20.963Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-09T14:01:20.975Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-09T14:01:20.984Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-09T14:01:20.992Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-09T14:01:21.001Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-09T14:01:21.010Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-11-09T14:01:21.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-09T14:01:21.037Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-09T14:01:21.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-09T14:01:21.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-11-09T14:01:21.089Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-09T14:01:21.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-09T14:01:21.116Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T14:01:21.128Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-11-09T14:01:21.145Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T14:01:21.157Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-09T14:01:21.172Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-09T14:01:21.181Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-09T14:01:21.194Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-11-09T14:01:21.208Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-11-09T14:01:21.219Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-09T14:01:21.230Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-09T14:01:21.244Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-09T14:01:21.257Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-09T14:01:21.270Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-09T14:01:21.286Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-363 [Pipeline] echo [2023-11-09T14:01:21.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-363 [Pipeline] echo [2023-11-09T14:01:21.323Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-363 [Pipeline] echo [2023-11-09T14:01:21.344Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] echo [2023-11-09T14:01:21.359Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 76b6fa0 [Pipeline] echo [2023-11-09T14:01:21.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:01:21.428Z] provisioning config files... [2023-11-09T14:01:21.458Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config942654211103784263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:01:21.792Z] ---> docker-login.sh [2023-11-09T14:01:21.792Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:01:22.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:22.738Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:22.738Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:22.738Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:22.738Z] [2023-11-09T14:01:22.738Z] Login Succeeded [2023-11-09T14:01:22.738Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:01:22.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:22.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:22.997Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:22.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:22.997Z] [2023-11-09T14:01:22.997Z] Login Succeeded [2023-11-09T14:01:22.997Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:01:22.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:23.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:23.257Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:23.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:23.257Z] [2023-11-09T14:01:23.257Z] Login Succeeded [2023-11-09T14:01:23.257Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:01:23.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:23.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:23.257Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:23.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:23.257Z] [2023-11-09T14:01:23.257Z] Login Succeeded [2023-11-09T14:01:23.257Z] docker.io [2023-11-09T14:01:23.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:23.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:23.517Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:23.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:23.517Z] [2023-11-09T14:01:23.517Z] Login Succeeded [2023-11-09T14:01:23.517Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:01:23.526Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-09T14:01:23.907Z] + git rev-list -1 --merges 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97~1..76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] echo [2023-11-09T14:01:23.963Z] -----------> git rev-list -1 --merges 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97~1..76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [false] [Pipeline] sh [2023-11-09T14:01:24.258Z] + git log --format=format:%s -1 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] echo [2023-11-09T14:01:24.275Z] ========================================================= [2023-11-09T14:01:24.275Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-09T14:01:24.275Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:01:24.611Z] + git log --format=format:%s -1 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] echo [2023-11-09T14:01:24.623Z] [semverPrep] GIT_COMMIT: 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97, Commit Message: build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3 [Pipeline] echo [2023-11-09T14:01:24.632Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-09T14:01:24.992Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-09T14:01:24.992Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-09T14:01:24.992Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-09T14:01:24.992Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-09T14:01:24.992Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-09T14:01:24.992Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-09T14:01:24.992Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:01:25.357Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:01:25.357Z] [2023-11-09T14:01:25.357Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:01:25.684Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:01:27.067Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-09T14:01:27.068Z] b85a868b505f: Pulling fs layer [2023-11-09T14:01:27.068Z] e2be974225ed: Pulling fs layer [2023-11-09T14:01:27.068Z] 339a4e72a1f5: Pulling fs layer [2023-11-09T14:01:27.068Z] 988bab9f4d93: Pulling fs layer [2023-11-09T14:01:27.068Z] 1469e6f7b9e6: Pulling fs layer [2023-11-09T14:01:27.068Z] eaf3925da568: Pulling fs layer [2023-11-09T14:01:27.068Z] bab4dde63d76: Pulling fs layer [2023-11-09T14:01:27.068Z] bde34c3a00c8: Pulling fs layer [2023-11-09T14:01:27.068Z] b352a97aabf1: Pulling fs layer [2023-11-09T14:01:27.068Z] 4872d77fe225: Pulling fs layer [2023-11-09T14:01:27.068Z] 5851b861e8e6: Pulling fs layer [2023-11-09T14:01:27.068Z] 988bab9f4d93: Waiting [2023-11-09T14:01:27.068Z] 1469e6f7b9e6: Waiting [2023-11-09T14:01:27.068Z] eaf3925da568: Waiting [2023-11-09T14:01:27.068Z] bab4dde63d76: Waiting [2023-11-09T14:01:27.068Z] bde34c3a00c8: Waiting [2023-11-09T14:01:27.068Z] 4872d77fe225: Waiting [2023-11-09T14:01:27.068Z] 5851b861e8e6: Waiting [2023-11-09T14:01:27.068Z] b352a97aabf1: Waiting [2023-11-09T14:01:27.068Z] e2be974225ed: Verifying Checksum [2023-11-09T14:01:27.068Z] e2be974225ed: Download complete [2023-11-09T14:01:27.068Z] 988bab9f4d93: Verifying Checksum [2023-11-09T14:01:27.068Z] 988bab9f4d93: Download complete [2023-11-09T14:01:27.068Z] 1469e6f7b9e6: Verifying Checksum [2023-11-09T14:01:27.068Z] 1469e6f7b9e6: Download complete [2023-11-09T14:01:27.068Z] eaf3925da568: Verifying Checksum [2023-11-09T14:01:27.068Z] eaf3925da568: Download complete [2023-11-09T14:01:27.068Z] 339a4e72a1f5: Verifying Checksum [2023-11-09T14:01:27.068Z] 339a4e72a1f5: Download complete [2023-11-09T14:01:27.068Z] bde34c3a00c8: Verifying Checksum [2023-11-09T14:01:27.068Z] bde34c3a00c8: Download complete [2023-11-09T14:01:27.068Z] b352a97aabf1: Verifying Checksum [2023-11-09T14:01:27.068Z] b352a97aabf1: Download complete [2023-11-09T14:01:27.068Z] 4872d77fe225: Download complete [2023-11-09T14:01:27.068Z] 5851b861e8e6: Download complete [2023-11-09T14:01:27.331Z] b85a868b505f: Verifying Checksum [2023-11-09T14:01:27.331Z] b85a868b505f: Download complete [2023-11-09T14:01:27.591Z] bab4dde63d76: Verifying Checksum [2023-11-09T14:01:27.591Z] bab4dde63d76: Download complete [2023-11-09T14:01:29.527Z] b85a868b505f: Pull complete [2023-11-09T14:01:30.473Z] e2be974225ed: Pull complete [2023-11-09T14:01:31.854Z] 339a4e72a1f5: Pull complete [2023-11-09T14:01:32.795Z] 988bab9f4d93: Pull complete [2023-11-09T14:01:35.033Z] 1469e6f7b9e6: Pull complete [2023-11-09T14:01:38.950Z] eaf3925da568: Pull complete [2023-11-09T14:01:42.246Z] bab4dde63d76: Pull complete [2023-11-09T14:01:42.508Z] bde34c3a00c8: Pull complete [2023-11-09T14:01:42.769Z] b352a97aabf1: Pull complete [2023-11-09T14:01:42.769Z] 4872d77fe225: Pull complete [2023-11-09T14:01:43.030Z] 5851b861e8e6: Pull complete [2023-11-09T14:01:43.290Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-09T14:01:43.290Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-09T14:01:43.290Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:01:43.426Z] prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container [2023-11-09T14:01:43.463Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-09T14:01:49.285Z] $ docker top e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 -eo pid,comm [2023-11-09T14:01:49.343Z] 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-11-09T14:01:49.343Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-09T14:01:49.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:01:49.386Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:01:49.504Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:01:49.508Z] $ docker exec e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 ssh-agent [2023-11-09T14:01:49.615Z] SSH_AUTH_SOCK=/tmp/ssh-jjzYZjqJQf7D/agent.33 [2023-11-09T14:01:49.615Z] SSH_AGENT_PID=39 [2023-11-09T14:01:49.623Z] Running ssh-add (command line suppressed) [2023-11-09T14:01:49.726Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17456762811588317817.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17456762811588317817.key) [2023-11-09T14:01:49.741Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:01:50.038Z] + git tag --points-at HEAD [Pipeline] } [2023-11-09T14:01:50.051Z] $ docker exec --env ******** --env ******** e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 ssh-agent -k [2023-11-09T14:01:50.152Z] unset SSH_AUTH_SOCK; [2023-11-09T14:01:50.152Z] unset SSH_AGENT_PID; [2023-11-09T14:01:50.153Z] echo Agent pid 39 killed; [2023-11-09T14:01:50.164Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-09T14:01:50.195Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-09T14:01:50.195Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-09T14:01:50.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-09T14:01:50.308Z] $ docker exec e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 ssh-agent [2023-11-09T14:01:50.419Z] SSH_AUTH_SOCK=/tmp/ssh-rsR5xQF2hBC2/agent.71 [2023-11-09T14:01:50.419Z] SSH_AGENT_PID=77 [2023-11-09T14:01:50.426Z] Running ssh-add (command line suppressed) [2023-11-09T14:01:50.535Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17666192716754530916.key (/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/private_key_17666192716754530916.key) [2023-11-09T14:01:50.551Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-09T14:01:50.849Z] + git semver init [2023-11-09T14:01:51.115Z] 2023-11-09 14:01:51,062 [run_init] DEBUG init version:0.0.0 force:False [2023-11-09T14:01:51.115Z] 2023-11-09 14:01:51,063 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver [2023-11-09T14:01:51.115Z] 2023-11-09 14:01:51,063 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-363/.semver [2023-11-09T14:01:51.115Z] 2023-11-09 14:01:51,064 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-363/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363, universal_newlines=False, shell=None, istream=None) [2023-11-09T14:01:52.499Z] 2023-11-09 14:01:52,254 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.git/info/exclude [2023-11-09T14:01:52.499Z] 2023-11-09 14:01:52,255 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 with force:False [2023-11-09T14:01:52.499Z] 2023-11-09 14:01:52,255 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 [2023-11-09T14:01:52.499Z] 2023-11-09 14:01:52,260 [execute] INFO git cat-file --batch-check [2023-11-09T14:01:52.499Z] 2023-11-09 14:01:52,261 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:01:52.499Z] 2023-11-09 14:01:52,268 [execute] INFO git cat-file --batch [2023-11-09T14:01:52.499Z] 2023-11-09 14:01:52,268 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-363/.semver, universal_newlines=False, shell=None, istream=) [2023-11-09T14:01:52.499Z] 2023-11-09 14:01:52,274 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-363/.semver/PR-363 [2023-11-09T14:01:52.499Z] 0.0.0 [Pipeline] } [2023-11-09T14:01:52.508Z] $ docker exec --env ******** --env ******** e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 ssh-agent -k [2023-11-09T14:01:52.621Z] unset SSH_AUTH_SOCK; [2023-11-09T14:01:52.621Z] unset SSH_AGENT_PID; [2023-11-09T14:01:52.622Z] echo Agent pid 77 killed; [2023-11-09T14:01:52.634Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-09T14:01:52.934Z] + git semver [Pipeline] } [2023-11-09T14:01:53.205Z] $ docker stop --time=1 e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 [2023-11-09T14:01:54.675Z] $ docker rm -f --volumes e68e8c866762d33a88c57aff31aece2e15144d5276762a9f7384ff081a21c845 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:01:55.012Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-09T14:01:55.284Z] Stashed 1 file(s) [Pipeline] echo [2023-11-09T14:01:55.292Z] [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-11-09T14:01:55.410Z] provisioning config files... [2023-11-09T14:01:55.420Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config17434629466311657555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:01:55.900Z] ---> docker-login.sh [2023-11-09T14:01:55.900Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:01:55.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:55.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:55.900Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:55.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:55.900Z] [2023-11-09T14:01:55.900Z] Login Succeeded [2023-11-09T14:01:55.900Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:01:55.900Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:55.900Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:55.900Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:55.900Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:55.900Z] [2023-11-09T14:01:55.900Z] Login Succeeded [2023-11-09T14:01:56.161Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:01:56.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:56.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:56.161Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:56.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:56.161Z] [2023-11-09T14:01:56.161Z] Login Succeeded [2023-11-09T14:01:56.161Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:01:56.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:56.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:56.161Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:56.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:56.161Z] [2023-11-09T14:01:56.161Z] Login Succeeded [2023-11-09T14:01:56.161Z] docker.io [2023-11-09T14:01:56.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:01:56.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:01:56.682Z] Configure a credential helper to remove this warning. See [2023-11-09T14:01:56.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:01:56.682Z] [2023-11-09T14:01:56.682Z] Login Succeeded [2023-11-09T14:01:56.682Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:01:56.691Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T14:01:56.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:01:56.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:01:56.790Z] ========================================================= [2023-11-09T14:01:56.790Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-09T14:01:56.790Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:01:57.116Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-09T14:01:57.116Z] Sending build context to Docker daemon 10.95MB [2023-11-09T14:01:57.116Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:01:57.116Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-09T14:01:57.395Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-09T14:01:57.395Z] 7264a8db6415: Pulling fs layer [2023-11-09T14:01:57.395Z] c4d48a809fc2: Pulling fs layer [2023-11-09T14:01:57.395Z] 4f1c88b9dad5: Pulling fs layer [2023-11-09T14:01:57.395Z] ad3a456e5733: Pulling fs layer [2023-11-09T14:01:57.395Z] 33e27b845d1e: Pulling fs layer [2023-11-09T14:01:57.395Z] c68163c4e522: Pulling fs layer [2023-11-09T14:01:57.395Z] 50da416c3ac9: Pulling fs layer [2023-11-09T14:01:57.395Z] ad3a456e5733: Waiting [2023-11-09T14:01:57.395Z] c68163c4e522: Waiting [2023-11-09T14:01:57.395Z] 33e27b845d1e: Waiting [2023-11-09T14:01:57.395Z] 23d2d4c4bb30: Pulling fs layer [2023-11-09T14:01:57.395Z] 23d2d4c4bb30: Waiting [2023-11-09T14:01:57.395Z] 50da416c3ac9: Waiting [2023-11-09T14:01:57.395Z] c4d48a809fc2: Verifying Checksum [2023-11-09T14:01:57.395Z] c4d48a809fc2: Download complete [2023-11-09T14:01:57.395Z] ad3a456e5733: Verifying Checksum [2023-11-09T14:01:57.395Z] ad3a456e5733: Download complete [2023-11-09T14:01:57.395Z] 33e27b845d1e: Download complete [2023-11-09T14:01:57.395Z] 7264a8db6415: Verifying Checksum [2023-11-09T14:01:57.395Z] 7264a8db6415: Download complete [2023-11-09T14:01:57.395Z] c68163c4e522: Verifying Checksum [2023-11-09T14:01:57.395Z] c68163c4e522: Download complete [2023-11-09T14:01:57.662Z] 23d2d4c4bb30: Verifying Checksum [2023-11-09T14:01:57.662Z] 23d2d4c4bb30: Download complete [2023-11-09T14:01:57.662Z] 7264a8db6415: Pull complete [2023-11-09T14:01:57.922Z] c4d48a809fc2: Pull complete [2023-11-09T14:01:58.183Z] 4f1c88b9dad5: Verifying Checksum [2023-11-09T14:01:58.183Z] 4f1c88b9dad5: Download complete [2023-11-09T14:01:58.754Z] 50da416c3ac9: Verifying Checksum [2023-11-09T14:01:58.754Z] 50da416c3ac9: Download complete [2023-11-09T14:02:02.051Z] 4f1c88b9dad5: Pull complete [2023-11-09T14:02:02.051Z] ad3a456e5733: Pull complete [2023-11-09T14:02:02.051Z] 33e27b845d1e: Pull complete [2023-11-09T14:02:02.311Z] c68163c4e522: Pull complete [2023-11-09T14:02:04.846Z] 50da416c3ac9: Pull complete [2023-11-09T14:02:05.486Z] 23d2d4c4bb30: Pull complete [2023-11-09T14:02:05.746Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-09T14:02:05.746Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-09T14:02:06.006Z] ---> 0786185ac409 [2023-11-09T14:02:06.006Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:02:10.373Z] Still waiting to schedule task [2023-11-09T14:02:10.373Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-09T14:02:12.584Z] ---> Running in 3c777ecb08ad [2023-11-09T14:02:12.584Z] Removing intermediate container 3c777ecb08ad [2023-11-09T14:02:12.584Z] ---> b837f4d4916b [2023-11-09T14:02:12.584Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:02:12.584Z] ---> Running in c6bbfe51e914 [2023-11-09T14:02:12.584Z] Removing intermediate container c6bbfe51e914 [2023-11-09T14:02:12.584Z] ---> d52cc5b534e2 [2023-11-09T14:02:12.584Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:02:12.585Z] ---> Running in 219504ddb955 [2023-11-09T14:02:12.585Z] Removing intermediate container 219504ddb955 [2023-11-09T14:02:12.585Z] ---> 98a6822db97b [2023-11-09T14:02:12.585Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:02:12.585Z] ---> Running in be3b2227bf12 [2023-11-09T14:02:12.585Z] Removing intermediate container be3b2227bf12 [2023-11-09T14:02:12.585Z] ---> f45b370c9ec2 [2023-11-09T14:02:12.585Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:02:12.585Z] ---> Running in 9761b1ee8943 [2023-11-09T14:02:12.846Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:02:13.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:02:13.368Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T14:02:13.368Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-09T14:02:13.368Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T14:02:13.368Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T14:02:13.368Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:02:13.368Z] OK: 268 MiB in 56 packages [2023-11-09T14:02:14.320Z] Removing intermediate container 9761b1ee8943 [2023-11-09T14:02:14.320Z] ---> cf4c006c083d [2023-11-09T14:02:14.320Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-09T14:02:14.320Z] ---> Running in f3bbecce251d [2023-11-09T14:02:14.320Z] Removing intermediate container f3bbecce251d [2023-11-09T14:02:14.320Z] ---> 4dcad9250a37 [2023-11-09T14:02:14.320Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-09T14:02:14.578Z] ---> 9fe86d560b7d [2023-11-09T14:02:14.578Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:02:14.578Z] ---> Running in 0a705010b458 [2023-11-09T14:03:10.834Z] Removing intermediate container 0a705010b458 [2023-11-09T14:03:10.834Z] ---> f9cdf722eb9e [2023-11-09T14:03:10.834Z] Step 11/12 : COPY . . [2023-11-09T14:03:10.834Z] ---> f490dec31e0f [2023-11-09T14:03:10.834Z] Step 12/12 : RUN $MAKE [2023-11-09T14:03:10.834Z] ---> Running in e29e452c5204 [2023-11-09T14:03:10.834Z] noop [2023-11-09T14:03:10.834Z] Removing intermediate container e29e452c5204 [2023-11-09T14:03:10.834Z] ---> bbe9bdc75037 [2023-11-09T14:03:10.834Z] Successfully built bbe9bdc75037 [2023-11-09T14:03:10.834Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:03:11.151Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T14:03:11.151Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:03:11.224Z] prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container [2023-11-09T14:03:11.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-09T14:03:11.606Z] $ docker top 5d4b26c82ce009c676b8639f29020abd084c1c760de0a0ced27d001d615e18f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:03:11.955Z] + go version [2023-11-09T14:03:11.955Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-09T14:03:11.966Z] $ docker stop --time=1 5d4b26c82ce009c676b8639f29020abd084c1c760de0a0ced27d001d615e18f0 [2023-11-09T14:03:13.236Z] $ docker rm -f --volumes 5d4b26c82ce009c676b8639f29020abd084c1c760de0a0ced27d001d615e18f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:03:13.689Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-09T14:03:13.690Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:03:13.766Z] prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container [2023-11-09T14:03:13.797Z] $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-09T14:03:14.297Z] $ docker top 920d65d348a067622338aebca5f51da13ccae7315ec4762d98e5c78b249098f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:03:14.650Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] fileExists [Pipeline] sh [2023-11-09T14:03:15.017Z] + make test [2023-11-09T14:03:15.017Z] go test ./... -coverprofile=coverage.out ./... [2023-11-09T14:03:16.476Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-09T14:03:28.691Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-09T14:03:28.691Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2023-11-09T14:03:33.959Z] go vet ./... [2023-11-09T14:03:36.488Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T14:03:36.488Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T14:03:36.488Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T14:03:36.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T14:03:36.777Z] $ docker stop --time=1 920d65d348a067622338aebca5f51da13ccae7315ec4762d98e5c78b249098f7 [2023-11-09T14:03:42.071Z] $ docker rm -f --volumes 920d65d348a067622338aebca5f51da13ccae7315ec4762d98e5c78b249098f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:03:42.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T14:03:42.576Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-09T14:03:43.034Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T14:03:43.320Z] + ls -al . [2023-11-09T14:03:43.321Z] total 176 [2023-11-09T14:03:43.321Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 14:03 . [2023-11-09T14:03:43.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:01 .. [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:01 .dockerignore [2023-11-09T14:03:43.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:03 .git [2023-11-09T14:03:43.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:01 .github [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:01 .gitignore [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:01 .golangci.yml [2023-11-09T14:03:43.321Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:01 .semver [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:01 Attribution.txt [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 9 14:01 CHANGELOG.md [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:01 Dockerfile [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:01 GOVERNANCE.md [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:01 Jenkinsfile [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:01 LICENSE [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:01 Makefile [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:01 OWNERS.md [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:01 README.md [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 14:01 VERSION [2023-11-09T14:03:43.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:01 bin [2023-11-09T14:03:43.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:01 cmd [2023-11-09T14:03:43.321Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:03 coverage.out [2023-11-09T14:03:43.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:01 driver [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:01 go.mod [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:01 go.sum [2023-11-09T14:03:43.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:01 openapi [2023-11-09T14:03:43.321Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:03:43.638Z] + 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=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 --label arch=amd64 --label version=0.0.0 . [2023-11-09T14:03:43.638Z] Sending build context to Docker daemon 10.96MB [2023-11-09T14:03:43.638Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:03:43.638Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-09T14:03:43.638Z] ---> bbe9bdc75037 [2023-11-09T14:03:43.638Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:03:44.204Z] ---> Running in 94df5accf87e [2023-11-09T14:03:44.204Z] Removing intermediate container 94df5accf87e [2023-11-09T14:03:44.204Z] ---> 8cf724d90a00 [2023-11-09T14:03:44.204Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:03:44.204Z] ---> Running in 2638f5b27bbe [2023-11-09T14:03:44.463Z] Removing intermediate container 2638f5b27bbe [2023-11-09T14:03:44.463Z] ---> eaff794d833c [2023-11-09T14:03:44.463Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:03:44.463Z] ---> Running in 78b9d0b2812f [2023-11-09T14:03:44.463Z] Removing intermediate container 78b9d0b2812f [2023-11-09T14:03:44.463Z] ---> 17a3e817177c [2023-11-09T14:03:44.463Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:03:44.463Z] ---> Running in 4d58206999e0 [2023-11-09T14:03:44.463Z] Removing intermediate container 4d58206999e0 [2023-11-09T14:03:44.463Z] ---> 63015bde9a27 [2023-11-09T14:03:44.463Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:03:44.722Z] ---> Running in dfa02d6cd80d [2023-11-09T14:03:44.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:03:44.979Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:03:45.237Z] OK: 268 MiB in 56 packages [2023-11-09T14:03:45.496Z] Removing intermediate container dfa02d6cd80d [2023-11-09T14:03:45.496Z] ---> 08095627b553 [2023-11-09T14:03:45.496Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-09T14:03:45.496Z] ---> Running in 092be6c7372c [2023-11-09T14:03:45.496Z] Removing intermediate container 092be6c7372c [2023-11-09T14:03:45.496Z] ---> 210d074a9543 [2023-11-09T14:03:45.496Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-09T14:03:45.754Z] ---> 069648af2a8b [2023-11-09T14:03:45.754Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:03:45.754Z] ---> Running in 3902d1f65452 [2023-11-09T14:03:46.322Z] Removing intermediate container 3902d1f65452 [2023-11-09T14:03:46.322Z] ---> a12583f12c15 [2023-11-09T14:03:46.322Z] Step 11/25 : COPY . . [2023-11-09T14:03:46.891Z] ---> 72af170fba69 [2023-11-09T14:03:46.891Z] Step 12/25 : RUN $MAKE [2023-11-09T14:03:46.891Z] ---> Running in 815cbfb9d55a [2023-11-09T14:03:47.151Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-09T14:04:13.709Z] Removing intermediate container 815cbfb9d55a [2023-11-09T14:04:13.709Z] ---> 7f5b82ab3766 [2023-11-09T14:04:13.709Z] Step 13/25 : FROM alpine:3.18 [2023-11-09T14:04:13.709Z] 3.18: Pulling from library/alpine [2023-11-09T14:04:13.709Z] 96526aa774ef: Pulling fs layer [2023-11-09T14:04:13.709Z] 96526aa774ef: Verifying Checksum [2023-11-09T14:04:13.709Z] 96526aa774ef: Download complete [2023-11-09T14:04:13.709Z] 96526aa774ef: Pull complete [2023-11-09T14:04:13.709Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T14:04:13.709Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T14:04:13.709Z] ---> 8ca4688f4f35 [2023-11-09T14:04:13.709Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-09T14:04:13.709Z] ---> Running in 2e9ba33e43df [2023-11-09T14:04:13.709Z] Removing intermediate container 2e9ba33e43df [2023-11-09T14:04:13.709Z] ---> e51980423b38 [2023-11-09T14:04:13.709Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-09T14:04:13.709Z] ---> Running in f27b85e60994 [2023-11-09T14:04:13.709Z] Removing intermediate container f27b85e60994 [2023-11-09T14:04:13.709Z] ---> 2321764b6985 [2023-11-09T14:04:13.709Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-09T14:04:13.709Z] ---> Running in c6325f3f3182 [2023-11-09T14:04:13.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-09T14:04:13.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-09T14:04:13.709Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T14:04:13.709Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:04:13.709Z] OK: 7 MiB in 16 packages [2023-11-09T14:04:13.709Z] Removing intermediate container c6325f3f3182 [2023-11-09T14:04:13.709Z] ---> f7dc05483d4d [2023-11-09T14:04:13.709Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-09T14:04:13.709Z] ---> 7cb6b7e273de [2023-11-09T14:04:13.709Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-09T14:04:13.709Z] ---> 0e5c25e00358 [2023-11-09T14:04:13.709Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-09T14:04:13.709Z] ---> 74a0ab96b337 [2023-11-09T14:04:13.709Z] Step 20/25 : EXPOSE 59986 [2023-11-09T14:04:13.709Z] ---> Running in 4c69f49cc2de [2023-11-09T14:04:13.710Z] Removing intermediate container 4c69f49cc2de [2023-11-09T14:04:13.710Z] ---> 4f32fb5b3ed4 [2023-11-09T14:04:13.710Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-09T14:04:13.710Z] ---> Running in db91cf6e9907 [2023-11-09T14:04:13.710Z] Removing intermediate container db91cf6e9907 [2023-11-09T14:04:13.710Z] ---> 7a946ecea93f [2023-11-09T14:04:13.710Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T14:04:13.710Z] ---> Running in 05f426af3c43 [2023-11-09T14:04:13.969Z] Removing intermediate container 05f426af3c43 [2023-11-09T14:04:13.969Z] ---> d11c35a64f3e [2023-11-09T14:04:13.969Z] Step 23/25 : LABEL arch=amd64 [2023-11-09T14:04:13.969Z] ---> Running in ccd8a6c61f4f [2023-11-09T14:04:13.969Z] Removing intermediate container ccd8a6c61f4f [2023-11-09T14:04:13.969Z] ---> 403f975e86cb [2023-11-09T14:04:13.969Z] Step 24/25 : LABEL git_sha=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [2023-11-09T14:04:13.969Z] ---> Running in 7c80900fcc33 [2023-11-09T14:04:13.969Z] Removing intermediate container 7c80900fcc33 [2023-11-09T14:04:13.969Z] ---> 80cc3c03ae69 [2023-11-09T14:04:13.969Z] Step 25/25 : LABEL version=0.0.0 [2023-11-09T14:04:13.969Z] ---> Running in 94978f631e99 [2023-11-09T14:04:14.229Z] Removing intermediate container 94978f631e99 [2023-11-09T14:04:14.229Z] ---> c5b2d4ccabd1 [2023-11-09T14:04:14.229Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T14:04:14.229Z] Successfully built c5b2d4ccabd1 [2023-11-09T14:04:14.229Z] 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-11-09T14:04:14.648Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:04:14.648Z] [2023-11-09T14:04:14.648Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:04:14.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:04:14.957Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-09T14:04:14.957Z] 5eb5b503b376: Pulling fs layer [2023-11-09T14:04:14.957Z] 5c69ac0246d0: Pulling fs layer [2023-11-09T14:04:14.957Z] ec43610c2a17: Pulling fs layer [2023-11-09T14:04:14.957Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-09T14:04:14.957Z] 33b1e0a273af: Pulling fs layer [2023-11-09T14:04:14.957Z] 5d3b04190fa2: Pulling fs layer [2023-11-09T14:04:14.957Z] 2f39f015ded8: Pulling fs layer [2023-11-09T14:04:14.957Z] 3a2ae6a8a46f: Waiting [2023-11-09T14:04:14.957Z] 33b1e0a273af: Waiting [2023-11-09T14:04:14.957Z] 5d3b04190fa2: Waiting [2023-11-09T14:04:14.957Z] 2f39f015ded8: Waiting [2023-11-09T14:04:14.957Z] 5c69ac0246d0: Verifying Checksum [2023-11-09T14:04:14.957Z] 5c69ac0246d0: Download complete [2023-11-09T14:04:14.957Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-09T14:04:14.957Z] 3a2ae6a8a46f: Download complete [2023-11-09T14:04:14.957Z] 33b1e0a273af: Verifying Checksum [2023-11-09T14:04:14.957Z] 33b1e0a273af: Download complete [2023-11-09T14:04:14.957Z] ec43610c2a17: Verifying Checksum [2023-11-09T14:04:14.957Z] ec43610c2a17: Download complete [2023-11-09T14:04:14.957Z] 5d3b04190fa2: Verifying Checksum [2023-11-09T14:04:14.957Z] 5d3b04190fa2: Download complete [2023-11-09T14:04:15.216Z] 5eb5b503b376: Verifying Checksum [2023-11-09T14:04:15.216Z] 5eb5b503b376: Download complete [2023-11-09T14:04:15.783Z] 2f39f015ded8: Download complete [2023-11-09T14:04:16.727Z] 5eb5b503b376: Pull complete [2023-11-09T14:04:16.727Z] 5c69ac0246d0: Pull complete [2023-11-09T14:04:16.985Z] ec43610c2a17: Pull complete [2023-11-09T14:04:17.244Z] 3a2ae6a8a46f: Pull complete [2023-11-09T14:04:17.244Z] 33b1e0a273af: Pull complete [2023-11-09T14:04:17.502Z] 5d3b04190fa2: Pull complete [2023-11-09T14:04:21.697Z] 2f39f015ded8: Pull complete [2023-11-09T14:04:21.697Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-09T14:04:21.697Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:04:21.697Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:04:21.786Z] prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container [2023-11-09T14:04:21.820Z] $ 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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-09T14:04:27.879Z] $ docker top d6858c3fea15b216ec851ef0d2a27e15ba6314755731ffb87ef3d34552dd68ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:04:28.250Z] ---> job-cost.sh [2023-11-09T14:04:28.250Z] lf-activate-venv: SKIPPING [2023-11-09T14:04:28.250Z] INFO: No Stack... [2023-11-09T14:04:28.509Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T14:04:29.075Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T14:04:29.368Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-363/archives/cost.csv [2023-11-09T14:04:29.368Z] + cut -d, -f6 [Pipeline] lock [2023-11-09T14:04:29.383Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [2023-11-09T14:04:29.390Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] did not exist. Created. [2023-11-09T14:04:29.390Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T14:04:29.695Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-09T14:04:29.720Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T14:04:29.727Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T14:04:29.737Z] $ docker stop --time=1 d6858c3fea15b216ec851ef0d2a27e15ba6314755731ffb87ef3d34552dd68ba [2023-11-09T14:04:30.936Z] $ docker rm -f --volumes d6858c3fea15b216ec851ef0d2a27e15ba6314755731ffb87ef3d34552dd68ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-09T14:05:10.138Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17136 in /w/workspace/gexfoundry_device-rest-go_PR-363 [Pipeline] { [Pipeline] ws [2023-11-09T14:05:10.155Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-11-09T14:05:10.198Z] The recommended git tool is: git [2023-11-09T14:05:16.234Z] using credential edgex-jenkins-ssh [2023-11-09T14:05:16.254Z] Cloning the remote Git repository [2023-11-09T14:05:16.301Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T14:05:16.410Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-11-09T14:05:16.577Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T14:05:16.579Z] > git --version # timeout=10 [2023-11-09T14:05:16.604Z] > git --version # 'git version 2.25.1' [2023-11-09T14:05:16.607Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T14:05:16.768Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T14:05:18.795Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-09T14:05:18.821Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-09T14:05:19.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-11-09T14:05:19.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-11-09T14:05:19.832Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T14:05:19.849Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/363/head:refs/remotes/origin/PR-363 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-09T14:05:20.485Z] Merging remotes/origin/main commit 63560b1f091cdd18f74439d048f83e61f0721fcd into PR head commit 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [2023-11-09T14:05:20.791Z] Merge succeeded, producing 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [2023-11-09T14:05:20.791Z] Checking out Revision 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 (PR-363) [2023-11-09T14:05:21.300Z] Commit message: "build(deps): Bump github.com/labstack/echo/v4 from 4.11.2 to 4.11.3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:05:20.505Z] > git config core.sparsecheckout # timeout=10 [2023-11-09T14:05:20.584Z] > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 [2023-11-09T14:05:20.679Z] > git remote # timeout=10 [2023-11-09T14:05:20.700Z] > git config --get remote.origin.url # timeout=10 [2023-11-09T14:05:20.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-09T14:05:20.740Z] > git merge 63560b1f091cdd18f74439d048f83e61f0721fcd # timeout=10 [2023-11-09T14:05:20.768Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-09T14:05:20.798Z] > git config core.sparsecheckout # timeout=10 [2023-11-09T14:05:20.815Z] > git checkout -f 76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 # timeout=10 [2023-11-09T14:05:22.250Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-09T14:05:22.250Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T14:05:22.250Z] Dload Upload Total Spent Left Speed [2023-11-09T14:05:22.250Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 203k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2023-11-09T14:05:22.842Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-09T14:05:23.185Z] + sudo tee /etc/docker/daemon.new [2023-11-09T14:05:23.185Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-09T14:05:23.185Z] { [2023-11-09T14:05:23.185Z] "registry-mirrors": [ [2023-11-09T14:05:23.185Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-09T14:05:23.185Z] ], [2023-11-09T14:05:23.185Z] "bip": "10.250.0.254/24", [2023-11-09T14:05:23.185Z] "hosts": [ [2023-11-09T14:05:23.185Z] "tcp://0.0.0.0:5555", [2023-11-09T14:05:23.185Z] "unix:///var/run/docker.sock" [2023-11-09T14:05:23.185Z] ], [2023-11-09T14:05:23.185Z] "mtu": 1458, [2023-11-09T14:05:23.185Z] "selinux-enabled": true, [2023-11-09T14:05:23.185Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-09T14:05:23.185Z] } [Pipeline] sh [2023-11-09T14:05:23.523Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-09T14:05:23.861Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:05:42.157Z] provisioning config files... [2023-11-09T14:05:42.183Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config3579037006644060225tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:05:42.550Z] ---> docker-login.sh [2023-11-09T14:05:42.550Z] nexus3.edgexfoundry.org:10001 [2023-11-09T14:05:43.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:05:43.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:05:43.144Z] Configure a credential helper to remove this warning. See [2023-11-09T14:05:43.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:05:43.144Z] [2023-11-09T14:05:43.145Z] Login Succeeded [2023-11-09T14:05:43.145Z] nexus3.edgexfoundry.org:10002 [2023-11-09T14:05:43.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:05:43.705Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:05:43.706Z] Configure a credential helper to remove this warning. See [2023-11-09T14:05:43.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:05:43.706Z] [2023-11-09T14:05:43.706Z] Login Succeeded [2023-11-09T14:05:43.706Z] nexus3.edgexfoundry.org:10003 [2023-11-09T14:05:43.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:05:43.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:05:43.975Z] Configure a credential helper to remove this warning. See [2023-11-09T14:05:43.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:05:43.975Z] [2023-11-09T14:05:43.975Z] Login Succeeded [2023-11-09T14:05:43.975Z] nexus3.edgexfoundry.org:10004 [2023-11-09T14:05:44.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:05:44.246Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:05:44.246Z] Configure a credential helper to remove this warning. See [2023-11-09T14:05:44.246Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:05:44.246Z] [2023-11-09T14:05:44.246Z] Login Succeeded [2023-11-09T14:05:44.246Z] docker.io [2023-11-09T14:05:44.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-09T14:05:45.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-09T14:05:45.131Z] Configure a credential helper to remove this warning. See [2023-11-09T14:05:45.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-09T14:05:45.131Z] [2023-11-09T14:05:45.131Z] Login Succeeded [2023-11-09T14:05:45.131Z] ---> docker-login.sh ends [Pipeline] } [2023-11-09T14:05:45.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-09T14:05:45.435Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:05:45.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-09T14:05:45.473Z] ========================================================= [2023-11-09T14:05:45.473Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-09T14:05:45.473Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:05:45.829Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-09T14:05:45.829Z] Sending build context to Docker daemon 125.4kB [2023-11-09T14:05:46.103Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:05:46.103Z] Step 2/12 : FROM ${BASE} AS builder [2023-11-09T14:05:46.103Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-09T14:05:46.103Z] 9fda8d8052c6: Pulling fs layer [2023-11-09T14:05:46.103Z] 5d54e960e981: Pulling fs layer [2023-11-09T14:05:46.103Z] c4a7e357bf2a: Pulling fs layer [2023-11-09T14:05:46.103Z] f0e02332f6b5: Pulling fs layer [2023-11-09T14:05:46.103Z] cefa15bbcfad: Pulling fs layer [2023-11-09T14:05:46.103Z] 17808c966233: Pulling fs layer [2023-11-09T14:05:46.103Z] f4c1fc716caa: Pulling fs layer [2023-11-09T14:05:46.103Z] cefa15bbcfad: Waiting [2023-11-09T14:05:46.103Z] 17808c966233: Waiting [2023-11-09T14:05:46.103Z] f4c1fc716caa: Waiting [2023-11-09T14:05:46.103Z] f0e02332f6b5: Waiting [2023-11-09T14:05:46.374Z] 5d54e960e981: Verifying Checksum [2023-11-09T14:05:46.374Z] 5d54e960e981: Download complete [2023-11-09T14:05:46.374Z] f0e02332f6b5: Verifying Checksum [2023-11-09T14:05:46.374Z] f0e02332f6b5: Download complete [2023-11-09T14:05:46.374Z] cefa15bbcfad: Verifying Checksum [2023-11-09T14:05:46.374Z] cefa15bbcfad: Download complete [2023-11-09T14:05:46.374Z] 9fda8d8052c6: Verifying Checksum [2023-11-09T14:05:46.374Z] 9fda8d8052c6: Download complete [2023-11-09T14:05:46.980Z] f4c1fc716caa: Verifying Checksum [2023-11-09T14:05:46.980Z] f4c1fc716caa: Download complete [2023-11-09T14:05:47.251Z] 9fda8d8052c6: Pull complete [2023-11-09T14:05:47.848Z] 5d54e960e981: Pull complete [2023-11-09T14:05:48.123Z] c4a7e357bf2a: Verifying Checksum [2023-11-09T14:05:48.123Z] c4a7e357bf2a: Download complete [2023-11-09T14:05:49.090Z] 17808c966233: Verifying Checksum [2023-11-09T14:05:49.090Z] 17808c966233: Download complete [2023-11-09T14:06:01.436Z] c4a7e357bf2a: Pull complete [2023-11-09T14:06:01.436Z] f0e02332f6b5: Pull complete [2023-11-09T14:06:01.436Z] cefa15bbcfad: Pull complete [2023-11-09T14:06:09.761Z] 17808c966233: Pull complete [2023-11-09T14:06:10.357Z] f4c1fc716caa: Pull complete [2023-11-09T14:06:10.357Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-09T14:06:10.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-09T14:06:10.357Z] ---> ea914061e18c [2023-11-09T14:06:10.357Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:06:11.781Z] ---> Running in cbd36786c24a [2023-11-09T14:06:12.054Z] Removing intermediate container cbd36786c24a [2023-11-09T14:06:12.054Z] ---> 494b2248f657 [2023-11-09T14:06:12.054Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:06:12.054Z] ---> Running in 48f59fdc310e [2023-11-09T14:06:12.323Z] Removing intermediate container 48f59fdc310e [2023-11-09T14:06:12.323Z] ---> cec27c9a068b [2023-11-09T14:06:12.323Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:06:12.591Z] ---> Running in 3825f87dc019 [2023-11-09T14:06:12.861Z] Removing intermediate container 3825f87dc019 [2023-11-09T14:06:12.861Z] ---> 7e21ab9e9a2a [2023-11-09T14:06:12.861Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:06:12.861Z] ---> Running in 6d2f857b8ba3 [2023-11-09T14:06:13.456Z] Removing intermediate container 6d2f857b8ba3 [2023-11-09T14:06:13.456Z] ---> f89f71a16792 [2023-11-09T14:06:13.456Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:06:13.456Z] ---> Running in 7b9ae2c3bba5 [2023-11-09T14:06:14.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:06:15.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:06:16.113Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-11-09T14:06:16.384Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-11-09T14:06:16.384Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-11-09T14:06:16.384Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-11-09T14:06:16.384Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:06:16.384Z] OK: 270 MiB in 56 packages [2023-11-09T14:06:20.656Z] Removing intermediate container 7b9ae2c3bba5 [2023-11-09T14:06:20.656Z] ---> 725256f47f91 [2023-11-09T14:06:20.656Z] Step 8/12 : WORKDIR /device-rest-go [2023-11-09T14:06:20.656Z] ---> Running in e6489eac7355 [2023-11-09T14:06:21.243Z] Removing intermediate container e6489eac7355 [2023-11-09T14:06:21.243Z] ---> 7ab19b789fe8 [2023-11-09T14:06:21.243Z] Step 9/12 : COPY go.mod vendor* ./ [2023-11-09T14:06:21.514Z] ---> 6f8c8311783e [2023-11-09T14:06:21.514Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:06:21.786Z] ---> Running in 0ad19ec9e9d7 [2023-11-09T14:07:43.479Z] Removing intermediate container 0ad19ec9e9d7 [2023-11-09T14:07:43.479Z] ---> 8af51972b812 [2023-11-09T14:07:43.479Z] Step 11/12 : COPY . . [2023-11-09T14:07:43.479Z] ---> cea145691398 [2023-11-09T14:07:43.479Z] Step 12/12 : RUN $MAKE [2023-11-09T14:07:43.479Z] ---> Running in 50ac03bedfd5 [2023-11-09T14:07:43.479Z] noop [2023-11-09T14:07:43.479Z] Removing intermediate container 50ac03bedfd5 [2023-11-09T14:07:43.479Z] ---> dca8094c8d37 [2023-11-09T14:07:43.479Z] Successfully built dca8094c8d37 [2023-11-09T14:07:43.479Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:07:43.850Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T14:07:43.850Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:07:44.053Z] prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container [2023-11-09T14:07:44.133Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-09T14:07:48.070Z] $ docker top f4eddf7a47c9b22588536ca49cffb3841f4fb3ad30de95e41642a1218a46c6b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:07:48.920Z] + go version [2023-11-09T14:07:48.920Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-09T14:07:48.947Z] $ docker stop --time=1 f4eddf7a47c9b22588536ca49cffb3841f4fb3ad30de95e41642a1218a46c6b2 [2023-11-09T14:07:50.611Z] $ docker rm -f --volumes f4eddf7a47c9b22588536ca49cffb3841f4fb3ad30de95e41642a1218a46c6b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:07:51.182Z] + docker inspect -f . ci-base-image-arm64 [2023-11-09T14:07:51.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:07:51.378Z] prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container [2023-11-09T14:07:51.474Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-09T14:07:52.716Z] $ docker top 5c290ac55306cb4a8ff42ea03ef4d02f20292c38de857711b57434f215748a72 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:07:53.549Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-09T14:07:53.886Z] + make test [2023-11-09T14:07:54.163Z] go test ./... -coverprofile=coverage.out ./... [2023-11-09T14:07:58.435Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-11-09T14:09:50.147Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-11-09T14:09:50.147Z] ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements [2023-11-09T14:09:50.147Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-09T14:09:50.147Z] go vet ./... [2023-11-09T14:10:12.234Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-09T14:10:12.234Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-09T14:10:12.234Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-09T14:10:12.261Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-09T14:10:12.284Z] $ docker stop --time=1 5c290ac55306cb4a8ff42ea03ef4d02f20292c38de857711b57434f215748a72 [2023-11-09T14:10:14.188Z] $ docker rm -f --volumes 5c290ac55306cb4a8ff42ea03ef4d02f20292c38de857711b57434f215748a72 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-09T14:10:15.528Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-09T14:10:15.554Z] Warning: overwriting stash ‘coverage-report’ [2023-11-09T14:10:16.075Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-09T14:10:16.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-09T14:10:16.782Z] + ls -al . [2023-11-09T14:10:16.782Z] total 172 [2023-11-09T14:10:16.782Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:07 . [2023-11-09T14:10:16.782Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 14:05 .. [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 9 14:05 .dockerignore [2023-11-09T14:10:16.782Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 14:05 .git [2023-11-09T14:10:16.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:05 .github [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 9 14:05 .gitignore [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 14:05 .golangci.yml [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 10300 Nov 9 14:05 Attribution.txt [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 15709 Nov 9 14:05 CHANGELOG.md [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 1578 Nov 9 14:05 Dockerfile [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 14:05 GOVERNANCE.md [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 9 14:05 Jenkinsfile [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 14:05 LICENSE [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 2010 Nov 9 14:05 Makefile [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 14:05 OWNERS.md [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 9 14:05 README.md [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 14:01 VERSION [2023-11-09T14:10:16.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:05 bin [2023-11-09T14:10:16.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:05 cmd [2023-11-09T14:10:16.782Z] -rw-r--r-- 1 jenkins jenkins 14499 Nov 9 14:09 coverage.out [2023-11-09T14:10:16.782Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 14:05 driver [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 3844 Nov 9 14:05 go.mod [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 35000 Nov 9 14:05 go.sum [2023-11-09T14:10:16.782Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 14:05 openapi [2023-11-09T14:10:16.782Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 9 14:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:10:17.118Z] + 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=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 --label arch=arm64 --label version=0.0.0 . [2023-11-09T14:10:17.118Z] Sending build context to Docker daemon 140.8kB [2023-11-09T14:10:17.389Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-11-09T14:10:17.389Z] Step 2/25 : FROM ${BASE} AS builder [2023-11-09T14:10:17.389Z] ---> dca8094c8d37 [2023-11-09T14:10:17.389Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-11-09T14:10:17.389Z] ---> Running in fc40ace89752 [2023-11-09T14:10:17.655Z] Removing intermediate container fc40ace89752 [2023-11-09T14:10:17.655Z] ---> fc83165338a4 [2023-11-09T14:10:17.655Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-11-09T14:10:17.926Z] ---> Running in 2be8549fe842 [2023-11-09T14:10:18.194Z] Removing intermediate container 2be8549fe842 [2023-11-09T14:10:18.194Z] ---> fd69cfc2df98 [2023-11-09T14:10:18.194Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-11-09T14:10:18.194Z] ---> Running in 4b18d0e959f0 [2023-11-09T14:10:18.460Z] Removing intermediate container 4b18d0e959f0 [2023-11-09T14:10:18.461Z] ---> 621bbc33e3c2 [2023-11-09T14:10:18.461Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-11-09T14:10:18.461Z] ---> Running in 4ae82acf95b3 [2023-11-09T14:10:18.731Z] Removing intermediate container 4ae82acf95b3 [2023-11-09T14:10:18.731Z] ---> 1ecc852826ef [2023-11-09T14:10:18.731Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-11-09T14:10:18.999Z] ---> Running in de3a6741b006 [2023-11-09T14:10:19.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:10:20.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:10:21.636Z] OK: 270 MiB in 56 packages [2023-11-09T14:10:26.985Z] Removing intermediate container de3a6741b006 [2023-11-09T14:10:26.985Z] ---> 66360a7a7a05 [2023-11-09T14:10:26.985Z] Step 8/25 : WORKDIR /device-rest-go [2023-11-09T14:10:26.985Z] ---> Running in 070c5e80615b [2023-11-09T14:10:26.985Z] Removing intermediate container 070c5e80615b [2023-11-09T14:10:26.985Z] ---> 46965d4161fd [2023-11-09T14:10:26.985Z] Step 9/25 : COPY go.mod vendor* ./ [2023-11-09T14:10:26.985Z] ---> 7e0fbf99c526 [2023-11-09T14:10:26.985Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-09T14:10:27.257Z] ---> Running in 3a650d852fcf [2023-11-09T14:10:29.208Z] Removing intermediate container 3a650d852fcf [2023-11-09T14:10:29.208Z] ---> 91956eae7e28 [2023-11-09T14:10:29.208Z] Step 11/25 : COPY . . [2023-11-09T14:10:29.795Z] ---> 24107a1c4c57 [2023-11-09T14:10:29.795Z] Step 12/25 : RUN $MAKE [2023-11-09T14:10:29.795Z] ---> Running in 4b26986cf66a [2023-11-09T14:10:30.760Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-11-09T14:12:22.701Z] Removing intermediate container 4b26986cf66a [2023-11-09T14:12:22.701Z] ---> afd661bc69d4 [2023-11-09T14:12:22.701Z] Step 13/25 : FROM alpine:3.18 [2023-11-09T14:12:22.701Z] 3.18: Pulling from library/alpine [2023-11-09T14:12:22.701Z] 579b34f0a95b: Pulling fs layer [2023-11-09T14:12:22.701Z] 579b34f0a95b: Verifying Checksum [2023-11-09T14:12:22.701Z] 579b34f0a95b: Download complete [2023-11-09T14:12:22.701Z] 579b34f0a95b: Pull complete [2023-11-09T14:12:22.701Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-09T14:12:22.701Z] Status: Downloaded newer image for alpine:3.18 [2023-11-09T14:12:22.701Z] ---> 3cc203321400 [2023-11-09T14:12:22.701Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-09T14:12:22.701Z] ---> Running in 6db844469fe2 [2023-11-09T14:12:22.701Z] Removing intermediate container 6db844469fe2 [2023-11-09T14:12:22.701Z] ---> 2c67040860e9 [2023-11-09T14:12:22.701Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-11-09T14:12:22.701Z] ---> Running in 79d603bb5361 [2023-11-09T14:12:22.701Z] Removing intermediate container 79d603bb5361 [2023-11-09T14:12:22.701Z] ---> 91daa4d8f489 [2023-11-09T14:12:22.701Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-11-09T14:12:22.701Z] ---> Running in cfbdccc43729 [2023-11-09T14:12:22.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-09T14:12:23.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-09T14:12:24.541Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-09T14:12:24.541Z] Executing busybox-1.36.1-r2.trigger [2023-11-09T14:12:24.541Z] OK: 8 MiB in 16 packages [2023-11-09T14:12:25.512Z] Removing intermediate container cfbdccc43729 [2023-11-09T14:12:25.512Z] ---> a774e34e7eff [2023-11-09T14:12:25.512Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-11-09T14:12:27.456Z] ---> da3fbc80891d [2023-11-09T14:12:27.456Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-11-09T14:12:27.722Z] ---> f9a4e268ba1f [2023-11-09T14:12:27.722Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-11-09T14:12:28.312Z] ---> 78d997e927fc [2023-11-09T14:12:28.312Z] Step 20/25 : EXPOSE 59986 [2023-11-09T14:12:28.312Z] ---> Running in fd62963fd935 [2023-11-09T14:12:28.578Z] Removing intermediate container fd62963fd935 [2023-11-09T14:12:28.578Z] ---> d0eb3d5dca47 [2023-11-09T14:12:28.578Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-11-09T14:12:28.578Z] ---> Running in 2c43d7368258 [2023-11-09T14:12:28.845Z] Removing intermediate container 2c43d7368258 [2023-11-09T14:12:28.845Z] ---> 905861dfbc1e [2023-11-09T14:12:28.845Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-11-09T14:12:28.845Z] ---> Running in 605a23900179 [2023-11-09T14:12:29.435Z] Removing intermediate container 605a23900179 [2023-11-09T14:12:29.435Z] ---> 767237de7013 [2023-11-09T14:12:29.435Z] Step 23/25 : LABEL arch=arm64 [2023-11-09T14:12:29.435Z] ---> Running in 91605de775c4 [2023-11-09T14:12:29.703Z] Removing intermediate container 91605de775c4 [2023-11-09T14:12:29.703Z] ---> ce17bacf91ac [2023-11-09T14:12:29.703Z] Step 24/25 : LABEL git_sha=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [2023-11-09T14:12:29.703Z] ---> Running in 1bbd49381c32 [2023-11-09T14:12:29.975Z] Removing intermediate container 1bbd49381c32 [2023-11-09T14:12:29.975Z] ---> 793b646ae87d [2023-11-09T14:12:29.975Z] Step 25/25 : LABEL version=0.0.0 [2023-11-09T14:12:30.246Z] ---> Running in e0ae8e291777 [2023-11-09T14:12:30.514Z] Removing intermediate container e0ae8e291777 [2023-11-09T14:12:30.514Z] ---> daf7482aaffd [2023-11-09T14:12:30.514Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-09T14:12:30.514Z] Successfully built daf7482aaffd [2023-11-09T14:12:30.514Z] 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-11-09T14:12:30.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:12:30.974Z] [2023-11-09T14:12:30.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:12:31.309Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:12:31.893Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-09T14:12:31.893Z] 8998bd30e6a1: Pulling fs layer [2023-11-09T14:12:31.893Z] 04944245beec: Pulling fs layer [2023-11-09T14:12:31.893Z] 699f458cf7ca: Pulling fs layer [2023-11-09T14:12:31.893Z] 765212b225bb: Pulling fs layer [2023-11-09T14:12:31.893Z] f23df028b6ca: Pulling fs layer [2023-11-09T14:12:31.893Z] d65c8cfc05b1: Pulling fs layer [2023-11-09T14:12:31.893Z] 2437ff75d9bd: Pulling fs layer [2023-11-09T14:12:31.893Z] f23df028b6ca: Waiting [2023-11-09T14:12:31.893Z] 765212b225bb: Waiting [2023-11-09T14:12:31.893Z] d65c8cfc05b1: Waiting [2023-11-09T14:12:31.893Z] 2437ff75d9bd: Waiting [2023-11-09T14:12:31.893Z] 04944245beec: Verifying Checksum [2023-11-09T14:12:31.893Z] 04944245beec: Download complete [2023-11-09T14:12:31.893Z] 765212b225bb: Download complete [2023-11-09T14:12:31.893Z] f23df028b6ca: Verifying Checksum [2023-11-09T14:12:31.893Z] f23df028b6ca: Download complete [2023-11-09T14:12:31.893Z] d65c8cfc05b1: Verifying Checksum [2023-11-09T14:12:31.893Z] d65c8cfc05b1: Download complete [2023-11-09T14:12:32.160Z] 699f458cf7ca: Verifying Checksum [2023-11-09T14:12:32.160Z] 699f458cf7ca: Download complete [2023-11-09T14:12:32.427Z] 8998bd30e6a1: Verifying Checksum [2023-11-09T14:12:32.427Z] 8998bd30e6a1: Download complete [2023-11-09T14:12:35.014Z] 2437ff75d9bd: Verifying Checksum [2023-11-09T14:12:35.014Z] 2437ff75d9bd: Download complete [2023-11-09T14:12:36.957Z] 8998bd30e6a1: Pull complete [2023-11-09T14:12:37.225Z] 04944245beec: Pull complete [2023-11-09T14:12:39.166Z] 699f458cf7ca: Pull complete [2023-11-09T14:12:39.166Z] 765212b225bb: Pull complete [2023-11-09T14:12:39.747Z] f23df028b6ca: Pull complete [2023-11-09T14:12:40.015Z] d65c8cfc05b1: Pull complete [2023-11-09T14:12:58.221Z] 2437ff75d9bd: Pull complete [2023-11-09T14:12:58.221Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-09T14:12:58.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-09T14:12:58.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:12:58.398Z] prd-ubuntu20.04-docker-arm64-4c-16g-17136 does not seem to be running inside a container [2023-11-09T14:12:58.472Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-09T14:13:01.069Z] $ docker top 1b76fc5915882c5b7ff6f9891a6065809a21aa6b4bcd5bc581c89aef0f8786e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:01.885Z] ---> job-cost.sh [2023-11-09T14:13:01.885Z] lf-activate-venv: SKIPPING [2023-11-09T14:13:01.885Z] INFO: No Stack... [2023-11-09T14:13:02.155Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-09T14:13:03.120Z] INFO: Archiving Costs [Pipeline] sh [2023-11-09T14:13:03.754Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-11-09T14:13:03.755Z] + cut -d, -f6 [Pipeline] lock [2023-11-09T14:13:03.791Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [2023-11-09T14:13:03.801Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] did not exist. Created. [2023-11-09T14:13:03.801Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-09T14:13:04.141Z] /w/workspace/device-rest-go/2@tmp/durable-6eb7418d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-09T14:13:04.790Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-09T14:13:04.813Z] Warning: overwriting stash ‘stack-cost’ [2023-11-09T14:13:04.857Z] Stashed 1 file(s) [Pipeline] } [2023-11-09T14:13:04.865Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-363-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-09T14:13:04.892Z] $ docker stop --time=1 1b76fc5915882c5b7ff6f9891a6065809a21aa6b4bcd5bc581c89aef0f8786e0 [2023-11-09T14:13:06.408Z] $ docker rm -f --volumes 1b76fc5915882c5b7ff6f9891a6065809a21aa6b4bcd5bc581c89aef0f8786e0 [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-11-09T14:13:06.784Z] provisioning config files... [2023-11-09T14:13:06.793Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config11140986679458023571tmp [Pipeline] { [Pipeline] sh [2023-11-09T14:13:07.174Z] + set +x [2023-11-09T14:13:07.174Z] + + bash -s -- [2023-11-09T14:13:07.174Z] curl -s https://codecov.io/bash [2023-11-09T14:13:07.174Z] [2023-11-09T14:13:07.174Z] _____ _ [2023-11-09T14:13:07.174Z] / ____| | | [2023-11-09T14:13:07.174Z] | | ___ __| | ___ ___ _____ __ [2023-11-09T14:13:07.174Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-09T14:13:07.174Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-09T14:13:07.174Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-09T14:13:07.174Z] Bash-1.0.6 [2023-11-09T14:13:07.174Z] [2023-11-09T14:13:07.174Z] [2023-11-09T14:13:07.174Z] ==> git version 2.25.1 found [2023-11-09T14:13:07.174Z] ==> 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-11-09T14:13:07.174Z] Release-Date: 2020-01-08 [2023-11-09T14:13:07.174Z] 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-11-09T14:13:07.174Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-09T14:13:07.174Z] ==> Jenkins CI detected. [2023-11-09T14:13:07.174Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-363 [2023-11-09T14:13:07.174Z] project root: . [2023-11-09T14:13:07.174Z] --> token set from env [2023-11-09T14:13:07.174Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-09T14:13:07.174Z] ==> Running gcov in . (disable via -X gcov) [2023-11-09T14:13:07.174Z] ==> Python coveragepy not found [2023-11-09T14:13:07.174Z] ==> Searching for coverage reports in: [2023-11-09T14:13:07.174Z] + . [2023-11-09T14:13:07.174Z] -> Found 1 reports [2023-11-09T14:13:07.174Z] ==> Detecting git/mercurial file structure [2023-11-09T14:13:07.174Z] ==> Reading reports [2023-11-09T14:13:07.174Z] + ./coverage.out bytes=14499 [2023-11-09T14:13:07.174Z] ==> Appending adjustments [2023-11-09T14:13:07.174Z] https://docs.codecov.io/docs/fixing-reports [2023-11-09T14:13:07.434Z] + Found adjustments [2023-11-09T14:13:07.434Z] ==> Gzipping contents [2023-11-09T14:13:07.434Z] 4.0K /tmp/codecov.A2SFyK.gz [2023-11-09T14:13:07.434Z] ==> Uploading reports [2023-11-09T14:13:07.434Z] url: https://codecov.io [2023-11-09T14:13:07.434Z] query: branch=PR-363&commit=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= [2023-11-09T14:13:07.434Z] -> Pinging Codecov [2023-11-09T14:13:07.434Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-363&commit=76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-363%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=363&job=&cmd_args= [2023-11-09T14:13:07.434Z] -> Uploading to [2023-11-09T14:13:07.434Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-09/4E5D53B4F1F92C436F7061BF334D961C/76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97/384424c5-d79a-423f-9e4c-300627c33b64.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231109T141307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0b2c94a472a341d5c00a97a1ef877644f28c30f619430f72db12e3ab3ad06920 [2023-11-09T14:13:07.434Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-09T14:13:07.434Z] Dload Upload Total Spent Left Speed [2023-11-09T14:13:07.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11490 --:--:-- --:--:-- --:--:-- 11433 100 2321 0 0 100 2321 0 9066 --:--:-- --:--:-- --:--:-- 9066 [2023-11-09T14:13:07.695Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/76b6fa09e979bb4ac18ee4992dfd2cc4a5026c97 [Pipeline] } [2023-11-09T14:13:07.707Z] 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-11-09T14:13:08.421Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-363/archives ] [2023-11-09T14:13:08.422Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives [2023-11-09T14:13:08.422Z] total 16 [2023-11-09T14:13:08.422Z] drwxr-xr-x 3 root root 4096 Nov 9 14:04 . [2023-11-09T14:13:08.422Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:04 .. [2023-11-09T14:13:08.422Z] drwxr-xr-x 2 root root 4096 Nov 9 14:04 cost [2023-11-09T14:13:08.422Z] -rw-r--r-- 1 root root 86 Nov 9 14:04 cost.csv [2023-11-09T14:13:08.422Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-363/archives [2023-11-09T14:13:08.422Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-363/archives [2023-11-09T14:13:08.422Z] total 16 [2023-11-09T14:13:08.422Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 14:04 . [2023-11-09T14:13:08.422Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 14:04 .. [2023-11-09T14:13:08.422Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 14:04 cost [2023-11-09T14:13:08.422Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 9 14:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:08.721Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:09.582Z] ---> package-listing.sh [2023-11-09T14:13:09.583Z] ++ facter osfamily [2023-11-09T14:13:09.583Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-09T14:13:09.842Z] + OS_FAMILY=debian [2023-11-09T14:13:09.842Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-363 [2023-11-09T14:13:09.842Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-09T14:13:09.842Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-09T14:13:09.842Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-09T14:13:09.842Z] + PACKAGES=/tmp/packages_start.txt [2023-11-09T14:13:09.842Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' [2023-11-09T14:13:09.842Z] + PACKAGES=/tmp/packages_end.txt [2023-11-09T14:13:09.842Z] + case "${OS_FAMILY}" in [2023-11-09T14:13:09.842Z] + dpkg -l [2023-11-09T14:13:09.842Z] + grep '^ii' [2023-11-09T14:13:09.842Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-09T14:13:09.842Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-09T14:13:09.842Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-09T14:13:09.842Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-363 ']' [2023-11-09T14:13:09.842Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ [2023-11-09T14:13:09.842Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-363/archives/ [Pipeline] echo [2023-11-09T14:13:09.854Z] 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-363/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-09T14:13:10.133Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-09T14:13:10.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-09T14:13:10.701Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-09T14:13:10.777Z] prd-ubuntu20.04-docker-8c-8g-17133 does not seem to be running inside a container [2023-11-09T14:13:10.801Z] $ 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-363/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-363 -v /w/workspace/gexfoundry_device-rest-go_PR-363:/w/workspace/gexfoundry_device-rest-go_PR-363:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-363@tmp:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-09T14:13:11.012Z] $ docker top 505fbe55e48a8c702c7a54e64dd47c54f007242b28cb3fdeb3dfc3627f118181 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-09T14:13:11.373Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-09T14:13:11.658Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-09T14:13:11.944Z] + ls /var/log/sa-host [2023-11-09T14:13:11.944Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-09T14:13:12.006Z] provisioning config files... [2023-11-09T14:13:12.015Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-363@tmp/config12344466076155193823tmp [Pipeline] { [Pipeline] echo [2023-11-09T14:13:12.030Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:12.314Z] ---> create-netrc.sh [Pipeline] } [2023-11-09T14:13:12.322Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:12.649Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-09T14:13:12.658Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:12.943Z] ---> sudo-logs.sh [2023-11-09T14:13:12.943Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-09T14:13:12.964Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:13.246Z] ---> job-cost.sh [2023-11-09T14:13:13.246Z] lf-activate-venv: SKIPPING [2023-11-09T14:13:13.246Z] DEBUG: total: 0.2199999988079071 [2023-11-09T14:13:13.246Z] INFO: Retrieving Stack Cost... [2023-11-09T14:13:13.505Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-09T14:13:14.073Z] INFO: Archiving Costs [Pipeline] echo [2023-11-09T14:13:14.085Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-09T14:13:14.390Z] ---> logs-deploy.sh [2023-11-09T14:13:14.391Z] lf-activate-venv: SKIPPING [2023-11-09T14:13:14.391Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-363/2 [2023-11-09T14:13:14.391Z] INFO: archiving workspace using pattern(s): [2023-11-09T14:13:15.327Z] Archives upload complete. [2023-11-09T14:13:15.327Z] INFO: archiving logs to Nexus