MightyNerdEric commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5034d95c24c283ca5c1cd8748801c0a382af0d0d+02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 (4a8ea0b6caa115eb4f3ce68ef303df18e12d9152) 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-ssh5283110750949003437.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh6964590601099564203.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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3028636486314058734.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12453344616481507794.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-222/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8410651684799331716.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 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Running on prd-ubuntu20.04-docker-8c-8g-116980 in /w/workspace/gexfoundry_device-rest-go_PR-222 [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-222 # 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/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d Merge succeeded, producing fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 Checking out Revision fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 (PR-222) > git config core.sparsecheckout # timeout=10 > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # 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 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 # timeout=10 Commit message: "Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD" > git rev-list --no-walk 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T20:27:29.745Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T20:27:29.782Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T20:27:29.793Z] ========================================================= [2022-10-25T20:27:29.793Z] EdgeX Global Pipelines Version Info [2022-10-25T20:27:29.793Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:27:30.490Z] ------------------- [2022-10-25T20:27:30.490Z] stable info: [2022-10-25T20:27:30.490Z] ------------------- [2022-10-25T20:27:30.490Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T20:27:30.490Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T20:27:30.490Z] Message: update stable to v1.0.243 [2022-10-25T20:27:31.060Z] ------------------- [2022-10-25T20:27:31.060Z] experimental info: [2022-10-25T20:27:31.060Z] ------------------- [2022-10-25T20:27:31.060Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T20:27:31.060Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T20:27:31.060Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T20:27:31.226Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-25T20:27:31.241Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-25T20:27:31.250Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T20:27:31.261Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T20:27:31.274Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T20:27:31.288Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T20:27:31.297Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T20:27:31.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T20:27:31.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T20:27:31.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T20:27:31.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T20:27:31.362Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-25T20:27:31.376Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T20:27:31.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T20:27:31.397Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T20:27:31.411Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T20:27:31.421Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T20:27:31.432Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T20:27:31.445Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T20:27:31.456Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T20:27:31.467Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T20:27:31.479Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T20:27:31.491Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T20:27:31.502Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T20:27:31.511Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T20:27:31.518Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T20:27:31.526Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T20:27:31.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-222 [Pipeline] echo [2022-10-25T20:27:31.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-222 [Pipeline] echo [2022-10-25T20:27:31.557Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-222 [Pipeline] echo [2022-10-25T20:27:31.568Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] echo [2022-10-25T20:27:31.580Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fc694a4 [Pipeline] echo [2022-10-25T20:27:31.594Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T20:27:31.627Z] provisioning config files... [2022-10-25T20:27:31.642Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config6681921985696493935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:27:31.939Z] ---> docker-login.sh [2022-10-25T20:27:31.939Z] nexus3.edgexfoundry.org:10001 [2022-10-25T20:27:32.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:32.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:32.198Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:32.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:32.198Z] [2022-10-25T20:27:32.198Z] Login Succeeded [2022-10-25T20:27:32.198Z] nexus3.edgexfoundry.org:10002 [2022-10-25T20:27:32.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:32.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:32.198Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:32.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:32.198Z] [2022-10-25T20:27:32.198Z] Login Succeeded [2022-10-25T20:27:32.198Z] nexus3.edgexfoundry.org:10003 [2022-10-25T20:27:32.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:32.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:32.457Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:32.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:32.457Z] [2022-10-25T20:27:32.457Z] Login Succeeded [2022-10-25T20:27:32.457Z] nexus3.edgexfoundry.org:10004 [2022-10-25T20:27:32.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:32.457Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:32.457Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:32.457Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:32.457Z] [2022-10-25T20:27:32.457Z] Login Succeeded [2022-10-25T20:27:32.457Z] docker.io [2022-10-25T20:27:32.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:32.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:32.975Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:32.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:32.975Z] [2022-10-25T20:27:32.975Z] Login Succeeded [2022-10-25T20:27:32.975Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T20:27:32.982Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T20:27:33.357Z] + git rev-list -1 --merges fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1~1..fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] echo [2022-10-25T20:27:33.388Z] -----------> git rev-list -1 --merges fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1~1..fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [2022-10-25T20:27:33.388Z] fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [false] [Pipeline] sh [2022-10-25T20:27:33.672Z] + git log --format=format:%s -1 fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] echo [2022-10-25T20:27:33.686Z] ========================================================= [2022-10-25T20:27:33.686Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T20:27:33.686Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T20:27:34.005Z] + git log --format=format:%s -1 fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] echo [2022-10-25T20:27:34.016Z] [semverPrep] GIT_COMMIT: fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1, Commit Message: Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD [Pipeline] echo [2022-10-25T20:27:34.027Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T20:27:34.425Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T20:27:34.425Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T20:27:34.425Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T20:27:34.425Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T20:27:34.425Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T20:27:34.425Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T20:27:34.425Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:27:34.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T20:27:34.770Z] [2022-10-25T20:27:34.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:27:35.069Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T20:27:35.069Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T20:27:35.069Z] b85a868b505f: Pulling fs layer [2022-10-25T20:27:35.069Z] e2be974225ed: Pulling fs layer [2022-10-25T20:27:35.069Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T20:27:35.069Z] 988bab9f4d93: Pulling fs layer [2022-10-25T20:27:35.069Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T20:27:35.069Z] eaf3925da568: Pulling fs layer [2022-10-25T20:27:35.069Z] bab4dde63d76: Pulling fs layer [2022-10-25T20:27:35.069Z] bde34c3a00c8: Pulling fs layer [2022-10-25T20:27:35.069Z] b352a97aabf1: Pulling fs layer [2022-10-25T20:27:35.069Z] 4872d77fe225: Pulling fs layer [2022-10-25T20:27:35.069Z] 5851b861e8e6: Pulling fs layer [2022-10-25T20:27:35.069Z] 988bab9f4d93: Waiting [2022-10-25T20:27:35.069Z] 1469e6f7b9e6: Waiting [2022-10-25T20:27:35.069Z] eaf3925da568: Waiting [2022-10-25T20:27:35.069Z] 4872d77fe225: Waiting [2022-10-25T20:27:35.069Z] 5851b861e8e6: Waiting [2022-10-25T20:27:35.069Z] bab4dde63d76: Waiting [2022-10-25T20:27:35.069Z] bde34c3a00c8: Waiting [2022-10-25T20:27:35.069Z] b352a97aabf1: Waiting [2022-10-25T20:27:35.069Z] e2be974225ed: Verifying Checksum [2022-10-25T20:27:35.069Z] e2be974225ed: Download complete [2022-10-25T20:27:35.069Z] 988bab9f4d93: Download complete [2022-10-25T20:27:35.329Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T20:27:35.329Z] 1469e6f7b9e6: Download complete [2022-10-25T20:27:35.329Z] eaf3925da568: Verifying Checksum [2022-10-25T20:27:35.329Z] eaf3925da568: Download complete [2022-10-25T20:27:35.329Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T20:27:35.329Z] 339a4e72a1f5: Download complete [2022-10-25T20:27:35.329Z] bde34c3a00c8: Download complete [2022-10-25T20:27:35.329Z] b352a97aabf1: Download complete [2022-10-25T20:27:35.329Z] 4872d77fe225: Verifying Checksum [2022-10-25T20:27:35.329Z] 4872d77fe225: Download complete [2022-10-25T20:27:35.329Z] 5851b861e8e6: Verifying Checksum [2022-10-25T20:27:35.329Z] 5851b861e8e6: Download complete [2022-10-25T20:27:35.329Z] b85a868b505f: Verifying Checksum [2022-10-25T20:27:35.329Z] b85a868b505f: Download complete [2022-10-25T20:27:35.588Z] bab4dde63d76: Verifying Checksum [2022-10-25T20:27:35.588Z] bab4dde63d76: Download complete [2022-10-25T20:27:36.522Z] b85a868b505f: Pull complete [2022-10-25T20:27:36.780Z] e2be974225ed: Pull complete [2022-10-25T20:27:37.355Z] 339a4e72a1f5: Pull complete [2022-10-25T20:27:37.355Z] 988bab9f4d93: Pull complete [2022-10-25T20:27:37.615Z] 1469e6f7b9e6: Pull complete [2022-10-25T20:27:37.873Z] eaf3925da568: Pull complete [2022-10-25T20:27:39.783Z] bab4dde63d76: Pull complete [2022-10-25T20:27:39.783Z] bde34c3a00c8: Pull complete [2022-10-25T20:27:39.783Z] b352a97aabf1: Pull complete [2022-10-25T20:27:39.783Z] 4872d77fe225: Pull complete [2022-10-25T20:27:39.783Z] 5851b861e8e6: Pull complete [2022-10-25T20:27:40.042Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T20:27:40.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T20:27:40.042Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:27:40.119Z] prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container [2022-10-25T20:27:40.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T20:27:41.496Z] $ docker top 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 -eo pid,comm [2022-10-25T20:27:41.565Z] 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-10-25T20:27:41.565Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T20:27:41.595Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T20:27:41.595Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T20:27:41.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T20:27:41.703Z] $ docker exec 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 ssh-agent [2022-10-25T20:27:41.843Z] SSH_AUTH_SOCK=/tmp/ssh-bj0DHB0WCSWT/agent.32 [2022-10-25T20:27:41.843Z] SSH_AGENT_PID=38 [2022-10-25T20:27:41.849Z] Running ssh-add (command line suppressed) [2022-10-25T20:27:41.948Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_11529848580069802536.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_11529848580069802536.key) [2022-10-25T20:27:41.970Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T20:27:42.258Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T20:27:42.266Z] $ docker exec --env ******** --env ******** 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 ssh-agent -k [2022-10-25T20:27:42.381Z] unset SSH_AUTH_SOCK; [2022-10-25T20:27:42.382Z] unset SSH_AGENT_PID; [2022-10-25T20:27:42.382Z] echo Agent pid 38 killed; [2022-10-25T20:27:42.401Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T20:27:42.426Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T20:27:42.426Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T20:27:42.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T20:27:42.544Z] $ docker exec 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 ssh-agent [2022-10-25T20:27:42.656Z] SSH_AUTH_SOCK=/tmp/ssh-aMbn2GREHfFU/agent.70 [2022-10-25T20:27:42.656Z] SSH_AGENT_PID=76 [2022-10-25T20:27:42.662Z] Running ssh-add (command line suppressed) [2022-10-25T20:27:42.758Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_9374679654825956594.key (/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/private_key_9374679654825956594.key) [2022-10-25T20:27:42.781Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T20:27:43.067Z] + git semver init [2022-10-25T20:27:43.326Z] 2022-10-25 20:27:43,253 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T20:27:43.326Z] 2022-10-25 20:27:43,254 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-25T20:27:43.326Z] 2022-10-25 20:27:43,254 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-222/.semver [2022-10-25T20:27:43.326Z] 2022-10-25 20:27:43,254 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-222/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222, universal_newlines=False, shell=None, istream=None) [2022-10-25T20:27:44.706Z] 2022-10-25 20:27:44,368 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.git/info/exclude [2022-10-25T20:27:44.706Z] 2022-10-25 20:27:44,368 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 with force:False [2022-10-25T20:27:44.706Z] 2022-10-25 20:27:44,369 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-25T20:27:44.706Z] 2022-10-25 20:27:44,373 [execute] INFO git cat-file --batch-check [2022-10-25T20:27:44.706Z] 2022-10-25 20:27:44,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T20:27:44.706Z] 2022-10-25 20:27:44,379 [execute] INFO git cat-file --batch [2022-10-25T20:27:44.706Z] 2022-10-25 20:27:44,379 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-222/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T20:27:44.706Z] 2022-10-25 20:27:44,385 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-222/.semver/PR-222 [2022-10-25T20:27:44.706Z] 0.0.0 [Pipeline] } [2022-10-25T20:27:44.708Z] $ docker exec --env ******** --env ******** 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 ssh-agent -k [2022-10-25T20:27:44.819Z] unset SSH_AUTH_SOCK; [2022-10-25T20:27:44.819Z] unset SSH_AGENT_PID; [2022-10-25T20:27:44.819Z] echo Agent pid 76 killed; [2022-10-25T20:27:44.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T20:27:45.137Z] + git semver [Pipeline] } [2022-10-25T20:27:45.401Z] $ docker stop --time=1 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 [2022-10-25T20:27:46.760Z] $ docker rm -f 06c0bb8e61a4439ea524d45cb5062e5f8d2f81ef70ca8a655c69eaa42a294f86 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T20:27:47.115Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T20:27:47.302Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T20:27:47.305Z] [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-10-25T20:27:47.453Z] provisioning config files... [2022-10-25T20:27:47.468Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config14311108475230942757tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:27:47.763Z] ---> docker-login.sh [2022-10-25T20:27:47.763Z] nexus3.edgexfoundry.org:10001 [2022-10-25T20:27:47.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:47.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:47.763Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:47.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:47.763Z] [2022-10-25T20:27:47.763Z] Login Succeeded [2022-10-25T20:27:47.763Z] nexus3.edgexfoundry.org:10002 [2022-10-25T20:27:47.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:47.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:47.763Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:47.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:47.763Z] [2022-10-25T20:27:47.763Z] Login Succeeded [2022-10-25T20:27:47.763Z] nexus3.edgexfoundry.org:10003 [2022-10-25T20:27:48.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:48.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:48.022Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:48.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:48.022Z] [2022-10-25T20:27:48.022Z] Login Succeeded [2022-10-25T20:27:48.022Z] nexus3.edgexfoundry.org:10004 [2022-10-25T20:27:48.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:48.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:48.022Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:48.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:48.022Z] [2022-10-25T20:27:48.022Z] Login Succeeded [2022-10-25T20:27:48.022Z] docker.io [2022-10-25T20:27:48.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:27:48.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:27:48.591Z] Configure a credential helper to remove this warning. See [2022-10-25T20:27:48.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:27:48.591Z] [2022-10-25T20:27:48.591Z] Login Succeeded [2022-10-25T20:27:48.591Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T20:27:48.599Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T20:27:48.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T20:27:48.667Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T20:27:48.673Z] ========================================================= [2022-10-25T20:27:48.673Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T20:27:48.673Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:27:48.979Z] + 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-10-25T20:27:48.979Z] Sending build context to Docker daemon 10.75MB [2022-10-25T20:27:48.979Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T20:27:48.979Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T20:27:48.979Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T20:27:48.979Z] 213ec9aee27d: Pulling fs layer [2022-10-25T20:27:48.979Z] 4583459ba037: Pulling fs layer [2022-10-25T20:27:48.979Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T20:27:48.979Z] 53926ce57604: Pulling fs layer [2022-10-25T20:27:48.979Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T20:27:48.979Z] 30f14e443154: Pulling fs layer [2022-10-25T20:27:48.979Z] 801331c1e519: Pulling fs layer [2022-10-25T20:27:48.979Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T20:27:48.979Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T20:27:48.979Z] 99cc6dd402b0: Waiting [2022-10-25T20:27:48.979Z] 21b2b0c7a3f4: Waiting [2022-10-25T20:27:48.979Z] 7d9ed39f4882: Waiting [2022-10-25T20:27:48.979Z] 30f14e443154: Waiting [2022-10-25T20:27:48.979Z] 801331c1e519: Waiting [2022-10-25T20:27:48.979Z] 53926ce57604: Waiting [2022-10-25T20:27:48.979Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T20:27:48.979Z] 93c1e223e6f2: Download complete [2022-10-25T20:27:48.979Z] 4583459ba037: Verifying Checksum [2022-10-25T20:27:48.979Z] 4583459ba037: Download complete [2022-10-25T20:27:48.979Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T20:27:48.979Z] 21b2b0c7a3f4: Download complete [2022-10-25T20:27:49.239Z] 30f14e443154: Download complete [2022-10-25T20:27:49.239Z] 213ec9aee27d: Verifying Checksum [2022-10-25T20:27:49.239Z] 213ec9aee27d: Download complete [2022-10-25T20:27:49.239Z] 801331c1e519: Verifying Checksum [2022-10-25T20:27:49.239Z] 801331c1e519: Download complete [2022-10-25T20:27:49.239Z] 213ec9aee27d: Pull complete [2022-10-25T20:27:49.503Z] 4583459ba037: Pull complete [2022-10-25T20:27:49.503Z] 93c1e223e6f2: Pull complete [2022-10-25T20:27:49.763Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T20:27:49.763Z] 53926ce57604: Verifying Checksum [2022-10-25T20:27:49.763Z] 53926ce57604: Download complete [2022-10-25T20:27:50.021Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T20:27:50.021Z] 99cc6dd402b0: Download complete [2022-10-25T20:27:54.205Z] 53926ce57604: Pull complete [2022-10-25T20:27:54.205Z] 21b2b0c7a3f4: Pull complete [2022-10-25T20:27:54.205Z] 30f14e443154: Pull complete [2022-10-25T20:27:54.205Z] 801331c1e519: Pull complete [2022-10-25T20:27:55.577Z] 99cc6dd402b0: Pull complete [2022-10-25T20:27:56.514Z] 7d9ed39f4882: Pull complete [2022-10-25T20:27:56.514Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T20:27:56.514Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T20:27:56.514Z] ---> 1dedd983c030 [2022-10-25T20:27:56.514Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T20:27:58.421Z] ---> Running in 247cd12681e8 [2022-10-25T20:27:58.421Z] Removing intermediate container 247cd12681e8 [2022-10-25T20:27:58.421Z] ---> 5b2a71de3889 [2022-10-25T20:27:58.421Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T20:27:58.421Z] ---> Running in 8f762d29069c [2022-10-25T20:27:58.421Z] Removing intermediate container 8f762d29069c [2022-10-25T20:27:58.421Z] ---> 4f713a95f1b0 [2022-10-25T20:27:58.421Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T20:27:58.421Z] ---> Running in caefb42f7da6 [2022-10-25T20:27:58.421Z] Removing intermediate container caefb42f7da6 [2022-10-25T20:27:58.421Z] ---> 7cc09894b48b [2022-10-25T20:27:58.421Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T20:27:58.421Z] ---> Running in 3d0051ef19f1 [2022-10-25T20:27:58.421Z] Removing intermediate container 3d0051ef19f1 [2022-10-25T20:27:58.421Z] ---> 026707e65091 [2022-10-25T20:27:58.421Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T20:27:58.680Z] ---> Running in 1333da2ea8dc [2022-10-25T20:27:59.245Z] Removing intermediate container 1333da2ea8dc [2022-10-25T20:27:59.245Z] ---> 2a240db034ee [2022-10-25T20:27:59.245Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T20:27:59.245Z] ---> Running in 389ae8d9beee [2022-10-25T20:27:59.504Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T20:28:00.072Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T20:28:00.640Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T20:28:00.898Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T20:28:01.158Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T20:28:01.726Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T20:28:02.293Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T20:28:02.293Z] OK: 216 MiB in 55 packages [2022-10-25T20:28:02.411Z] Still waiting to schedule task [2022-10-25T20:28:02.411Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-25T20:28:02.551Z] Removing intermediate container 389ae8d9beee [2022-10-25T20:28:02.551Z] ---> 01c8bd6f749e [2022-10-25T20:28:02.551Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T20:28:02.551Z] ---> Running in 889fa63158eb [2022-10-25T20:28:02.551Z] Removing intermediate container 889fa63158eb [2022-10-25T20:28:02.551Z] ---> d5e6f50a7c99 [2022-10-25T20:28:02.552Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T20:28:02.809Z] ---> 9392c780eb32 [2022-10-25T20:28:02.809Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T20:28:02.809Z] ---> Running in 23707af3b980 [2022-10-25T20:28:24.743Z] Removing intermediate container 23707af3b980 [2022-10-25T20:28:24.743Z] ---> 915dc4c4f7a5 [2022-10-25T20:28:24.743Z] Step 12/13 : COPY . . [2022-10-25T20:28:24.743Z] ---> 15c377822438 [2022-10-25T20:28:24.743Z] Step 13/13 : RUN $MAKE [2022-10-25T20:28:24.743Z] ---> Running in 2add02f86e1f [2022-10-25T20:28:24.743Z] noop [2022-10-25T20:28:24.743Z] Removing intermediate container 2add02f86e1f [2022-10-25T20:28:24.743Z] ---> e4db06718b4c [2022-10-25T20:28:24.743Z] Successfully built e4db06718b4c [2022-10-25T20:28:24.743Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:28:25.053Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T20:28:25.054Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:28:25.120Z] prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container [2022-10-25T20:28:25.135Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T20:28:25.560Z] $ docker top 6bbdb58bdf68ca2c8e87a69196951d020cfa55ebcafdeaffafd13c99f76b2110 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T20:28:25.895Z] + go version [2022-10-25T20:28:25.895Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T20:28:25.896Z] $ docker stop --time=1 6bbdb58bdf68ca2c8e87a69196951d020cfa55ebcafdeaffafd13c99f76b2110 [2022-10-25T20:28:27.158Z] $ docker rm -f 6bbdb58bdf68ca2c8e87a69196951d020cfa55ebcafdeaffafd13c99f76b2110 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:28:27.561Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T20:28:27.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:28:27.621Z] prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container [2022-10-25T20:28:27.638Z] $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-25T20:28:27.993Z] $ docker top e5859bca758a95ae648eaccff595f01d1ce15c1c0d2f32ca63cefb75a1c097f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T20:28:28.336Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] fileExists [Pipeline] sh [2022-10-25T20:28:28.632Z] + make test [2022-10-25T20:28:28.632Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T20:28:28.890Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T20:28:38.856Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T20:28:38.856Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-10-25T20:28:45.446Z] 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-10-25T20:28:45.446Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T20:28:48.724Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T20:28:48.724Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T20:28:48.724Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T20:28:48.734Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T20:28:48.736Z] $ docker stop --time=1 e5859bca758a95ae648eaccff595f01d1ce15c1c0d2f32ca63cefb75a1c097f2 [2022-10-25T20:28:50.580Z] $ docker rm -f e5859bca758a95ae648eaccff595f01d1ce15c1c0d2f32ca63cefb75a1c097f2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T20:28:51.009Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T20:28:51.047Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T20:28:51.480Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T20:28:51.764Z] + ls -al . [2022-10-25T20:28:51.764Z] total 188 [2022-10-25T20:28:51.764Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 20:28 . [2022-10-25T20:28:51.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:27 .. [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 20:27 .dockerignore [2022-10-25T20:28:51.764Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:28 .git [2022-10-25T20:28:51.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:27 .github [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 20:27 .gitignore [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 20:27 .golangci.yml [2022-10-25T20:28:51.764Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:27 .semver [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 20:27 Attribution.txt [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 20:27 CHANGELOG.md [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 20:27 Dockerfile [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 20:27 GOVERNANCE.md [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 20:27 Jenkinsfile [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 20:27 LICENSE [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 20:27 Makefile [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 20:27 OWNERS.md [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 20:27 README.md [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 20:27 VERSION [2022-10-25T20:28:51.764Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:27 bin [2022-10-25T20:28:51.764Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:27 cmd [2022-10-25T20:28:51.764Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 20:28 coverage.out [2022-10-25T20:28:51.764Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:27 driver [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 20:27 go.mod [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 45142 Oct 25 20:27 go.sum [2022-10-25T20:28:51.764Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:27 snap [2022-10-25T20:28:51.764Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 20:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:28:52.061Z] + 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=fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 --label arch=amd64 --label version=0.0.0 . [2022-10-25T20:28:52.061Z] Sending build context to Docker daemon 10.76MB [2022-10-25T20:28:52.061Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T20:28:52.061Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T20:28:52.061Z] ---> e4db06718b4c [2022-10-25T20:28:52.061Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T20:28:52.061Z] ---> Running in 1dd5a906b612 [2022-10-25T20:28:52.318Z] Removing intermediate container 1dd5a906b612 [2022-10-25T20:28:52.318Z] ---> c56684626ff5 [2022-10-25T20:28:52.318Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T20:28:52.318Z] ---> Running in 21b2612d1473 [2022-10-25T20:28:52.318Z] Removing intermediate container 21b2612d1473 [2022-10-25T20:28:52.318Z] ---> 9aba2237f6f9 [2022-10-25T20:28:52.318Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T20:28:52.318Z] ---> Running in 596241452fbd [2022-10-25T20:28:52.575Z] Removing intermediate container 596241452fbd [2022-10-25T20:28:52.575Z] ---> acc23486e63e [2022-10-25T20:28:52.575Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T20:28:52.575Z] ---> Running in e7ff194435fb [2022-10-25T20:28:52.575Z] Removing intermediate container e7ff194435fb [2022-10-25T20:28:52.575Z] ---> daf65f760d67 [2022-10-25T20:28:52.575Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T20:28:52.575Z] ---> Running in 8a2d2623f965 [2022-10-25T20:28:53.141Z] Removing intermediate container 8a2d2623f965 [2022-10-25T20:28:53.141Z] ---> 59bc61633ea6 [2022-10-25T20:28:53.141Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T20:28:53.141Z] ---> Running in e936a4cacffa [2022-10-25T20:28:53.400Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T20:28:53.965Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T20:28:54.536Z] OK: 216 MiB in 55 packages [2022-10-25T20:28:55.103Z] Removing intermediate container e936a4cacffa [2022-10-25T20:28:55.103Z] ---> 7bf38e9aa16c [2022-10-25T20:28:55.103Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T20:28:55.103Z] ---> Running in 7716e980f1d9 [2022-10-25T20:28:55.103Z] Removing intermediate container 7716e980f1d9 [2022-10-25T20:28:55.103Z] ---> 80ab760e25fa [2022-10-25T20:28:55.103Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T20:28:55.103Z] ---> 5537e4ebcf9f [2022-10-25T20:28:55.103Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T20:28:55.361Z] ---> Running in 17429001a48f [2022-10-25T20:28:55.927Z] Removing intermediate container 17429001a48f [2022-10-25T20:28:55.927Z] ---> 1215923edb4a [2022-10-25T20:28:55.927Z] Step 12/26 : COPY . . [2022-10-25T20:28:56.186Z] ---> c928590b9dbf [2022-10-25T20:28:56.186Z] Step 13/26 : RUN $MAKE [2022-10-25T20:28:56.186Z] ---> Running in fb5a39370cc5 [2022-10-25T20:28:56.446Z] 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-10-25T20:29:14.653Z] Removing intermediate container fb5a39370cc5 [2022-10-25T20:29:14.653Z] ---> 93bf42cc0bcd [2022-10-25T20:29:14.653Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T20:29:14.911Z] 3.16: Pulling from library/alpine [2022-10-25T20:29:15.169Z] 213ec9aee27d: Already exists [2022-10-25T20:29:15.169Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T20:29:15.169Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T20:29:15.169Z] ---> 9c6f07244728 [2022-10-25T20:29:15.169Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T20:29:15.169Z] ---> Running in 53031f84473b [2022-10-25T20:29:15.428Z] Removing intermediate container 53031f84473b [2022-10-25T20:29:15.428Z] ---> 2e61ffb2136e [2022-10-25T20:29:15.428Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T20:29:15.428Z] ---> Running in f8e715fea4df [2022-10-25T20:29:15.428Z] Removing intermediate container f8e715fea4df [2022-10-25T20:29:15.428Z] ---> 98e0f20d3bf2 [2022-10-25T20:29:15.428Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T20:29:15.428Z] ---> Running in dcefa23bdd13 [2022-10-25T20:29:15.688Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T20:29:15.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T20:29:15.947Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T20:29:15.947Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T20:29:15.947Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T20:29:15.947Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T20:29:15.947Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T20:29:16.233Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T20:29:16.233Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T20:29:16.233Z] OK: 8 MiB in 20 packages [2022-10-25T20:29:16.491Z] Removing intermediate container dcefa23bdd13 [2022-10-25T20:29:16.491Z] ---> ceaed72f5fdb [2022-10-25T20:29:16.491Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T20:29:17.054Z] ---> 528d051d5635 [2022-10-25T20:29:17.054Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T20:29:17.054Z] ---> 2871e9818875 [2022-10-25T20:29:17.054Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T20:29:17.312Z] ---> c051c65cd50c [2022-10-25T20:29:17.312Z] Step 21/26 : EXPOSE 59986 [2022-10-25T20:29:17.312Z] ---> Running in 937720470b83 [2022-10-25T20:29:17.312Z] Removing intermediate container 937720470b83 [2022-10-25T20:29:17.312Z] ---> f35f666ed10c [2022-10-25T20:29:17.312Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T20:29:17.312Z] ---> Running in 327b49c8f3c1 [2022-10-25T20:29:17.569Z] Removing intermediate container 327b49c8f3c1 [2022-10-25T20:29:17.569Z] ---> bd758bc790ba [2022-10-25T20:29:17.569Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T20:29:17.569Z] ---> Running in 41d6b0dfafdc [2022-10-25T20:29:17.569Z] Removing intermediate container 41d6b0dfafdc [2022-10-25T20:29:17.569Z] ---> 070a07328e7b [2022-10-25T20:29:17.569Z] Step 24/26 : LABEL arch=amd64 [2022-10-25T20:29:17.569Z] ---> Running in bb95b1e49a64 [2022-10-25T20:29:17.828Z] Removing intermediate container bb95b1e49a64 [2022-10-25T20:29:17.828Z] ---> b7e45902559e [2022-10-25T20:29:17.828Z] Step 25/26 : LABEL git_sha=fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [2022-10-25T20:29:17.828Z] ---> Running in 80a516d56fcd [2022-10-25T20:29:17.828Z] Removing intermediate container 80a516d56fcd [2022-10-25T20:29:17.828Z] ---> 4416a75c64ff [2022-10-25T20:29:17.828Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T20:29:17.828Z] ---> Running in 9f4986a8f801 [2022-10-25T20:29:18.086Z] Removing intermediate container 9f4986a8f801 [2022-10-25T20:29:18.086Z] ---> ff93d946740f [2022-10-25T20:29:18.086Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T20:29:18.086Z] Successfully built ff93d946740f [2022-10-25T20:29:18.086Z] 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-10-25T20:29:18.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T20:29:18.502Z] [2022-10-25T20:29:18.502Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:29:18.790Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T20:29:18.790Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T20:29:18.790Z] 5eb5b503b376: Pulling fs layer [2022-10-25T20:29:18.790Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T20:29:18.790Z] ec43610c2a17: Pulling fs layer [2022-10-25T20:29:18.790Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T20:29:18.790Z] 33b1e0a273af: Pulling fs layer [2022-10-25T20:29:18.790Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T20:29:18.790Z] 2f39f015ded8: Pulling fs layer [2022-10-25T20:29:18.790Z] 5d3b04190fa2: Waiting [2022-10-25T20:29:18.790Z] 3a2ae6a8a46f: Waiting [2022-10-25T20:29:18.790Z] 33b1e0a273af: Waiting [2022-10-25T20:29:18.790Z] 2f39f015ded8: Waiting [2022-10-25T20:29:18.790Z] 5c69ac0246d0: Download complete [2022-10-25T20:29:18.790Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T20:29:18.790Z] 3a2ae6a8a46f: Download complete [2022-10-25T20:29:18.790Z] 33b1e0a273af: Verifying Checksum [2022-10-25T20:29:18.790Z] 33b1e0a273af: Download complete [2022-10-25T20:29:18.790Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T20:29:18.790Z] 5d3b04190fa2: Download complete [2022-10-25T20:29:19.050Z] ec43610c2a17: Verifying Checksum [2022-10-25T20:29:19.050Z] ec43610c2a17: Download complete [2022-10-25T20:29:19.050Z] 5eb5b503b376: Verifying Checksum [2022-10-25T20:29:19.050Z] 5eb5b503b376: Download complete [2022-10-25T20:29:19.615Z] 2f39f015ded8: Download complete [2022-10-25T20:29:20.180Z] 5eb5b503b376: Pull complete [2022-10-25T20:29:20.180Z] 5c69ac0246d0: Pull complete [2022-10-25T20:29:20.745Z] ec43610c2a17: Pull complete [2022-10-25T20:29:20.745Z] 3a2ae6a8a46f: Pull complete [2022-10-25T20:29:21.003Z] 33b1e0a273af: Pull complete [2022-10-25T20:29:21.003Z] 5d3b04190fa2: Pull complete [2022-10-25T20:29:25.179Z] 2f39f015ded8: Pull complete [2022-10-25T20:29:25.179Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T20:29:25.179Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T20:29:25.179Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:29:25.256Z] prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container [2022-10-25T20:29:25.277Z] $ 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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T20:29:27.145Z] $ docker top df30d53bd610944db7ecae3e9164253ff49f657de94a453f70da83c2fa5a6ba3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:29:27.528Z] ---> job-cost.sh [2022-10-25T20:29:27.528Z] lf-activate-venv: SKIPPING [2022-10-25T20:29:27.529Z] INFO: No Stack... [2022-10-25T20:29:27.787Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T20:29:28.046Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T20:29:28.333Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-222/archives/cost.csv [2022-10-25T20:29:28.333Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T20:29:28.345Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [2022-10-25T20:29:28.354Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] did not exist. Created. [2022-10-25T20:29:28.355Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T20:29:28.651Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T20:29:28.676Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T20:29:28.682Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T20:29:28.691Z] $ docker stop --time=1 df30d53bd610944db7ecae3e9164253ff49f657de94a453f70da83c2fa5a6ba3 [2022-10-25T20:29:29.934Z] $ docker rm -f df30d53bd610944db7ecae3e9164253ff49f657de94a453f70da83c2fa5a6ba3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T20:30:58.981Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116984 in /w/workspace/gexfoundry_device-rest-go_PR-222 [Pipeline] { [Pipeline] ws [2022-10-25T20:30:58.994Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2022-10-25T20:30:59.033Z] The recommended git tool is: git [2022-10-25T20:31:04.776Z] using credential edgex-jenkins-ssh [2022-10-25T20:31:04.792Z] Cloning the remote Git repository [2022-10-25T20:31:04.840Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T20:31:04.923Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2022-10-25T20:31:05.088Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T20:31:05.089Z] > git --version # timeout=10 [2022-10-25T20:31:05.111Z] > git --version # 'git version 2.25.1' [2022-10-25T20:31:05.113Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T20:31:05.166Z] Verifying host key using known hosts file [2022-10-25T20:31:05.386Z] 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-10-25T20:31:05.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T20:31:07.330Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T20:31:07.348Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T20:31:08.817Z] Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 5034d95c24c283ca5c1cd8748801c0a382af0d0d [2022-10-25T20:31:09.101Z] Merge succeeded, producing be52db1ccfe161bb93485934e73de478f8ad7fa3 [2022-10-25T20:31:09.101Z] Checking out Revision be52db1ccfe161bb93485934e73de478f8ad7fa3 (PR-222) [2022-10-25T20:31:08.201Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T20:31:08.249Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T20:31:08.252Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T20:31:08.260Z] Verifying host key using known hosts file [2022-10-25T20:31:08.267Z] 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-10-25T20:31:08.278Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/222/head:refs/remotes/origin/PR-222 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T20:31:08.834Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T20:31:08.865Z] > git checkout -f 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 [2022-10-25T20:31:08.952Z] > git remote # timeout=10 [2022-10-25T20:31:08.970Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T20:31:09.002Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T20:31:09.007Z] Verifying host key using known hosts file [2022-10-25T20:31:09.011Z] 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-10-25T20:31:09.020Z] > git merge 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 [2022-10-25T20:31:09.078Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T20:31:09.105Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T20:31:09.122Z] > git checkout -f be52db1ccfe161bb93485934e73de478f8ad7fa3 # timeout=10 [2022-10-25T20:31:12.679Z] Commit message: "Merge commit '02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2' into HEAD" [2022-10-25T20:31:12.686Z] > git rev-list --no-walk 5034d95c24c283ca5c1cd8748801c0a382af0d0d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T20:31:13.754Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T20:31:13.754Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T20:31:13.754Z] Dload Upload Total Spent Left Speed [2022-10-25T20:31:14.357Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 22031 0 --:--:-- --:--:-- --:--:-- 22031 [Pipeline] sh [2022-10-25T20:31:15.117Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T20:31:15.454Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T20:31:15.454Z] + sudo tee /etc/docker/daemon.new [2022-10-25T20:31:15.454Z] { [2022-10-25T20:31:15.454Z] "registry-mirrors": [ [2022-10-25T20:31:15.455Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T20:31:15.455Z] ], [2022-10-25T20:31:15.455Z] "bip": "10.250.0.254/24", [2022-10-25T20:31:15.455Z] "hosts": [ [2022-10-25T20:31:15.455Z] "tcp://0.0.0.0:5555", [2022-10-25T20:31:15.455Z] "unix:///var/run/docker.sock" [2022-10-25T20:31:15.455Z] ], [2022-10-25T20:31:15.455Z] "mtu": 1458, [2022-10-25T20:31:15.455Z] "selinux-enabled": true, [2022-10-25T20:31:15.455Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T20:31:15.455Z] } [Pipeline] sh [2022-10-25T20:31:15.786Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T20:31:16.125Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T20:31:34.406Z] provisioning config files... [2022-10-25T20:31:34.434Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config3986718716114160935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:31:34.790Z] ---> docker-login.sh [2022-10-25T20:31:34.790Z] nexus3.edgexfoundry.org:10001 [2022-10-25T20:31:35.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:31:35.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:31:35.339Z] Configure a credential helper to remove this warning. See [2022-10-25T20:31:35.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:31:35.339Z] [2022-10-25T20:31:35.339Z] Login Succeeded [2022-10-25T20:31:35.339Z] nexus3.edgexfoundry.org:10002 [2022-10-25T20:31:35.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:31:35.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:31:35.876Z] Configure a credential helper to remove this warning. See [2022-10-25T20:31:35.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:31:35.876Z] [2022-10-25T20:31:35.876Z] Login Succeeded [2022-10-25T20:31:35.876Z] nexus3.edgexfoundry.org:10003 [2022-10-25T20:31:36.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:31:36.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:31:36.150Z] Configure a credential helper to remove this warning. See [2022-10-25T20:31:36.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:31:36.150Z] [2022-10-25T20:31:36.150Z] Login Succeeded [2022-10-25T20:31:36.150Z] nexus3.edgexfoundry.org:10004 [2022-10-25T20:31:36.419Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:31:36.419Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:31:36.419Z] Configure a credential helper to remove this warning. See [2022-10-25T20:31:36.419Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:31:36.419Z] [2022-10-25T20:31:36.419Z] Login Succeeded [2022-10-25T20:31:36.419Z] docker.io [2022-10-25T20:31:36.686Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T20:31:37.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T20:31:37.272Z] Configure a credential helper to remove this warning. See [2022-10-25T20:31:37.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T20:31:37.272Z] [2022-10-25T20:31:37.272Z] Login Succeeded [2022-10-25T20:31:37.272Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T20:31:37.287Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T20:31:37.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T20:31:37.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T20:31:37.506Z] ========================================================= [2022-10-25T20:31:37.506Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T20:31:37.506Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:31:37.860Z] + 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-10-25T20:31:37.860Z] Sending build context to Docker daemon 127.5kB [2022-10-25T20:31:38.132Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T20:31:38.132Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T20:31:38.132Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T20:31:38.132Z] 9b18e9b68314: Pulling fs layer [2022-10-25T20:31:38.132Z] d32db5db7311: Pulling fs layer [2022-10-25T20:31:38.132Z] d0c4b47475fc: Pulling fs layer [2022-10-25T20:31:38.132Z] 5831b945b038: Pulling fs layer [2022-10-25T20:31:38.132Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T20:31:38.132Z] e10730c5d714: Pulling fs layer [2022-10-25T20:31:38.132Z] 5dd5c2283517: Pulling fs layer [2022-10-25T20:31:38.132Z] d5ac0230b979: Pulling fs layer [2022-10-25T20:31:38.132Z] e10730c5d714: Waiting [2022-10-25T20:31:38.132Z] 5dd5c2283517: Waiting [2022-10-25T20:31:38.132Z] d5ac0230b979: Waiting [2022-10-25T20:31:38.132Z] 5831b945b038: Waiting [2022-10-25T20:31:38.132Z] 86bbec2aaacd: Waiting [2022-10-25T20:31:38.437Z] d0c4b47475fc: Download complete [2022-10-25T20:31:38.437Z] d32db5db7311: Verifying Checksum [2022-10-25T20:31:38.437Z] d32db5db7311: Download complete [2022-10-25T20:31:38.437Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T20:31:38.437Z] 86bbec2aaacd: Download complete [2022-10-25T20:31:38.437Z] e10730c5d714: Verifying Checksum [2022-10-25T20:31:38.437Z] e10730c5d714: Download complete [2022-10-25T20:31:38.437Z] 9b18e9b68314: Verifying Checksum [2022-10-25T20:31:38.437Z] 9b18e9b68314: Download complete [2022-10-25T20:31:39.416Z] 9b18e9b68314: Pull complete [2022-10-25T20:31:39.416Z] d5ac0230b979: Verifying Checksum [2022-10-25T20:31:39.416Z] d5ac0230b979: Download complete [2022-10-25T20:31:40.007Z] d32db5db7311: Pull complete [2022-10-25T20:31:40.304Z] d0c4b47475fc: Pull complete [2022-10-25T20:31:40.899Z] 5dd5c2283517: Verifying Checksum [2022-10-25T20:31:40.899Z] 5dd5c2283517: Download complete [2022-10-25T20:31:41.488Z] 5831b945b038: Verifying Checksum [2022-10-25T20:31:41.488Z] 5831b945b038: Download complete [2022-10-25T20:31:53.811Z] 5831b945b038: Pull complete [2022-10-25T20:31:53.812Z] 86bbec2aaacd: Pull complete [2022-10-25T20:31:53.812Z] e10730c5d714: Pull complete [2022-10-25T20:32:00.475Z] 5dd5c2283517: Pull complete [2022-10-25T20:32:01.903Z] d5ac0230b979: Pull complete [2022-10-25T20:32:01.903Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T20:32:01.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T20:32:01.903Z] ---> 59b3b1a385d4 [2022-10-25T20:32:01.903Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T20:32:02.877Z] ---> Running in 78514ae25f3a [2022-10-25T20:32:03.474Z] Removing intermediate container 78514ae25f3a [2022-10-25T20:32:03.474Z] ---> 81c786784ff5 [2022-10-25T20:32:03.474Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T20:32:03.474Z] ---> Running in edf9512fd30e [2022-10-25T20:32:03.743Z] Removing intermediate container edf9512fd30e [2022-10-25T20:32:03.743Z] ---> 31bfb94f8d10 [2022-10-25T20:32:03.743Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T20:32:03.743Z] ---> Running in b9e911c25ae2 [2022-10-25T20:32:04.335Z] Removing intermediate container b9e911c25ae2 [2022-10-25T20:32:04.335Z] ---> 52217375bd84 [2022-10-25T20:32:04.335Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T20:32:04.335Z] ---> Running in adc37ea2802c [2022-10-25T20:32:04.604Z] Removing intermediate container adc37ea2802c [2022-10-25T20:32:04.604Z] ---> a0cbab53bc17 [2022-10-25T20:32:04.604Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T20:32:04.604Z] ---> Running in 02d4c2c5f183 [2022-10-25T20:32:06.557Z] Removing intermediate container 02d4c2c5f183 [2022-10-25T20:32:06.557Z] ---> 633c405bc067 [2022-10-25T20:32:06.557Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T20:32:06.557Z] ---> Running in eda8ef267dd1 [2022-10-25T20:32:07.524Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T20:32:08.108Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T20:32:09.523Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T20:32:10.106Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T20:32:10.375Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T20:32:10.961Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T20:32:11.548Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T20:32:11.548Z] OK: 226 MiB in 55 packages [2022-10-25T20:32:12.516Z] Removing intermediate container eda8ef267dd1 [2022-10-25T20:32:12.516Z] ---> d0530d4d35a3 [2022-10-25T20:32:12.516Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T20:32:12.791Z] ---> Running in aaaaf10fa28e [2022-10-25T20:32:13.061Z] Removing intermediate container aaaaf10fa28e [2022-10-25T20:32:13.061Z] ---> 432d1c492d82 [2022-10-25T20:32:13.061Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T20:32:13.654Z] ---> e3f433cd1ac3 [2022-10-25T20:32:13.654Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T20:32:13.654Z] ---> Running in 34dba1bdcf53 [2022-10-25T20:33:10.127Z] Removing intermediate container 34dba1bdcf53 [2022-10-25T20:33:10.127Z] ---> 5b8e3e2f1f28 [2022-10-25T20:33:10.127Z] Step 12/13 : COPY . . [2022-10-25T20:33:10.127Z] ---> 528b9c540f0b [2022-10-25T20:33:10.127Z] Step 13/13 : RUN $MAKE [2022-10-25T20:33:10.127Z] ---> Running in c35d70dad73e [2022-10-25T20:33:10.713Z] noop [2022-10-25T20:33:11.680Z] Removing intermediate container c35d70dad73e [2022-10-25T20:33:11.680Z] ---> d95565d25819 [2022-10-25T20:33:11.680Z] Successfully built d95565d25819 [2022-10-25T20:33:11.680Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:33:12.049Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T20:33:12.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:33:12.258Z] prd-ubuntu20.04-docker-arm64-4c-16g-116984 does not seem to be running inside a container [2022-10-25T20:33:12.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T20:33:13.636Z] $ docker top 8afe70b5ff7258d8749b30aa7e2f910c6fd0620da0567d57f9bd9aebd77fad04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T20:33:14.486Z] + go version [2022-10-25T20:33:14.486Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T20:33:14.505Z] $ docker stop --time=1 8afe70b5ff7258d8749b30aa7e2f910c6fd0620da0567d57f9bd9aebd77fad04 [2022-10-25T20:33:16.191Z] $ docker rm -f 8afe70b5ff7258d8749b30aa7e2f910c6fd0620da0567d57f9bd9aebd77fad04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:33:16.768Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T20:33:16.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:33:16.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-116984 does not seem to be running inside a container [2022-10-25T20:33:17.025Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T20:33:18.304Z] $ docker top 129a44a09ec79b19fd65865f3c5008212d467f898dac580012b384950fa7669f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T20:33:19.149Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2022-10-25T20:33:19.806Z] + make test [2022-10-25T20:33:19.806Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T20:33:21.219Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T20:34:57.918Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T20:34:57.918Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements [2022-10-25T20:34:57.918Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T20:34:57.918Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T20:35:30.185Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T20:35:30.185Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T20:35:30.185Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T20:35:30.207Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T20:35:30.221Z] $ docker stop --time=1 129a44a09ec79b19fd65865f3c5008212d467f898dac580012b384950fa7669f [2022-10-25T20:35:32.170Z] $ docker rm -f 129a44a09ec79b19fd65865f3c5008212d467f898dac580012b384950fa7669f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T20:35:33.234Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T20:35:33.249Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T20:35:33.916Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T20:35:34.348Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T20:35:34.728Z] + ls -al . [2022-10-25T20:35:34.728Z] total 184 [2022-10-25T20:35:34.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:33 . [2022-10-25T20:35:34.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:31 .. [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 20:31 .dockerignore [2022-10-25T20:35:34.728Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 20:31 .git [2022-10-25T20:35:34.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:31 .github [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 20:31 .gitignore [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 20:31 .golangci.yml [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 20:31 Attribution.txt [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 20:31 CHANGELOG.md [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 20:31 Dockerfile [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 20:31 GOVERNANCE.md [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 20:31 Jenkinsfile [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 20:31 LICENSE [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 20:31 Makefile [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 20:31 OWNERS.md [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 20:31 README.md [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 20:27 VERSION [2022-10-25T20:35:34.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:31 bin [2022-10-25T20:35:34.728Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 20:31 cmd [2022-10-25T20:35:34.728Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 20:34 coverage.out [2022-10-25T20:35:34.728Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 20:31 driver [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 20:31 go.mod [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 45142 Oct 25 20:31 go.sum [2022-10-25T20:35:34.728Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 20:31 snap [2022-10-25T20:35:34.728Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 20:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:35:35.108Z] + 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=be52db1ccfe161bb93485934e73de478f8ad7fa3 --label arch=arm64 --label version=0.0.0 . [2022-10-25T20:35:35.376Z] Sending build context to Docker daemon 137.7kB [2022-10-25T20:35:35.967Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T20:35:35.967Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T20:35:35.967Z] ---> d95565d25819 [2022-10-25T20:35:35.967Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T20:35:35.967Z] ---> Running in 7520bdb701e6 [2022-10-25T20:35:36.237Z] Removing intermediate container 7520bdb701e6 [2022-10-25T20:35:36.237Z] ---> beaebdb5648c [2022-10-25T20:35:36.237Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T20:35:36.510Z] ---> Running in 06ffc2af18c8 [2022-10-25T20:35:36.779Z] Removing intermediate container 06ffc2af18c8 [2022-10-25T20:35:36.779Z] ---> 6a7b8dde6d9f [2022-10-25T20:35:36.779Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T20:35:36.779Z] ---> Running in 6530ef68c486 [2022-10-25T20:35:37.367Z] Removing intermediate container 6530ef68c486 [2022-10-25T20:35:37.367Z] ---> 24175e870428 [2022-10-25T20:35:37.367Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T20:35:37.367Z] ---> Running in f242a68ecd94 [2022-10-25T20:35:37.644Z] Removing intermediate container f242a68ecd94 [2022-10-25T20:35:37.644Z] ---> 6d6ba7fe2699 [2022-10-25T20:35:37.644Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T20:35:37.644Z] ---> Running in 1e798f7834b0 [2022-10-25T20:35:39.615Z] Removing intermediate container 1e798f7834b0 [2022-10-25T20:35:39.615Z] ---> 6cf3a4777926 [2022-10-25T20:35:39.615Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T20:35:39.889Z] ---> Running in 55d59c1f7a04 [2022-10-25T20:35:40.860Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T20:35:41.449Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T20:35:43.407Z] OK: 226 MiB in 55 packages [2022-10-25T20:35:44.368Z] Removing intermediate container 55d59c1f7a04 [2022-10-25T20:35:44.368Z] ---> dd42c51d3d6a [2022-10-25T20:35:44.368Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T20:35:44.368Z] ---> Running in 3d7f64eb8f09 [2022-10-25T20:35:44.636Z] Removing intermediate container 3d7f64eb8f09 [2022-10-25T20:35:44.636Z] ---> e0ae441beff2 [2022-10-25T20:35:44.636Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T20:35:45.369Z] ---> dd25e610d5cf [2022-10-25T20:35:45.369Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T20:35:45.657Z] ---> Running in b4a3114d9a30 [2022-10-25T20:35:48.374Z] Removing intermediate container b4a3114d9a30 [2022-10-25T20:35:48.374Z] ---> 149642e3c432 [2022-10-25T20:35:48.374Z] Step 12/26 : COPY . . [2022-10-25T20:35:48.981Z] ---> d0293fd589cb [2022-10-25T20:35:48.981Z] Step 13/26 : RUN $MAKE [2022-10-25T20:35:48.981Z] ---> Running in 77c4b4259f0c [2022-10-25T20:35:50.417Z] 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-10-25T20:38:42.267Z] Removing intermediate container 77c4b4259f0c [2022-10-25T20:38:42.267Z] ---> 6a8cfc88454d [2022-10-25T20:38:42.267Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T20:38:42.267Z] 3.16: Pulling from library/alpine [2022-10-25T20:38:42.267Z] 9b18e9b68314: Already exists [2022-10-25T20:38:42.267Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T20:38:42.267Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T20:38:42.267Z] ---> a6215f271958 [2022-10-25T20:38:42.267Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T20:38:42.267Z] ---> Running in d6dd877d116a [2022-10-25T20:38:42.267Z] Removing intermediate container d6dd877d116a [2022-10-25T20:38:42.267Z] ---> d0060c0f2313 [2022-10-25T20:38:42.267Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T20:38:42.267Z] ---> Running in 64ca3970da05 [2022-10-25T20:38:42.267Z] Removing intermediate container 64ca3970da05 [2022-10-25T20:38:42.267Z] ---> 3578301856ea [2022-10-25T20:38:42.267Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T20:38:42.267Z] ---> Running in 85c57368f497 [2022-10-25T20:38:42.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T20:38:42.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T20:38:42.267Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T20:38:42.267Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T20:38:42.267Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T20:38:42.267Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T20:38:42.267Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T20:38:42.267Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T20:38:42.267Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T20:38:42.267Z] OK: 8 MiB in 20 packages [2022-10-25T20:38:42.267Z] Removing intermediate container 85c57368f497 [2022-10-25T20:38:42.267Z] ---> 917d6b18bd05 [2022-10-25T20:38:42.267Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T20:38:42.267Z] ---> e3e3f5bdf9cb [2022-10-25T20:38:42.267Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T20:38:42.267Z] ---> aeb6667a919e [2022-10-25T20:38:42.267Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T20:38:42.267Z] ---> bc92c6a6d93d [2022-10-25T20:38:42.267Z] Step 21/26 : EXPOSE 59986 [2022-10-25T20:38:42.267Z] ---> Running in 2c8462b7a4cc [2022-10-25T20:38:42.267Z] Removing intermediate container 2c8462b7a4cc [2022-10-25T20:38:42.267Z] ---> ab4b8a6ae25f [2022-10-25T20:38:42.267Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T20:38:42.267Z] ---> Running in 97552c578980 [2022-10-25T20:38:42.267Z] Removing intermediate container 97552c578980 [2022-10-25T20:38:42.267Z] ---> 1910edda0ac6 [2022-10-25T20:38:42.267Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T20:38:42.267Z] ---> Running in a2039b1d0a57 [2022-10-25T20:38:42.267Z] Removing intermediate container a2039b1d0a57 [2022-10-25T20:38:42.267Z] ---> ad70f859871d [2022-10-25T20:38:42.267Z] Step 24/26 : LABEL arch=arm64 [2022-10-25T20:38:42.267Z] ---> Running in d34bfe9c7871 [2022-10-25T20:38:42.267Z] Removing intermediate container d34bfe9c7871 [2022-10-25T20:38:42.267Z] ---> e9032c004541 [2022-10-25T20:38:42.267Z] Step 25/26 : LABEL git_sha=be52db1ccfe161bb93485934e73de478f8ad7fa3 [2022-10-25T20:38:42.267Z] ---> Running in 60d372afe631 [2022-10-25T20:38:42.267Z] Removing intermediate container 60d372afe631 [2022-10-25T20:38:42.267Z] ---> a76555b121c5 [2022-10-25T20:38:42.267Z] Step 26/26 : LABEL version=0.0.0 [2022-10-25T20:38:42.267Z] ---> Running in adef7561e55f [2022-10-25T20:38:42.267Z] Removing intermediate container adef7561e55f [2022-10-25T20:38:42.267Z] ---> 54ba341e41f9 [2022-10-25T20:38:42.267Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T20:38:42.267Z] Successfully built 54ba341e41f9 [2022-10-25T20:38:42.267Z] 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-10-25T20:38:42.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T20:38:42.695Z] [2022-10-25T20:38:42.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:38:43.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T20:38:43.033Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T20:38:43.033Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T20:38:43.033Z] 04944245beec: Pulling fs layer [2022-10-25T20:38:43.033Z] 699f458cf7ca: Pulling fs layer [2022-10-25T20:38:43.033Z] 765212b225bb: Pulling fs layer [2022-10-25T20:38:43.033Z] f23df028b6ca: Pulling fs layer [2022-10-25T20:38:43.033Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T20:38:43.033Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T20:38:43.033Z] 765212b225bb: Waiting [2022-10-25T20:38:43.033Z] f23df028b6ca: Waiting [2022-10-25T20:38:43.033Z] d65c8cfc05b1: Waiting [2022-10-25T20:38:43.033Z] 2437ff75d9bd: Waiting [2022-10-25T20:38:43.303Z] 04944245beec: Verifying Checksum [2022-10-25T20:38:43.303Z] 04944245beec: Download complete [2022-10-25T20:38:43.303Z] 765212b225bb: Verifying Checksum [2022-10-25T20:38:43.303Z] 765212b225bb: Download complete [2022-10-25T20:38:43.303Z] f23df028b6ca: Verifying Checksum [2022-10-25T20:38:43.303Z] f23df028b6ca: Download complete [2022-10-25T20:38:43.303Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T20:38:43.303Z] d65c8cfc05b1: Download complete [2022-10-25T20:38:43.572Z] 699f458cf7ca: Verifying Checksum [2022-10-25T20:38:43.572Z] 699f458cf7ca: Download complete [2022-10-25T20:38:43.841Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T20:38:46.431Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T20:38:46.431Z] 2437ff75d9bd: Download complete [2022-10-25T20:38:48.376Z] 8998bd30e6a1: Pull complete [2022-10-25T20:38:48.645Z] 04944245beec: Pull complete [2022-10-25T20:38:50.056Z] 699f458cf7ca: Pull complete [2022-10-25T20:38:50.056Z] 765212b225bb: Pull complete [2022-10-25T20:38:51.018Z] f23df028b6ca: Pull complete [2022-10-25T20:38:51.018Z] d65c8cfc05b1: Pull complete [2022-10-25T20:39:06.021Z] 2437ff75d9bd: Pull complete [2022-10-25T20:39:06.021Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T20:39:06.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T20:39:06.021Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:39:06.213Z] prd-ubuntu20.04-docker-arm64-4c-16g-116984 does not seem to be running inside a container [2022-10-25T20:39:06.279Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T20:39:09.094Z] $ docker top 12d92158eb30a0a209673e0ac3d9463781925072de13b3daff4713bc193cafa9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:39:09.955Z] ---> job-cost.sh [2022-10-25T20:39:09.955Z] lf-activate-venv: SKIPPING [2022-10-25T20:39:09.955Z] INFO: No Stack... [2022-10-25T20:39:10.539Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T20:39:11.123Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T20:39:11.837Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2022-10-25T20:39:11.837Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T20:39:11.908Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [2022-10-25T20:39:11.914Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] did not exist. Created. [2022-10-25T20:39:11.914Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T20:39:12.269Z] /w/workspace/device-rest-go/3@tmp/durable-8cb52168/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T20:39:13.190Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T20:39:13.206Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T20:39:13.253Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T20:39:13.263Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-222-3-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T20:39:13.284Z] $ docker stop --time=1 12d92158eb30a0a209673e0ac3d9463781925072de13b3daff4713bc193cafa9 [2022-10-25T20:39:14.804Z] $ docker rm -f 12d92158eb30a0a209673e0ac3d9463781925072de13b3daff4713bc193cafa9 [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-10-25T20:39:15.188Z] provisioning config files... [2022-10-25T20:39:15.194Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config11647587315742662326tmp [Pipeline] { [Pipeline] sh [2022-10-25T20:39:15.481Z] + set +x [2022-10-25T20:39:15.481Z] + curl -s https://codecov.io/bash [2022-10-25T20:39:15.481Z] + bash -s -- [2022-10-25T20:39:15.481Z] [2022-10-25T20:39:15.481Z] _____ _ [2022-10-25T20:39:15.481Z] / ____| | | [2022-10-25T20:39:15.481Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T20:39:15.481Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T20:39:15.481Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T20:39:15.481Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T20:39:15.481Z] Bash-1.0.6 [2022-10-25T20:39:15.481Z] [2022-10-25T20:39:15.481Z] [2022-10-25T20:39:15.481Z] ==> git version 2.25.1 found [2022-10-25T20:39:15.481Z] ==> 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-10-25T20:39:15.481Z] Release-Date: 2020-01-08 [2022-10-25T20:39:15.481Z] 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-10-25T20:39:15.481Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T20:39:15.481Z] ==> Jenkins CI detected. [2022-10-25T20:39:15.481Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-222 [2022-10-25T20:39:15.481Z] project root: . [2022-10-25T20:39:15.481Z] --> token set from env [2022-10-25T20:39:15.481Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T20:39:15.481Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T20:39:15.481Z] ==> Python coveragepy not found [2022-10-25T20:39:15.481Z] ==> Searching for coverage reports in: [2022-10-25T20:39:15.481Z] + . [2022-10-25T20:39:15.481Z] -> Found 1 reports [2022-10-25T20:39:15.481Z] ==> Detecting git/mercurial file structure [2022-10-25T20:39:15.481Z] ==> Reading reports [2022-10-25T20:39:15.481Z] + ./coverage.out bytes=9355 [2022-10-25T20:39:15.481Z] ==> Appending adjustments [2022-10-25T20:39:15.481Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T20:39:15.740Z] + Found adjustments [2022-10-25T20:39:15.740Z] ==> Gzipping contents [2022-10-25T20:39:15.740Z] 4.0K /tmp/codecov.Hmn3O6.gz [2022-10-25T20:39:15.740Z] ==> Uploading reports [2022-10-25T20:39:15.740Z] url: https://codecov.io [2022-10-25T20:39:15.740Z] query: branch=PR-222&commit=fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2022-10-25T20:39:15.740Z] -> Pinging Codecov [2022-10-25T20:39:15.740Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-222&commit=fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-222%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=222&job=&cmd_args= [2022-10-25T20:39:15.999Z] -> Uploading to [2022-10-25T20:39:15.999Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1/e71b43a7-71f4-4223-b526-bc7f62257407.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T203915Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b1fce5ffde66522efb6279df6b2d44d671bd282f47795690a29b748eae39958b [2022-10-25T20:39:15.999Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T20:39:15.999Z] Dload Upload Total Spent Left Speed [2022-10-25T20:39:16.258Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7656 --:--:-- --:--:-- --:--:-- 7656 [2022-10-25T20:39:16.258Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fc694a436cd0bd1146e25ac4fcfda616cfa7d9f1 [Pipeline] } [2022-10-25T20:39:16.264Z] 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-10-25T20:39:16.974Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-222/archives ] [2022-10-25T20:39:16.974Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-25T20:39:16.974Z] total 16 [2022-10-25T20:39:16.974Z] drwxr-xr-x 3 root root 4096 Oct 25 20:29 . [2022-10-25T20:39:16.974Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 20:29 .. [2022-10-25T20:39:16.974Z] drwxr-xr-x 2 root root 4096 Oct 25 20:29 cost [2022-10-25T20:39:16.974Z] -rw-r--r-- 1 root root 86 Oct 25 20:29 cost.csv [2022-10-25T20:39:16.974Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-25T20:39:16.974Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-222/archives [2022-10-25T20:39:16.974Z] total 16 [2022-10-25T20:39:16.974Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 20:29 . [2022-10-25T20:39:16.974Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 20:29 .. [2022-10-25T20:39:16.974Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 20:29 cost [2022-10-25T20:39:16.974Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 25 20:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:39:17.261Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:39:18.134Z] ---> package-listing.sh [2022-10-25T20:39:18.134Z] ++ facter osfamily [2022-10-25T20:39:18.134Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T20:39:18.134Z] + OS_FAMILY=debian [2022-10-25T20:39:18.134Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-222 [2022-10-25T20:39:18.134Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T20:39:18.134Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T20:39:18.134Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T20:39:18.134Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T20:39:18.134Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-25T20:39:18.134Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T20:39:18.134Z] + case "${OS_FAMILY}" in [2022-10-25T20:39:18.134Z] + dpkg -l [2022-10-25T20:39:18.134Z] + grep '^ii' [2022-10-25T20:39:18.393Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T20:39:18.393Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T20:39:18.393Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T20:39:18.393Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-222 ']' [2022-10-25T20:39:18.393Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [2022-10-25T20:39:18.393Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-222/archives/ [Pipeline] echo [2022-10-25T20:39:18.404Z] 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-222/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T20:39:18.682Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T20:39:19.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T20:39:19.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T20:39:19.301Z] prd-ubuntu20.04-docker-8c-8g-116980 does not seem to be running inside a container [2022-10-25T20:39:19.328Z] $ 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-222/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-222 -v /w/workspace/gexfoundry_device-rest-go_PR-222:/w/workspace/gexfoundry_device-rest-go_PR-222:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-222@tmp:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-25T20:39:19.539Z] $ docker top 0b3d63408239d2ff0a05122953c921e68437010b36a837d2c0323d7b3d34ed80 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T20:39:19.884Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T20:39:20.171Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T20:39:20.458Z] + ls /var/log/sa-host [2022-10-25T20:39:20.458Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T20:39:20.613Z] provisioning config files... [2022-10-25T20:39:20.622Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-222@tmp/config2398012750072591631tmp [Pipeline] { [Pipeline] echo [2022-10-25T20:39:20.637Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:39:20.919Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T20:39:20.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:39:21.271Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T20:39:21.280Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:39:21.566Z] ---> sudo-logs.sh [2022-10-25T20:39:21.566Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T20:39:21.589Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:39:21.872Z] ---> job-cost.sh [2022-10-25T20:39:21.872Z] lf-activate-venv: SKIPPING [2022-10-25T20:39:21.872Z] DEBUG: total: 0.2199999988079071 [2022-10-25T20:39:21.872Z] INFO: Retrieving Stack Cost... [2022-10-25T20:39:22.441Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T20:39:22.701Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T20:39:22.714Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T20:39:22.999Z] ---> logs-deploy.sh [2022-10-25T20:39:22.999Z] lf-activate-venv: SKIPPING [2022-10-25T20:39:22.999Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-222/3 [2022-10-25T20:39:22.999Z] INFO: archiving workspace using pattern(s): [2022-10-25T20:39:23.936Z] Archives upload complete. [2022-10-25T20:39:23.936Z] INFO: archiving logs to Nexus