Pull request #302 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857+d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 (271c1fa3360109a6d26947aa9e48a50de7140d3b) 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-ssh13118166073275447295.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11637244863935498456.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4221751158141767576.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-302/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11499496685397087582.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4493465635426634433.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-302/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13327347192454649671.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11073 in /w/workspace/gexfoundry_device-rest-go_PR-302 [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-302 # 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 d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 Merge succeeded, producing fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 Checking out Revision fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 (PR-302) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > 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/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 # 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 d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 # timeout=10 [Pipeline] timeout [2023-04-26T20:59:48.146Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-26T20:59:48.324Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-26T20:59:48.421Z] ========================================================= [2023-04-26T20:59:48.421Z] EdgeX Global Pipelines Version Info [2023-04-26T20:59:48.421Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-26T20:59:49.170Z] ------------------- [2023-04-26T20:59:49.170Z] stable info: [2023-04-26T20:59:49.170Z] ------------------- [2023-04-26T20:59:49.170Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-26T20:59:49.170Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-26T20:59:49.170Z] Message: update stable to v1.0.248 [2023-04-26T20:59:49.741Z] ------------------- [2023-04-26T20:59:49.741Z] experimental info: [2023-04-26T20:59:49.741Z] ------------------- [2023-04-26T20:59:49.741Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-26T20:59:49.741Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-26T20:59:49.741Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-26T20:59:50.032Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-26T20:59:50.077Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-26T20:59:50.118Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-26T20:59:50.156Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-26T20:59:50.196Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-26T20:59:50.233Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-26T20:59:50.273Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-26T20:59:50.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-26T20:59:50.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-26T20:59:50.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-26T20:59:50.430Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-26T20:59:50.465Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-26T20:59:50.502Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-26T20:59:50.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-26T20:59:50.615Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-26T20:59:50.669Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-26T20:59:50.709Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-26T20:59:50.752Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-26T20:59:50.790Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-26T20:59:50.830Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-26T20:59:50.871Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-26T20:59:50.914Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-26T20:59:50.955Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-26T20:59:50.993Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-26T20:59:51.032Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-26T20:59:51.076Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-26T20:59:51.119Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-26T20:59:51.171Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-302 [Pipeline] echo [2023-04-26T20:59:51.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-302 [Pipeline] echo [2023-04-26T20:59:51.248Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-302 [Pipeline] echo [2023-04-26T20:59:51.286Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] echo [2023-04-26T20:59:51.327Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fb0fe83 [Pipeline] echo [2023-04-26T20:59:51.366Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-26T20:59:51.475Z] provisioning config files... [2023-04-26T20:59:51.490Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/config9458962161620463335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T20:59:51.830Z] ---> docker-login.sh [2023-04-26T20:59:51.830Z] nexus3.edgexfoundry.org:10001 [2023-04-26T20:59:52.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T20:59:52.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T20:59:52.090Z] Configure a credential helper to remove this warning. See [2023-04-26T20:59:52.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T20:59:52.090Z] [2023-04-26T20:59:52.090Z] Login Succeeded [2023-04-26T20:59:52.090Z] nexus3.edgexfoundry.org:10002 [2023-04-26T20:59:52.090Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T20:59:52.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T20:59:52.090Z] Configure a credential helper to remove this warning. See [2023-04-26T20:59:52.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T20:59:52.090Z] [2023-04-26T20:59:52.090Z] Login Succeeded [2023-04-26T20:59:52.090Z] nexus3.edgexfoundry.org:10003 [2023-04-26T20:59:52.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T20:59:52.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T20:59:52.351Z] Configure a credential helper to remove this warning. See [2023-04-26T20:59:52.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T20:59:52.351Z] [2023-04-26T20:59:52.351Z] Login Succeeded [2023-04-26T20:59:52.351Z] nexus3.edgexfoundry.org:10004 [2023-04-26T20:59:52.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T20:59:52.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T20:59:52.351Z] Configure a credential helper to remove this warning. See [2023-04-26T20:59:52.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T20:59:52.351Z] [2023-04-26T20:59:52.351Z] Login Succeeded [2023-04-26T20:59:52.351Z] docker.io [2023-04-26T20:59:52.611Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T20:59:52.611Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T20:59:52.611Z] Configure a credential helper to remove this warning. See [2023-04-26T20:59:52.611Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T20:59:52.611Z] [2023-04-26T20:59:52.611Z] Login Succeeded [2023-04-26T20:59:52.611Z] ---> docker-login.sh ends [Pipeline] } [2023-04-26T20:59:52.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-26T20:59:53.270Z] + git rev-list -1 --merges fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857~1..fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] echo [2023-04-26T20:59:53.331Z] -----------> git rev-list -1 --merges fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857~1..fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [false] [Pipeline] sh [2023-04-26T20:59:53.640Z] + git log --format=format:%s -1 fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] echo [2023-04-26T20:59:53.679Z] ========================================================= [2023-04-26T20:59:53.679Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-26T20:59:53.679Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-26T20:59:54.118Z] + git log --format=format:%s -1 fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] echo [2023-04-26T20:59:54.151Z] [semverPrep] GIT_COMMIT: fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-04-26T20:59:54.185Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-26T20:59:54.567Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-26T20:59:54.568Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-26T20:59:54.568Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-26T20:59:54.568Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-26T20:59:54.568Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-26T20:59:54.568Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-26T20:59:54.568Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T20:59:55.013Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-26T20:59:55.013Z] [2023-04-26T20:59:55.013Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T20:59:55.397Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-26T20:59:55.397Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-26T20:59:55.397Z] b85a868b505f: Pulling fs layer [2023-04-26T20:59:55.397Z] e2be974225ed: Pulling fs layer [2023-04-26T20:59:55.397Z] 339a4e72a1f5: Pulling fs layer [2023-04-26T20:59:55.397Z] 988bab9f4d93: Pulling fs layer [2023-04-26T20:59:55.397Z] 1469e6f7b9e6: Pulling fs layer [2023-04-26T20:59:55.397Z] eaf3925da568: Pulling fs layer [2023-04-26T20:59:55.397Z] bab4dde63d76: Pulling fs layer [2023-04-26T20:59:55.397Z] bde34c3a00c8: Pulling fs layer [2023-04-26T20:59:55.397Z] b352a97aabf1: Pulling fs layer [2023-04-26T20:59:55.397Z] 4872d77fe225: Pulling fs layer [2023-04-26T20:59:55.397Z] 988bab9f4d93: Waiting [2023-04-26T20:59:55.397Z] 1469e6f7b9e6: Waiting [2023-04-26T20:59:55.397Z] b352a97aabf1: Waiting [2023-04-26T20:59:55.397Z] bde34c3a00c8: Waiting [2023-04-26T20:59:55.397Z] eaf3925da568: Waiting [2023-04-26T20:59:55.397Z] bab4dde63d76: Waiting [2023-04-26T20:59:55.397Z] 5851b861e8e6: Pulling fs layer [2023-04-26T20:59:55.397Z] 5851b861e8e6: Waiting [2023-04-26T20:59:55.397Z] e2be974225ed: Download complete [2023-04-26T20:59:55.397Z] 988bab9f4d93: Verifying Checksum [2023-04-26T20:59:55.397Z] 988bab9f4d93: Download complete [2023-04-26T20:59:55.660Z] 1469e6f7b9e6: Verifying Checksum [2023-04-26T20:59:55.660Z] 1469e6f7b9e6: Download complete [2023-04-26T20:59:55.660Z] 339a4e72a1f5: Verifying Checksum [2023-04-26T20:59:55.660Z] 339a4e72a1f5: Download complete [2023-04-26T20:59:55.660Z] eaf3925da568: Verifying Checksum [2023-04-26T20:59:55.660Z] eaf3925da568: Download complete [2023-04-26T20:59:55.660Z] bde34c3a00c8: Download complete [2023-04-26T20:59:55.660Z] b352a97aabf1: Verifying Checksum [2023-04-26T20:59:55.660Z] b352a97aabf1: Download complete [2023-04-26T20:59:55.660Z] 4872d77fe225: Download complete [2023-04-26T20:59:55.660Z] 5851b861e8e6: Verifying Checksum [2023-04-26T20:59:55.660Z] 5851b861e8e6: Download complete [2023-04-26T20:59:55.660Z] b85a868b505f: Download complete [2023-04-26T20:59:55.920Z] bab4dde63d76: Verifying Checksum [2023-04-26T20:59:55.920Z] bab4dde63d76: Download complete [2023-04-26T20:59:56.861Z] b85a868b505f: Pull complete [2023-04-26T20:59:56.861Z] e2be974225ed: Pull complete [2023-04-26T20:59:57.440Z] 339a4e72a1f5: Pull complete [2023-04-26T20:59:57.440Z] 988bab9f4d93: Pull complete [2023-04-26T20:59:57.909Z] 1469e6f7b9e6: Pull complete [2023-04-26T20:59:57.909Z] eaf3925da568: Pull complete [2023-04-26T20:59:59.291Z] bab4dde63d76: Pull complete [2023-04-26T20:59:59.552Z] bde34c3a00c8: Pull complete [2023-04-26T20:59:59.552Z] b352a97aabf1: Pull complete [2023-04-26T20:59:59.552Z] 4872d77fe225: Pull complete [2023-04-26T20:59:59.813Z] 5851b861e8e6: Pull complete [2023-04-26T20:59:59.813Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-26T20:59:59.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-26T20:59:59.813Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T21:00:00.032Z] prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container [2023-04-26T21:00:00.071Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-26T21:00:02.148Z] $ docker top 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 -eo pid,comm [2023-04-26T21:00:02.200Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-04-26T21:00:02.200Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-26T21:00:02.329Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-26T21:00:02.329Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-26T21:00:02.449Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-26T21:00:02.457Z] $ docker exec 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 ssh-agent [2023-04-26T21:00:02.555Z] SSH_AUTH_SOCK=/tmp/ssh-MOCMfXWJGP2q/agent.32 [2023-04-26T21:00:02.555Z] SSH_AGENT_PID=38 [2023-04-26T21:00:02.561Z] Running ssh-add (command line suppressed) [2023-04-26T21:00:02.671Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-302@tmp/private_key_931208502403380751.key (/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/private_key_931208502403380751.key) [2023-04-26T21:00:02.678Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-26T21:00:03.012Z] + git tag --points-at HEAD [Pipeline] } [2023-04-26T21:00:03.045Z] $ docker exec --env ******** --env ******** 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 ssh-agent -k [2023-04-26T21:00:03.139Z] unset SSH_AUTH_SOCK; [2023-04-26T21:00:03.139Z] unset SSH_AGENT_PID; [2023-04-26T21:00:03.140Z] echo Agent pid 38 killed; [2023-04-26T21:00:03.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-26T21:00:03.229Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-26T21:00:03.229Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-26T21:00:03.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-26T21:00:03.342Z] $ docker exec 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 ssh-agent [2023-04-26T21:00:03.448Z] SSH_AUTH_SOCK=/tmp/ssh-beskZdRYZp4j/agent.70 [2023-04-26T21:00:03.448Z] SSH_AGENT_PID=76 [2023-04-26T21:00:03.454Z] Running ssh-add (command line suppressed) [2023-04-26T21:00:03.571Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-302@tmp/private_key_15593816223324229697.key (/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/private_key_15593816223324229697.key) [2023-04-26T21:00:03.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-26T21:00:03.913Z] + git semver init [2023-04-26T21:00:04.174Z] 2023-04-26 21:00:04,088 [run_init] DEBUG init version:0.0.0 force:False [2023-04-26T21:00:04.174Z] 2023-04-26 21:00:04,089 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-302/.semver [2023-04-26T21:00:04.174Z] 2023-04-26 21:00:04,090 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-302/.semver [2023-04-26T21:00:04.174Z] 2023-04-26 21:00:04,090 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-302/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-302, universal_newlines=False, shell=None, istream=None) [2023-04-26T21:00:05.570Z] 2023-04-26 21:00:05,551 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-302/.git/info/exclude [2023-04-26T21:00:05.570Z] 2023-04-26 21:00:05,552 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-302/.semver/PR-302 with force:False [2023-04-26T21:00:05.570Z] 2023-04-26 21:00:05,552 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-302/.semver/PR-302 [2023-04-26T21:00:05.570Z] 2023-04-26 21:00:05,556 [execute] INFO git cat-file --batch-check [2023-04-26T21:00:05.570Z] 2023-04-26 21:00:05,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) [2023-04-26T21:00:05.570Z] 2023-04-26 21:00:05,562 [execute] INFO git cat-file --batch [2023-04-26T21:00:05.570Z] 2023-04-26 21:00:05,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-302/.semver, universal_newlines=False, shell=None, istream=) [2023-04-26T21:00:05.570Z] 2023-04-26 21:00:05,567 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-302/.semver/PR-302 [2023-04-26T21:00:05.570Z] 0.0.0 [Pipeline] } [2023-04-26T21:00:05.852Z] $ docker exec --env ******** --env ******** 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 ssh-agent -k [2023-04-26T21:00:05.953Z] unset SSH_AUTH_SOCK; [2023-04-26T21:00:05.954Z] unset SSH_AGENT_PID; [2023-04-26T21:00:05.954Z] echo Agent pid 76 killed; [2023-04-26T21:00:05.958Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-26T21:00:06.394Z] + git semver [Pipeline] } [2023-04-26T21:00:06.683Z] $ docker stop --time=1 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 [2023-04-26T21:00:07.954Z] $ docker rm -f --volumes 65d5babd9d149e999b4cd1ee0dcad91e7f4aeee6db1921e825f01b433a3e5094 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-26T21:00:08.377Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-26T21:00:08.646Z] Stashed 1 file(s) [Pipeline] echo [2023-04-26T21:00:08.664Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-26T21:00:09.296Z] provisioning config files... [2023-04-26T21:00:09.308Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/config15397796002948629906tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:00:09.655Z] ---> docker-login.sh [2023-04-26T21:00:09.655Z] nexus3.edgexfoundry.org:10001 [2023-04-26T21:00:09.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:00:09.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:00:09.655Z] Configure a credential helper to remove this warning. See [2023-04-26T21:00:09.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:00:09.655Z] [2023-04-26T21:00:09.655Z] Login Succeeded [2023-04-26T21:00:09.655Z] nexus3.edgexfoundry.org:10002 [2023-04-26T21:00:09.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:00:09.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:00:09.655Z] Configure a credential helper to remove this warning. See [2023-04-26T21:00:09.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:00:09.655Z] [2023-04-26T21:00:09.655Z] Login Succeeded [2023-04-26T21:00:09.655Z] nexus3.edgexfoundry.org:10003 [2023-04-26T21:00:09.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:00:09.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:00:09.916Z] Configure a credential helper to remove this warning. See [2023-04-26T21:00:09.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:00:09.916Z] [2023-04-26T21:00:09.916Z] Login Succeeded [2023-04-26T21:00:09.916Z] nexus3.edgexfoundry.org:10004 [2023-04-26T21:00:09.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:00:09.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:00:09.916Z] Configure a credential helper to remove this warning. See [2023-04-26T21:00:09.916Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:00:09.916Z] [2023-04-26T21:00:09.916Z] Login Succeeded [2023-04-26T21:00:09.916Z] docker.io [2023-04-26T21:00:10.175Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:00:10.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:00:10.175Z] Configure a credential helper to remove this warning. See [2023-04-26T21:00:10.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:00:10.175Z] [2023-04-26T21:00:10.175Z] Login Succeeded [2023-04-26T21:00:10.175Z] ---> docker-login.sh ends [Pipeline] } [2023-04-26T21:00:10.202Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-26T21:00:10.396Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-26T21:00:10.429Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-26T21:00:10.475Z] ========================================================= [2023-04-26T21:00:10.475Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-26T21:00:10.475Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:00:10.946Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-26T21:00:10.946Z] Sending build context to Docker daemon 10.91MB [2023-04-26T21:00:10.946Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-26T21:00:10.946Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-26T21:00:10.946Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-26T21:00:10.946Z] f56be85fc22e: Pulling fs layer [2023-04-26T21:00:10.946Z] 85791d961cd3: Pulling fs layer [2023-04-26T21:00:10.946Z] d694b5ae8c79: Pulling fs layer [2023-04-26T21:00:10.946Z] 9f32a84ed3da: Pulling fs layer [2023-04-26T21:00:10.946Z] 4d19c01a9841: Pulling fs layer [2023-04-26T21:00:10.946Z] 9325e15d5711: Pulling fs layer [2023-04-26T21:00:10.946Z] 556b6ee489ea: Pulling fs layer [2023-04-26T21:00:10.946Z] c5a4b2cf53e6: Pulling fs layer [2023-04-26T21:00:10.946Z] 9325e15d5711: Waiting [2023-04-26T21:00:10.946Z] 556b6ee489ea: Waiting [2023-04-26T21:00:10.946Z] c5a4b2cf53e6: Waiting [2023-04-26T21:00:10.946Z] 9f32a84ed3da: Waiting [2023-04-26T21:00:10.946Z] 4d19c01a9841: Waiting [2023-04-26T21:00:10.946Z] 85791d961cd3: Download complete [2023-04-26T21:00:10.946Z] 9f32a84ed3da: Download complete [2023-04-26T21:00:11.207Z] 4d19c01a9841: Verifying Checksum [2023-04-26T21:00:11.208Z] 4d19c01a9841: Download complete [2023-04-26T21:00:11.208Z] f56be85fc22e: Download complete [2023-04-26T21:00:11.208Z] 9325e15d5711: Verifying Checksum [2023-04-26T21:00:11.208Z] 9325e15d5711: Download complete [2023-04-26T21:00:11.208Z] f56be85fc22e: Pull complete [2023-04-26T21:00:11.467Z] 85791d961cd3: Pull complete [2023-04-26T21:00:11.729Z] c5a4b2cf53e6: Verifying Checksum [2023-04-26T21:00:11.729Z] c5a4b2cf53e6: Download complete [2023-04-26T21:00:11.729Z] d694b5ae8c79: Verifying Checksum [2023-04-26T21:00:11.729Z] d694b5ae8c79: Download complete [2023-04-26T21:00:11.988Z] 556b6ee489ea: Verifying Checksum [2023-04-26T21:00:11.988Z] 556b6ee489ea: Download complete [2023-04-26T21:00:15.268Z] d694b5ae8c79: Pull complete [2023-04-26T21:00:15.268Z] 9f32a84ed3da: Pull complete [2023-04-26T21:00:15.268Z] 4d19c01a9841: Pull complete [2023-04-26T21:00:15.268Z] 9325e15d5711: Pull complete [2023-04-26T21:00:17.796Z] 556b6ee489ea: Pull complete [2023-04-26T21:00:18.730Z] c5a4b2cf53e6: Pull complete [2023-04-26T21:00:18.731Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-04-26T21:00:18.731Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-26T21:00:18.731Z] ---> c4be618373d6 [2023-04-26T21:00:18.731Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-26T21:00:22.025Z] ---> Running in 60ac5a6a6690 [2023-04-26T21:00:22.025Z] Removing intermediate container 60ac5a6a6690 [2023-04-26T21:00:22.025Z] ---> da0ca6d37658 [2023-04-26T21:00:22.025Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-26T21:00:22.025Z] ---> Running in 4ad57d2f480b [2023-04-26T21:00:22.025Z] Removing intermediate container 4ad57d2f480b [2023-04-26T21:00:22.025Z] ---> eaf5238ad68d [2023-04-26T21:00:22.025Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-26T21:00:22.025Z] ---> Running in f7ae8d9fa957 [2023-04-26T21:00:22.025Z] Removing intermediate container f7ae8d9fa957 [2023-04-26T21:00:22.025Z] ---> 91df826f4a35 [2023-04-26T21:00:22.025Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-26T21:00:22.025Z] ---> Running in 843783478f6a [2023-04-26T21:00:22.025Z] Removing intermediate container 843783478f6a [2023-04-26T21:00:22.025Z] ---> 7963a814b933 [2023-04-26T21:00:22.025Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-26T21:00:22.025Z] ---> Running in 0d128fa9075e [2023-04-26T21:00:22.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-26T21:00:22.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-26T21:00:22.543Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-26T21:00:22.543Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-26T21:00:22.543Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-26T21:00:22.543Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-26T21:00:22.543Z] Executing busybox-1.35.0-r29.trigger [2023-04-26T21:00:22.543Z] OK: 269 MiB in 57 packages [2023-04-26T21:00:23.109Z] Removing intermediate container 0d128fa9075e [2023-04-26T21:00:23.109Z] ---> 136a34dff18c [2023-04-26T21:00:23.109Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-26T21:00:23.109Z] ---> Running in f2f3dfdeaace [2023-04-26T21:00:23.109Z] Removing intermediate container f2f3dfdeaace [2023-04-26T21:00:23.109Z] ---> aa1d05fb2dba [2023-04-26T21:00:23.109Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-26T21:00:23.370Z] ---> 37d6f5f5d978 [2023-04-26T21:00:23.371Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-26T21:00:23.371Z] ---> Running in 1dfcd16f5881 [2023-04-26T21:00:24.111Z] Still waiting to schedule task [2023-04-26T21:00:24.111Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-26T21:01:02.079Z] Removing intermediate container 1dfcd16f5881 [2023-04-26T21:01:02.079Z] ---> fb1b744455b9 [2023-04-26T21:01:02.079Z] Step 11/12 : COPY . . [2023-04-26T21:01:02.079Z] ---> e193cf576a01 [2023-04-26T21:01:02.079Z] Step 12/12 : RUN $MAKE [2023-04-26T21:01:02.079Z] ---> Running in 0874b29b4461 [2023-04-26T21:01:02.079Z] noop [2023-04-26T21:01:02.079Z] Removing intermediate container 0874b29b4461 [2023-04-26T21:01:02.079Z] ---> e3f60e6b13ff [2023-04-26T21:01:02.079Z] Successfully built e3f60e6b13ff [2023-04-26T21:01:02.079Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:01:02.511Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-26T21:01:02.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T21:01:02.662Z] prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container [2023-04-26T21:01:02.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-26T21:01:03.025Z] $ docker top b0cf626590efbb95c5166295765594276655f5f30f0af9dfe00bc04bff2466b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T21:01:03.411Z] + go version [2023-04-26T21:01:03.411Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-26T21:01:03.447Z] $ docker stop --time=1 b0cf626590efbb95c5166295765594276655f5f30f0af9dfe00bc04bff2466b1 [2023-04-26T21:01:04.697Z] $ docker rm -f --volumes b0cf626590efbb95c5166295765594276655f5f30f0af9dfe00bc04bff2466b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:01:05.399Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-26T21:01:05.399Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T21:01:05.565Z] prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container [2023-04-26T21:01:05.601Z] $ 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-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-26T21:01:05.913Z] $ docker top a96d4f93d1608db5650b00973d9e51bff2d12f8af421b540a9c3ecbb01afdd69 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T21:01:06.307Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-302 [Pipeline] fileExists [Pipeline] sh [2023-04-26T21:01:06.666Z] + make test [2023-04-26T21:01:06.667Z] go test ./... -coverprofile=coverage.out ./... [2023-04-26T21:01:11.939Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-26T21:01:21.915Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-26T21:01:21.915Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements [2023-04-26T21:01:28.486Z] go vet ./... [2023-04-26T21:01:31.773Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-26T21:01:31.773Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-26T21:01:31.773Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-26T21:01:32.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-26T21:01:32.092Z] $ docker stop --time=1 a96d4f93d1608db5650b00973d9e51bff2d12f8af421b540a9c3ecbb01afdd69 [2023-04-26T21:01:34.676Z] $ docker rm -f --volumes a96d4f93d1608db5650b00973d9e51bff2d12f8af421b540a9c3ecbb01afdd69 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-26T21:01:35.322Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-26T21:01:35.401Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-26T21:01:36.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-26T21:01:36.382Z] + ls -al . [2023-04-26T21:01:36.382Z] total 184 [2023-04-26T21:01:36.382Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 21:01 . [2023-04-26T21:01:36.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 20:59 .. [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 20:59 .dockerignore [2023-04-26T21:01:36.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 21:00 .git [2023-04-26T21:01:36.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:59 .github [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 20:59 .gitignore [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 20:59 .golangci.yml [2023-04-26T21:01:36.382Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 21:00 .semver [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 26 20:59 Attribution.txt [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 26 20:59 CHANGELOG.md [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 26 20:59 Dockerfile [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 20:59 GOVERNANCE.md [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 20:59 Jenkinsfile [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 20:59 LICENSE [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 26 20:59 Makefile [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 20:59 OWNERS.md [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 26 20:59 README.md [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 21:00 VERSION [2023-04-26T21:01:36.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 20:59 bin [2023-04-26T21:01:36.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 20:59 cmd [2023-04-26T21:01:36.382Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 26 21:01 coverage.out [2023-04-26T21:01:36.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 20:59 driver [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 26 20:59 go.mod [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 20:59 go.sum [2023-04-26T21:01:36.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 20:59 snap [2023-04-26T21:01:36.382Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 20:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:01:36.775Z] + 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=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 --label arch=amd64 --label version=0.0.0 . [2023-04-26T21:01:36.775Z] Sending build context to Docker daemon 10.92MB [2023-04-26T21:01:36.775Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-26T21:01:36.775Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-26T21:01:36.775Z] ---> e3f60e6b13ff [2023-04-26T21:01:36.775Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-26T21:01:36.775Z] ---> Running in b8c0af7a0cf2 [2023-04-26T21:01:37.035Z] Removing intermediate container b8c0af7a0cf2 [2023-04-26T21:01:37.035Z] ---> 7244e2f45a0c [2023-04-26T21:01:37.035Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-26T21:01:37.035Z] ---> Running in 6f247278c044 [2023-04-26T21:01:37.035Z] Removing intermediate container 6f247278c044 [2023-04-26T21:01:37.035Z] ---> c3a4098b2dec [2023-04-26T21:01:37.035Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-26T21:01:37.035Z] ---> Running in 6ecba2dcbcd0 [2023-04-26T21:01:37.035Z] Removing intermediate container 6ecba2dcbcd0 [2023-04-26T21:01:37.035Z] ---> 25881b030f50 [2023-04-26T21:01:37.035Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-26T21:01:37.296Z] ---> Running in 4372faf7bb7d [2023-04-26T21:01:37.296Z] Removing intermediate container 4372faf7bb7d [2023-04-26T21:01:37.296Z] ---> 9966ac008eb6 [2023-04-26T21:01:37.296Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-26T21:01:37.296Z] ---> Running in b3d552111010 [2023-04-26T21:01:37.557Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-26T21:01:37.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-26T21:01:37.817Z] OK: 269 MiB in 57 packages [2023-04-26T21:01:38.387Z] Removing intermediate container b3d552111010 [2023-04-26T21:01:38.387Z] ---> 9be208aab525 [2023-04-26T21:01:38.387Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-26T21:01:38.387Z] ---> Running in e4669d7f9019 [2023-04-26T21:01:38.387Z] Removing intermediate container e4669d7f9019 [2023-04-26T21:01:38.387Z] ---> e18510b93fc8 [2023-04-26T21:01:38.387Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-26T21:01:38.387Z] ---> 904666f6291d [2023-04-26T21:01:38.387Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-26T21:01:38.387Z] ---> Running in c751ebe5385c [2023-04-26T21:01:39.386Z] Removing intermediate container c751ebe5385c [2023-04-26T21:01:39.386Z] ---> 0083e7d3aa65 [2023-04-26T21:01:39.386Z] Step 11/25 : COPY . . [2023-04-26T21:01:39.645Z] ---> 4c156f8432a4 [2023-04-26T21:01:39.645Z] Step 12/25 : RUN $MAKE [2023-04-26T21:01:39.645Z] ---> Running in 2f7cdf1071fd [2023-04-26T21:01:39.904Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-26T21:01:57.993Z] Removing intermediate container 2f7cdf1071fd [2023-04-26T21:01:57.993Z] ---> 4cc9b67b10c5 [2023-04-26T21:01:57.993Z] Step 13/25 : FROM alpine:3.17 [2023-04-26T21:01:58.252Z] 3.17: Pulling from library/alpine [2023-04-26T21:01:58.512Z] f56be85fc22e: Already exists [2023-04-26T21:01:58.512Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-26T21:01:58.512Z] Status: Downloaded newer image for alpine:3.17 [2023-04-26T21:01:58.512Z] ---> 9ed4aefc74f6 [2023-04-26T21:01:58.512Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-26T21:01:58.512Z] ---> Running in 729742b9b9fd [2023-04-26T21:01:58.512Z] Removing intermediate container 729742b9b9fd [2023-04-26T21:01:58.512Z] ---> 665ece16dcc8 [2023-04-26T21:01:58.512Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-26T21:01:58.772Z] ---> Running in 2be4295bb20d [2023-04-26T21:01:58.772Z] Removing intermediate container 2be4295bb20d [2023-04-26T21:01:58.772Z] ---> 4e8ddb5f4e7d [2023-04-26T21:01:58.772Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-26T21:01:58.772Z] ---> Running in 697c94e09a84 [2023-04-26T21:01:59.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-26T21:01:59.300Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-26T21:01:59.300Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-26T21:01:59.300Z] Executing busybox-1.35.0-r29.trigger [2023-04-26T21:01:59.300Z] OK: 7 MiB in 16 packages [2023-04-26T21:01:59.867Z] Removing intermediate container 697c94e09a84 [2023-04-26T21:01:59.867Z] ---> 92a46bed58e3 [2023-04-26T21:01:59.867Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-26T21:02:00.529Z] ---> ab91ae00d702 [2023-04-26T21:02:00.529Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-26T21:02:00.529Z] ---> f57177bd20d4 [2023-04-26T21:02:00.529Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-26T21:02:00.529Z] ---> d17cd06e7909 [2023-04-26T21:02:00.529Z] Step 20/25 : EXPOSE 59986 [2023-04-26T21:02:00.788Z] ---> Running in 26389ae7cfbf [2023-04-26T21:02:00.788Z] Removing intermediate container 26389ae7cfbf [2023-04-26T21:02:00.788Z] ---> ab0089f84346 [2023-04-26T21:02:00.788Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-26T21:02:00.788Z] ---> Running in 40596d089933 [2023-04-26T21:02:00.788Z] Removing intermediate container 40596d089933 [2023-04-26T21:02:00.788Z] ---> 7e5b2c2a8eb7 [2023-04-26T21:02:00.788Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-26T21:02:00.788Z] ---> Running in 86331978652b [2023-04-26T21:02:01.046Z] Removing intermediate container 86331978652b [2023-04-26T21:02:01.046Z] ---> de228cafbffe [2023-04-26T21:02:01.046Z] Step 23/25 : LABEL arch=amd64 [2023-04-26T21:02:01.046Z] ---> Running in 6e6e1b2e2590 [2023-04-26T21:02:01.046Z] Removing intermediate container 6e6e1b2e2590 [2023-04-26T21:02:01.046Z] ---> 44c1ad629383 [2023-04-26T21:02:01.046Z] Step 24/25 : LABEL git_sha=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [2023-04-26T21:02:01.046Z] ---> Running in ad1784c19cdb [2023-04-26T21:02:01.046Z] Removing intermediate container ad1784c19cdb [2023-04-26T21:02:01.046Z] ---> 66f0ec935823 [2023-04-26T21:02:01.046Z] Step 25/25 : LABEL version=0.0.0 [2023-04-26T21:02:01.046Z] ---> Running in 93cb510501e0 [2023-04-26T21:02:01.046Z] Removing intermediate container 93cb510501e0 [2023-04-26T21:02:01.046Z] ---> 030112dfb3bb [2023-04-26T21:02:01.046Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-26T21:02:01.046Z] Successfully built 030112dfb3bb [2023-04-26T21:02:01.046Z] 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-04-26T21:02:01.903Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-26T21:02:01.903Z] [2023-04-26T21:02:01.903Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:02:02.290Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-26T21:02:02.290Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-26T21:02:02.290Z] 5eb5b503b376: Pulling fs layer [2023-04-26T21:02:02.290Z] 5c69ac0246d0: Pulling fs layer [2023-04-26T21:02:02.290Z] ec43610c2a17: Pulling fs layer [2023-04-26T21:02:02.290Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-26T21:02:02.290Z] 33b1e0a273af: Pulling fs layer [2023-04-26T21:02:02.290Z] 5d3b04190fa2: Pulling fs layer [2023-04-26T21:02:02.290Z] 2f39f015ded8: Pulling fs layer [2023-04-26T21:02:02.290Z] 3a2ae6a8a46f: Waiting [2023-04-26T21:02:02.290Z] 5d3b04190fa2: Waiting [2023-04-26T21:02:02.290Z] 33b1e0a273af: Waiting [2023-04-26T21:02:02.290Z] 5c69ac0246d0: Verifying Checksum [2023-04-26T21:02:02.290Z] 5c69ac0246d0: Download complete [2023-04-26T21:02:02.290Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-26T21:02:02.290Z] 3a2ae6a8a46f: Download complete [2023-04-26T21:02:02.290Z] 33b1e0a273af: Verifying Checksum [2023-04-26T21:02:02.290Z] 33b1e0a273af: Download complete [2023-04-26T21:02:02.290Z] 5d3b04190fa2: Download complete [2023-04-26T21:02:02.290Z] ec43610c2a17: Download complete [2023-04-26T21:02:02.549Z] 5eb5b503b376: Download complete [2023-04-26T21:02:03.120Z] 2f39f015ded8: Download complete [2023-04-26T21:02:03.688Z] 5eb5b503b376: Pull complete [2023-04-26T21:02:03.688Z] 5c69ac0246d0: Pull complete [2023-04-26T21:02:04.254Z] ec43610c2a17: Pull complete [2023-04-26T21:02:04.255Z] 3a2ae6a8a46f: Pull complete [2023-04-26T21:02:04.514Z] 33b1e0a273af: Pull complete [2023-04-26T21:02:04.514Z] 5d3b04190fa2: Pull complete [2023-04-26T21:02:08.698Z] 2f39f015ded8: Pull complete [2023-04-26T21:02:08.698Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-26T21:02:08.698Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-26T21:02:08.698Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T21:02:08.933Z] prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container [2023-04-26T21:02:08.964Z] $ 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-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-26T21:02:11.296Z] $ docker top eb30622f85658d38ff1e6fc960412a115620b4851706b640302ba1fc16c68c1a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:02:11.756Z] ---> job-cost.sh [2023-04-26T21:02:11.756Z] lf-activate-venv: SKIPPING [2023-04-26T21:02:11.756Z] INFO: No Stack... [2023-04-26T21:02:12.027Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-26T21:02:12.288Z] INFO: Archiving Costs [Pipeline] sh [2023-04-26T21:02:12.609Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-302/archives/cost.csv [2023-04-26T21:02:12.609Z] + cut -d, -f6 [Pipeline] lock [2023-04-26T21:02:12.740Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [2023-04-26T21:02:12.745Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] did not exist. Created. [2023-04-26T21:02:12.745Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-26T21:02:13.128Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-26T21:02:13.179Z] Stashed 1 file(s) [Pipeline] } [2023-04-26T21:02:13.205Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-26T21:02:13.300Z] $ docker stop --time=1 eb30622f85658d38ff1e6fc960412a115620b4851706b640302ba1fc16c68c1a [2023-04-26T21:02:14.457Z] $ docker rm -f --volumes eb30622f85658d38ff1e6fc960412a115620b4851706b640302ba1fc16c68c1a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-26T21:03:43.610Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11076 in /w/workspace/gexfoundry_device-rest-go_PR-302 [Pipeline] { [Pipeline] ws [2023-04-26T21:03:43.667Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-04-26T21:03:43.747Z] The recommended git tool is: git [2023-04-26T21:03:50.896Z] using credential edgex-jenkins-ssh [2023-04-26T21:03:50.928Z] Cloning the remote Git repository [2023-04-26T21:03:50.987Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-26T21:03:51.101Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-04-26T21:03:51.265Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-26T21:03:51.266Z] > git --version # timeout=10 [2023-04-26T21:03:51.291Z] > git --version # 'git version 2.25.1' [2023-04-26T21:03:51.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-26T21:03:51.487Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-26T21:03:53.581Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-26T21:03:53.607Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-26T21:03:55.335Z] Merging remotes/origin/main commit d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 into PR head commit fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [2023-04-26T21:03:54.730Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-26T21:03:54.786Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-26T21:03:54.787Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-26T21:03:54.810Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/302/head:refs/remotes/origin/PR-302 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-26T21:03:55.361Z] > git config core.sparsecheckout # timeout=10 [2023-04-26T21:03:55.441Z] > git checkout -f fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 # timeout=10 [2023-04-26T21:03:55.653Z] Merge succeeded, producing fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [2023-04-26T21:03:55.654Z] Checking out Revision fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 (PR-302) [2023-04-26T21:03:56.215Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-26T21:03:56.283Z] > git --version # timeout=10 [2023-04-26T21:03:56.297Z] > git --version # 'git version 2.25.1' [2023-04-26T21:03:56.323Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-26T21:03:55.532Z] > git remote # timeout=10 [2023-04-26T21:03:55.557Z] > git config --get remote.origin.url # timeout=10 [2023-04-26T21:03:55.583Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-26T21:03:55.599Z] > git merge d6c3e216c08ed71da48c9c499bb0b6c9a0701dd9 # timeout=10 [2023-04-26T21:03:55.636Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-26T21:03:55.665Z] > git config core.sparsecheckout # timeout=10 [2023-04-26T21:03:55.688Z] > git checkout -f fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 # timeout=10 [2023-04-26T21:03:57.543Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-26T21:03:57.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-26T21:03:57.543Z] Dload Upload Total Spent Left Speed [2023-04-26T21:03:57.543Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-04-26T21:03:58.324Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-26T21:03:58.696Z] + + sudo teesudo /etc/docker/daemon.new jq [2023-04-26T21:03:58.696Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-26T21:03:58.696Z] { [2023-04-26T21:03:58.696Z] "registry-mirrors": [ [2023-04-26T21:03:58.696Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-26T21:03:58.696Z] ], [2023-04-26T21:03:58.696Z] "bip": "10.250.0.254/24", [2023-04-26T21:03:58.696Z] "hosts": [ [2023-04-26T21:03:58.696Z] "tcp://0.0.0.0:5555", [2023-04-26T21:03:58.696Z] "unix:///var/run/docker.sock" [2023-04-26T21:03:58.696Z] ], [2023-04-26T21:03:58.696Z] "mtu": 1458, [2023-04-26T21:03:58.696Z] "selinux-enabled": true, [2023-04-26T21:03:58.696Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-26T21:03:58.696Z] } [Pipeline] sh [2023-04-26T21:03:59.053Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-26T21:03:59.423Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-26T21:04:17.794Z] provisioning config files... [2023-04-26T21:04:17.828Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16997730892357645557tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:04:18.267Z] ---> docker-login.sh [2023-04-26T21:04:18.267Z] nexus3.edgexfoundry.org:10001 [2023-04-26T21:04:18.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:04:18.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:04:18.860Z] Configure a credential helper to remove this warning. See [2023-04-26T21:04:18.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:04:18.860Z] [2023-04-26T21:04:18.860Z] Login Succeeded [2023-04-26T21:04:18.860Z] nexus3.edgexfoundry.org:10002 [2023-04-26T21:04:19.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:04:19.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:04:19.402Z] Configure a credential helper to remove this warning. See [2023-04-26T21:04:19.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:04:19.402Z] [2023-04-26T21:04:19.402Z] Login Succeeded [2023-04-26T21:04:19.402Z] nexus3.edgexfoundry.org:10003 [2023-04-26T21:04:19.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:04:19.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:04:19.672Z] Configure a credential helper to remove this warning. See [2023-04-26T21:04:19.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:04:19.672Z] [2023-04-26T21:04:19.672Z] Login Succeeded [2023-04-26T21:04:19.672Z] nexus3.edgexfoundry.org:10004 [2023-04-26T21:04:19.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:04:20.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:04:20.238Z] Configure a credential helper to remove this warning. See [2023-04-26T21:04:20.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:04:20.238Z] [2023-04-26T21:04:20.238Z] Login Succeeded [2023-04-26T21:04:20.238Z] docker.io [2023-04-26T21:04:20.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-26T21:04:20.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-26T21:04:20.523Z] Configure a credential helper to remove this warning. See [2023-04-26T21:04:20.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-26T21:04:20.523Z] [2023-04-26T21:04:20.523Z] Login Succeeded [2023-04-26T21:04:20.794Z] ---> docker-login.sh ends [Pipeline] } [2023-04-26T21:04:20.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-26T21:04:21.264Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-26T21:04:21.299Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-26T21:04:21.328Z] ========================================================= [2023-04-26T21:04:21.328Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-26T21:04:21.328Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:04:21.903Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-26T21:04:21.903Z] Sending build context to Docker daemon 138.8kB [2023-04-26T21:04:22.198Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-26T21:04:22.198Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-26T21:04:22.495Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-26T21:04:22.495Z] c41833b44d91: Pulling fs layer [2023-04-26T21:04:22.495Z] ed15518f5707: Pulling fs layer [2023-04-26T21:04:22.495Z] feae8fd75edb: Pulling fs layer [2023-04-26T21:04:22.495Z] 242c74f7c9fa: Pulling fs layer [2023-04-26T21:04:22.495Z] 3cdef696dda3: Pulling fs layer [2023-04-26T21:04:22.495Z] 2ced38df9373: Pulling fs layer [2023-04-26T21:04:22.495Z] 58f1dce35555: Pulling fs layer [2023-04-26T21:04:22.495Z] 3cdef696dda3: Waiting [2023-04-26T21:04:22.495Z] 2ced38df9373: Waiting [2023-04-26T21:04:22.495Z] 58f1dce35555: Waiting [2023-04-26T21:04:22.495Z] 242c74f7c9fa: Waiting [2023-04-26T21:04:22.495Z] ed15518f5707: Verifying Checksum [2023-04-26T21:04:22.495Z] ed15518f5707: Download complete [2023-04-26T21:04:22.495Z] 242c74f7c9fa: Verifying Checksum [2023-04-26T21:04:22.495Z] 242c74f7c9fa: Download complete [2023-04-26T21:04:22.495Z] 3cdef696dda3: Verifying Checksum [2023-04-26T21:04:22.495Z] 3cdef696dda3: Download complete [2023-04-26T21:04:22.495Z] c41833b44d91: Verifying Checksum [2023-04-26T21:04:22.495Z] c41833b44d91: Download complete [2023-04-26T21:04:23.990Z] c41833b44d91: Pull complete [2023-04-26T21:04:24.588Z] 58f1dce35555: Verifying Checksum [2023-04-26T21:04:24.588Z] 58f1dce35555: Download complete [2023-04-26T21:04:24.588Z] ed15518f5707: Pull complete [2023-04-26T21:04:26.029Z] feae8fd75edb: Verifying Checksum [2023-04-26T21:04:26.029Z] feae8fd75edb: Download complete [2023-04-26T21:04:26.029Z] 2ced38df9373: Verifying Checksum [2023-04-26T21:04:26.029Z] 2ced38df9373: Download complete [2023-04-26T21:04:38.379Z] feae8fd75edb: Pull complete [2023-04-26T21:04:38.379Z] 242c74f7c9fa: Pull complete [2023-04-26T21:04:38.379Z] 3cdef696dda3: Pull complete [2023-04-26T21:04:45.069Z] 2ced38df9373: Pull complete [2023-04-26T21:04:47.680Z] 58f1dce35555: Pull complete [2023-04-26T21:04:47.680Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-04-26T21:04:47.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-26T21:04:47.680Z] ---> fadd8f120f05 [2023-04-26T21:04:47.680Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-26T21:04:49.634Z] ---> Running in 0c3bcd1bfc52 [2023-04-26T21:04:49.634Z] Removing intermediate container 0c3bcd1bfc52 [2023-04-26T21:04:49.634Z] ---> c99d63aea495 [2023-04-26T21:04:49.634Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-26T21:04:49.634Z] ---> Running in ef90a7262de9 [2023-04-26T21:04:50.220Z] Removing intermediate container ef90a7262de9 [2023-04-26T21:04:50.220Z] ---> d77e85febeca [2023-04-26T21:04:50.220Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-26T21:04:50.220Z] ---> Running in c2e04c4a3430 [2023-04-26T21:04:50.488Z] Removing intermediate container c2e04c4a3430 [2023-04-26T21:04:50.488Z] ---> b72f0a2d39c0 [2023-04-26T21:04:50.488Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-26T21:04:50.488Z] ---> Running in c6e6e54ef9ae [2023-04-26T21:04:51.074Z] Removing intermediate container c6e6e54ef9ae [2023-04-26T21:04:51.074Z] ---> 78e26cef63f4 [2023-04-26T21:04:51.074Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-26T21:04:51.074Z] ---> Running in 89d99154c463 [2023-04-26T21:04:52.491Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-26T21:04:52.759Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-26T21:04:54.170Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-26T21:04:54.171Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-26T21:04:54.171Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-26T21:04:54.171Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-26T21:04:54.171Z] Executing busybox-1.35.0-r29.trigger [2023-04-26T21:04:54.171Z] OK: 268 MiB in 57 packages [2023-04-26T21:04:58.429Z] Removing intermediate container 89d99154c463 [2023-04-26T21:04:58.429Z] ---> f97b34956d31 [2023-04-26T21:04:58.429Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-26T21:04:58.429Z] ---> Running in c64155960a02 [2023-04-26T21:04:58.429Z] Removing intermediate container c64155960a02 [2023-04-26T21:04:58.429Z] ---> 67b97fd10db1 [2023-04-26T21:04:58.429Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-26T21:04:59.022Z] ---> 548ce3d4f785 [2023-04-26T21:04:59.022Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-26T21:04:59.022Z] ---> Running in 59f9bdb0337a [2023-04-26T21:06:06.957Z] Removing intermediate container 59f9bdb0337a [2023-04-26T21:06:06.957Z] ---> 3dc487059eb2 [2023-04-26T21:06:06.957Z] Step 11/12 : COPY . . [2023-04-26T21:06:06.958Z] ---> 00c2f17be1a7 [2023-04-26T21:06:06.958Z] Step 12/12 : RUN $MAKE [2023-04-26T21:06:06.958Z] ---> Running in 0f6c8167cf83 [2023-04-26T21:06:06.958Z] noop [2023-04-26T21:06:06.958Z] Removing intermediate container 0f6c8167cf83 [2023-04-26T21:06:06.958Z] ---> b8d353c29567 [2023-04-26T21:06:06.958Z] Successfully built b8d353c29567 [2023-04-26T21:06:06.958Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:06:07.466Z] + docker inspect -f . ci-base-image-arm64 [2023-04-26T21:06:07.466Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T21:06:07.800Z] prd-ubuntu20.04-docker-arm64-4c-16g-11076 does not seem to be running inside a container [2023-04-26T21:06:07.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-26T21:06:09.269Z] $ docker top 4ffcc0badd242a26f776db2e9b24b39585b23ed6d729db2b1d912727b4025d63 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T21:06:10.207Z] + go version [2023-04-26T21:06:10.207Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-26T21:06:10.252Z] $ docker stop --time=1 4ffcc0badd242a26f776db2e9b24b39585b23ed6d729db2b1d912727b4025d63 [2023-04-26T21:06:11.922Z] $ docker rm -f --volumes 4ffcc0badd242a26f776db2e9b24b39585b23ed6d729db2b1d912727b4025d63 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:06:12.880Z] + docker inspect -f . ci-base-image-arm64 [2023-04-26T21:06:12.880Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T21:06:13.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-11076 does not seem to be running inside a container [2023-04-26T21:06:13.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-26T21:06:14.554Z] $ docker top 6d1b080642630788642c7c231c87ae35fc91a8006649d2f038f463df114e921b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T21:06:15.476Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-26T21:06:16.200Z] + make test [2023-04-26T21:06:16.200Z] go test ./... -coverprofile=coverage.out ./... [2023-04-26T21:06:55.193Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-26T21:09:16.999Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-26T21:09:16.999Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements [2023-04-26T21:09:16.999Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-26T21:09:16.999Z] go vet ./... [2023-04-26T21:09:43.758Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-26T21:09:43.758Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-26T21:09:43.758Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-26T21:09:43.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-26T21:09:43.839Z] $ docker stop --time=1 6d1b080642630788642c7c231c87ae35fc91a8006649d2f038f463df114e921b [2023-04-26T21:09:45.807Z] $ docker rm -f --volumes 6d1b080642630788642c7c231c87ae35fc91a8006649d2f038f463df114e921b [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-26T21:09:47.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-26T21:09:47.108Z] Warning: overwriting stash ‘coverage-report’ [2023-04-26T21:09:47.629Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-26T21:09:48.235Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-26T21:09:48.589Z] + ls -al . [2023-04-26T21:09:48.589Z] total 180 [2023-04-26T21:09:48.589Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 21:06 . [2023-04-26T21:09:48.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 21:03 .. [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 26 21:03 .dockerignore [2023-04-26T21:09:48.589Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 21:03 .git [2023-04-26T21:09:48.589Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 21:03 .github [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 21:03 .gitignore [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 21:03 .golangci.yml [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 26 21:03 Attribution.txt [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 26 21:03 CHANGELOG.md [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 26 21:03 Dockerfile [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 21:03 GOVERNANCE.md [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 26 21:03 Jenkinsfile [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 21:03 LICENSE [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 26 21:03 Makefile [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 21:03 OWNERS.md [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 26 21:03 README.md [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 21:00 VERSION [2023-04-26T21:09:48.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 21:03 bin [2023-04-26T21:09:48.589Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 21:03 cmd [2023-04-26T21:09:48.589Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 26 21:09 coverage.out [2023-04-26T21:09:48.589Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 21:03 driver [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 26 21:03 go.mod [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 21:03 go.sum [2023-04-26T21:09:48.589Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 21:03 snap [2023-04-26T21:09:48.589Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 26 21:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:09:49.017Z] + 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=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 --label arch=arm64 --label version=0.0.0 . [2023-04-26T21:09:49.017Z] Sending build context to Docker daemon 154.1kB [2023-04-26T21:09:49.288Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-26T21:09:49.288Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-26T21:09:49.288Z] ---> b8d353c29567 [2023-04-26T21:09:49.288Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-26T21:09:49.288Z] ---> Running in 0ad46de1902d [2023-04-26T21:09:49.556Z] Removing intermediate container 0ad46de1902d [2023-04-26T21:09:49.556Z] ---> 4da3ed984dcb [2023-04-26T21:09:49.556Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-26T21:09:49.826Z] ---> Running in e9da0e85ea92 [2023-04-26T21:09:50.097Z] Removing intermediate container e9da0e85ea92 [2023-04-26T21:09:50.097Z] ---> 8c19b92710ee [2023-04-26T21:09:50.097Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-26T21:09:50.097Z] ---> Running in ddda5c887ddf [2023-04-26T21:09:50.367Z] Removing intermediate container ddda5c887ddf [2023-04-26T21:09:50.367Z] ---> ac26316b06b3 [2023-04-26T21:09:50.367Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-26T21:09:50.636Z] ---> Running in 9e641ac1c084 [2023-04-26T21:09:50.906Z] Removing intermediate container 9e641ac1c084 [2023-04-26T21:09:50.906Z] ---> 78a3872ecd57 [2023-04-26T21:09:50.906Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-26T21:09:50.906Z] ---> Running in 6e44f4b8b5fc [2023-04-26T21:09:51.877Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-26T21:09:52.532Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-26T21:09:54.001Z] OK: 268 MiB in 57 packages [2023-04-26T21:09:55.482Z] Removing intermediate container 6e44f4b8b5fc [2023-04-26T21:09:55.482Z] ---> 1c5a2fcfc986 [2023-04-26T21:09:55.482Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-26T21:09:55.482Z] ---> Running in c7e8e9812b0a [2023-04-26T21:09:55.482Z] Removing intermediate container c7e8e9812b0a [2023-04-26T21:09:55.482Z] ---> 67869335ae19 [2023-04-26T21:09:55.482Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-26T21:09:56.070Z] ---> e30a85fa8c8f [2023-04-26T21:09:56.070Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-26T21:09:56.070Z] ---> Running in 06c59f87d316 [2023-04-26T21:09:58.678Z] Removing intermediate container 06c59f87d316 [2023-04-26T21:09:58.678Z] ---> 76ad80d0cc5f [2023-04-26T21:09:58.678Z] Step 11/25 : COPY . . [2023-04-26T21:09:59.271Z] ---> 406d8d0c54b9 [2023-04-26T21:09:59.271Z] Step 12/25 : RUN $MAKE [2023-04-26T21:09:59.271Z] ---> Running in d28444fe14c4 [2023-04-26T21:10:00.236Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-04-26T21:12:21.988Z] Removing intermediate container d28444fe14c4 [2023-04-26T21:12:21.988Z] ---> 8d5d94ea5df3 [2023-04-26T21:12:21.988Z] Step 13/25 : FROM alpine:3.17 [2023-04-26T21:12:22.257Z] 3.17: Pulling from library/alpine [2023-04-26T21:12:22.257Z] c41833b44d91: Already exists [2023-04-26T21:12:22.529Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-26T21:12:22.529Z] Status: Downloaded newer image for alpine:3.17 [2023-04-26T21:12:22.529Z] ---> 51e60588ff2c [2023-04-26T21:12:22.529Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-26T21:12:22.529Z] ---> Running in a6712cca62f0 [2023-04-26T21:12:22.798Z] Removing intermediate container a6712cca62f0 [2023-04-26T21:12:22.798Z] ---> a7d3e5233b98 [2023-04-26T21:12:22.798Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-26T21:12:22.798Z] ---> Running in 2d8d3a72d660 [2023-04-26T21:12:23.070Z] Removing intermediate container 2d8d3a72d660 [2023-04-26T21:12:23.070Z] ---> f88490609a7e [2023-04-26T21:12:23.070Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-26T21:12:23.344Z] ---> Running in 38a0f6b0d6f4 [2023-04-26T21:12:24.308Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-26T21:12:24.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-26T21:12:26.307Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-26T21:12:26.307Z] Executing busybox-1.35.0-r29.trigger [2023-04-26T21:12:26.307Z] OK: 8 MiB in 16 packages [2023-04-26T21:12:26.898Z] Removing intermediate container 38a0f6b0d6f4 [2023-04-26T21:12:26.898Z] ---> 2ab8e40141b2 [2023-04-26T21:12:26.898Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-26T21:12:28.312Z] ---> bc77c7bc045d [2023-04-26T21:12:28.312Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-26T21:12:28.900Z] ---> 2e6a3631c812 [2023-04-26T21:12:28.900Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-26T21:12:29.487Z] ---> c335e1b0b96f [2023-04-26T21:12:29.487Z] Step 20/25 : EXPOSE 59986 [2023-04-26T21:12:29.487Z] ---> Running in 980d8cc02e6f [2023-04-26T21:12:29.755Z] Removing intermediate container 980d8cc02e6f [2023-04-26T21:12:29.755Z] ---> ffa7c352e23b [2023-04-26T21:12:29.755Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-26T21:12:30.025Z] ---> Running in c19e7f8a9899 [2023-04-26T21:12:30.293Z] Removing intermediate container c19e7f8a9899 [2023-04-26T21:12:30.293Z] ---> 0a71b6274a5f [2023-04-26T21:12:30.293Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-26T21:12:30.293Z] ---> Running in b17c4db0364a [2023-04-26T21:12:30.562Z] Removing intermediate container b17c4db0364a [2023-04-26T21:12:30.562Z] ---> 3ffef2985fee [2023-04-26T21:12:30.562Z] Step 23/25 : LABEL arch=arm64 [2023-04-26T21:12:30.562Z] ---> Running in e5f6e6d8b9a5 [2023-04-26T21:12:31.159Z] Removing intermediate container e5f6e6d8b9a5 [2023-04-26T21:12:31.159Z] ---> 262074c49924 [2023-04-26T21:12:31.159Z] Step 24/25 : LABEL git_sha=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [2023-04-26T21:12:31.159Z] ---> Running in 352d86480273 [2023-04-26T21:12:31.430Z] Removing intermediate container 352d86480273 [2023-04-26T21:12:31.430Z] ---> 7d7412ceb88f [2023-04-26T21:12:31.430Z] Step 25/25 : LABEL version=0.0.0 [2023-04-26T21:12:31.430Z] ---> Running in 752be956147e [2023-04-26T21:12:31.699Z] Removing intermediate container 752be956147e [2023-04-26T21:12:31.699Z] ---> 160ea0c9da01 [2023-04-26T21:12:31.699Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-26T21:12:31.699Z] Successfully built 160ea0c9da01 [2023-04-26T21:12:31.699Z] 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-04-26T21:12:32.541Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-26T21:12:32.541Z] [2023-04-26T21:12:32.541Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:12:32.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-26T21:12:33.226Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-26T21:12:33.226Z] 8998bd30e6a1: Pulling fs layer [2023-04-26T21:12:33.226Z] 04944245beec: Pulling fs layer [2023-04-26T21:12:33.226Z] 699f458cf7ca: Pulling fs layer [2023-04-26T21:12:33.226Z] 765212b225bb: Pulling fs layer [2023-04-26T21:12:33.226Z] f23df028b6ca: Pulling fs layer [2023-04-26T21:12:33.226Z] d65c8cfc05b1: Pulling fs layer [2023-04-26T21:12:33.226Z] 2437ff75d9bd: Pulling fs layer [2023-04-26T21:12:33.226Z] f23df028b6ca: Waiting [2023-04-26T21:12:33.226Z] d65c8cfc05b1: Waiting [2023-04-26T21:12:33.226Z] 2437ff75d9bd: Waiting [2023-04-26T21:12:33.226Z] 765212b225bb: Waiting [2023-04-26T21:12:33.226Z] 04944245beec: Verifying Checksum [2023-04-26T21:12:33.226Z] 04944245beec: Download complete [2023-04-26T21:12:33.226Z] 765212b225bb: Verifying Checksum [2023-04-26T21:12:33.226Z] 765212b225bb: Download complete [2023-04-26T21:12:33.226Z] f23df028b6ca: Download complete [2023-04-26T21:12:33.226Z] d65c8cfc05b1: Verifying Checksum [2023-04-26T21:12:33.226Z] d65c8cfc05b1: Download complete [2023-04-26T21:12:33.495Z] 699f458cf7ca: Verifying Checksum [2023-04-26T21:12:33.495Z] 699f458cf7ca: Download complete [2023-04-26T21:12:33.766Z] 8998bd30e6a1: Verifying Checksum [2023-04-26T21:12:33.766Z] 8998bd30e6a1: Download complete [2023-04-26T21:12:36.358Z] 2437ff75d9bd: Verifying Checksum [2023-04-26T21:12:36.358Z] 2437ff75d9bd: Download complete [2023-04-26T21:12:37.773Z] 8998bd30e6a1: Pull complete [2023-04-26T21:12:38.372Z] 04944245beec: Pull complete [2023-04-26T21:12:39.788Z] 699f458cf7ca: Pull complete [2023-04-26T21:12:39.788Z] 765212b225bb: Pull complete [2023-04-26T21:12:40.769Z] f23df028b6ca: Pull complete [2023-04-26T21:12:41.038Z] d65c8cfc05b1: Pull complete [2023-04-26T21:12:56.057Z] 2437ff75d9bd: Pull complete [2023-04-26T21:12:56.057Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-26T21:12:56.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-26T21:12:56.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T21:12:56.419Z] prd-ubuntu20.04-docker-arm64-4c-16g-11076 does not seem to be running inside a container [2023-04-26T21:12:56.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-26T21:12:59.269Z] $ docker top 69548da559f24fb8b4cc6854629d6587e47f2f5c70d83120b90b8cf606b53149 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:13:00.208Z] ---> job-cost.sh [2023-04-26T21:13:00.208Z] lf-activate-venv: SKIPPING [2023-04-26T21:13:00.208Z] INFO: No Stack... [2023-04-26T21:13:00.476Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-26T21:13:01.440Z] INFO: Archiving Costs [Pipeline] sh [2023-04-26T21:13:02.115Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-04-26T21:13:02.115Z] + cut -d, -f6 [Pipeline] lock [2023-04-26T21:13:02.168Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [2023-04-26T21:13:02.173Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] did not exist. Created. [2023-04-26T21:13:02.173Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-26T21:13:02.595Z] /w/workspace/device-rest-go/1@tmp/durable-223cfcb1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-26T21:13:03.235Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-26T21:13:03.271Z] Warning: overwriting stash ‘stack-cost’ [2023-04-26T21:13:03.317Z] Stashed 1 file(s) [Pipeline] } [2023-04-26T21:13:03.330Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-302-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-26T21:13:03.421Z] $ docker stop --time=1 69548da559f24fb8b4cc6854629d6587e47f2f5c70d83120b90b8cf606b53149 [2023-04-26T21:13:04.932Z] $ docker rm -f --volumes 69548da559f24fb8b4cc6854629d6587e47f2f5c70d83120b90b8cf606b53149 [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-04-26T21:13:05.937Z] provisioning config files... [2023-04-26T21:13:05.944Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/config7397920227017269985tmp [Pipeline] { [Pipeline] sh [2023-04-26T21:13:06.286Z] + set +x [2023-04-26T21:13:06.286Z] + curl -s https://codecov.io/bash [2023-04-26T21:13:06.286Z] + bash -s -- [2023-04-26T21:13:06.286Z] [2023-04-26T21:13:06.286Z] _____ _ [2023-04-26T21:13:06.286Z] / ____| | | [2023-04-26T21:13:06.286Z] | | ___ __| | ___ ___ _____ __ [2023-04-26T21:13:06.286Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-26T21:13:06.286Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-26T21:13:06.286Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-26T21:13:06.286Z] Bash-1.0.6 [2023-04-26T21:13:06.286Z] [2023-04-26T21:13:06.286Z] [2023-04-26T21:13:06.286Z] ==> git version 2.25.1 found [2023-04-26T21:13:06.286Z] ==> 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-04-26T21:13:06.286Z] Release-Date: 2020-01-08 [2023-04-26T21:13:06.287Z] 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-04-26T21:13:06.287Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-26T21:13:06.287Z] ==> Jenkins CI detected. [2023-04-26T21:13:06.287Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-302 [2023-04-26T21:13:06.287Z] project root: . [2023-04-26T21:13:06.287Z] --> token set from env [2023-04-26T21:13:06.287Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-26T21:13:06.287Z] ==> Running gcov in . (disable via -X gcov) [2023-04-26T21:13:06.287Z] ==> Python coveragepy not found [2023-04-26T21:13:06.287Z] ==> Searching for coverage reports in: [2023-04-26T21:13:06.287Z] + . [2023-04-26T21:13:06.287Z] -> Found 1 reports [2023-04-26T21:13:06.287Z] ==> Detecting git/mercurial file structure [2023-04-26T21:13:06.287Z] ==> Reading reports [2023-04-26T21:13:06.287Z] + ./coverage.out bytes=14663 [2023-04-26T21:13:06.287Z] ==> Appending adjustments [2023-04-26T21:13:06.287Z] https://docs.codecov.io/docs/fixing-reports [2023-04-26T21:13:06.547Z] + Found adjustments [2023-04-26T21:13:06.547Z] ==> Gzipping contents [2023-04-26T21:13:06.547Z] 4.0K /tmp/codecov.PHBg7K.gz [2023-04-26T21:13:06.547Z] ==> Uploading reports [2023-04-26T21:13:06.547Z] url: https://codecov.io [2023-04-26T21:13:06.547Z] query: branch=PR-302&commit=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-302%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=302&job=&cmd_args= [2023-04-26T21:13:06.547Z] -> Pinging Codecov [2023-04-26T21:13:06.547Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-302&commit=fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-302%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=302&job=&cmd_args= [2023-04-26T21:13:06.547Z] -> Uploading to [2023-04-26T21:13:06.547Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-26/4E5D53B4F1F92C436F7061BF334D961C/fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857/5336870a-437a-4a08-aefa-a0403662c522.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T211306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=701be0c90f59709a9a2f6ce0da3d9b58dfb6dbae5f15996161583a15f77d3e60 [2023-04-26T21:13:06.547Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-26T21:13:06.547Z] Dload Upload Total Spent Left Speed [2023-04-26T21:13:06.806Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11895 --:--:-- --:--:-- --:--:-- 11895 [2023-04-26T21:13:06.806Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fb0fe8306e1dc3bab8cc7fb6ce83e99ce8f84857 [Pipeline] } [2023-04-26T21:13:06.852Z] 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-04-26T21:13:08.633Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-302/archives ] [2023-04-26T21:13:08.633Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-302/archives [2023-04-26T21:13:08.633Z] total 16 [2023-04-26T21:13:08.633Z] drwxr-xr-x 3 root root 4096 Apr 26 21:02 . [2023-04-26T21:13:08.633Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 21:02 .. [2023-04-26T21:13:08.633Z] drwxr-xr-x 2 root root 4096 Apr 26 21:02 cost [2023-04-26T21:13:08.633Z] -rw-r--r-- 1 root root 86 Apr 26 21:02 cost.csv [2023-04-26T21:13:08.633Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-302/archives [2023-04-26T21:13:08.633Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-302/archives [2023-04-26T21:13:08.633Z] total 16 [2023-04-26T21:13:08.633Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 21:02 . [2023-04-26T21:13:08.633Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 21:02 .. [2023-04-26T21:13:08.633Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 21:02 cost [2023-04-26T21:13:08.633Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 26 21:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:13:08.963Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:13:09.886Z] ---> package-listing.sh [2023-04-26T21:13:09.886Z] ++ facter osfamily [2023-04-26T21:13:09.886Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-26T21:13:09.886Z] + OS_FAMILY=debian [2023-04-26T21:13:09.886Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-302 [2023-04-26T21:13:09.886Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-26T21:13:09.886Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-26T21:13:09.886Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-26T21:13:09.886Z] + PACKAGES=/tmp/packages_start.txt [2023-04-26T21:13:09.886Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-302 ']' [2023-04-26T21:13:09.886Z] + PACKAGES=/tmp/packages_end.txt [2023-04-26T21:13:09.886Z] + case "${OS_FAMILY}" in [2023-04-26T21:13:09.886Z] + dpkg -l [2023-04-26T21:13:09.886Z] + grep '^ii' [2023-04-26T21:13:09.886Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-26T21:13:09.886Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-26T21:13:09.886Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-26T21:13:10.146Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-302 ']' [2023-04-26T21:13:10.146Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-302/archives/ [2023-04-26T21:13:10.146Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-302/archives/ [Pipeline] echo [2023-04-26T21:13:10.189Z] 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-302/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-26T21:13:10.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-26T21:13:11.122Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-26T21:13:11.122Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-26T21:13:11.273Z] prd-ubuntu20.04-docker-8c-8g-11073 does not seem to be running inside a container [2023-04-26T21:13:11.309Z] $ 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-302/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-302 -v /w/workspace/gexfoundry_device-rest-go_PR-302:/w/workspace/gexfoundry_device-rest-go_PR-302:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-302@tmp:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-26T21:13:11.476Z] $ docker top 464a3ee9f161c95a6184e5db7c38c2f04ca78031adfc2ba80a86675b385ce647 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-26T21:13:11.873Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-26T21:13:12.185Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-26T21:13:12.497Z] + ls /var/log/sa-host [2023-04-26T21:13:12.497Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-26T21:13:12.651Z] provisioning config files... [2023-04-26T21:13:12.661Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-302@tmp/config5658363869852359703tmp [Pipeline] { [Pipeline] echo [2023-04-26T21:13:12.713Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:13:13.037Z] ---> create-netrc.sh [Pipeline] } [2023-04-26T21:13:13.066Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:13:13.466Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-26T21:13:13.498Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:13:13.810Z] ---> sudo-logs.sh [2023-04-26T21:13:13.810Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-26T21:13:13.908Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:13:14.219Z] ---> job-cost.sh [2023-04-26T21:13:14.220Z] lf-activate-venv: SKIPPING [2023-04-26T21:13:14.220Z] DEBUG: total: 0.2199999988079071 [2023-04-26T21:13:14.220Z] INFO: Retrieving Stack Cost... [2023-04-26T21:13:14.478Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-26T21:13:15.046Z] INFO: Archiving Costs [Pipeline] echo [2023-04-26T21:13:15.079Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-26T21:13:15.390Z] ---> logs-deploy.sh [2023-04-26T21:13:15.390Z] lf-activate-venv: SKIPPING [2023-04-26T21:13:15.390Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-302/1 [2023-04-26T21:13:15.390Z] INFO: archiving workspace using pattern(s): [2023-04-26T21:13:16.331Z] Archives upload complete. [2023-04-26T21:13:16.600Z] INFO: archiving logs to Nexus [2023-04-26T21:13:17.166Z] ---> uname -a: [2023-04-26T21:13:17.166Z] Linux prd-ubuntu20-04-docker-8c-8g-11073 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] ---> lscpu: [2023-04-26T21:13:17.166Z] Architecture: x86_64 [2023-04-26T21:13:17.166Z] CPU op-mode(s): 32-bit, 64-bit [2023-04-26T21:13:17.166Z] Byte Order: Little Endian [2023-04-26T21:13:17.166Z] Address sizes: 40 bits physical, 48 bits virtual [2023-04-26T21:13:17.166Z] CPU(s): 8 [2023-04-26T21:13:17.166Z] On-line CPU(s) list: 0-7 [2023-04-26T21:13:17.166Z] Thread(s) per core: 1 [2023-04-26T21:13:17.166Z] Core(s) per socket: 1 [2023-04-26T21:13:17.166Z] Socket(s): 8 [2023-04-26T21:13:17.166Z] NUMA node(s): 1 [2023-04-26T21:13:17.166Z] Vendor ID: AuthenticAMD [2023-04-26T21:13:17.166Z] CPU family: 23 [2023-04-26T21:13:17.166Z] Model: 49 [2023-04-26T21:13:17.166Z] Model name: AMD EPYC-Rome Processor [2023-04-26T21:13:17.166Z] Stepping: 0 [2023-04-26T21:13:17.166Z] CPU MHz: 2799.998 [2023-04-26T21:13:17.166Z] BogoMIPS: 5599.99 [2023-04-26T21:13:17.166Z] Virtualization: AMD-V [2023-04-26T21:13:17.166Z] Hypervisor vendor: KVM [2023-04-26T21:13:17.166Z] Virtualization type: full [2023-04-26T21:13:17.166Z] L1d cache: 256 KiB [2023-04-26T21:13:17.166Z] L1i cache: 256 KiB [2023-04-26T21:13:17.166Z] L2 cache: 4 MiB [2023-04-26T21:13:17.166Z] L3 cache: 128 MiB [2023-04-26T21:13:17.166Z] NUMA node0 CPU(s): 0-7 [2023-04-26T21:13:17.166Z] Vulnerability Itlb multihit: Not affected [2023-04-26T21:13:17.166Z] Vulnerability L1tf: Not affected [2023-04-26T21:13:17.166Z] Vulnerability Mds: Not affected [2023-04-26T21:13:17.166Z] Vulnerability Meltdown: Not affected [2023-04-26T21:13:17.166Z] Vulnerability Mmio stale data: Not affected [2023-04-26T21:13:17.166Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-04-26T21:13:17.166Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-04-26T21:13:17.166Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-04-26T21:13:17.166Z] Vulnerability Srbds: Not affected [2023-04-26T21:13:17.166Z] Vulnerability Tsx async abort: Not affected [2023-04-26T21:13:17.166Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] ---> nproc: [2023-04-26T21:13:17.166Z] 8 [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] ---> df -h: [2023-04-26T21:13:17.166Z] Filesystem Size Used Avail Use% Mounted on [2023-04-26T21:13:17.166Z] overlay 155G 12G 144G 8% / [2023-04-26T21:13:17.166Z] tmpfs 64M 0 64M 0% /dev [2023-04-26T21:13:17.166Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-04-26T21:13:17.166Z] shm 64M 0 64M 0% /dev/shm [2023-04-26T21:13:17.166Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] ---> sar -b -r -n DEV: [2023-04-26T21:13:17.166Z] Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-11073) 04/26/23 _x86_64_ (8 CPU) [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] 20:59:14 LINUX RESTART (8 CPU) [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] 21:00:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s [2023-04-26T21:13:17.166Z] 21:01:01 186.21 1.61 184.60 0.00 58.97 74279.07 0.00 [2023-04-26T21:13:17.166Z] 21:02:01 165.86 0.25 165.61 0.00 18.40 27635.13 0.00 [2023-04-26T21:13:17.166Z] 21:03:01 35.14 0.05 35.09 0.00 3.60 16760.42 0.00 [2023-04-26T21:13:17.166Z] 21:04:01 1.63 0.00 1.63 0.00 0.00 18.93 0.00 [2023-04-26T21:13:17.166Z] 21:05:01 54.34 10.58 43.76 0.00 5154.87 8915.85 0.00 [2023-04-26T21:13:17.166Z] 21:06:01 6.60 0.02 6.58 0.00 0.13 129.58 0.00 [2023-04-26T21:13:17.166Z] 21:07:01 1.00 0.00 1.00 0.00 0.00 11.60 0.00 [2023-04-26T21:13:17.166Z] 21:08:01 1.55 0.00 1.55 0.00 0.00 17.20 0.00 [2023-04-26T21:13:17.166Z] 21:09:01 2.97 1.67 1.30 0.00 37.73 16.53 0.00 [2023-04-26T21:13:17.166Z] 21:10:01 1.70 0.00 1.70 0.00 0.00 19.19 0.00 [2023-04-26T21:13:17.166Z] 21:11:01 1.02 0.00 1.02 0.00 0.00 10.80 0.00 [2023-04-26T21:13:17.166Z] 21:12:01 1.10 0.00 1.10 0.00 0.00 14.00 0.00 [2023-04-26T21:13:17.166Z] 21:13:01 1.05 0.00 1.05 0.00 0.00 12.26 0.00 [2023-04-26T21:13:17.166Z] Average: 35.20 1.09 34.11 0.00 406.09 9750.55 0.00 [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] 21:00:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty [2023-04-26T21:13:17.166Z] 21:01:01 28439100 31600536 707292 2.15 144748 3227860 1767404 5.21 1045952 2965780 456 [2023-04-26T21:13:17.166Z] 21:02:01 28131880 31565040 737860 2.24 150940 3474924 1777496 5.24 1251888 3041716 500 [2023-04-26T21:13:17.166Z] 21:03:01 27635904 31578152 722596 2.20 158396 3926976 1776012 5.23 1255836 3481184 8 [2023-04-26T21:13:17.166Z] 21:04:01 27635604 31577940 722756 2.20 158440 3926976 1776012 5.23 1255644 3481184 8 [2023-04-26T21:13:17.166Z] 21:05:01 27106540 31559700 723548 2.20 192524 4387388 1817088 5.36 1577432 3651868 1052 [2023-04-26T21:13:17.166Z] 21:06:01 27112468 31560728 723004 2.20 191088 4384132 1788512 5.27 1575576 3648676 12 [2023-04-26T21:13:17.166Z] 21:07:01 27120084 31568412 715292 2.18 191120 4384136 1788512 5.27 1568120 3648680 8 [2023-04-26T21:13:17.166Z] 21:08:01 27120668 31569048 714716 2.17 191152 4384144 1788512 5.27 1567948 3648688 12 [2023-04-26T21:13:17.166Z] 21:09:01 27110728 31561400 722228 2.20 191204 4385272 1788512 5.27 1580488 3649076 8 [2023-04-26T21:13:17.166Z] 21:10:01 27109396 31560128 723404 2.20 191264 4385268 1788512 5.27 1580268 3649076 20 [2023-04-26T21:13:17.166Z] 21:11:01 27109664 31560396 723080 2.20 191296 4385276 1788512 5.27 1580168 3649076 12 [2023-04-26T21:13:17.166Z] 21:12:01 27109536 31560360 723004 2.20 191324 4385280 1788512 5.27 1580224 3649084 28 [2023-04-26T21:13:17.166Z] 21:13:01 27109456 31560392 722932 2.20 191344 4385348 1788512 5.27 1580820 3649148 4 [2023-04-26T21:13:17.166Z] Average: 27373156 31567864 721670 2.19 179603 4155614 1786316 5.26 1461566 3524095 164 [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z] 21:00:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil [2023-04-26T21:13:17.166Z] 21:01:01 docker0 224.96 363.68 17.60 2180.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:01:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:01:01 ens3 527.10 319.44 6504.57 40.37 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:02:01 docker0 2.58 6.43 0.16 85.51 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:02:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:02:01 ens3 64.12 54.46 129.87 95.78 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:03:01 lo 1.00 1.00 0.10 0.10 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:03:01 ens3 94.50 56.84 2533.21 10.41 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:04:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:04:01 ens3 1.88 0.38 0.38 0.21 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:05:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:05:01 ens3 230.09 110.23 2869.09 8.06 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:06:01 ens3 1.35 0.48 0.51 0.26 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:07:01 ens3 0.52 0.25 0.31 0.20 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:08:01 ens3 0.28 0.13 0.02 0.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:09:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:09:01 ens3 7.95 6.35 5.34 5.99 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:10:01 ens3 0.28 0.18 0.08 0.07 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:11:01 ens3 0.10 0.00 0.01 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:12:01 ens3 0.63 0.10 0.06 0.01 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] 21:13:01 ens3 0.73 0.58 0.38 0.23 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] Average: docker0 17.24 28.04 1.35 171.69 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] Average: lo 0.51 0.51 0.05 0.05 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] Average: ens3 70.91 41.91 919.23 12.39 0.00 0.00 0.00 0.00 [2023-04-26T21:13:17.166Z] [2023-04-26T21:13:17.166Z]