Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ffd2286d282b3823fe96213d71db487366ab171f Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10122389892110568676.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-ssh6055035946378708810.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-ssh8440385646857576681.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-ssh10752880995544608744.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 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-ssh9098041054583901396.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21762 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 ffd2286d282b3823fe96213d71db487366ab171f (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 ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 Commit message: "Merge pull request #208 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18" > git rev-list --no-walk 573a93dc585fd2e24dadc7fb4d4ae830a990380c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-02T10:21:38.650Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-02T10:21:38.713Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-02T10:21:38.730Z] ========================================================= [2022-08-02T10:21:38.730Z] EdgeX Global Pipelines Version Info [2022-08-02T10:21:38.730Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:21:39.479Z] ------------------- [2022-08-02T10:21:39.479Z] stable info: [2022-08-02T10:21:39.479Z] ------------------- [2022-08-02T10:21:39.479Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-02T10:21:39.479Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-02T10:21:39.479Z] Message: update stable to v1.0.238 [2022-08-02T10:21:40.051Z] ------------------- [2022-08-02T10:21:40.051Z] experimental info: [2022-08-02T10:21:40.051Z] ------------------- [2022-08-02T10:21:40.051Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-02T10:21:40.051Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-02T10:21:40.051Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-02T10:21:40.307Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-08-02T10:21:40.315Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-08-02T10:21:40.323Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-02T10:21:40.331Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-02T10:21:40.343Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-02T10:21:40.357Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-02T10:21:40.366Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-02T10:21:40.374Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-02T10:21:40.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-02T10:21:40.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-02T10:21:40.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-02T10:21:40.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-08-02T10:21:40.438Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-02T10:21:40.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-02T10:21:40.466Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-02T10:21:40.484Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-02T10:21:40.504Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-02T10:21:40.521Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-02T10:21:40.538Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-02T10:21:40.551Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-02T10:21:40.565Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-08-02T10:21:40.583Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-08-02T10:21:40.602Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-02T10:21:40.620Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-02T10:21:40.639Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-02T10:21:40.661Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-02T10:21:40.677Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-02T10:21:40.687Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-08-02T10:21:40.702Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-08-02T10:21:40.712Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-08-02T10:21:40.725Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ffd2286d282b3823fe96213d71db487366ab171f [Pipeline] echo [2022-08-02T10:21:40.736Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ffd2286 [Pipeline] echo [2022-08-02T10:21:40.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-02T10:21:40.794Z] provisioning config files... [2022-08-02T10:21:40.807Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2711038642852871966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:21:41.118Z] ---> docker-login.sh [2022-08-02T10:21:41.118Z] nexus3.edgexfoundry.org:10001 [2022-08-02T10:21:41.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:41.381Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:41.381Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:41.381Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:41.381Z] [2022-08-02T10:21:41.381Z] Login Succeeded [2022-08-02T10:21:41.381Z] nexus3.edgexfoundry.org:10002 [2022-08-02T10:21:41.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:41.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:41.643Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:41.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:41.643Z] [2022-08-02T10:21:41.643Z] Login Succeeded [2022-08-02T10:21:41.643Z] nexus3.edgexfoundry.org:10003 [2022-08-02T10:21:41.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:41.643Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:41.643Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:41.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:41.643Z] [2022-08-02T10:21:41.643Z] Login Succeeded [2022-08-02T10:21:41.643Z] nexus3.edgexfoundry.org:10004 [2022-08-02T10:21:41.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:41.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:41.905Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:41.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:41.905Z] [2022-08-02T10:21:41.905Z] Login Succeeded [2022-08-02T10:21:41.905Z] docker.io [2022-08-02T10:21:41.905Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:42.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:42.480Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:42.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:42.480Z] [2022-08-02T10:21:42.480Z] Login Succeeded [2022-08-02T10:21:42.480Z] ---> docker-login.sh ends [Pipeline] } [2022-08-02T10:21:42.489Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-02T10:21:42.858Z] + git rev-list -1 --merges ffd2286d282b3823fe96213d71db487366ab171f~1..ffd2286d282b3823fe96213d71db487366ab171f [Pipeline] echo [2022-08-02T10:21:42.887Z] -----------> git rev-list -1 --merges ffd2286d282b3823fe96213d71db487366ab171f~1..ffd2286d282b3823fe96213d71db487366ab171f ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:21:42.887Z] ffd2286d282b3823fe96213d71db487366ab171f [false] [Pipeline] sh [2022-08-02T10:21:43.183Z] + git log --format=format:%s -1 ffd2286d282b3823fe96213d71db487366ab171f [Pipeline] echo [2022-08-02T10:21:43.201Z] ========================================================= [2022-08-02T10:21:43.201Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-02T10:21:43.201Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-02T10:21:43.543Z] + git log --format=format:%s -1 ffd2286d282b3823fe96213d71db487366ab171f [Pipeline] echo [2022-08-02T10:21:43.555Z] [semverPrep] GIT_COMMIT: ffd2286d282b3823fe96213d71db487366ab171f, Commit Message: Merge pull request #208 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18 [Pipeline] echo [2022-08-02T10:21:43.566Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-02T10:21:43.919Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-02T10:21:43.919Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-02T10:21:43.919Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-02T10:21:43.919Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-02T10:21:43.919Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-02T10:21:43.919Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-02T10:21:43.919Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:21:44.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T10:21:44.282Z] [2022-08-02T10:21:44.282Z] 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-02T10:21:44.593Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T10:21:44.593Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-02T10:21:44.593Z] b85a868b505f: Pulling fs layer [2022-08-02T10:21:44.593Z] e2be974225ed: Pulling fs layer [2022-08-02T10:21:44.593Z] 339a4e72a1f5: Pulling fs layer [2022-08-02T10:21:44.593Z] 988bab9f4d93: Pulling fs layer [2022-08-02T10:21:44.593Z] 1469e6f7b9e6: Pulling fs layer [2022-08-02T10:21:44.593Z] eaf3925da568: Pulling fs layer [2022-08-02T10:21:44.593Z] bab4dde63d76: Pulling fs layer [2022-08-02T10:21:44.593Z] bde34c3a00c8: Pulling fs layer [2022-08-02T10:21:44.593Z] b352a97aabf1: Pulling fs layer [2022-08-02T10:21:44.593Z] 4872d77fe225: Pulling fs layer [2022-08-02T10:21:44.593Z] 5851b861e8e6: Pulling fs layer [2022-08-02T10:21:44.593Z] b352a97aabf1: Waiting [2022-08-02T10:21:44.593Z] 4872d77fe225: Waiting [2022-08-02T10:21:44.593Z] bab4dde63d76: Waiting [2022-08-02T10:21:44.593Z] bde34c3a00c8: Waiting [2022-08-02T10:21:44.593Z] 988bab9f4d93: Waiting [2022-08-02T10:21:44.593Z] 1469e6f7b9e6: Waiting [2022-08-02T10:21:44.593Z] eaf3925da568: Waiting [2022-08-02T10:21:44.593Z] 5851b861e8e6: Waiting [2022-08-02T10:21:44.593Z] e2be974225ed: Download complete [2022-08-02T10:21:44.593Z] 988bab9f4d93: Verifying Checksum [2022-08-02T10:21:44.593Z] 988bab9f4d93: Download complete [2022-08-02T10:21:44.855Z] 1469e6f7b9e6: Verifying Checksum [2022-08-02T10:21:44.855Z] 1469e6f7b9e6: Download complete [2022-08-02T10:21:44.855Z] eaf3925da568: Download complete [2022-08-02T10:21:44.855Z] 339a4e72a1f5: Verifying Checksum [2022-08-02T10:21:44.855Z] 339a4e72a1f5: Download complete [2022-08-02T10:21:44.855Z] bde34c3a00c8: Download complete [2022-08-02T10:21:44.855Z] b352a97aabf1: Download complete [2022-08-02T10:21:44.855Z] 4872d77fe225: Download complete [2022-08-02T10:21:44.855Z] 5851b861e8e6: Verifying Checksum [2022-08-02T10:21:44.855Z] 5851b861e8e6: Download complete [2022-08-02T10:21:44.855Z] b85a868b505f: Verifying Checksum [2022-08-02T10:21:44.855Z] b85a868b505f: Download complete [2022-08-02T10:21:45.115Z] bab4dde63d76: Verifying Checksum [2022-08-02T10:21:45.115Z] bab4dde63d76: Download complete [2022-08-02T10:21:46.511Z] b85a868b505f: Pull complete [2022-08-02T10:21:46.511Z] e2be974225ed: Pull complete [2022-08-02T10:21:46.772Z] 339a4e72a1f5: Pull complete [2022-08-02T10:21:47.037Z] 988bab9f4d93: Pull complete [2022-08-02T10:21:47.300Z] 1469e6f7b9e6: Pull complete [2022-08-02T10:21:47.300Z] eaf3925da568: Pull complete [2022-08-02T10:21:49.208Z] bab4dde63d76: Pull complete [2022-08-02T10:21:49.208Z] bde34c3a00c8: Pull complete [2022-08-02T10:21:49.469Z] b352a97aabf1: Pull complete [2022-08-02T10:21:49.469Z] 4872d77fe225: Pull complete [2022-08-02T10:21:49.730Z] 5851b861e8e6: Pull complete [2022-08-02T10:21:49.730Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-02T10:21:49.730Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T10:21:49.730Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:21:49.838Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:21:49.885Z] $ 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-02T10:21:51.251Z] $ docker top bff13a2e4c34709c59b7d4e1e6d957acdf4f7af7c060df7b4e8498b978dc58f7 -eo pid,comm [2022-08-02T10:21:51.333Z] 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-02T10:21:51.333Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-02T10:21:51.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-02T10:21:51.366Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-02T10:21:51.488Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-02T10:21:51.495Z] $ docker exec bff13a2e4c34709c59b7d4e1e6d957acdf4f7af7c060df7b4e8498b978dc58f7 ssh-agent [2022-08-02T10:21:51.611Z] SSH_AUTH_SOCK=/tmp/ssh-Hht3r8hQr6LA/agent.32 [2022-08-02T10:21:51.611Z] SSH_AGENT_PID=38 [2022-08-02T10:21:51.618Z] Running ssh-add (command line suppressed) [2022-08-02T10:21:51.753Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5536799146637681176.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5536799146637681176.key) [2022-08-02T10:21:51.764Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-02T10:21:52.057Z] + git tag --points-at HEAD [Pipeline] } [2022-08-02T10:21:52.083Z] $ docker exec --env ******** --env ******** bff13a2e4c34709c59b7d4e1e6d957acdf4f7af7c060df7b4e8498b978dc58f7 ssh-agent -k [2022-08-02T10:21:52.198Z] unset SSH_AUTH_SOCK; [2022-08-02T10:21:52.199Z] unset SSH_AGENT_PID; [2022-08-02T10:21:52.199Z] echo Agent pid 38 killed; [2022-08-02T10:21:52.207Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-02T10:21:52.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-02T10:21:52.233Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-02T10:21:52.360Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-02T10:21:52.366Z] $ docker exec bff13a2e4c34709c59b7d4e1e6d957acdf4f7af7c060df7b4e8498b978dc58f7 ssh-agent [2022-08-02T10:21:52.485Z] SSH_AUTH_SOCK=/tmp/ssh-TU56wdRxH0dd/agent.73 [2022-08-02T10:21:52.485Z] SSH_AGENT_PID=80 [2022-08-02T10:21:52.490Z] Running ssh-add (command line suppressed) [2022-08-02T10:21:52.607Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1388367685238217771.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1388367685238217771.key) [2022-08-02T10:21:52.623Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-02T10:21:52.915Z] + git semver init [2022-08-02T10:21:53.176Z] 2022-08-02 10:21:53,106 [run_init] DEBUG init version:0.0.0 force:False [2022-08-02T10:21:53.176Z] 2022-08-02 10:21:53,106 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-08-02T10:21:53.176Z] 2022-08-02 10:21:53,107 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-08-02T10:21:53.176Z] 2022-08-02 10:21:53,108 [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-02T10:21:54.120Z] 2022-08-02 10:21:53,992 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-08-02T10:21:54.120Z] 2022-08-02 10:21:53,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-08-02T10:21:54.120Z] 2022-08-02 10:21:53,992 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:21:54.120Z] 2022-08-02 10:21:53,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:21:54.121Z] 2.3.0-dev.10 [Pipeline] } [2022-08-02T10:21:54.137Z] $ docker exec --env ******** --env ******** bff13a2e4c34709c59b7d4e1e6d957acdf4f7af7c060df7b4e8498b978dc58f7 ssh-agent -k [2022-08-02T10:21:54.263Z] unset SSH_AUTH_SOCK; [2022-08-02T10:21:54.263Z] unset SSH_AGENT_PID; [2022-08-02T10:21:54.263Z] echo Agent pid 80 killed; [2022-08-02T10:21:54.274Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-02T10:21:54.582Z] + git semver [Pipeline] } [2022-08-02T10:21:54.861Z] $ docker stop --time=1 bff13a2e4c34709c59b7d4e1e6d957acdf4f7af7c060df7b4e8498b978dc58f7 [2022-08-02T10:21:56.178Z] $ docker rm -f bff13a2e4c34709c59b7d4e1e6d957acdf4f7af7c060df7b4e8498b978dc58f7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-02T10:21:56.529Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-02T10:21:56.783Z] Stashed 1 file(s) [Pipeline] echo [2022-08-02T10:21:56.786Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.10 [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-02T10:21:56.889Z] provisioning config files... [2022-08-02T10:21:56.898Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config692880251768988772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:21:57.200Z] ---> docker-login.sh [2022-08-02T10:21:57.200Z] nexus3.edgexfoundry.org:10001 [2022-08-02T10:21:57.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:57.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:57.200Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:57.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:57.200Z] [2022-08-02T10:21:57.200Z] Login Succeeded [2022-08-02T10:21:57.200Z] nexus3.edgexfoundry.org:10002 [2022-08-02T10:21:57.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:57.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:57.461Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:57.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:57.461Z] [2022-08-02T10:21:57.461Z] Login Succeeded [2022-08-02T10:21:57.461Z] nexus3.edgexfoundry.org:10003 [2022-08-02T10:21:57.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:57.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:57.461Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:57.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:57.461Z] [2022-08-02T10:21:57.461Z] Login Succeeded [2022-08-02T10:21:57.461Z] nexus3.edgexfoundry.org:10004 [2022-08-02T10:21:57.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:57.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:57.722Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:57.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:57.722Z] [2022-08-02T10:21:57.722Z] Login Succeeded [2022-08-02T10:21:57.722Z] docker.io [2022-08-02T10:21:57.722Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:21:57.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:21:57.983Z] Configure a credential helper to remove this warning. See [2022-08-02T10:21:57.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:21:57.983Z] [2022-08-02T10:21:57.983Z] Login Succeeded [2022-08-02T10:21:57.983Z] ---> docker-login.sh ends [Pipeline] } [2022-08-02T10:21:57.992Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-02T10:21:58.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T10:21:58.069Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T10:21:58.078Z] ========================================================= [2022-08-02T10:21:58.078Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-02T10:21:58.078Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:21:58.406Z] + 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-02T10:21:58.406Z] Sending build context to Docker daemon 10.69MB [2022-08-02T10:21:58.406Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-02T10:21:58.406Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-02T10:21:58.406Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-02T10:21:58.406Z] 2408cc74d12b: Pulling fs layer [2022-08-02T10:21:58.406Z] ea60b727a1ce: Pulling fs layer [2022-08-02T10:21:58.406Z] 30c4a7721957: Pulling fs layer [2022-08-02T10:21:58.406Z] 370296b7ddb6: Pulling fs layer [2022-08-02T10:21:58.406Z] 7c6cee850709: Pulling fs layer [2022-08-02T10:21:58.406Z] 39a5fcdaea64: Pulling fs layer [2022-08-02T10:21:58.406Z] d94ebbe4e438: Pulling fs layer [2022-08-02T10:21:58.406Z] bcfd1f05c69d: Pulling fs layer [2022-08-02T10:21:58.406Z] 59ccb84bbe0f: Pulling fs layer [2022-08-02T10:21:58.406Z] 39a5fcdaea64: Waiting [2022-08-02T10:21:58.406Z] bcfd1f05c69d: Waiting [2022-08-02T10:21:58.406Z] 370296b7ddb6: Waiting [2022-08-02T10:21:58.406Z] 59ccb84bbe0f: Waiting [2022-08-02T10:21:58.406Z] 7c6cee850709: Waiting [2022-08-02T10:21:58.406Z] 30c4a7721957: Verifying Checksum [2022-08-02T10:21:58.406Z] 30c4a7721957: Download complete [2022-08-02T10:21:58.406Z] ea60b727a1ce: Download complete [2022-08-02T10:21:58.668Z] 7c6cee850709: Download complete [2022-08-02T10:21:58.668Z] 39a5fcdaea64: Verifying Checksum [2022-08-02T10:21:58.668Z] 39a5fcdaea64: Download complete [2022-08-02T10:21:58.668Z] 2408cc74d12b: Verifying Checksum [2022-08-02T10:21:58.668Z] 2408cc74d12b: Download complete [2022-08-02T10:21:58.668Z] d94ebbe4e438: Verifying Checksum [2022-08-02T10:21:58.668Z] d94ebbe4e438: Download complete [2022-08-02T10:21:58.668Z] 2408cc74d12b: Pull complete [2022-08-02T10:21:58.932Z] ea60b727a1ce: Pull complete [2022-08-02T10:21:58.932Z] 30c4a7721957: Pull complete [2022-08-02T10:21:58.932Z] 59ccb84bbe0f: Verifying Checksum [2022-08-02T10:21:58.932Z] 59ccb84bbe0f: Download complete [2022-08-02T10:21:59.194Z] bcfd1f05c69d: Verifying Checksum [2022-08-02T10:21:59.194Z] bcfd1f05c69d: Download complete [2022-08-02T10:21:59.453Z] 370296b7ddb6: Verifying Checksum [2022-08-02T10:21:59.453Z] 370296b7ddb6: Download complete [2022-08-02T10:22:03.650Z] 370296b7ddb6: Pull complete [2022-08-02T10:22:03.650Z] 7c6cee850709: Pull complete [2022-08-02T10:22:03.650Z] 39a5fcdaea64: Pull complete [2022-08-02T10:22:03.650Z] d94ebbe4e438: Pull complete [2022-08-02T10:22:05.582Z] bcfd1f05c69d: Pull complete [2022-08-02T10:22:06.154Z] 59ccb84bbe0f: Pull complete [2022-08-02T10:22:06.154Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-02T10:22:06.154Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-02T10:22:06.154Z] ---> a4fb48ad2a94 [2022-08-02T10:22:06.154Z] Step 3/12 : ARG MAKE='make build' [2022-08-02T10:22:07.543Z] ---> Running in 99267e5f44dd [2022-08-02T10:22:07.543Z] Removing intermediate container 99267e5f44dd [2022-08-02T10:22:07.543Z] ---> d171903b64b7 [2022-08-02T10:22:07.543Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-02T10:22:07.543Z] ---> Running in 6f15861ee8b1 [2022-08-02T10:22:07.804Z] Removing intermediate container 6f15861ee8b1 [2022-08-02T10:22:07.804Z] ---> 851984b370bf [2022-08-02T10:22:07.804Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-02T10:22:07.804Z] ---> Running in 752c0414b3af [2022-08-02T10:22:07.804Z] Removing intermediate container 752c0414b3af [2022-08-02T10:22:07.804Z] ---> 6c3acbe32f02 [2022-08-02T10:22:07.804Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T10:22:07.804Z] ---> Running in 56cda5d185bd [2022-08-02T10:22:08.380Z] Removing intermediate container 56cda5d185bd [2022-08-02T10:22:08.380Z] ---> 294cbf0668fd [2022-08-02T10:22:08.380Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-02T10:22:08.641Z] ---> Running in bd6603d2e010 [2022-08-02T10:22:08.901Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-02T10:22:09.843Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-02T10:22:10.103Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-02T10:22:10.103Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-02T10:22:10.363Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-02T10:22:10.363Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-02T10:22:10.624Z] Executing busybox-1.35.0-r13.trigger [2022-08-02T10:22:10.624Z] OK: 216 MiB in 55 packages [2022-08-02T10:22:10.886Z] Removing intermediate container bd6603d2e010 [2022-08-02T10:22:10.886Z] ---> 9532bb44239d [2022-08-02T10:22:10.886Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-02T10:22:11.147Z] ---> Running in b4cd04cb83e6 [2022-08-02T10:22:11.147Z] Removing intermediate container b4cd04cb83e6 [2022-08-02T10:22:11.147Z] ---> 69ba2d0831c7 [2022-08-02T10:22:11.147Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-02T10:22:11.147Z] ---> c0b49d868ae3 [2022-08-02T10:22:11.147Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-02T10:22:11.408Z] ---> Running in 692e0dac9eb4 [2022-08-02T10:22:11.862Z] Still waiting to schedule task [2022-08-02T10:22:11.862Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-08-02T10:22:26.324Z] Removing intermediate container 692e0dac9eb4 [2022-08-02T10:22:26.324Z] ---> 10f515fa76c7 [2022-08-02T10:22:26.324Z] Step 11/12 : COPY . . [2022-08-02T10:22:26.324Z] ---> deff8ad08dd8 [2022-08-02T10:22:26.324Z] Step 12/12 : RUN $MAKE [2022-08-02T10:22:26.324Z] ---> Running in ca0040deb65b [2022-08-02T10:22:26.324Z] noop [2022-08-02T10:22:26.324Z] Removing intermediate container ca0040deb65b [2022-08-02T10:22:26.324Z] ---> cde90cae09b9 [2022-08-02T10:22:26.324Z] Successfully built cde90cae09b9 [2022-08-02T10:22:26.324Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:22:26.644Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-02T10:22:26.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:22:26.740Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:22:26.778Z] $ 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-02T10:22:27.152Z] $ docker top a54e4120c237791ed55e797c3ab1dad39a2715ff0af46a1481d058c7e78fef08 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T10:22:27.519Z] + go version [2022-08-02T10:22:27.519Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-02T10:22:27.534Z] $ docker stop --time=1 a54e4120c237791ed55e797c3ab1dad39a2715ff0af46a1481d058c7e78fef08 [2022-08-02T10:22:28.822Z] $ docker rm -f a54e4120c237791ed55e797c3ab1dad39a2715ff0af46a1481d058c7e78fef08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:22:29.236Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-02T10:22:29.236Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:22:29.353Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:22:29.415Z] $ 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-02T10:22:29.838Z] $ docker top fa5bd9ef30dbfc40e9eb20be854b4d4028e89782af63f66110cb5496fb5b44d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T10:22:30.204Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-08-02T10:22:30.506Z] + make test [2022-08-02T10:22:30.506Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-02T10:22:30.766Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-02T10:22:38.884Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-02T10:22:39.831Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-08-02T10:22:46.404Z] 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-02T10:22:46.404Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-02T10:22:48.943Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-02T10:22:48.943Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-02T10:22:48.943Z] ./bin/test-attribution-txt.sh [2022-08-02T10:22:48.943Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-02T10:22:48.943Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-02T10:22:48.943Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-02T10:22:48.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-02T10:22:48.974Z] $ docker stop --time=1 fa5bd9ef30dbfc40e9eb20be854b4d4028e89782af63f66110cb5496fb5b44d9 [2022-08-02T10:22:50.773Z] $ docker rm -f fa5bd9ef30dbfc40e9eb20be854b4d4028e89782af63f66110cb5496fb5b44d9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-02T10:22:51.220Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-02T10:22:51.255Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-02T10:22:51.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-02T10:22:51.972Z] + ls -al . [2022-08-02T10:22:51.972Z] total 172 [2022-08-02T10:22:51.972Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 2 10:22 . [2022-08-02T10:22:51.972Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 10:21 .. [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 10:21 .dockerignore [2022-08-02T10:22:51.972Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 10:22 .git [2022-08-02T10:22:51.972Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:21 .github [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 10:21 .gitignore [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 10:21 .golangci.yml [2022-08-02T10:22:51.972Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 10:21 .semver [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 2 10:21 Attribution.txt [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 2 10:21 CHANGELOG.md [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 2 10:21 Dockerfile [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 10:21 GOVERNANCE.md [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 10:21 Jenkinsfile [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 10:21 LICENSE [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 2 10:21 Makefile [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 10:21 OWNERS.md [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 2 10:21 README.md [2022-08-02T10:22:51.972Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 2 10:21 VERSION [2022-08-02T10:22:51.972Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 10:21 bin [2022-08-02T10:22:51.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:21 cmd [2022-08-02T10:22:51.973Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 2 10:22 coverage.out [2022-08-02T10:22:51.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 10:21 driver [2022-08-02T10:22:51.973Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 2 10:21 go.mod [2022-08-02T10:22:51.973Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 2 10:21 go.sum [2022-08-02T10:22:51.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 10:21 snap [2022-08-02T10:22:51.973Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 10:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:22:52.283Z] + 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=ffd2286d282b3823fe96213d71db487366ab171f --label arch=amd64 --label version=2.3.0-dev.10 . [2022-08-02T10:22:52.283Z] Sending build context to Docker daemon 10.7MB [2022-08-02T10:22:52.283Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-02T10:22:52.283Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-02T10:22:52.283Z] ---> cde90cae09b9 [2022-08-02T10:22:52.283Z] Step 3/25 : ARG MAKE='make build' [2022-08-02T10:22:52.283Z] ---> Running in 90d17e5c53b4 [2022-08-02T10:22:52.545Z] Removing intermediate container 90d17e5c53b4 [2022-08-02T10:22:52.545Z] ---> 31bfdbd5ddaf [2022-08-02T10:22:52.545Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-02T10:22:52.545Z] ---> Running in 343539a72c67 [2022-08-02T10:22:52.545Z] Removing intermediate container 343539a72c67 [2022-08-02T10:22:52.545Z] ---> 9f023e1d3d26 [2022-08-02T10:22:52.545Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-02T10:22:52.809Z] ---> Running in be6c3dcf5cab [2022-08-02T10:22:52.809Z] Removing intermediate container be6c3dcf5cab [2022-08-02T10:22:52.809Z] ---> 497f7f69172b [2022-08-02T10:22:52.809Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T10:22:52.809Z] ---> Running in 36295b2d3e8b [2022-08-02T10:22:53.381Z] Removing intermediate container 36295b2d3e8b [2022-08-02T10:22:53.381Z] ---> e7c9cc113659 [2022-08-02T10:22:53.381Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-02T10:22:53.381Z] ---> Running in 7ee6ba207cfc [2022-08-02T10:22:53.642Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-02T10:22:54.586Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-02T10:22:54.846Z] OK: 216 MiB in 55 packages [2022-08-02T10:22:55.436Z] Removing intermediate container 7ee6ba207cfc [2022-08-02T10:22:55.436Z] ---> c7ad820609a5 [2022-08-02T10:22:55.436Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-02T10:22:55.436Z] ---> Running in 786bacd8110f [2022-08-02T10:22:55.436Z] Removing intermediate container 786bacd8110f [2022-08-02T10:22:55.436Z] ---> d63f00ee9c96 [2022-08-02T10:22:55.436Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-02T10:22:55.436Z] ---> ecbaae1c3ce4 [2022-08-02T10:22:55.436Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-02T10:22:55.697Z] ---> Running in 4afddd1e994a [2022-08-02T10:22:56.274Z] Removing intermediate container 4afddd1e994a [2022-08-02T10:22:56.274Z] ---> 1400e2ba43ad [2022-08-02T10:22:56.274Z] Step 11/25 : COPY . . [2022-08-02T10:22:56.533Z] ---> 9c8f3e1b9ea4 [2022-08-02T10:22:56.533Z] Step 12/25 : RUN $MAKE [2022-08-02T10:22:56.533Z] ---> Running in 190506f26254 [2022-08-02T10:22:56.792Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-08-02T10:23:18.734Z] Removing intermediate container 190506f26254 [2022-08-02T10:23:18.734Z] ---> 1eb3fcff1c5e [2022-08-02T10:23:18.734Z] Step 13/25 : FROM alpine:3.16 [2022-08-02T10:23:18.734Z] 3.16: Pulling from library/alpine [2022-08-02T10:23:18.734Z] 530afca65e2e: Pulling fs layer [2022-08-02T10:23:18.734Z] 530afca65e2e: Verifying Checksum [2022-08-02T10:23:18.734Z] 530afca65e2e: Download complete [2022-08-02T10:23:18.734Z] 530afca65e2e: Pull complete [2022-08-02T10:23:18.734Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-02T10:23:18.734Z] Status: Downloaded newer image for alpine:3.16 [2022-08-02T10:23:18.734Z] ---> d7d3d98c851f [2022-08-02T10:23:18.734Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-02T10:23:18.734Z] ---> Running in d67a5a693894 [2022-08-02T10:23:18.734Z] Removing intermediate container d67a5a693894 [2022-08-02T10:23:18.734Z] ---> 15f1d5b79cc3 [2022-08-02T10:23:18.734Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-02T10:23:18.734Z] ---> Running in 6114b5d397ed [2022-08-02T10:23:18.734Z] Removing intermediate container 6114b5d397ed [2022-08-02T10:23:18.734Z] ---> 479e50504a31 [2022-08-02T10:23:18.734Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-02T10:23:18.734Z] ---> Running in 7edd1f11080d [2022-08-02T10:23:18.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-02T10:23:18.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-02T10:23:18.734Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-02T10:23:18.734Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-02T10:23:18.734Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-02T10:23:18.734Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-02T10:23:18.734Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-02T10:23:18.734Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-02T10:23:18.734Z] Executing busybox-1.35.0-r15.trigger [2022-08-02T10:23:18.734Z] OK: 8 MiB in 20 packages [2022-08-02T10:23:18.734Z] Removing intermediate container 7edd1f11080d [2022-08-02T10:23:18.734Z] ---> e577ac8a00bc [2022-08-02T10:23:18.734Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-02T10:23:18.734Z] ---> 5a6a24b96f9d [2022-08-02T10:23:18.734Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-02T10:23:18.734Z] ---> 49987dd8eab0 [2022-08-02T10:23:18.734Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-02T10:23:18.734Z] ---> 58224202e1c2 [2022-08-02T10:23:18.734Z] Step 20/25 : EXPOSE 59986 [2022-08-02T10:23:18.734Z] ---> Running in 81344b74f5c4 [2022-08-02T10:23:18.734Z] Removing intermediate container 81344b74f5c4 [2022-08-02T10:23:18.734Z] ---> fe887d14d4db [2022-08-02T10:23:18.734Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-02T10:23:18.734Z] ---> Running in 97901e7b1543 [2022-08-02T10:23:18.734Z] Removing intermediate container 97901e7b1543 [2022-08-02T10:23:18.734Z] ---> 4376382a69f1 [2022-08-02T10:23:18.734Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-02T10:23:18.734Z] ---> Running in 4f37530c9b72 [2022-08-02T10:23:18.734Z] Removing intermediate container 4f37530c9b72 [2022-08-02T10:23:18.734Z] ---> 038d94df1acd [2022-08-02T10:23:18.734Z] Step 23/25 : LABEL arch=amd64 [2022-08-02T10:23:18.734Z] ---> Running in b45e205c5125 [2022-08-02T10:23:18.734Z] Removing intermediate container b45e205c5125 [2022-08-02T10:23:18.734Z] ---> 938c1b357aca [2022-08-02T10:23:18.734Z] Step 24/25 : LABEL git_sha=ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:23:18.734Z] ---> Running in 562f57b4e5f6 [2022-08-02T10:23:18.994Z] Removing intermediate container 562f57b4e5f6 [2022-08-02T10:23:18.994Z] ---> e94551befe25 [2022-08-02T10:23:18.994Z] Step 25/25 : LABEL version=2.3.0-dev.10 [2022-08-02T10:23:18.994Z] ---> Running in 3f54a7021ce1 [2022-08-02T10:23:18.994Z] Removing intermediate container 3f54a7021ce1 [2022-08-02T10:23:18.994Z] ---> 2c2b7efb8650 [2022-08-02T10:23:18.994Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-02T10:23:18.994Z] Successfully built 2c2b7efb8650 [2022-08-02T10:23:18.994Z] 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-02T10:23:19.093Z] provisioning config files... [2022-08-02T10:23:19.101Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config49996095101292980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:23:19.395Z] ---> docker-login.sh [2022-08-02T10:23:19.395Z] nexus3.edgexfoundry.org:10001 [2022-08-02T10:23:19.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:23:19.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:23:19.395Z] Configure a credential helper to remove this warning. See [2022-08-02T10:23:19.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:23:19.395Z] [2022-08-02T10:23:19.395Z] Login Succeeded [2022-08-02T10:23:19.395Z] nexus3.edgexfoundry.org:10002 [2022-08-02T10:23:19.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:23:19.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:23:19.654Z] Configure a credential helper to remove this warning. See [2022-08-02T10:23:19.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:23:19.654Z] [2022-08-02T10:23:19.654Z] Login Succeeded [2022-08-02T10:23:19.654Z] nexus3.edgexfoundry.org:10003 [2022-08-02T10:23:19.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:23:19.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:23:19.654Z] Configure a credential helper to remove this warning. See [2022-08-02T10:23:19.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:23:19.654Z] [2022-08-02T10:23:19.654Z] Login Succeeded [2022-08-02T10:23:19.654Z] nexus3.edgexfoundry.org:10004 [2022-08-02T10:23:19.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:23:19.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:23:19.914Z] Configure a credential helper to remove this warning. See [2022-08-02T10:23:19.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:23:19.914Z] [2022-08-02T10:23:19.914Z] Login Succeeded [2022-08-02T10:23:19.914Z] docker.io [2022-08-02T10:23:19.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:23:20.175Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:23:20.175Z] Configure a credential helper to remove this warning. See [2022-08-02T10:23:20.175Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:23:20.175Z] [2022-08-02T10:23:20.175Z] Login Succeeded [2022-08-02T10:23:20.175Z] ---> docker-login.sh ends [Pipeline] } [2022-08-02T10:23:20.183Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-02T10:23:20.222Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T10:23:20.244Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-08-02T10:23:20.244Z] ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:23:20.244Z] latest [2022-08-02T10:23:20.244Z] 2.3.0-dev.10 [2022-08-02T10:23:20.244Z] ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10 [2022-08-02T10:23:20.244Z] main [2022-08-02T10:23:20.244Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:20.563Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ffd2286d282b3823fe96213d71db487366ab171f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:20.875Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:23:20.875Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-02T10:23:20.875Z] 37b9b3fb20b7: Preparing [2022-08-02T10:23:20.875Z] 4150004c9a47: Preparing [2022-08-02T10:23:20.875Z] b3e445f5508a: Preparing [2022-08-02T10:23:20.875Z] 4fee887ff954: Preparing [2022-08-02T10:23:20.875Z] ec34fcc1d526: Preparing [2022-08-02T10:23:20.875Z] ec34fcc1d526: Layer already exists [2022-08-02T10:23:20.875Z] 4150004c9a47: Pushed [2022-08-02T10:23:20.875Z] 37b9b3fb20b7: Pushed [2022-08-02T10:23:21.135Z] 4fee887ff954: Pushed [2022-08-02T10:23:23.673Z] b3e445f5508a: Pushed [2022-08-02T10:23:23.673Z] ffd2286d282b3823fe96213d71db487366ab171f: digest: sha256:2e409927a2aa66ba70476ddf21cdeae802e66fac993c4cdffade9f2b8d610c50 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:23.991Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:24.303Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-08-02T10:23:24.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-02T10:23:24.303Z] 37b9b3fb20b7: Preparing [2022-08-02T10:23:24.303Z] 4150004c9a47: Preparing [2022-08-02T10:23:24.303Z] b3e445f5508a: Preparing [2022-08-02T10:23:24.303Z] 4fee887ff954: Preparing [2022-08-02T10:23:24.303Z] ec34fcc1d526: Preparing [2022-08-02T10:23:24.303Z] 4fee887ff954: Layer already exists [2022-08-02T10:23:24.303Z] 37b9b3fb20b7: Layer already exists [2022-08-02T10:23:24.303Z] 4150004c9a47: Layer already exists [2022-08-02T10:23:24.303Z] b3e445f5508a: Layer already exists [2022-08-02T10:23:24.303Z] ec34fcc1d526: Layer already exists [2022-08-02T10:23:24.303Z] latest: digest: sha256:2e409927a2aa66ba70476ddf21cdeae802e66fac993c4cdffade9f2b8d610c50 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:24.615Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:24.928Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.10 [2022-08-02T10:23:24.928Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-02T10:23:24.928Z] 37b9b3fb20b7: Preparing [2022-08-02T10:23:24.928Z] 4150004c9a47: Preparing [2022-08-02T10:23:24.928Z] b3e445f5508a: Preparing [2022-08-02T10:23:24.928Z] 4fee887ff954: Preparing [2022-08-02T10:23:24.928Z] ec34fcc1d526: Preparing [2022-08-02T10:23:24.928Z] b3e445f5508a: Layer already exists [2022-08-02T10:23:24.928Z] 37b9b3fb20b7: Layer already exists [2022-08-02T10:23:24.928Z] ec34fcc1d526: Layer already exists [2022-08-02T10:23:24.928Z] 4fee887ff954: Layer already exists [2022-08-02T10:23:24.928Z] 4150004c9a47: Layer already exists [2022-08-02T10:23:24.928Z] 2.3.0-dev.10: digest: sha256:2e409927a2aa66ba70476ddf21cdeae802e66fac993c4cdffade9f2b8d610c50 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:25.251Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:25.567Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10 [2022-08-02T10:23:25.568Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-02T10:23:25.568Z] 37b9b3fb20b7: Preparing [2022-08-02T10:23:25.568Z] 4150004c9a47: Preparing [2022-08-02T10:23:25.568Z] b3e445f5508a: Preparing [2022-08-02T10:23:25.568Z] 4fee887ff954: Preparing [2022-08-02T10:23:25.568Z] ec34fcc1d526: Preparing [2022-08-02T10:23:25.568Z] ec34fcc1d526: Layer already exists [2022-08-02T10:23:25.568Z] 4150004c9a47: Layer already exists [2022-08-02T10:23:25.568Z] b3e445f5508a: Layer already exists [2022-08-02T10:23:25.568Z] 4fee887ff954: Layer already exists [2022-08-02T10:23:25.568Z] 37b9b3fb20b7: Layer already exists [2022-08-02T10:23:25.568Z] ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10: digest: sha256:2e409927a2aa66ba70476ddf21cdeae802e66fac993c4cdffade9f2b8d610c50 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:25.888Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:26.202Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-08-02T10:23:26.202Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-08-02T10:23:26.202Z] 37b9b3fb20b7: Preparing [2022-08-02T10:23:26.202Z] 4150004c9a47: Preparing [2022-08-02T10:23:26.202Z] b3e445f5508a: Preparing [2022-08-02T10:23:26.202Z] 4fee887ff954: Preparing [2022-08-02T10:23:26.202Z] ec34fcc1d526: Preparing [2022-08-02T10:23:26.202Z] 4fee887ff954: Layer already exists [2022-08-02T10:23:26.202Z] ec34fcc1d526: Layer already exists [2022-08-02T10:23:26.202Z] 4150004c9a47: Layer already exists [2022-08-02T10:23:26.202Z] 37b9b3fb20b7: Layer already exists [2022-08-02T10:23:26.202Z] b3e445f5508a: Layer already exists [2022-08-02T10:23:26.202Z] main: digest: sha256:2e409927a2aa66ba70476ddf21cdeae802e66fac993c4cdffade9f2b8d610c50 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-02T10:23:26.260Z] ===================================================== [Pipeline] echo [2022-08-02T10:23:26.269Z] taggedImages: [2022-08-02T10:23:26.269Z] - nexus3.edgexfoundry.org:10004/device-rest:ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:23:26.269Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-08-02T10:23:26.269Z] - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.10 [2022-08-02T10:23:26.269Z] - nexus3.edgexfoundry.org:10004/device-rest:ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10 [2022-08-02T10:23:26.269Z] - 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-02T10:23:26.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-02T10:23:26.732Z] [2022-08-02T10:23:26.732Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:23:27.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-02T10:23:27.033Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-02T10:23:27.033Z] 5eb5b503b376: Pulling fs layer [2022-08-02T10:23:27.033Z] 5c69ac0246d0: Pulling fs layer [2022-08-02T10:23:27.033Z] ec43610c2a17: Pulling fs layer [2022-08-02T10:23:27.033Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-02T10:23:27.033Z] 33b1e0a273af: Pulling fs layer [2022-08-02T10:23:27.033Z] 5d3b04190fa2: Pulling fs layer [2022-08-02T10:23:27.033Z] 2f39f015ded8: Pulling fs layer [2022-08-02T10:23:27.033Z] 5d3b04190fa2: Waiting [2022-08-02T10:23:27.033Z] 33b1e0a273af: Waiting [2022-08-02T10:23:27.033Z] 2f39f015ded8: Waiting [2022-08-02T10:23:27.033Z] 3a2ae6a8a46f: Waiting [2022-08-02T10:23:27.033Z] 5c69ac0246d0: Verifying Checksum [2022-08-02T10:23:27.033Z] 5c69ac0246d0: Download complete [2022-08-02T10:23:27.033Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-02T10:23:27.033Z] 3a2ae6a8a46f: Download complete [2022-08-02T10:23:27.033Z] 33b1e0a273af: Verifying Checksum [2022-08-02T10:23:27.033Z] 33b1e0a273af: Download complete [2022-08-02T10:23:27.033Z] 5d3b04190fa2: Download complete [2022-08-02T10:23:27.033Z] ec43610c2a17: Download complete [2022-08-02T10:23:27.292Z] 5eb5b503b376: Verifying Checksum [2022-08-02T10:23:27.292Z] 5eb5b503b376: Download complete [2022-08-02T10:23:27.859Z] 2f39f015ded8: Download complete [2022-08-02T10:23:28.428Z] 5eb5b503b376: Pull complete [2022-08-02T10:23:28.687Z] 5c69ac0246d0: Pull complete [2022-08-02T10:23:28.948Z] ec43610c2a17: Pull complete [2022-08-02T10:23:28.948Z] 3a2ae6a8a46f: Pull complete [2022-08-02T10:23:29.208Z] 33b1e0a273af: Pull complete [2022-08-02T10:23:29.468Z] 5d3b04190fa2: Pull complete [2022-08-02T10:23:33.664Z] 2f39f015ded8: Pull complete [2022-08-02T10:23:33.664Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-02T10:23:33.664Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-02T10:23:33.664Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:23:33.763Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:23:33.801Z] $ 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-02T10:23:35.473Z] $ docker top 5dacd2c3207fa7d995a5f03260ca54eef981a37e58df05273b5523185bfbd932 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:23:35.860Z] ---> job-cost.sh [2022-08-02T10:23:35.861Z] lf-activate-venv: SKIPPING [2022-08-02T10:23:35.861Z] INFO: No Stack... [2022-08-02T10:23:36.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-02T10:23:36.692Z] INFO: Archiving Costs [Pipeline] sh [2022-08-02T10:23:36.980Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-08-02T10:23:36.980Z] + cut -d, -f6 [Pipeline] lock [2022-08-02T10:23:36.994Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-54-stack-cost] [2022-08-02T10:23:37.000Z] Resource [jenkins-edgexfoundry-device-rest-go-main-54-stack-cost] did not exist. Created. [2022-08-02T10:23:37.000Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-02T10:23:37.302Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-02T10:23:37.327Z] Stashed 1 file(s) [Pipeline] } [2022-08-02T10:23:37.333Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-02T10:23:37.358Z] $ docker stop --time=1 5dacd2c3207fa7d995a5f03260ca54eef981a37e58df05273b5523185bfbd932 [2022-08-02T10:23:38.529Z] $ docker rm -f 5dacd2c3207fa7d995a5f03260ca54eef981a37e58df05273b5523185bfbd932 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-02T10:25:38.532Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21763 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-08-02T10:25:38.546Z] Running in /w/workspace/device-rest-go/54 [Pipeline] { [Pipeline] checkout [2022-08-02T10:25:38.613Z] The recommended git tool is: git [2022-08-02T10:25:47.216Z] using credential edgex-jenkins-ssh [2022-08-02T10:25:47.242Z] Cloning the remote Git repository [2022-08-02T10:25:47.397Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-08-02T10:25:47.642Z] > git init /w/workspace/device-rest-go/54 # timeout=10 [2022-08-02T10:25:47.807Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-08-02T10:25:47.808Z] > git --version # timeout=10 [2022-08-02T10:25:47.871Z] > git --version # 'git version 2.25.1' [2022-08-02T10:25:47.876Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-02T10:25:48.074Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-02T10:25:50.030Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-08-02T10:25:50.099Z] Avoid second fetch [2022-08-02T10:25:50.099Z] Checking out Revision ffd2286d282b3823fe96213d71db487366ab171f (main) [2022-08-02T10:25:50.080Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-02T10:25:50.124Z] > git config core.sparsecheckout # timeout=10 [2022-08-02T10:25:50.142Z] > git checkout -f ffd2286d282b3823fe96213d71db487366ab171f # timeout=10 [2022-08-02T10:25:54.363Z] Commit message: "Merge pull request #208 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.18" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-02T10:25:55.373Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-02T10:25:55.373Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-02T10:25:55.373Z] Dload Upload Total Spent Left Speed [2022-08-02T10:25:55.373Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 97873 0 --:--:-- --:--:-- --:--:-- 97873 [Pipeline] sh [2022-08-02T10:25:56.023Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-02T10:25:56.436Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-02T10:25:56.436Z] + sudo tee /etc/docker/daemon.new [2022-08-02T10:25:56.436Z] { [2022-08-02T10:25:56.436Z] "registry-mirrors": [ [2022-08-02T10:25:56.436Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-02T10:25:56.436Z] ], [2022-08-02T10:25:56.436Z] "bip": "10.250.0.254/24", [2022-08-02T10:25:56.436Z] "hosts": [ [2022-08-02T10:25:56.436Z] "tcp://0.0.0.0:5555", [2022-08-02T10:25:56.436Z] "unix:///var/run/docker.sock" [2022-08-02T10:25:56.436Z] ], [2022-08-02T10:25:56.436Z] "mtu": 1458, [2022-08-02T10:25:56.436Z] "selinux-enabled": true, [2022-08-02T10:25:56.436Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-02T10:25:56.436Z] } [Pipeline] sh [2022-08-02T10:25:56.786Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-02T10:25:57.134Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-02T10:26:15.482Z] provisioning config files... [2022-08-02T10:26:15.506Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/54@tmp/config2018876971550441172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:26:16.095Z] ---> docker-login.sh [2022-08-02T10:26:16.095Z] nexus3.edgexfoundry.org:10001 [2022-08-02T10:26:16.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:26:16.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:26:16.970Z] Configure a credential helper to remove this warning. See [2022-08-02T10:26:16.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:26:16.970Z] [2022-08-02T10:26:16.970Z] Login Succeeded [2022-08-02T10:26:16.970Z] nexus3.edgexfoundry.org:10002 [2022-08-02T10:26:17.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:26:17.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:26:17.522Z] Configure a credential helper to remove this warning. See [2022-08-02T10:26:17.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:26:17.522Z] [2022-08-02T10:26:17.522Z] Login Succeeded [2022-08-02T10:26:17.522Z] nexus3.edgexfoundry.org:10003 [2022-08-02T10:26:17.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:26:18.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:26:18.092Z] Configure a credential helper to remove this warning. See [2022-08-02T10:26:18.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:26:18.092Z] [2022-08-02T10:26:18.092Z] Login Succeeded [2022-08-02T10:26:18.092Z] nexus3.edgexfoundry.org:10004 [2022-08-02T10:26:18.366Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:26:18.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:26:18.644Z] Configure a credential helper to remove this warning. See [2022-08-02T10:26:18.644Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:26:18.644Z] [2022-08-02T10:26:18.644Z] Login Succeeded [2022-08-02T10:26:18.644Z] docker.io [2022-08-02T10:26:18.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:26:19.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:26:19.192Z] Configure a credential helper to remove this warning. See [2022-08-02T10:26:19.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:26:19.192Z] [2022-08-02T10:26:19.192Z] Login Succeeded [2022-08-02T10:26:19.192Z] ---> docker-login.sh ends [Pipeline] } [2022-08-02T10:26:19.212Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-02T10:26:19.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T10:26:19.509Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T10:26:19.519Z] ========================================================= [2022-08-02T10:26:19.519Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-02T10:26:19.519Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:26:19.880Z] + 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-02T10:26:19.880Z] Sending build context to Docker daemon 126.5kB [2022-08-02T10:26:20.154Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-08-02T10:26:20.154Z] Step 2/12 : FROM ${BASE} AS builder [2022-08-02T10:26:20.431Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-02T10:26:20.431Z] b3c136eddcbf: Pulling fs layer [2022-08-02T10:26:20.431Z] c0a3192eca97: Pulling fs layer [2022-08-02T10:26:20.431Z] a050256f5b6f: Pulling fs layer [2022-08-02T10:26:20.431Z] 656be50a0ddc: Pulling fs layer [2022-08-02T10:26:20.431Z] 2bbca73fdf42: Pulling fs layer [2022-08-02T10:26:20.431Z] 46d945488cbd: Pulling fs layer [2022-08-02T10:26:20.431Z] 8a5474983e97: Pulling fs layer [2022-08-02T10:26:20.431Z] 329c88fbcd65: Pulling fs layer [2022-08-02T10:26:20.431Z] 46d945488cbd: Waiting [2022-08-02T10:26:20.431Z] 656be50a0ddc: Waiting [2022-08-02T10:26:20.431Z] 8a5474983e97: Waiting [2022-08-02T10:26:20.431Z] 329c88fbcd65: Waiting [2022-08-02T10:26:20.431Z] 2bbca73fdf42: Waiting [2022-08-02T10:26:20.431Z] a050256f5b6f: Verifying Checksum [2022-08-02T10:26:20.431Z] a050256f5b6f: Download complete [2022-08-02T10:26:20.431Z] c0a3192eca97: Verifying Checksum [2022-08-02T10:26:20.431Z] c0a3192eca97: Download complete [2022-08-02T10:26:20.431Z] 2bbca73fdf42: Verifying Checksum [2022-08-02T10:26:20.431Z] 2bbca73fdf42: Download complete [2022-08-02T10:26:20.431Z] 46d945488cbd: Verifying Checksum [2022-08-02T10:26:20.431Z] 46d945488cbd: Download complete [2022-08-02T10:26:20.431Z] b3c136eddcbf: Verifying Checksum [2022-08-02T10:26:21.429Z] b3c136eddcbf: Pull complete [2022-08-02T10:26:21.710Z] 329c88fbcd65: Verifying Checksum [2022-08-02T10:26:21.710Z] 329c88fbcd65: Download complete [2022-08-02T10:26:21.989Z] c0a3192eca97: Pull complete [2022-08-02T10:26:22.267Z] a050256f5b6f: Pull complete [2022-08-02T10:26:22.871Z] 8a5474983e97: Verifying Checksum [2022-08-02T10:26:22.871Z] 8a5474983e97: Download complete [2022-08-02T10:26:23.467Z] 656be50a0ddc: Verifying Checksum [2022-08-02T10:26:23.467Z] 656be50a0ddc: Download complete [2022-08-02T10:26:35.873Z] 656be50a0ddc: Pull complete [2022-08-02T10:26:36.147Z] 2bbca73fdf42: Pull complete [2022-08-02T10:26:36.422Z] 46d945488cbd: Pull complete [2022-08-02T10:26:43.155Z] 8a5474983e97: Pull complete [2022-08-02T10:26:44.597Z] 329c88fbcd65: Pull complete [2022-08-02T10:26:44.597Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-02T10:26:44.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-02T10:26:44.597Z] ---> ff4287adb874 [2022-08-02T10:26:44.597Z] Step 3/12 : ARG MAKE='make build' [2022-08-02T10:26:46.595Z] ---> Running in 82fe24ed4064 [2022-08-02T10:26:46.595Z] Removing intermediate container 82fe24ed4064 [2022-08-02T10:26:46.595Z] ---> 6a123b90ab9c [2022-08-02T10:26:46.595Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-02T10:26:46.595Z] ---> Running in db32c3f0a836 [2022-08-02T10:26:46.870Z] Removing intermediate container db32c3f0a836 [2022-08-02T10:26:46.870Z] ---> 99df6e5cb834 [2022-08-02T10:26:46.870Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-08-02T10:26:47.155Z] ---> Running in f4592dd4455b [2022-08-02T10:26:47.429Z] Removing intermediate container f4592dd4455b [2022-08-02T10:26:47.430Z] ---> 7c0490139731 [2022-08-02T10:26:47.430Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T10:26:47.430Z] ---> Running in 9e30e86b92b2 [2022-08-02T10:26:49.410Z] Removing intermediate container 9e30e86b92b2 [2022-08-02T10:26:49.410Z] ---> 95c98be810de [2022-08-02T10:26:49.410Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-02T10:26:49.410Z] ---> Running in f19cdf351f84 [2022-08-02T10:26:50.395Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-02T10:26:50.993Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-02T10:26:52.442Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-08-02T10:26:52.442Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-08-02T10:26:52.442Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-08-02T10:26:53.037Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-08-02T10:26:53.313Z] Executing busybox-1.35.0-r13.trigger [2022-08-02T10:26:53.313Z] OK: 226 MiB in 55 packages [2022-08-02T10:26:54.303Z] Removing intermediate container f19cdf351f84 [2022-08-02T10:26:54.303Z] ---> e68a3f0841d9 [2022-08-02T10:26:54.303Z] Step 8/12 : WORKDIR /device-rest-go [2022-08-02T10:26:54.303Z] ---> Running in 806fc11023df [2022-08-02T10:26:54.576Z] Removing intermediate container 806fc11023df [2022-08-02T10:26:54.577Z] ---> 5bc8645dacbe [2022-08-02T10:26:54.577Z] Step 9/12 : COPY go.mod vendor* ./ [2022-08-02T10:26:55.178Z] ---> 4446f593a956 [2022-08-02T10:26:55.178Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-02T10:26:55.178Z] ---> Running in e3139a71ca62 [2022-08-02T10:27:42.161Z] Removing intermediate container e3139a71ca62 [2022-08-02T10:27:42.161Z] ---> b29c4e40411f [2022-08-02T10:27:42.161Z] Step 11/12 : COPY . . [2022-08-02T10:27:42.766Z] ---> 9484f02ff572 [2022-08-02T10:27:42.766Z] Step 12/12 : RUN $MAKE [2022-08-02T10:27:42.766Z] ---> Running in ceb5661430cd [2022-08-02T10:27:43.742Z] noop [2022-08-02T10:27:44.336Z] Removing intermediate container ceb5661430cd [2022-08-02T10:27:44.336Z] ---> 67fc277623ad [2022-08-02T10:27:44.336Z] Successfully built 67fc277623ad [2022-08-02T10:27:44.336Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:27:44.698Z] + docker inspect -f . ci-base-image-arm64 [2022-08-02T10:27:44.698Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:27:44.934Z] prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container [2022-08-02T10:27:45.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/54 -v /w/workspace/device-rest-go/54:/w/workspace/device-rest-go/54:rw,z -v /w/workspace/device-rest-go/54@tmp:/w/workspace/device-rest-go/54@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-02T10:27:46.257Z] $ docker top a1bd235de0383ce84a9bb46ee73cddad431f7305878588e52f8b5a33d5ab5c73 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T10:27:47.148Z] + go version [2022-08-02T10:27:47.148Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-02T10:27:47.174Z] $ docker stop --time=1 a1bd235de0383ce84a9bb46ee73cddad431f7305878588e52f8b5a33d5ab5c73 [2022-08-02T10:27:48.793Z] $ docker rm -f a1bd235de0383ce84a9bb46ee73cddad431f7305878588e52f8b5a33d5ab5c73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:27:49.361Z] + docker inspect -f . ci-base-image-arm64 [2022-08-02T10:27:49.362Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:27:49.592Z] prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container [2022-08-02T10:27:49.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rest-go/54 -v /w/workspace/device-rest-go/54:/w/workspace/device-rest-go/54:rw,z -v /w/workspace/device-rest-go/54@tmp:/w/workspace/device-rest-go/54@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-02T10:27:50.931Z] $ docker top 0851e0a81cffecd7c542df29432cc7fa8b83ce8d731a493243ac78b03d84ebdb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T10:27:51.850Z] + git config --global --add safe.directory /w/workspace/device-rest-go/54 [Pipeline] fileExists [Pipeline] sh [2022-08-02T10:27:52.516Z] + make test [2022-08-02T10:27:52.516Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-02T10:27:53.964Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-08-02T10:29:15.827Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-08-02T10:29:15.827Z] ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements [2022-08-02T10:29:15.827Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-02T10:29:15.827Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-02T10:29:30.978Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-02T10:29:30.978Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-02T10:29:30.978Z] ./bin/test-attribution-txt.sh [2022-08-02T10:29:30.978Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-08-02T10:29:30.978Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-08-02T10:29:30.978Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-08-02T10:29:30.999Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-02T10:29:31.017Z] $ docker stop --time=1 0851e0a81cffecd7c542df29432cc7fa8b83ce8d731a493243ac78b03d84ebdb [2022-08-02T10:29:32.835Z] $ docker rm -f 0851e0a81cffecd7c542df29432cc7fa8b83ce8d731a493243ac78b03d84ebdb [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-02T10:29:33.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-02T10:29:33.812Z] Warning: overwriting stash ‘coverage-report’ [2022-08-02T10:29:34.238Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-02T10:29:34.652Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-02T10:29:34.990Z] + ls -al . [2022-08-02T10:29:34.990Z] total 168 [2022-08-02T10:29:34.990Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 10:27 . [2022-08-02T10:29:34.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 10:25 .. [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 2 10:25 .dockerignore [2022-08-02T10:29:34.990Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 2 10:25 .git [2022-08-02T10:29:34.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:25 .github [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 2 10:25 .gitignore [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 2 10:25 .golangci.yml [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 8724 Aug 2 10:25 Attribution.txt [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 11736 Aug 2 10:25 CHANGELOG.md [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 1674 Aug 2 10:25 Dockerfile [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 2 10:25 GOVERNANCE.md [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 2 10:25 Jenkinsfile [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 2 10:25 LICENSE [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 1964 Aug 2 10:25 Makefile [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 2 10:25 OWNERS.md [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 8003 Aug 2 10:25 README.md [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 12 Aug 2 10:21 VERSION [2022-08-02T10:29:34.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 10:25 bin [2022-08-02T10:29:34.990Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 2 10:25 cmd [2022-08-02T10:29:34.990Z] -rw-r--r-- 1 jenkins jenkins 9355 Aug 2 10:29 coverage.out [2022-08-02T10:29:34.990Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 2 10:25 driver [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 3476 Aug 2 10:25 go.mod [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 36716 Aug 2 10:25 go.sum [2022-08-02T10:29:34.990Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 2 10:25 snap [2022-08-02T10:29:34.990Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 2 10:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:29:35.354Z] + 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=ffd2286d282b3823fe96213d71db487366ab171f --label arch=arm64 --label version=2.3.0-dev.10 . [2022-08-02T10:29:35.354Z] Sending build context to Docker daemon 136.7kB [2022-08-02T10:29:35.629Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-08-02T10:29:35.629Z] Step 2/25 : FROM ${BASE} AS builder [2022-08-02T10:29:35.629Z] ---> 67fc277623ad [2022-08-02T10:29:35.629Z] Step 3/25 : ARG MAKE='make build' [2022-08-02T10:29:35.629Z] ---> Running in 8dff6d35a5a9 [2022-08-02T10:29:35.906Z] Removing intermediate container 8dff6d35a5a9 [2022-08-02T10:29:35.906Z] ---> 6cbf76b11dca [2022-08-02T10:29:35.906Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-08-02T10:29:36.180Z] ---> Running in 4fae9b5943c6 [2022-08-02T10:29:36.462Z] Removing intermediate container 4fae9b5943c6 [2022-08-02T10:29:36.462Z] ---> 40d4087ab152 [2022-08-02T10:29:36.462Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-08-02T10:29:36.462Z] ---> Running in 875b2e86310b [2022-08-02T10:29:36.741Z] Removing intermediate container 875b2e86310b [2022-08-02T10:29:36.741Z] ---> d411884ef3b5 [2022-08-02T10:29:36.741Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-02T10:29:36.741Z] ---> Running in 1a687cff555c [2022-08-02T10:29:38.739Z] Removing intermediate container 1a687cff555c [2022-08-02T10:29:38.739Z] ---> 28d8d4c6dfcf [2022-08-02T10:29:38.739Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-02T10:29:38.739Z] ---> Running in 00af0c0aea32 [2022-08-02T10:29:39.335Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-02T10:29:40.322Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-02T10:29:41.307Z] OK: 226 MiB in 55 packages [2022-08-02T10:29:41.904Z] Removing intermediate container 00af0c0aea32 [2022-08-02T10:29:41.904Z] ---> dd7dde065ee4 [2022-08-02T10:29:41.904Z] Step 8/25 : WORKDIR /device-rest-go [2022-08-02T10:29:41.904Z] ---> Running in 55088823a361 [2022-08-02T10:29:42.506Z] Removing intermediate container 55088823a361 [2022-08-02T10:29:42.506Z] ---> f201ec0e4147 [2022-08-02T10:29:42.506Z] Step 9/25 : COPY go.mod vendor* ./ [2022-08-02T10:29:42.781Z] ---> d2374d9a9a86 [2022-08-02T10:29:42.781Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-02T10:29:43.057Z] ---> Running in 2c12e5632d79 [2022-08-02T10:29:45.037Z] Removing intermediate container 2c12e5632d79 [2022-08-02T10:29:45.037Z] ---> 6bf4b2a6f227 [2022-08-02T10:29:45.037Z] Step 11/25 : COPY . . [2022-08-02T10:29:45.326Z] ---> 65da1a45a01a [2022-08-02T10:29:45.326Z] Step 12/25 : RUN $MAKE [2022-08-02T10:29:45.326Z] ---> Running in c13094ac9a14 [2022-08-02T10:29:46.309Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.10" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-08-02T10:31:53.280Z] Removing intermediate container c13094ac9a14 [2022-08-02T10:31:53.280Z] ---> 852d0ac54eee [2022-08-02T10:31:53.280Z] Step 13/25 : FROM alpine:3.16 [2022-08-02T10:31:53.280Z] 3.16: Pulling from library/alpine [2022-08-02T10:31:53.280Z] f97344484467: Pulling fs layer [2022-08-02T10:31:53.280Z] f97344484467: Verifying Checksum [2022-08-02T10:31:53.280Z] f97344484467: Download complete [2022-08-02T10:31:53.280Z] f97344484467: Pull complete [2022-08-02T10:31:53.280Z] Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 [2022-08-02T10:31:53.280Z] Status: Downloaded newer image for alpine:3.16 [2022-08-02T10:31:53.280Z] ---> 3d81c46cd875 [2022-08-02T10:31:53.280Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-08-02T10:31:53.280Z] ---> Running in 381284fa2038 [2022-08-02T10:31:53.280Z] Removing intermediate container 381284fa2038 [2022-08-02T10:31:53.280Z] ---> 88dd7ebe667b [2022-08-02T10:31:53.280Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-08-02T10:31:53.280Z] ---> Running in 7a84a683944c [2022-08-02T10:31:53.280Z] Removing intermediate container 7a84a683944c [2022-08-02T10:31:53.280Z] ---> 956a8e6d8e33 [2022-08-02T10:31:53.280Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-02T10:31:53.280Z] ---> Running in 1f70c2bbff34 [2022-08-02T10:31:53.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-02T10:31:53.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-02T10:31:53.280Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-02T10:31:53.280Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-02T10:31:53.280Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-02T10:31:53.280Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-02T10:31:53.280Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-02T10:31:53.280Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-02T10:31:53.280Z] Executing busybox-1.35.0-r15.trigger [2022-08-02T10:31:53.280Z] OK: 8 MiB in 20 packages [2022-08-02T10:31:53.280Z] Removing intermediate container 1f70c2bbff34 [2022-08-02T10:31:53.280Z] ---> 84903cb68e61 [2022-08-02T10:31:53.280Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-08-02T10:31:53.280Z] ---> 2b41bc4d86e6 [2022-08-02T10:31:53.280Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-08-02T10:31:53.280Z] ---> 59d7bc52474b [2022-08-02T10:31:53.280Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-08-02T10:31:53.880Z] ---> a9d56079c9c2 [2022-08-02T10:31:53.881Z] Step 20/25 : EXPOSE 59986 [2022-08-02T10:31:53.881Z] ---> Running in 537d114a947a [2022-08-02T10:31:54.157Z] Removing intermediate container 537d114a947a [2022-08-02T10:31:54.157Z] ---> 0e6f7252408d [2022-08-02T10:31:54.157Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-08-02T10:31:54.157Z] ---> Running in 92b7b0dcbc2e [2022-08-02T10:31:54.438Z] Removing intermediate container 92b7b0dcbc2e [2022-08-02T10:31:54.438Z] ---> 03e7920159f5 [2022-08-02T10:31:54.438Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-08-02T10:31:54.712Z] ---> Running in e85bca964588 [2022-08-02T10:31:54.987Z] Removing intermediate container e85bca964588 [2022-08-02T10:31:54.987Z] ---> ef23c7c57ef2 [2022-08-02T10:31:54.987Z] Step 23/25 : LABEL arch=arm64 [2022-08-02T10:31:54.987Z] ---> Running in 68d073b62b76 [2022-08-02T10:31:55.263Z] Removing intermediate container 68d073b62b76 [2022-08-02T10:31:55.263Z] ---> 516ada31e163 [2022-08-02T10:31:55.263Z] Step 24/25 : LABEL git_sha=ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:31:55.263Z] ---> Running in 9eeaaa521d07 [2022-08-02T10:31:55.538Z] Removing intermediate container 9eeaaa521d07 [2022-08-02T10:31:55.538Z] ---> eabb3a56fba1 [2022-08-02T10:31:55.538Z] Step 25/25 : LABEL version=2.3.0-dev.10 [2022-08-02T10:31:55.813Z] ---> Running in 18c5d3ccfbe3 [2022-08-02T10:31:56.088Z] Removing intermediate container 18c5d3ccfbe3 [2022-08-02T10:31:56.088Z] ---> a50c0844b959 [2022-08-02T10:31:56.088Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-02T10:31:56.088Z] Successfully built a50c0844b959 [2022-08-02T10:31:56.088Z] 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-02T10:31:56.219Z] provisioning config files... [2022-08-02T10:31:56.240Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/54@tmp/config8703321512203836119tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:31:56.597Z] ---> docker-login.sh [2022-08-02T10:31:56.597Z] nexus3.edgexfoundry.org:10001 [2022-08-02T10:31:56.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:31:56.870Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:31:56.870Z] Configure a credential helper to remove this warning. See [2022-08-02T10:31:56.870Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:31:56.870Z] [2022-08-02T10:31:56.870Z] Login Succeeded [2022-08-02T10:31:56.870Z] nexus3.edgexfoundry.org:10002 [2022-08-02T10:31:57.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:31:57.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:31:57.468Z] Configure a credential helper to remove this warning. See [2022-08-02T10:31:57.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:31:57.468Z] [2022-08-02T10:31:57.468Z] Login Succeeded [2022-08-02T10:31:57.468Z] nexus3.edgexfoundry.org:10003 [2022-08-02T10:31:57.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:31:58.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:31:58.016Z] Configure a credential helper to remove this warning. See [2022-08-02T10:31:58.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:31:58.016Z] [2022-08-02T10:31:58.016Z] Login Succeeded [2022-08-02T10:31:58.016Z] nexus3.edgexfoundry.org:10004 [2022-08-02T10:31:58.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:31:58.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:31:58.291Z] Configure a credential helper to remove this warning. See [2022-08-02T10:31:58.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:31:58.291Z] [2022-08-02T10:31:58.291Z] Login Succeeded [2022-08-02T10:31:58.291Z] docker.io [2022-08-02T10:31:58.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-02T10:31:59.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-02T10:31:59.162Z] Configure a credential helper to remove this warning. See [2022-08-02T10:31:59.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-02T10:31:59.162Z] [2022-08-02T10:31:59.162Z] Login Succeeded [2022-08-02T10:31:59.162Z] ---> docker-login.sh ends [Pipeline] } [2022-08-02T10:31:59.183Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-02T10:31:59.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-02T10:31:59.235Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-08-02T10:31:59.235Z] ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:31:59.235Z] latest [2022-08-02T10:31:59.235Z] 2.3.0-dev.10 [2022-08-02T10:31:59.235Z] ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10 [2022-08-02T10:31:59.235Z] main [2022-08-02T10:31:59.235Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:31:59.596Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ffd2286d282b3823fe96213d71db487366ab171f [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:31:59.962Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:31:59.962Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-02T10:31:59.962Z] 1ae4eb4ce23d: Preparing [2022-08-02T10:31:59.962Z] 5709e0e222d8: Preparing [2022-08-02T10:31:59.962Z] c0276258f258: Preparing [2022-08-02T10:31:59.962Z] dba7f0eeaab0: Preparing [2022-08-02T10:31:59.962Z] 5b7df235d876: Preparing [2022-08-02T10:31:59.962Z] 5b7df235d876: Layer already exists [2022-08-02T10:32:00.237Z] 5709e0e222d8: Pushed [2022-08-02T10:32:00.237Z] 1ae4eb4ce23d: Pushed [2022-08-02T10:32:00.837Z] dba7f0eeaab0: Pushed [2022-08-02T10:32:06.251Z] c0276258f258: Pushed [2022-08-02T10:32:06.251Z] ffd2286d282b3823fe96213d71db487366ab171f: digest: sha256:f776d10436cf67d115644a6f16b6822b31e8be8f9ea964e04f20af04eb6dd49b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:32:06.625Z] + 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-02T10:32:06.988Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-08-02T10:32:06.988Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-02T10:32:06.988Z] 1ae4eb4ce23d: Preparing [2022-08-02T10:32:06.988Z] 5709e0e222d8: Preparing [2022-08-02T10:32:06.988Z] c0276258f258: Preparing [2022-08-02T10:32:06.988Z] dba7f0eeaab0: Preparing [2022-08-02T10:32:06.988Z] 5b7df235d876: Preparing [2022-08-02T10:32:06.988Z] 5b7df235d876: Layer already exists [2022-08-02T10:32:06.988Z] 5709e0e222d8: Layer already exists [2022-08-02T10:32:06.988Z] 1ae4eb4ce23d: Layer already exists [2022-08-02T10:32:06.988Z] dba7f0eeaab0: Layer already exists [2022-08-02T10:32:06.988Z] c0276258f258: Layer already exists [2022-08-02T10:32:07.261Z] latest: digest: sha256:f776d10436cf67d115644a6f16b6822b31e8be8f9ea964e04f20af04eb6dd49b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:32:07.622Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:32:07.983Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.10 [2022-08-02T10:32:07.983Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-02T10:32:07.983Z] 1ae4eb4ce23d: Preparing [2022-08-02T10:32:07.983Z] 5709e0e222d8: Preparing [2022-08-02T10:32:07.983Z] c0276258f258: Preparing [2022-08-02T10:32:07.983Z] dba7f0eeaab0: Preparing [2022-08-02T10:32:07.983Z] 5b7df235d876: Preparing [2022-08-02T10:32:07.983Z] 5709e0e222d8: Layer already exists [2022-08-02T10:32:07.983Z] c0276258f258: Layer already exists [2022-08-02T10:32:07.983Z] 5b7df235d876: Layer already exists [2022-08-02T10:32:07.983Z] 1ae4eb4ce23d: Layer already exists [2022-08-02T10:32:07.983Z] dba7f0eeaab0: Layer already exists [2022-08-02T10:32:08.257Z] 2.3.0-dev.10: digest: sha256:f776d10436cf67d115644a6f16b6822b31e8be8f9ea964e04f20af04eb6dd49b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:32:08.627Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:32:09.002Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10 [2022-08-02T10:32:09.002Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-02T10:32:09.002Z] 1ae4eb4ce23d: Preparing [2022-08-02T10:32:09.002Z] 5709e0e222d8: Preparing [2022-08-02T10:32:09.002Z] c0276258f258: Preparing [2022-08-02T10:32:09.002Z] dba7f0eeaab0: Preparing [2022-08-02T10:32:09.002Z] 5b7df235d876: Preparing [2022-08-02T10:32:09.002Z] c0276258f258: Layer already exists [2022-08-02T10:32:09.002Z] 5b7df235d876: Layer already exists [2022-08-02T10:32:09.002Z] 1ae4eb4ce23d: Layer already exists [2022-08-02T10:32:09.002Z] 5709e0e222d8: Layer already exists [2022-08-02T10:32:09.002Z] dba7f0eeaab0: Layer already exists [2022-08-02T10:32:09.274Z] ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10: digest: sha256:f776d10436cf67d115644a6f16b6822b31e8be8f9ea964e04f20af04eb6dd49b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:32:09.649Z] + 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-02T10:32:10.011Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-08-02T10:32:10.011Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-08-02T10:32:10.011Z] 1ae4eb4ce23d: Preparing [2022-08-02T10:32:10.011Z] 5709e0e222d8: Preparing [2022-08-02T10:32:10.011Z] c0276258f258: Preparing [2022-08-02T10:32:10.011Z] dba7f0eeaab0: Preparing [2022-08-02T10:32:10.011Z] 5b7df235d876: Preparing [2022-08-02T10:32:10.011Z] 5b7df235d876: Layer already exists [2022-08-02T10:32:10.011Z] 5709e0e222d8: Layer already exists [2022-08-02T10:32:10.012Z] c0276258f258: Layer already exists [2022-08-02T10:32:10.012Z] 1ae4eb4ce23d: Layer already exists [2022-08-02T10:32:10.012Z] dba7f0eeaab0: Layer already exists [2022-08-02T10:32:10.283Z] main: digest: sha256:f776d10436cf67d115644a6f16b6822b31e8be8f9ea964e04f20af04eb6dd49b size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-08-02T10:32:10.349Z] ===================================================== [Pipeline] echo [2022-08-02T10:32:10.360Z] taggedImages: [2022-08-02T10:32:10.360Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ffd2286d282b3823fe96213d71db487366ab171f [2022-08-02T10:32:10.360Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-08-02T10:32:10.360Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.10 [2022-08-02T10:32:10.360Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ffd2286d282b3823fe96213d71db487366ab171f-2.3.0-dev.10 [2022-08-02T10:32:10.360Z] - 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-02T10:32:10.731Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-02T10:32:10.731Z] [2022-08-02T10:32:10.731Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:32:11.088Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-02T10:32:11.364Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-02T10:32:11.364Z] 8998bd30e6a1: Pulling fs layer [2022-08-02T10:32:11.364Z] 04944245beec: Pulling fs layer [2022-08-02T10:32:11.364Z] 699f458cf7ca: Pulling fs layer [2022-08-02T10:32:11.364Z] 765212b225bb: Pulling fs layer [2022-08-02T10:32:11.364Z] f23df028b6ca: Pulling fs layer [2022-08-02T10:32:11.364Z] d65c8cfc05b1: Pulling fs layer [2022-08-02T10:32:11.364Z] 2437ff75d9bd: Pulling fs layer [2022-08-02T10:32:11.364Z] 765212b225bb: Waiting [2022-08-02T10:32:11.364Z] f23df028b6ca: Waiting [2022-08-02T10:32:11.364Z] d65c8cfc05b1: Waiting [2022-08-02T10:32:11.364Z] 2437ff75d9bd: Waiting [2022-08-02T10:32:11.364Z] 04944245beec: Verifying Checksum [2022-08-02T10:32:11.364Z] 04944245beec: Download complete [2022-08-02T10:32:11.364Z] 765212b225bb: Verifying Checksum [2022-08-02T10:32:11.364Z] 765212b225bb: Download complete [2022-08-02T10:32:11.364Z] f23df028b6ca: Download complete [2022-08-02T10:32:11.364Z] d65c8cfc05b1: Verifying Checksum [2022-08-02T10:32:11.364Z] d65c8cfc05b1: Download complete [2022-08-02T10:32:11.643Z] 699f458cf7ca: Verifying Checksum [2022-08-02T10:32:11.643Z] 699f458cf7ca: Download complete [2022-08-02T10:32:11.918Z] 8998bd30e6a1: Verifying Checksum [2022-08-02T10:32:11.918Z] 8998bd30e6a1: Download complete [2022-08-02T10:32:14.552Z] 2437ff75d9bd: Verifying Checksum [2022-08-02T10:32:14.553Z] 2437ff75d9bd: Download complete [2022-08-02T10:32:16.542Z] 8998bd30e6a1: Pull complete [2022-08-02T10:32:16.815Z] 04944245beec: Pull complete [2022-08-02T10:32:18.254Z] 699f458cf7ca: Pull complete [2022-08-02T10:32:18.530Z] 765212b225bb: Pull complete [2022-08-02T10:32:19.511Z] f23df028b6ca: Pull complete [2022-08-02T10:32:19.511Z] d65c8cfc05b1: Pull complete [2022-08-02T10:32:34.610Z] 2437ff75d9bd: Pull complete [2022-08-02T10:32:34.610Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-02T10:32:34.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-02T10:32:34.610Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:32:34.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-21763 does not seem to be running inside a container [2022-08-02T10:32:34.961Z] $ 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/54 -v /w/workspace/device-rest-go/54:/w/workspace/device-rest-go/54:rw,z -v /w/workspace/device-rest-go/54@tmp:/w/workspace/device-rest-go/54@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-02T10:32:37.467Z] $ docker top 2db1a460c6e9c669ce246538104538f3d9b0f8a8d2ba526981cc184747640015 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:32:38.400Z] ---> job-cost.sh [2022-08-02T10:32:38.400Z] lf-activate-venv: SKIPPING [2022-08-02T10:32:38.400Z] INFO: No Stack... [2022-08-02T10:32:38.997Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-02T10:32:39.591Z] INFO: Archiving Costs [Pipeline] sh [2022-08-02T10:32:40.263Z] + cut -d, -f6 [2022-08-02T10:32:40.263Z] + cat /w/workspace/device-rest-go/54/archives/cost.csv [Pipeline] lock [2022-08-02T10:32:40.329Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-54-stack-cost] [2022-08-02T10:32:40.335Z] Resource [jenkins-edgexfoundry-device-rest-go-main-54-stack-cost] did not exist. Created. [2022-08-02T10:32:40.335Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-54-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-02T10:32:41.013Z] /w/workspace/device-rest-go/54@tmp/durable-11a9d41e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-02T10:32:41.694Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-02T10:32:41.715Z] Warning: overwriting stash ‘stack-cost’ [2022-08-02T10:32:41.758Z] Stashed 1 file(s) [Pipeline] } [2022-08-02T10:32:41.770Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-54-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-02T10:32:41.791Z] $ docker stop --time=1 2db1a460c6e9c669ce246538104538f3d9b0f8a8d2ba526981cc184747640015 [2022-08-02T10:32:43.485Z] $ docker rm -f 2db1a460c6e9c669ce246538104538f3d9b0f8a8d2ba526981cc184747640015 [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-02T10:32:43.950Z] provisioning config files... [2022-08-02T10:32:43.960Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2830079174298954732tmp [Pipeline] { [Pipeline] sh [2022-08-02T10:32:44.256Z] + set +x [2022-08-02T10:32:44.256Z] + curl -s https://codecov.io/bash [2022-08-02T10:32:44.256Z] + bash -s -- [2022-08-02T10:32:44.256Z] [2022-08-02T10:32:44.256Z] _____ _ [2022-08-02T10:32:44.256Z] / ____| | | [2022-08-02T10:32:44.256Z] | | ___ __| | ___ ___ _____ __ [2022-08-02T10:32:44.256Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-02T10:32:44.256Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-02T10:32:44.256Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-02T10:32:44.256Z] Bash-1.0.6 [2022-08-02T10:32:44.256Z] [2022-08-02T10:32:44.256Z] [2022-08-02T10:32:44.256Z] ==> git version 2.25.1 found [2022-08-02T10:32:44.256Z] ==> 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-02T10:32:44.256Z] Release-Date: 2020-01-08 [2022-08-02T10:32:44.256Z] 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-02T10:32:44.256Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-02T10:32:44.256Z] ==> Jenkins CI detected. [2022-08-02T10:32:44.256Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-08-02T10:32:44.256Z] project root: . [2022-08-02T10:32:44.256Z] --> token set from env [2022-08-02T10:32:44.256Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-02T10:32:44.256Z] ==> Running gcov in . (disable via -X gcov) [2022-08-02T10:32:44.256Z] ==> Python coveragepy not found [2022-08-02T10:32:44.256Z] ==> Searching for coverage reports in: [2022-08-02T10:32:44.257Z] + . [2022-08-02T10:32:44.257Z] -> Found 1 reports [2022-08-02T10:32:44.257Z] ==> Detecting git/mercurial file structure [2022-08-02T10:32:44.257Z] ==> Reading reports [2022-08-02T10:32:44.257Z] + ./coverage.out bytes=9355 [2022-08-02T10:32:44.257Z] ==> Appending adjustments [2022-08-02T10:32:44.257Z] https://docs.codecov.io/docs/fixing-reports [2022-08-02T10:32:44.516Z] + Found adjustments [2022-08-02T10:32:44.516Z] ==> Gzipping contents [2022-08-02T10:32:44.516Z] 4.0K /tmp/codecov.bmZ8kG.gz [2022-08-02T10:32:44.516Z] ==> Uploading reports [2022-08-02T10:32:44.516Z] url: https://codecov.io [2022-08-02T10:32:44.516Z] query: branch=main&commit=ffd2286d282b3823fe96213d71db487366ab171f&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-02T10:32:44.516Z] -> Pinging Codecov [2022-08-02T10:32:44.516Z] 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=ffd2286d282b3823fe96213d71db487366ab171f&build=54&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F54%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-08-02T10:32:44.777Z] -> Uploading to [2022-08-02T10:32:44.777Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-02/4E5D53B4F1F92C436F7061BF334D961C/ffd2286d282b3823fe96213d71db487366ab171f/47e15a65-dbaa-4897-95fe-b7bc1b7c140c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220802%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220802T103244Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2df876e9d673eada5d44114395ea42827692d49f76c00767538df54fecf1960a [2022-08-02T10:32:44.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-02T10:32:44.777Z] Dload Upload Total Spent Left Speed [2022-08-02T10:32:45.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 6617 --:--:-- --:--:-- --:--:-- 6617 [2022-08-02T10:32:45.040Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ffd2286d282b3823fe96213d71db487366ab171f [Pipeline] } [2022-08-02T10:32:45.048Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-08-02T10:32:45.167Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-08-02T10:32:45.182Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:32:45.476Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-02T10:32:45.476Z] [2022-08-02T10:32:45.476Z] 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-02T10:32:45.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-02T10:32:45.847Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-08-02T10:32:45.847Z] df9b9388f04a: Pulling fs layer [2022-08-02T10:32:45.847Z] 52dc419b0ee2: Pulling fs layer [2022-08-02T10:32:45.847Z] 25bc292e5bac: Pulling fs layer [2022-08-02T10:32:45.847Z] 114826534d7a: Pulling fs layer [2022-08-02T10:32:45.847Z] 4657fd5d0bcf: Pulling fs layer [2022-08-02T10:32:45.847Z] 6ad1cebc031e: Pulling fs layer [2022-08-02T10:32:45.847Z] 8a3aa393b2d8: Pulling fs layer [2022-08-02T10:32:45.847Z] 6ad1cebc031e: Waiting [2022-08-02T10:32:45.847Z] 8a3aa393b2d8: Waiting [2022-08-02T10:32:45.847Z] 114826534d7a: Waiting [2022-08-02T10:32:45.847Z] 4657fd5d0bcf: Waiting [2022-08-02T10:32:45.847Z] 25bc292e5bac: Download complete [2022-08-02T10:32:45.847Z] 52dc419b0ee2: Verifying Checksum [2022-08-02T10:32:45.847Z] 52dc419b0ee2: Download complete [2022-08-02T10:32:45.847Z] 4657fd5d0bcf: Verifying Checksum [2022-08-02T10:32:45.847Z] 4657fd5d0bcf: Download complete [2022-08-02T10:32:45.847Z] df9b9388f04a: Verifying Checksum [2022-08-02T10:32:45.847Z] df9b9388f04a: Download complete [2022-08-02T10:32:46.108Z] df9b9388f04a: Pull complete [2022-08-02T10:32:46.108Z] 6ad1cebc031e: Verifying Checksum [2022-08-02T10:32:46.108Z] 6ad1cebc031e: Download complete [2022-08-02T10:32:46.108Z] 52dc419b0ee2: Pull complete [2022-08-02T10:32:46.108Z] 25bc292e5bac: Pull complete [2022-08-02T10:32:46.679Z] 114826534d7a: Verifying Checksum [2022-08-02T10:32:46.679Z] 114826534d7a: Download complete [2022-08-02T10:32:46.679Z] 8a3aa393b2d8: Verifying Checksum [2022-08-02T10:32:46.679Z] 8a3aa393b2d8: Download complete [2022-08-02T10:32:49.970Z] 114826534d7a: Pull complete [2022-08-02T10:32:50.228Z] 4657fd5d0bcf: Pull complete [2022-08-02T10:32:50.486Z] 6ad1cebc031e: Pull complete [2022-08-02T10:32:53.778Z] 8a3aa393b2d8: Pull complete [2022-08-02T10:32:53.778Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-08-02T10:32:53.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-08-02T10:32:53.778Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:32:53.873Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:32:53.902Z] $ 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-02T10:32:55.766Z] $ docker top e64f3c8c9fd6abc75a086d1842b67ecf270a23e20f45952e9cafc4d4e1da6da4 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-08-02T10:32:55.848Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-08-02T10:32:56.129Z] + set -o pipefail [2022-08-02T10:32:56.129Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-08-02T10:33:01.416Z] [2022-08-02T10:33:01.416Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-08-02T10:33:01.416Z] [2022-08-02T10:33:01.416Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4a62f3f9-c80a-468d-b981-e788d4fdb970 [2022-08-02T10:33:01.416Z] [2022-08-02T10:33:01.416Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-08-02T10:33:01.416Z] [2022-08-02T10:33:01.416Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-08-02T10:33:01.416Z] [2022-08-02T10:33:01.416Z] [Pipeline] } [2022-08-02T10:33:01.422Z] $ docker stop --time=1 e64f3c8c9fd6abc75a086d1842b67ecf270a23e20f45952e9cafc4d4e1da6da4 [2022-08-02T10:33:03.596Z] $ docker rm -f e64f3c8c9fd6abc75a086d1842b67ecf270a23e20f45952e9cafc4d4e1da6da4 [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-02T10:33:04.325Z] + git log --format=format:%s -1 ffd2286d282b3823fe96213d71db487366ab171f [Pipeline] sh [2022-08-02T10:33:04.620Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-02T10:33:04.620Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:33:04.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T10:33:04.920Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:33:05.004Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:33:05.037Z] $ 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-02T10:33:05.473Z] $ docker top 3261839874fb29544f1afd2a262e17d1dd549c48e5f74ca4f56aee1b79a77c43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-02T10:33:05.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-02T10:33:05.568Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-02T10:33:05.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-02T10:33:05.691Z] $ docker exec 3261839874fb29544f1afd2a262e17d1dd549c48e5f74ca4f56aee1b79a77c43 ssh-agent [2022-08-02T10:33:05.809Z] SSH_AUTH_SOCK=/tmp/ssh-vabvRtowTpr5/agent.33 [2022-08-02T10:33:05.809Z] SSH_AGENT_PID=40 [2022-08-02T10:33:05.814Z] Running ssh-add (command line suppressed) [2022-08-02T10:33:05.916Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8299965322196438737.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8299965322196438737.key) [2022-08-02T10:33:05.937Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-02T10:33:06.254Z] + git semver tag [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,426 [run_tag] DEBUG tag force:False [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,426 [check_head_tag] DEBUG check head tag [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,427 [execute] INFO git cat-file --batch-check [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,427 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,430 [execute] INFO git cat-file --batch [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,430 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,442 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,443 [execute] INFO git tag -a v2.3.0-dev.10 -m v2.3.0-dev.10 [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,443 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.10', '-m', 'v2.3.0-dev.10'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-08-02T10:33:06.531Z] 2022-08-02 10:33:06,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:33:06.531Z] 2.3.0-dev.10 [Pipeline] } [2022-08-02T10:33:06.536Z] $ docker exec --env ******** --env ******** 3261839874fb29544f1afd2a262e17d1dd549c48e5f74ca4f56aee1b79a77c43 ssh-agent -k [2022-08-02T10:33:06.633Z] unset SSH_AUTH_SOCK; [2022-08-02T10:33:06.633Z] unset SSH_AGENT_PID; [2022-08-02T10:33:06.633Z] echo Agent pid 40 killed; [2022-08-02T10:33:06.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-02T10:33:06.961Z] + git semver [Pipeline] } [2022-08-02T10:33:07.231Z] $ docker stop --time=1 3261839874fb29544f1afd2a262e17d1dd549c48e5f74ca4f56aee1b79a77c43 [2022-08-02T10:33:08.519Z] $ docker rm -f 3261839874fb29544f1afd2a262e17d1dd549c48e5f74ca4f56aee1b79a77c43 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:33:08.939Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-02T10:33:08.939Z] [2022-08-02T10:33:08.939Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:33:09.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-02T10:33:09.252Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-08-02T10:33:09.252Z] ab5ef0e58194: Pulling fs layer [2022-08-02T10:33:09.252Z] 9712f1f96733: Pulling fs layer [2022-08-02T10:33:09.252Z] 63f879dbbcfc: Pulling fs layer [2022-08-02T10:33:09.252Z] 0d9ebad4ef96: Pulling fs layer [2022-08-02T10:33:09.252Z] e9a5061849ea: Pulling fs layer [2022-08-02T10:33:09.252Z] d747dcd14b5f: Pulling fs layer [2022-08-02T10:33:09.252Z] 2de7ff778b66: Pulling fs layer [2022-08-02T10:33:09.252Z] e9a5061849ea: Waiting [2022-08-02T10:33:09.252Z] 2de7ff778b66: Waiting [2022-08-02T10:33:09.252Z] d747dcd14b5f: Waiting [2022-08-02T10:33:09.252Z] 9712f1f96733: Verifying Checksum [2022-08-02T10:33:09.252Z] 9712f1f96733: Download complete [2022-08-02T10:33:09.515Z] 63f879dbbcfc: Verifying Checksum [2022-08-02T10:33:09.516Z] 63f879dbbcfc: Download complete [2022-08-02T10:33:09.776Z] e9a5061849ea: Verifying Checksum [2022-08-02T10:33:09.776Z] e9a5061849ea: Download complete [2022-08-02T10:33:09.776Z] 0d9ebad4ef96: Verifying Checksum [2022-08-02T10:33:09.776Z] 0d9ebad4ef96: Download complete [2022-08-02T10:33:09.776Z] d747dcd14b5f: Verifying Checksum [2022-08-02T10:33:09.776Z] d747dcd14b5f: Download complete [2022-08-02T10:33:09.776Z] ab5ef0e58194: Verifying Checksum [2022-08-02T10:33:09.776Z] ab5ef0e58194: Download complete [2022-08-02T10:33:09.776Z] 2de7ff778b66: Verifying Checksum [2022-08-02T10:33:09.776Z] 2de7ff778b66: Download complete [2022-08-02T10:33:13.069Z] ab5ef0e58194: Pull complete [2022-08-02T10:33:13.069Z] 9712f1f96733: Pull complete [2022-08-02T10:33:13.637Z] 63f879dbbcfc: Pull complete [2022-08-02T10:33:17.834Z] 0d9ebad4ef96: Pull complete [2022-08-02T10:33:18.405Z] e9a5061849ea: Pull complete [2022-08-02T10:33:18.405Z] d747dcd14b5f: Pull complete [2022-08-02T10:33:19.789Z] 2de7ff778b66: Pull complete [2022-08-02T10:33:19.789Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-08-02T10:33:19.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-08-02T10:33:19.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:33:19.890Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:33:19.919Z] $ 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-02T10:33:22.173Z] $ docker top 5e3726a26d86a859e023bbd70e610b07b56bea07da8e1e2b711e981227d0f578 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-08-02T10:33:22.267Z] provisioning config files... [2022-08-02T10:33:22.275Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2078517307084047552tmp [2022-08-02T10:33:22.286Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4447026964053315978tmp [2022-08-02T10:33:22.296Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7051887628743468825tmp [Pipeline] { [Pipeline] echo [2022-08-02T10:33:22.315Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:22.601Z] ---> sigul-configuration.sh [2022-08-02T10:33:22.601Z] gpg: directory `/root/.gnupg' created [2022-08-02T10:33:22.601Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-08-02T10:33:22.601Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-08-02T10:33:22.601Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-08-02T10:33:22.601Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-08-02T10:33:22.601Z] gpg: CAST5 encrypted data [2022-08-02T10:33:22.601Z] gpg: encrypted with 1 passphrase [2022-08-02T10:33:22.601Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-08-02T10:33:22.901Z] + mkdir /home/jenkins [2022-08-02T10:33:22.901Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-08-02T10:33:23.189Z] + 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-02T10:33:23.198Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:23.486Z] ---> sigul-install.sh [2022-08-02T10:33:23.486Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-08-02T10:33:23.776Z] + git tag --list [2022-08-02T10:33:23.776Z] v1.0.0 [2022-08-02T10:33:23.776Z] v1.1.0 [2022-08-02T10:33:23.776Z] v1.1.1 [2022-08-02T10:33:23.776Z] v1.1.2 [2022-08-02T10:33:23.776Z] v1.2.0 [2022-08-02T10:33:23.776Z] v1.2.1 [2022-08-02T10:33:23.776Z] v2.0.0 [2022-08-02T10:33:23.776Z] v2.1.0 [2022-08-02T10:33:23.776Z] v2.1.1 [2022-08-02T10:33:23.776Z] v2.1.1-dev.1 [2022-08-02T10:33:23.776Z] v2.1.1-dev.2 [2022-08-02T10:33:23.776Z] v2.1.1-dev.3 [2022-08-02T10:33:23.776Z] v2.2.0 [2022-08-02T10:33:23.776Z] v2.2.1-dev.1 [2022-08-02T10:33:23.776Z] v2.2.1-dev.2 [2022-08-02T10:33:23.776Z] v2.2.1-dev.3 [2022-08-02T10:33:23.776Z] v2.2.1-dev.4 [2022-08-02T10:33:23.776Z] v2.2.1-dev.5 [2022-08-02T10:33:23.776Z] v2.2.1-dev.6 [2022-08-02T10:33:23.776Z] v2.2.1-dev.7 [2022-08-02T10:33:23.776Z] v2.2.1-dev.8 [2022-08-02T10:33:23.776Z] v2.2.1-dev.9 [2022-08-02T10:33:23.776Z] v2.3.0-dev.10 [2022-08-02T10:33:23.776Z] v2.3.0-dev.9 [Pipeline] sh [2022-08-02T10:33:24.066Z] + lftools sign git-tag v2.3.0-dev.10 [2022-08-02T10:33:24.637Z] Signing Git tag with Sigul... [2022-08-02T10:33:24.637Z] Signing v2.3.0-dev.10 [Pipeline] echo [2022-08-02T10:33:24.907Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:25.190Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-08-02T10:33:25.199Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-08-02T10:33:25.211Z] $ docker stop --time=1 5e3726a26d86a859e023bbd70e610b07b56bea07da8e1e2b711e981227d0f578 [2022-08-02T10:33:26.517Z] $ docker rm -f 5e3726a26d86a859e023bbd70e610b07b56bea07da8e1e2b711e981227d0f578 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-08-02T10:33:26.951Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-02T10:33:26.951Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:33:27.256Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T10:33:27.256Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:33:27.339Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:33:27.385Z] $ 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-02T10:33:27.798Z] $ docker top 3f6aec3c56419ca932c8c7e1fb6e59284d7b72509db46a5ddc16d6114a744e08 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-02T10:33:27.911Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-02T10:33:27.911Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-02T10:33:28.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-02T10:33:28.042Z] $ docker exec 3f6aec3c56419ca932c8c7e1fb6e59284d7b72509db46a5ddc16d6114a744e08 ssh-agent [2022-08-02T10:33:28.193Z] SSH_AUTH_SOCK=/tmp/ssh-HWMGdtX9BvSh/agent.33 [2022-08-02T10:33:28.193Z] SSH_AGENT_PID=39 [2022-08-02T10:33:28.211Z] Running ssh-add (command line suppressed) [2022-08-02T10:33:28.324Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3263010734690116404.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3263010734690116404.key) [2022-08-02T10:33:28.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-02T10:33:28.642Z] + git semver bump pre [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,843 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,843 [bump_version] DEBUG bumping version:2.3.0-dev.10 on axis:pre with prefix:dev [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,843 [bump_version] DEBUG bumped version:2.3.0-dev.11 [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,844 [write_version] DEBUG write version:2.3.0-dev.11 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,844 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,844 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,845 [execute] INFO git cat-file --batch-check [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,846 [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-02T10:33:28.902Z] 2022-08-02 10:33:28,850 [execute] INFO git cat-file --batch [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-08-02T10:33:28.902Z] 2022-08-02 10:33:28,856 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:33:28.902Z] 2.3.0-dev.11 [Pipeline] } [2022-08-02T10:33:28.908Z] $ docker exec --env ******** --env ******** 3f6aec3c56419ca932c8c7e1fb6e59284d7b72509db46a5ddc16d6114a744e08 ssh-agent -k [2022-08-02T10:33:29.022Z] unset SSH_AUTH_SOCK; [2022-08-02T10:33:29.022Z] unset SSH_AGENT_PID; [2022-08-02T10:33:29.022Z] echo Agent pid 39 killed; [2022-08-02T10:33:29.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-02T10:33:29.356Z] + git semver [Pipeline] } [2022-08-02T10:33:29.624Z] $ docker stop --time=1 3f6aec3c56419ca932c8c7e1fb6e59284d7b72509db46a5ddc16d6114a744e08 [2022-08-02T10:33:30.936Z] $ docker rm -f 3f6aec3c56419ca932c8c7e1fb6e59284d7b72509db46a5ddc16d6114a744e08 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-02T10:33:31.291Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-02T10:33:31.291Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:33:31.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-02T10:33:31.596Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:33:31.677Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:33:31.713Z] $ 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-02T10:33:32.115Z] $ docker top 55fd94e80add3d128f1df9a24934ace43217fd6e794f00ea7966af862b6b1dc8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-02T10:33:32.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-02T10:33:32.217Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-02T10:33:32.334Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-02T10:33:32.332Z] $ docker exec 55fd94e80add3d128f1df9a24934ace43217fd6e794f00ea7966af862b6b1dc8 ssh-agent [2022-08-02T10:33:32.477Z] SSH_AUTH_SOCK=/tmp/ssh-JH36luvUmtbs/agent.32 [2022-08-02T10:33:32.477Z] SSH_AGENT_PID=38 [2022-08-02T10:33:32.482Z] Running ssh-add (command line suppressed) [2022-08-02T10:33:32.603Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5531353534815944441.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5531353534815944441.key) [2022-08-02T10:33:32.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-02T10:33:32.994Z] + git semver push [2022-08-02T10:33:33.277Z] 2022-08-02 10:33:33,124 [run_push] DEBUG push [2022-08-02T10:33:33.277Z] 2022-08-02 10:33:33,125 [execute] INFO git cat-file --batch-check [2022-08-02T10:33:33.277Z] 2022-08-02 10:33:33,125 [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-02T10:33:33.277Z] 2022-08-02 10:33:33,130 [execute] INFO git rev-list 98f7468d8c33fc5d6b7634f2034eb6ec328f6f25 -- [2022-08-02T10:33:33.277Z] 2022-08-02 10:33:33,130 [execute] DEBUG Popen(['git', 'rev-list', '98f7468d8c33fc5d6b7634f2034eb6ec328f6f25', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-08-02T10:33:33.277Z] 2022-08-02 10:33:33,138 [execute] INFO git fetch -v origin [2022-08-02T10:33:33.277Z] 2022-08-02 10:33:33,138 [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-02T10:33:33.848Z] 2022-08-02 10:33:33,608 [run_push] DEBUG no remote changes detected [2022-08-02T10:33:33.848Z] 2022-08-02 10:33:33,608 [execute] INFO git push origin semver [2022-08-02T10:33:33.848Z] 2022-08-02 10:33:33,609 [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-02T10:33:34.420Z] 2022-08-02 10:33:34,301 [run_push] DEBUG push all version tags [2022-08-02T10:33:34.420Z] 2022-08-02 10:33:34,301 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-08-02T10:33:34.420Z] 2022-08-02 10:33:34,302 [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-02T10:33:35.361Z] 2022-08-02 10:33:35,001 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-08-02T10:33:35.361Z] 2.3.0-dev.11 [Pipeline] } [2022-08-02T10:33:35.369Z] $ docker exec --env ******** --env ******** 55fd94e80add3d128f1df9a24934ace43217fd6e794f00ea7966af862b6b1dc8 ssh-agent -k [2022-08-02T10:33:35.474Z] unset SSH_AUTH_SOCK; [2022-08-02T10:33:35.474Z] unset SSH_AGENT_PID; [2022-08-02T10:33:35.474Z] echo Agent pid 38 killed; [2022-08-02T10:33:35.490Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-02T10:33:35.793Z] + git semver [Pipeline] } [2022-08-02T10:33:36.063Z] $ docker stop --time=1 55fd94e80add3d128f1df9a24934ace43217fd6e794f00ea7966af862b6b1dc8 [2022-08-02T10:33:37.367Z] $ docker rm -f 55fd94e80add3d128f1df9a24934ace43217fd6e794f00ea7966af862b6b1dc8 [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-02T10:33:37.952Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-08-02T10:33:37.953Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-02T10:33:37.953Z] total 16 [2022-08-02T10:33:37.953Z] drwxr-xr-x 3 root root 4096 Aug 2 10:23 . [2022-08-02T10:33:37.953Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 10:33 .. [2022-08-02T10:33:37.953Z] drwxr-xr-x 2 root root 4096 Aug 2 10:23 cost [2022-08-02T10:33:37.953Z] -rw-r--r-- 1 root root 85 Aug 2 10:23 cost.csv [2022-08-02T10:33:37.953Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-02T10:33:37.953Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-08-02T10:33:37.953Z] total 16 [2022-08-02T10:33:37.953Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 2 10:23 . [2022-08-02T10:33:37.953Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 2 10:33 .. [2022-08-02T10:33:37.953Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 2 10:23 cost [2022-08-02T10:33:37.953Z] -rw-r--r-- 1 jenkins jenkins 85 Aug 2 10:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:38.249Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:39.114Z] ---> package-listing.sh [2022-08-02T10:33:39.114Z] ++ facter osfamily [2022-08-02T10:33:39.114Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-02T10:33:39.374Z] + OS_FAMILY=debian [2022-08-02T10:33:39.374Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-08-02T10:33:39.374Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-02T10:33:39.374Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-02T10:33:39.374Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-02T10:33:39.374Z] + PACKAGES=/tmp/packages_start.txt [2022-08-02T10:33:39.374Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-08-02T10:33:39.374Z] + PACKAGES=/tmp/packages_end.txt [2022-08-02T10:33:39.374Z] + case "${OS_FAMILY}" in [2022-08-02T10:33:39.374Z] + dpkg -l [2022-08-02T10:33:39.374Z] + grep '^ii' [2022-08-02T10:33:39.374Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-02T10:33:39.374Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-02T10:33:39.374Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-02T10:33:39.374Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-08-02T10:33:39.374Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-08-02T10:33:39.374Z] + 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-02T10:33:39.386Z] 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-02T10:33:39.668Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-02T10:33:40.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-02T10:33:40.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-02T10:33:40.313Z] prd-ubuntu20.04-docker-8c-8g-21762 does not seem to be running inside a container [2022-08-02T10:33:40.347Z] $ 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-02T10:33:40.612Z] $ docker top 869475f4224cb865e56cfbce52f1a071452a2c1e6dd46e7a365cc6d6b1d0c8f0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-02T10:33:40.976Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-02T10:33:41.269Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-02T10:33:41.558Z] + ls /var/log/sa-host [2022-08-02T10:33:41.558Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-02T10:33:41.629Z] provisioning config files... [2022-08-02T10:33:41.640Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5248513912986863509tmp [Pipeline] { [Pipeline] echo [2022-08-02T10:33:41.654Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:41.944Z] ---> create-netrc.sh [Pipeline] } [2022-08-02T10:33:41.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:42.279Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-02T10:33:42.289Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:42.579Z] ---> sudo-logs.sh [2022-08-02T10:33:42.579Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-02T10:33:42.600Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:42.886Z] ---> job-cost.sh [2022-08-02T10:33:42.886Z] lf-activate-venv: SKIPPING [2022-08-02T10:33:42.886Z] DEBUG: total: 0.2199999988079071 [2022-08-02T10:33:42.886Z] INFO: Retrieving Stack Cost... [2022-08-02T10:33:43.148Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-02T10:33:43.720Z] INFO: Archiving Costs [Pipeline] echo [2022-08-02T10:33:43.733Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-02T10:33:44.021Z] ---> logs-deploy.sh [2022-08-02T10:33:44.021Z] lf-activate-venv: SKIPPING [2022-08-02T10:33:44.021Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/54 [2022-08-02T10:33:44.021Z] INFO: archiving workspace using pattern(s): [2022-08-02T10:33:44.962Z] Archives upload complete. [2022-08-02T10:33:44.962Z] INFO: archiving logs to Nexus