Pull request #209 updated 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 MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at ffd2286d282b3823fe96213d71db487366ab171f rather than 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b Obtained Jenkinsfile from ffd2286d282b3823fe96213d71db487366ab171f 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-ssh11494116105285926675.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh2589519482490454282.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13583775602092148424.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3897430293306953419.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-209/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-209/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6528895337743457033.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 2ebbc55eab71e191b38dc3bff9bc5b1b552b008d # timeout=10 Commit message: "Merge changes Iad18a535,I8019d0c0" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22584 in /w/workspace/gexfoundry_device-rest-go_PR-209 [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-209 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit ffd2286d282b3823fe96213d71db487366ab171f into PR head commit 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b Checking out Revision 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b (PR-209) > git checkout -f 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b # timeout=10 Commit message: "build(snap): Change name `service` to `app`" > git rev-list --no-walk aaca3c8d71de50cdfd89b040e82e1be438aa04eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-12T06:34:02.320Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-12T06:34:02.385Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-12T06:34:02.399Z] ========================================================= [2022-08-12T06:34:02.399Z] EdgeX Global Pipelines Version Info [2022-08-12T06:34:02.399Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:34:03.141Z] ------------------- [2022-08-12T06:34:03.141Z] stable info: [2022-08-12T06:34:03.141Z] ------------------- [2022-08-12T06:34:03.141Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T06:34:03.141Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T06:34:03.141Z] Message: update stable to v1.0.238 [2022-08-12T06:34:03.714Z] ------------------- [2022-08-12T06:34:03.714Z] experimental info: [2022-08-12T06:34:03.714Z] ------------------- [2022-08-12T06:34:03.714Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-12T06:34:03.714Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-12T06:34:03.714Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-12T06:34:03.994Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-08-12T06:34:04.011Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-08-12T06:34:04.027Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-12T06:34:04.047Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-12T06:34:04.066Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-12T06:34:04.086Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-12T06:34:04.103Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-12T06:34:04.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-12T06:34:04.133Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-12T06:34:04.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-12T06:34:04.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-12T06:34:04.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-08-12T06:34:04.197Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-12T06:34:04.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-12T06:34:04.229Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T06:34:04.247Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-12T06:34:04.266Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T06:34:04.286Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-12T06:34:04.305Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-12T06:34:04.323Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-12T06:34:04.335Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-12T06:34:04.348Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-12T06:34:04.360Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-12T06:34:04.373Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-12T06:34:04.386Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-12T06:34:04.401Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-12T06:34:04.419Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-12T06:34:04.438Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-209 [Pipeline] echo [2022-08-12T06:34:04.458Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-209 [Pipeline] echo [2022-08-12T06:34:04.476Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-209 [Pipeline] echo [2022-08-12T06:34:04.488Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] echo [2022-08-12T06:34:04.501Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93ee19a [Pipeline] echo [2022-08-12T06:34:04.515Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:34:04.567Z] provisioning config files... [2022-08-12T06:34:04.582Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config9048402660103470026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:34:04.894Z] ---> docker-login.sh [2022-08-12T06:34:04.894Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:34:05.157Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:05.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:05.418Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:05.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:05.418Z] [2022-08-12T06:34:05.418Z] Login Succeeded [2022-08-12T06:34:05.418Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:34:05.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:05.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:05.679Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:05.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:05.679Z] [2022-08-12T06:34:05.679Z] Login Succeeded [2022-08-12T06:34:05.679Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:34:05.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:05.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:05.679Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:05.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:05.679Z] [2022-08-12T06:34:05.679Z] Login Succeeded [2022-08-12T06:34:05.679Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:34:05.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:05.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:05.941Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:05.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:05.941Z] [2022-08-12T06:34:05.941Z] Login Succeeded [2022-08-12T06:34:05.941Z] docker.io [2022-08-12T06:34:05.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:06.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:06.203Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:06.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:06.203Z] [2022-08-12T06:34:06.203Z] Login Succeeded [2022-08-12T06:34:06.203Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:34:06.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-12T06:34:06.594Z] + git rev-list -1 --merges 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b~1..93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] echo [2022-08-12T06:34:06.630Z] -----------> git rev-list -1 --merges 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b~1..93ee19a6fa9cb06e6f71add9186dbc3de0c6941b 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [false] [Pipeline] sh [2022-08-12T06:34:06.922Z] + git log --format=format:%s -1 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] echo [2022-08-12T06:34:06.940Z] ========================================================= [2022-08-12T06:34:06.940Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-12T06:34:06.940Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:34:07.270Z] + git log --format=format:%s -1 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] echo [2022-08-12T06:34:07.284Z] [semverPrep] GIT_COMMIT: 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b, Commit Message: build(snap): Change name `service` to `app` [Pipeline] echo [2022-08-12T06:34:07.295Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-12T06:34:07.705Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-12T06:34:07.705Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-12T06:34:07.705Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-12T06:34:07.705Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-12T06:34:07.705Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-12T06:34:07.705Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-12T06:34:07.705Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:34:08.074Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:34:08.074Z] [2022-08-12T06:34:08.074Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:34:08.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:34:08.395Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-12T06:34:08.395Z] b85a868b505f: Pulling fs layer [2022-08-12T06:34:08.395Z] e2be974225ed: Pulling fs layer [2022-08-12T06:34:08.395Z] 339a4e72a1f5: Pulling fs layer [2022-08-12T06:34:08.395Z] 988bab9f4d93: Pulling fs layer [2022-08-12T06:34:08.395Z] 1469e6f7b9e6: Pulling fs layer [2022-08-12T06:34:08.395Z] eaf3925da568: Pulling fs layer [2022-08-12T06:34:08.395Z] bab4dde63d76: Pulling fs layer [2022-08-12T06:34:08.395Z] bde34c3a00c8: Pulling fs layer [2022-08-12T06:34:08.395Z] b352a97aabf1: Pulling fs layer [2022-08-12T06:34:08.395Z] 4872d77fe225: Pulling fs layer [2022-08-12T06:34:08.395Z] 5851b861e8e6: Pulling fs layer [2022-08-12T06:34:08.395Z] 1469e6f7b9e6: Waiting [2022-08-12T06:34:08.395Z] eaf3925da568: Waiting [2022-08-12T06:34:08.395Z] bab4dde63d76: Waiting [2022-08-12T06:34:08.395Z] 4872d77fe225: Waiting [2022-08-12T06:34:08.395Z] 5851b861e8e6: Waiting [2022-08-12T06:34:08.395Z] bde34c3a00c8: Waiting [2022-08-12T06:34:08.396Z] 988bab9f4d93: Waiting [2022-08-12T06:34:08.396Z] b352a97aabf1: Waiting [2022-08-12T06:34:08.396Z] e2be974225ed: Download complete [2022-08-12T06:34:08.396Z] 988bab9f4d93: Verifying Checksum [2022-08-12T06:34:08.396Z] 988bab9f4d93: Download complete [2022-08-12T06:34:08.657Z] 1469e6f7b9e6: Verifying Checksum [2022-08-12T06:34:08.657Z] 1469e6f7b9e6: Download complete [2022-08-12T06:34:08.657Z] 339a4e72a1f5: Verifying Checksum [2022-08-12T06:34:08.657Z] 339a4e72a1f5: Download complete [2022-08-12T06:34:08.657Z] eaf3925da568: Verifying Checksum [2022-08-12T06:34:08.657Z] eaf3925da568: Download complete [2022-08-12T06:34:08.657Z] bde34c3a00c8: Download complete [2022-08-12T06:34:08.657Z] b352a97aabf1: Download complete [2022-08-12T06:34:08.657Z] 4872d77fe225: Verifying Checksum [2022-08-12T06:34:08.657Z] 4872d77fe225: Download complete [2022-08-12T06:34:08.657Z] 5851b861e8e6: Download complete [2022-08-12T06:34:08.657Z] b85a868b505f: Verifying Checksum [2022-08-12T06:34:08.657Z] b85a868b505f: Download complete [2022-08-12T06:34:08.916Z] bab4dde63d76: Verifying Checksum [2022-08-12T06:34:08.917Z] bab4dde63d76: Download complete [2022-08-12T06:34:09.856Z] b85a868b505f: Pull complete [2022-08-12T06:34:09.856Z] e2be974225ed: Pull complete [2022-08-12T06:34:10.426Z] 339a4e72a1f5: Pull complete [2022-08-12T06:34:10.426Z] 988bab9f4d93: Pull complete [2022-08-12T06:34:10.686Z] 1469e6f7b9e6: Pull complete [2022-08-12T06:34:10.947Z] eaf3925da568: Pull complete [2022-08-12T06:34:12.857Z] bab4dde63d76: Pull complete [2022-08-12T06:34:12.857Z] bde34c3a00c8: Pull complete [2022-08-12T06:34:12.857Z] b352a97aabf1: Pull complete [2022-08-12T06:34:12.857Z] 4872d77fe225: Pull complete [2022-08-12T06:34:12.857Z] 5851b861e8e6: Pull complete [2022-08-12T06:34:12.857Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-12T06:34:12.857Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-12T06:34:12.857Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:34:12.952Z] prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container [2022-08-12T06:34:12.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@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-devops/py-git-semver:0.1.4 cat [2022-08-12T06:34:15.616Z] $ docker top fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 -eo pid,comm [2022-08-12T06:34:15.674Z] 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-08-12T06:34:15.674Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-12T06:34:15.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T06:34:15.708Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T06:34:15.829Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T06:34:15.836Z] $ docker exec fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 ssh-agent [2022-08-12T06:34:15.957Z] SSH_AUTH_SOCK=/tmp/ssh-SacRcO8xsCsS/agent.32 [2022-08-12T06:34:15.957Z] SSH_AGENT_PID=38 [2022-08-12T06:34:15.963Z] Running ssh-add (command line suppressed) [2022-08-12T06:34:16.100Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_4140811653259296793.key (/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_4140811653259296793.key) [2022-08-12T06:34:16.111Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T06:34:16.402Z] + git tag --points-at HEAD [Pipeline] } [2022-08-12T06:34:16.419Z] $ docker exec --env ******** --env ******** fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 ssh-agent -k [2022-08-12T06:34:16.520Z] unset SSH_AUTH_SOCK; [2022-08-12T06:34:16.521Z] unset SSH_AGENT_PID; [2022-08-12T06:34:16.521Z] echo Agent pid 38 killed; [2022-08-12T06:34:16.526Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-12T06:34:16.553Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-12T06:34:16.553Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-12T06:34:16.659Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-12T06:34:16.666Z] $ docker exec fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 ssh-agent [2022-08-12T06:34:16.784Z] SSH_AUTH_SOCK=/tmp/ssh-MRMpdFFLSUTZ/agent.73 [2022-08-12T06:34:16.784Z] SSH_AGENT_PID=79 [2022-08-12T06:34:16.790Z] Running ssh-add (command line suppressed) [2022-08-12T06:34:16.916Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_6692382844779605829.key (/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/private_key_6692382844779605829.key) [2022-08-12T06:34:16.927Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-12T06:34:17.219Z] + git semver init [2022-08-12T06:34:17.479Z] 2022-08-12 06:34:17,420 [run_init] DEBUG init version:0.0.0 force:False [2022-08-12T06:34:17.479Z] 2022-08-12 06:34:17,420 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver [2022-08-12T06:34:17.479Z] 2022-08-12 06:34:17,421 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-209/.semver [2022-08-12T06:34:17.479Z] 2022-08-12 06:34:17,421 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-209/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209, universal_newlines=False, shell=None, istream=None) [2022-08-12T06:34:18.419Z] 2022-08-12 06:34:18,355 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-209/.git/info/exclude [2022-08-12T06:34:18.419Z] 2022-08-12 06:34:18,355 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 with force:False [2022-08-12T06:34:18.419Z] 2022-08-12 06:34:18,355 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 [2022-08-12T06:34:18.419Z] 2022-08-12 06:34:18,359 [execute] INFO git cat-file --batch-check [2022-08-12T06:34:18.419Z] 2022-08-12 06:34:18,360 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T06:34:18.419Z] 2022-08-12 06:34:18,366 [execute] INFO git cat-file --batch [2022-08-12T06:34:18.419Z] 2022-08-12 06:34:18,367 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-209/.semver, universal_newlines=False, shell=None, istream=) [2022-08-12T06:34:18.419Z] 2022-08-12 06:34:18,373 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-209/.semver/PR-209 [2022-08-12T06:34:18.419Z] 0.0.0 [Pipeline] } [2022-08-12T06:34:18.433Z] $ docker exec --env ******** --env ******** fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 ssh-agent -k [2022-08-12T06:34:18.541Z] unset SSH_AUTH_SOCK; [2022-08-12T06:34:18.541Z] unset SSH_AGENT_PID; [2022-08-12T06:34:18.541Z] echo Agent pid 79 killed; [2022-08-12T06:34:18.549Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-12T06:34:18.853Z] + git semver [Pipeline] } [2022-08-12T06:34:19.132Z] $ docker stop --time=1 fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 [2022-08-12T06:34:20.604Z] $ docker rm -f fcc5f55fa1f316f6609ced39b7defd68d475c9f44db6aed0a713e04a36241fd7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:34:20.951Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-12T06:34:21.178Z] Stashed 1 file(s) [Pipeline] echo [2022-08-12T06:34:21.182Z] [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-08-12T06:34:21.339Z] provisioning config files... [2022-08-12T06:34:21.350Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config8062258644426908728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:34:21.646Z] ---> docker-login.sh [2022-08-12T06:34:21.647Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:34:21.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:21.647Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:21.647Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:21.647Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:21.647Z] [2022-08-12T06:34:21.647Z] Login Succeeded [2022-08-12T06:34:21.647Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:34:21.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:21.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:21.911Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:21.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:21.911Z] [2022-08-12T06:34:21.911Z] Login Succeeded [2022-08-12T06:34:21.911Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:34:21.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:21.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:21.911Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:21.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:21.911Z] [2022-08-12T06:34:21.911Z] Login Succeeded [2022-08-12T06:34:21.911Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:34:21.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:22.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:22.170Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:22.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:22.170Z] [2022-08-12T06:34:22.170Z] Login Succeeded [2022-08-12T06:34:22.170Z] docker.io [2022-08-12T06:34:22.170Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:34:22.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:34:22.431Z] Configure a credential helper to remove this warning. See [2022-08-12T06:34:22.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:34:22.431Z] [2022-08-12T06:34:22.431Z] Login Succeeded [2022-08-12T06:34:22.431Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:34:22.440Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T06:34:22.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:34:22.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:34:22.537Z] ========================================================= [2022-08-12T06:34:22.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-12T06:34:22.537Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:34:22.856Z] + 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-08-12T06:34:22.856Z] Sending build context to Docker daemon 10.71MB [2022-08-12T06:34:22.856Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:34:22.856Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T06:34:22.856Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-12T06:34:22.856Z] 2408cc74d12b: Pulling fs layer [2022-08-12T06:34:22.856Z] ea60b727a1ce: Pulling fs layer [2022-08-12T06:34:22.856Z] 30c4a7721957: Pulling fs layer [2022-08-12T06:34:22.856Z] 370296b7ddb6: Pulling fs layer [2022-08-12T06:34:22.856Z] 7c6cee850709: Pulling fs layer [2022-08-12T06:34:22.856Z] 39a5fcdaea64: Pulling fs layer [2022-08-12T06:34:22.856Z] d94ebbe4e438: Pulling fs layer [2022-08-12T06:34:22.856Z] bcfd1f05c69d: Pulling fs layer [2022-08-12T06:34:22.856Z] 59ccb84bbe0f: Pulling fs layer [2022-08-12T06:34:22.856Z] 370296b7ddb6: Waiting [2022-08-12T06:34:22.856Z] 7c6cee850709: Waiting [2022-08-12T06:34:22.856Z] 39a5fcdaea64: Waiting [2022-08-12T06:34:22.856Z] d94ebbe4e438: Waiting [2022-08-12T06:34:22.856Z] 59ccb84bbe0f: Waiting [2022-08-12T06:34:23.121Z] 30c4a7721957: Download complete [2022-08-12T06:34:23.121Z] ea60b727a1ce: Download complete [2022-08-12T06:34:23.121Z] 7c6cee850709: Verifying Checksum [2022-08-12T06:34:23.121Z] 7c6cee850709: Download complete [2022-08-12T06:34:23.121Z] 39a5fcdaea64: Download complete [2022-08-12T06:34:23.121Z] 2408cc74d12b: Verifying Checksum [2022-08-12T06:34:23.121Z] d94ebbe4e438: Verifying Checksum [2022-08-12T06:34:23.121Z] d94ebbe4e438: Download complete [2022-08-12T06:34:23.121Z] 2408cc74d12b: Pull complete [2022-08-12T06:34:23.390Z] ea60b727a1ce: Pull complete [2022-08-12T06:34:23.390Z] 30c4a7721957: Pull complete [2022-08-12T06:34:23.390Z] 59ccb84bbe0f: Verifying Checksum [2022-08-12T06:34:23.390Z] 59ccb84bbe0f: Download complete [2022-08-12T06:34:23.653Z] bcfd1f05c69d: Verifying Checksum [2022-08-12T06:34:23.653Z] bcfd1f05c69d: Download complete [2022-08-12T06:34:23.912Z] 370296b7ddb6: Verifying Checksum [2022-08-12T06:34:23.912Z] 370296b7ddb6: Download complete [2022-08-12T06:34:28.112Z] 370296b7ddb6: Pull complete [2022-08-12T06:34:28.112Z] 7c6cee850709: Pull complete [2022-08-12T06:34:28.112Z] 39a5fcdaea64: Pull complete [2022-08-12T06:34:28.112Z] d94ebbe4e438: Pull complete [2022-08-12T06:34:29.490Z] bcfd1f05c69d: Pull complete [2022-08-12T06:34:30.428Z] 59ccb84bbe0f: Pull complete [2022-08-12T06:34:30.428Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-12T06:34:30.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-12T06:34:30.428Z] ---> a4fb48ad2a94 [2022-08-12T06:34:30.428Z] Step 3/12 : ARG MAKE='make build' [2022-08-12T06:34:34.631Z] ---> Running in ac11a730fb53 [2022-08-12T06:34:34.631Z] Removing intermediate container ac11a730fb53 [2022-08-12T06:34:34.631Z] ---> 24eeae323311 [2022-08-12T06:34:34.631Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:34:34.631Z] ---> Running in d0ef73ebd7f6 [2022-08-12T06:34:34.631Z] Removing intermediate container d0ef73ebd7f6 [2022-08-12T06:34:34.631Z] ---> a38662e15360 [2022-08-12T06:34:34.631Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:34:34.631Z] ---> Running in 4cb760e06fc7 [2022-08-12T06:34:34.631Z] Removing intermediate container 4cb760e06fc7 [2022-08-12T06:34:34.631Z] ---> 67d81b0e311b [2022-08-12T06:34:34.631Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:34:34.631Z] ---> Running in 801acf7656af [2022-08-12T06:34:35.199Z] Removing intermediate container 801acf7656af [2022-08-12T06:34:35.199Z] ---> 4f529dc5b0d9 [2022-08-12T06:34:35.199Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:34:35.199Z] ---> Running in 745b6731bc90 [2022-08-12T06:34:35.459Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:34:36.294Z] Still waiting to schedule task [2022-08-12T06:34:36.295Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22583’ [2022-08-12T06:34:36.400Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:34:36.400Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T06:34:36.664Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T06:34:36.664Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T06:34:36.925Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T06:34:36.925Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T06:34:36.925Z] OK: 216 MiB in 55 packages [2022-08-12T06:34:37.497Z] Removing intermediate container 745b6731bc90 [2022-08-12T06:34:37.497Z] ---> 4048e828b385 [2022-08-12T06:34:37.497Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-12T06:34:37.497Z] ---> Running in c5e61ff76bed [2022-08-12T06:34:37.497Z] Removing intermediate container c5e61ff76bed [2022-08-12T06:34:37.497Z] ---> dbec83662cb4 [2022-08-12T06:34:37.497Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-12T06:34:37.497Z] ---> 28d70b52feac [2022-08-12T06:34:37.497Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:34:37.758Z] ---> Running in 91877033eaf1 [2022-08-12T06:34:55.885Z] Removing intermediate container 91877033eaf1 [2022-08-12T06:34:55.885Z] ---> 8bc4ff108e5e [2022-08-12T06:34:55.885Z] Step 11/12 : COPY . . [2022-08-12T06:34:55.885Z] ---> e5d089e79436 [2022-08-12T06:34:55.885Z] Step 12/12 : RUN $MAKE [2022-08-12T06:34:55.885Z] ---> Running in 108da057e180 [2022-08-12T06:34:55.885Z] noop [2022-08-12T06:34:56.454Z] Removing intermediate container 108da057e180 [2022-08-12T06:34:56.454Z] ---> 2bedfb43f944 [2022-08-12T06:34:56.454Z] Successfully built 2bedfb43f944 [2022-08-12T06:34:56.454Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:34:56.775Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T06:34:56.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:34:56.858Z] prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container [2022-08-12T06:34:56.893Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T06:34:57.263Z] $ docker top 0dba5c50cd3c1adadfc50debefa3dfddc48fd1046d885da4ce44ff152d3e0a1c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:34:57.641Z] + go version [2022-08-12T06:34:57.641Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-12T06:34:57.659Z] $ docker stop --time=1 0dba5c50cd3c1adadfc50debefa3dfddc48fd1046d885da4ce44ff152d3e0a1c [2022-08-12T06:34:58.929Z] $ docker rm -f 0dba5c50cd3c1adadfc50debefa3dfddc48fd1046d885da4ce44ff152d3e0a1c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:34:59.322Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-12T06:34:59.322Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:34:59.403Z] prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container [2022-08-12T06:34:59.439Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-rest-go_PR-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-12T06:34:59.787Z] $ docker top 71048b38a75472f3a38c43c8e0ef97d3dbf1539d67bf29ed155881b206c10728 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:35:00.142Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-209 [Pipeline] fileExists [Pipeline] sh [2022-08-12T06:35:00.442Z] + make test [2022-08-12T06:35:00.442Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T06:35:00.701Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-12T06:35:10.705Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-12T06:35:10.705Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements [2022-08-12T06:35:17.275Z] 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-08-12T06:35:17.275Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T06:35:20.563Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T06:35:20.563Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T06:35:20.563Z] ./bin/test-attribution-txt.sh [2022-08-12T06:35:20.563Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T06:35:20.563Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T06:35:20.563Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T06:35:20.578Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T06:35:20.594Z] $ docker stop --time=1 71048b38a75472f3a38c43c8e0ef97d3dbf1539d67bf29ed155881b206c10728 [2022-08-12T06:35:23.000Z] $ docker rm -f 71048b38a75472f3a38c43c8e0ef97d3dbf1539d67bf29ed155881b206c10728 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:35:23.448Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T06:35:23.490Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-12T06:35:24.047Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T06:35:24.339Z] + ls -al . [2022-08-12T06:35:24.339Z] total 172 [2022-08-12T06:35:24.339Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 12 06:35 . [2022-08-12T06:35:24.339Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:33 .. [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 12 06:33 .dockerignore [2022-08-12T06:35:24.339Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:35 .git [2022-08-12T06:35:24.339Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:33 .github [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 06:33 .gitignore [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:33 .golangci.yml [2022-08-12T06:35:24.339Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:34 .semver [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 12 06:33 Attribution.txt [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 12 06:33 CHANGELOG.md [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 12 06:33 Dockerfile [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:33 GOVERNANCE.md [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 12 06:33 Jenkinsfile [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:33 LICENSE [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 12 06:33 Makefile [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 06:33 OWNERS.md [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 12 06:33 README.md [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:34 VERSION [2022-08-12T06:35:24.339Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:33 bin [2022-08-12T06:35:24.339Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:33 cmd [2022-08-12T06:35:24.339Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 12 06:35 coverage.out [2022-08-12T06:35:24.339Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:33 driver [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 12 06:33 go.mod [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 06:33 go.sum [2022-08-12T06:35:24.339Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:33 snap [2022-08-12T06:35:24.339Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 12 06:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:35:24.653Z] + 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=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b --label arch=amd64 --label version=0.0.0 . [2022-08-12T06:35:24.653Z] Sending build context to Docker daemon 10.72MB [2022-08-12T06:35:24.653Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:35:24.653Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-12T06:35:24.653Z] ---> 2bedfb43f944 [2022-08-12T06:35:24.653Z] Step 3/25 : ARG MAKE='make build' [2022-08-12T06:35:24.912Z] ---> Running in 7e287dcd1d76 [2022-08-12T06:35:24.912Z] Removing intermediate container 7e287dcd1d76 [2022-08-12T06:35:24.912Z] ---> 01a25fbecdbb [2022-08-12T06:35:24.912Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:35:24.912Z] ---> Running in bc60a12b7872 [2022-08-12T06:35:25.172Z] Removing intermediate container bc60a12b7872 [2022-08-12T06:35:25.172Z] ---> 7c8a7b289809 [2022-08-12T06:35:25.172Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:35:25.172Z] ---> Running in d3248c9f1502 [2022-08-12T06:35:25.172Z] Removing intermediate container d3248c9f1502 [2022-08-12T06:35:25.172Z] ---> 928412c3324d [2022-08-12T06:35:25.172Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:35:25.172Z] ---> Running in ff615d53ef5c [2022-08-12T06:35:25.743Z] Removing intermediate container ff615d53ef5c [2022-08-12T06:35:25.743Z] ---> 223198bfd643 [2022-08-12T06:35:25.743Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:35:25.743Z] ---> Running in 6d7899023e4e [2022-08-12T06:35:26.002Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:35:26.942Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:35:27.202Z] OK: 216 MiB in 55 packages [2022-08-12T06:35:27.463Z] Removing intermediate container 6d7899023e4e [2022-08-12T06:35:27.463Z] ---> c34ad0585817 [2022-08-12T06:35:27.463Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-12T06:35:27.463Z] ---> Running in 57566b56a2bc [2022-08-12T06:35:27.463Z] Removing intermediate container 57566b56a2bc [2022-08-12T06:35:27.463Z] ---> 96ebd8f30271 [2022-08-12T06:35:27.463Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-12T06:35:27.722Z] ---> d23586ce63ea [2022-08-12T06:35:27.722Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:35:27.723Z] ---> Running in 39f32488c14d [2022-08-12T06:35:28.300Z] Removing intermediate container 39f32488c14d [2022-08-12T06:35:28.300Z] ---> 46af2a2e9dea [2022-08-12T06:35:28.300Z] Step 11/25 : COPY . . [2022-08-12T06:35:28.870Z] ---> e15c184acff6 [2022-08-12T06:35:28.870Z] Step 12/25 : RUN $MAKE [2022-08-12T06:35:28.870Z] ---> Running in b397643dc8fd [2022-08-12T06:35:29.129Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-12T06:35:51.074Z] Removing intermediate container b397643dc8fd [2022-08-12T06:35:51.074Z] ---> 42a493e64512 [2022-08-12T06:35:51.074Z] Step 13/25 : FROM alpine:3.16 [2022-08-12T06:35:51.074Z] 3.16: Pulling from library/alpine [2022-08-12T06:35:51.074Z] 213ec9aee27d: Pulling fs layer [2022-08-12T06:35:51.074Z] 213ec9aee27d: Verifying Checksum [2022-08-12T06:35:51.074Z] 213ec9aee27d: Download complete [2022-08-12T06:35:51.074Z] 213ec9aee27d: Pull complete [2022-08-12T06:35:51.074Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T06:35:51.074Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T06:35:51.074Z] ---> 9c6f07244728 [2022-08-12T06:35:51.074Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T06:35:51.074Z] ---> Running in f98a3c784bd5 [2022-08-12T06:35:51.074Z] Removing intermediate container f98a3c784bd5 [2022-08-12T06:35:51.074Z] ---> b39bb98b730a [2022-08-12T06:35:51.074Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-12T06:35:51.074Z] ---> Running in 18981cdb9a34 [2022-08-12T06:35:51.074Z] Removing intermediate container 18981cdb9a34 [2022-08-12T06:35:51.074Z] ---> 353dd8bc0ba1 [2022-08-12T06:35:51.074Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T06:35:51.074Z] ---> Running in c4d0bd41371e [2022-08-12T06:35:51.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-12T06:35:51.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-12T06:35:51.074Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T06:35:51.074Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T06:35:51.074Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T06:35:51.074Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T06:35:51.074Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T06:35:51.074Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T06:35:51.074Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T06:35:51.074Z] OK: 8 MiB in 20 packages [2022-08-12T06:35:51.335Z] Removing intermediate container c4d0bd41371e [2022-08-12T06:35:51.335Z] ---> fa7ac38d6de7 [2022-08-12T06:35:51.335Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-12T06:35:52.291Z] ---> 51e3befbe0a6 [2022-08-12T06:35:52.291Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-12T06:35:52.291Z] ---> 98cb34066f02 [2022-08-12T06:35:52.291Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-12T06:35:52.291Z] ---> 1f5128e3e196 [2022-08-12T06:35:52.291Z] Step 20/25 : EXPOSE 59986 [2022-08-12T06:35:52.291Z] ---> Running in 2c001579d921 [2022-08-12T06:35:52.552Z] Removing intermediate container 2c001579d921 [2022-08-12T06:35:52.552Z] ---> c394be04c9e2 [2022-08-12T06:35:52.552Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-12T06:35:52.552Z] ---> Running in 014c9414213d [2022-08-12T06:35:52.552Z] Removing intermediate container 014c9414213d [2022-08-12T06:35:52.552Z] ---> c7a1dcbfb63f [2022-08-12T06:35:52.552Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-12T06:35:52.552Z] ---> Running in a4726cb7a64a [2022-08-12T06:35:52.552Z] Removing intermediate container a4726cb7a64a [2022-08-12T06:35:52.552Z] ---> 388844633db7 [2022-08-12T06:35:52.552Z] Step 23/25 : LABEL arch=amd64 [2022-08-12T06:35:52.552Z] ---> Running in c6750957e9ae [2022-08-12T06:35:52.813Z] Removing intermediate container c6750957e9ae [2022-08-12T06:35:52.813Z] ---> 0bd0df913fb4 [2022-08-12T06:35:52.813Z] Step 24/25 : LABEL git_sha=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [2022-08-12T06:35:52.813Z] ---> Running in 58424eaffe37 [2022-08-12T06:35:52.813Z] Removing intermediate container 58424eaffe37 [2022-08-12T06:35:52.813Z] ---> 6ceba500dbff [2022-08-12T06:35:52.813Z] Step 25/25 : LABEL version=0.0.0 [2022-08-12T06:35:52.813Z] ---> Running in c03e7521ee06 [2022-08-12T06:35:53.073Z] Removing intermediate container c03e7521ee06 [2022-08-12T06:35:53.073Z] ---> dd955c17ff22 [2022-08-12T06:35:53.073Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T06:35:53.073Z] Successfully built dd955c17ff22 [2022-08-12T06:35:53.073Z] 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-08-12T06:35:53.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:35:53.506Z] [2022-08-12T06:35:53.506Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:35:53.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:35:53.820Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-12T06:35:53.820Z] 5eb5b503b376: Pulling fs layer [2022-08-12T06:35:53.820Z] 5c69ac0246d0: Pulling fs layer [2022-08-12T06:35:53.820Z] ec43610c2a17: Pulling fs layer [2022-08-12T06:35:53.820Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-12T06:35:53.820Z] 33b1e0a273af: Pulling fs layer [2022-08-12T06:35:53.820Z] 3a2ae6a8a46f: Waiting [2022-08-12T06:35:53.820Z] 5d3b04190fa2: Pulling fs layer [2022-08-12T06:35:53.820Z] 2f39f015ded8: Pulling fs layer [2022-08-12T06:35:53.820Z] 5d3b04190fa2: Waiting [2022-08-12T06:35:53.820Z] 2f39f015ded8: Waiting [2022-08-12T06:35:53.820Z] 5c69ac0246d0: Verifying Checksum [2022-08-12T06:35:53.820Z] 5c69ac0246d0: Download complete [2022-08-12T06:35:53.820Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-12T06:35:53.820Z] 3a2ae6a8a46f: Download complete [2022-08-12T06:35:53.820Z] 33b1e0a273af: Verifying Checksum [2022-08-12T06:35:53.820Z] 33b1e0a273af: Download complete [2022-08-12T06:35:53.820Z] 5d3b04190fa2: Verifying Checksum [2022-08-12T06:35:53.820Z] 5d3b04190fa2: Download complete [2022-08-12T06:35:54.080Z] ec43610c2a17: Verifying Checksum [2022-08-12T06:35:54.080Z] ec43610c2a17: Download complete [2022-08-12T06:35:54.080Z] 5eb5b503b376: Verifying Checksum [2022-08-12T06:35:54.080Z] 5eb5b503b376: Download complete [2022-08-12T06:35:54.649Z] 2f39f015ded8: Download complete [2022-08-12T06:35:55.217Z] 5eb5b503b376: Pull complete [2022-08-12T06:35:55.477Z] 5c69ac0246d0: Pull complete [2022-08-12T06:35:55.736Z] ec43610c2a17: Pull complete [2022-08-12T06:35:55.736Z] 3a2ae6a8a46f: Pull complete [2022-08-12T06:35:55.996Z] 33b1e0a273af: Pull complete [2022-08-12T06:35:56.254Z] 5d3b04190fa2: Pull complete [2022-08-12T06:36:00.448Z] 2f39f015ded8: Pull complete [2022-08-12T06:36:00.448Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-12T06:36:00.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:36:00.448Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:36:00.544Z] prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container [2022-08-12T06:36:00.585Z] $ 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-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T06:36:03.180Z] $ docker top 3bfefb5a1a07f6fac1472960aaed785f4a25eea15b3654cd10c7e477d843ad97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:36:03.561Z] ---> job-cost.sh [2022-08-12T06:36:03.561Z] lf-activate-venv: SKIPPING [2022-08-12T06:36:03.561Z] INFO: No Stack... [2022-08-12T06:36:04.134Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T06:36:04.395Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T06:36:04.689Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-209/archives/cost.csv [2022-08-12T06:36:04.689Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T06:36:04.704Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [2022-08-12T06:36:04.712Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] did not exist. Created. [2022-08-12T06:36:04.712Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T06:36:05.023Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-12T06:36:05.048Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T06:36:05.059Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T06:36:05.081Z] $ docker stop --time=1 3bfefb5a1a07f6fac1472960aaed785f4a25eea15b3654cd10c7e477d843ad97 [2022-08-12T06:36:06.247Z] $ docker rm -f 3bfefb5a1a07f6fac1472960aaed785f4a25eea15b3654cd10c7e477d843ad97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-12T06:37:10.530Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22586 in /w/workspace/gexfoundry_device-rest-go_PR-209 [Pipeline] { [Pipeline] ws [2022-08-12T06:37:10.545Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2022-08-12T06:37:10.590Z] The recommended git tool is: git [2022-08-12T06:37:17.630Z] using credential edgex-jenkins-ssh [2022-08-12T06:37:17.648Z] Cloning the remote Git repository [2022-08-12T06:37:17.729Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-08-12T06:37:17.819Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2022-08-12T06:37:17.950Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-12T06:37:17.956Z] > git --version # timeout=10 [2022-08-12T06:37:17.983Z] > git --version # 'git version 2.25.1' [2022-08-12T06:37:17.985Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:37:18.073Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T06:37:20.564Z] Merging remotes/origin/main commit ffd2286d282b3823fe96213d71db487366ab171f into PR head commit 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [2022-08-12T06:37:20.788Z] Merge succeeded, producing 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [2022-08-12T06:37:20.788Z] Checking out Revision 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b (PR-209) [2022-08-12T06:37:19.928Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-12T06:37:19.946Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-12T06:37:19.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-12T06:37:20.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-12T06:37:20.008Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:37:20.022Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-12T06:37:20.586Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T06:37:20.605Z] > git checkout -f 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b # timeout=10 [2022-08-12T06:37:20.692Z] > git remote # timeout=10 [2022-08-12T06:37:20.711Z] > git config --get remote.origin.url # timeout=10 [2022-08-12T06:37:20.725Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-12T06:37:20.737Z] > git merge ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 [2022-08-12T06:37:20.762Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-12T06:37:20.796Z] > git config core.sparsecheckout # timeout=10 [2022-08-12T06:37:20.810Z] > git checkout -f 93ee19a6fa9cb06e6f71add9186dbc3de0c6941b # timeout=10 [2022-08-12T06:37:24.997Z] Commit message: "build(snap): Change name `service` to `app`" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:37:25.845Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-12T06:37:25.845Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T06:37:25.845Z] Dload Upload Total Spent Left Speed [2022-08-12T06:37:25.845Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 88719 0 --:--:-- --:--:-- --:--:-- 89362 [Pipeline] sh [2022-08-12T06:37:26.630Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-12T06:37:26.976Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-12T06:37:26.976Z] + sudo tee /etc/docker/daemon.new [2022-08-12T06:37:26.976Z] { [2022-08-12T06:37:26.976Z] "registry-mirrors": [ [2022-08-12T06:37:26.976Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-12T06:37:26.976Z] ], [2022-08-12T06:37:26.976Z] "bip": "10.250.0.254/24", [2022-08-12T06:37:26.976Z] "hosts": [ [2022-08-12T06:37:26.976Z] "tcp://0.0.0.0:5555", [2022-08-12T06:37:26.976Z] "unix:///var/run/docker.sock" [2022-08-12T06:37:26.976Z] ], [2022-08-12T06:37:26.976Z] "mtu": 1458, [2022-08-12T06:37:26.976Z] "selinux-enabled": true, [2022-08-12T06:37:26.976Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-12T06:37:26.976Z] } [Pipeline] sh [2022-08-12T06:37:27.330Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-12T06:37:27.675Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:37:46.043Z] provisioning config files... [2022-08-12T06:37:46.068Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config8456971488769475626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:37:46.657Z] ---> docker-login.sh [2022-08-12T06:37:46.657Z] nexus3.edgexfoundry.org:10001 [2022-08-12T06:37:47.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:37:47.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:37:47.538Z] Configure a credential helper to remove this warning. See [2022-08-12T06:37:47.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:37:47.538Z] [2022-08-12T06:37:47.538Z] Login Succeeded [2022-08-12T06:37:47.538Z] nexus3.edgexfoundry.org:10002 [2022-08-12T06:37:48.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:37:48.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:37:48.135Z] Configure a credential helper to remove this warning. See [2022-08-12T06:37:48.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:37:48.135Z] [2022-08-12T06:37:48.135Z] Login Succeeded [2022-08-12T06:37:48.135Z] nexus3.edgexfoundry.org:10003 [2022-08-12T06:37:48.411Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:37:48.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:37:48.692Z] Configure a credential helper to remove this warning. See [2022-08-12T06:37:48.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:37:48.692Z] [2022-08-12T06:37:48.692Z] Login Succeeded [2022-08-12T06:37:48.692Z] nexus3.edgexfoundry.org:10004 [2022-08-12T06:37:48.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:37:49.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:37:49.248Z] Configure a credential helper to remove this warning. See [2022-08-12T06:37:49.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:37:49.248Z] [2022-08-12T06:37:49.248Z] Login Succeeded [2022-08-12T06:37:49.248Z] docker.io [2022-08-12T06:37:49.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-12T06:37:49.795Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-12T06:37:49.795Z] Configure a credential helper to remove this warning. See [2022-08-12T06:37:49.795Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-12T06:37:49.795Z] [2022-08-12T06:37:49.795Z] Login Succeeded [2022-08-12T06:37:49.795Z] ---> docker-login.sh ends [Pipeline] } [2022-08-12T06:37:49.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-12T06:37:50.102Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:37:50.117Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-12T06:37:50.127Z] ========================================================= [2022-08-12T06:37:50.127Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-12T06:37:50.127Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:37:50.489Z] + 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-08-12T06:37:50.490Z] Sending build context to Docker daemon 126kB [2022-08-12T06:37:50.769Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:37:50.769Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-12T06:37:51.047Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-12T06:37:51.047Z] b3c136eddcbf: Pulling fs layer [2022-08-12T06:37:51.047Z] c0a3192eca97: Pulling fs layer [2022-08-12T06:37:51.047Z] a050256f5b6f: Pulling fs layer [2022-08-12T06:37:51.047Z] 656be50a0ddc: Pulling fs layer [2022-08-12T06:37:51.047Z] 2bbca73fdf42: Pulling fs layer [2022-08-12T06:37:51.047Z] 46d945488cbd: Pulling fs layer [2022-08-12T06:37:51.047Z] 8a5474983e97: Pulling fs layer [2022-08-12T06:37:51.047Z] 329c88fbcd65: Pulling fs layer [2022-08-12T06:37:51.047Z] 656be50a0ddc: Waiting [2022-08-12T06:37:51.047Z] 2bbca73fdf42: Waiting [2022-08-12T06:37:51.047Z] 46d945488cbd: Waiting [2022-08-12T06:37:51.047Z] 8a5474983e97: Waiting [2022-08-12T06:37:51.047Z] 329c88fbcd65: Waiting [2022-08-12T06:37:51.047Z] a050256f5b6f: Verifying Checksum [2022-08-12T06:37:51.047Z] a050256f5b6f: Download complete [2022-08-12T06:37:51.047Z] c0a3192eca97: Verifying Checksum [2022-08-12T06:37:51.047Z] c0a3192eca97: Download complete [2022-08-12T06:37:51.047Z] 2bbca73fdf42: Download complete [2022-08-12T06:37:51.047Z] 46d945488cbd: Verifying Checksum [2022-08-12T06:37:51.047Z] 46d945488cbd: Download complete [2022-08-12T06:37:51.047Z] b3c136eddcbf: Download complete [2022-08-12T06:37:52.045Z] 329c88fbcd65: Verifying Checksum [2022-08-12T06:37:52.045Z] 329c88fbcd65: Download complete [2022-08-12T06:37:52.045Z] b3c136eddcbf: Pull complete [2022-08-12T06:37:52.652Z] c0a3192eca97: Pull complete [2022-08-12T06:37:52.931Z] a050256f5b6f: Pull complete [2022-08-12T06:37:53.535Z] 8a5474983e97: Download complete [2022-08-12T06:37:54.135Z] 656be50a0ddc: Verifying Checksum [2022-08-12T06:37:54.135Z] 656be50a0ddc: Download complete [2022-08-12T06:38:09.246Z] 656be50a0ddc: Pull complete [2022-08-12T06:38:09.246Z] 2bbca73fdf42: Pull complete [2022-08-12T06:38:09.246Z] 46d945488cbd: Pull complete [2022-08-12T06:38:14.677Z] 8a5474983e97: Pull complete [2022-08-12T06:38:16.661Z] 329c88fbcd65: Pull complete [2022-08-12T06:38:16.661Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-12T06:38:16.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-12T06:38:16.661Z] ---> ff4287adb874 [2022-08-12T06:38:16.661Z] Step 3/12 : ARG MAKE='make build' [2022-08-12T06:38:17.262Z] ---> Running in 0e08702c0fbe [2022-08-12T06:38:17.558Z] Removing intermediate container 0e08702c0fbe [2022-08-12T06:38:17.558Z] ---> 923e7fe5b85a [2022-08-12T06:38:17.558Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:38:17.558Z] ---> Running in 741e73180599 [2022-08-12T06:38:17.832Z] Removing intermediate container 741e73180599 [2022-08-12T06:38:17.832Z] ---> cf393d3f4820 [2022-08-12T06:38:17.832Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:38:18.109Z] ---> Running in f9d26c61d287 [2022-08-12T06:38:18.394Z] Removing intermediate container f9d26c61d287 [2022-08-12T06:38:18.394Z] ---> 30ec0ba072c6 [2022-08-12T06:38:18.394Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:38:18.394Z] ---> Running in 4f73bc994a42 [2022-08-12T06:38:20.405Z] Removing intermediate container 4f73bc994a42 [2022-08-12T06:38:20.405Z] ---> 6fd32f2d386c [2022-08-12T06:38:20.405Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:38:20.405Z] ---> Running in 5400bd230fdd [2022-08-12T06:38:22.394Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:38:23.375Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:38:24.355Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-12T06:38:24.355Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-12T06:38:24.629Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-12T06:38:24.629Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-12T06:38:24.905Z] Executing busybox-1.35.0-r13.trigger [2022-08-12T06:38:24.905Z] OK: 226 MiB in 55 packages [2022-08-12T06:38:25.915Z] Removing intermediate container 5400bd230fdd [2022-08-12T06:38:25.915Z] ---> c9b4891f2eff [2022-08-12T06:38:25.915Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-12T06:38:25.915Z] ---> Running in 4d8fd3029eda [2022-08-12T06:38:26.192Z] Removing intermediate container 4d8fd3029eda [2022-08-12T06:38:26.192Z] ---> f739ee0d1232 [2022-08-12T06:38:26.192Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-12T06:38:26.799Z] ---> f69fce4b9bd0 [2022-08-12T06:38:26.799Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:38:26.799Z] ---> Running in db07533a572c [2022-08-12T06:39:23.371Z] Removing intermediate container db07533a572c [2022-08-12T06:39:23.371Z] ---> 8186d5dcdcbf [2022-08-12T06:39:23.371Z] Step 11/12 : COPY . . [2022-08-12T06:39:23.371Z] ---> 31b0824c3983 [2022-08-12T06:39:23.371Z] Step 12/12 : RUN $MAKE [2022-08-12T06:39:23.371Z] ---> Running in 709521844b06 [2022-08-12T06:39:23.371Z] noop [2022-08-12T06:39:23.371Z] Removing intermediate container 709521844b06 [2022-08-12T06:39:23.371Z] ---> 45f00593170c [2022-08-12T06:39:23.371Z] Successfully built 45f00593170c [2022-08-12T06:39:23.371Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:39:23.742Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T06:39:23.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:39:24.009Z] prd-ubuntu20.04-docker-arm64-4c-16g-22586 does not seem to be running inside a container [2022-08-12T06:39:24.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T06:39:25.463Z] $ docker top 4c7fc76a666a5313edb482548f0ac7144fcddf829f5ba2d31401fc431ac30fd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:39:26.403Z] + go version [2022-08-12T06:39:26.403Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-12T06:39:26.439Z] $ docker stop --time=1 4c7fc76a666a5313edb482548f0ac7144fcddf829f5ba2d31401fc431ac30fd7 [2022-08-12T06:39:28.114Z] $ docker rm -f 4c7fc76a666a5313edb482548f0ac7144fcddf829f5ba2d31401fc431ac30fd7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:39:28.772Z] + docker inspect -f . ci-base-image-arm64 [2022-08-12T06:39:28.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:39:29.043Z] prd-ubuntu20.04-docker-arm64-4c-16g-22586 does not seem to be running inside a container [2022-08-12T06:39:29.145Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-12T06:39:30.440Z] $ docker top c23e565c52a6cffb7c5e32ea7505dcc6a7b88f11b0a13ad41c5870b5c01776b0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:39:31.340Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2022-08-12T06:39:32.028Z] + make test [2022-08-12T06:39:32.028Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-12T06:39:33.482Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-12T06:40:55.360Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-12T06:40:57.997Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-08-12T06:40:58.596Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-12T06:40:58.596Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-12T06:41:20.848Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-12T06:41:20.848Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-12T06:41:20.848Z] ./bin/test-attribution-txt.sh [2022-08-12T06:41:20.848Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-12T06:41:20.848Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-12T06:41:20.848Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-12T06:41:20.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-12T06:41:20.899Z] $ docker stop --time=1 c23e565c52a6cffb7c5e32ea7505dcc6a7b88f11b0a13ad41c5870b5c01776b0 [2022-08-12T06:41:22.771Z] $ docker rm -f c23e565c52a6cffb7c5e32ea7505dcc6a7b88f11b0a13ad41c5870b5c01776b0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-12T06:41:23.842Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-12T06:41:23.875Z] Warning: overwriting stash ‘coverage-report’ [2022-08-12T06:41:24.644Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-12T06:41:25.054Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-12T06:41:25.397Z] + ls -al . [2022-08-12T06:41:25.397Z] total 168 [2022-08-12T06:41:25.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:39 . [2022-08-12T06:41:25.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:37 .. [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 12 06:37 .dockerignore [2022-08-12T06:41:25.397Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 12 06:37 .git [2022-08-12T06:41:25.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:37 .github [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 12 06:37 .gitignore [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 12 06:37 .golangci.yml [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 12 06:37 Attribution.txt [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 12 06:37 CHANGELOG.md [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 12 06:37 Dockerfile [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 12 06:37 GOVERNANCE.md [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 12 06:37 Jenkinsfile [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 12 06:37 LICENSE [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 12 06:37 Makefile [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 12 06:37 OWNERS.md [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 12 06:37 README.md [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 12 06:34 VERSION [2022-08-12T06:41:25.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:37 bin [2022-08-12T06:41:25.397Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 12 06:37 cmd [2022-08-12T06:41:25.397Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 12 06:40 coverage.out [2022-08-12T06:41:25.397Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 12 06:37 driver [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 12 06:37 go.mod [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 12 06:37 go.sum [2022-08-12T06:41:25.397Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 12 06:37 snap [2022-08-12T06:41:25.397Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 12 06:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:41:25.755Z] + 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=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b --label arch=arm64 --label version=0.0.0 . [2022-08-12T06:41:25.755Z] Sending build context to Docker daemon 136.2kB [2022-08-12T06:41:26.029Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-12T06:41:26.029Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-12T06:41:26.029Z] ---> 45f00593170c [2022-08-12T06:41:26.029Z] Step 3/25 : ARG MAKE='make build' [2022-08-12T06:41:26.029Z] ---> Running in cd53bd957ad6 [2022-08-12T06:41:26.304Z] Removing intermediate container cd53bd957ad6 [2022-08-12T06:41:26.304Z] ---> b51a438e4e81 [2022-08-12T06:41:26.304Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-12T06:41:26.574Z] ---> Running in 528ad69e2d97 [2022-08-12T06:41:26.849Z] Removing intermediate container 528ad69e2d97 [2022-08-12T06:41:26.849Z] ---> 8222e4f90b67 [2022-08-12T06:41:26.849Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-12T06:41:26.849Z] ---> Running in 413524f930c1 [2022-08-12T06:41:27.125Z] Removing intermediate container 413524f930c1 [2022-08-12T06:41:27.125Z] ---> 96eb22b5ee4c [2022-08-12T06:41:27.125Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-12T06:41:27.402Z] ---> Running in 2992ddebe25e [2022-08-12T06:41:28.856Z] Removing intermediate container 2992ddebe25e [2022-08-12T06:41:28.856Z] ---> 0a15d086c6d0 [2022-08-12T06:41:28.856Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-12T06:41:28.856Z] ---> Running in 4f15190a64b6 [2022-08-12T06:41:30.294Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:41:30.890Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:41:31.866Z] OK: 226 MiB in 55 packages [2022-08-12T06:41:32.844Z] Removing intermediate container 4f15190a64b6 [2022-08-12T06:41:32.844Z] ---> a1d53c39a0ea [2022-08-12T06:41:32.844Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-12T06:41:32.844Z] ---> Running in 369b99311cd1 [2022-08-12T06:41:33.116Z] Removing intermediate container 369b99311cd1 [2022-08-12T06:41:33.116Z] ---> b0795e9dbac3 [2022-08-12T06:41:33.116Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-12T06:41:33.709Z] ---> d4e254ed68e6 [2022-08-12T06:41:33.709Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-12T06:41:33.709Z] ---> Running in a8d5e534283d [2022-08-12T06:41:35.687Z] Removing intermediate container a8d5e534283d [2022-08-12T06:41:35.687Z] ---> e3d719bff5b2 [2022-08-12T06:41:35.687Z] Step 11/25 : COPY . . [2022-08-12T06:41:36.286Z] ---> 830478735a6c [2022-08-12T06:41:36.286Z] Step 12/25 : RUN $MAKE [2022-08-12T06:41:36.286Z] ---> Running in 1a2898c9d4eb [2022-08-12T06:41:37.269Z] CGO_ENABLED=1 GO111MODULE=on go build -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-08-12T06:43:59.203Z] Removing intermediate container 1a2898c9d4eb [2022-08-12T06:43:59.203Z] ---> f2f1a024c0f7 [2022-08-12T06:43:59.203Z] Step 13/25 : FROM alpine:3.16 [2022-08-12T06:43:59.203Z] 3.16: Pulling from library/alpine [2022-08-12T06:43:59.203Z] 9b18e9b68314: Pulling fs layer [2022-08-12T06:43:59.203Z] 9b18e9b68314: Verifying Checksum [2022-08-12T06:43:59.203Z] 9b18e9b68314: Download complete [2022-08-12T06:43:59.203Z] 9b18e9b68314: Pull complete [2022-08-12T06:43:59.203Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-12T06:43:59.203Z] Status: Downloaded newer image for alpine:3.16 [2022-08-12T06:43:59.203Z] ---> a6215f271958 [2022-08-12T06:43:59.203Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-12T06:43:59.203Z] ---> Running in 82b99bc4aae8 [2022-08-12T06:43:59.203Z] Removing intermediate container 82b99bc4aae8 [2022-08-12T06:43:59.203Z] ---> 07bd4fdc265d [2022-08-12T06:43:59.203Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-12T06:43:59.203Z] ---> Running in b93b00513e94 [2022-08-12T06:43:59.203Z] Removing intermediate container b93b00513e94 [2022-08-12T06:43:59.203Z] ---> 5623e5fac3a6 [2022-08-12T06:43:59.203Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-12T06:43:59.203Z] ---> Running in ee89d7e435be [2022-08-12T06:43:59.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-12T06:43:59.203Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-12T06:43:59.203Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-12T06:43:59.203Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-12T06:43:59.203Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-12T06:43:59.203Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-12T06:43:59.203Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-12T06:43:59.203Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-12T06:43:59.203Z] Executing busybox-1.35.0-r17.trigger [2022-08-12T06:43:59.203Z] OK: 8 MiB in 20 packages [2022-08-12T06:43:59.203Z] Removing intermediate container ee89d7e435be [2022-08-12T06:43:59.203Z] ---> 04a6037674dd [2022-08-12T06:43:59.203Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-12T06:43:59.203Z] ---> 816c6517a49a [2022-08-12T06:43:59.203Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-12T06:43:59.203Z] ---> 335878aca8ca [2022-08-12T06:43:59.203Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-12T06:43:59.203Z] ---> 55c8fc0c3def [2022-08-12T06:43:59.203Z] Step 20/25 : EXPOSE 59986 [2022-08-12T06:43:59.203Z] ---> Running in c5d25abfd103 [2022-08-12T06:43:59.477Z] Removing intermediate container c5d25abfd103 [2022-08-12T06:43:59.477Z] ---> 65d2469e8953 [2022-08-12T06:43:59.477Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-12T06:43:59.477Z] ---> Running in 6ab7c6106ada [2022-08-12T06:43:59.751Z] Removing intermediate container 6ab7c6106ada [2022-08-12T06:43:59.751Z] ---> f3e7cf66a65c [2022-08-12T06:43:59.751Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-12T06:43:59.751Z] ---> Running in 7aebd92295d3 [2022-08-12T06:44:00.031Z] Removing intermediate container 7aebd92295d3 [2022-08-12T06:44:00.031Z] ---> 3d55aae7d31a [2022-08-12T06:44:00.031Z] Step 23/25 : LABEL arch=arm64 [2022-08-12T06:44:00.308Z] ---> Running in 348270977cbd [2022-08-12T06:44:00.582Z] Removing intermediate container 348270977cbd [2022-08-12T06:44:00.582Z] ---> d2923762e769 [2022-08-12T06:44:00.582Z] Step 24/25 : LABEL git_sha=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [2022-08-12T06:44:00.582Z] ---> Running in 12c26cbb838c [2022-08-12T06:44:00.864Z] Removing intermediate container 12c26cbb838c [2022-08-12T06:44:00.864Z] ---> fd98c59f8fcd [2022-08-12T06:44:00.864Z] Step 25/25 : LABEL version=0.0.0 [2022-08-12T06:44:01.139Z] ---> Running in f8a5a85cc72e [2022-08-12T06:44:01.414Z] Removing intermediate container f8a5a85cc72e [2022-08-12T06:44:01.414Z] ---> 41a838827575 [2022-08-12T06:44:01.414Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-12T06:44:01.414Z] Successfully built 41a838827575 [2022-08-12T06:44:01.414Z] 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-08-12T06:44:01.873Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:44:01.873Z] [2022-08-12T06:44:01.873Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:44:02.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:44:02.504Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-12T06:44:02.504Z] 8998bd30e6a1: Pulling fs layer [2022-08-12T06:44:02.504Z] 04944245beec: Pulling fs layer [2022-08-12T06:44:02.504Z] 699f458cf7ca: Pulling fs layer [2022-08-12T06:44:02.504Z] 765212b225bb: Pulling fs layer [2022-08-12T06:44:02.504Z] f23df028b6ca: Pulling fs layer [2022-08-12T06:44:02.504Z] d65c8cfc05b1: Pulling fs layer [2022-08-12T06:44:02.504Z] 2437ff75d9bd: Pulling fs layer [2022-08-12T06:44:02.504Z] 765212b225bb: Waiting [2022-08-12T06:44:02.504Z] d65c8cfc05b1: Waiting [2022-08-12T06:44:02.504Z] 2437ff75d9bd: Waiting [2022-08-12T06:44:02.504Z] f23df028b6ca: Waiting [2022-08-12T06:44:02.504Z] 04944245beec: Verifying Checksum [2022-08-12T06:44:02.504Z] 04944245beec: Download complete [2022-08-12T06:44:02.504Z] 765212b225bb: Verifying Checksum [2022-08-12T06:44:02.504Z] 765212b225bb: Download complete [2022-08-12T06:44:02.504Z] f23df028b6ca: Verifying Checksum [2022-08-12T06:44:02.504Z] f23df028b6ca: Download complete [2022-08-12T06:44:02.778Z] d65c8cfc05b1: Verifying Checksum [2022-08-12T06:44:02.778Z] d65c8cfc05b1: Download complete [2022-08-12T06:44:02.778Z] 699f458cf7ca: Verifying Checksum [2022-08-12T06:44:02.778Z] 699f458cf7ca: Download complete [2022-08-12T06:44:03.052Z] 8998bd30e6a1: Verifying Checksum [2022-08-12T06:44:03.052Z] 8998bd30e6a1: Download complete [2022-08-12T06:44:05.693Z] 2437ff75d9bd: Verifying Checksum [2022-08-12T06:44:05.693Z] 2437ff75d9bd: Download complete [2022-08-12T06:44:07.669Z] 8998bd30e6a1: Pull complete [2022-08-12T06:44:07.941Z] 04944245beec: Pull complete [2022-08-12T06:44:09.376Z] 699f458cf7ca: Pull complete [2022-08-12T06:44:09.649Z] 765212b225bb: Pull complete [2022-08-12T06:44:10.633Z] f23df028b6ca: Pull complete [2022-08-12T06:44:10.633Z] d65c8cfc05b1: Pull complete [2022-08-12T06:44:25.725Z] 2437ff75d9bd: Pull complete [2022-08-12T06:44:25.725Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-12T06:44:25.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-12T06:44:25.725Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:44:26.000Z] prd-ubuntu20.04-docker-arm64-4c-16g-22586 does not seem to be running inside a container [2022-08-12T06:44:26.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-12T06:44:29.030Z] $ docker top 6687433ec2332b828a9daea8ae37f75bfeb92a17a3eee11a04ab9d8e453cb217 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:44:29.956Z] ---> job-cost.sh [2022-08-12T06:44:29.956Z] lf-activate-venv: SKIPPING [2022-08-12T06:44:29.956Z] INFO: No Stack... [2022-08-12T06:44:30.227Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-12T06:44:31.214Z] INFO: Archiving Costs [Pipeline] sh [2022-08-12T06:44:31.898Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2022-08-12T06:44:31.898Z] + cut -d, -f6 [Pipeline] lock [2022-08-12T06:44:32.017Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [2022-08-12T06:44:32.023Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] did not exist. Created. [2022-08-12T06:44:32.023Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-12T06:44:32.746Z] /w/workspace/device-rest-go/2@tmp/durable-7321eeab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-12T06:44:33.473Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-12T06:44:33.503Z] Warning: overwriting stash ‘stack-cost’ [2022-08-12T06:44:33.554Z] Stashed 1 file(s) [Pipeline] } [2022-08-12T06:44:33.560Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-209-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-12T06:44:33.601Z] $ docker stop --time=1 6687433ec2332b828a9daea8ae37f75bfeb92a17a3eee11a04ab9d8e453cb217 [2022-08-12T06:44:35.186Z] $ docker rm -f 6687433ec2332b828a9daea8ae37f75bfeb92a17a3eee11a04ab9d8e453cb217 [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-08-12T06:44:35.647Z] provisioning config files... [2022-08-12T06:44:35.657Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config5729800456732692018tmp [Pipeline] { [Pipeline] sh [2022-08-12T06:44:35.951Z] + set +x [2022-08-12T06:44:35.951Z] + curl -s https://codecov.io/bash [2022-08-12T06:44:35.951Z] + bash -s -- [2022-08-12T06:44:35.951Z] [2022-08-12T06:44:35.951Z] _____ _ [2022-08-12T06:44:35.951Z] / ____| | | [2022-08-12T06:44:35.951Z] | | ___ __| | ___ ___ _____ __ [2022-08-12T06:44:35.951Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-12T06:44:35.951Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-12T06:44:35.951Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-12T06:44:35.951Z] Bash-1.0.6 [2022-08-12T06:44:35.951Z] [2022-08-12T06:44:35.951Z] [2022-08-12T06:44:35.951Z] ==> git version 2.25.1 found [2022-08-12T06:44:35.951Z] ==> 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-08-12T06:44:35.951Z] Release-Date: 2020-01-08 [2022-08-12T06:44:35.951Z] 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-08-12T06:44:35.951Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-12T06:44:35.951Z] ==> Jenkins CI detected. [2022-08-12T06:44:35.951Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-209 [2022-08-12T06:44:35.951Z] project root: . [2022-08-12T06:44:35.951Z] --> token set from env [2022-08-12T06:44:35.951Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-12T06:44:35.951Z] ==> Running gcov in . (disable via -X gcov) [2022-08-12T06:44:35.951Z] ==> Python coveragepy not found [2022-08-12T06:44:35.951Z] ==> Searching for coverage reports in: [2022-08-12T06:44:35.951Z] + . [2022-08-12T06:44:35.951Z] -> Found 1 reports [2022-08-12T06:44:35.951Z] ==> Detecting git/mercurial file structure [2022-08-12T06:44:35.951Z] ==> Reading reports [2022-08-12T06:44:35.951Z] + ./coverage.out bytes=9355 [2022-08-12T06:44:35.951Z] ==> Appending adjustments [2022-08-12T06:44:35.951Z] https://docs.codecov.io/docs/fixing-reports [2022-08-12T06:44:36.212Z] + Found adjustments [2022-08-12T06:44:36.212Z] ==> Gzipping contents [2022-08-12T06:44:36.212Z] 4.0K /tmp/codecov.zUsETF.gz [2022-08-12T06:44:36.212Z] ==> Uploading reports [2022-08-12T06:44:36.212Z] url: https://codecov.io [2022-08-12T06:44:36.212Z] query: branch=PR-209&commit=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-209%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=209&job=&cmd_args= [2022-08-12T06:44:36.212Z] -> Pinging Codecov [2022-08-12T06:44:36.212Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-209&commit=93ee19a6fa9cb06e6f71add9186dbc3de0c6941b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-209%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=209&job=&cmd_args= [2022-08-12T06:44:36.473Z] -> Uploading to [2022-08-12T06:44:36.473Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-12/4E5D53B4F1F92C436F7061BF334D961C/93ee19a6fa9cb06e6f71add9186dbc3de0c6941b/90781707-c524-4d3d-af1a-c45c9a74b3c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220812%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220812T064436Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7c62125828b7d6548d1ba91b4d85fca3ed0a8907c3c82cfa7158e6c3fba153f9 [2022-08-12T06:44:36.473Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-12T06:44:36.473Z] Dload Upload Total Spent Left Speed [2022-08-12T06:44:36.733Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 7528 --:--:-- --:--:-- --:--:-- 7560 [2022-08-12T06:44:36.733Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/93ee19a6fa9cb06e6f71add9186dbc3de0c6941b [Pipeline] } [2022-08-12T06:44:36.742Z] 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-08-12T06:44:37.516Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-209/archives ] [2022-08-12T06:44:37.516Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-209/archives [2022-08-12T06:44:37.516Z] total 16 [2022-08-12T06:44:37.516Z] drwxr-xr-x 3 root root 4096 Aug 12 06:36 . [2022-08-12T06:44:37.516Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:36 .. [2022-08-12T06:44:37.516Z] drwxr-xr-x 2 root root 4096 Aug 12 06:36 cost [2022-08-12T06:44:37.516Z] -rw-r--r-- 1 root root 86 Aug 12 06:36 cost.csv [2022-08-12T06:44:37.516Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-209/archives [2022-08-12T06:44:37.516Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-209/archives [2022-08-12T06:44:37.516Z] total 16 [2022-08-12T06:44:37.516Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 12 06:36 . [2022-08-12T06:44:37.516Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 12 06:36 .. [2022-08-12T06:44:37.516Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 12 06:36 cost [2022-08-12T06:44:37.516Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 12 06:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:44:37.811Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:44:38.682Z] ---> package-listing.sh [2022-08-12T06:44:38.682Z] ++ facter osfamily [2022-08-12T06:44:38.682Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-12T06:44:38.943Z] + OS_FAMILY=debian [2022-08-12T06:44:38.943Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-209 [2022-08-12T06:44:38.943Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-12T06:44:38.943Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-12T06:44:38.943Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-12T06:44:38.943Z] + PACKAGES=/tmp/packages_start.txt [2022-08-12T06:44:38.943Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-209 ']' [2022-08-12T06:44:38.944Z] + PACKAGES=/tmp/packages_end.txt [2022-08-12T06:44:38.944Z] + case "${OS_FAMILY}" in [2022-08-12T06:44:38.944Z] + dpkg -l [2022-08-12T06:44:38.944Z] + grep '^ii' [2022-08-12T06:44:38.944Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-12T06:44:38.944Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-12T06:44:38.944Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-12T06:44:38.944Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-209 ']' [2022-08-12T06:44:38.944Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-209/archives/ [2022-08-12T06:44:38.944Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-209/archives/ [Pipeline] echo [2022-08-12T06:44:38.957Z] 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-209/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-12T06:44:39.241Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-12T06:44:39.813Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-12T06:44:39.813Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-12T06:44:39.902Z] prd-ubuntu20.04-docker-8c-8g-22584 does not seem to be running inside a container [2022-08-12T06:44:39.937Z] $ 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-209/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-209 -v /w/workspace/gexfoundry_device-rest-go_PR-209:/w/workspace/gexfoundry_device-rest-go_PR-209:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-209@tmp:/w/workspace/gexfoundry_device-rest-go_PR-209@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-12T06:44:40.128Z] $ docker top 02c8e01b0ef69da6c863b556fb3f09771b14505e612f4471bbf38272b713db96 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-12T06:44:40.483Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-12T06:44:40.774Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-12T06:44:41.065Z] + ls /var/log/sa-host [2022-08-12T06:44:41.065Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-12T06:44:41.251Z] provisioning config files... [2022-08-12T06:44:41.262Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-209@tmp/config6999250697085932406tmp [Pipeline] { [Pipeline] echo [2022-08-12T06:44:41.280Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:44:41.565Z] ---> create-netrc.sh [Pipeline] } [2022-08-12T06:44:41.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:44:41.908Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-12T06:44:41.918Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:44:42.207Z] ---> sudo-logs.sh [2022-08-12T06:44:42.207Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-12T06:44:42.230Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:44:42.514Z] ---> job-cost.sh [2022-08-12T06:44:42.514Z] lf-activate-venv: SKIPPING [2022-08-12T06:44:42.514Z] DEBUG: total: 0.2199999988079071 [2022-08-12T06:44:42.514Z] INFO: Retrieving Stack Cost... [2022-08-12T06:44:42.774Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-12T06:44:43.345Z] INFO: Archiving Costs [Pipeline] echo [2022-08-12T06:44:43.357Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-12T06:44:43.642Z] ---> logs-deploy.sh [2022-08-12T06:44:43.642Z] lf-activate-venv: SKIPPING [2022-08-12T06:44:43.642Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-209/2 [2022-08-12T06:44:43.642Z] INFO: archiving workspace using pattern(s): [2022-08-12T06:44:44.585Z] Archives upload complete. [2022-08-12T06:44:44.849Z] INFO: archiving logs to Nexus