Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3bfa2c7cebef17aba10611e718aa3e6714bdeddd 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-ssh13986509760269938172.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-ssh3219641986065199516.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15383941853456071229.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-ssh14053144650760503139.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh378108632329762053.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-22865 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 3bfa2c7cebef17aba10611e718aa3e6714bdeddd (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 3bfa2c7cebef17aba10611e718aa3e6714bdeddd # timeout=10 Commit message: "Merge pull request #210 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" > git rev-list --no-walk 7849af7816baf1c3cc1af121845620dcf422b00f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-15T23:08:29.257Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-15T23:08:29.315Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-15T23:08:29.332Z] ========================================================= [2022-08-15T23:08:29.332Z] EdgeX Global Pipelines Version Info [2022-08-15T23:08:29.332Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:08:30.098Z] ------------------- [2022-08-15T23:08:30.098Z] stable info: [2022-08-15T23:08:30.098Z] ------------------- [2022-08-15T23:08:30.098Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T23:08:30.098Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T23:08:30.098Z] Message: update stable to v1.0.238 [2022-08-15T23:08:30.670Z] ------------------- [2022-08-15T23:08:30.670Z] experimental info: [2022-08-15T23:08:30.670Z] ------------------- [2022-08-15T23:08:30.670Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-15T23:08:30.670Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-15T23:08:30.670Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-15T23:08:30.925Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-08-15T23:08:30.937Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-08-15T23:08:30.948Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-15T23:08:30.960Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-15T23:08:30.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-15T23:08:30.980Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-15T23:08:30.988Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-15T23:08:30.996Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-15T23:08:31.004Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-15T23:08:31.012Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-15T23:08:31.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-15T23:08:31.028Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-08-15T23:08:31.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-15T23:08:31.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-15T23:08:31.053Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T23:08:31.061Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-15T23:08:31.069Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T23:08:31.078Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-15T23:08:31.086Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-15T23:08:31.094Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-15T23:08:31.103Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-15T23:08:31.122Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-15T23:08:31.139Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-15T23:08:31.149Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-15T23:08:31.161Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-15T23:08:31.172Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-15T23:08:31.184Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-15T23:08:31.195Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-15T23:08:31.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-15T23:08:31.219Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-15T23:08:31.230Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] echo [2022-08-15T23:08:31.243Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3bfa2c7 [Pipeline] echo [2022-08-15T23:08:31.255Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T23:08:31.295Z] provisioning config files... [2022-08-15T23:08:31.309Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2920985369626239332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:08:31.619Z] ---> docker-login.sh [2022-08-15T23:08:31.619Z] nexus3.edgexfoundry.org:10001 [2022-08-15T23:08:31.881Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:32.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:32.143Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:32.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:32.143Z] [2022-08-15T23:08:32.143Z] Login Succeeded [2022-08-15T23:08:32.143Z] nexus3.edgexfoundry.org:10002 [2022-08-15T23:08:32.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:32.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:32.143Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:32.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:32.143Z] [2022-08-15T23:08:32.143Z] Login Succeeded [2022-08-15T23:08:32.143Z] nexus3.edgexfoundry.org:10003 [2022-08-15T23:08:32.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:32.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:32.404Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:32.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:32.404Z] [2022-08-15T23:08:32.404Z] Login Succeeded [2022-08-15T23:08:32.404Z] nexus3.edgexfoundry.org:10004 [2022-08-15T23:08:32.404Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:32.404Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:32.404Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:32.404Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:32.404Z] [2022-08-15T23:08:32.404Z] Login Succeeded [2022-08-15T23:08:32.404Z] docker.io [2022-08-15T23:08:32.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:32.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:32.927Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:32.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:32.927Z] [2022-08-15T23:08:32.927Z] Login Succeeded [2022-08-15T23:08:32.927Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T23:08:32.936Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-15T23:08:33.314Z] + git rev-list -1 --merges 3bfa2c7cebef17aba10611e718aa3e6714bdeddd~1..3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] echo [2022-08-15T23:08:33.340Z] -----------> git rev-list -1 --merges 3bfa2c7cebef17aba10611e718aa3e6714bdeddd~1..3bfa2c7cebef17aba10611e718aa3e6714bdeddd 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:08:33.340Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [false] [Pipeline] sh [2022-08-15T23:08:33.634Z] + git log --format=format:%s -1 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] echo [2022-08-15T23:08:33.649Z] ========================================================= [2022-08-15T23:08:33.649Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-15T23:08:33.649Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T23:08:33.994Z] + git log --format=format:%s -1 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] echo [2022-08-15T23:08:34.006Z] [semverPrep] GIT_COMMIT: 3bfa2c7cebef17aba10611e718aa3e6714bdeddd, Commit Message: Merge pull request #210 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19 [Pipeline] echo [2022-08-15T23:08:34.017Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-15T23:08:34.385Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T23:08:34.385Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-15T23:08:34.385Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-15T23:08:34.385Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-15T23:08:34.385Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-15T23:08:34.385Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-15T23:08:34.385Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:08:34.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T23:08:34.801Z] [2022-08-15T23:08:34.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:08:35.107Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T23:08:35.108Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-15T23:08:35.108Z] b85a868b505f: Pulling fs layer [2022-08-15T23:08:35.108Z] e2be974225ed: Pulling fs layer [2022-08-15T23:08:35.108Z] 339a4e72a1f5: Pulling fs layer [2022-08-15T23:08:35.108Z] 988bab9f4d93: Pulling fs layer [2022-08-15T23:08:35.108Z] 1469e6f7b9e6: Pulling fs layer [2022-08-15T23:08:35.108Z] eaf3925da568: Pulling fs layer [2022-08-15T23:08:35.108Z] bab4dde63d76: Pulling fs layer [2022-08-15T23:08:35.108Z] bde34c3a00c8: Pulling fs layer [2022-08-15T23:08:35.108Z] b352a97aabf1: Pulling fs layer [2022-08-15T23:08:35.108Z] 4872d77fe225: Pulling fs layer [2022-08-15T23:08:35.108Z] 5851b861e8e6: Pulling fs layer [2022-08-15T23:08:35.108Z] eaf3925da568: Waiting [2022-08-15T23:08:35.108Z] 1469e6f7b9e6: Waiting [2022-08-15T23:08:35.108Z] bab4dde63d76: Waiting [2022-08-15T23:08:35.108Z] 4872d77fe225: Waiting [2022-08-15T23:08:35.108Z] 5851b861e8e6: Waiting [2022-08-15T23:08:35.108Z] bde34c3a00c8: Waiting [2022-08-15T23:08:35.108Z] 988bab9f4d93: Waiting [2022-08-15T23:08:35.108Z] b352a97aabf1: Waiting [2022-08-15T23:08:35.108Z] e2be974225ed: Verifying Checksum [2022-08-15T23:08:35.108Z] e2be974225ed: Download complete [2022-08-15T23:08:35.108Z] 988bab9f4d93: Verifying Checksum [2022-08-15T23:08:35.108Z] 988bab9f4d93: Download complete [2022-08-15T23:08:35.369Z] 1469e6f7b9e6: Verifying Checksum [2022-08-15T23:08:35.369Z] 1469e6f7b9e6: Download complete [2022-08-15T23:08:35.369Z] eaf3925da568: Verifying Checksum [2022-08-15T23:08:35.369Z] eaf3925da568: Download complete [2022-08-15T23:08:35.369Z] 339a4e72a1f5: Verifying Checksum [2022-08-15T23:08:35.369Z] 339a4e72a1f5: Download complete [2022-08-15T23:08:35.369Z] bde34c3a00c8: Download complete [2022-08-15T23:08:35.369Z] b352a97aabf1: Verifying Checksum [2022-08-15T23:08:35.369Z] b352a97aabf1: Download complete [2022-08-15T23:08:35.369Z] 4872d77fe225: Verifying Checksum [2022-08-15T23:08:35.369Z] 4872d77fe225: Download complete [2022-08-15T23:08:35.369Z] 5851b861e8e6: Download complete [2022-08-15T23:08:35.369Z] b85a868b505f: Verifying Checksum [2022-08-15T23:08:35.369Z] b85a868b505f: Download complete [2022-08-15T23:08:35.631Z] bab4dde63d76: Verifying Checksum [2022-08-15T23:08:35.631Z] bab4dde63d76: Download complete [2022-08-15T23:08:37.016Z] b85a868b505f: Pull complete [2022-08-15T23:08:37.016Z] e2be974225ed: Pull complete [2022-08-15T23:08:37.588Z] 339a4e72a1f5: Pull complete [2022-08-15T23:08:37.588Z] 988bab9f4d93: Pull complete [2022-08-15T23:08:37.849Z] 1469e6f7b9e6: Pull complete [2022-08-15T23:08:38.111Z] eaf3925da568: Pull complete [2022-08-15T23:08:40.028Z] bab4dde63d76: Pull complete [2022-08-15T23:08:40.028Z] bde34c3a00c8: Pull complete [2022-08-15T23:08:40.028Z] b352a97aabf1: Pull complete [2022-08-15T23:08:40.292Z] 4872d77fe225: Pull complete [2022-08-15T23:08:40.292Z] 5851b861e8e6: Pull complete [2022-08-15T23:08:40.292Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-15T23:08:40.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T23:08:40.292Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:08:40.397Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:08:40.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-15T23:08:42.430Z] $ docker top c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 -eo pid,comm [2022-08-15T23:08:42.494Z] 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-15T23:08:42.494Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T23:08:42.532Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T23:08:42.532Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T23:08:42.663Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T23:08:42.672Z] $ docker exec c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 ssh-agent [2022-08-15T23:08:42.793Z] SSH_AUTH_SOCK=/tmp/ssh-bZ6rEcAiIBAe/agent.33 [2022-08-15T23:08:42.793Z] SSH_AGENT_PID=39 [2022-08-15T23:08:42.800Z] Running ssh-add (command line suppressed) [2022-08-15T23:08:42.929Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4389458560188078347.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4389458560188078347.key) [2022-08-15T23:08:42.942Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T23:08:43.235Z] + git tag --points-at HEAD [Pipeline] } [2022-08-15T23:08:43.261Z] $ docker exec --env ******** --env ******** c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 ssh-agent -k [2022-08-15T23:08:43.380Z] unset SSH_AUTH_SOCK; [2022-08-15T23:08:43.381Z] unset SSH_AGENT_PID; [2022-08-15T23:08:43.381Z] echo Agent pid 39 killed; [2022-08-15T23:08:43.394Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-15T23:08:43.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T23:08:43.419Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T23:08:43.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T23:08:43.581Z] $ docker exec c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 ssh-agent [2022-08-15T23:08:43.714Z] SSH_AUTH_SOCK=/tmp/ssh-BuiwQ1LsPT2V/agent.71 [2022-08-15T23:08:43.714Z] SSH_AGENT_PID=77 [2022-08-15T23:08:43.719Z] Running ssh-add (command line suppressed) [2022-08-15T23:08:43.840Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8052438374553535825.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8052438374553535825.key) [2022-08-15T23:08:43.849Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T23:08:44.139Z] + git semver init [2022-08-15T23:08:44.400Z] 2022-08-15 23:08:44,330 [run_init] DEBUG init version:0.0.0 force:False [2022-08-15T23:08:44.400Z] 2022-08-15 23:08:44,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-08-15T23:08:44.400Z] 2022-08-15 23:08:44,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-08-15T23:08:44.400Z] 2022-08-15 23:08:44,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-15T23:08:45.345Z] 2022-08-15 23:08:45,344 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-08-15T23:08:45.345Z] 2022-08-15 23:08:45,345 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-08-15T23:08:45.345Z] 2022-08-15 23:08:45,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:08:45.345Z] 2022-08-15 23:08:45,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:08:45.345Z] 2.3.0-dev.12 [Pipeline] } [2022-08-15T23:08:45.624Z] $ docker exec --env ******** --env ******** c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 ssh-agent -k [2022-08-15T23:08:45.728Z] unset SSH_AUTH_SOCK; [2022-08-15T23:08:45.728Z] unset SSH_AGENT_PID; [2022-08-15T23:08:45.728Z] echo Agent pid 77 killed; [2022-08-15T23:08:45.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T23:08:46.048Z] + git semver [Pipeline] } [2022-08-15T23:08:46.329Z] $ docker stop --time=1 c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 [2022-08-15T23:08:47.616Z] $ docker rm -f c6d51633d5b95a8eaa38197447e0ed63e5260c8dea64c35fbb571ec51ae2ce50 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T23:08:47.967Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-15T23:08:48.205Z] Stashed 1 file(s) [Pipeline] echo [2022-08-15T23:08:48.208Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.12 [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-15T23:08:48.354Z] provisioning config files... [2022-08-15T23:08:48.365Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4315766943223721879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:08:48.659Z] ---> docker-login.sh [2022-08-15T23:08:48.659Z] nexus3.edgexfoundry.org:10001 [2022-08-15T23:08:48.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:48.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:48.659Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:48.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:48.659Z] [2022-08-15T23:08:48.659Z] Login Succeeded [2022-08-15T23:08:48.659Z] nexus3.edgexfoundry.org:10002 [2022-08-15T23:08:48.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:48.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:48.659Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:48.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:48.659Z] [2022-08-15T23:08:48.659Z] Login Succeeded [2022-08-15T23:08:48.918Z] nexus3.edgexfoundry.org:10003 [2022-08-15T23:08:48.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:48.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:48.918Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:48.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:48.918Z] [2022-08-15T23:08:48.918Z] Login Succeeded [2022-08-15T23:08:48.918Z] nexus3.edgexfoundry.org:10004 [2022-08-15T23:08:48.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:49.178Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:49.178Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:49.178Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:49.178Z] [2022-08-15T23:08:49.178Z] Login Succeeded [2022-08-15T23:08:49.178Z] docker.io [2022-08-15T23:08:49.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:08:49.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:08:49.441Z] Configure a credential helper to remove this warning. See [2022-08-15T23:08:49.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:08:49.441Z] [2022-08-15T23:08:49.441Z] Login Succeeded [2022-08-15T23:08:49.441Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T23:08:49.454Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T23:08:49.519Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T23:08:49.534Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T23:08:49.541Z] ========================================================= [2022-08-15T23:08:49.541Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-15T23:08:49.541Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:08:49.860Z] + 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-15T23:08:49.860Z] Sending build context to Docker daemon 10.7MB [2022-08-15T23:08:49.860Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T23:08:49.860Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T23:08:49.860Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-15T23:08:49.860Z] 2408cc74d12b: Pulling fs layer [2022-08-15T23:08:49.860Z] ea60b727a1ce: Pulling fs layer [2022-08-15T23:08:49.860Z] 30c4a7721957: Pulling fs layer [2022-08-15T23:08:49.860Z] 370296b7ddb6: Pulling fs layer [2022-08-15T23:08:49.860Z] 7c6cee850709: Pulling fs layer [2022-08-15T23:08:49.860Z] 39a5fcdaea64: Pulling fs layer [2022-08-15T23:08:49.860Z] d94ebbe4e438: Pulling fs layer [2022-08-15T23:08:49.860Z] bcfd1f05c69d: Pulling fs layer [2022-08-15T23:08:49.860Z] 59ccb84bbe0f: Pulling fs layer [2022-08-15T23:08:49.860Z] 7c6cee850709: Waiting [2022-08-15T23:08:49.860Z] bcfd1f05c69d: Waiting [2022-08-15T23:08:49.860Z] 59ccb84bbe0f: Waiting [2022-08-15T23:08:49.860Z] 39a5fcdaea64: Waiting [2022-08-15T23:08:49.860Z] d94ebbe4e438: Waiting [2022-08-15T23:08:49.860Z] 370296b7ddb6: Waiting [2022-08-15T23:08:49.860Z] 30c4a7721957: Verifying Checksum [2022-08-15T23:08:49.860Z] 30c4a7721957: Download complete [2022-08-15T23:08:49.860Z] ea60b727a1ce: Download complete [2022-08-15T23:08:50.128Z] 7c6cee850709: Verifying Checksum [2022-08-15T23:08:50.128Z] 7c6cee850709: Download complete [2022-08-15T23:08:50.128Z] 39a5fcdaea64: Verifying Checksum [2022-08-15T23:08:50.128Z] 39a5fcdaea64: Download complete [2022-08-15T23:08:50.128Z] 2408cc74d12b: Verifying Checksum [2022-08-15T23:08:50.128Z] 2408cc74d12b: Download complete [2022-08-15T23:08:50.128Z] d94ebbe4e438: Download complete [2022-08-15T23:08:50.128Z] 2408cc74d12b: Pull complete [2022-08-15T23:08:50.389Z] ea60b727a1ce: Pull complete [2022-08-15T23:08:50.389Z] 30c4a7721957: Pull complete [2022-08-15T23:08:50.961Z] 59ccb84bbe0f: Verifying Checksum [2022-08-15T23:08:50.961Z] 59ccb84bbe0f: Download complete [2022-08-15T23:08:50.961Z] bcfd1f05c69d: Verifying Checksum [2022-08-15T23:08:50.961Z] bcfd1f05c69d: Download complete [2022-08-15T23:08:50.961Z] 370296b7ddb6: Verifying Checksum [2022-08-15T23:08:50.961Z] 370296b7ddb6: Download complete [2022-08-15T23:08:55.155Z] 370296b7ddb6: Pull complete [2022-08-15T23:08:55.155Z] 7c6cee850709: Pull complete [2022-08-15T23:08:55.155Z] 39a5fcdaea64: Pull complete [2022-08-15T23:08:55.155Z] d94ebbe4e438: Pull complete [2022-08-15T23:08:57.692Z] bcfd1f05c69d: Pull complete [2022-08-15T23:08:57.954Z] 59ccb84bbe0f: Pull complete [2022-08-15T23:08:57.954Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-15T23:08:57.954Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-15T23:08:57.954Z] ---> a4fb48ad2a94 [2022-08-15T23:08:57.954Z] Step 3/12 : ARG MAKE='make build' [2022-08-15T23:09:01.260Z] ---> Running in b483edbf37d8 [2022-08-15T23:09:01.260Z] Removing intermediate container b483edbf37d8 [2022-08-15T23:09:01.260Z] ---> a998ce2bf428 [2022-08-15T23:09:01.260Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T23:09:01.260Z] ---> Running in b8402cb3862b [2022-08-15T23:09:01.260Z] Removing intermediate container b8402cb3862b [2022-08-15T23:09:01.260Z] ---> 48f8abfafabe [2022-08-15T23:09:01.260Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T23:09:01.260Z] ---> Running in 1ae3ed912840 [2022-08-15T23:09:01.260Z] Removing intermediate container 1ae3ed912840 [2022-08-15T23:09:01.260Z] ---> 79ca577fdbf9 [2022-08-15T23:09:01.260Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T23:09:01.260Z] ---> Running in 9c32af925cc4 [2022-08-15T23:09:01.833Z] Removing intermediate container 9c32af925cc4 [2022-08-15T23:09:01.833Z] ---> f6aa8482f4ff [2022-08-15T23:09:01.833Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T23:09:01.833Z] ---> Running in 1140df691f69 [2022-08-15T23:09:02.405Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T23:09:03.310Z] Still waiting to schedule task [2022-08-15T23:09:03.311Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-15T23:09:03.349Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T23:09:03.609Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T23:09:03.609Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T23:09:03.609Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T23:09:03.868Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T23:09:03.868Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T23:09:03.868Z] OK: 216 MiB in 55 packages [2022-08-15T23:09:04.440Z] Removing intermediate container 1140df691f69 [2022-08-15T23:09:04.440Z] ---> 6758dee58cba [2022-08-15T23:09:04.440Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-15T23:09:04.440Z] ---> Running in 3fbd473bb194 [2022-08-15T23:09:04.440Z] Removing intermediate container 3fbd473bb194 [2022-08-15T23:09:04.440Z] ---> 98d4e8d99d21 [2022-08-15T23:09:04.440Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T23:09:04.700Z] ---> cfccfab26400 [2022-08-15T23:09:04.700Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T23:09:04.700Z] ---> Running in 87c6d818cdae [2022-08-15T23:09:26.672Z] Removing intermediate container 87c6d818cdae [2022-08-15T23:09:26.672Z] ---> f3892b2447d5 [2022-08-15T23:09:26.672Z] Step 11/12 : COPY . . [2022-08-15T23:09:26.672Z] ---> 1385dda9b078 [2022-08-15T23:09:26.672Z] Step 12/12 : RUN $MAKE [2022-08-15T23:09:26.672Z] ---> Running in 58592a4c5a35 [2022-08-15T23:09:26.672Z] noop [2022-08-15T23:09:26.672Z] Removing intermediate container 58592a4c5a35 [2022-08-15T23:09:26.672Z] ---> 0a27e6efd097 [2022-08-15T23:09:26.672Z] Successfully built 0a27e6efd097 [2022-08-15T23:09:26.672Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:09:26.992Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T23:09:26.993Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:09:27.081Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:09:27.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2022-08-15T23:09:27.499Z] $ docker top 2a595aeacfbed1be07380a95ad2d4f3cc379102243e9001b842c3ec0c516cd4b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T23:09:27.861Z] + go version [2022-08-15T23:09:27.861Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-15T23:09:27.879Z] $ docker stop --time=1 2a595aeacfbed1be07380a95ad2d4f3cc379102243e9001b842c3ec0c516cd4b [2022-08-15T23:09:29.161Z] $ docker rm -f 2a595aeacfbed1be07380a95ad2d4f3cc379102243e9001b842c3ec0c516cd4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:09:29.581Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-15T23:09:29.581Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:09:29.680Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:09:29.767Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2022-08-15T23:09:30.139Z] $ docker top dc841f7f5907d889db53260a572165be172eee99f05b427db4a6c840edf61df6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T23:09:30.490Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-15T23:09:30.789Z] + make test [2022-08-15T23:09:30.789Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T23:09:31.049Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-15T23:09:41.042Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-15T23:09:41.042Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-08-15T23:09:46.319Z] 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-15T23:09:46.579Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T23:09:49.871Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T23:09:49.871Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T23:09:49.871Z] ./bin/test-attribution-txt.sh [2022-08-15T23:09:49.871Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T23:09:49.871Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T23:09:49.871Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T23:09:49.885Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T23:09:49.902Z] $ docker stop --time=1 dc841f7f5907d889db53260a572165be172eee99f05b427db4a6c840edf61df6 [2022-08-15T23:09:52.021Z] $ docker rm -f dc841f7f5907d889db53260a572165be172eee99f05b427db4a6c840edf61df6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T23:09:52.469Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T23:09:52.513Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-15T23:09:53.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T23:09:53.307Z] + ls -al . [2022-08-15T23:09:53.307Z] total 172 [2022-08-15T23:09:53.307Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 15 23:09 . [2022-08-15T23:09:53.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 23:08 .. [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 23:08 .dockerignore [2022-08-15T23:09:53.307Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 23:09 .git [2022-08-15T23:09:53.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 23:08 .github [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 23:08 .gitignore [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 23:08 .golangci.yml [2022-08-15T23:09:53.307Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 23:08 .semver [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 15 23:08 Attribution.txt [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 15 23:08 CHANGELOG.md [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 15 23:08 Dockerfile [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 23:08 GOVERNANCE.md [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 23:08 Jenkinsfile [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 23:08 LICENSE [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 15 23:08 Makefile [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 23:08 OWNERS.md [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 15 23:08 README.md [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 23:08 VERSION [2022-08-15T23:09:53.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 23:08 bin [2022-08-15T23:09:53.307Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 23:08 cmd [2022-08-15T23:09:53.307Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 15 23:09 coverage.out [2022-08-15T23:09:53.307Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 23:08 driver [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 15 23:08 go.mod [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 23:08 go.sum [2022-08-15T23:09:53.307Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 23:08 snap [2022-08-15T23:09:53.307Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 23:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:09:53.628Z] + 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=3bfa2c7cebef17aba10611e718aa3e6714bdeddd --label arch=amd64 --label version=2.3.0-dev.12 . [2022-08-15T23:09:53.628Z] Sending build context to Docker daemon 10.71MB [2022-08-15T23:09:53.628Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T23:09:53.628Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-15T23:09:53.628Z] ---> 0a27e6efd097 [2022-08-15T23:09:53.628Z] Step 3/25 : ARG MAKE='make build' [2022-08-15T23:09:53.893Z] ---> Running in 31347597f88e [2022-08-15T23:09:53.893Z] Removing intermediate container 31347597f88e [2022-08-15T23:09:53.893Z] ---> 4407f2ac724c [2022-08-15T23:09:53.893Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T23:09:53.893Z] ---> Running in 50be3cbf4135 [2022-08-15T23:09:53.893Z] Removing intermediate container 50be3cbf4135 [2022-08-15T23:09:53.893Z] ---> 0d27838f7689 [2022-08-15T23:09:53.893Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T23:09:54.162Z] ---> Running in ef2fa1068f62 [2022-08-15T23:09:54.162Z] Removing intermediate container ef2fa1068f62 [2022-08-15T23:09:54.162Z] ---> 2c023ca05eb8 [2022-08-15T23:09:54.162Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T23:09:54.162Z] ---> Running in 2f083400b2d8 [2022-08-15T23:09:54.732Z] Removing intermediate container 2f083400b2d8 [2022-08-15T23:09:54.732Z] ---> 31e8fa118391 [2022-08-15T23:09:54.732Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T23:09:54.732Z] ---> Running in e21941fbc1d4 [2022-08-15T23:09:54.994Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T23:09:55.934Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T23:09:56.198Z] OK: 216 MiB in 55 packages [2022-08-15T23:09:56.459Z] Removing intermediate container e21941fbc1d4 [2022-08-15T23:09:56.459Z] ---> 8350314f6169 [2022-08-15T23:09:56.459Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-15T23:09:56.459Z] ---> Running in 97b253ef5b71 [2022-08-15T23:09:56.720Z] Removing intermediate container 97b253ef5b71 [2022-08-15T23:09:56.720Z] ---> 8f21a709a492 [2022-08-15T23:09:56.720Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-15T23:09:56.720Z] ---> c1a2068d5614 [2022-08-15T23:09:56.720Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T23:09:56.720Z] ---> Running in bd15344e93df [2022-08-15T23:09:57.293Z] Removing intermediate container bd15344e93df [2022-08-15T23:09:57.293Z] ---> 9a51d41648f3 [2022-08-15T23:09:57.293Z] Step 11/25 : COPY . . [2022-08-15T23:09:57.864Z] ---> 51e9611d54ec [2022-08-15T23:09:57.864Z] Step 12/25 : RUN $MAKE [2022-08-15T23:09:57.864Z] ---> Running in 775e5c6bdd97 [2022-08-15T23:09:58.124Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-08-15T23:10:20.084Z] Removing intermediate container 775e5c6bdd97 [2022-08-15T23:10:20.084Z] ---> 03c3c4979596 [2022-08-15T23:10:20.084Z] Step 13/25 : FROM alpine:3.16 [2022-08-15T23:10:20.084Z] 3.16: Pulling from library/alpine [2022-08-15T23:10:20.084Z] 213ec9aee27d: Pulling fs layer [2022-08-15T23:10:20.084Z] 213ec9aee27d: Verifying Checksum [2022-08-15T23:10:20.084Z] 213ec9aee27d: Download complete [2022-08-15T23:10:20.084Z] 213ec9aee27d: Pull complete [2022-08-15T23:10:20.084Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T23:10:20.084Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T23:10:20.084Z] ---> 9c6f07244728 [2022-08-15T23:10:20.084Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-15T23:10:20.084Z] ---> Running in 30ebed1f06b6 [2022-08-15T23:10:20.084Z] Removing intermediate container 30ebed1f06b6 [2022-08-15T23:10:20.084Z] ---> 6dbf953c1924 [2022-08-15T23:10:20.084Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-15T23:10:20.084Z] ---> Running in 5b2501c66cd9 [2022-08-15T23:10:20.084Z] Removing intermediate container 5b2501c66cd9 [2022-08-15T23:10:20.084Z] ---> 823825d23f79 [2022-08-15T23:10:20.084Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T23:10:20.084Z] ---> Running in b32d099b2799 [2022-08-15T23:10:20.343Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-15T23:10:20.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-15T23:10:20.604Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T23:10:20.604Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T23:10:20.604Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T23:10:20.604Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T23:10:20.604Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T23:10:20.604Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T23:10:20.604Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T23:10:20.867Z] OK: 8 MiB in 20 packages [2022-08-15T23:10:21.128Z] Removing intermediate container b32d099b2799 [2022-08-15T23:10:21.128Z] ---> f8de84e04984 [2022-08-15T23:10:21.128Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-15T23:10:21.698Z] ---> 3cca36e54133 [2022-08-15T23:10:21.698Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-15T23:10:21.960Z] ---> 9de44a4921df [2022-08-15T23:10:21.960Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-15T23:10:21.960Z] ---> 48efe6dd9832 [2022-08-15T23:10:21.960Z] Step 20/25 : EXPOSE 59986 [2022-08-15T23:10:21.960Z] ---> Running in 3bbc6775621c [2022-08-15T23:10:22.221Z] Removing intermediate container 3bbc6775621c [2022-08-15T23:10:22.221Z] ---> a3bda0bba42b [2022-08-15T23:10:22.221Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-15T23:10:22.221Z] ---> Running in de93fbbb71ab [2022-08-15T23:10:22.221Z] Removing intermediate container de93fbbb71ab [2022-08-15T23:10:22.221Z] ---> fd078cb46fb8 [2022-08-15T23:10:22.221Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-15T23:10:22.221Z] ---> Running in 24070a9b90ed [2022-08-15T23:10:22.221Z] Removing intermediate container 24070a9b90ed [2022-08-15T23:10:22.221Z] ---> 9f44857d05c3 [2022-08-15T23:10:22.221Z] Step 23/25 : LABEL arch=amd64 [2022-08-15T23:10:22.482Z] ---> Running in 3ce5baf046e9 [2022-08-15T23:10:22.482Z] Removing intermediate container 3ce5baf046e9 [2022-08-15T23:10:22.482Z] ---> 293cfe856e3f [2022-08-15T23:10:22.482Z] Step 24/25 : LABEL git_sha=3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:10:22.482Z] ---> Running in 1331d935a063 [2022-08-15T23:10:22.482Z] Removing intermediate container 1331d935a063 [2022-08-15T23:10:22.482Z] ---> 0653db05b021 [2022-08-15T23:10:22.482Z] Step 25/25 : LABEL version=2.3.0-dev.12 [2022-08-15T23:10:22.482Z] ---> Running in 870b10a97aa6 [2022-08-15T23:10:22.742Z] Removing intermediate container 870b10a97aa6 [2022-08-15T23:10:22.742Z] ---> c4066f2cff9d [2022-08-15T23:10:22.742Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T23:10:22.742Z] Successfully built c4066f2cff9d [2022-08-15T23:10:22.742Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T23:10:22.820Z] provisioning config files... [2022-08-15T23:10:22.830Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1787137462187516164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:10:23.128Z] ---> docker-login.sh [2022-08-15T23:10:23.128Z] nexus3.edgexfoundry.org:10001 [2022-08-15T23:10:23.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:10:23.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:10:23.128Z] Configure a credential helper to remove this warning. See [2022-08-15T23:10:23.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:10:23.128Z] [2022-08-15T23:10:23.128Z] Login Succeeded [2022-08-15T23:10:23.128Z] nexus3.edgexfoundry.org:10002 [2022-08-15T23:10:23.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:10:23.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:10:23.389Z] Configure a credential helper to remove this warning. See [2022-08-15T23:10:23.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:10:23.389Z] [2022-08-15T23:10:23.389Z] Login Succeeded [2022-08-15T23:10:23.389Z] nexus3.edgexfoundry.org:10003 [2022-08-15T23:10:23.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:10:23.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:10:23.390Z] Configure a credential helper to remove this warning. See [2022-08-15T23:10:23.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:10:23.390Z] [2022-08-15T23:10:23.390Z] Login Succeeded [2022-08-15T23:10:23.390Z] nexus3.edgexfoundry.org:10004 [2022-08-15T23:10:23.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:10:23.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:10:23.649Z] Configure a credential helper to remove this warning. See [2022-08-15T23:10:23.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:10:23.649Z] [2022-08-15T23:10:23.649Z] Login Succeeded [2022-08-15T23:10:23.649Z] docker.io [2022-08-15T23:10:23.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:10:23.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:10:23.911Z] Configure a credential helper to remove this warning. See [2022-08-15T23:10:23.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:10:23.911Z] [2022-08-15T23:10:23.911Z] Login Succeeded [2022-08-15T23:10:23.911Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T23:10:23.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T23:10:23.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T23:10:23.971Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-08-15T23:10:23.971Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:10:23.971Z] latest [2022-08-15T23:10:23.971Z] 2.3.0-dev.12 [2022-08-15T23:10:23.971Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [2022-08-15T23:10:23.971Z] main [2022-08-15T23:10:23.971Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:24.298Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:24.612Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:10:24.612Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-15T23:10:24.612Z] bf3d82d4b255: Preparing [2022-08-15T23:10:24.612Z] 3167d5a75a9c: Preparing [2022-08-15T23:10:24.612Z] 4fe490e7fab9: Preparing [2022-08-15T23:10:24.612Z] cc41150b1c8e: Preparing [2022-08-15T23:10:24.612Z] 994393dc58e7: Preparing [2022-08-15T23:10:24.612Z] 994393dc58e7: Layer already exists [2022-08-15T23:10:24.612Z] 3167d5a75a9c: Pushed [2022-08-15T23:10:24.612Z] bf3d82d4b255: Pushed [2022-08-15T23:10:25.182Z] cc41150b1c8e: Pushed [2022-08-15T23:10:27.726Z] 4fe490e7fab9: Pushed [2022-08-15T23:10:27.726Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:28.043Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:28.352Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-08-15T23:10:28.352Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-15T23:10:28.352Z] bf3d82d4b255: Preparing [2022-08-15T23:10:28.352Z] 3167d5a75a9c: Preparing [2022-08-15T23:10:28.352Z] 4fe490e7fab9: Preparing [2022-08-15T23:10:28.352Z] cc41150b1c8e: Preparing [2022-08-15T23:10:28.352Z] 994393dc58e7: Preparing [2022-08-15T23:10:28.352Z] 4fe490e7fab9: Layer already exists [2022-08-15T23:10:28.352Z] 3167d5a75a9c: Layer already exists [2022-08-15T23:10:28.352Z] 994393dc58e7: Layer already exists [2022-08-15T23:10:28.353Z] bf3d82d4b255: Layer already exists [2022-08-15T23:10:28.353Z] cc41150b1c8e: Layer already exists [2022-08-15T23:10:28.353Z] latest: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:28.677Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:28.991Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.12 [2022-08-15T23:10:28.991Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-15T23:10:28.991Z] bf3d82d4b255: Preparing [2022-08-15T23:10:28.991Z] 3167d5a75a9c: Preparing [2022-08-15T23:10:28.991Z] 4fe490e7fab9: Preparing [2022-08-15T23:10:28.991Z] cc41150b1c8e: Preparing [2022-08-15T23:10:28.991Z] 994393dc58e7: Preparing [2022-08-15T23:10:28.991Z] 994393dc58e7: Layer already exists [2022-08-15T23:10:28.991Z] 4fe490e7fab9: Layer already exists [2022-08-15T23:10:28.991Z] bf3d82d4b255: Layer already exists [2022-08-15T23:10:28.991Z] cc41150b1c8e: Layer already exists [2022-08-15T23:10:28.991Z] 3167d5a75a9c: Layer already exists [2022-08-15T23:10:28.991Z] 2.3.0-dev.12: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:29.316Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:29.630Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [2022-08-15T23:10:29.630Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-15T23:10:29.630Z] bf3d82d4b255: Preparing [2022-08-15T23:10:29.630Z] 3167d5a75a9c: Preparing [2022-08-15T23:10:29.630Z] 4fe490e7fab9: Preparing [2022-08-15T23:10:29.630Z] cc41150b1c8e: Preparing [2022-08-15T23:10:29.630Z] 994393dc58e7: Preparing [2022-08-15T23:10:29.630Z] 4fe490e7fab9: Layer already exists [2022-08-15T23:10:29.630Z] 994393dc58e7: Layer already exists [2022-08-15T23:10:29.630Z] 3167d5a75a9c: Layer already exists [2022-08-15T23:10:29.630Z] cc41150b1c8e: Layer already exists [2022-08-15T23:10:29.630Z] bf3d82d4b255: Layer already exists [2022-08-15T23:10:29.630Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:29.960Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:30.270Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-08-15T23:10:30.270Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-15T23:10:30.270Z] bf3d82d4b255: Preparing [2022-08-15T23:10:30.270Z] 3167d5a75a9c: Preparing [2022-08-15T23:10:30.270Z] 4fe490e7fab9: Preparing [2022-08-15T23:10:30.270Z] cc41150b1c8e: Preparing [2022-08-15T23:10:30.270Z] 994393dc58e7: Preparing [2022-08-15T23:10:30.270Z] bf3d82d4b255: Layer already exists [2022-08-15T23:10:30.270Z] 994393dc58e7: Layer already exists [2022-08-15T23:10:30.270Z] cc41150b1c8e: Layer already exists [2022-08-15T23:10:30.270Z] 3167d5a75a9c: Layer already exists [2022-08-15T23:10:30.270Z] 4fe490e7fab9: Layer already exists [2022-08-15T23:10:30.270Z] main: digest: sha256:62d3053b2f272ffeeea76ecf102567227e7841e48788b7df150074534e2c5194 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T23:10:30.315Z] ===================================================== [Pipeline] echo [2022-08-15T23:10:30.324Z] taggedImages: [2022-08-15T23:10:30.324Z] - nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:10:30.324Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-08-15T23:10:30.324Z] - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.12 [2022-08-15T23:10:30.324Z] - nexus3.edgexfoundry.org:10004/device-rest:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [2022-08-15T23:10:30.324Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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-15T23:10:30.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T23:10:30.685Z] [2022-08-15T23:10:30.685Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:10:31.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T23:10:31.000Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-15T23:10:31.000Z] 5eb5b503b376: Pulling fs layer [2022-08-15T23:10:31.000Z] 5c69ac0246d0: Pulling fs layer [2022-08-15T23:10:31.000Z] ec43610c2a17: Pulling fs layer [2022-08-15T23:10:31.000Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-15T23:10:31.000Z] 33b1e0a273af: Pulling fs layer [2022-08-15T23:10:31.000Z] 5d3b04190fa2: Pulling fs layer [2022-08-15T23:10:31.000Z] 2f39f015ded8: Pulling fs layer [2022-08-15T23:10:31.000Z] 3a2ae6a8a46f: Waiting [2022-08-15T23:10:31.000Z] 33b1e0a273af: Waiting [2022-08-15T23:10:31.000Z] 2f39f015ded8: Waiting [2022-08-15T23:10:31.000Z] 5d3b04190fa2: Waiting [2022-08-15T23:10:31.000Z] 5c69ac0246d0: Verifying Checksum [2022-08-15T23:10:31.000Z] 5c69ac0246d0: Download complete [2022-08-15T23:10:31.000Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-15T23:10:31.000Z] 3a2ae6a8a46f: Download complete [2022-08-15T23:10:31.000Z] 33b1e0a273af: Verifying Checksum [2022-08-15T23:10:31.000Z] 33b1e0a273af: Download complete [2022-08-15T23:10:31.000Z] 5d3b04190fa2: Verifying Checksum [2022-08-15T23:10:31.000Z] 5d3b04190fa2: Download complete [2022-08-15T23:10:31.259Z] ec43610c2a17: Verifying Checksum [2022-08-15T23:10:31.259Z] ec43610c2a17: Download complete [2022-08-15T23:10:31.259Z] 5eb5b503b376: Verifying Checksum [2022-08-15T23:10:31.259Z] 5eb5b503b376: Download complete [2022-08-15T23:10:31.828Z] 2f39f015ded8: Download complete [2022-08-15T23:10:32.773Z] 5eb5b503b376: Pull complete [2022-08-15T23:10:32.773Z] 5c69ac0246d0: Pull complete [2022-08-15T23:10:33.350Z] ec43610c2a17: Pull complete [2022-08-15T23:10:33.610Z] 3a2ae6a8a46f: Pull complete [2022-08-15T23:10:33.610Z] 33b1e0a273af: Pull complete [2022-08-15T23:10:33.868Z] 5d3b04190fa2: Pull complete [2022-08-15T23:10:38.681Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22866 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-08-15T23:10:38.694Z] Running in /w/workspace/device-rest-go/56 [Pipeline] { [Pipeline] checkout [2022-08-15T23:10:38.725Z] The recommended git tool is: git [2022-08-15T23:10:39.223Z] 2f39f015ded8: Pull complete [2022-08-15T23:10:39.223Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-15T23:10:39.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T23:10:39.223Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:10:39.307Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:10:39.346Z] $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-15T23:10:42.108Z] $ docker top 5fea9cdf9ba25e4b406e247ca07f516b77472aa6fae89a8c644256c933bdf557 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:10:42.515Z] ---> job-cost.sh [2022-08-15T23:10:42.515Z] lf-activate-venv: SKIPPING [2022-08-15T23:10:42.515Z] INFO: No Stack... [2022-08-15T23:10:42.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T23:10:43.347Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T23:10:43.640Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-08-15T23:10:43.640Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T23:10:43.653Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [2022-08-15T23:10:43.660Z] Resource [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] did not exist. Created. [2022-08-15T23:10:43.660Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T23:10:43.961Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-15T23:10:43.991Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T23:10:43.997Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T23:10:44.017Z] $ docker stop --time=1 5fea9cdf9ba25e4b406e247ca07f516b77472aa6fae89a8c644256c933bdf557 [2022-08-15T23:10:44.584Z] using credential edgex-jenkins-ssh [2022-08-15T23:10:44.603Z] Cloning the remote Git repository [2022-08-15T23:10:45.191Z] $ docker rm -f 5fea9cdf9ba25e4b406e247ca07f516b77472aa6fae89a8c644256c933bdf557 [Pipeline] // withDockerContainer [2022-08-15T23:10:44.662Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-08-15T23:10:44.733Z] > git init /w/workspace/device-rest-go/56 # timeout=10 [2022-08-15T23:10:44.819Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-15T23:10:44.821Z] > git --version # timeout=10 [2022-08-15T23:10:44.843Z] > git --version # 'git version 2.25.1' [2022-08-15T23:10:44.845Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-15T23:10:44.904Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-15T23:10:46.749Z] Avoid second fetch [2022-08-15T23:10:46.750Z] Checking out Revision 3bfa2c7cebef17aba10611e718aa3e6714bdeddd (main) [2022-08-15T23:10:46.719Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-15T23:10:46.735Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-15T23:10:46.773Z] > git config core.sparsecheckout # timeout=10 [2022-08-15T23:10:46.789Z] > git checkout -f 3bfa2c7cebef17aba10611e718aa3e6714bdeddd # timeout=10 [2022-08-15T23:10:50.943Z] Commit message: "Merge pull request #210 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.19" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T23:10:51.839Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-15T23:10:51.839Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T23:10:51.839Z] Dload Upload Total Spent Left Speed [2022-08-15T23:10:51.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 94137 0 --:--:-- --:--:-- --:--:-- 94137 [Pipeline] sh [2022-08-15T23:10:52.538Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-15T23:10:52.896Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-15T23:10:52.896Z] + sudo tee /etc/docker/daemon.new [2022-08-15T23:10:52.896Z] { [2022-08-15T23:10:52.896Z] "registry-mirrors": [ [2022-08-15T23:10:52.896Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-15T23:10:52.896Z] ], [2022-08-15T23:10:52.896Z] "bip": "10.250.0.254/24", [2022-08-15T23:10:52.896Z] "hosts": [ [2022-08-15T23:10:52.896Z] "tcp://0.0.0.0:5555", [2022-08-15T23:10:52.896Z] "unix:///var/run/docker.sock" [2022-08-15T23:10:52.896Z] ], [2022-08-15T23:10:52.896Z] "mtu": 1458, [2022-08-15T23:10:52.897Z] "selinux-enabled": true, [2022-08-15T23:10:52.897Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-15T23:10:52.897Z] } [Pipeline] sh [2022-08-15T23:10:53.266Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-15T23:10:53.678Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T23:11:12.032Z] provisioning config files... [2022-08-15T23:11:12.057Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/56@tmp/config2040198388988807077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:11:12.574Z] ---> docker-login.sh [2022-08-15T23:11:12.575Z] nexus3.edgexfoundry.org:10001 [2022-08-15T23:11:13.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:11:13.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:11:13.450Z] Configure a credential helper to remove this warning. See [2022-08-15T23:11:13.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:11:13.450Z] [2022-08-15T23:11:13.450Z] Login Succeeded [2022-08-15T23:11:13.450Z] nexus3.edgexfoundry.org:10002 [2022-08-15T23:11:13.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:11:14.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:11:14.000Z] Configure a credential helper to remove this warning. See [2022-08-15T23:11:14.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:11:14.000Z] [2022-08-15T23:11:14.000Z] Login Succeeded [2022-08-15T23:11:14.000Z] nexus3.edgexfoundry.org:10003 [2022-08-15T23:11:14.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:11:14.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:11:14.276Z] Configure a credential helper to remove this warning. See [2022-08-15T23:11:14.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:11:14.276Z] [2022-08-15T23:11:14.276Z] Login Succeeded [2022-08-15T23:11:14.276Z] nexus3.edgexfoundry.org:10004 [2022-08-15T23:11:14.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:11:14.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:11:14.877Z] Configure a credential helper to remove this warning. See [2022-08-15T23:11:14.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:11:14.877Z] [2022-08-15T23:11:14.877Z] Login Succeeded [2022-08-15T23:11:14.877Z] docker.io [2022-08-15T23:11:15.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:11:15.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:11:15.420Z] Configure a credential helper to remove this warning. See [2022-08-15T23:11:15.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:11:15.420Z] [2022-08-15T23:11:15.420Z] Login Succeeded [2022-08-15T23:11:15.420Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T23:11:15.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-15T23:11:15.691Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T23:11:15.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T23:11:15.709Z] ========================================================= [2022-08-15T23:11:15.709Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-15T23:11:15.709Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:11:16.068Z] + 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-15T23:11:16.068Z] Sending build context to Docker daemon 126kB [2022-08-15T23:11:16.347Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T23:11:16.347Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-15T23:11:16.625Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-15T23:11:16.625Z] b3c136eddcbf: Pulling fs layer [2022-08-15T23:11:16.625Z] c0a3192eca97: Pulling fs layer [2022-08-15T23:11:16.625Z] a050256f5b6f: Pulling fs layer [2022-08-15T23:11:16.625Z] 656be50a0ddc: Pulling fs layer [2022-08-15T23:11:16.625Z] 2bbca73fdf42: Pulling fs layer [2022-08-15T23:11:16.625Z] 46d945488cbd: Pulling fs layer [2022-08-15T23:11:16.625Z] 8a5474983e97: Pulling fs layer [2022-08-15T23:11:16.625Z] 329c88fbcd65: Pulling fs layer [2022-08-15T23:11:16.625Z] 46d945488cbd: Waiting [2022-08-15T23:11:16.625Z] 8a5474983e97: Waiting [2022-08-15T23:11:16.625Z] 656be50a0ddc: Waiting [2022-08-15T23:11:16.625Z] 2bbca73fdf42: Waiting [2022-08-15T23:11:16.625Z] 329c88fbcd65: Waiting [2022-08-15T23:11:16.625Z] a050256f5b6f: Verifying Checksum [2022-08-15T23:11:16.625Z] a050256f5b6f: Download complete [2022-08-15T23:11:16.625Z] c0a3192eca97: Download complete [2022-08-15T23:11:16.625Z] 2bbca73fdf42: Verifying Checksum [2022-08-15T23:11:16.625Z] 2bbca73fdf42: Download complete [2022-08-15T23:11:16.625Z] 46d945488cbd: Download complete [2022-08-15T23:11:16.625Z] b3c136eddcbf: Verifying Checksum [2022-08-15T23:11:17.617Z] b3c136eddcbf: Pull complete [2022-08-15T23:11:17.617Z] 329c88fbcd65: Verifying Checksum [2022-08-15T23:11:17.617Z] 329c88fbcd65: Download complete [2022-08-15T23:11:18.221Z] c0a3192eca97: Pull complete [2022-08-15T23:11:18.509Z] a050256f5b6f: Pull complete [2022-08-15T23:11:18.789Z] 8a5474983e97: Verifying Checksum [2022-08-15T23:11:18.789Z] 8a5474983e97: Download complete [2022-08-15T23:11:19.387Z] 656be50a0ddc: Verifying Checksum [2022-08-15T23:11:19.387Z] 656be50a0ddc: Download complete [2022-08-15T23:11:34.497Z] 656be50a0ddc: Pull complete [2022-08-15T23:11:34.497Z] 2bbca73fdf42: Pull complete [2022-08-15T23:11:34.497Z] 46d945488cbd: Pull complete [2022-08-15T23:11:39.911Z] 8a5474983e97: Pull complete [2022-08-15T23:11:41.346Z] 329c88fbcd65: Pull complete [2022-08-15T23:11:41.346Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-15T23:11:41.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-15T23:11:41.346Z] ---> ff4287adb874 [2022-08-15T23:11:41.346Z] Step 3/12 : ARG MAKE='make build' [2022-08-15T23:11:41.943Z] ---> Running in 66d5e988070a [2022-08-15T23:11:42.217Z] Removing intermediate container 66d5e988070a [2022-08-15T23:11:42.217Z] ---> 2a59cf8001c2 [2022-08-15T23:11:42.217Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T23:11:42.217Z] ---> Running in 472a704966e6 [2022-08-15T23:11:42.489Z] Removing intermediate container 472a704966e6 [2022-08-15T23:11:42.489Z] ---> 9fb16db4d2a6 [2022-08-15T23:11:42.489Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T23:11:42.763Z] ---> Running in bf120ecbea6d [2022-08-15T23:11:43.038Z] Removing intermediate container bf120ecbea6d [2022-08-15T23:11:43.038Z] ---> 057ce0b95cd3 [2022-08-15T23:11:43.038Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T23:11:43.038Z] ---> Running in 4fc2b60f55c9 [2022-08-15T23:11:46.441Z] Removing intermediate container 4fc2b60f55c9 [2022-08-15T23:11:46.441Z] ---> 845b29c87da0 [2022-08-15T23:11:46.441Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T23:11:46.441Z] ---> Running in cb39ed569588 [2022-08-15T23:11:47.042Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T23:11:48.019Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T23:11:48.616Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-15T23:11:48.888Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-15T23:11:48.889Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-15T23:11:49.164Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-15T23:11:49.164Z] Executing busybox-1.35.0-r13.trigger [2022-08-15T23:11:49.164Z] OK: 226 MiB in 55 packages [2022-08-15T23:11:50.146Z] Removing intermediate container cb39ed569588 [2022-08-15T23:11:50.146Z] ---> 86b4a33a5290 [2022-08-15T23:11:50.146Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-15T23:11:50.146Z] ---> Running in c1238b60924a [2022-08-15T23:11:50.419Z] Removing intermediate container c1238b60924a [2022-08-15T23:11:50.419Z] ---> f927d96adbeb [2022-08-15T23:11:50.419Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-15T23:11:51.016Z] ---> 472698a55cb6 [2022-08-15T23:11:51.016Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T23:11:51.016Z] ---> Running in f0ba1ab96738 [2022-08-15T23:12:47.570Z] Removing intermediate container f0ba1ab96738 [2022-08-15T23:12:47.570Z] ---> 9d90305d418e [2022-08-15T23:12:47.570Z] Step 11/12 : COPY . . [2022-08-15T23:12:47.570Z] ---> 726602221132 [2022-08-15T23:12:47.570Z] Step 12/12 : RUN $MAKE [2022-08-15T23:12:47.570Z] ---> Running in 3e7eec647bba [2022-08-15T23:12:47.570Z] noop [2022-08-15T23:12:47.570Z] Removing intermediate container 3e7eec647bba [2022-08-15T23:12:47.570Z] ---> c5d14560d81c [2022-08-15T23:12:47.570Z] Successfully built c5d14560d81c [2022-08-15T23:12:47.570Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:12:47.935Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T23:12:47.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:12:48.166Z] prd-ubuntu20.04-docker-arm64-4c-16g-22866 does not seem to be running inside a container [2022-08-15T23:12:48.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@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 ******** ci-base-image-arm64 cat [2022-08-15T23:12:49.579Z] $ docker top 505d4bc6e6f83a81bb79f52684e9b9f34b95344f444082fcd4f4d33a24097c7c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T23:12:50.476Z] + go version [2022-08-15T23:12:50.476Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-15T23:12:50.509Z] $ docker stop --time=1 505d4bc6e6f83a81bb79f52684e9b9f34b95344f444082fcd4f4d33a24097c7c [2022-08-15T23:12:52.151Z] $ docker rm -f 505d4bc6e6f83a81bb79f52684e9b9f34b95344f444082fcd4f4d33a24097c7c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:12:52.787Z] + docker inspect -f . ci-base-image-arm64 [2022-08-15T23:12:52.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:12:53.045Z] prd-ubuntu20.04-docker-arm64-4c-16g-22866 does not seem to be running inside a container [2022-08-15T23:12:53.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@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 ******** ci-base-image-arm64 cat [2022-08-15T23:12:54.415Z] $ docker top 26b4d996291bd15326e667615db9c73345ecd253b9c92415a612e7c7d7c1cbbe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T23:12:55.299Z] + git config --global --add safe.directory /w/workspace/device-rest-go/56 [Pipeline] fileExists [Pipeline] sh [2022-08-15T23:12:55.970Z] + make test [2022-08-15T23:12:55.970Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-15T23:12:57.415Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-15T23:14:19.263Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-15T23:14:19.263Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 55.2% of statements [2022-08-15T23:14:19.263Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-15T23:14:19.263Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-15T23:14:37.632Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-15T23:14:37.632Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-15T23:14:37.632Z] ./bin/test-attribution-txt.sh [2022-08-15T23:14:37.632Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-15T23:14:37.632Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-15T23:14:37.632Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-15T23:14:37.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-15T23:14:37.678Z] $ docker stop --time=1 26b4d996291bd15326e667615db9c73345ecd253b9c92415a612e7c7d7c1cbbe [2022-08-15T23:14:39.444Z] $ docker rm -f 26b4d996291bd15326e667615db9c73345ecd253b9c92415a612e7c7d7c1cbbe [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T23:14:40.401Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-15T23:14:40.421Z] Warning: overwriting stash ‘coverage-report’ [2022-08-15T23:14:40.871Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-15T23:14:41.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-15T23:14:41.591Z] + ls -al . [2022-08-15T23:14:41.591Z] total 168 [2022-08-15T23:14:41.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 23:12 . [2022-08-15T23:14:41.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 23:10 .. [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 15 23:10 .dockerignore [2022-08-15T23:14:41.591Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 15 23:10 .git [2022-08-15T23:14:41.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 23:10 .github [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 15 23:10 .gitignore [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 15 23:10 .golangci.yml [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 15 23:10 Attribution.txt [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 15 23:10 CHANGELOG.md [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 15 23:10 Dockerfile [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 15 23:10 GOVERNANCE.md [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 15 23:10 Jenkinsfile [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 15 23:10 LICENSE [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 15 23:10 Makefile [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 15 23:10 OWNERS.md [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 15 23:10 README.md [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 15 23:08 VERSION [2022-08-15T23:14:41.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 23:10 bin [2022-08-15T23:14:41.591Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 15 23:10 cmd [2022-08-15T23:14:41.591Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 15 23:14 coverage.out [2022-08-15T23:14:41.591Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 15 23:10 driver [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 15 23:10 go.mod [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 15 23:10 go.sum [2022-08-15T23:14:41.591Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 15 23:10 snap [2022-08-15T23:14:41.591Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 15 23:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:14:41.951Z] + 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=3bfa2c7cebef17aba10611e718aa3e6714bdeddd --label arch=arm64 --label version=2.3.0-dev.12 . [2022-08-15T23:14:41.951Z] Sending build context to Docker daemon 136.2kB [2022-08-15T23:14:42.225Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-15T23:14:42.225Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-15T23:14:42.225Z] ---> c5d14560d81c [2022-08-15T23:14:42.225Z] Step 3/25 : ARG MAKE='make build' [2022-08-15T23:14:42.225Z] ---> Running in d72d1591544f [2022-08-15T23:14:42.495Z] Removing intermediate container d72d1591544f [2022-08-15T23:14:42.495Z] ---> a989e39e97a7 [2022-08-15T23:14:42.495Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-15T23:14:42.768Z] ---> Running in f7cce27a7c7c [2022-08-15T23:14:43.044Z] Removing intermediate container f7cce27a7c7c [2022-08-15T23:14:43.044Z] ---> 64bf7c1ee5c3 [2022-08-15T23:14:43.044Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-15T23:14:43.044Z] ---> Running in bde4d8e0a25a [2022-08-15T23:14:43.321Z] Removing intermediate container bde4d8e0a25a [2022-08-15T23:14:43.321Z] ---> c80eaf3a8d79 [2022-08-15T23:14:43.321Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-15T23:14:43.321Z] ---> Running in ca63f555de35 [2022-08-15T23:14:45.395Z] Removing intermediate container ca63f555de35 [2022-08-15T23:14:45.395Z] ---> a481916b74a9 [2022-08-15T23:14:45.395Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-15T23:14:45.395Z] ---> Running in 127b3a2314d3 [2022-08-15T23:14:46.411Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T23:14:47.004Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T23:14:47.974Z] OK: 226 MiB in 55 packages [2022-08-15T23:14:48.967Z] Removing intermediate container 127b3a2314d3 [2022-08-15T23:14:48.967Z] ---> f232a4e6ce9c [2022-08-15T23:14:48.967Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-15T23:14:48.967Z] ---> Running in 9199536bd8af [2022-08-15T23:14:49.241Z] Removing intermediate container 9199536bd8af [2022-08-15T23:14:49.241Z] ---> ddd808b0c9bc [2022-08-15T23:14:49.241Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-15T23:14:49.540Z] ---> db89868b58cc [2022-08-15T23:14:49.540Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-15T23:14:49.815Z] ---> Running in f0d2f328afca [2022-08-15T23:14:51.803Z] Removing intermediate container f0d2f328afca [2022-08-15T23:14:51.803Z] ---> 9962fa1a13d0 [2022-08-15T23:14:51.803Z] Step 11/25 : COPY . . [2022-08-15T23:14:52.415Z] ---> 5a3f551bf103 [2022-08-15T23:14:52.416Z] Step 12/25 : RUN $MAKE [2022-08-15T23:14:52.416Z] ---> Running in 52fa13cfb87f [2022-08-15T23:14:53.403Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.12" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-08-15T23:17:00.303Z] Removing intermediate container 52fa13cfb87f [2022-08-15T23:17:00.303Z] ---> 7ad5bacc967a [2022-08-15T23:17:00.303Z] Step 13/25 : FROM alpine:3.16 [2022-08-15T23:17:00.303Z] 3.16: Pulling from library/alpine [2022-08-15T23:17:00.303Z] 9b18e9b68314: Pulling fs layer [2022-08-15T23:17:00.303Z] 9b18e9b68314: Download complete [2022-08-15T23:17:00.303Z] 9b18e9b68314: Pull complete [2022-08-15T23:17:00.303Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-15T23:17:00.303Z] Status: Downloaded newer image for alpine:3.16 [2022-08-15T23:17:00.303Z] ---> a6215f271958 [2022-08-15T23:17:00.303Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-15T23:17:00.303Z] ---> Running in 5b08c8269a7c [2022-08-15T23:17:00.303Z] Removing intermediate container 5b08c8269a7c [2022-08-15T23:17:00.303Z] ---> 4a27d47817c3 [2022-08-15T23:17:00.303Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-15T23:17:00.303Z] ---> Running in 64ffdbf89321 [2022-08-15T23:17:00.303Z] Removing intermediate container 64ffdbf89321 [2022-08-15T23:17:00.303Z] ---> ccc5559037df [2022-08-15T23:17:00.303Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-15T23:17:00.303Z] ---> Running in 7fd88c80891e [2022-08-15T23:17:00.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-15T23:17:00.303Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-15T23:17:00.303Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-15T23:17:00.303Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-15T23:17:00.303Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-15T23:17:00.303Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-15T23:17:00.303Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-15T23:17:00.303Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-15T23:17:00.303Z] Executing busybox-1.35.0-r17.trigger [2022-08-15T23:17:00.303Z] OK: 8 MiB in 20 packages [2022-08-15T23:17:00.303Z] Removing intermediate container 7fd88c80891e [2022-08-15T23:17:00.303Z] ---> 9c942e507726 [2022-08-15T23:17:00.303Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-15T23:17:00.303Z] ---> 09566f9d8ecf [2022-08-15T23:17:00.303Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-15T23:17:00.903Z] ---> acdce2afc3a9 [2022-08-15T23:17:00.903Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-15T23:17:01.500Z] ---> 4a25a85b9864 [2022-08-15T23:17:01.500Z] Step 20/25 : EXPOSE 59986 [2022-08-15T23:17:01.500Z] ---> Running in acf1ec72acc2 [2022-08-15T23:17:01.776Z] Removing intermediate container acf1ec72acc2 [2022-08-15T23:17:01.776Z] ---> cfa42f2f0e3f [2022-08-15T23:17:01.776Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-15T23:17:02.054Z] ---> Running in deffd28978f9 [2022-08-15T23:17:02.334Z] Removing intermediate container deffd28978f9 [2022-08-15T23:17:02.334Z] ---> 0efd85bed7d5 [2022-08-15T23:17:02.334Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-15T23:17:02.334Z] ---> Running in cdca058b3a37 [2022-08-15T23:17:02.627Z] Removing intermediate container cdca058b3a37 [2022-08-15T23:17:02.627Z] ---> c64cf50760ba [2022-08-15T23:17:02.627Z] Step 23/25 : LABEL arch=arm64 [2022-08-15T23:17:02.908Z] ---> Running in 6a256241671f [2022-08-15T23:17:03.182Z] Removing intermediate container 6a256241671f [2022-08-15T23:17:03.182Z] ---> 5650ed7553c2 [2022-08-15T23:17:03.182Z] Step 24/25 : LABEL git_sha=3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:17:03.182Z] ---> Running in 2f99cd386999 [2022-08-15T23:17:03.457Z] Removing intermediate container 2f99cd386999 [2022-08-15T23:17:03.457Z] ---> cbfc14dd1bd3 [2022-08-15T23:17:03.457Z] Step 25/25 : LABEL version=2.3.0-dev.12 [2022-08-15T23:17:03.457Z] ---> Running in 0ae807dc5965 [2022-08-15T23:17:04.053Z] Removing intermediate container 0ae807dc5965 [2022-08-15T23:17:04.053Z] ---> 7c192ee327ae [2022-08-15T23:17:04.053Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-15T23:17:04.053Z] Successfully built 7c192ee327ae [2022-08-15T23:17:04.053Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T23:17:04.159Z] provisioning config files... [2022-08-15T23:17:04.176Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/56@tmp/config4118503192925737263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:17:04.524Z] ---> docker-login.sh [2022-08-15T23:17:04.524Z] nexus3.edgexfoundry.org:10001 [2022-08-15T23:17:04.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:17:04.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:17:04.799Z] Configure a credential helper to remove this warning. See [2022-08-15T23:17:04.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:17:04.799Z] [2022-08-15T23:17:04.799Z] Login Succeeded [2022-08-15T23:17:04.799Z] nexus3.edgexfoundry.org:10002 [2022-08-15T23:17:05.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:17:05.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:17:05.396Z] Configure a credential helper to remove this warning. See [2022-08-15T23:17:05.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:17:05.396Z] [2022-08-15T23:17:05.396Z] Login Succeeded [2022-08-15T23:17:05.396Z] nexus3.edgexfoundry.org:10003 [2022-08-15T23:17:05.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:17:05.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:17:05.943Z] Configure a credential helper to remove this warning. See [2022-08-15T23:17:05.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:17:05.943Z] [2022-08-15T23:17:05.943Z] Login Succeeded [2022-08-15T23:17:05.943Z] nexus3.edgexfoundry.org:10004 [2022-08-15T23:17:06.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:17:06.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:17:06.219Z] Configure a credential helper to remove this warning. See [2022-08-15T23:17:06.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:17:06.219Z] [2022-08-15T23:17:06.219Z] Login Succeeded [2022-08-15T23:17:06.219Z] docker.io [2022-08-15T23:17:06.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-15T23:17:07.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-15T23:17:07.087Z] Configure a credential helper to remove this warning. See [2022-08-15T23:17:07.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-15T23:17:07.087Z] [2022-08-15T23:17:07.087Z] Login Succeeded [2022-08-15T23:17:07.087Z] ---> docker-login.sh ends [Pipeline] } [2022-08-15T23:17:07.105Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T23:17:07.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-15T23:17:07.167Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-08-15T23:17:07.167Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:17:07.167Z] latest [2022-08-15T23:17:07.167Z] 2.3.0-dev.12 [2022-08-15T23:17:07.167Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [2022-08-15T23:17:07.167Z] main [2022-08-15T23:17:07.167Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:07.521Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:07.885Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:17:07.885Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-15T23:17:07.885Z] de18fe30f11a: Preparing [2022-08-15T23:17:07.885Z] 9cb0769736db: Preparing [2022-08-15T23:17:07.885Z] 719d0910aefb: Preparing [2022-08-15T23:17:07.885Z] ecfa59fad483: Preparing [2022-08-15T23:17:07.885Z] 5d3e392a13a0: Preparing [2022-08-15T23:17:08.159Z] 5d3e392a13a0: Layer already exists [2022-08-15T23:17:08.159Z] 9cb0769736db: Pushed [2022-08-15T23:17:08.159Z] de18fe30f11a: Pushed [2022-08-15T23:17:09.133Z] ecfa59fad483: Pushed [2022-08-15T23:17:14.533Z] 719d0910aefb: Pushed [2022-08-15T23:17:14.533Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:14.900Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:15.255Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-08-15T23:17:15.255Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-15T23:17:15.255Z] de18fe30f11a: Preparing [2022-08-15T23:17:15.255Z] 9cb0769736db: Preparing [2022-08-15T23:17:15.255Z] 719d0910aefb: Preparing [2022-08-15T23:17:15.255Z] ecfa59fad483: Preparing [2022-08-15T23:17:15.255Z] 5d3e392a13a0: Preparing [2022-08-15T23:17:15.255Z] ecfa59fad483: Layer already exists [2022-08-15T23:17:15.255Z] 5d3e392a13a0: Layer already exists [2022-08-15T23:17:15.255Z] de18fe30f11a: Layer already exists [2022-08-15T23:17:15.255Z] 719d0910aefb: Layer already exists [2022-08-15T23:17:15.255Z] 9cb0769736db: Layer already exists [2022-08-15T23:17:15.526Z] latest: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:15.893Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:16.253Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.12 [2022-08-15T23:17:16.253Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-15T23:17:16.253Z] de18fe30f11a: Preparing [2022-08-15T23:17:16.253Z] 9cb0769736db: Preparing [2022-08-15T23:17:16.253Z] 719d0910aefb: Preparing [2022-08-15T23:17:16.253Z] ecfa59fad483: Preparing [2022-08-15T23:17:16.253Z] 5d3e392a13a0: Preparing [2022-08-15T23:17:16.253Z] 5d3e392a13a0: Layer already exists [2022-08-15T23:17:16.253Z] de18fe30f11a: Layer already exists [2022-08-15T23:17:16.253Z] ecfa59fad483: Layer already exists [2022-08-15T23:17:16.253Z] 9cb0769736db: Layer already exists [2022-08-15T23:17:16.253Z] 719d0910aefb: Layer already exists [2022-08-15T23:17:16.524Z] 2.3.0-dev.12: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:16.885Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:17.493Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [2022-08-15T23:17:17.493Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-15T23:17:17.493Z] de18fe30f11a: Preparing [2022-08-15T23:17:17.493Z] 9cb0769736db: Preparing [2022-08-15T23:17:17.493Z] 719d0910aefb: Preparing [2022-08-15T23:17:17.493Z] ecfa59fad483: Preparing [2022-08-15T23:17:17.493Z] 5d3e392a13a0: Preparing [2022-08-15T23:17:17.493Z] 5d3e392a13a0: Layer already exists [2022-08-15T23:17:17.493Z] 719d0910aefb: Layer already exists [2022-08-15T23:17:17.493Z] 9cb0769736db: Layer already exists [2022-08-15T23:17:17.493Z] ecfa59fad483: Layer already exists [2022-08-15T23:17:17.493Z] de18fe30f11a: Layer already exists [2022-08-15T23:17:17.764Z] 3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:18.125Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:18.480Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-08-15T23:17:18.480Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-15T23:17:18.480Z] de18fe30f11a: Preparing [2022-08-15T23:17:18.480Z] 9cb0769736db: Preparing [2022-08-15T23:17:18.480Z] 719d0910aefb: Preparing [2022-08-15T23:17:18.480Z] ecfa59fad483: Preparing [2022-08-15T23:17:18.480Z] 5d3e392a13a0: Preparing [2022-08-15T23:17:18.480Z] de18fe30f11a: Layer already exists [2022-08-15T23:17:18.480Z] 719d0910aefb: Layer already exists [2022-08-15T23:17:18.480Z] 5d3e392a13a0: Layer already exists [2022-08-15T23:17:18.480Z] ecfa59fad483: Layer already exists [2022-08-15T23:17:18.480Z] 9cb0769736db: Layer already exists [2022-08-15T23:17:18.751Z] main: digest: sha256:8ec872c59ace9d6f4a320b6a7ee1cf70641d577ec453471a0d52d0dc3ba2ba5a size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-15T23:17:18.817Z] ===================================================== [Pipeline] echo [2022-08-15T23:17:18.827Z] taggedImages: [2022-08-15T23:17:18.827Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd [2022-08-15T23:17:18.827Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-08-15T23:17:18.827Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.12 [2022-08-15T23:17:18.827Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3bfa2c7cebef17aba10611e718aa3e6714bdeddd-2.3.0-dev.12 [2022-08-15T23:17:18.827Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:19.190Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T23:17:19.190Z] [2022-08-15T23:17:19.190Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:19.540Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T23:17:19.818Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-15T23:17:19.818Z] 8998bd30e6a1: Pulling fs layer [2022-08-15T23:17:19.818Z] 04944245beec: Pulling fs layer [2022-08-15T23:17:19.818Z] 699f458cf7ca: Pulling fs layer [2022-08-15T23:17:19.818Z] 765212b225bb: Pulling fs layer [2022-08-15T23:17:19.818Z] f23df028b6ca: Pulling fs layer [2022-08-15T23:17:19.818Z] d65c8cfc05b1: Pulling fs layer [2022-08-15T23:17:19.818Z] 2437ff75d9bd: Pulling fs layer [2022-08-15T23:17:19.818Z] 765212b225bb: Waiting [2022-08-15T23:17:19.818Z] f23df028b6ca: Waiting [2022-08-15T23:17:19.818Z] d65c8cfc05b1: Waiting [2022-08-15T23:17:19.818Z] 2437ff75d9bd: Waiting [2022-08-15T23:17:19.818Z] 04944245beec: Verifying Checksum [2022-08-15T23:17:19.818Z] 04944245beec: Download complete [2022-08-15T23:17:19.818Z] 765212b225bb: Verifying Checksum [2022-08-15T23:17:19.818Z] 765212b225bb: Download complete [2022-08-15T23:17:19.818Z] f23df028b6ca: Verifying Checksum [2022-08-15T23:17:19.818Z] f23df028b6ca: Download complete [2022-08-15T23:17:19.818Z] d65c8cfc05b1: Verifying Checksum [2022-08-15T23:17:19.818Z] d65c8cfc05b1: Download complete [2022-08-15T23:17:20.097Z] 699f458cf7ca: Verifying Checksum [2022-08-15T23:17:20.097Z] 699f458cf7ca: Download complete [2022-08-15T23:17:20.384Z] 8998bd30e6a1: Verifying Checksum [2022-08-15T23:17:20.384Z] 8998bd30e6a1: Download complete [2022-08-15T23:17:23.040Z] 2437ff75d9bd: Verifying Checksum [2022-08-15T23:17:23.040Z] 2437ff75d9bd: Download complete [2022-08-15T23:17:25.080Z] 8998bd30e6a1: Pull complete [2022-08-15T23:17:25.678Z] 04944245beec: Pull complete [2022-08-15T23:17:27.111Z] 699f458cf7ca: Pull complete [2022-08-15T23:17:27.383Z] 765212b225bb: Pull complete [2022-08-15T23:17:28.360Z] f23df028b6ca: Pull complete [2022-08-15T23:17:28.360Z] d65c8cfc05b1: Pull complete [2022-08-15T23:17:43.437Z] 2437ff75d9bd: Pull complete [2022-08-15T23:17:43.437Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-15T23:17:43.437Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-15T23:17:43.437Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:17:43.706Z] prd-ubuntu20.04-docker-arm64-4c-16g-22866 does not seem to be running inside a container [2022-08-15T23:17:43.803Z] $ 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/56 -v /w/workspace/device-rest-go/56:/w/workspace/device-rest-go/56:rw,z -v /w/workspace/device-rest-go/56@tmp:/w/workspace/device-rest-go/56@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-15T23:17:46.252Z] $ docker top d9c1b3c510c315adef9ff9d93bb1a2ed4523d8a22f8657d2e8b7beeeb1e0d1af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:17:47.139Z] ---> job-cost.sh [2022-08-15T23:17:47.139Z] lf-activate-venv: SKIPPING [2022-08-15T23:17:47.139Z] INFO: No Stack... [2022-08-15T23:17:47.730Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-15T23:17:48.705Z] INFO: Archiving Costs [Pipeline] sh [2022-08-15T23:17:49.362Z] + cat /w/workspace/device-rest-go/56/archives/cost.csv [2022-08-15T23:17:49.362Z] + cut -d, -f6 [Pipeline] lock [2022-08-15T23:17:49.426Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [2022-08-15T23:17:49.431Z] Resource [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] did not exist. Created. [2022-08-15T23:17:49.432Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T23:17:50.114Z] /w/workspace/device-rest-go/56@tmp/durable-8fd74c94/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-15T23:17:50.784Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-15T23:17:50.810Z] Warning: overwriting stash ‘stack-cost’ [2022-08-15T23:17:50.849Z] Stashed 1 file(s) [Pipeline] } [2022-08-15T23:17:50.855Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-56-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-15T23:17:50.889Z] $ docker stop --time=1 d9c1b3c510c315adef9ff9d93bb1a2ed4523d8a22f8657d2e8b7beeeb1e0d1af [2022-08-15T23:17:52.387Z] $ docker rm -f d9c1b3c510c315adef9ff9d93bb1a2ed4523d8a22f8657d2e8b7beeeb1e0d1af [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-15T23:17:52.830Z] provisioning config files... [2022-08-15T23:17:52.840Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4165251349710042329tmp [Pipeline] { [Pipeline] sh [2022-08-15T23:17:53.138Z] + set +x [2022-08-15T23:17:53.138Z] + curl -s https://codecov.io/bash [2022-08-15T23:17:53.138Z] + bash -s -- [2022-08-15T23:17:53.138Z] [2022-08-15T23:17:53.138Z] _____ _ [2022-08-15T23:17:53.138Z] / ____| | | [2022-08-15T23:17:53.138Z] | | ___ __| | ___ ___ _____ __ [2022-08-15T23:17:53.138Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-15T23:17:53.138Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-15T23:17:53.138Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-15T23:17:53.138Z] Bash-1.0.6 [2022-08-15T23:17:53.138Z] [2022-08-15T23:17:53.138Z] [2022-08-15T23:17:53.138Z] ==> git version 2.25.1 found [2022-08-15T23:17:53.138Z] ==> 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-15T23:17:53.138Z] Release-Date: 2020-01-08 [2022-08-15T23:17:53.138Z] 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-15T23:17:53.138Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-15T23:17:53.138Z] ==> Jenkins CI detected. [2022-08-15T23:17:53.138Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-08-15T23:17:53.138Z] project root: . [2022-08-15T23:17:53.138Z] --> token set from env [2022-08-15T23:17:53.138Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-15T23:17:53.398Z] ==> Running gcov in . (disable via -X gcov) [2022-08-15T23:17:53.398Z] ==> Python coveragepy not found [2022-08-15T23:17:53.398Z] ==> Searching for coverage reports in: [2022-08-15T23:17:53.398Z] + . [2022-08-15T23:17:53.398Z] -> Found 1 reports [2022-08-15T23:17:53.398Z] ==> Detecting git/mercurial file structure [2022-08-15T23:17:53.398Z] ==> Reading reports [2022-08-15T23:17:53.398Z] + ./coverage.out bytes=9355 [2022-08-15T23:17:53.398Z] ==> Appending adjustments [2022-08-15T23:17:53.398Z] https://docs.codecov.io/docs/fixing-reports [2022-08-15T23:17:53.398Z] + Found adjustments [2022-08-15T23:17:53.398Z] ==> Gzipping contents [2022-08-15T23:17:53.398Z] 4.0K /tmp/codecov.Wbl5k1.gz [2022-08-15T23:17:53.398Z] ==> Uploading reports [2022-08-15T23:17:53.398Z] url: https://codecov.io [2022-08-15T23:17:53.398Z] query: branch=main&commit=3bfa2c7cebef17aba10611e718aa3e6714bdeddd&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-15T23:17:53.398Z] -> Pinging Codecov [2022-08-15T23:17:53.398Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=3bfa2c7cebef17aba10611e718aa3e6714bdeddd&build=56&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F56%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-15T23:17:53.658Z] -> Uploading to [2022-08-15T23:17:53.658Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-15/4E5D53B4F1F92C436F7061BF334D961C/3bfa2c7cebef17aba10611e718aa3e6714bdeddd/81dbfed9-f633-4e0d-9fa1-3c97aa7b83a8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220815%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220815T231753Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d30443395f1818b5950ebcfa07a927d4ea79b84c4ec45b071011f7a8ec2243c2 [2022-08-15T23:17:53.658Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-15T23:17:53.658Z] Dload Upload Total Spent Left Speed [2022-08-15T23:17:53.918Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1739 0 0 100 1739 0 6369 --:--:-- --:--:-- --:--:-- 6369 [2022-08-15T23:17:53.918Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] } [2022-08-15T23:17:53.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-15T23:17:54.118Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-15T23:17:54.128Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:54.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T23:17:54.428Z] [2022-08-15T23:17:54.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:17:54.733Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T23:17:54.733Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-15T23:17:54.733Z] df9b9388f04a: Pulling fs layer [2022-08-15T23:17:54.733Z] 52dc419b0ee2: Pulling fs layer [2022-08-15T23:17:54.733Z] 25bc292e5bac: Pulling fs layer [2022-08-15T23:17:54.733Z] 114826534d7a: Pulling fs layer [2022-08-15T23:17:54.733Z] 4657fd5d0bcf: Pulling fs layer [2022-08-15T23:17:54.733Z] 6ad1cebc031e: Pulling fs layer [2022-08-15T23:17:54.733Z] 8a3aa393b2d8: Pulling fs layer [2022-08-15T23:17:54.733Z] 114826534d7a: Waiting [2022-08-15T23:17:54.733Z] 4657fd5d0bcf: Waiting [2022-08-15T23:17:54.733Z] 6ad1cebc031e: Waiting [2022-08-15T23:17:54.733Z] 8a3aa393b2d8: Waiting [2022-08-15T23:17:54.733Z] 25bc292e5bac: Verifying Checksum [2022-08-15T23:17:54.733Z] 25bc292e5bac: Download complete [2022-08-15T23:17:54.733Z] 52dc419b0ee2: Verifying Checksum [2022-08-15T23:17:54.733Z] 52dc419b0ee2: Download complete [2022-08-15T23:17:54.733Z] 4657fd5d0bcf: Download complete [2022-08-15T23:17:54.733Z] df9b9388f04a: Download complete [2022-08-15T23:17:54.994Z] df9b9388f04a: Pull complete [2022-08-15T23:17:54.994Z] 6ad1cebc031e: Verifying Checksum [2022-08-15T23:17:54.994Z] 6ad1cebc031e: Download complete [2022-08-15T23:17:54.994Z] 52dc419b0ee2: Pull complete [2022-08-15T23:17:55.256Z] 25bc292e5bac: Pull complete [2022-08-15T23:17:55.515Z] 114826534d7a: Verifying Checksum [2022-08-15T23:17:55.515Z] 114826534d7a: Download complete [2022-08-15T23:17:55.772Z] 8a3aa393b2d8: Verifying Checksum [2022-08-15T23:17:55.772Z] 8a3aa393b2d8: Download complete [2022-08-15T23:17:59.060Z] 114826534d7a: Pull complete [2022-08-15T23:17:59.060Z] 4657fd5d0bcf: Pull complete [2022-08-15T23:17:59.318Z] 6ad1cebc031e: Pull complete [2022-08-15T23:18:02.610Z] 8a3aa393b2d8: Pull complete [2022-08-15T23:18:02.610Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-15T23:18:02.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-15T23:18:02.610Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:18:02.702Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:18:02.750Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-08-15T23:18:05.833Z] $ docker top f2c4e9a563fcfdb6a7228c13018db4272f629abb1e46ad267ff9a49dfdbf08b5 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-15T23:18:05.915Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-08-15T23:18:06.199Z] + set -o pipefail [2022-08-15T23:18:06.199Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-08-15T23:18:11.484Z] [2022-08-15T23:18:11.484Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-08-15T23:18:11.484Z] [2022-08-15T23:18:11.484Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/dfb4c029-5b9c-499e-9ca0-f621a066454e [2022-08-15T23:18:11.484Z] [2022-08-15T23:18:11.484Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-08-15T23:18:11.484Z] [2022-08-15T23:18:11.484Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-15T23:18:11.484Z] [2022-08-15T23:18:11.745Z] [Pipeline] } [2022-08-15T23:18:11.765Z] $ docker stop --time=1 f2c4e9a563fcfdb6a7228c13018db4272f629abb1e46ad267ff9a49dfdbf08b5 [2022-08-15T23:18:14.793Z] $ docker rm -f f2c4e9a563fcfdb6a7228c13018db4272f629abb1e46ad267ff9a49dfdbf08b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-15T23:18:15.525Z] + git log --format=format:%s -1 3bfa2c7cebef17aba10611e718aa3e6714bdeddd [Pipeline] sh [2022-08-15T23:18:15.819Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T23:18:15.820Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:18:16.121Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T23:18:16.121Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:18:16.208Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:18:16.338Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-15T23:18:16.745Z] $ docker top 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T23:18:16.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T23:18:16.845Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T23:18:16.972Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T23:18:16.983Z] $ docker exec 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af ssh-agent [2022-08-15T23:18:17.103Z] SSH_AUTH_SOCK=/tmp/ssh-6meqnoBYU5qN/agent.33 [2022-08-15T23:18:17.103Z] SSH_AGENT_PID=39 [2022-08-15T23:18:17.110Z] Running ssh-add (command line suppressed) [2022-08-15T23:18:17.234Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3653414629741599098.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3653414629741599098.key) [2022-08-15T23:18:17.242Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T23:18:17.530Z] + git semver tag [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,735 [run_tag] DEBUG tag force:False [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,736 [check_head_tag] DEBUG check head tag [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,736 [execute] INFO git cat-file --batch-check [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,741 [execute] INFO git cat-file --batch [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,754 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,754 [execute] INFO git tag -a v2.3.0-dev.12 -m v2.3.0-dev.12 [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,754 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.12', '-m', 'v2.3.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-15T23:18:17.789Z] 2022-08-15 23:18:17,760 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:18:17.789Z] 2.3.0-dev.12 [Pipeline] } [2022-08-15T23:18:17.808Z] $ docker exec --env ******** --env ******** 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af ssh-agent -k [2022-08-15T23:18:17.930Z] unset SSH_AUTH_SOCK; [2022-08-15T23:18:17.931Z] unset SSH_AGENT_PID; [2022-08-15T23:18:17.931Z] echo Agent pid 39 killed; [2022-08-15T23:18:17.936Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T23:18:18.248Z] + git semver [Pipeline] } [2022-08-15T23:18:18.529Z] $ docker stop --time=1 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af [2022-08-15T23:18:19.832Z] $ docker rm -f 01cf3bdf854a1d88d0a47281d0a254642514dc620fbb198349d98686018698af [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:18:20.217Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T23:18:20.217Z] [2022-08-15T23:18:20.217Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:18:20.523Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T23:18:20.523Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-15T23:18:20.523Z] ab5ef0e58194: Pulling fs layer [2022-08-15T23:18:20.523Z] 9712f1f96733: Pulling fs layer [2022-08-15T23:18:20.523Z] 63f879dbbcfc: Pulling fs layer [2022-08-15T23:18:20.523Z] 0d9ebad4ef96: Pulling fs layer [2022-08-15T23:18:20.523Z] e9a5061849ea: Pulling fs layer [2022-08-15T23:18:20.523Z] d747dcd14b5f: Pulling fs layer [2022-08-15T23:18:20.523Z] 2de7ff778b66: Pulling fs layer [2022-08-15T23:18:20.523Z] 0d9ebad4ef96: Waiting [2022-08-15T23:18:20.523Z] e9a5061849ea: Waiting [2022-08-15T23:18:20.523Z] 9712f1f96733: Verifying Checksum [2022-08-15T23:18:20.523Z] 9712f1f96733: Download complete [2022-08-15T23:18:20.790Z] 63f879dbbcfc: Verifying Checksum [2022-08-15T23:18:20.790Z] 63f879dbbcfc: Download complete [2022-08-15T23:18:21.052Z] e9a5061849ea: Verifying Checksum [2022-08-15T23:18:21.052Z] e9a5061849ea: Download complete [2022-08-15T23:18:21.052Z] d747dcd14b5f: Download complete [2022-08-15T23:18:21.052Z] ab5ef0e58194: Verifying Checksum [2022-08-15T23:18:21.052Z] ab5ef0e58194: Download complete [2022-08-15T23:18:21.052Z] 0d9ebad4ef96: Verifying Checksum [2022-08-15T23:18:21.052Z] 0d9ebad4ef96: Download complete [2022-08-15T23:18:21.052Z] 2de7ff778b66: Verifying Checksum [2022-08-15T23:18:21.052Z] 2de7ff778b66: Download complete [2022-08-15T23:18:24.347Z] ab5ef0e58194: Pull complete [2022-08-15T23:18:24.347Z] 9712f1f96733: Pull complete [2022-08-15T23:18:24.913Z] 63f879dbbcfc: Pull complete [2022-08-15T23:18:29.109Z] 0d9ebad4ef96: Pull complete [2022-08-15T23:18:29.368Z] e9a5061849ea: Pull complete [2022-08-15T23:18:29.368Z] d747dcd14b5f: Pull complete [2022-08-15T23:18:30.752Z] 2de7ff778b66: Pull complete [2022-08-15T23:18:30.752Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-15T23:18:30.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-15T23:18:30.752Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:18:30.850Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:18:30.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-08-15T23:18:34.385Z] $ docker top d56b39950f131396f1dd4f134e36a0bef134531ec170841332b5f47ba229d0a0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-15T23:18:34.471Z] provisioning config files... [2022-08-15T23:18:34.478Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2928119452181689192tmp [2022-08-15T23:18:34.489Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6853216003220299540tmp [2022-08-15T23:18:34.500Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config814512959890108tmp [Pipeline] { [Pipeline] echo [2022-08-15T23:18:34.515Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:34.803Z] ---> sigul-configuration.sh [2022-08-15T23:18:34.803Z] gpg: directory `/root/.gnupg' created [2022-08-15T23:18:34.803Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-15T23:18:34.803Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-15T23:18:34.803Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-15T23:18:34.803Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-15T23:18:34.803Z] gpg: CAST5 encrypted data [2022-08-15T23:18:34.803Z] gpg: encrypted with 1 passphrase [2022-08-15T23:18:34.803Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-15T23:18:35.090Z] + mkdir /home/jenkins [2022-08-15T23:18:35.090Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-15T23:18:35.377Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-08-15T23:18:35.388Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:35.670Z] ---> sigul-install.sh [2022-08-15T23:18:35.670Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-15T23:18:35.957Z] + git tag --list [2022-08-15T23:18:35.957Z] v1.0.0 [2022-08-15T23:18:35.957Z] v1.1.0 [2022-08-15T23:18:35.957Z] v1.1.1 [2022-08-15T23:18:35.957Z] v1.1.2 [2022-08-15T23:18:35.957Z] v1.2.0 [2022-08-15T23:18:35.957Z] v1.2.1 [2022-08-15T23:18:35.957Z] v2.0.0 [2022-08-15T23:18:35.957Z] v2.1.0 [2022-08-15T23:18:35.957Z] v2.1.1 [2022-08-15T23:18:35.957Z] v2.1.1-dev.1 [2022-08-15T23:18:35.957Z] v2.1.1-dev.2 [2022-08-15T23:18:35.957Z] v2.1.1-dev.3 [2022-08-15T23:18:35.957Z] v2.2.0 [2022-08-15T23:18:35.957Z] v2.2.1-dev.1 [2022-08-15T23:18:35.957Z] v2.2.1-dev.2 [2022-08-15T23:18:35.957Z] v2.2.1-dev.3 [2022-08-15T23:18:35.957Z] v2.2.1-dev.4 [2022-08-15T23:18:35.957Z] v2.2.1-dev.5 [2022-08-15T23:18:35.957Z] v2.2.1-dev.6 [2022-08-15T23:18:35.957Z] v2.2.1-dev.7 [2022-08-15T23:18:35.957Z] v2.2.1-dev.8 [2022-08-15T23:18:35.957Z] v2.2.1-dev.9 [2022-08-15T23:18:35.957Z] v2.3.0-dev.10 [2022-08-15T23:18:35.957Z] v2.3.0-dev.11 [2022-08-15T23:18:35.957Z] v2.3.0-dev.12 [2022-08-15T23:18:35.957Z] v2.3.0-dev.9 [Pipeline] sh [2022-08-15T23:18:36.244Z] + lftools sign git-tag v2.3.0-dev.12 [2022-08-15T23:18:36.812Z] Signing Git tag with Sigul... [2022-08-15T23:18:36.812Z] Signing v2.3.0-dev.12 [Pipeline] echo [2022-08-15T23:18:37.082Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:37.369Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-15T23:18:37.378Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-15T23:18:37.406Z] $ docker stop --time=1 d56b39950f131396f1dd4f134e36a0bef134531ec170841332b5f47ba229d0a0 [2022-08-15T23:18:38.710Z] $ docker rm -f d56b39950f131396f1dd4f134e36a0bef134531ec170841332b5f47ba229d0a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-15T23:18:39.127Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T23:18:39.127Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:18:39.425Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T23:18:39.425Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:18:39.513Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:18:39.553Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-15T23:18:39.895Z] $ docker top 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T23:18:39.983Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T23:18:39.983Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T23:18:40.117Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T23:18:40.127Z] $ docker exec 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 ssh-agent [2022-08-15T23:18:40.255Z] SSH_AUTH_SOCK=/tmp/ssh-BrHY90wplbzo/agent.33 [2022-08-15T23:18:40.255Z] SSH_AGENT_PID=39 [2022-08-15T23:18:40.260Z] Running ssh-add (command line suppressed) [2022-08-15T23:18:40.394Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6881274751694825222.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6881274751694825222.key) [2022-08-15T23:18:40.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T23:18:40.694Z] + git semver bump pre [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,915 [bump_version] DEBUG bumping version:2.3.0-dev.12 on axis:pre with prefix:dev [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,915 [bump_version] DEBUG bumped version:2.3.0-dev.13 [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,915 [write_version] DEBUG write version:2.3.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,915 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,916 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,917 [execute] INFO git cat-file --batch-check [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,923 [execute] INFO git cat-file --batch [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,923 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T23:18:40.955Z] 2022-08-15 23:18:40,928 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:18:40.955Z] 2.3.0-dev.13 [Pipeline] } [2022-08-15T23:18:40.977Z] $ docker exec --env ******** --env ******** 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 ssh-agent -k [2022-08-15T23:18:41.088Z] unset SSH_AUTH_SOCK; [2022-08-15T23:18:41.089Z] unset SSH_AGENT_PID; [2022-08-15T23:18:41.089Z] echo Agent pid 39 killed; [2022-08-15T23:18:41.092Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T23:18:41.394Z] + git semver [Pipeline] } [2022-08-15T23:18:41.677Z] $ docker stop --time=1 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 [2022-08-15T23:18:42.958Z] $ docker rm -f 68131366bc8cbf7380349c2ed7c43f4096c482927ebe481fce2821447be5f864 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-15T23:18:43.296Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-15T23:18:43.296Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:18:43.594Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-15T23:18:43.594Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:18:43.675Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:18:43.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-15T23:18:44.073Z] $ docker top 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-15T23:18:44.182Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-15T23:18:44.182Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-15T23:18:44.305Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-15T23:18:44.315Z] $ docker exec 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c ssh-agent [2022-08-15T23:18:44.422Z] SSH_AUTH_SOCK=/tmp/ssh-SvGhFxSSCMwg/agent.32 [2022-08-15T23:18:44.422Z] SSH_AGENT_PID=38 [2022-08-15T23:18:44.427Z] Running ssh-add (command line suppressed) [2022-08-15T23:18:44.560Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7384202958470288771.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7384202958470288771.key) [2022-08-15T23:18:44.567Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-15T23:18:44.854Z] + git semver push [2022-08-15T23:18:45.114Z] 2022-08-15 23:18:45,054 [run_push] DEBUG push [2022-08-15T23:18:45.114Z] 2022-08-15 23:18:45,055 [execute] INFO git cat-file --batch-check [2022-08-15T23:18:45.114Z] 2022-08-15 23:18:45,055 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-15T23:18:45.114Z] 2022-08-15 23:18:45,059 [execute] INFO git rev-list c9eb458f963182e82d444a53605d631b2660b0d5 -- [2022-08-15T23:18:45.114Z] 2022-08-15 23:18:45,059 [execute] DEBUG Popen(['git', 'rev-list', 'c9eb458f963182e82d444a53605d631b2660b0d5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-15T23:18:45.114Z] 2022-08-15 23:18:45,066 [execute] INFO git fetch -v origin [2022-08-15T23:18:45.114Z] 2022-08-15 23:18:45,066 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-08-15T23:18:45.686Z] 2022-08-15 23:18:45,534 [run_push] DEBUG no remote changes detected [2022-08-15T23:18:45.686Z] 2022-08-15 23:18:45,534 [execute] INFO git push origin semver [2022-08-15T23:18:45.686Z] 2022-08-15 23:18:45,535 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-15T23:18:46.257Z] 2022-08-15 23:18:46,200 [run_push] DEBUG push all version tags [2022-08-15T23:18:46.257Z] 2022-08-15 23:18:46,201 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-15T23:18:46.257Z] 2022-08-15 23:18:46,202 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-15T23:18:47.201Z] 2022-08-15 23:18:46,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-15T23:18:47.201Z] 2.3.0-dev.13 [Pipeline] } [2022-08-15T23:18:47.219Z] $ docker exec --env ******** --env ******** 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c ssh-agent -k [2022-08-15T23:18:47.328Z] unset SSH_AUTH_SOCK; [2022-08-15T23:18:47.330Z] unset SSH_AGENT_PID; [2022-08-15T23:18:47.330Z] echo Agent pid 38 killed; [2022-08-15T23:18:47.332Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-15T23:18:47.642Z] + git semver [Pipeline] } [2022-08-15T23:18:47.926Z] $ docker stop --time=1 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c [2022-08-15T23:18:49.192Z] $ docker rm -f 0a82f3b83172b8d9649ef5daf2341e4e56fe2fa703abe59c17df46e44291797c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-15T23:18:49.733Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-08-15T23:18:49.733Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-15T23:18:49.733Z] total 16 [2022-08-15T23:18:49.733Z] drwxr-xr-x 3 root root 4096 Aug 15 23:10 . [2022-08-15T23:18:49.733Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 23:18 .. [2022-08-15T23:18:49.733Z] drwxr-xr-x 2 root root 4096 Aug 15 23:10 cost [2022-08-15T23:18:49.733Z] -rw-r--r-- 1 root root 85 Aug 15 23:10 cost.csv [2022-08-15T23:18:49.733Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-15T23:18:49.733Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-15T23:18:49.733Z] total 16 [2022-08-15T23:18:49.733Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 15 23:10 . [2022-08-15T23:18:49.733Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 15 23:18 .. [2022-08-15T23:18:49.733Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 15 23:10 cost [2022-08-15T23:18:49.733Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 15 23:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:50.023Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:50.891Z] ---> package-listing.sh [2022-08-15T23:18:50.891Z] ++ facter osfamily [2022-08-15T23:18:50.891Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-15T23:18:51.151Z] + OS_FAMILY=debian [2022-08-15T23:18:51.151Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-08-15T23:18:51.151Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-15T23:18:51.151Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-15T23:18:51.151Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-15T23:18:51.151Z] + PACKAGES=/tmp/packages_start.txt [2022-08-15T23:18:51.151Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-08-15T23:18:51.151Z] + PACKAGES=/tmp/packages_end.txt [2022-08-15T23:18:51.151Z] + case "${OS_FAMILY}" in [2022-08-15T23:18:51.151Z] + dpkg -l [2022-08-15T23:18:51.151Z] + grep '^ii' [2022-08-15T23:18:51.151Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-15T23:18:51.151Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-15T23:18:51.151Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-15T23:18:51.151Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-08-15T23:18:51.151Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-08-15T23:18:51.151Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-08-15T23:18:51.162Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-15T23:18:51.440Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-15T23:18:52.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-15T23:18:52.005Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-15T23:18:52.082Z] prd-ubuntu20.04-docker-8c-8g-22865 does not seem to be running inside a container [2022-08-15T23:18:52.122Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-15T23:18:52.376Z] $ docker top a336a559ff0162d89b46ec1ccdf31fd2aa637c73d8c2c915a881a169cbeb22f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-15T23:18:52.729Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-15T23:18:53.018Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-15T23:18:53.305Z] + ls /var/log/sa-host [2022-08-15T23:18:53.305Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-15T23:18:53.447Z] provisioning config files... [2022-08-15T23:18:53.456Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config862428887741593281tmp [Pipeline] { [Pipeline] echo [2022-08-15T23:18:53.469Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:53.751Z] ---> create-netrc.sh [Pipeline] } [2022-08-15T23:18:53.759Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:54.104Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-15T23:18:54.113Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:54.401Z] ---> sudo-logs.sh [2022-08-15T23:18:54.401Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-15T23:18:54.424Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:54.712Z] ---> job-cost.sh [2022-08-15T23:18:54.712Z] lf-activate-venv: SKIPPING [2022-08-15T23:18:54.712Z] DEBUG: total: 0.2199999988079071 [2022-08-15T23:18:54.712Z] INFO: Retrieving Stack Cost... [2022-08-15T23:18:55.285Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-15T23:18:55.545Z] INFO: Archiving Costs [Pipeline] echo [2022-08-15T23:18:55.557Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-15T23:18:55.844Z] ---> logs-deploy.sh [2022-08-15T23:18:55.844Z] lf-activate-venv: SKIPPING [2022-08-15T23:18:55.844Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/56 [2022-08-15T23:18:55.844Z] INFO: archiving workspace using pattern(s): [2022-08-15T23:18:57.229Z] Archives upload complete. [2022-08-15T23:18:57.229Z] INFO: archiving logs to Nexus [2022-08-15T23:18:57.802Z] ---> uname -a: [2022-08-15T23:18:57.802Z] Linux prd-ubuntu20-04-docker-8c-8g-22865 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-08-15T23:18:57.802Z] [2022-08-15T23:18:57.803Z]