Pull request #224 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 rather than 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 Obtained Jenkinsfile from 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 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-ssh7308091623325062484.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-ssh17494343931631349950.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6458233641160025326.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3387460669294488559.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9614427721789059465.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-224/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6001062102217238386.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-116993 in /w/workspace/gexfoundry_device-rest-go_PR-224 [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-224 # 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 Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 Merge succeeded, producing 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 Checking out Revision 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 (PR-224) > 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/224/head:refs/remotes/origin/PR-224 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 # 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 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T22:32:15.456Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T22:32:15.627Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T22:32:15.726Z] ========================================================= [2022-10-25T22:32:15.726Z] EdgeX Global Pipelines Version Info [2022-10-25T22:32:15.726Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:32:16.841Z] ------------------- [2022-10-25T22:32:16.841Z] stable info: [2022-10-25T22:32:16.841Z] ------------------- [2022-10-25T22:32:16.841Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T22:32:16.841Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T22:32:16.841Z] Message: update stable to v1.0.243 [2022-10-25T22:32:17.101Z] ------------------- [2022-10-25T22:32:17.101Z] experimental info: [2022-10-25T22:32:17.101Z] ------------------- [2022-10-25T22:32:17.101Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T22:32:17.101Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T22:32:17.101Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T22:32:17.368Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-25T22:32:17.405Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-25T22:32:17.441Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T22:32:17.477Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T22:32:17.510Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T22:32:17.545Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T22:32:17.580Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T22:32:17.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T22:32:17.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T22:32:17.693Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T22:32:17.733Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T22:32:17.774Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-25T22:32:17.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T22:32:17.862Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T22:32:17.906Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T22:32:17.946Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T22:32:17.984Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T22:32:18.028Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T22:32:18.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T22:32:18.111Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T22:32:18.152Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T22:32:18.193Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T22:32:18.233Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T22:32:18.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T22:32:18.319Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T22:32:18.359Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T22:32:18.404Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T22:32:18.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-224 [Pipeline] echo [2022-10-25T22:32:18.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-224 [Pipeline] echo [2022-10-25T22:32:18.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-224 [Pipeline] echo [2022-10-25T22:32:18.567Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] echo [2022-10-25T22:32:18.608Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 80ab41c [Pipeline] echo [2022-10-25T22:32:18.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:32:18.757Z] provisioning config files... [2022-10-25T22:32:18.772Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config6852092699257430582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:32:19.121Z] ---> docker-login.sh [2022-10-25T22:32:19.121Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:32:19.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:19.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:19.642Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:19.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:19.642Z] [2022-10-25T22:32:19.642Z] Login Succeeded [2022-10-25T22:32:19.642Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:32:19.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:19.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:19.903Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:19.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:19.903Z] [2022-10-25T22:32:19.903Z] Login Succeeded [2022-10-25T22:32:19.903Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:32:19.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:19.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:19.903Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:19.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:19.903Z] [2022-10-25T22:32:19.903Z] Login Succeeded [2022-10-25T22:32:19.903Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:32:19.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:19.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:19.903Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:19.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:19.903Z] [2022-10-25T22:32:19.904Z] Login Succeeded [2022-10-25T22:32:19.904Z] docker.io [2022-10-25T22:32:20.164Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:20.424Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:20.424Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:20.424Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:20.424Z] [2022-10-25T22:32:20.424Z] Login Succeeded [2022-10-25T22:32:20.424Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:32:20.452Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T22:32:21.071Z] + git rev-list -1 --merges 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704~1..80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] echo [2022-10-25T22:32:21.115Z] -----------> git rev-list -1 --merges 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704~1..80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [false] [Pipeline] sh [2022-10-25T22:32:21.423Z] + git log --format=format:%s -1 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] echo [2022-10-25T22:32:21.457Z] ========================================================= [2022-10-25T22:32:21.457Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T22:32:21.457Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T22:32:21.879Z] + git log --format=format:%s -1 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] echo [2022-10-25T22:32:21.911Z] [semverPrep] GIT_COMMIT: 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo [2022-10-25T22:32:21.939Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T22:32:22.326Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T22:32:22.327Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T22:32:22.327Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T22:32:22.327Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T22:32:22.327Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T22:32:22.327Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T22:32:22.327Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:32:22.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:32:22.801Z] [2022-10-25T22:32:22.801Z] 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-25T22:32:23.170Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:32:23.170Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T22:32:23.170Z] b85a868b505f: Pulling fs layer [2022-10-25T22:32:23.170Z] e2be974225ed: Pulling fs layer [2022-10-25T22:32:23.170Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T22:32:23.170Z] 988bab9f4d93: Pulling fs layer [2022-10-25T22:32:23.170Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T22:32:23.170Z] eaf3925da568: Pulling fs layer [2022-10-25T22:32:23.170Z] bab4dde63d76: Pulling fs layer [2022-10-25T22:32:23.170Z] bde34c3a00c8: Pulling fs layer [2022-10-25T22:32:23.170Z] b352a97aabf1: Pulling fs layer [2022-10-25T22:32:23.170Z] 4872d77fe225: Pulling fs layer [2022-10-25T22:32:23.170Z] 5851b861e8e6: Pulling fs layer [2022-10-25T22:32:23.170Z] bde34c3a00c8: Waiting [2022-10-25T22:32:23.170Z] 988bab9f4d93: Waiting [2022-10-25T22:32:23.170Z] b352a97aabf1: Waiting [2022-10-25T22:32:23.170Z] eaf3925da568: Waiting [2022-10-25T22:32:23.170Z] 5851b861e8e6: Waiting [2022-10-25T22:32:23.170Z] 4872d77fe225: Waiting [2022-10-25T22:32:23.170Z] bab4dde63d76: Waiting [2022-10-25T22:32:23.170Z] 1469e6f7b9e6: Waiting [2022-10-25T22:32:23.170Z] e2be974225ed: Verifying Checksum [2022-10-25T22:32:23.170Z] e2be974225ed: Download complete [2022-10-25T22:32:23.170Z] 988bab9f4d93: Verifying Checksum [2022-10-25T22:32:23.170Z] 988bab9f4d93: Download complete [2022-10-25T22:32:23.431Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T22:32:23.431Z] 1469e6f7b9e6: Download complete [2022-10-25T22:32:23.431Z] eaf3925da568: Verifying Checksum [2022-10-25T22:32:23.431Z] eaf3925da568: Download complete [2022-10-25T22:32:23.431Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T22:32:23.431Z] 339a4e72a1f5: Download complete [2022-10-25T22:32:23.431Z] bde34c3a00c8: Verifying Checksum [2022-10-25T22:32:23.431Z] bde34c3a00c8: Download complete [2022-10-25T22:32:23.431Z] b352a97aabf1: Verifying Checksum [2022-10-25T22:32:23.431Z] b352a97aabf1: Download complete [2022-10-25T22:32:23.431Z] 5851b861e8e6: Download complete [2022-10-25T22:32:23.431Z] b85a868b505f: Verifying Checksum [2022-10-25T22:32:23.431Z] b85a868b505f: Download complete [2022-10-25T22:32:23.690Z] bab4dde63d76: Verifying Checksum [2022-10-25T22:32:23.690Z] bab4dde63d76: Download complete [2022-10-25T22:32:24.630Z] b85a868b505f: Pull complete [2022-10-25T22:32:24.890Z] e2be974225ed: Pull complete [2022-10-25T22:32:25.459Z] 339a4e72a1f5: Pull complete [2022-10-25T22:32:25.459Z] 988bab9f4d93: Pull complete [2022-10-25T22:32:25.719Z] 1469e6f7b9e6: Pull complete [2022-10-25T22:32:25.980Z] eaf3925da568: Pull complete [2022-10-25T22:32:27.887Z] bab4dde63d76: Pull complete [2022-10-25T22:32:27.887Z] bde34c3a00c8: Pull complete [2022-10-25T22:32:27.887Z] b352a97aabf1: Pull complete [2022-10-25T22:32:28.147Z] 4872d77fe225: Pull complete [2022-10-25T22:32:28.147Z] 5851b861e8e6: Pull complete [2022-10-25T22:32:28.147Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T22:32:28.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T22:32:28.147Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:32:28.347Z] prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container [2022-10-25T22:32:28.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-25T22:32:29.705Z] $ docker top 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 -eo pid,comm [2022-10-25T22:32:29.767Z] 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-25T22:32:29.767Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T22:32:29.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T22:32:29.891Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T22:32:29.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T22:32:29.998Z] $ docker exec 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 ssh-agent [2022-10-25T22:32:30.123Z] SSH_AUTH_SOCK=/tmp/ssh-vSCiwCS2Rr2L/agent.32 [2022-10-25T22:32:30.123Z] SSH_AGENT_PID=38 [2022-10-25T22:32:30.131Z] Running ssh-add (command line suppressed) [2022-10-25T22:32:30.227Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_5171554630792245423.key (/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_5171554630792245423.key) [2022-10-25T22:32:30.246Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T22:32:30.591Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T22:32:30.624Z] $ docker exec --env ******** --env ******** 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 ssh-agent -k [2022-10-25T22:32:30.746Z] unset SSH_AUTH_SOCK; [2022-10-25T22:32:30.747Z] unset SSH_AGENT_PID; [2022-10-25T22:32:30.747Z] echo Agent pid 38 killed; [2022-10-25T22:32:30.762Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T22:32:30.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T22:32:30.840Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T22:32:30.962Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T22:32:30.960Z] $ docker exec 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 ssh-agent [2022-10-25T22:32:31.081Z] SSH_AUTH_SOCK=/tmp/ssh-REbigFpU6Mc9/agent.70 [2022-10-25T22:32:31.081Z] SSH_AGENT_PID=76 [2022-10-25T22:32:31.087Z] Running ssh-add (command line suppressed) [2022-10-25T22:32:31.189Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_12860433638996299293.key (/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/private_key_12860433638996299293.key) [2022-10-25T22:32:31.208Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T22:32:31.532Z] + git semver init [2022-10-25T22:32:31.792Z] 2022-10-25 22:32:31,719 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T22:32:31.792Z] 2022-10-25 22:32:31,720 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver [2022-10-25T22:32:31.792Z] 2022-10-25 22:32:31,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-224/.semver [2022-10-25T22:32:31.792Z] 2022-10-25 22:32:31,721 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-224/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224, universal_newlines=False, shell=None, istream=None) [2022-10-25T22:32:33.172Z] 2022-10-25 22:32:32,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-224/.git/info/exclude [2022-10-25T22:32:33.172Z] 2022-10-25 22:32:32,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 with force:False [2022-10-25T22:32:33.172Z] 2022-10-25 22:32:32,810 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 [2022-10-25T22:32:33.172Z] 2022-10-25 22:32:32,814 [execute] INFO git cat-file --batch-check [2022-10-25T22:32:33.172Z] 2022-10-25 22:32:32,814 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T22:32:33.172Z] 2022-10-25 22:32:32,820 [execute] INFO git cat-file --batch [2022-10-25T22:32:33.172Z] 2022-10-25 22:32:32,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-224/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T22:32:33.172Z] 2022-10-25 22:32:32,825 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-224/.semver/PR-224 [2022-10-25T22:32:33.172Z] 0.0.0 [Pipeline] } [2022-10-25T22:32:33.196Z] $ docker exec --env ******** --env ******** 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 ssh-agent -k [2022-10-25T22:32:33.300Z] unset SSH_AUTH_SOCK; [2022-10-25T22:32:33.300Z] unset SSH_AGENT_PID; [2022-10-25T22:32:33.300Z] echo Agent pid 76 killed; [2022-10-25T22:32:33.314Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T22:32:33.724Z] + git semver [Pipeline] } [2022-10-25T22:32:34.005Z] $ docker stop --time=1 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 [2022-10-25T22:32:35.346Z] $ docker rm -f 202a318791fd56a26fa65f7a02f96ae777cce622695be7a223efc4718bdcdd05 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T22:32:35.752Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T22:32:35.978Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T22:32:36.052Z] [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-25T22:32:36.671Z] provisioning config files... [2022-10-25T22:32:36.682Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config723987243766198734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:32:37.029Z] ---> docker-login.sh [2022-10-25T22:32:37.029Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:32:37.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:37.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:37.029Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:37.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:37.029Z] [2022-10-25T22:32:37.029Z] Login Succeeded [2022-10-25T22:32:37.029Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:32:37.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:37.029Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:37.029Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:37.029Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:37.029Z] [2022-10-25T22:32:37.029Z] Login Succeeded [2022-10-25T22:32:37.029Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:32:37.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:37.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:37.288Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:37.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:37.288Z] [2022-10-25T22:32:37.288Z] Login Succeeded [2022-10-25T22:32:37.288Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:32:37.288Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:37.288Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:37.288Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:37.288Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:37.288Z] [2022-10-25T22:32:37.288Z] Login Succeeded [2022-10-25T22:32:37.288Z] docker.io [2022-10-25T22:32:37.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:32:37.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:32:37.806Z] Configure a credential helper to remove this warning. See [2022-10-25T22:32:37.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:32:37.806Z] [2022-10-25T22:32:37.806Z] Login Succeeded [2022-10-25T22:32:37.806Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:32:37.835Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T22:32:38.036Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:32:38.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:32:38.105Z] ========================================================= [2022-10-25T22:32:38.105Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T22:32:38.105Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:32:38.585Z] + 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-25T22:32:38.585Z] Sending build context to Docker daemon 10.75MB [2022-10-25T22:32:38.585Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:32:38.585Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-25T22:32:38.585Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T22:32:38.585Z] 213ec9aee27d: Pulling fs layer [2022-10-25T22:32:38.585Z] 4583459ba037: Pulling fs layer [2022-10-25T22:32:38.585Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T22:32:38.585Z] 53926ce57604: Pulling fs layer [2022-10-25T22:32:38.585Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T22:32:38.585Z] 30f14e443154: Pulling fs layer [2022-10-25T22:32:38.585Z] 801331c1e519: Pulling fs layer [2022-10-25T22:32:38.585Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T22:32:38.585Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T22:32:38.585Z] 53926ce57604: Waiting [2022-10-25T22:32:38.585Z] 30f14e443154: Waiting [2022-10-25T22:32:38.585Z] 99cc6dd402b0: Waiting [2022-10-25T22:32:38.585Z] 7d9ed39f4882: Waiting [2022-10-25T22:32:38.585Z] 801331c1e519: Waiting [2022-10-25T22:32:38.585Z] 21b2b0c7a3f4: Waiting [2022-10-25T22:32:38.585Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T22:32:38.585Z] 93c1e223e6f2: Download complete [2022-10-25T22:32:38.849Z] 4583459ba037: Verifying Checksum [2022-10-25T22:32:38.849Z] 4583459ba037: Download complete [2022-10-25T22:32:38.849Z] 21b2b0c7a3f4: Download complete [2022-10-25T22:32:38.849Z] 30f14e443154: Verifying Checksum [2022-10-25T22:32:38.849Z] 30f14e443154: Download complete [2022-10-25T22:32:38.849Z] 213ec9aee27d: Verifying Checksum [2022-10-25T22:32:38.849Z] 213ec9aee27d: Download complete [2022-10-25T22:32:38.849Z] 801331c1e519: Download complete [2022-10-25T22:32:38.849Z] 213ec9aee27d: Pull complete [2022-10-25T22:32:39.122Z] 4583459ba037: Pull complete [2022-10-25T22:32:39.122Z] 93c1e223e6f2: Pull complete [2022-10-25T22:32:40.130Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T22:32:40.130Z] 7d9ed39f4882: Download complete [2022-10-25T22:32:40.130Z] 53926ce57604: Verifying Checksum [2022-10-25T22:32:40.130Z] 53926ce57604: Download complete [2022-10-25T22:32:40.390Z] 99cc6dd402b0: Download complete [2022-10-25T22:32:44.585Z] 53926ce57604: Pull complete [2022-10-25T22:32:44.585Z] 21b2b0c7a3f4: Pull complete [2022-10-25T22:32:44.585Z] 30f14e443154: Pull complete [2022-10-25T22:32:44.585Z] 801331c1e519: Pull complete [2022-10-25T22:32:46.487Z] 99cc6dd402b0: Pull complete [2022-10-25T22:32:47.420Z] 7d9ed39f4882: Pull complete [2022-10-25T22:32:47.420Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T22:32:47.420Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T22:32:47.420Z] ---> 1dedd983c030 [2022-10-25T22:32:47.420Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:32:49.329Z] ---> Running in 08f582a47b93 [2022-10-25T22:32:49.329Z] Removing intermediate container 08f582a47b93 [2022-10-25T22:32:49.329Z] ---> 3d6aa97a24b9 [2022-10-25T22:32:49.329Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:32:49.329Z] ---> Running in c173a0d6841d [2022-10-25T22:32:49.329Z] Removing intermediate container c173a0d6841d [2022-10-25T22:32:49.329Z] ---> b20312f2f90a [2022-10-25T22:32:49.329Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T22:32:49.329Z] ---> Running in f41698575e5f [2022-10-25T22:32:49.329Z] Removing intermediate container f41698575e5f [2022-10-25T22:32:49.329Z] ---> 5100c9529a74 [2022-10-25T22:32:49.329Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T22:32:49.586Z] ---> Running in c4ecec86807b [2022-10-25T22:32:49.586Z] Removing intermediate container c4ecec86807b [2022-10-25T22:32:49.586Z] ---> 6b4e54199525 [2022-10-25T22:32:49.586Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T22:32:49.586Z] ---> Running in 16c782220c49 [2022-10-25T22:32:49.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:32:50.103Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:32:50.103Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T22:32:50.362Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T22:32:50.362Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T22:32:50.362Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T22:32:50.362Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T22:32:50.362Z] OK: 216 MiB in 55 packages [2022-10-25T22:32:50.638Z] Removing intermediate container 16c782220c49 [2022-10-25T22:32:50.638Z] ---> b157ce2bf2f1 [2022-10-25T22:32:50.638Z] Step 8/12 : WORKDIR /device-rest-go [2022-10-25T22:32:50.899Z] ---> Running in 279047a3aab3 [2022-10-25T22:32:50.899Z] Removing intermediate container 279047a3aab3 [2022-10-25T22:32:50.899Z] ---> a25489037383 [2022-10-25T22:32:50.899Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-25T22:32:50.899Z] ---> 87a89094bba1 [2022-10-25T22:32:50.899Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:32:51.161Z] ---> Running in d420dbc73229 [2022-10-25T22:32:51.480Z] Still waiting to schedule task [2022-10-25T22:32:51.481Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-25T22:33:17.716Z] Removing intermediate container d420dbc73229 [2022-10-25T22:33:17.717Z] ---> 33bcbdf2bfd7 [2022-10-25T22:33:17.717Z] Step 11/12 : COPY . . [2022-10-25T22:33:17.717Z] ---> cf4912d0ad66 [2022-10-25T22:33:17.717Z] Step 12/12 : RUN $MAKE [2022-10-25T22:33:17.717Z] ---> Running in 1f14c50f1e22 [2022-10-25T22:33:17.717Z] noop [2022-10-25T22:33:17.717Z] Removing intermediate container 1f14c50f1e22 [2022-10-25T22:33:17.717Z] ---> 7283b0d5dcb6 [2022-10-25T22:33:17.717Z] Successfully built 7283b0d5dcb6 [2022-10-25T22:33:17.717Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:33:18.150Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T22:33:18.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:33:18.298Z] prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container [2022-10-25T22:33:18.319Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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-x86_64 cat [2022-10-25T22:33:18.700Z] $ docker top 0897bdb03a71b815e3cc1e0a6bbff12fb90b8fbfe9cbb64839c35524d8e6e1b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:33:19.092Z] + go version [2022-10-25T22:33:19.093Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T22:33:19.116Z] $ docker stop --time=1 0897bdb03a71b815e3cc1e0a6bbff12fb90b8fbfe9cbb64839c35524d8e6e1b8 [2022-10-25T22:33:20.384Z] $ docker rm -f 0897bdb03a71b815e3cc1e0a6bbff12fb90b8fbfe9cbb64839c35524d8e6e1b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:33:21.084Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T22:33:21.085Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:33:21.218Z] prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container [2022-10-25T22:33:21.239Z] $ 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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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-x86_64 cat [2022-10-25T22:33:21.640Z] $ docker top 7013697c555219a8ec0a6f940df239f34cc1a9c6e6095e8b0e83ae70b95224fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:33:22.033Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-224 [Pipeline] fileExists [Pipeline] sh [2022-10-25T22:33:22.389Z] + make test [2022-10-25T22:33:22.389Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T22:33:22.647Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T22:33:32.618Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T22:33:33.185Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-10-25T22:33:41.296Z] 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-25T22:33:41.296Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T22:33:44.581Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T22:33:44.581Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T22:33:44.581Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T22:33:44.620Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T22:33:44.647Z] $ docker stop --time=1 7013697c555219a8ec0a6f940df239f34cc1a9c6e6095e8b0e83ae70b95224fa [2022-10-25T22:33:46.488Z] $ docker rm -f 7013697c555219a8ec0a6f940df239f34cc1a9c6e6095e8b0e83ae70b95224fa [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T22:33:47.015Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T22:33:47.076Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T22:33:47.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T22:33:48.038Z] + ls -al . [2022-10-25T22:33:48.038Z] total 184 [2022-10-25T22:33:48.038Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 22:33 . [2022-10-25T22:33:48.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:32 .. [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 22:32 .dockerignore [2022-10-25T22:33:48.038Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:33 .git [2022-10-25T22:33:48.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:32 .github [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 22:32 .gitignore [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:32 .golangci.yml [2022-10-25T22:33:48.038Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:32 .semver [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 22:32 Attribution.txt [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 22:32 CHANGELOG.md [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 1641 Oct 25 22:32 Dockerfile [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:32 GOVERNANCE.md [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 22:32 Jenkinsfile [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:32 LICENSE [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 22:32 Makefile [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 22:32 OWNERS.md [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 22:32 README.md [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:32 VERSION [2022-10-25T22:33:48.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:32 bin [2022-10-25T22:33:48.038Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:32 cmd [2022-10-25T22:33:48.038Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 22:33 coverage.out [2022-10-25T22:33:48.038Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:32 driver [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 3536 Oct 25 22:32 go.mod [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 44967 Oct 25 22:32 go.sum [2022-10-25T22:33:48.038Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:32 snap [2022-10-25T22:33:48.038Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 22:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:33:48.419Z] + 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=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 --label arch=amd64 --label version=0.0.0 . [2022-10-25T22:33:48.419Z] Sending build context to Docker daemon 10.76MB [2022-10-25T22:33:48.419Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:33:48.419Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-25T22:33:48.419Z] ---> 7283b0d5dcb6 [2022-10-25T22:33:48.419Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:33:48.419Z] ---> Running in f5b2dad4a9b5 [2022-10-25T22:33:48.679Z] Removing intermediate container f5b2dad4a9b5 [2022-10-25T22:33:48.679Z] ---> 1aff588ca2b0 [2022-10-25T22:33:48.679Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:33:48.679Z] ---> Running in 7890abdfbfc1 [2022-10-25T22:33:48.679Z] Removing intermediate container 7890abdfbfc1 [2022-10-25T22:33:48.679Z] ---> 49e06f44a509 [2022-10-25T22:33:48.679Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T22:33:48.938Z] ---> Running in f28a48a970f1 [2022-10-25T22:33:48.938Z] Removing intermediate container f28a48a970f1 [2022-10-25T22:33:48.938Z] ---> 87d3561b2aef [2022-10-25T22:33:48.938Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T22:33:48.938Z] ---> Running in 1699aa52312e [2022-10-25T22:33:48.938Z] Removing intermediate container 1699aa52312e [2022-10-25T22:33:48.938Z] ---> 3ef8a368b5ad [2022-10-25T22:33:48.938Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T22:33:49.198Z] ---> Running in 2773da704e2d [2022-10-25T22:33:49.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:33:49.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:33:49.717Z] OK: 216 MiB in 55 packages [2022-10-25T22:33:49.974Z] Removing intermediate container 2773da704e2d [2022-10-25T22:33:49.974Z] ---> d8f49fb1210c [2022-10-25T22:33:49.974Z] Step 8/25 : WORKDIR /device-rest-go [2022-10-25T22:33:49.974Z] ---> Running in 7437192791f6 [2022-10-25T22:33:50.234Z] Removing intermediate container 7437192791f6 [2022-10-25T22:33:50.234Z] ---> 5afa4dad538e [2022-10-25T22:33:50.234Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-25T22:33:50.234Z] ---> 1b579cbc3d85 [2022-10-25T22:33:50.234Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:33:50.494Z] ---> Running in 85b82508a8cd [2022-10-25T22:33:51.062Z] Removing intermediate container 85b82508a8cd [2022-10-25T22:33:51.062Z] ---> ad20d286bdb0 [2022-10-25T22:33:51.062Z] Step 11/25 : COPY . . [2022-10-25T22:33:51.322Z] ---> d5046710642f [2022-10-25T22:33:51.322Z] Step 12/25 : RUN $MAKE [2022-10-25T22:33:51.322Z] ---> Running in 93237e07ff2e [2022-10-25T22:33:51.582Z] 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-25T22:34:13.506Z] Removing intermediate container 93237e07ff2e [2022-10-25T22:34:13.506Z] ---> 38407196eeed [2022-10-25T22:34:13.506Z] Step 13/25 : FROM alpine:3.16 [2022-10-25T22:34:13.506Z] 3.16: Pulling from library/alpine [2022-10-25T22:34:13.506Z] 213ec9aee27d: Already exists [2022-10-25T22:34:13.506Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T22:34:13.506Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T22:34:13.506Z] ---> 9c6f07244728 [2022-10-25T22:34:13.506Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T22:34:13.506Z] ---> Running in 9da50ba63c55 [2022-10-25T22:34:13.506Z] Removing intermediate container 9da50ba63c55 [2022-10-25T22:34:13.506Z] ---> a12f5f158a03 [2022-10-25T22:34:13.506Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T22:34:13.506Z] ---> Running in f0ba0c783ca6 [2022-10-25T22:34:13.506Z] Removing intermediate container f0ba0c783ca6 [2022-10-25T22:34:13.506Z] ---> 69994e0fd1c7 [2022-10-25T22:34:13.506Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T22:34:13.506Z] ---> Running in b6f63b751431 [2022-10-25T22:34:13.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T22:34:14.023Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T22:34:14.282Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T22:34:14.282Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T22:34:14.282Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T22:34:14.282Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T22:34:14.282Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T22:34:14.282Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T22:34:14.282Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T22:34:14.282Z] OK: 8 MiB in 20 packages [2022-10-25T22:34:14.849Z] Removing intermediate container b6f63b751431 [2022-10-25T22:34:14.849Z] ---> a8e2b8c10c60 [2022-10-25T22:34:14.849Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T22:34:15.416Z] ---> 1a97458d7369 [2022-10-25T22:34:15.416Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T22:34:15.416Z] ---> 95c04ae1d365 [2022-10-25T22:34:15.416Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T22:34:15.675Z] ---> 358649df0d07 [2022-10-25T22:34:15.675Z] Step 20/25 : EXPOSE 59986 [2022-10-25T22:34:15.675Z] ---> Running in 5803ab4cdd94 [2022-10-25T22:34:15.675Z] Removing intermediate container 5803ab4cdd94 [2022-10-25T22:34:15.675Z] ---> 1df22287464c [2022-10-25T22:34:15.675Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-10-25T22:34:15.675Z] ---> Running in 8a8559072454 [2022-10-25T22:34:15.936Z] Removing intermediate container 8a8559072454 [2022-10-25T22:34:15.936Z] ---> 20973ab45dd1 [2022-10-25T22:34:15.936Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T22:34:15.936Z] ---> Running in ec767266c282 [2022-10-25T22:34:15.936Z] Removing intermediate container ec767266c282 [2022-10-25T22:34:15.936Z] ---> dee8562e6088 [2022-10-25T22:34:15.936Z] Step 23/25 : LABEL arch=amd64 [2022-10-25T22:34:15.936Z] ---> Running in d0f5b75c627a [2022-10-25T22:34:16.195Z] Removing intermediate container d0f5b75c627a [2022-10-25T22:34:16.195Z] ---> 730b3fe2267e [2022-10-25T22:34:16.195Z] Step 24/25 : LABEL git_sha=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [2022-10-25T22:34:16.195Z] ---> Running in 0548e44aa482 [2022-10-25T22:34:16.195Z] Removing intermediate container 0548e44aa482 [2022-10-25T22:34:16.195Z] ---> fdc882ba2060 [2022-10-25T22:34:16.195Z] Step 25/25 : LABEL version=0.0.0 [2022-10-25T22:34:16.195Z] ---> Running in 48fda5af2da3 [2022-10-25T22:34:16.454Z] Removing intermediate container 48fda5af2da3 [2022-10-25T22:34:16.454Z] ---> c11fd1a60d80 [2022-10-25T22:34:16.454Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T22:34:16.454Z] Successfully built c11fd1a60d80 [2022-10-25T22:34:16.454Z] 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-25T22:34:17.270Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:34:17.270Z] [2022-10-25T22:34:17.270Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:34:17.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:34:17.646Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T22:34:17.646Z] 5eb5b503b376: Pulling fs layer [2022-10-25T22:34:17.646Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T22:34:17.646Z] ec43610c2a17: Pulling fs layer [2022-10-25T22:34:17.646Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T22:34:17.646Z] 33b1e0a273af: Pulling fs layer [2022-10-25T22:34:17.646Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T22:34:17.646Z] 2f39f015ded8: Pulling fs layer [2022-10-25T22:34:17.646Z] 3a2ae6a8a46f: Waiting [2022-10-25T22:34:17.646Z] 5d3b04190fa2: Waiting [2022-10-25T22:34:17.646Z] 2f39f015ded8: Waiting [2022-10-25T22:34:17.646Z] 33b1e0a273af: Waiting [2022-10-25T22:34:17.646Z] 5c69ac0246d0: Verifying Checksum [2022-10-25T22:34:17.646Z] 5c69ac0246d0: Download complete [2022-10-25T22:34:17.646Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T22:34:17.646Z] 3a2ae6a8a46f: Download complete [2022-10-25T22:34:17.646Z] 33b1e0a273af: Verifying Checksum [2022-10-25T22:34:17.646Z] 33b1e0a273af: Download complete [2022-10-25T22:34:17.904Z] 5d3b04190fa2: Download complete [2022-10-25T22:34:17.904Z] ec43610c2a17: Verifying Checksum [2022-10-25T22:34:17.904Z] 5eb5b503b376: Verifying Checksum [2022-10-25T22:34:17.904Z] 5eb5b503b376: Download complete [2022-10-25T22:34:18.470Z] 2f39f015ded8: Download complete [2022-10-25T22:34:19.036Z] 5eb5b503b376: Pull complete [2022-10-25T22:34:19.294Z] 5c69ac0246d0: Pull complete [2022-10-25T22:34:19.553Z] ec43610c2a17: Pull complete [2022-10-25T22:34:19.811Z] 3a2ae6a8a46f: Pull complete [2022-10-25T22:34:20.069Z] 33b1e0a273af: Pull complete [2022-10-25T22:34:20.069Z] 5d3b04190fa2: Pull complete [2022-10-25T22:34:23.725Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116994 in /w/workspace/gexfoundry_device-rest-go_PR-224 [Pipeline] { [Pipeline] ws [2022-10-25T22:34:23.765Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-10-25T22:34:23.839Z] The recommended git tool is: git [2022-10-25T22:34:24.249Z] 2f39f015ded8: Pull complete [2022-10-25T22:34:24.249Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T22:34:24.249Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:34:24.249Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:34:24.450Z] prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container [2022-10-25T22:34:24.474Z] $ 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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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:latest cat [2022-10-25T22:34:26.279Z] $ docker top 396e05ac379793ac64579478e3add0c4f227f80cb2f8ba6d791ddb343b357170 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:34:26.736Z] ---> job-cost.sh [2022-10-25T22:34:26.737Z] lf-activate-venv: SKIPPING [2022-10-25T22:34:26.737Z] INFO: No Stack... [2022-10-25T22:34:26.995Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T22:34:27.252Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T22:34:27.567Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-224/archives/cost.csv [2022-10-25T22:34:27.567Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T22:34:27.604Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [2022-10-25T22:34:27.609Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] did not exist. Created. [2022-10-25T22:34:27.609Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T22:34:27.992Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T22:34:28.040Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T22:34:28.068Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T22:34:28.138Z] $ docker stop --time=1 396e05ac379793ac64579478e3add0c4f227f80cb2f8ba6d791ddb343b357170 [2022-10-25T22:34:28.641Z] using credential edgex-jenkins-ssh [2022-10-25T22:34:28.663Z] Cloning the remote Git repository [2022-10-25T22:34:28.701Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T22:34:28.769Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-10-25T22:34:29.322Z] $ docker rm -f 396e05ac379793ac64579478e3add0c4f227f80cb2f8ba6d791ddb343b357170 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T22:34:28.890Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T22:34:28.891Z] > git --version # timeout=10 [2022-10-25T22:34:28.914Z] > git --version # 'git version 2.25.1' [2022-10-25T22:34:28.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:34:28.961Z] Verifying host key using known hosts file [2022-10-25T22:34:29.134Z] 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-25T22:34:29.146Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T22:34:30.960Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T22:34:30.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T22:34:32.423Z] Merging remotes/origin/main commit 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 into PR head commit 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [2022-10-25T22:34:31.736Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T22:34:31.771Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T22:34:31.772Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:34:31.776Z] Verifying host key using known hosts file [2022-10-25T22:34:31.782Z] 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-25T22:34:31.807Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/224/head:refs/remotes/origin/PR-224 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-25T22:34:32.438Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T22:34:32.455Z] > git checkout -f 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 # timeout=10 [2022-10-25T22:34:32.524Z] > git remote # timeout=10 [2022-10-25T22:34:32.540Z] > git config --get remote.origin.url # timeout=10 [2022-10-25T22:34:32.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T22:34:32.561Z] Verifying host key using known hosts file [2022-10-25T22:34:32.566Z] 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-25T22:34:32.574Z] > git merge 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 [2022-10-25T22:34:32.595Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-25T22:34:32.621Z] Merge succeeded, producing 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [2022-10-25T22:34:32.621Z] Checking out Revision 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 (PR-224) [2022-10-25T22:34:32.624Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T22:34:32.639Z] > git checkout -f 80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 # timeout=10 [2022-10-25T22:34:36.077Z] Commit message: "build: Latest go-mods, config and Dockerfile fix" [2022-10-25T22:34:36.122Z] > git --version # timeout=10 [2022-10-25T22:34:36.136Z] > git --version # 'git version 2.25.1' [2022-10-25T22:34:36.150Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T22:34:37.150Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T22:34:37.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T22:34:37.150Z] Dload Upload Total Spent Left Speed [2022-10-25T22:34:37.150Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 94 12602 94 11881 0 0 58816 0 --:--:-- --:--:-- --:--:-- 58527 100 12602 100 12602 0 0 61774 0 --:--:-- --:--:-- --:--:-- 61774 [Pipeline] sh [2022-10-25T22:34:37.806Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T22:34:38.146Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T22:34:38.146Z] + sudo tee /etc/docker/daemon.new [2022-10-25T22:34:38.146Z] { [2022-10-25T22:34:38.146Z] "registry-mirrors": [ [2022-10-25T22:34:38.146Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T22:34:38.146Z] ], [2022-10-25T22:34:38.146Z] "bip": "10.250.0.254/24", [2022-10-25T22:34:38.146Z] "hosts": [ [2022-10-25T22:34:38.146Z] "tcp://0.0.0.0:5555", [2022-10-25T22:34:38.146Z] "unix:///var/run/docker.sock" [2022-10-25T22:34:38.146Z] ], [2022-10-25T22:34:38.146Z] "mtu": 1458, [2022-10-25T22:34:38.146Z] "selinux-enabled": true, [2022-10-25T22:34:38.146Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T22:34:38.146Z] } [Pipeline] sh [2022-10-25T22:34:38.484Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T22:34:38.827Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:34:57.114Z] provisioning config files... [2022-10-25T22:34:57.136Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config10120367530738349970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:34:57.508Z] ---> docker-login.sh [2022-10-25T22:34:57.508Z] nexus3.edgexfoundry.org:10001 [2022-10-25T22:34:58.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:34:58.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:34:58.095Z] Configure a credential helper to remove this warning. See [2022-10-25T22:34:58.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:34:58.095Z] [2022-10-25T22:34:58.095Z] Login Succeeded [2022-10-25T22:34:58.095Z] nexus3.edgexfoundry.org:10002 [2022-10-25T22:34:58.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:34:58.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:34:58.365Z] Configure a credential helper to remove this warning. See [2022-10-25T22:34:58.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:34:58.365Z] [2022-10-25T22:34:58.365Z] Login Succeeded [2022-10-25T22:34:58.365Z] nexus3.edgexfoundry.org:10003 [2022-10-25T22:34:58.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:34:58.903Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:34:58.903Z] Configure a credential helper to remove this warning. See [2022-10-25T22:34:58.903Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:34:58.903Z] [2022-10-25T22:34:58.903Z] Login Succeeded [2022-10-25T22:34:58.903Z] nexus3.edgexfoundry.org:10004 [2022-10-25T22:34:58.903Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:34:59.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:34:59.173Z] Configure a credential helper to remove this warning. See [2022-10-25T22:34:59.173Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:34:59.173Z] [2022-10-25T22:34:59.173Z] Login Succeeded [2022-10-25T22:34:59.173Z] docker.io [2022-10-25T22:34:59.439Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T22:34:59.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T22:34:59.706Z] Configure a credential helper to remove this warning. See [2022-10-25T22:34:59.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T22:34:59.706Z] [2022-10-25T22:34:59.706Z] Login Succeeded [2022-10-25T22:34:59.706Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T22:34:59.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T22:35:00.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:35:00.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T22:35:00.091Z] ========================================================= [2022-10-25T22:35:00.092Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T22:35:00.092Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:35:00.582Z] + 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-25T22:35:00.582Z] Sending build context to Docker daemon 128kB [2022-10-25T22:35:01.169Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:35:01.169Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-25T22:35:01.440Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T22:35:01.440Z] 9b18e9b68314: Pulling fs layer [2022-10-25T22:35:01.441Z] d32db5db7311: Pulling fs layer [2022-10-25T22:35:01.441Z] d0c4b47475fc: Pulling fs layer [2022-10-25T22:35:01.441Z] 5831b945b038: Pulling fs layer [2022-10-25T22:35:01.441Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T22:35:01.441Z] e10730c5d714: Pulling fs layer [2022-10-25T22:35:01.441Z] 5dd5c2283517: Pulling fs layer [2022-10-25T22:35:01.441Z] d5ac0230b979: Pulling fs layer [2022-10-25T22:35:01.441Z] 5831b945b038: Waiting [2022-10-25T22:35:01.441Z] 86bbec2aaacd: Waiting [2022-10-25T22:35:01.441Z] e10730c5d714: Waiting [2022-10-25T22:35:01.441Z] 5dd5c2283517: Waiting [2022-10-25T22:35:01.441Z] d5ac0230b979: Waiting [2022-10-25T22:35:01.441Z] d0c4b47475fc: Download complete [2022-10-25T22:35:01.441Z] d32db5db7311: Verifying Checksum [2022-10-25T22:35:01.441Z] d32db5db7311: Download complete [2022-10-25T22:35:01.441Z] 86bbec2aaacd: Download complete [2022-10-25T22:35:01.441Z] e10730c5d714: Verifying Checksum [2022-10-25T22:35:01.441Z] e10730c5d714: Download complete [2022-10-25T22:35:01.441Z] 9b18e9b68314: Verifying Checksum [2022-10-25T22:35:01.441Z] 9b18e9b68314: Download complete [2022-10-25T22:35:02.414Z] 9b18e9b68314: Pull complete [2022-10-25T22:35:02.414Z] d5ac0230b979: Verifying Checksum [2022-10-25T22:35:02.414Z] d5ac0230b979: Download complete [2022-10-25T22:35:03.015Z] d32db5db7311: Pull complete [2022-10-25T22:35:03.285Z] d0c4b47475fc: Pull complete [2022-10-25T22:35:03.551Z] 5dd5c2283517: Verifying Checksum [2022-10-25T22:35:03.551Z] 5dd5c2283517: Download complete [2022-10-25T22:35:04.135Z] 5831b945b038: Verifying Checksum [2022-10-25T22:35:04.135Z] 5831b945b038: Download complete [2022-10-25T22:35:16.447Z] 5831b945b038: Pull complete [2022-10-25T22:35:16.447Z] 86bbec2aaacd: Pull complete [2022-10-25T22:35:16.447Z] e10730c5d714: Pull complete [2022-10-25T22:35:23.102Z] 5dd5c2283517: Pull complete [2022-10-25T22:35:24.532Z] d5ac0230b979: Pull complete [2022-10-25T22:35:24.532Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T22:35:24.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T22:35:24.532Z] ---> 59b3b1a385d4 [2022-10-25T22:35:24.532Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:35:25.945Z] ---> Running in 30a38fd63bef [2022-10-25T22:35:26.213Z] Removing intermediate container 30a38fd63bef [2022-10-25T22:35:26.213Z] ---> e1b8bc61e9ce [2022-10-25T22:35:26.213Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:35:26.213Z] ---> Running in dcfae9fcf0bb [2022-10-25T22:35:26.800Z] Removing intermediate container dcfae9fcf0bb [2022-10-25T22:35:26.800Z] ---> 4c1855a892b8 [2022-10-25T22:35:26.800Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T22:35:26.800Z] ---> Running in 53c854e00050 [2022-10-25T22:35:27.069Z] Removing intermediate container 53c854e00050 [2022-10-25T22:35:27.069Z] ---> cb698680499c [2022-10-25T22:35:27.069Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T22:35:27.069Z] ---> Running in a99b66f884a6 [2022-10-25T22:35:27.348Z] Removing intermediate container a99b66f884a6 [2022-10-25T22:35:27.348Z] ---> 08cde7cfcc25 [2022-10-25T22:35:27.348Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T22:35:27.348Z] ---> Running in ffff02143462 [2022-10-25T22:35:28.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T22:35:28.762Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T22:35:29.719Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T22:35:29.719Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T22:35:29.719Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T22:35:29.719Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T22:35:29.988Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T22:35:29.988Z] OK: 226 MiB in 55 packages [2022-10-25T22:35:30.948Z] Removing intermediate container ffff02143462 [2022-10-25T22:35:30.948Z] ---> e5b1e7d7ca02 [2022-10-25T22:35:30.948Z] Step 8/12 : WORKDIR /device-rest-go [2022-10-25T22:35:30.948Z] ---> Running in fdbe9786dd5b [2022-10-25T22:35:31.215Z] Removing intermediate container fdbe9786dd5b [2022-10-25T22:35:31.215Z] ---> 7136433faae9 [2022-10-25T22:35:31.215Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-25T22:35:31.806Z] ---> 531e43308927 [2022-10-25T22:35:31.806Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:35:31.806Z] ---> Running in be06ede653b0 [2022-10-25T22:36:28.221Z] Removing intermediate container be06ede653b0 [2022-10-25T22:36:28.221Z] ---> 8a4986addc48 [2022-10-25T22:36:28.221Z] Step 11/12 : COPY . . [2022-10-25T22:36:28.221Z] ---> 94ef133527e4 [2022-10-25T22:36:28.221Z] Step 12/12 : RUN $MAKE [2022-10-25T22:36:28.221Z] ---> Running in 13995815b163 [2022-10-25T22:36:28.221Z] noop [2022-10-25T22:36:28.221Z] Removing intermediate container 13995815b163 [2022-10-25T22:36:28.221Z] ---> dbc5919fe004 [2022-10-25T22:36:28.221Z] Successfully built dbc5919fe004 [2022-10-25T22:36:28.221Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:36:28.702Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T22:36:28.702Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:36:28.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-116994 does not seem to be running inside a container [2022-10-25T22:36:29.012Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T22:36:30.162Z] $ docker top 381054d10a6ac6fdd99e7b19785f564d27f7340abdd4c97e185abe507e2841a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:36:31.025Z] + go version [2022-10-25T22:36:31.025Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T22:36:31.058Z] $ docker stop --time=1 381054d10a6ac6fdd99e7b19785f564d27f7340abdd4c97e185abe507e2841a1 [2022-10-25T22:36:32.664Z] $ docker rm -f 381054d10a6ac6fdd99e7b19785f564d27f7340abdd4c97e185abe507e2841a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:36:33.552Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T22:36:33.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:36:33.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-116994 does not seem to be running inside a container [2022-10-25T22:36:33.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-25T22:36:34.978Z] $ docker top 3240fa082e95f1654aed29b6a92e2d40bc380d3e23c8e119dc7883032c0b2ec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:36:35.520Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2022-10-25T22:36:35.906Z] + make test [2022-10-25T22:36:35.906Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T22:36:37.848Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T22:37:59.495Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T22:37:59.495Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-10-25T22:37:59.495Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T22:37:59.495Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T22:38:21.559Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T22:38:21.559Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T22:38:21.559Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T22:38:21.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T22:38:21.629Z] $ docker stop --time=1 3240fa082e95f1654aed29b6a92e2d40bc380d3e23c8e119dc7883032c0b2ec2 [2022-10-25T22:38:23.322Z] $ docker rm -f 3240fa082e95f1654aed29b6a92e2d40bc380d3e23c8e119dc7883032c0b2ec2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T22:38:24.277Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T22:38:24.310Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T22:38:24.672Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T22:38:25.258Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T22:38:25.594Z] + ls -al . [2022-10-25T22:38:25.594Z] total 180 [2022-10-25T22:38:25.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:36 . [2022-10-25T22:38:25.594Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:34 .. [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 22:34 .dockerignore [2022-10-25T22:38:25.594Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 22:34 .git [2022-10-25T22:38:25.594Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:34 .github [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 22:34 .gitignore [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 22:34 .golangci.yml [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 22:34 Attribution.txt [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 22:34 CHANGELOG.md [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 1641 Oct 25 22:34 Dockerfile [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 22:34 GOVERNANCE.md [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 22:34 Jenkinsfile [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 22:34 LICENSE [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 22:34 Makefile [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 22:34 OWNERS.md [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 22:34 README.md [2022-10-25T22:38:25.594Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:32 VERSION [2022-10-25T22:38:25.594Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:34 bin [2022-10-25T22:38:25.595Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 22:34 cmd [2022-10-25T22:38:25.595Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 22:37 coverage.out [2022-10-25T22:38:25.595Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 22:34 driver [2022-10-25T22:38:25.595Z] -rw-rw-r-- 1 jenkins jenkins 3536 Oct 25 22:34 go.mod [2022-10-25T22:38:25.595Z] -rw-rw-r-- 1 jenkins jenkins 44967 Oct 25 22:34 go.sum [2022-10-25T22:38:25.595Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 22:34 snap [2022-10-25T22:38:25.595Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 22:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:38:26.010Z] + 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=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 --label arch=arm64 --label version=0.0.0 . [2022-10-25T22:38:26.010Z] Sending build context to Docker daemon 138.2kB [2022-10-25T22:38:26.276Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T22:38:26.276Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-25T22:38:26.276Z] ---> dbc5919fe004 [2022-10-25T22:38:26.276Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-10-25T22:38:26.276Z] ---> Running in 20238c2b500a [2022-10-25T22:38:26.544Z] Removing intermediate container 20238c2b500a [2022-10-25T22:38:26.544Z] ---> 10f4f88c6b0d [2022-10-25T22:38:26.544Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T22:38:26.544Z] ---> Running in 9b4bf44ba00b [2022-10-25T22:38:26.809Z] Removing intermediate container 9b4bf44ba00b [2022-10-25T22:38:26.809Z] ---> b7d3c78a3a26 [2022-10-25T22:38:26.809Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T22:38:27.076Z] ---> Running in 5cdf57c4aaf8 [2022-10-25T22:38:27.076Z] Removing intermediate container 5cdf57c4aaf8 [2022-10-25T22:38:27.076Z] ---> 1340e99478dd [2022-10-25T22:38:27.076Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T22:38:27.340Z] ---> Running in 417ab97099fd [2022-10-25T22:38:27.609Z] Removing intermediate container 417ab97099fd [2022-10-25T22:38:27.609Z] ---> 5c1773e14a5d [2022-10-25T22:38:27.609Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T22:38:27.609Z] ---> Running in 9584f5b85358 [2022-10-25T22:38:28.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T22:38:28.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T22:38:29.792Z] OK: 226 MiB in 55 packages [2022-10-25T22:38:30.378Z] Removing intermediate container 9584f5b85358 [2022-10-25T22:38:30.378Z] ---> 0c96bc093e10 [2022-10-25T22:38:30.378Z] Step 8/25 : WORKDIR /device-rest-go [2022-10-25T22:38:30.378Z] ---> Running in 96ab54dddbea [2022-10-25T22:38:30.649Z] Removing intermediate container 96ab54dddbea [2022-10-25T22:38:30.649Z] ---> cb0fb82e26f3 [2022-10-25T22:38:30.649Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-25T22:38:31.247Z] ---> 5fefc055b017 [2022-10-25T22:38:31.247Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T22:38:31.247Z] ---> Running in 3c611ec7a719 [2022-10-25T22:38:33.194Z] Removing intermediate container 3c611ec7a719 [2022-10-25T22:38:33.194Z] ---> 2c0cdafc01b9 [2022-10-25T22:38:33.194Z] Step 11/25 : COPY . . [2022-10-25T22:38:33.777Z] ---> b8835d021aa1 [2022-10-25T22:38:33.777Z] Step 12/25 : RUN $MAKE [2022-10-25T22:38:33.777Z] ---> Running in 4ce23e0bb6cb [2022-10-25T22:38:34.737Z] 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-25T22:41:11.841Z] Removing intermediate container 4ce23e0bb6cb [2022-10-25T22:41:11.841Z] ---> 48e58c9bf83e [2022-10-25T22:41:11.841Z] Step 13/25 : FROM alpine:3.16 [2022-10-25T22:41:11.841Z] 3.16: Pulling from library/alpine [2022-10-25T22:41:11.841Z] 9b18e9b68314: Already exists [2022-10-25T22:41:11.841Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T22:41:11.841Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T22:41:11.841Z] ---> a6215f271958 [2022-10-25T22:41:11.841Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T22:41:11.841Z] ---> Running in e20caef9bfb1 [2022-10-25T22:41:11.841Z] Removing intermediate container e20caef9bfb1 [2022-10-25T22:41:11.841Z] ---> c226aeb4ca00 [2022-10-25T22:41:11.841Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T22:41:11.841Z] ---> Running in 9b7a3c71cb41 [2022-10-25T22:41:11.841Z] Removing intermediate container 9b7a3c71cb41 [2022-10-25T22:41:11.841Z] ---> 117a8df0eb48 [2022-10-25T22:41:11.841Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T22:41:11.841Z] ---> Running in 67d5e5c69c40 [2022-10-25T22:41:11.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T22:41:11.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T22:41:11.841Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T22:41:11.841Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T22:41:11.841Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T22:41:11.841Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T22:41:11.841Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T22:41:11.841Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T22:41:11.841Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T22:41:11.841Z] OK: 8 MiB in 20 packages [2022-10-25T22:41:11.841Z] Removing intermediate container 67d5e5c69c40 [2022-10-25T22:41:11.841Z] ---> 5c1b5703f208 [2022-10-25T22:41:11.841Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T22:41:11.841Z] ---> ae731e9c89d2 [2022-10-25T22:41:11.841Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T22:41:11.841Z] ---> 0b75e78b5774 [2022-10-25T22:41:11.841Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T22:41:11.841Z] ---> 165d09adc1e7 [2022-10-25T22:41:11.841Z] Step 20/25 : EXPOSE 59986 [2022-10-25T22:41:11.841Z] ---> Running in 2861cf113087 [2022-10-25T22:41:11.841Z] Removing intermediate container 2861cf113087 [2022-10-25T22:41:11.841Z] ---> 394c87151337 [2022-10-25T22:41:11.841Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-10-25T22:41:11.841Z] ---> Running in 87e311ceea94 [2022-10-25T22:41:11.841Z] Removing intermediate container 87e311ceea94 [2022-10-25T22:41:11.841Z] ---> fcb740dad341 [2022-10-25T22:41:11.841Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T22:41:11.841Z] ---> Running in d19911beb3cd [2022-10-25T22:41:11.841Z] Removing intermediate container d19911beb3cd [2022-10-25T22:41:11.841Z] ---> 081d9255874d [2022-10-25T22:41:11.841Z] Step 23/25 : LABEL arch=arm64 [2022-10-25T22:41:11.841Z] ---> Running in c2685d63fab9 [2022-10-25T22:41:11.841Z] Removing intermediate container c2685d63fab9 [2022-10-25T22:41:11.841Z] ---> 0062d892e40f [2022-10-25T22:41:11.841Z] Step 24/25 : LABEL git_sha=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [2022-10-25T22:41:11.841Z] ---> Running in 38a33a0ac9dc [2022-10-25T22:41:11.841Z] Removing intermediate container 38a33a0ac9dc [2022-10-25T22:41:11.841Z] ---> 4f982145d6d8 [2022-10-25T22:41:11.841Z] Step 25/25 : LABEL version=0.0.0 [2022-10-25T22:41:11.841Z] ---> Running in 3d3cf63485c3 [2022-10-25T22:41:11.841Z] Removing intermediate container 3d3cf63485c3 [2022-10-25T22:41:11.841Z] ---> 5cd5ae2f8fe8 [2022-10-25T22:41:11.841Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T22:41:11.841Z] Successfully built 5cd5ae2f8fe8 [2022-10-25T22:41:11.841Z] 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-25T22:41:12.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T22:41:12.635Z] [2022-10-25T22:41:12.636Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:41:13.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T22:41:13.025Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T22:41:13.025Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T22:41:13.025Z] 04944245beec: Pulling fs layer [2022-10-25T22:41:13.025Z] 699f458cf7ca: Pulling fs layer [2022-10-25T22:41:13.025Z] 765212b225bb: Pulling fs layer [2022-10-25T22:41:13.025Z] f23df028b6ca: Pulling fs layer [2022-10-25T22:41:13.025Z] 765212b225bb: Waiting [2022-10-25T22:41:13.025Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T22:41:13.025Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T22:41:13.025Z] f23df028b6ca: Waiting [2022-10-25T22:41:13.025Z] d65c8cfc05b1: Waiting [2022-10-25T22:41:13.025Z] 2437ff75d9bd: Waiting [2022-10-25T22:41:13.292Z] 04944245beec: Verifying Checksum [2022-10-25T22:41:13.292Z] 04944245beec: Download complete [2022-10-25T22:41:13.292Z] 765212b225bb: Verifying Checksum [2022-10-25T22:41:13.292Z] 765212b225bb: Download complete [2022-10-25T22:41:13.292Z] f23df028b6ca: Verifying Checksum [2022-10-25T22:41:13.292Z] f23df028b6ca: Download complete [2022-10-25T22:41:13.292Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T22:41:13.292Z] d65c8cfc05b1: Download complete [2022-10-25T22:41:13.560Z] 699f458cf7ca: Verifying Checksum [2022-10-25T22:41:13.560Z] 699f458cf7ca: Download complete [2022-10-25T22:41:13.829Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T22:41:13.829Z] 8998bd30e6a1: Download complete [2022-10-25T22:41:16.413Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T22:41:16.413Z] 2437ff75d9bd: Download complete [2022-10-25T22:41:17.826Z] 8998bd30e6a1: Pull complete [2022-10-25T22:41:18.411Z] 04944245beec: Pull complete [2022-10-25T22:41:19.825Z] 699f458cf7ca: Pull complete [2022-10-25T22:41:19.825Z] 765212b225bb: Pull complete [2022-10-25T22:41:20.785Z] f23df028b6ca: Pull complete [2022-10-25T22:41:20.785Z] d65c8cfc05b1: Pull complete [2022-10-25T22:41:35.779Z] 2437ff75d9bd: Pull complete [2022-10-25T22:41:35.779Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T22:41:35.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T22:41:35.779Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:41:36.091Z] prd-ubuntu20.04-docker-arm64-4c-16g-116994 does not seem to be running inside a container [2022-10-25T22:41:36.150Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-25T22:41:38.713Z] $ docker top df681f4274035f7971ffa07db373e094d5018e76280407cfaf3a262f43a1c4eb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:41:39.627Z] ---> job-cost.sh [2022-10-25T22:41:39.627Z] lf-activate-venv: SKIPPING [2022-10-25T22:41:39.627Z] INFO: No Stack... [2022-10-25T22:41:39.893Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T22:41:40.849Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T22:41:41.503Z] + + cat /w/workspace/device-rest-go/1/archives/cost.csvcut [2022-10-25T22:41:41.503Z] -d, -f6 [Pipeline] lock [2022-10-25T22:41:41.581Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [2022-10-25T22:41:41.586Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] did not exist. Created. [2022-10-25T22:41:41.586Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T22:41:41.992Z] /w/workspace/device-rest-go/1@tmp/durable-98c25b93/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T22:41:42.658Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T22:41:42.693Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T22:41:42.729Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T22:41:42.745Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-224-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T22:41:42.826Z] $ docker stop --time=1 df681f4274035f7971ffa07db373e094d5018e76280407cfaf3a262f43a1c4eb [2022-10-25T22:41:44.290Z] $ docker rm -f df681f4274035f7971ffa07db373e094d5018e76280407cfaf3a262f43a1c4eb [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-25T22:41:45.229Z] provisioning config files... [2022-10-25T22:41:45.235Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config7207259115516039875tmp [Pipeline] { [Pipeline] sh [2022-10-25T22:41:45.569Z] + set +x [2022-10-25T22:41:45.569Z] + curl -s https://codecov.io/bash [2022-10-25T22:41:45.569Z] + bash -s -- [2022-10-25T22:41:45.569Z] [2022-10-25T22:41:45.569Z] _____ _ [2022-10-25T22:41:45.569Z] / ____| | | [2022-10-25T22:41:45.569Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T22:41:45.569Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T22:41:45.569Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T22:41:45.569Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T22:41:45.569Z] Bash-1.0.6 [2022-10-25T22:41:45.569Z] [2022-10-25T22:41:45.569Z] [2022-10-25T22:41:45.569Z] ==> git version 2.25.1 found [2022-10-25T22:41:45.569Z] ==> 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-25T22:41:45.569Z] Release-Date: 2020-01-08 [2022-10-25T22:41:45.569Z] 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-25T22:41:45.569Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T22:41:45.569Z] ==> Jenkins CI detected. [2022-10-25T22:41:45.569Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-224 [2022-10-25T22:41:45.569Z] project root: . [2022-10-25T22:41:45.569Z] --> token set from env [2022-10-25T22:41:45.569Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T22:41:45.569Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T22:41:45.569Z] ==> Python coveragepy not found [2022-10-25T22:41:45.569Z] ==> Searching for coverage reports in: [2022-10-25T22:41:45.569Z] + . [2022-10-25T22:41:45.569Z] -> Found 1 reports [2022-10-25T22:41:45.569Z] ==> Detecting git/mercurial file structure [2022-10-25T22:41:45.569Z] ==> Reading reports [2022-10-25T22:41:45.829Z] + ./coverage.out bytes=9355 [2022-10-25T22:41:45.829Z] ==> Appending adjustments [2022-10-25T22:41:45.829Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T22:41:45.829Z] + Found adjustments [2022-10-25T22:41:45.829Z] ==> Gzipping contents [2022-10-25T22:41:45.829Z] 4.0K /tmp/codecov.sf0bww.gz [2022-10-25T22:41:45.829Z] ==> Uploading reports [2022-10-25T22:41:45.829Z] url: https://codecov.io [2022-10-25T22:41:45.829Z] query: branch=PR-224&commit=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-224%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=224&job=&cmd_args= [2022-10-25T22:41:45.829Z] -> Pinging Codecov [2022-10-25T22:41:45.829Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-224&commit=80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-224%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=224&job=&cmd_args= [2022-10-25T22:41:46.089Z] -> Uploading to [2022-10-25T22:41:46.089Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704/192cf435-9823-4026-a69b-4a91b129b679.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T224145Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d1338618c34a5e4bc2c5e34183b60dede8fed4792469902e47a322a502ee745 [2022-10-25T22:41:46.089Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T22:41:46.089Z] Dload Upload Total Spent Left Speed [2022-10-25T22:41:46.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7864 --:--:-- --:--:-- --:--:-- 7828 100 1738 0 0 100 1738 0 7122 --:--:-- --:--:-- --:--:-- 7093 [2022-10-25T22:41:46.348Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/80ab41c0bc1ddfa45ee8faa107d4aa733c0b5704 [Pipeline] } [2022-10-25T22:41:46.375Z] 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-25T22:41:48.136Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-224/archives ] [2022-10-25T22:41:48.137Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-224/archives [2022-10-25T22:41:48.137Z] total 16 [2022-10-25T22:41:48.137Z] drwxr-xr-x 3 root root 4096 Oct 25 22:34 . [2022-10-25T22:41:48.137Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:34 .. [2022-10-25T22:41:48.137Z] drwxr-xr-x 2 root root 4096 Oct 25 22:34 cost [2022-10-25T22:41:48.137Z] -rw-r--r-- 1 root root 86 Oct 25 22:34 cost.csv [2022-10-25T22:41:48.137Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-224/archives [2022-10-25T22:41:48.137Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-224/archives [2022-10-25T22:41:48.137Z] total 16 [2022-10-25T22:41:48.137Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:34 . [2022-10-25T22:41:48.137Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 22:34 .. [2022-10-25T22:41:48.137Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:34 cost [2022-10-25T22:41:48.137Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 25 22:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:41:48.461Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:41:49.348Z] ---> package-listing.sh [2022-10-25T22:41:49.348Z] ++ facter osfamily [2022-10-25T22:41:49.348Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T22:41:49.607Z] + OS_FAMILY=debian [2022-10-25T22:41:49.607Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-224 [2022-10-25T22:41:49.607Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T22:41:49.607Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T22:41:49.607Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T22:41:49.607Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T22:41:49.607Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-224 ']' [2022-10-25T22:41:49.607Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T22:41:49.607Z] + case "${OS_FAMILY}" in [2022-10-25T22:41:49.607Z] + dpkg -l [2022-10-25T22:41:49.607Z] + grep '^ii' [2022-10-25T22:41:49.607Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T22:41:49.607Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T22:41:49.607Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T22:41:49.607Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-224 ']' [2022-10-25T22:41:49.607Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-224/archives/ [2022-10-25T22:41:49.608Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-224/archives/ [Pipeline] echo [2022-10-25T22:41:49.639Z] 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-224/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-25T22:41:49.927Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T22:41:50.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T22:41:50.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T22:41:50.669Z] prd-ubuntu20.04-docker-8c-8g-116993 does not seem to be running inside a container [2022-10-25T22:41:50.688Z] $ 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-224/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-224 -v /w/workspace/gexfoundry_device-rest-go_PR-224:/w/workspace/gexfoundry_device-rest-go_PR-224:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-224@tmp:/w/workspace/gexfoundry_device-rest-go_PR-224@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-25T22:41:50.924Z] $ docker top edb2b4a3b4823692a1c989ceb59c25cf801425324bd186fb517cd42ee1ba3206 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T22:41:51.324Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T22:41:51.633Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T22:41:51.941Z] + ls /var/log/sa-host [2022-10-25T22:41:51.941Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T22:41:52.153Z] provisioning config files... [2022-10-25T22:41:52.162Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-224@tmp/config7707717619394476246tmp [Pipeline] { [Pipeline] echo [2022-10-25T22:41:52.215Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:41:52.525Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T22:41:52.552Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:41:52.948Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T22:41:52.981Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:41:53.294Z] ---> sudo-logs.sh [2022-10-25T22:41:53.294Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T22:41:53.382Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:41:53.694Z] ---> job-cost.sh [2022-10-25T22:41:53.694Z] lf-activate-venv: SKIPPING [2022-10-25T22:41:53.694Z] DEBUG: total: 0.2199999988079071 [2022-10-25T22:41:53.694Z] INFO: Retrieving Stack Cost... [2022-10-25T22:41:54.261Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T22:41:54.520Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T22:41:54.555Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T22:41:54.863Z] ---> logs-deploy.sh [2022-10-25T22:41:54.863Z] lf-activate-venv: SKIPPING [2022-10-25T22:41:54.863Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-224/1 [2022-10-25T22:41:54.863Z] INFO: archiving workspace using pattern(s): [2022-10-25T22:41:55.799Z] Archives upload complete. [2022-10-25T22:41:56.058Z] INFO: archiving logs to Nexus