Pull request #226 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b1386cac7d5f175829e47539b2f4acddd1f9c3b0+ee3b3be503c005455f07215b653abfd16f272028 (35457be30f6ca7f6287b8134f8288f3176009bc3) 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-ssh17336912686752025790.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh6062398274834401758.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-226/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-226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6470332709469942432.key Verifying host key using known hosts file > 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-226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5435237113258972249.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh10154699674609606758.key Verifying host key using known hosts file > 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-226/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-226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11459195227738021676.key Verifying host key using known hosts file > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118506 in /w/workspace/gexfoundry_device-rest-go_PR-226 [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-226 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit b1386cac7d5f175829e47539b2f4acddd1f9c3b0 Merge succeeded, producing b1386cac7d5f175829e47539b2f4acddd1f9c3b0 Checking out Revision b1386cac7d5f175829e47539b2f4acddd1f9c3b0 (PR-226) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b1386cac7d5f175829e47539b2f4acddd1f9c3b0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b1386cac7d5f175829e47539b2f4acddd1f9c3b0 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-07T20:02:49.651Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-07T20:02:49.837Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-07T20:02:49.947Z] ========================================================= [2022-11-07T20:02:49.947Z] EdgeX Global Pipelines Version Info [2022-11-07T20:02:49.947Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:02:50.793Z] ------------------- [2022-11-07T20:02:50.793Z] stable info: [2022-11-07T20:02:50.793Z] ------------------- [2022-11-07T20:02:50.793Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-07T20:02:50.793Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T20:02:50.793Z] Message: update stable to v1.0.244 [2022-11-07T20:02:51.362Z] ------------------- [2022-11-07T20:02:51.362Z] experimental info: [2022-11-07T20:02:51.362Z] ------------------- [2022-11-07T20:02:51.362Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-07T20:02:51.362Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T20:02:51.362Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-07T20:02:51.756Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-11-07T20:02:51.819Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-11-07T20:02:51.865Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-07T20:02:51.996Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-07T20:02:52.037Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-07T20:02:52.085Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-07T20:02:52.129Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-07T20:02:52.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-07T20:02:52.218Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-07T20:02:52.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-07T20:02:52.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-07T20:02:52.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-11-07T20:02:52.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-07T20:02:52.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-07T20:02:52.480Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T20:02:52.522Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-07T20:02:52.560Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T20:02:52.601Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-07T20:02:52.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-07T20:02:52.692Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-07T20:02:52.732Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-07T20:02:52.771Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-07T20:02:52.813Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-07T20:02:52.852Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-07T20:02:52.895Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-07T20:02:52.935Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-07T20:02:52.977Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-07T20:02:53.022Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-226 [Pipeline] echo [2022-11-07T20:02:53.065Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-226 [Pipeline] echo [2022-11-07T20:02:53.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-226 [Pipeline] echo [2022-11-07T20:02:53.155Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] echo [2022-11-07T20:02:53.200Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b1386ca [Pipeline] echo [2022-11-07T20:02:53.242Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T20:02:53.360Z] provisioning config files... [2022-11-07T20:02:53.379Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/config1175353264801494090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:02:53.720Z] ---> docker-login.sh [2022-11-07T20:02:53.720Z] nexus3.edgexfoundry.org:10001 [2022-11-07T20:02:53.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:02:53.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:02:53.980Z] Configure a credential helper to remove this warning. See [2022-11-07T20:02:53.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:02:53.980Z] [2022-11-07T20:02:53.980Z] Login Succeeded [2022-11-07T20:02:53.980Z] nexus3.edgexfoundry.org:10002 [2022-11-07T20:02:53.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:02:53.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:02:53.980Z] Configure a credential helper to remove this warning. See [2022-11-07T20:02:53.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:02:53.980Z] [2022-11-07T20:02:53.980Z] Login Succeeded [2022-11-07T20:02:53.980Z] nexus3.edgexfoundry.org:10003 [2022-11-07T20:02:54.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:02:54.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:02:54.239Z] Configure a credential helper to remove this warning. See [2022-11-07T20:02:54.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:02:54.239Z] [2022-11-07T20:02:54.239Z] Login Succeeded [2022-11-07T20:02:54.239Z] nexus3.edgexfoundry.org:10004 [2022-11-07T20:02:54.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:02:54.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:02:54.239Z] Configure a credential helper to remove this warning. See [2022-11-07T20:02:54.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:02:54.239Z] [2022-11-07T20:02:54.239Z] Login Succeeded [2022-11-07T20:02:54.239Z] docker.io [2022-11-07T20:02:54.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:02:54.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:02:54.758Z] Configure a credential helper to remove this warning. See [2022-11-07T20:02:54.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:02:54.758Z] [2022-11-07T20:02:54.758Z] Login Succeeded [2022-11-07T20:02:54.758Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T20:02:54.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-07T20:02:55.427Z] + git rev-list -1 --merges b1386cac7d5f175829e47539b2f4acddd1f9c3b0~1..b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] echo [2022-11-07T20:02:55.477Z] -----------> git rev-list -1 --merges b1386cac7d5f175829e47539b2f4acddd1f9c3b0~1..b1386cac7d5f175829e47539b2f4acddd1f9c3b0 b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [false] [Pipeline] sh [2022-11-07T20:02:55.789Z] + git log --format=format:%s -1 b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] echo [2022-11-07T20:02:55.828Z] ========================================================= [2022-11-07T20:02:55.828Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-07T20:02:55.828Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T20:02:56.271Z] + git log --format=format:%s -1 b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] echo [2022-11-07T20:02:56.301Z] [semverPrep] GIT_COMMIT: b1386cac7d5f175829e47539b2f4acddd1f9c3b0, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-11-07T20:02:56.330Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-07T20:02:56.720Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-07T20:02:56.720Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-07T20:02:56.720Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-07T20:02:56.720Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-07T20:02:56.720Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-07T20:02:56.720Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-07T20:02:56.720Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:02:57.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T20:02:57.141Z] [2022-11-07T20:02:57.141Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:02:57.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T20:02:57.518Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-07T20:02:57.518Z] b85a868b505f: Pulling fs layer [2022-11-07T20:02:57.518Z] e2be974225ed: Pulling fs layer [2022-11-07T20:02:57.518Z] 339a4e72a1f5: Pulling fs layer [2022-11-07T20:02:57.518Z] 988bab9f4d93: Pulling fs layer [2022-11-07T20:02:57.518Z] 1469e6f7b9e6: Pulling fs layer [2022-11-07T20:02:57.518Z] eaf3925da568: Pulling fs layer [2022-11-07T20:02:57.518Z] bab4dde63d76: Pulling fs layer [2022-11-07T20:02:57.518Z] bde34c3a00c8: Pulling fs layer [2022-11-07T20:02:57.518Z] b352a97aabf1: Pulling fs layer [2022-11-07T20:02:57.518Z] 4872d77fe225: Pulling fs layer [2022-11-07T20:02:57.518Z] 5851b861e8e6: Pulling fs layer [2022-11-07T20:02:57.518Z] b352a97aabf1: Waiting [2022-11-07T20:02:57.518Z] eaf3925da568: Waiting [2022-11-07T20:02:57.518Z] bab4dde63d76: Waiting [2022-11-07T20:02:57.518Z] bde34c3a00c8: Waiting [2022-11-07T20:02:57.518Z] 5851b861e8e6: Waiting [2022-11-07T20:02:57.518Z] 988bab9f4d93: Waiting [2022-11-07T20:02:57.518Z] 1469e6f7b9e6: Waiting [2022-11-07T20:02:57.518Z] e2be974225ed: Download complete [2022-11-07T20:02:57.518Z] 988bab9f4d93: Download complete [2022-11-07T20:02:57.780Z] 1469e6f7b9e6: Verifying Checksum [2022-11-07T20:02:57.780Z] 1469e6f7b9e6: Download complete [2022-11-07T20:02:57.780Z] 339a4e72a1f5: Verifying Checksum [2022-11-07T20:02:57.780Z] 339a4e72a1f5: Download complete [2022-11-07T20:02:57.780Z] eaf3925da568: Verifying Checksum [2022-11-07T20:02:57.780Z] eaf3925da568: Download complete [2022-11-07T20:02:57.780Z] bde34c3a00c8: Download complete [2022-11-07T20:02:57.780Z] b352a97aabf1: Download complete [2022-11-07T20:02:57.780Z] 4872d77fe225: Verifying Checksum [2022-11-07T20:02:57.780Z] 4872d77fe225: Download complete [2022-11-07T20:02:57.780Z] 5851b861e8e6: Download complete [2022-11-07T20:02:57.780Z] b85a868b505f: Verifying Checksum [2022-11-07T20:02:57.780Z] b85a868b505f: Download complete [2022-11-07T20:02:58.038Z] bab4dde63d76: Verifying Checksum [2022-11-07T20:02:58.038Z] bab4dde63d76: Download complete [2022-11-07T20:02:58.974Z] b85a868b505f: Pull complete [2022-11-07T20:02:59.233Z] e2be974225ed: Pull complete [2022-11-07T20:02:59.491Z] 339a4e72a1f5: Pull complete [2022-11-07T20:02:59.756Z] 988bab9f4d93: Pull complete [2022-11-07T20:03:00.017Z] 1469e6f7b9e6: Pull complete [2022-11-07T20:03:00.017Z] eaf3925da568: Pull complete [2022-11-07T20:03:01.922Z] bab4dde63d76: Pull complete [2022-11-07T20:03:01.922Z] bde34c3a00c8: Pull complete [2022-11-07T20:03:01.922Z] b352a97aabf1: Pull complete [2022-11-07T20:03:01.922Z] 4872d77fe225: Pull complete [2022-11-07T20:03:02.182Z] 5851b861e8e6: Pull complete [2022-11-07T20:03:02.182Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-07T20:03:02.182Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-07T20:03:02.182Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:03:02.389Z] prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container [2022-11-07T20:03:02.425Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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 [2022-11-07T20:03:03.604Z] $ docker top c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 -eo pid,comm [2022-11-07T20:03:03.663Z] 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). [2022-11-07T20:03:03.663Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-07T20:03:03.789Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T20:03:03.789Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T20:03:03.901Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T20:03:03.905Z] $ docker exec c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 ssh-agent [2022-11-07T20:03:04.013Z] SSH_AUTH_SOCK=/tmp/ssh-XeM6ePlRZi8p/agent.32 [2022-11-07T20:03:04.013Z] SSH_AGENT_PID=38 [2022-11-07T20:03:04.020Z] Running ssh-add (command line suppressed) [2022-11-07T20:03:04.123Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-226@tmp/private_key_10659705612705947410.key (/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/private_key_10659705612705947410.key) [2022-11-07T20:03:04.137Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T20:03:04.472Z] + git tag --points-at HEAD [Pipeline] } [2022-11-07T20:03:04.498Z] $ docker exec --env ******** --env ******** c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 ssh-agent -k [2022-11-07T20:03:04.612Z] unset SSH_AUTH_SOCK; [2022-11-07T20:03:04.612Z] unset SSH_AGENT_PID; [2022-11-07T20:03:04.613Z] echo Agent pid 38 killed; [2022-11-07T20:03:04.628Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-07T20:03:04.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-07T20:03:04.715Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-07T20:03:04.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-07T20:03:04.825Z] $ docker exec c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 ssh-agent [2022-11-07T20:03:04.922Z] SSH_AUTH_SOCK=/tmp/ssh-twdk3zmrS0pl/agent.71 [2022-11-07T20:03:04.922Z] SSH_AGENT_PID=76 [2022-11-07T20:03:04.927Z] Running ssh-add (command line suppressed) [2022-11-07T20:03:05.039Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-226@tmp/private_key_12748040643517261169.key (/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/private_key_12748040643517261169.key) [2022-11-07T20:03:05.054Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-07T20:03:05.376Z] + git semver init [2022-11-07T20:03:05.635Z] 2022-11-07 20:03:05,553 [run_init] DEBUG init version:0.0.0 force:False [2022-11-07T20:03:05.635Z] 2022-11-07 20:03:05,555 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-226/.semver [2022-11-07T20:03:05.635Z] 2022-11-07 20:03:05,555 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-226/.semver [2022-11-07T20:03:05.635Z] 2022-11-07 20:03:05,556 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-226/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-226, universal_newlines=False, shell=None, istream=None) [2022-11-07T20:03:09.832Z] 2022-11-07 20:03:09,533 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-226/.git/info/exclude [2022-11-07T20:03:09.832Z] 2022-11-07 20:03:09,533 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-226/.semver/PR-226 with force:False [2022-11-07T20:03:09.832Z] 2022-11-07 20:03:09,534 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-226/.semver/PR-226 [2022-11-07T20:03:09.832Z] 2022-11-07 20:03:09,538 [execute] INFO git cat-file --batch-check [2022-11-07T20:03:09.832Z] 2022-11-07 20:03:09,538 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-226/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T20:03:09.832Z] 2022-11-07 20:03:09,544 [execute] INFO git cat-file --batch [2022-11-07T20:03:09.832Z] 2022-11-07 20:03:09,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-226/.semver, universal_newlines=False, shell=None, istream=) [2022-11-07T20:03:09.832Z] 2022-11-07 20:03:09,550 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-226/.semver/PR-226 [2022-11-07T20:03:09.832Z] 0.0.0 [Pipeline] } [2022-11-07T20:03:09.861Z] $ docker exec --env ******** --env ******** c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 ssh-agent -k [2022-11-07T20:03:09.971Z] unset SSH_AUTH_SOCK; [2022-11-07T20:03:09.972Z] unset SSH_AGENT_PID; [2022-11-07T20:03:09.972Z] echo Agent pid 76 killed; [2022-11-07T20:03:09.980Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-07T20:03:10.414Z] + git semver [Pipeline] } [2022-11-07T20:03:10.699Z] $ docker stop --time=1 c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 [2022-11-07T20:03:11.996Z] $ docker rm -f c2c771096fb7d06cf995bc0cb964660059652d8e99f4529b4b8b9069be07ade2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T20:03:12.416Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-07T20:03:12.667Z] Stashed 1 file(s) [Pipeline] echo [2022-11-07T20:03:12.685Z] [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 [2022-11-07T20:03:13.326Z] provisioning config files... [2022-11-07T20:03:13.338Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/config2402549286990015207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:03:13.694Z] ---> docker-login.sh [2022-11-07T20:03:13.694Z] nexus3.edgexfoundry.org:10001 [2022-11-07T20:03:13.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:13.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:13.694Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:13.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:13.694Z] [2022-11-07T20:03:13.694Z] Login Succeeded [2022-11-07T20:03:13.694Z] nexus3.edgexfoundry.org:10002 [2022-11-07T20:03:13.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:13.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:13.694Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:13.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:13.694Z] [2022-11-07T20:03:13.694Z] Login Succeeded [2022-11-07T20:03:13.694Z] nexus3.edgexfoundry.org:10003 [2022-11-07T20:03:13.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:13.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:13.954Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:13.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:13.954Z] [2022-11-07T20:03:13.954Z] Login Succeeded [2022-11-07T20:03:13.954Z] nexus3.edgexfoundry.org:10004 [2022-11-07T20:03:13.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:13.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:13.954Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:13.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:13.954Z] [2022-11-07T20:03:13.954Z] Login Succeeded [2022-11-07T20:03:13.954Z] docker.io [2022-11-07T20:03:14.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:03:14.472Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:03:14.472Z] Configure a credential helper to remove this warning. See [2022-11-07T20:03:14.472Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:03:14.472Z] [2022-11-07T20:03:14.472Z] Login Succeeded [2022-11-07T20:03:14.472Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T20:03:14.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T20:03:14.708Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T20:03:14.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T20:03:14.778Z] ========================================================= [2022-11-07T20:03:14.778Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-07T20:03:14.778Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:03:15.251Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-07T20:03:15.251Z] Sending build context to Docker daemon 10.76MB [2022-11-07T20:03:15.251Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T20:03:15.251Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T20:03:15.251Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-07T20:03:15.251Z] 213ec9aee27d: Pulling fs layer [2022-11-07T20:03:15.251Z] 4583459ba037: Pulling fs layer [2022-11-07T20:03:15.251Z] 93c1e223e6f2: Pulling fs layer [2022-11-07T20:03:15.251Z] 53926ce57604: Pulling fs layer [2022-11-07T20:03:15.251Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-07T20:03:15.251Z] 22ff95d597cd: Pulling fs layer [2022-11-07T20:03:15.251Z] 12d6caf4c0d1: Pulling fs layer [2022-11-07T20:03:15.251Z] 96b7cbca73a9: Pulling fs layer [2022-11-07T20:03:15.251Z] a7acece74701: Pulling fs layer [2022-11-07T20:03:15.251Z] 22ff95d597cd: Waiting [2022-11-07T20:03:15.251Z] 12d6caf4c0d1: Waiting [2022-11-07T20:03:15.251Z] 96b7cbca73a9: Waiting [2022-11-07T20:03:15.251Z] a7acece74701: Waiting [2022-11-07T20:03:15.251Z] 53926ce57604: Waiting [2022-11-07T20:03:15.251Z] 21b2b0c7a3f4: Waiting [2022-11-07T20:03:15.251Z] 93c1e223e6f2: Verifying Checksum [2022-11-07T20:03:15.251Z] 93c1e223e6f2: Download complete [2022-11-07T20:03:15.251Z] 4583459ba037: Download complete [2022-11-07T20:03:15.251Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-07T20:03:15.251Z] 21b2b0c7a3f4: Download complete [2022-11-07T20:03:15.251Z] 22ff95d597cd: Download complete [2022-11-07T20:03:15.509Z] 213ec9aee27d: Verifying Checksum [2022-11-07T20:03:15.509Z] 213ec9aee27d: Download complete [2022-11-07T20:03:15.509Z] 12d6caf4c0d1: Download complete [2022-11-07T20:03:15.509Z] 213ec9aee27d: Pull complete [2022-11-07T20:03:15.772Z] 4583459ba037: Pull complete [2022-11-07T20:03:15.772Z] 93c1e223e6f2: Pull complete [2022-11-07T20:03:16.346Z] a7acece74701: Verifying Checksum [2022-11-07T20:03:16.346Z] a7acece74701: Download complete [2022-11-07T20:03:16.346Z] 53926ce57604: Verifying Checksum [2022-11-07T20:03:16.346Z] 53926ce57604: Download complete [2022-11-07T20:03:16.604Z] 96b7cbca73a9: Verifying Checksum [2022-11-07T20:03:16.604Z] 96b7cbca73a9: Download complete [2022-11-07T20:03:19.884Z] 53926ce57604: Pull complete [2022-11-07T20:03:19.884Z] 21b2b0c7a3f4: Pull complete [2022-11-07T20:03:19.884Z] 22ff95d597cd: Pull complete [2022-11-07T20:03:19.884Z] 12d6caf4c0d1: Pull complete [2022-11-07T20:03:21.778Z] 96b7cbca73a9: Pull complete [2022-11-07T20:03:22.709Z] a7acece74701: Pull complete [2022-11-07T20:03:22.709Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-07T20:03:22.709Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-07T20:03:22.709Z] ---> db6d94c90886 [2022-11-07T20:03:22.709Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T20:03:24.086Z] ---> Running in 3c1155be6fb6 [2022-11-07T20:03:24.086Z] Removing intermediate container 3c1155be6fb6 [2022-11-07T20:03:24.086Z] ---> 2caa3da0b5e6 [2022-11-07T20:03:24.086Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T20:03:24.086Z] ---> Running in f4dd1f1f21cf [2022-11-07T20:03:24.345Z] Removing intermediate container f4dd1f1f21cf [2022-11-07T20:03:24.345Z] ---> 422db1548fb2 [2022-11-07T20:03:24.345Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T20:03:24.345Z] ---> Running in ed31d3e28df8 [2022-11-07T20:03:24.345Z] Removing intermediate container ed31d3e28df8 [2022-11-07T20:03:24.345Z] ---> 2ffa5c04b0ca [2022-11-07T20:03:24.345Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T20:03:24.345Z] ---> Running in 74c26797b0d6 [2022-11-07T20:03:24.605Z] Removing intermediate container 74c26797b0d6 [2022-11-07T20:03:24.606Z] ---> 7c1ca141870f [2022-11-07T20:03:24.606Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T20:03:24.606Z] ---> Running in 969e4cfee39a [2022-11-07T20:03:24.867Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T20:03:25.125Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T20:03:25.385Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T20:03:25.385Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T20:03:25.385Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T20:03:25.385Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T20:03:25.385Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T20:03:25.385Z] OK: 216 MiB in 55 packages [2022-11-07T20:03:25.644Z] Removing intermediate container 969e4cfee39a [2022-11-07T20:03:25.644Z] ---> 7befa2f0a70c [2022-11-07T20:03:25.644Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-07T20:03:25.644Z] ---> Running in 966319dc2b6a [2022-11-07T20:03:25.902Z] Removing intermediate container 966319dc2b6a [2022-11-07T20:03:25.902Z] ---> aa3a8a6ff1e0 [2022-11-07T20:03:25.902Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T20:03:25.902Z] ---> 35b2d7cce6bc [2022-11-07T20:03:25.902Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T20:03:25.902Z] ---> Running in cac71eaad6d2 [2022-11-07T20:03:28.140Z] Still waiting to schedule task [2022-11-07T20:03:28.140Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-07T20:03:43.999Z] Removing intermediate container cac71eaad6d2 [2022-11-07T20:03:43.999Z] ---> b156c57530ed [2022-11-07T20:03:43.999Z] Step 11/12 : COPY . . [2022-11-07T20:03:44.258Z] ---> fc7f31ed7098 [2022-11-07T20:03:44.258Z] Step 12/12 : RUN $MAKE [2022-11-07T20:03:44.258Z] ---> Running in 77cce01c167e [2022-11-07T20:03:44.515Z] noop [2022-11-07T20:03:44.774Z] Removing intermediate container 77cce01c167e [2022-11-07T20:03:44.774Z] ---> c27f70beb626 [2022-11-07T20:03:44.774Z] Successfully built c27f70beb626 [2022-11-07T20:03:44.774Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:03:45.214Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T20:03:45.214Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:03:45.357Z] prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container [2022-11-07T20:03:45.390Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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 [2022-11-07T20:03:45.780Z] $ docker top 7643f0d40fa4d83ab1e961622ffb32b8e44a884e56fe37a0218224c289e44355 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:03:46.178Z] + go version [2022-11-07T20:03:46.178Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-07T20:03:46.212Z] $ docker stop --time=1 7643f0d40fa4d83ab1e961622ffb32b8e44a884e56fe37a0218224c289e44355 [2022-11-07T20:03:47.466Z] $ docker rm -f 7643f0d40fa4d83ab1e961622ffb32b8e44a884e56fe37a0218224c289e44355 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:03:48.195Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-07T20:03:48.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:03:48.354Z] prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container [2022-11-07T20:03:48.387Z] $ 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-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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 [2022-11-07T20:03:48.739Z] $ docker top 9dd53f45e6f04d171837aea5637cc50da4594357c87c986361639b0ced6096bf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:03:49.138Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-226 [Pipeline] fileExists [Pipeline] sh [2022-11-07T20:03:49.494Z] + make test [2022-11-07T20:03:49.494Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T20:03:50.059Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-07T20:04:00.042Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-07T20:04:00.042Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-11-07T20:04:08.149Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-07T20:04:08.149Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T20:04:10.674Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T20:04:10.674Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T20:04:10.674Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T20:04:10.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T20:04:10.743Z] $ docker stop --time=1 9dd53f45e6f04d171837aea5637cc50da4594357c87c986361639b0ced6096bf [2022-11-07T20:04:12.475Z] $ docker rm -f 9dd53f45e6f04d171837aea5637cc50da4594357c87c986361639b0ced6096bf [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T20:04:12.990Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T20:04:13.051Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-07T20:04:13.744Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T20:04:14.057Z] + ls -al . [2022-11-07T20:04:14.057Z] total 188 [2022-11-07T20:04:14.057Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 20:03 . [2022-11-07T20:04:14.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:02 .. [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:02 .dockerignore [2022-11-07T20:04:14.057Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:04 .git [2022-11-07T20:04:14.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:02 .github [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 20:02 .gitignore [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:02 .golangci.yml [2022-11-07T20:04:14.057Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:03 .semver [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 20:02 Attribution.txt [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 20:02 CHANGELOG.md [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 20:02 Dockerfile [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:02 GOVERNANCE.md [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:02 Jenkinsfile [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:02 LICENSE [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 20:02 Makefile [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:02 OWNERS.md [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 20:02 README.md [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:03 VERSION [2022-11-07T20:04:14.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:02 bin [2022-11-07T20:04:14.057Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:02 cmd [2022-11-07T20:04:14.057Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 20:03 coverage.out [2022-11-07T20:04:14.057Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:02 driver [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 3529 Nov 7 20:02 go.mod [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 44953 Nov 7 20:02 go.sum [2022-11-07T20:04:14.057Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:02 snap [2022-11-07T20:04:14.057Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:04:14.454Z] + 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=b1386cac7d5f175829e47539b2f4acddd1f9c3b0 --label arch=amd64 --label version=0.0.0 . [2022-11-07T20:04:14.454Z] Sending build context to Docker daemon 10.77MB [2022-11-07T20:04:14.454Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T20:04:14.454Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T20:04:14.454Z] ---> c27f70beb626 [2022-11-07T20:04:14.454Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T20:04:14.454Z] ---> Running in b0efccc1df32 [2022-11-07T20:04:14.714Z] Removing intermediate container b0efccc1df32 [2022-11-07T20:04:14.714Z] ---> f2578327e0af [2022-11-07T20:04:14.714Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T20:04:14.714Z] ---> Running in 42c2666b9b1d [2022-11-07T20:04:14.714Z] Removing intermediate container 42c2666b9b1d [2022-11-07T20:04:14.714Z] ---> 0a442753a8a1 [2022-11-07T20:04:14.714Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T20:04:14.714Z] ---> Running in 97d8a4bd6250 [2022-11-07T20:04:14.714Z] Removing intermediate container 97d8a4bd6250 [2022-11-07T20:04:14.714Z] ---> 500e0cca4481 [2022-11-07T20:04:14.714Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T20:04:14.714Z] ---> Running in f8761bbc5e5b [2022-11-07T20:04:14.973Z] Removing intermediate container f8761bbc5e5b [2022-11-07T20:04:14.973Z] ---> 4f4c408d1f0b [2022-11-07T20:04:14.973Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T20:04:14.973Z] ---> Running in a06de5ee4f08 [2022-11-07T20:04:15.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T20:04:15.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T20:04:15.756Z] OK: 216 MiB in 55 packages [2022-11-07T20:04:16.016Z] Removing intermediate container a06de5ee4f08 [2022-11-07T20:04:16.016Z] ---> e1f615d88f92 [2022-11-07T20:04:16.016Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-07T20:04:16.016Z] ---> Running in 906c496202ad [2022-11-07T20:04:16.016Z] Removing intermediate container 906c496202ad [2022-11-07T20:04:16.016Z] ---> ee4048f88474 [2022-11-07T20:04:16.016Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-07T20:04:16.276Z] ---> f4438ea43455 [2022-11-07T20:04:16.276Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T20:04:16.276Z] ---> Running in e59a11b734c4 [2022-11-07T20:04:16.842Z] Removing intermediate container e59a11b734c4 [2022-11-07T20:04:16.842Z] ---> 3fc5b7eb36c0 [2022-11-07T20:04:16.842Z] Step 11/25 : COPY . . [2022-11-07T20:04:17.101Z] ---> 9033dae26421 [2022-11-07T20:04:17.101Z] Step 12/25 : RUN $MAKE [2022-11-07T20:04:17.101Z] ---> Running in d8554d91bce3 [2022-11-07T20:04:17.359Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-11-07T20:04:39.293Z] Removing intermediate container d8554d91bce3 [2022-11-07T20:04:39.293Z] ---> 586b2059b0a4 [2022-11-07T20:04:39.293Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T20:04:39.293Z] 3.16: Pulling from library/alpine [2022-11-07T20:04:39.293Z] 213ec9aee27d: Already exists [2022-11-07T20:04:39.293Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T20:04:39.293Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T20:04:39.293Z] ---> 9c6f07244728 [2022-11-07T20:04:39.293Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T20:04:39.293Z] ---> Running in b9d97cbc9d8f [2022-11-07T20:04:39.293Z] Removing intermediate container b9d97cbc9d8f [2022-11-07T20:04:39.293Z] ---> 010de2481a0c [2022-11-07T20:04:39.293Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-07T20:04:39.293Z] ---> Running in 614fb00b8908 [2022-11-07T20:04:39.293Z] Removing intermediate container 614fb00b8908 [2022-11-07T20:04:39.293Z] ---> 15c0e8106c6e [2022-11-07T20:04:39.293Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T20:04:39.293Z] ---> Running in e6009582931e [2022-11-07T20:04:39.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-07T20:04:39.293Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-07T20:04:39.293Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T20:04:39.293Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T20:04:39.293Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T20:04:39.293Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T20:04:39.293Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T20:04:39.293Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T20:04:39.293Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T20:04:39.293Z] OK: 8 MiB in 20 packages [2022-11-07T20:04:39.293Z] Removing intermediate container e6009582931e [2022-11-07T20:04:39.293Z] ---> 972c2084c67a [2022-11-07T20:04:39.293Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-07T20:04:39.860Z] ---> ae3438c985bd [2022-11-07T20:04:39.860Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-07T20:04:40.120Z] ---> 6e769ce1398a [2022-11-07T20:04:40.121Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-07T20:04:40.121Z] ---> 72918ba141b2 [2022-11-07T20:04:40.121Z] Step 20/25 : EXPOSE 59986 [2022-11-07T20:04:40.121Z] ---> Running in a80c92ae6fad [2022-11-07T20:04:40.121Z] Removing intermediate container a80c92ae6fad [2022-11-07T20:04:40.121Z] ---> 70f67c27116c [2022-11-07T20:04:40.121Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-07T20:04:40.381Z] ---> Running in ecbcc8bc0626 [2022-11-07T20:04:40.381Z] Removing intermediate container ecbcc8bc0626 [2022-11-07T20:04:40.381Z] ---> eeccf61f34a3 [2022-11-07T20:04:40.381Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-07T20:04:40.381Z] ---> Running in f52ca1bf791d [2022-11-07T20:04:40.381Z] Removing intermediate container f52ca1bf791d [2022-11-07T20:04:40.381Z] ---> 00920da0d6da [2022-11-07T20:04:40.381Z] Step 23/25 : LABEL arch=amd64 [2022-11-07T20:04:40.381Z] ---> Running in 73767ca3d9dc [2022-11-07T20:04:40.650Z] Removing intermediate container 73767ca3d9dc [2022-11-07T20:04:40.650Z] ---> 8d9fdcf9309c [2022-11-07T20:04:40.650Z] Step 24/25 : LABEL git_sha=b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [2022-11-07T20:04:40.650Z] ---> Running in ce92703ab853 [2022-11-07T20:04:40.650Z] Removing intermediate container ce92703ab853 [2022-11-07T20:04:40.650Z] ---> 07031f33f53d [2022-11-07T20:04:40.650Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T20:04:40.650Z] ---> Running in 7ef9737933c1 [2022-11-07T20:04:40.650Z] Removing intermediate container 7ef9737933c1 [2022-11-07T20:04:40.650Z] ---> 7a3802ef2a85 [2022-11-07T20:04:40.650Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T20:04:40.650Z] Successfully built 7a3802ef2a85 [2022-11-07T20:04:40.650Z] 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 [2022-11-07T20:04:41.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T20:04:41.554Z] [2022-11-07T20:04:41.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:04:41.927Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T20:04:41.927Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-07T20:04:41.928Z] 5eb5b503b376: Pulling fs layer [2022-11-07T20:04:41.928Z] 5c69ac0246d0: Pulling fs layer [2022-11-07T20:04:41.928Z] ec43610c2a17: Pulling fs layer [2022-11-07T20:04:41.928Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-07T20:04:41.928Z] 33b1e0a273af: Pulling fs layer [2022-11-07T20:04:41.928Z] 5d3b04190fa2: Pulling fs layer [2022-11-07T20:04:41.928Z] 2f39f015ded8: Pulling fs layer [2022-11-07T20:04:41.928Z] 33b1e0a273af: Waiting [2022-11-07T20:04:41.928Z] 5d3b04190fa2: Waiting [2022-11-07T20:04:41.928Z] 2f39f015ded8: Waiting [2022-11-07T20:04:41.928Z] 3a2ae6a8a46f: Waiting [2022-11-07T20:04:41.928Z] 5c69ac0246d0: Download complete [2022-11-07T20:04:41.928Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-07T20:04:41.928Z] 3a2ae6a8a46f: Download complete [2022-11-07T20:04:42.185Z] 33b1e0a273af: Verifying Checksum [2022-11-07T20:04:42.185Z] 33b1e0a273af: Download complete [2022-11-07T20:04:42.185Z] ec43610c2a17: Verifying Checksum [2022-11-07T20:04:42.185Z] ec43610c2a17: Download complete [2022-11-07T20:04:42.185Z] 5d3b04190fa2: Verifying Checksum [2022-11-07T20:04:42.185Z] 5d3b04190fa2: Download complete [2022-11-07T20:04:42.185Z] 5eb5b503b376: Verifying Checksum [2022-11-07T20:04:42.185Z] 5eb5b503b376: Download complete [2022-11-07T20:04:42.751Z] 2f39f015ded8: Verifying Checksum [2022-11-07T20:04:42.751Z] 2f39f015ded8: Download complete [2022-11-07T20:04:43.318Z] 5eb5b503b376: Pull complete [2022-11-07T20:04:43.579Z] 5c69ac0246d0: Pull complete [2022-11-07T20:04:43.907Z] ec43610c2a17: Pull complete [2022-11-07T20:04:44.165Z] 3a2ae6a8a46f: Pull complete [2022-11-07T20:04:44.165Z] 33b1e0a273af: Pull complete [2022-11-07T20:04:44.424Z] 5d3b04190fa2: Pull complete [2022-11-07T20:04:48.675Z] 2f39f015ded8: Pull complete [2022-11-07T20:04:48.675Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-07T20:04:48.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T20:04:48.675Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:04:48.890Z] prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container [2022-11-07T20:04:48.918Z] $ 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-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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 [2022-11-07T20:04:50.070Z] $ docker top 952aa331cb702fa0dda56b341ada391bf7bf254c3defba90240b99cfad1334cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:04:50.515Z] ---> job-cost.sh [2022-11-07T20:04:50.515Z] lf-activate-venv: SKIPPING [2022-11-07T20:04:50.515Z] INFO: No Stack... [2022-11-07T20:04:51.083Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T20:04:51.335Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118509 in /w/workspace/gexfoundry_device-rest-go_PR-226 [2022-11-07T20:04:51.342Z] INFO: Archiving Costs [Pipeline] { [Pipeline] sh [Pipeline] ws [2022-11-07T20:04:51.456Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-11-07T20:04:51.542Z] The recommended git tool is: git [2022-11-07T20:04:51.675Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-226/archives/cost.csv [2022-11-07T20:04:51.675Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T20:04:51.710Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [2022-11-07T20:04:51.714Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] did not exist. Created. [2022-11-07T20:04:51.714Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T20:04:52.106Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-07T20:04:52.160Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T20:04:52.188Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T20:04:52.268Z] $ docker stop --time=1 952aa331cb702fa0dda56b341ada391bf7bf254c3defba90240b99cfad1334cc [2022-11-07T20:04:53.434Z] $ docker rm -f 952aa331cb702fa0dda56b341ada391bf7bf254c3defba90240b99cfad1334cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-07T20:04:56.616Z] using credential edgex-jenkins-ssh [2022-11-07T20:04:56.631Z] Cloning the remote Git repository [2022-11-07T20:04:56.667Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-11-07T20:04:56.743Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-11-07T20:04:56.873Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-07T20:04:56.874Z] > git --version # timeout=10 [2022-11-07T20:04:56.901Z] > git --version # 'git version 2.25.1' [2022-11-07T20:04:56.903Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T20:04:56.946Z] Verifying host key using known hosts file [2022-11-07T20:04:57.123Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T20:04:57.136Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T20:04:59.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-07T20:04:59.066Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-07T20:04:59.856Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-07T20:04:59.900Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-07T20:04:59.901Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T20:04:59.907Z] Verifying host key using known hosts file [2022-11-07T20:04:59.914Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T20:04:59.924Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-07T20:05:00.484Z] Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [2022-11-07T20:05:00.688Z] Merge succeeded, producing b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [2022-11-07T20:05:00.689Z] Checking out Revision b1386cac7d5f175829e47539b2f4acddd1f9c3b0 (PR-226) [2022-11-07T20:05:01.145Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-11-07T20:05:01.192Z] > git --version # timeout=10 [2022-11-07T20:05:01.205Z] > git --version # 'git version 2.25.1' [2022-11-07T20:05:01.221Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-07T20:05:00.496Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T20:05:00.520Z] > git checkout -f b1386cac7d5f175829e47539b2f4acddd1f9c3b0 # timeout=10 [2022-11-07T20:05:00.590Z] > git remote # timeout=10 [2022-11-07T20:05:00.605Z] > git config --get remote.origin.url # timeout=10 [2022-11-07T20:05:00.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-07T20:05:00.628Z] Verifying host key using known hosts file [2022-11-07T20:05:00.633Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-07T20:05:00.643Z] > git merge ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 [2022-11-07T20:05:00.666Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-07T20:05:00.689Z] > git config core.sparsecheckout # timeout=10 [2022-11-07T20:05:00.704Z] > git checkout -f b1386cac7d5f175829e47539b2f4acddd1f9c3b0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T20:05:02.562Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-07T20:05:02.562Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T20:05:02.562Z] Dload Upload Total Spent Left Speed [2022-11-07T20:05:02.562Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 85148 [Pipeline] sh [2022-11-07T20:05:03.131Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-07T20:05:03.475Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2022-11-07T20:05:03.476Z] [2022-11-07T20:05:03.476Z] { [2022-11-07T20:05:03.476Z] "registry-mirrors": [ [2022-11-07T20:05:03.476Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-07T20:05:03.476Z] ], [2022-11-07T20:05:03.476Z] "bip": "10.250.0.254/24", [2022-11-07T20:05:03.476Z] "hosts": [ [2022-11-07T20:05:03.476Z] "tcp://0.0.0.0:5555", [2022-11-07T20:05:03.476Z] "unix:///var/run/docker.sock" [2022-11-07T20:05:03.476Z] ], [2022-11-07T20:05:03.476Z] "mtu": 1458, [2022-11-07T20:05:03.476Z] "selinux-enabled": true, [2022-11-07T20:05:03.476Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-07T20:05:03.476Z] } [Pipeline] sh [2022-11-07T20:05:03.841Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-07T20:05:04.186Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T20:05:22.505Z] provisioning config files... [2022-11-07T20:05:22.531Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config9762774114607464456tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:05:22.922Z] ---> docker-login.sh [2022-11-07T20:05:22.922Z] nexus3.edgexfoundry.org:10001 [2022-11-07T20:05:23.204Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:05:23.477Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:05:23.477Z] Configure a credential helper to remove this warning. See [2022-11-07T20:05:23.477Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:05:23.477Z] [2022-11-07T20:05:23.477Z] Login Succeeded [2022-11-07T20:05:23.477Z] nexus3.edgexfoundry.org:10002 [2022-11-07T20:05:23.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:05:23.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:05:23.747Z] Configure a credential helper to remove this warning. See [2022-11-07T20:05:23.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:05:23.747Z] [2022-11-07T20:05:23.747Z] Login Succeeded [2022-11-07T20:05:23.747Z] nexus3.edgexfoundry.org:10003 [2022-11-07T20:05:24.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:05:24.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:05:24.284Z] Configure a credential helper to remove this warning. See [2022-11-07T20:05:24.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:05:24.284Z] [2022-11-07T20:05:24.284Z] Login Succeeded [2022-11-07T20:05:24.284Z] nexus3.edgexfoundry.org:10004 [2022-11-07T20:05:24.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:05:24.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:05:24.556Z] Configure a credential helper to remove this warning. See [2022-11-07T20:05:24.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:05:24.556Z] [2022-11-07T20:05:24.556Z] Login Succeeded [2022-11-07T20:05:24.556Z] docker.io [2022-11-07T20:05:24.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-07T20:05:25.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-07T20:05:25.092Z] Configure a credential helper to remove this warning. See [2022-11-07T20:05:25.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-07T20:05:25.092Z] [2022-11-07T20:05:25.092Z] Login Succeeded [2022-11-07T20:05:25.092Z] ---> docker-login.sh ends [Pipeline] } [2022-11-07T20:05:25.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-07T20:05:25.464Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T20:05:25.494Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-07T20:05:25.527Z] ========================================================= [2022-11-07T20:05:25.527Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-07T20:05:25.527Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:05:26.010Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-07T20:05:26.010Z] Sending build context to Docker daemon 129.5kB [2022-11-07T20:05:26.280Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T20:05:26.280Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-07T20:05:27.709Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-07T20:05:27.709Z] 9b18e9b68314: Pulling fs layer [2022-11-07T20:05:27.709Z] 35d82f9e3411: Pulling fs layer [2022-11-07T20:05:27.709Z] e16973657156: Pulling fs layer [2022-11-07T20:05:27.709Z] fc693d55d65f: Pulling fs layer [2022-11-07T20:05:27.709Z] 7e9fc2657dce: Pulling fs layer [2022-11-07T20:05:27.709Z] dda99020689f: Pulling fs layer [2022-11-07T20:05:27.709Z] db1c61fa0a46: Pulling fs layer [2022-11-07T20:05:27.709Z] 891c053d2c06: Pulling fs layer [2022-11-07T20:05:27.709Z] 7e9fc2657dce: Waiting [2022-11-07T20:05:27.709Z] dda99020689f: Waiting [2022-11-07T20:05:27.709Z] db1c61fa0a46: Waiting [2022-11-07T20:05:27.709Z] 891c053d2c06: Waiting [2022-11-07T20:05:27.709Z] fc693d55d65f: Waiting [2022-11-07T20:05:27.709Z] e16973657156: Verifying Checksum [2022-11-07T20:05:27.709Z] e16973657156: Download complete [2022-11-07T20:05:27.709Z] 35d82f9e3411: Verifying Checksum [2022-11-07T20:05:27.709Z] 35d82f9e3411: Download complete [2022-11-07T20:05:27.709Z] 7e9fc2657dce: Verifying Checksum [2022-11-07T20:05:27.709Z] 7e9fc2657dce: Download complete [2022-11-07T20:05:27.709Z] dda99020689f: Verifying Checksum [2022-11-07T20:05:27.709Z] dda99020689f: Download complete [2022-11-07T20:05:27.709Z] 9b18e9b68314: Verifying Checksum [2022-11-07T20:05:27.709Z] 9b18e9b68314: Download complete [2022-11-07T20:05:29.140Z] 9b18e9b68314: Pull complete [2022-11-07T20:05:29.140Z] 891c053d2c06: Verifying Checksum [2022-11-07T20:05:29.140Z] 891c053d2c06: Download complete [2022-11-07T20:05:29.412Z] 35d82f9e3411: Pull complete [2022-11-07T20:05:30.012Z] e16973657156: Pull complete [2022-11-07T20:05:30.298Z] db1c61fa0a46: Verifying Checksum [2022-11-07T20:05:30.298Z] db1c61fa0a46: Download complete [2022-11-07T20:05:31.262Z] fc693d55d65f: Verifying Checksum [2022-11-07T20:05:31.262Z] fc693d55d65f: Download complete [2022-11-07T20:05:43.707Z] fc693d55d65f: Pull complete [2022-11-07T20:05:43.707Z] 7e9fc2657dce: Pull complete [2022-11-07T20:05:43.707Z] dda99020689f: Pull complete [2022-11-07T20:05:50.384Z] db1c61fa0a46: Pull complete [2022-11-07T20:05:52.327Z] 891c053d2c06: Pull complete [2022-11-07T20:05:52.327Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-07T20:05:52.327Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-07T20:05:52.327Z] ---> f96f9c87975a [2022-11-07T20:05:52.327Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-07T20:05:53.746Z] ---> Running in 819d15a69674 [2022-11-07T20:05:54.015Z] Removing intermediate container 819d15a69674 [2022-11-07T20:05:54.015Z] ---> 2f89e25c3e4f [2022-11-07T20:05:54.015Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T20:05:54.284Z] ---> Running in e3014a9a3f42 [2022-11-07T20:05:54.552Z] Removing intermediate container e3014a9a3f42 [2022-11-07T20:05:54.552Z] ---> 0d28f5c3a3ee [2022-11-07T20:05:54.552Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T20:05:54.552Z] ---> Running in 57563473fbb9 [2022-11-07T20:05:54.820Z] Removing intermediate container 57563473fbb9 [2022-11-07T20:05:54.820Z] ---> eb47eb00cc42 [2022-11-07T20:05:54.820Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T20:05:54.820Z] ---> Running in e0be9dde3a6c [2022-11-07T20:05:55.405Z] Removing intermediate container e0be9dde3a6c [2022-11-07T20:05:55.405Z] ---> 195a6c9ab490 [2022-11-07T20:05:55.405Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T20:05:55.405Z] ---> Running in 100d7240c22d [2022-11-07T20:05:56.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T20:05:56.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T20:05:58.060Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-07T20:05:58.060Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-07T20:05:58.060Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-07T20:05:58.060Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-07T20:05:58.060Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T20:05:58.060Z] OK: 226 MiB in 55 packages [2022-11-07T20:05:59.028Z] Removing intermediate container 100d7240c22d [2022-11-07T20:05:59.028Z] ---> 15e524cacd0f [2022-11-07T20:05:59.028Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-07T20:05:59.028Z] ---> Running in 3688b01460c3 [2022-11-07T20:05:59.295Z] Removing intermediate container 3688b01460c3 [2022-11-07T20:05:59.295Z] ---> 628d3bec2fa0 [2022-11-07T20:05:59.295Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-07T20:05:59.882Z] ---> 6e337391354a [2022-11-07T20:05:59.882Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T20:05:59.882Z] ---> Running in db03b65a057e [2022-11-07T20:06:56.325Z] Removing intermediate container db03b65a057e [2022-11-07T20:06:56.325Z] ---> c8f42efc0179 [2022-11-07T20:06:56.325Z] Step 11/12 : COPY . . [2022-11-07T20:06:56.325Z] ---> 42f337f12cd3 [2022-11-07T20:06:56.325Z] Step 12/12 : RUN $MAKE [2022-11-07T20:06:56.325Z] ---> Running in 27ece08c192d [2022-11-07T20:06:56.325Z] noop [2022-11-07T20:06:56.325Z] Removing intermediate container 27ece08c192d [2022-11-07T20:06:56.325Z] ---> 8c0b57f888a0 [2022-11-07T20:06:56.325Z] Successfully built 8c0b57f888a0 [2022-11-07T20:06:56.325Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:06:56.792Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T20:06:56.792Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:06:57.048Z] prd-ubuntu20.04-docker-arm64-4c-16g-118509 does not seem to be running inside a container [2022-11-07T20:06:57.112Z] $ 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 [2022-11-07T20:06:58.268Z] $ docker top 41ba3f4aa93dbf0f076cf3dfeefa224bf0dfbcafa7ef2aa56c782d63b50d06f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:06:59.123Z] + go version [2022-11-07T20:06:59.123Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-07T20:06:59.156Z] $ docker stop --time=1 41ba3f4aa93dbf0f076cf3dfeefa224bf0dfbcafa7ef2aa56c782d63b50d06f0 [2022-11-07T20:07:00.775Z] $ docker rm -f 41ba3f4aa93dbf0f076cf3dfeefa224bf0dfbcafa7ef2aa56c782d63b50d06f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:07:01.593Z] + docker inspect -f . ci-base-image-arm64 [2022-11-07T20:07:01.593Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:07:01.825Z] prd-ubuntu20.04-docker-arm64-4c-16g-118509 does not seem to be running inside a container [2022-11-07T20:07:01.887Z] $ 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 [2022-11-07T20:07:03.060Z] $ docker top 0e65be1dd1c0ff44ec7c7c0d757ff6bea03b7ccfa1a17c64f1cbf2e5bab66276 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:07:03.625Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-11-07T20:07:04.017Z] + make test [2022-11-07T20:07:04.017Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-07T20:07:05.962Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-07T20:08:42.647Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-07T20:08:42.648Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-11-07T20:08:42.648Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-07T20:08:42.648Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-07T20:08:54.981Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-07T20:08:54.981Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-07T20:08:54.981Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-07T20:08:55.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-07T20:08:55.056Z] $ docker stop --time=1 0e65be1dd1c0ff44ec7c7c0d757ff6bea03b7ccfa1a17c64f1cbf2e5bab66276 [2022-11-07T20:08:56.824Z] $ docker rm -f 0e65be1dd1c0ff44ec7c7c0d757ff6bea03b7ccfa1a17c64f1cbf2e5bab66276 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-07T20:08:57.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-07T20:08:57.850Z] Warning: overwriting stash ‘coverage-report’ [2022-11-07T20:08:58.254Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-07T20:08:58.844Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-07T20:08:59.182Z] + ls -al . [2022-11-07T20:08:59.182Z] total 184 [2022-11-07T20:08:59.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:07 . [2022-11-07T20:08:59.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:04 .. [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:05 .dockerignore [2022-11-07T20:08:59.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:05 .git [2022-11-07T20:08:59.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:05 .github [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 20:05 .gitignore [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:05 .golangci.yml [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 20:05 Attribution.txt [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 20:05 CHANGELOG.md [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 20:05 Dockerfile [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:05 GOVERNANCE.md [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:05 Jenkinsfile [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:05 LICENSE [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 20:05 Makefile [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:05 OWNERS.md [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 20:05 README.md [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:03 VERSION [2022-11-07T20:08:59.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:05 bin [2022-11-07T20:08:59.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:05 cmd [2022-11-07T20:08:59.182Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 20:08 coverage.out [2022-11-07T20:08:59.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:05 driver [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 3529 Nov 7 20:05 go.mod [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 44953 Nov 7 20:05 go.sum [2022-11-07T20:08:59.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:05 snap [2022-11-07T20:08:59.182Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:08:59.599Z] + 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=b1386cac7d5f175829e47539b2f4acddd1f9c3b0 --label arch=arm64 --label version=0.0.0 . [2022-11-07T20:08:59.599Z] Sending build context to Docker daemon 139.8kB [2022-11-07T20:08:59.869Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-07T20:08:59.869Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-07T20:08:59.869Z] ---> 8c0b57f888a0 [2022-11-07T20:08:59.869Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-07T20:08:59.869Z] ---> Running in 450120198cf5 [2022-11-07T20:09:00.139Z] Removing intermediate container 450120198cf5 [2022-11-07T20:09:00.139Z] ---> 57959e52198c [2022-11-07T20:09:00.139Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-07T20:09:00.410Z] ---> Running in e895408a8dda [2022-11-07T20:09:00.680Z] Removing intermediate container e895408a8dda [2022-11-07T20:09:00.680Z] ---> dec9d1f170a2 [2022-11-07T20:09:00.680Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-07T20:09:00.680Z] ---> Running in 18f663b816d5 [2022-11-07T20:09:00.947Z] Removing intermediate container 18f663b816d5 [2022-11-07T20:09:00.947Z] ---> 15cf208b3de9 [2022-11-07T20:09:00.947Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-07T20:09:01.218Z] ---> Running in 82e13b33b290 [2022-11-07T20:09:01.492Z] Removing intermediate container 82e13b33b290 [2022-11-07T20:09:01.492Z] ---> 3c32358693cd [2022-11-07T20:09:01.492Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-07T20:09:01.492Z] ---> Running in bcb681b3338d [2022-11-07T20:09:02.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T20:09:02.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T20:09:03.686Z] OK: 226 MiB in 55 packages [2022-11-07T20:09:04.652Z] Removing intermediate container bcb681b3338d [2022-11-07T20:09:04.652Z] ---> 5a79a0a1e25e [2022-11-07T20:09:04.652Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-07T20:09:04.652Z] ---> Running in d14e90669404 [2022-11-07T20:09:04.921Z] Removing intermediate container d14e90669404 [2022-11-07T20:09:04.921Z] ---> 6dd9e0407208 [2022-11-07T20:09:04.921Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-07T20:09:05.508Z] ---> 20a4259cf54f [2022-11-07T20:09:05.508Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-07T20:09:05.508Z] ---> Running in e4bdd3c13224 [2022-11-07T20:09:08.105Z] Removing intermediate container e4bdd3c13224 [2022-11-07T20:09:08.105Z] ---> a4857f80051d [2022-11-07T20:09:08.105Z] Step 11/25 : COPY . . [2022-11-07T20:09:08.694Z] ---> c705fc583cd5 [2022-11-07T20:09:08.694Z] Step 12/25 : RUN $MAKE [2022-11-07T20:09:08.694Z] ---> Running in 04fbbe9ca41b [2022-11-07T20:09:09.672Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-11-07T20:11:46.412Z] Removing intermediate container 04fbbe9ca41b [2022-11-07T20:11:46.412Z] ---> 51bac185270a [2022-11-07T20:11:46.412Z] Step 13/25 : FROM alpine:3.16 [2022-11-07T20:11:46.412Z] 3.16: Pulling from library/alpine [2022-11-07T20:11:46.412Z] 9b18e9b68314: Already exists [2022-11-07T20:11:46.412Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-07T20:11:46.412Z] Status: Downloaded newer image for alpine:3.16 [2022-11-07T20:11:46.412Z] ---> a6215f271958 [2022-11-07T20:11:46.412Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-07T20:11:46.412Z] ---> Running in 2e66eeb8a3bc [2022-11-07T20:11:46.681Z] Removing intermediate container 2e66eeb8a3bc [2022-11-07T20:11:46.681Z] ---> 9cf04d23ae99 [2022-11-07T20:11:46.681Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-07T20:11:46.681Z] ---> Running in 69abcd2fc8c8 [2022-11-07T20:11:46.951Z] Removing intermediate container 69abcd2fc8c8 [2022-11-07T20:11:46.951Z] ---> 26a9c8a04ecc [2022-11-07T20:11:46.951Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-07T20:11:46.951Z] ---> Running in e0fb3a8b7b71 [2022-11-07T20:11:47.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-07T20:11:48.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-07T20:11:49.594Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-07T20:11:49.594Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-07T20:11:49.594Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-07T20:11:49.594Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-07T20:11:49.594Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-07T20:11:49.594Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-07T20:11:49.594Z] Executing busybox-1.35.0-r17.trigger [2022-11-07T20:11:49.594Z] OK: 8 MiB in 20 packages [2022-11-07T20:11:50.563Z] Removing intermediate container e0fb3a8b7b71 [2022-11-07T20:11:50.563Z] ---> 1e124b0e1be4 [2022-11-07T20:11:50.563Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-07T20:11:51.976Z] ---> 6bcf06aa5f32 [2022-11-07T20:11:51.976Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-07T20:11:52.244Z] ---> 280a770d1d8a [2022-11-07T20:11:52.244Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-07T20:11:52.830Z] ---> 926781406c53 [2022-11-07T20:11:52.830Z] Step 20/25 : EXPOSE 59986 [2022-11-07T20:11:52.830Z] ---> Running in ca0e0fec6f4a [2022-11-07T20:11:53.100Z] Removing intermediate container ca0e0fec6f4a [2022-11-07T20:11:53.100Z] ---> 4f2300a9734c [2022-11-07T20:11:53.100Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-07T20:11:53.376Z] ---> Running in b8cfd13bd44e [2022-11-07T20:11:53.643Z] Removing intermediate container b8cfd13bd44e [2022-11-07T20:11:53.643Z] ---> 9a310d3efc6e [2022-11-07T20:11:53.643Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-07T20:11:53.643Z] ---> Running in 2895c07837eb [2022-11-07T20:11:53.912Z] Removing intermediate container 2895c07837eb [2022-11-07T20:11:53.912Z] ---> 2cb64db50129 [2022-11-07T20:11:53.912Z] Step 23/25 : LABEL arch=arm64 [2022-11-07T20:11:53.912Z] ---> Running in 013ae012a75c [2022-11-07T20:11:54.181Z] Removing intermediate container 013ae012a75c [2022-11-07T20:11:54.181Z] ---> 9c97c6db3a18 [2022-11-07T20:11:54.181Z] Step 24/25 : LABEL git_sha=b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [2022-11-07T20:11:54.451Z] ---> Running in 689a7562fe60 [2022-11-07T20:11:54.718Z] Removing intermediate container 689a7562fe60 [2022-11-07T20:11:54.718Z] ---> ec93e8066a89 [2022-11-07T20:11:54.718Z] Step 25/25 : LABEL version=0.0.0 [2022-11-07T20:11:54.718Z] ---> Running in c9828fc60487 [2022-11-07T20:11:54.988Z] Removing intermediate container c9828fc60487 [2022-11-07T20:11:54.988Z] ---> d52208f3f4e6 [2022-11-07T20:11:54.988Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-07T20:11:54.988Z] Successfully built d52208f3f4e6 [2022-11-07T20:11:54.988Z] 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 [2022-11-07T20:11:55.809Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T20:11:55.809Z] [2022-11-07T20:11:55.809Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:11:56.219Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T20:11:56.219Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-07T20:11:56.219Z] 8998bd30e6a1: Pulling fs layer [2022-11-07T20:11:56.219Z] 04944245beec: Pulling fs layer [2022-11-07T20:11:56.219Z] 699f458cf7ca: Pulling fs layer [2022-11-07T20:11:56.219Z] 765212b225bb: Pulling fs layer [2022-11-07T20:11:56.219Z] f23df028b6ca: Pulling fs layer [2022-11-07T20:11:56.219Z] d65c8cfc05b1: Pulling fs layer [2022-11-07T20:11:56.219Z] 2437ff75d9bd: Pulling fs layer [2022-11-07T20:11:56.219Z] f23df028b6ca: Waiting [2022-11-07T20:11:56.219Z] 765212b225bb: Waiting [2022-11-07T20:11:56.219Z] d65c8cfc05b1: Waiting [2022-11-07T20:11:56.219Z] 2437ff75d9bd: Waiting [2022-11-07T20:11:56.489Z] 04944245beec: Verifying Checksum [2022-11-07T20:11:56.489Z] 04944245beec: Download complete [2022-11-07T20:11:56.489Z] 765212b225bb: Verifying Checksum [2022-11-07T20:11:56.489Z] 765212b225bb: Download complete [2022-11-07T20:11:56.489Z] f23df028b6ca: Download complete [2022-11-07T20:11:56.489Z] d65c8cfc05b1: Verifying Checksum [2022-11-07T20:11:56.489Z] d65c8cfc05b1: Download complete [2022-11-07T20:11:56.761Z] 699f458cf7ca: Verifying Checksum [2022-11-07T20:11:56.761Z] 699f458cf7ca: Download complete [2022-11-07T20:11:57.031Z] 8998bd30e6a1: Verifying Checksum [2022-11-07T20:11:57.031Z] 8998bd30e6a1: Download complete [2022-11-07T20:11:59.632Z] 2437ff75d9bd: Verifying Checksum [2022-11-07T20:11:59.632Z] 2437ff75d9bd: Download complete [2022-11-07T20:12:01.051Z] 8998bd30e6a1: Pull complete [2022-11-07T20:12:01.638Z] 04944245beec: Pull complete [2022-11-07T20:12:03.048Z] 699f458cf7ca: Pull complete [2022-11-07T20:12:03.048Z] 765212b225bb: Pull complete [2022-11-07T20:12:04.010Z] f23df028b6ca: Pull complete [2022-11-07T20:12:04.010Z] d65c8cfc05b1: Pull complete [2022-11-07T20:12:19.025Z] 2437ff75d9bd: Pull complete [2022-11-07T20:12:19.025Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-07T20:12:19.025Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-07T20:12:19.025Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:12:19.330Z] prd-ubuntu20.04-docker-arm64-4c-16g-118509 does not seem to be running inside a container [2022-11-07T20:12:19.445Z] $ 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 [2022-11-07T20:12:22.104Z] $ docker top d3d4a8c43d1bfabb0e4b9ab9ee1a8914df2bb70cc16de058ade422a19a47e0c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:12:23.030Z] ---> job-cost.sh [2022-11-07T20:12:23.030Z] lf-activate-venv: SKIPPING [2022-11-07T20:12:23.030Z] INFO: No Stack... [2022-11-07T20:12:23.304Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-07T20:12:24.293Z] INFO: Archiving Costs [Pipeline] sh [2022-11-07T20:12:24.653Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-11-07T20:12:24.653Z] + cut -d, -f6 [Pipeline] lock [2022-11-07T20:12:24.997Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [2022-11-07T20:12:25.002Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] did not exist. Created. [2022-11-07T20:12:25.003Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-07T20:12:25.729Z] /w/workspace/device-rest-go/1@tmp/durable-4b9e23c9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-07T20:12:26.401Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-07T20:12:26.441Z] Warning: overwriting stash ‘stack-cost’ [2022-11-07T20:12:26.483Z] Stashed 1 file(s) [Pipeline] } [2022-11-07T20:12:26.499Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-07T20:12:26.579Z] $ docker stop --time=1 d3d4a8c43d1bfabb0e4b9ab9ee1a8914df2bb70cc16de058ade422a19a47e0c9 [2022-11-07T20:12:28.052Z] $ docker rm -f d3d4a8c43d1bfabb0e4b9ab9ee1a8914df2bb70cc16de058ade422a19a47e0c9 [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 [2022-11-07T20:12:29.245Z] provisioning config files... [2022-11-07T20:12:29.253Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/config6253166771526921445tmp [Pipeline] { [Pipeline] sh [2022-11-07T20:12:29.588Z] + set +x [2022-11-07T20:12:29.588Z] + curl -s https://codecov.io/bash [2022-11-07T20:12:29.588Z] + bash -s -- [2022-11-07T20:12:29.588Z] [2022-11-07T20:12:29.588Z] _____ _ [2022-11-07T20:12:29.588Z] / ____| | | [2022-11-07T20:12:29.588Z] | | ___ __| | ___ ___ _____ __ [2022-11-07T20:12:29.588Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-07T20:12:29.588Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-07T20:12:29.588Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-07T20:12:29.588Z] Bash-1.0.6 [2022-11-07T20:12:29.588Z] [2022-11-07T20:12:29.588Z] [2022-11-07T20:12:29.588Z] ==> git version 2.25.1 found [2022-11-07T20:12:29.588Z] ==> 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 [2022-11-07T20:12:29.588Z] Release-Date: 2020-01-08 [2022-11-07T20:12:29.588Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-07T20:12:29.588Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-07T20:12:29.588Z] ==> Jenkins CI detected. [2022-11-07T20:12:29.588Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-226 [2022-11-07T20:12:29.588Z] project root: . [2022-11-07T20:12:29.588Z] --> token set from env [2022-11-07T20:12:29.588Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-07T20:12:29.588Z] ==> Running gcov in . (disable via -X gcov) [2022-11-07T20:12:29.588Z] ==> Python coveragepy not found [2022-11-07T20:12:29.588Z] ==> Searching for coverage reports in: [2022-11-07T20:12:29.588Z] + . [2022-11-07T20:12:29.588Z] -> Found 1 reports [2022-11-07T20:12:29.588Z] ==> Detecting git/mercurial file structure [2022-11-07T20:12:29.846Z] ==> Reading reports [2022-11-07T20:12:29.846Z] + ./coverage.out bytes=9355 [2022-11-07T20:12:29.846Z] ==> Appending adjustments [2022-11-07T20:12:29.846Z] https://docs.codecov.io/docs/fixing-reports [2022-11-07T20:12:29.846Z] + Found adjustments [2022-11-07T20:12:29.846Z] ==> Gzipping contents [2022-11-07T20:12:29.846Z] 4.0K /tmp/codecov.4n5JmK.gz [2022-11-07T20:12:29.846Z] ==> Uploading reports [2022-11-07T20:12:29.846Z] url: https://codecov.io [2022-11-07T20:12:29.847Z] query: branch=PR-226&commit=b1386cac7d5f175829e47539b2f4acddd1f9c3b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=226&job=&cmd_args= [2022-11-07T20:12:29.847Z] -> Pinging Codecov [2022-11-07T20:12:29.847Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-226&commit=b1386cac7d5f175829e47539b2f4acddd1f9c3b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-226%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=226&job=&cmd_args= [2022-11-07T20:12:30.106Z] -> Uploading to [2022-11-07T20:12:30.106Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-07/4E5D53B4F1F92C436F7061BF334D961C/b1386cac7d5f175829e47539b2f4acddd1f9c3b0/472d7a11-23c3-4162-baa7-9ae88255b416.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T201229Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f10389355534b8310411a3fa46e629806ca9bdae5c1bc2f75094a70d1e97e0a9 [2022-11-07T20:12:30.106Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-07T20:12:30.106Z] Dload Upload Total Spent Left Speed [2022-11-07T20:12:30.366Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7093 --:--:-- --:--:-- --:--:-- 7093 [2022-11-07T20:12:30.366Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b1386cac7d5f175829e47539b2f4acddd1f9c3b0 [Pipeline] } [2022-11-07T20:12:30.392Z] 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 [2022-11-07T20:12:32.245Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-226/archives ] [2022-11-07T20:12:32.245Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-226/archives [2022-11-07T20:12:32.245Z] total 16 [2022-11-07T20:12:32.245Z] drwxr-xr-x 3 root root 4096 Nov 7 20:04 . [2022-11-07T20:12:32.245Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:04 .. [2022-11-07T20:12:32.245Z] drwxr-xr-x 2 root root 4096 Nov 7 20:04 cost [2022-11-07T20:12:32.245Z] -rw-r--r-- 1 root root 86 Nov 7 20:04 cost.csv [2022-11-07T20:12:32.245Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-226/archives [2022-11-07T20:12:32.245Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-226/archives [2022-11-07T20:12:32.245Z] total 16 [2022-11-07T20:12:32.245Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:04 . [2022-11-07T20:12:32.245Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:04 .. [2022-11-07T20:12:32.245Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 20:04 cost [2022-11-07T20:12:32.245Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 7 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:12:32.575Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:12:33.464Z] ---> package-listing.sh [2022-11-07T20:12:33.464Z] ++ facter osfamily [2022-11-07T20:12:33.464Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-07T20:12:33.723Z] + OS_FAMILY=debian [2022-11-07T20:12:33.723Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-226 [2022-11-07T20:12:33.723Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-07T20:12:33.723Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-07T20:12:33.723Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-07T20:12:33.723Z] + PACKAGES=/tmp/packages_start.txt [2022-11-07T20:12:33.723Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-226 ']' [2022-11-07T20:12:33.723Z] + PACKAGES=/tmp/packages_end.txt [2022-11-07T20:12:33.723Z] + case "${OS_FAMILY}" in [2022-11-07T20:12:33.723Z] + dpkg -l [2022-11-07T20:12:33.723Z] + grep '^ii' [2022-11-07T20:12:33.723Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-07T20:12:33.723Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-07T20:12:33.723Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-07T20:12:33.723Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-226 ']' [2022-11-07T20:12:33.723Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-226/archives/ [2022-11-07T20:12:33.723Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-226/archives/ [Pipeline] echo [2022-11-07T20:12:33.757Z] 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-226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-07T20:12:34.045Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-07T20:12:34.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-07T20:12:34.671Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-07T20:12:34.803Z] prd-ubuntu20.04-docker-8c-8g-118506 does not seem to be running inside a container [2022-11-07T20:12:34.829Z] $ 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-226/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-226 -v /w/workspace/gexfoundry_device-rest-go_PR-226:/w/workspace/gexfoundry_device-rest-go_PR-226:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-226@tmp:/w/workspace/gexfoundry_device-rest-go_PR-226@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 [2022-11-07T20:12:35.062Z] $ docker top 07bb8320218fa1b1e8c5e258f4a5d3c61ac08b436de4163a0453d9c2bff30fe2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-07T20:12:35.448Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-07T20:12:35.761Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-07T20:12:36.066Z] + ls /var/log/sa-host [2022-11-07T20:12:36.066Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-07T20:12:36.197Z] provisioning config files... [2022-11-07T20:12:36.205Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-226@tmp/config962914636304221659tmp [Pipeline] { [Pipeline] echo [2022-11-07T20:12:36.262Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:12:36.567Z] ---> create-netrc.sh [Pipeline] } [2022-11-07T20:12:36.595Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:12:36.979Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-07T20:12:37.011Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:12:37.326Z] ---> sudo-logs.sh [2022-11-07T20:12:37.326Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-07T20:12:37.409Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:12:37.712Z] ---> job-cost.sh [2022-11-07T20:12:37.712Z] lf-activate-venv: SKIPPING [2022-11-07T20:12:37.712Z] DEBUG: total: 0.2199999988079071 [2022-11-07T20:12:37.712Z] INFO: Retrieving Stack Cost... [2022-11-07T20:12:38.280Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-07T20:12:38.538Z] INFO: Archiving Costs [Pipeline] echo [2022-11-07T20:12:38.571Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-07T20:12:38.877Z] ---> logs-deploy.sh [2022-11-07T20:12:38.877Z] lf-activate-venv: SKIPPING [2022-11-07T20:12:38.877Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-226/1 [2022-11-07T20:12:38.877Z] INFO: archiving workspace using pattern(s): [2022-11-07T20:12:39.813Z] Archives upload complete. [2022-11-07T20:12:39.813Z] INFO: archiving logs to Nexus