Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 868c3d37fa7208ff5e10080602f68a64287cb162 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-ssh8216021091969968586.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh16673185076352311807.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 c72b16708d6eed9a08be464a432ce22db7d90667 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10117818366524828989.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh10330859782446879785.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh7202487930331668942.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-10766’ is offline Running on prd-ubuntu20.04-docker-8c-8g-10767 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 868c3d37fa7208ff5e10080602f68a64287cb162 (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 868c3d37fa7208ff5e10080602f68a64287cb162 # timeout=10 Commit message: "Merge pull request #166 from jpwhitemn/enable-gosec-lint" > git rev-list --no-walk ec779fd03c03a2eb2a0571cd3b2e316fba414fa2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-05T20:08:21.017Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-05T20:08:21.079Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-05T20:08:21.101Z] ========================================================= [2022-04-05T20:08:21.101Z] EdgeX Global Pipelines Version Info [2022-04-05T20:08:21.101Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:08:21.869Z] ------------------- [2022-04-05T20:08:21.869Z] stable info: [2022-04-05T20:08:21.869Z] ------------------- [2022-04-05T20:08:21.869Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-05T20:08:21.869Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:08:21.869Z] Message: update stable to v1.0.221 [2022-04-05T20:08:22.442Z] ------------------- [2022-04-05T20:08:22.442Z] experimental info: [2022-04-05T20:08:22.442Z] ------------------- [2022-04-05T20:08:22.442Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-05T20:08:22.442Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-05T20:08:22.442Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-05T20:08:22.574Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-05T20:08:22.584Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-05T20:08:22.593Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-05T20:08:22.602Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-05T20:08:22.610Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-05T20:08:22.619Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-05T20:08:22.627Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-05T20:08:22.637Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-05T20:08:22.645Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-05T20:08:22.654Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-05T20:08:22.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-05T20:08:22.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-05T20:08:22.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-05T20:08:22.690Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-05T20:08:22.699Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:08:22.707Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-05T20:08:22.716Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:08:22.724Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-05T20:08:22.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-05T20:08:22.750Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-05T20:08:22.769Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-05T20:08:22.790Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-05T20:08:22.808Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-05T20:08:22.820Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-05T20:08:22.833Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-05T20:08:22.845Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-05T20:08:22.857Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-05T20:08:22.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-05T20:08:22.887Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-05T20:08:22.905Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] echo [2022-04-05T20:08:22.918Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 868c3d3 [Pipeline] echo [2022-04-05T20:08:22.930Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:08:22.972Z] provisioning config files... [2022-04-05T20:08:22.985Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6019850304442294239tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:08:23.401Z] ---> docker-login.sh [2022-04-05T20:08:23.401Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:08:23.662Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:23.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:23.925Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:23.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:23.925Z] [2022-04-05T20:08:23.925Z] Login Succeeded [2022-04-05T20:08:23.925Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:08:23.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:23.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:23.925Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:23.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:23.925Z] [2022-04-05T20:08:23.925Z] Login Succeeded [2022-04-05T20:08:23.925Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:08:23.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:24.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:24.190Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:24.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:24.190Z] [2022-04-05T20:08:24.190Z] Login Succeeded [2022-04-05T20:08:24.190Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:08:24.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:24.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:24.190Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:24.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:24.190Z] [2022-04-05T20:08:24.190Z] Login Succeeded [2022-04-05T20:08:24.190Z] docker.io [2022-04-05T20:08:24.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:24.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:24.712Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:24.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:24.712Z] [2022-04-05T20:08:24.712Z] Login Succeeded [2022-04-05T20:08:24.712Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:08:24.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-05T20:08:25.106Z] + git rev-list -1 --merges 868c3d37fa7208ff5e10080602f68a64287cb162~1..868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] echo [2022-04-05T20:08:25.136Z] -----------> git rev-list -1 --merges 868c3d37fa7208ff5e10080602f68a64287cb162~1..868c3d37fa7208ff5e10080602f68a64287cb162 868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:08:25.136Z] 868c3d37fa7208ff5e10080602f68a64287cb162 [false] [Pipeline] sh [2022-04-05T20:08:25.433Z] + git log --format=format:%s -1 868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] echo [2022-04-05T20:08:25.450Z] ========================================================= [2022-04-05T20:08:25.450Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-05T20:08:25.450Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:08:25.786Z] + git log --format=format:%s -1 868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] echo [2022-04-05T20:08:25.800Z] [semverPrep] GIT_COMMIT: 868c3d37fa7208ff5e10080602f68a64287cb162, Commit Message: Merge pull request #166 from jpwhitemn/enable-gosec-lint [Pipeline] echo [2022-04-05T20:08:25.812Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-05T20:08:26.188Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:08:26.188Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-05T20:08:26.188Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-05T20:08:26.188Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-05T20:08:26.188Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-05T20:08:26.188Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-05T20:08:26.188Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:26.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:08:26.536Z] [2022-04-05T20:08:26.536Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:26.842Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:08:26.842Z] latest: Pulling from edgex-devops/git-semver [2022-04-05T20:08:26.842Z] a0d0a0d46f8b: Pulling fs layer [2022-04-05T20:08:26.842Z] 3e5f54012d9b: Pulling fs layer [2022-04-05T20:08:26.842Z] 4c7163046ea9: Pulling fs layer [2022-04-05T20:08:26.842Z] 0c2d73faf560: Pulling fs layer [2022-04-05T20:08:26.842Z] 0c2d73faf560: Waiting [2022-04-05T20:08:26.842Z] 3e5f54012d9b: Verifying Checksum [2022-04-05T20:08:26.842Z] 3e5f54012d9b: Download complete [2022-04-05T20:08:26.842Z] a0d0a0d46f8b: Download complete [2022-04-05T20:08:26.842Z] 0c2d73faf560: Verifying Checksum [2022-04-05T20:08:26.842Z] 0c2d73faf560: Download complete [2022-04-05T20:08:26.842Z] 4c7163046ea9: Verifying Checksum [2022-04-05T20:08:26.842Z] 4c7163046ea9: Download complete [2022-04-05T20:08:27.106Z] a0d0a0d46f8b: Pull complete [2022-04-05T20:08:27.106Z] 3e5f54012d9b: Pull complete [2022-04-05T20:08:27.366Z] 4c7163046ea9: Pull complete [2022-04-05T20:08:27.629Z] 0c2d73faf560: Pull complete [2022-04-05T20:08:27.629Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-05T20:08:27.629Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:08:27.629Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-05T20:08:27.709Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:08:27.764Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:08:28.523Z] $ docker top dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:08:28.619Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:08:28.619Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:08:28.751Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:08:28.766Z] $ docker exec dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 ssh-agent [2022-04-05T20:08:28.892Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGojedl/agent.13 [2022-04-05T20:08:28.892Z] SSH_AGENT_PID=20 [2022-04-05T20:08:28.901Z] Running ssh-add (command line suppressed) [2022-04-05T20:08:29.039Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6106329858946445561.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6106329858946445561.key) [2022-04-05T20:08:29.044Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:08:29.338Z] + git tag --points-at HEAD [Pipeline] } [2022-04-05T20:08:29.371Z] $ docker exec --env ******** --env ******** dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 ssh-agent -k [2022-04-05T20:08:29.487Z] unset SSH_AUTH_SOCK; [2022-04-05T20:08:29.488Z] unset SSH_AGENT_PID; [2022-04-05T20:08:29.488Z] echo Agent pid 20 killed; [2022-04-05T20:08:29.491Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-05T20:08:29.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:08:29.520Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:08:29.662Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:08:29.674Z] $ docker exec dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 ssh-agent [2022-04-05T20:08:29.807Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhiFnlD/agent.54 [2022-04-05T20:08:29.807Z] SSH_AGENT_PID=60 [2022-04-05T20:08:29.813Z] Running ssh-add (command line suppressed) [2022-04-05T20:08:29.957Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8762663468923118590.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8762663468923118590.key) [2022-04-05T20:08:29.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:08:30.251Z] + git semver init [2022-04-05T20:08:30.251Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:08:30.251Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-05T20:08:30.251Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-05T20:08:30.251Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:08:30.251Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:08:30.251Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:08:30.251Z] # $SEMVER_BRANCH = main [2022-04-05T20:08:30.251Z] # $SEMVER_TEMP = /tmp/semver-991629045 [2022-04-05T20:08:30.251Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-05T20:08:31.696Z] # '/tmp/semver-991629045' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-04-05T20:08:31.696Z] # -> Force: false [2022-04-05T20:08:31.697Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-05T20:08:31.718Z] $ docker exec --env ******** --env ******** dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 ssh-agent -k [2022-04-05T20:08:31.827Z] unset SSH_AUTH_SOCK; [2022-04-05T20:08:31.828Z] unset SSH_AGENT_PID; [2022-04-05T20:08:31.828Z] echo Agent pid 60 killed; [2022-04-05T20:08:31.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:08:32.143Z] + git semver [Pipeline] } [2022-04-05T20:08:32.167Z] $ docker stop --time=1 dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 [2022-04-05T20:08:33.587Z] $ docker rm -f dfbc159b113430aa3975bd78b9f763e490cafdd5f7303cf22cdc359a600ff055 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:08:33.949Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-05T20:08:34.196Z] Stashed 1 file(s) [Pipeline] echo [2022-04-05T20:08:34.200Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.7 [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-04-05T20:08:34.358Z] provisioning config files... [2022-04-05T20:08:34.371Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6456887384578658354tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:08:34.672Z] ---> docker-login.sh [2022-04-05T20:08:34.672Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:08:34.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:34.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:34.672Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:34.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:34.672Z] [2022-04-05T20:08:34.672Z] Login Succeeded [2022-04-05T20:08:34.672Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:08:34.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:34.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:34.931Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:34.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:34.931Z] [2022-04-05T20:08:34.931Z] Login Succeeded [2022-04-05T20:08:34.931Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:08:34.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:34.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:34.931Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:34.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:34.931Z] [2022-04-05T20:08:34.931Z] Login Succeeded [2022-04-05T20:08:34.931Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:08:35.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:35.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:35.191Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:35.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:35.191Z] [2022-04-05T20:08:35.191Z] Login Succeeded [2022-04-05T20:08:35.191Z] docker.io [2022-04-05T20:08:35.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:08:35.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:08:35.459Z] Configure a credential helper to remove this warning. See [2022-04-05T20:08:35.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:08:35.459Z] [2022-04-05T20:08:35.459Z] Login Succeeded [2022-04-05T20:08:35.459Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:08:35.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:08:35.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:08:35.544Z] ========================================================= [2022-04-05T20:08:35.544Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-05T20:08:35.544Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:08:35.860Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T20:08:35.860Z] Sending build context to Docker daemon 10.55MB [2022-04-05T20:08:35.860Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:08:35.860Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T20:08:35.860Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-05T20:08:35.860Z] 59bf1c3509f3: Pulling fs layer [2022-04-05T20:08:35.860Z] 666ba61612fd: Pulling fs layer [2022-04-05T20:08:35.860Z] 8ed8ca486205: Pulling fs layer [2022-04-05T20:08:35.860Z] 4fe6c5a15a65: Pulling fs layer [2022-04-05T20:08:35.860Z] 22a0e8bec74d: Pulling fs layer [2022-04-05T20:08:35.860Z] 640e595b4fbd: Pulling fs layer [2022-04-05T20:08:35.860Z] 763cafe07f6e: Pulling fs layer [2022-04-05T20:08:35.860Z] 0c0b528cf693: Pulling fs layer [2022-04-05T20:08:35.860Z] 10935f4eaf8b: Pulling fs layer [2022-04-05T20:08:35.860Z] 4fe6c5a15a65: Waiting [2022-04-05T20:08:35.860Z] 640e595b4fbd: Waiting [2022-04-05T20:08:35.860Z] 22a0e8bec74d: Waiting [2022-04-05T20:08:35.860Z] 763cafe07f6e: Waiting [2022-04-05T20:08:35.860Z] 0c0b528cf693: Waiting [2022-04-05T20:08:35.860Z] 10935f4eaf8b: Waiting [2022-04-05T20:08:35.860Z] 8ed8ca486205: Verifying Checksum [2022-04-05T20:08:35.860Z] 8ed8ca486205: Download complete [2022-04-05T20:08:35.860Z] 666ba61612fd: Verifying Checksum [2022-04-05T20:08:35.860Z] 666ba61612fd: Download complete [2022-04-05T20:08:36.125Z] 22a0e8bec74d: Download complete [2022-04-05T20:08:36.125Z] 640e595b4fbd: Verifying Checksum [2022-04-05T20:08:36.125Z] 640e595b4fbd: Download complete [2022-04-05T20:08:36.125Z] 763cafe07f6e: Verifying Checksum [2022-04-05T20:08:36.125Z] 763cafe07f6e: Download complete [2022-04-05T20:08:36.125Z] 59bf1c3509f3: Verifying Checksum [2022-04-05T20:08:36.125Z] 59bf1c3509f3: Download complete [2022-04-05T20:08:36.125Z] 0c0b528cf693: Verifying Checksum [2022-04-05T20:08:36.125Z] 0c0b528cf693: Download complete [2022-04-05T20:08:36.125Z] 59bf1c3509f3: Pull complete [2022-04-05T20:08:36.392Z] 666ba61612fd: Pull complete [2022-04-05T20:08:36.392Z] 8ed8ca486205: Pull complete [2022-04-05T20:08:36.652Z] 10935f4eaf8b: Verifying Checksum [2022-04-05T20:08:36.652Z] 10935f4eaf8b: Download complete [2022-04-05T20:08:36.911Z] 4fe6c5a15a65: Verifying Checksum [2022-04-05T20:08:36.911Z] 4fe6c5a15a65: Download complete [2022-04-05T20:08:41.110Z] 4fe6c5a15a65: Pull complete [2022-04-05T20:08:41.110Z] 22a0e8bec74d: Pull complete [2022-04-05T20:08:41.110Z] 640e595b4fbd: Pull complete [2022-04-05T20:08:41.110Z] 763cafe07f6e: Pull complete [2022-04-05T20:08:41.370Z] 0c0b528cf693: Pull complete [2022-04-05T20:08:43.914Z] 10935f4eaf8b: Pull complete [2022-04-05T20:08:43.914Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-05T20:08:43.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-05T20:08:43.914Z] ---> 99d49a6021b9 [2022-04-05T20:08:43.914Z] Step 3/12 : ARG MAKE='make build' [2022-04-05T20:08:45.304Z] ---> Running in 73c8982c1af9 [2022-04-05T20:08:45.304Z] Removing intermediate container 73c8982c1af9 [2022-04-05T20:08:45.304Z] ---> cdad64948ea8 [2022-04-05T20:08:45.304Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:08:45.304Z] ---> Running in 555801fb735f [2022-04-05T20:08:45.304Z] Removing intermediate container 555801fb735f [2022-04-05T20:08:45.304Z] ---> 60efaf014ffd [2022-04-05T20:08:45.304Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:08:45.304Z] ---> Running in 479fae98bd2d [2022-04-05T20:08:45.565Z] Removing intermediate container 479fae98bd2d [2022-04-05T20:08:45.565Z] ---> 13e26533440d [2022-04-05T20:08:45.565Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:08:45.565Z] ---> Running in f6fe6ff19618 [2022-04-05T20:08:46.135Z] Removing intermediate container f6fe6ff19618 [2022-04-05T20:08:46.135Z] ---> 86e712408b34 [2022-04-05T20:08:46.135Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:08:46.135Z] ---> Running in f3f119f37543 [2022-04-05T20:08:46.398Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:08:47.341Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:08:47.603Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:08:47.866Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T20:08:47.866Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:08:47.866Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:08:48.128Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:08:48.128Z] OK: 224 MiB in 56 packages [2022-04-05T20:08:48.391Z] Removing intermediate container f3f119f37543 [2022-04-05T20:08:48.391Z] ---> 78b0cceed62f [2022-04-05T20:08:48.391Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-05T20:08:48.652Z] ---> Running in bf578b007840 [2022-04-05T20:08:48.652Z] Removing intermediate container bf578b007840 [2022-04-05T20:08:48.652Z] ---> da37cb79c218 [2022-04-05T20:08:48.652Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-05T20:08:48.917Z] ---> 5b0f10def91e [2022-04-05T20:08:48.917Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:08:48.917Z] ---> Running in 36ea08395e71 [2022-04-05T20:08:49.304Z] Still waiting to schedule task [2022-04-05T20:08:49.305Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-10768’ is offline [2022-04-05T20:09:15.518Z] Removing intermediate container 36ea08395e71 [2022-04-05T20:09:15.518Z] ---> eae3f3fee2ea [2022-04-05T20:09:15.518Z] Step 11/12 : COPY . . [2022-04-05T20:09:15.518Z] ---> 2c757e8bb3ca [2022-04-05T20:09:15.518Z] Step 12/12 : RUN $MAKE [2022-04-05T20:09:15.518Z] ---> Running in 28d668d1288b [2022-04-05T20:09:15.518Z] noop [2022-04-05T20:09:15.518Z] Removing intermediate container 28d668d1288b [2022-04-05T20:09:15.518Z] ---> e91d284c29ee [2022-04-05T20:09:15.518Z] Successfully built e91d284c29ee [2022-04-05T20:09:15.518Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:15.813Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:09:15.813Z] . [Pipeline] withDockerContainer [2022-04-05T20:09:15.883Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:09:15.924Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-05T20:09:16.336Z] $ docker top 6ca3ba93b9c598826515ae04391a1c821ba555838713513c4394c5ab9aea2e54 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:09:16.719Z] + go version [2022-04-05T20:09:16.719Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-05T20:09:16.768Z] $ docker stop --time=1 6ca3ba93b9c598826515ae04391a1c821ba555838713513c4394c5ab9aea2e54 [2022-04-05T20:09:18.086Z] $ docker rm -f 6ca3ba93b9c598826515ae04391a1c821ba555838713513c4394c5ab9aea2e54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:18.512Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-05T20:09:18.512Z] . [Pipeline] withDockerContainer [2022-04-05T20:09:18.592Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:09:18.635Z] $ 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 ******** ci-base-image-x86_64 cat [2022-04-05T20:09:19.073Z] $ docker top 68364443bc24676fa22f9a9dd06f629a5884c18a201d78a2b61306a053b3880e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:09:19.437Z] + make test [2022-04-05T20:09:19.437Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-05T20:09:19.695Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-05T20:09:27.826Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-05T20:09:27.826Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-04-05T20:09:33.131Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:09:36.432Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:09:36.432Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:09:36.432Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:09:36.444Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:09:36.459Z] $ docker stop --time=1 68364443bc24676fa22f9a9dd06f629a5884c18a201d78a2b61306a053b3880e [2022-04-05T20:09:38.113Z] $ docker rm -f 68364443bc24676fa22f9a9dd06f629a5884c18a201d78a2b61306a053b3880e [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:09:38.524Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:09:38.568Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-05T20:09:39.150Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:09:39.443Z] + ls -al . [2022-04-05T20:09:39.443Z] total 184 [2022-04-05T20:09:39.443Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 5 20:09 . [2022-04-05T20:09:39.443Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:08 .. [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 5 20:08 .dockerignore [2022-04-05T20:09:39.443Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:08 .git [2022-04-05T20:09:39.443Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 .github [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 20:08 .gitignore [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:08 .golangci.yml [2022-04-05T20:09:39.443Z] drwx------ 3 jenkins jenkins 4096 Apr 5 20:08 .semver [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 7192 Apr 5 20:08 Attribution.txt [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 5 20:08 CHANGELOG.md [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 5 20:08 Dockerfile [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:08 GOVERNANCE.md [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 5 20:08 Jenkinsfile [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:08 LICENSE [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 5 20:08 Makefile [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:08 OWNERS.md [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 5 20:08 README.md [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:08 VERSION [2022-04-05T20:09:39.443Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 bin [2022-04-05T20:09:39.443Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:08 cmd [2022-04-05T20:09:39.443Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 5 20:09 coverage.out [2022-04-05T20:09:39.443Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:08 driver [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 5 20:08 go.mod [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 20:08 go.sum [2022-04-05T20:09:39.443Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:08 snap [2022-04-05T20:09:39.443Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 5 20:08 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:39.743Z] + 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=868c3d37fa7208ff5e10080602f68a64287cb162 --label arch=amd64 --label version=2.2.0-dev.7 . [2022-04-05T20:09:39.743Z] Sending build context to Docker daemon 10.56MB [2022-04-05T20:09:39.743Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:09:39.743Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-05T20:09:39.743Z] ---> e91d284c29ee [2022-04-05T20:09:39.743Z] Step 3/25 : ARG MAKE='make build' [2022-04-05T20:09:39.743Z] ---> Running in 6fb966fc3877 [2022-04-05T20:09:40.009Z] Removing intermediate container 6fb966fc3877 [2022-04-05T20:09:40.009Z] ---> b6b17feee4ec [2022-04-05T20:09:40.009Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:09:40.009Z] ---> Running in efff654eb829 [2022-04-05T20:09:40.009Z] Removing intermediate container efff654eb829 [2022-04-05T20:09:40.009Z] ---> 708d033a4a2e [2022-04-05T20:09:40.009Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:09:40.271Z] ---> Running in f9f5a7f40668 [2022-04-05T20:09:40.271Z] Removing intermediate container f9f5a7f40668 [2022-04-05T20:09:40.271Z] ---> 8205bc94e37b [2022-04-05T20:09:40.271Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:09:40.271Z] ---> Running in 418c653764fa [2022-04-05T20:09:40.842Z] Removing intermediate container 418c653764fa [2022-04-05T20:09:40.842Z] ---> 70747c21bf9f [2022-04-05T20:09:40.842Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:09:40.842Z] ---> Running in 6eac9525e024 [2022-04-05T20:09:41.415Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:09:41.987Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:09:42.250Z] OK: 224 MiB in 56 packages [2022-04-05T20:09:42.822Z] Removing intermediate container 6eac9525e024 [2022-04-05T20:09:42.822Z] ---> 96122a1ff3d2 [2022-04-05T20:09:42.822Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-05T20:09:42.822Z] ---> Running in e24ff536c99e [2022-04-05T20:09:42.822Z] Removing intermediate container e24ff536c99e [2022-04-05T20:09:42.822Z] ---> 2dc174db735e [2022-04-05T20:09:42.822Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-05T20:09:43.083Z] ---> 745487dfdcf9 [2022-04-05T20:09:43.083Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:09:43.083Z] ---> Running in 389c4773c490 [2022-04-05T20:09:43.653Z] Removing intermediate container 389c4773c490 [2022-04-05T20:09:43.653Z] ---> 20c3de9c8d28 [2022-04-05T20:09:43.653Z] Step 11/25 : COPY . . [2022-04-05T20:09:43.917Z] ---> a256ad2e6d04 [2022-04-05T20:09:43.917Z] Step 12/25 : RUN $MAKE [2022-04-05T20:09:44.178Z] ---> Running in a9ad013af80a [2022-04-05T20:09:44.438Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.7" -o cmd/device-rest ./cmd [2022-04-05T20:09:52.569Z] Removing intermediate container a9ad013af80a [2022-04-05T20:09:52.569Z] ---> fe8a14569acb [2022-04-05T20:09:52.569Z] Step 13/25 : FROM alpine:3.14 [2022-04-05T20:09:52.569Z] 3.14: Pulling from library/alpine [2022-04-05T20:09:52.569Z] 8663204ce13b: Pulling fs layer [2022-04-05T20:09:52.830Z] 8663204ce13b: Verifying Checksum [2022-04-05T20:09:52.830Z] 8663204ce13b: Download complete [2022-04-05T20:09:53.090Z] 8663204ce13b: Pull complete [2022-04-05T20:09:53.090Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:09:53.090Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:09:53.090Z] ---> e04c818066af [2022-04-05T20:09:53.090Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-05T20:09:53.090Z] ---> Running in dce8589f70f0 [2022-04-05T20:09:53.090Z] Removing intermediate container dce8589f70f0 [2022-04-05T20:09:53.090Z] ---> 1c49622ffe33 [2022-04-05T20:09:53.090Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-05T20:09:53.349Z] ---> Running in bcc5d533ff41 [2022-04-05T20:09:53.349Z] Removing intermediate container bcc5d533ff41 [2022-04-05T20:09:53.349Z] ---> 939185520ff0 [2022-04-05T20:09:53.349Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:09:53.349Z] ---> Running in 29cca8f48dd8 [2022-04-05T20:09:53.609Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-05T20:09:53.869Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-05T20:09:53.869Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:09:53.869Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:09:53.869Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:09:53.869Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:09:53.869Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:09:53.869Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:09:53.869Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:09:53.869Z] OK: 8 MiB in 20 packages [2022-04-05T20:09:54.436Z] Removing intermediate container 29cca8f48dd8 [2022-04-05T20:09:54.436Z] ---> b1f47826638e [2022-04-05T20:09:54.436Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-05T20:09:54.697Z] ---> 62036cd420df [2022-04-05T20:09:54.697Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-05T20:09:54.963Z] ---> 05fc18bdc052 [2022-04-05T20:09:54.963Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-05T20:09:55.224Z] ---> 364f0b90f0f5 [2022-04-05T20:09:55.224Z] Step 20/25 : EXPOSE 59986 [2022-04-05T20:09:55.224Z] ---> Running in 6aaff93cacfc [2022-04-05T20:09:55.224Z] Removing intermediate container 6aaff93cacfc [2022-04-05T20:09:55.224Z] ---> 3d60c4a54813 [2022-04-05T20:09:55.224Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-05T20:09:55.224Z] ---> Running in 4a8dbd144d31 [2022-04-05T20:09:55.493Z] Removing intermediate container 4a8dbd144d31 [2022-04-05T20:09:55.493Z] ---> 91d9213899ba [2022-04-05T20:09:55.493Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-05T20:09:55.493Z] ---> Running in 684226edb7e4 [2022-04-05T20:09:55.493Z] Removing intermediate container 684226edb7e4 [2022-04-05T20:09:55.493Z] ---> 3bf227c64b15 [2022-04-05T20:09:55.493Z] Step 23/25 : LABEL arch=amd64 [2022-04-05T20:09:55.493Z] ---> Running in 6ad3cd44b89d [2022-04-05T20:09:55.755Z] Removing intermediate container 6ad3cd44b89d [2022-04-05T20:09:55.755Z] ---> a7a0d8f89c44 [2022-04-05T20:09:55.755Z] Step 24/25 : LABEL git_sha=868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:09:55.755Z] ---> Running in 31614ebdaffc [2022-04-05T20:09:55.755Z] Removing intermediate container 31614ebdaffc [2022-04-05T20:09:55.755Z] ---> 38c9d5c85982 [2022-04-05T20:09:55.755Z] Step 25/25 : LABEL version=2.2.0-dev.7 [2022-04-05T20:09:55.755Z] ---> Running in f856d7bdd3ce [2022-04-05T20:09:56.015Z] Removing intermediate container f856d7bdd3ce [2022-04-05T20:09:56.015Z] ---> a04183df3a33 [2022-04-05T20:09:56.015Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:09:56.015Z] Successfully built a04183df3a33 [2022-04-05T20:09:56.015Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:09:56.097Z] provisioning config files... [2022-04-05T20:09:56.108Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6832074324254334451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:09:56.405Z] ---> docker-login.sh [2022-04-05T20:09:56.405Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:09:56.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:56.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:56.405Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:56.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:56.405Z] [2022-04-05T20:09:56.405Z] Login Succeeded [2022-04-05T20:09:56.405Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:09:56.405Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:56.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:56.666Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:56.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:56.666Z] [2022-04-05T20:09:56.666Z] Login Succeeded [2022-04-05T20:09:56.666Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:09:56.666Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:56.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:56.666Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:56.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:56.666Z] [2022-04-05T20:09:56.666Z] Login Succeeded [2022-04-05T20:09:56.666Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:09:56.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:56.927Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:56.927Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:56.927Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:56.927Z] [2022-04-05T20:09:56.927Z] Login Succeeded [2022-04-05T20:09:56.927Z] docker.io [2022-04-05T20:09:56.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:09:57.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:09:57.187Z] Configure a credential helper to remove this warning. See [2022-04-05T20:09:57.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:09:57.187Z] [2022-04-05T20:09:57.187Z] Login Succeeded [2022-04-05T20:09:57.448Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:09:57.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:09:57.490Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:09:57.514Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-04-05T20:09:57.514Z] 868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:09:57.514Z] latest [2022-04-05T20:09:57.514Z] 2.2.0-dev.7 [2022-04-05T20:09:57.514Z] 868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [2022-04-05T20:09:57.514Z] main [2022-04-05T20:09:57.514Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:57.844Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:09:58.139Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:09:58.139Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-05T20:09:58.139Z] 8288349108c4: Preparing [2022-04-05T20:09:58.139Z] a480e1f385c9: Preparing [2022-04-05T20:09:58.139Z] 5dcafc3b7ea1: Preparing [2022-04-05T20:09:58.139Z] 745fa106e754: Preparing [2022-04-05T20:09:58.139Z] b541d28bf3b4: Preparing [2022-04-05T20:09:58.139Z] b541d28bf3b4: Layer already exists [2022-04-05T20:09:58.139Z] a480e1f385c9: Pushed [2022-04-05T20:09:58.139Z] 8288349108c4: Pushed [2022-04-05T20:09:58.399Z] 745fa106e754: Pushed [2022-04-05T20:09:59.786Z] 5dcafc3b7ea1: Pushed [2022-04-05T20:09:59.786Z] 868c3d37fa7208ff5e10080602f68a64287cb162: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:00.088Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:00.383Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-05T20:10:00.383Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-05T20:10:00.383Z] 8288349108c4: Preparing [2022-04-05T20:10:00.383Z] a480e1f385c9: Preparing [2022-04-05T20:10:00.383Z] 5dcafc3b7ea1: Preparing [2022-04-05T20:10:00.383Z] 745fa106e754: Preparing [2022-04-05T20:10:00.383Z] b541d28bf3b4: Preparing [2022-04-05T20:10:00.383Z] 745fa106e754: Layer already exists [2022-04-05T20:10:00.383Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:00.383Z] a480e1f385c9: Layer already exists [2022-04-05T20:10:00.383Z] 8288349108c4: Layer already exists [2022-04-05T20:10:00.383Z] 5dcafc3b7ea1: Layer already exists [2022-04-05T20:10:00.383Z] latest: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:00.686Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:00.981Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.7 [2022-04-05T20:10:00.982Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-05T20:10:00.982Z] 8288349108c4: Preparing [2022-04-05T20:10:00.982Z] a480e1f385c9: Preparing [2022-04-05T20:10:00.982Z] 5dcafc3b7ea1: Preparing [2022-04-05T20:10:00.982Z] 745fa106e754: Preparing [2022-04-05T20:10:00.982Z] b541d28bf3b4: Preparing [2022-04-05T20:10:00.982Z] a480e1f385c9: Layer already exists [2022-04-05T20:10:00.982Z] 745fa106e754: Layer already exists [2022-04-05T20:10:00.982Z] 8288349108c4: Layer already exists [2022-04-05T20:10:00.982Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:00.982Z] 5dcafc3b7ea1: Layer already exists [2022-04-05T20:10:00.982Z] 2.2.0-dev.7: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:01.279Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:01.573Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [2022-04-05T20:10:01.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-05T20:10:01.573Z] 8288349108c4: Preparing [2022-04-05T20:10:01.573Z] a480e1f385c9: Preparing [2022-04-05T20:10:01.573Z] 5dcafc3b7ea1: Preparing [2022-04-05T20:10:01.573Z] 745fa106e754: Preparing [2022-04-05T20:10:01.573Z] b541d28bf3b4: Preparing [2022-04-05T20:10:01.573Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:01.573Z] 5dcafc3b7ea1: Layer already exists [2022-04-05T20:10:01.573Z] a480e1f385c9: Layer already exists [2022-04-05T20:10:01.573Z] 8288349108c4: Layer already exists [2022-04-05T20:10:01.573Z] 745fa106e754: Layer already exists [2022-04-05T20:10:01.573Z] 868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:01.872Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:02.178Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-04-05T20:10:02.178Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-05T20:10:02.178Z] 8288349108c4: Preparing [2022-04-05T20:10:02.178Z] a480e1f385c9: Preparing [2022-04-05T20:10:02.178Z] 5dcafc3b7ea1: Preparing [2022-04-05T20:10:02.178Z] 745fa106e754: Preparing [2022-04-05T20:10:02.178Z] b541d28bf3b4: Preparing [2022-04-05T20:10:02.178Z] a480e1f385c9: Layer already exists [2022-04-05T20:10:02.178Z] b541d28bf3b4: Layer already exists [2022-04-05T20:10:02.178Z] 5dcafc3b7ea1: Layer already exists [2022-04-05T20:10:02.178Z] 745fa106e754: Layer already exists [2022-04-05T20:10:02.178Z] 8288349108c4: Layer already exists [2022-04-05T20:10:02.178Z] main: digest: sha256:06dea954eeaae0304cfaf23b11b1efe4023eab3c78938602a059b79d05f37b68 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:10:02.209Z] ===================================================== [Pipeline] echo [2022-04-05T20:10:02.216Z] taggedImages: [2022-04-05T20:10:02.216Z] - nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:10:02.216Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-05T20:10:02.216Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.7 [2022-04-05T20:10:02.216Z] - nexus3.edgexfoundry.org:10004/device-rest:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [2022-04-05T20:10:02.216Z] - 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] sh [2022-04-05T20:10:02.583Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:02.583Z] [2022-04-05T20:10:02.583Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:10:02.889Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:02.889Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-05T20:10:02.889Z] 5eb5b503b376: Pulling fs layer [2022-04-05T20:10:02.889Z] 5c69ac0246d0: Pulling fs layer [2022-04-05T20:10:02.889Z] ec43610c2a17: Pulling fs layer [2022-04-05T20:10:02.889Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-05T20:10:02.889Z] 33b1e0a273af: Pulling fs layer [2022-04-05T20:10:02.889Z] 5d3b04190fa2: Pulling fs layer [2022-04-05T20:10:02.889Z] 2f39f015ded8: Pulling fs layer [2022-04-05T20:10:02.889Z] 3a2ae6a8a46f: Waiting [2022-04-05T20:10:02.889Z] 33b1e0a273af: Waiting [2022-04-05T20:10:02.889Z] 5d3b04190fa2: Waiting [2022-04-05T20:10:02.889Z] 2f39f015ded8: Waiting [2022-04-05T20:10:02.889Z] 5c69ac0246d0: Verifying Checksum [2022-04-05T20:10:02.889Z] 5c69ac0246d0: Download complete [2022-04-05T20:10:02.889Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-05T20:10:02.889Z] 33b1e0a273af: Verifying Checksum [2022-04-05T20:10:02.889Z] 33b1e0a273af: Download complete [2022-04-05T20:10:02.889Z] 5d3b04190fa2: Download complete [2022-04-05T20:10:02.889Z] ec43610c2a17: Verifying Checksum [2022-04-05T20:10:02.889Z] ec43610c2a17: Download complete [2022-04-05T20:10:03.149Z] 5eb5b503b376: Verifying Checksum [2022-04-05T20:10:03.149Z] 5eb5b503b376: Download complete [2022-04-05T20:10:03.719Z] 2f39f015ded8: Download complete [2022-04-05T20:10:04.658Z] 5eb5b503b376: Pull complete [2022-04-05T20:10:04.658Z] 5c69ac0246d0: Pull complete [2022-04-05T20:10:05.227Z] ec43610c2a17: Pull complete [2022-04-05T20:10:05.227Z] 3a2ae6a8a46f: Pull complete [2022-04-05T20:10:05.486Z] 33b1e0a273af: Pull complete [2022-04-05T20:10:05.486Z] 5d3b04190fa2: Pull complete [2022-04-05T20:10:10.764Z] 2f39f015ded8: Pull complete [2022-04-05T20:10:10.764Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-05T20:10:10.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:10:10.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-05T20:10:10.838Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:10:10.878Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T20:10:12.770Z] $ docker top 1d8cdeff0c0d645a0f86dd0a42d9c52c67271859e010fa22ff13197996dbcf89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:10:13.173Z] ---> job-cost.sh [2022-04-05T20:10:13.173Z] lf-activate-venv: SKIPPING [2022-04-05T20:10:13.173Z] INFO: No Stack... [2022-04-05T20:10:13.745Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:10:14.006Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:10:14.304Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-04-05T20:10:14.304Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T20:10:14.322Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [2022-04-05T20:10:14.328Z] Resource [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] did not exist. Created. [2022-04-05T20:10:14.328Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:10:14.636Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-05T20:10:14.665Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:10:14.674Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:10:14.700Z] $ docker stop --time=1 1d8cdeff0c0d645a0f86dd0a42d9c52c67271859e010fa22ff13197996dbcf89 [2022-04-05T20:10:15.895Z] $ docker rm -f 1d8cdeff0c0d645a0f86dd0a42d9c52c67271859e010fa22ff13197996dbcf89 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-05T20:11:05.755Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10773 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-04-05T20:11:05.769Z] Running in /w/workspace/device-rest-go/28 [Pipeline] { [Pipeline] checkout [2022-04-05T20:11:06.212Z] The recommended git tool is: git [2022-04-05T20:11:13.831Z] using credential edgex-jenkins-ssh [2022-04-05T20:11:13.859Z] Cloning the remote Git repository [2022-04-05T20:11:13.942Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-05T20:11:14.035Z] > git init /w/workspace/device-rest-go/28 # timeout=10 [2022-04-05T20:11:14.147Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-05T20:11:14.148Z] > git --version # timeout=10 [2022-04-05T20:11:14.188Z] > git --version # 'git version 2.25.1' [2022-04-05T20:11:14.192Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-05T20:11:14.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:11:16.508Z] Avoid second fetch [2022-04-05T20:11:16.509Z] Checking out Revision 868c3d37fa7208ff5e10080602f68a64287cb162 (main) [2022-04-05T20:11:16.466Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-05T20:11:16.487Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-05T20:11:16.531Z] > git config core.sparsecheckout # timeout=10 [2022-04-05T20:11:16.549Z] > git checkout -f 868c3d37fa7208ff5e10080602f68a64287cb162 # timeout=10 [2022-04-05T20:11:20.906Z] Commit message: "Merge pull request #166 from jpwhitemn/enable-gosec-lint" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:11:21.755Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-05T20:11:21.756Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:11:21.756Z] Dload Upload Total Spent Left Speed [2022-04-05T20:11:21.756Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 210k [Pipeline] sh [2022-04-05T20:11:22.464Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-05T20:11:22.834Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-05T20:11:22.834Z] + sudo tee /etc/docker/daemon.new [2022-04-05T20:11:22.834Z] { [2022-04-05T20:11:22.834Z] "registry-mirrors": [ [2022-04-05T20:11:22.834Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-05T20:11:22.834Z] ], [2022-04-05T20:11:22.834Z] "bip": "10.250.0.254/24", [2022-04-05T20:11:22.834Z] "hosts": [ [2022-04-05T20:11:22.834Z] "tcp://0.0.0.0:5555", [2022-04-05T20:11:22.834Z] "unix:///var/run/docker.sock" [2022-04-05T20:11:22.834Z] ], [2022-04-05T20:11:22.834Z] "mtu": 1458, [2022-04-05T20:11:22.834Z] "selinux-enabled": true, [2022-04-05T20:11:22.834Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-05T20:11:22.834Z] } [Pipeline] sh [2022-04-05T20:11:23.196Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-05T20:11:23.545Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:11:41.932Z] provisioning config files... [2022-04-05T20:11:41.961Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config2135084593039677816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:11:42.332Z] ---> docker-login.sh [2022-04-05T20:11:42.332Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:11:43.313Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:43.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:43.920Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:43.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:43.920Z] [2022-04-05T20:11:43.920Z] Login Succeeded [2022-04-05T20:11:43.920Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:11:44.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:44.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:44.195Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:44.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:44.195Z] [2022-04-05T20:11:44.195Z] Login Succeeded [2022-04-05T20:11:44.195Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:11:44.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:44.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:44.797Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:44.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:44.797Z] [2022-04-05T20:11:44.797Z] Login Succeeded [2022-04-05T20:11:44.797Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:11:45.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:45.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:45.444Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:45.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:45.444Z] [2022-04-05T20:11:45.444Z] Login Succeeded [2022-04-05T20:11:45.444Z] docker.io [2022-04-05T20:11:46.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:11:46.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:11:46.320Z] Configure a credential helper to remove this warning. See [2022-04-05T20:11:46.320Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:11:46.320Z] [2022-04-05T20:11:46.320Z] Login Succeeded [2022-04-05T20:11:46.320Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:11:46.343Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-05T20:11:46.836Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:11:46.851Z] ========================================================= [2022-04-05T20:11:46.851Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-05T20:11:46.851Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:11:47.229Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-04-05T20:11:47.229Z] Sending build context to Docker daemon 126kB [2022-04-05T20:11:47.503Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:11:47.503Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-05T20:11:47.796Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-05T20:11:47.796Z] 9b3977197b4f: Pulling fs layer [2022-04-05T20:11:47.796Z] 1a89e8eeedd5: Pulling fs layer [2022-04-05T20:11:47.796Z] 94645a83ff95: Pulling fs layer [2022-04-05T20:11:47.796Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-05T20:11:47.796Z] 0c92f367c5e7: Pulling fs layer [2022-04-05T20:11:47.796Z] f7c0051592d6: Pulling fs layer [2022-04-05T20:11:47.796Z] a227ed2f7395: Pulling fs layer [2022-04-05T20:11:47.796Z] 7b1c46037f91: Pulling fs layer [2022-04-05T20:11:47.796Z] 3f3a8bcf1eab: Waiting [2022-04-05T20:11:47.796Z] f7c0051592d6: Waiting [2022-04-05T20:11:47.796Z] a227ed2f7395: Waiting [2022-04-05T20:11:47.796Z] 7b1c46037f91: Waiting [2022-04-05T20:11:47.796Z] 0c92f367c5e7: Waiting [2022-04-05T20:11:47.796Z] 94645a83ff95: Verifying Checksum [2022-04-05T20:11:47.796Z] 94645a83ff95: Download complete [2022-04-05T20:11:47.796Z] 1a89e8eeedd5: Verifying Checksum [2022-04-05T20:11:47.796Z] 1a89e8eeedd5: Download complete [2022-04-05T20:11:47.796Z] 0c92f367c5e7: Download complete [2022-04-05T20:11:47.796Z] f7c0051592d6: Verifying Checksum [2022-04-05T20:11:47.796Z] f7c0051592d6: Download complete [2022-04-05T20:11:47.796Z] 9b3977197b4f: Verifying Checksum [2022-04-05T20:11:47.796Z] 9b3977197b4f: Download complete [2022-04-05T20:11:48.804Z] 9b3977197b4f: Pull complete [2022-04-05T20:11:49.420Z] 1a89e8eeedd5: Pull complete [2022-04-05T20:11:49.702Z] 94645a83ff95: Pull complete [2022-04-05T20:11:49.977Z] 7b1c46037f91: Verifying Checksum [2022-04-05T20:11:49.977Z] 7b1c46037f91: Download complete [2022-04-05T20:11:50.587Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-05T20:11:50.587Z] 3f3a8bcf1eab: Download complete [2022-04-05T20:12:03.002Z] 3f3a8bcf1eab: Pull complete [2022-04-05T20:12:03.275Z] 0c92f367c5e7: Pull complete [2022-04-05T20:12:03.559Z] f7c0051592d6: Pull complete [2022-04-05T20:12:03.838Z] a227ed2f7395: Pull complete [2022-04-05T20:12:10.618Z] 7b1c46037f91: Pull complete [2022-04-05T20:12:10.618Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-05T20:12:10.618Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-05T20:12:10.618Z] ---> f79e39bc4007 [2022-04-05T20:12:10.618Z] Step 3/12 : ARG MAKE='make build' [2022-04-05T20:12:12.617Z] ---> Running in 03c9d1802747 [2022-04-05T20:12:12.902Z] Removing intermediate container 03c9d1802747 [2022-04-05T20:12:12.902Z] ---> 9da37e27f1f8 [2022-04-05T20:12:12.902Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:12:12.902Z] ---> Running in 3b7184b2767c [2022-04-05T20:12:13.180Z] Removing intermediate container 3b7184b2767c [2022-04-05T20:12:13.180Z] ---> f8ea92e53994 [2022-04-05T20:12:13.180Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:12:13.180Z] ---> Running in 10dc7010a88f [2022-04-05T20:12:13.796Z] Removing intermediate container 10dc7010a88f [2022-04-05T20:12:13.796Z] ---> e672a175eabd [2022-04-05T20:12:13.796Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:12:13.796Z] ---> Running in f2c8b5ba3516 [2022-04-05T20:12:15.785Z] Removing intermediate container f2c8b5ba3516 [2022-04-05T20:12:15.785Z] ---> b43f31464e2c [2022-04-05T20:12:15.785Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:12:15.785Z] ---> Running in ef62835c44a7 [2022-04-05T20:12:20.122Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:12:20.400Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:12:21.392Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-05T20:12:21.392Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-05T20:12:21.392Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-05T20:12:21.688Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-05T20:12:21.688Z] Executing busybox-1.34.1-r3.trigger [2022-04-05T20:12:21.688Z] OK: 224 MiB in 56 packages [2022-04-05T20:12:22.701Z] Removing intermediate container ef62835c44a7 [2022-04-05T20:12:22.701Z] ---> b736647647c8 [2022-04-05T20:12:22.701Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-05T20:12:22.977Z] ---> Running in d6c91f34cd30 [2022-04-05T20:12:23.263Z] Removing intermediate container d6c91f34cd30 [2022-04-05T20:12:23.263Z] ---> 764602d6aeae [2022-04-05T20:12:23.263Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-05T20:12:23.881Z] ---> 21c63c033252 [2022-04-05T20:12:23.881Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:12:24.156Z] ---> Running in 6e13eb0e75a4 [2022-04-05T20:13:46.012Z] Removing intermediate container 6e13eb0e75a4 [2022-04-05T20:13:46.012Z] ---> 889f7a6bb7ee [2022-04-05T20:13:46.012Z] Step 11/12 : COPY . . [2022-04-05T20:13:46.012Z] ---> 8cf6afa79dfc [2022-04-05T20:13:46.012Z] Step 12/12 : RUN $MAKE [2022-04-05T20:13:46.012Z] ---> Running in ef6fe64ad9ae [2022-04-05T20:13:46.012Z] noop [2022-04-05T20:13:46.287Z] Removing intermediate container ef6fe64ad9ae [2022-04-05T20:13:46.287Z] ---> 57447edce98e [2022-04-05T20:13:46.287Z] Successfully built 57447edce98e [2022-04-05T20:13:46.287Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:13:46.648Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:13:46.648Z] . [Pipeline] withDockerContainer [2022-04-05T20:13:46.926Z] prd-ubuntu20.04-docker-arm64-4c-16g-10773 does not seem to be running inside a container [2022-04-05T20:13:47.033Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 ******** ci-base-image-arm64 cat [2022-04-05T20:13:48.469Z] $ docker top e386b61040b9ce2262a413b2afe4b04e6f97cafc81b4e759959535b5a0b4a63e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:13:49.427Z] + go version [2022-04-05T20:13:49.427Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-05T20:13:49.463Z] $ docker stop --time=1 e386b61040b9ce2262a413b2afe4b04e6f97cafc81b4e759959535b5a0b4a63e [2022-04-05T20:13:51.225Z] $ docker rm -f e386b61040b9ce2262a413b2afe4b04e6f97cafc81b4e759959535b5a0b4a63e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:13:51.882Z] + docker inspect -f . ci-base-image-arm64 [2022-04-05T20:13:51.883Z] . [Pipeline] withDockerContainer [2022-04-05T20:13:52.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-10773 does not seem to be running inside a container [2022-04-05T20:13:52.261Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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 ******** ci-base-image-arm64 cat [2022-04-05T20:13:53.733Z] $ docker top 6d7ebe749b0583faa6585256ea7e406b91985e980a7ab88ad5bb82d881441202 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-05T20:13:54.710Z] + make test [2022-04-05T20:13:54.710Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-05T20:13:56.162Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-05T20:14:52.864Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-05T20:14:57.203Z] ok github.com/edgexfoundry/device-rest-go/driver 0.073s coverage: 55.2% of statements [2022-04-05T20:14:57.481Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-05T20:14:57.481Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-05T20:15:19.716Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-05T20:15:19.716Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-05T20:15:19.716Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-05T20:15:21.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-05T20:15:21.191Z] $ docker stop --time=1 6d7ebe749b0583faa6585256ea7e406b91985e980a7ab88ad5bb82d881441202 [2022-04-05T20:15:22.978Z] $ docker rm -f 6d7ebe749b0583faa6585256ea7e406b91985e980a7ab88ad5bb82d881441202 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:15:23.878Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-05T20:15:23.902Z] Warning: overwriting stash ‘coverage-report’ [2022-04-05T20:15:24.451Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-05T20:15:24.846Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-05T20:15:25.182Z] + ls -al . [2022-04-05T20:15:25.182Z] total 180 [2022-04-05T20:15:25.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:15 . [2022-04-05T20:15:25.182Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 5 20:11 .. [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 5 20:11 .dockerignore [2022-04-05T20:15:25.182Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 5 20:11 .git [2022-04-05T20:15:25.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:11 .github [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 5 20:11 .gitignore [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 5 20:11 .golangci.yml [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 7192 Apr 5 20:11 Attribution.txt [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 5 20:11 CHANGELOG.md [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 5 20:11 Dockerfile [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 5 20:11 GOVERNANCE.md [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 5 20:11 Jenkinsfile [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 5 20:11 LICENSE [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 5 20:11 Makefile [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 5 20:11 OWNERS.md [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 5 20:11 README.md [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 5 20:08 VERSION [2022-04-05T20:15:25.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:11 bin [2022-04-05T20:15:25.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:11 cmd [2022-04-05T20:15:25.182Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 5 20:14 coverage.out [2022-04-05T20:15:25.182Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 5 20:11 driver [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 2908 Apr 5 20:11 go.mod [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 50572 Apr 5 20:11 go.sum [2022-04-05T20:15:25.182Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 5 20:11 snap [2022-04-05T20:15:25.182Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 5 20:11 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:15:25.524Z] + 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=868c3d37fa7208ff5e10080602f68a64287cb162 --label arch=arm64 --label version=2.2.0-dev.7 . [2022-04-05T20:15:25.524Z] Sending build context to Docker daemon 136.2kB [2022-04-05T20:15:25.806Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-05T20:15:25.806Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-05T20:15:25.806Z] ---> 57447edce98e [2022-04-05T20:15:25.806Z] Step 3/25 : ARG MAKE='make build' [2022-04-05T20:15:25.806Z] ---> Running in df1f91a7d7af [2022-04-05T20:15:26.400Z] Removing intermediate container df1f91a7d7af [2022-04-05T20:15:26.400Z] ---> 162c5c50a4d2 [2022-04-05T20:15:26.400Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-05T20:15:26.400Z] ---> Running in a55153350929 [2022-04-05T20:15:26.674Z] Removing intermediate container a55153350929 [2022-04-05T20:15:26.674Z] ---> a12e47ec5342 [2022-04-05T20:15:26.674Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-05T20:15:26.674Z] ---> Running in 9605235b3f0c [2022-04-05T20:15:26.947Z] Removing intermediate container 9605235b3f0c [2022-04-05T20:15:26.947Z] ---> 547eb72d818a [2022-04-05T20:15:26.947Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-05T20:15:27.231Z] ---> Running in e77112d783d0 [2022-04-05T20:15:28.681Z] Removing intermediate container e77112d783d0 [2022-04-05T20:15:28.681Z] ---> e4d18b65abf7 [2022-04-05T20:15:28.681Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-05T20:15:28.681Z] ---> Running in 2fe4a36313cf [2022-04-05T20:15:29.666Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:15:30.646Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:15:31.628Z] OK: 224 MiB in 56 packages [2022-04-05T20:15:32.618Z] Removing intermediate container 2fe4a36313cf [2022-04-05T20:15:32.618Z] ---> d7e9a54e2feb [2022-04-05T20:15:32.618Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-05T20:15:32.618Z] ---> Running in a2772d5f8bd2 [2022-04-05T20:15:32.892Z] Removing intermediate container a2772d5f8bd2 [2022-04-05T20:15:32.892Z] ---> 2f6bad2cec9c [2022-04-05T20:15:32.892Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-05T20:15:33.497Z] ---> ec75442986ed [2022-04-05T20:15:33.497Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-05T20:15:33.497Z] ---> Running in 2ad76eb80db4 [2022-04-05T20:15:36.147Z] Removing intermediate container 2ad76eb80db4 [2022-04-05T20:15:36.147Z] ---> 918fc757cdc9 [2022-04-05T20:15:36.147Z] Step 11/25 : COPY . . [2022-04-05T20:15:36.428Z] ---> 284e8219cae6 [2022-04-05T20:15:36.428Z] Step 12/25 : RUN $MAKE [2022-04-05T20:15:36.428Z] ---> Running in e3d99dc24cd4 [2022-04-05T20:15:37.872Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.7" -o cmd/device-rest ./cmd [2022-04-05T20:16:34.503Z] Removing intermediate container e3d99dc24cd4 [2022-04-05T20:16:34.503Z] ---> 92a05460611c [2022-04-05T20:16:34.503Z] Step 13/25 : FROM alpine:3.14 [2022-04-05T20:16:34.503Z] 3.14: Pulling from library/alpine [2022-04-05T20:16:34.503Z] 455c02918c45: Pulling fs layer [2022-04-05T20:16:34.503Z] 455c02918c45: Verifying Checksum [2022-04-05T20:16:34.503Z] 455c02918c45: Download complete [2022-04-05T20:16:34.503Z] 455c02918c45: Pull complete [2022-04-05T20:16:34.503Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-05T20:16:34.503Z] Status: Downloaded newer image for alpine:3.14 [2022-04-05T20:16:34.503Z] ---> ac73e934f311 [2022-04-05T20:16:34.503Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-05T20:16:34.503Z] ---> Running in 2830ab29cfe2 [2022-04-05T20:16:34.503Z] Removing intermediate container 2830ab29cfe2 [2022-04-05T20:16:34.503Z] ---> 682951091909 [2022-04-05T20:16:34.503Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-05T20:16:34.503Z] ---> Running in fc33efb83404 [2022-04-05T20:16:34.503Z] Removing intermediate container fc33efb83404 [2022-04-05T20:16:34.503Z] ---> b5dd1d0ddc9e [2022-04-05T20:16:34.503Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-05T20:16:34.503Z] ---> Running in a1d7a5fd8efc [2022-04-05T20:16:34.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-05T20:16:34.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-05T20:16:34.503Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-05T20:16:34.503Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-05T20:16:34.503Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-05T20:16:34.503Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-05T20:16:34.503Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-05T20:16:34.503Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-05T20:16:34.503Z] Executing busybox-1.33.1-r7.trigger [2022-04-05T20:16:34.503Z] OK: 8 MiB in 20 packages [2022-04-05T20:16:34.503Z] Removing intermediate container a1d7a5fd8efc [2022-04-05T20:16:34.503Z] ---> 1a63d5101f1b [2022-04-05T20:16:34.503Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-05T20:16:34.503Z] ---> d76a924707d3 [2022-04-05T20:16:34.503Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-05T20:16:34.503Z] ---> c516adc8299e [2022-04-05T20:16:34.503Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-05T20:16:34.503Z] ---> d67da639b57d [2022-04-05T20:16:34.503Z] Step 20/25 : EXPOSE 59986 [2022-04-05T20:16:34.503Z] ---> Running in cbe326d25834 [2022-04-05T20:16:34.503Z] Removing intermediate container cbe326d25834 [2022-04-05T20:16:34.503Z] ---> 927be4d80ca7 [2022-04-05T20:16:34.503Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-05T20:16:34.503Z] ---> Running in c7b8f1dcecc0 [2022-04-05T20:16:34.778Z] Removing intermediate container c7b8f1dcecc0 [2022-04-05T20:16:34.778Z] ---> 800ad83ebcc3 [2022-04-05T20:16:34.778Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-05T20:16:34.778Z] ---> Running in 568a89c89672 [2022-04-05T20:16:35.381Z] Removing intermediate container 568a89c89672 [2022-04-05T20:16:35.381Z] ---> 22b1426b55ff [2022-04-05T20:16:35.381Z] Step 23/25 : LABEL arch=arm64 [2022-04-05T20:16:35.381Z] ---> Running in 809d56d40214 [2022-04-05T20:16:35.657Z] Removing intermediate container 809d56d40214 [2022-04-05T20:16:35.657Z] ---> b352d1f23c4a [2022-04-05T20:16:35.657Z] Step 24/25 : LABEL git_sha=868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:16:35.657Z] ---> Running in 7dfc2bfd3cde [2022-04-05T20:16:35.935Z] Removing intermediate container 7dfc2bfd3cde [2022-04-05T20:16:35.935Z] ---> 74b201b73b1a [2022-04-05T20:16:35.935Z] Step 25/25 : LABEL version=2.2.0-dev.7 [2022-04-05T20:16:36.214Z] ---> Running in 5848dfee9770 [2022-04-05T20:16:36.488Z] Removing intermediate container 5848dfee9770 [2022-04-05T20:16:36.488Z] ---> 7da6f1c1c937 [2022-04-05T20:16:36.488Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-05T20:16:36.488Z] Successfully built 7da6f1c1c937 [2022-04-05T20:16:36.488Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:16:36.668Z] provisioning config files... [2022-04-05T20:16:36.698Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config2949609181404239297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:16:37.062Z] ---> docker-login.sh [2022-04-05T20:16:37.062Z] nexus3.edgexfoundry.org:10001 [2022-04-05T20:16:37.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:16:37.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:16:37.613Z] Configure a credential helper to remove this warning. See [2022-04-05T20:16:37.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:16:37.613Z] [2022-04-05T20:16:37.613Z] Login Succeeded [2022-04-05T20:16:37.613Z] nexus3.edgexfoundry.org:10002 [2022-04-05T20:16:37.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:16:38.164Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:16:38.164Z] Configure a credential helper to remove this warning. See [2022-04-05T20:16:38.164Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:16:38.164Z] [2022-04-05T20:16:38.164Z] Login Succeeded [2022-04-05T20:16:38.164Z] nexus3.edgexfoundry.org:10003 [2022-04-05T20:16:38.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:16:38.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:16:38.715Z] Configure a credential helper to remove this warning. See [2022-04-05T20:16:38.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:16:38.715Z] [2022-04-05T20:16:38.715Z] Login Succeeded [2022-04-05T20:16:38.715Z] nexus3.edgexfoundry.org:10004 [2022-04-05T20:16:39.316Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:16:39.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:16:39.316Z] Configure a credential helper to remove this warning. See [2022-04-05T20:16:39.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:16:39.316Z] [2022-04-05T20:16:39.316Z] Login Succeeded [2022-04-05T20:16:39.316Z] docker.io [2022-04-05T20:16:39.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-05T20:16:40.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-05T20:16:40.198Z] Configure a credential helper to remove this warning. See [2022-04-05T20:16:40.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-05T20:16:40.198Z] [2022-04-05T20:16:40.198Z] Login Succeeded [2022-04-05T20:16:40.198Z] ---> docker-login.sh ends [Pipeline] } [2022-04-05T20:16:40.219Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:16:40.260Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-05T20:16:40.285Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-04-05T20:16:40.285Z] 868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:16:40.285Z] latest [2022-04-05T20:16:40.285Z] 2.2.0-dev.7 [2022-04-05T20:16:40.285Z] 868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [2022-04-05T20:16:40.285Z] main [2022-04-05T20:16:40.285Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:40.658Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:41.018Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:16:41.019Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-05T20:16:41.019Z] cbe89d48429d: Preparing [2022-04-05T20:16:41.019Z] 0a002c9b02a9: Preparing [2022-04-05T20:16:41.019Z] 388be677f1b4: Preparing [2022-04-05T20:16:41.019Z] 33dc47408e77: Preparing [2022-04-05T20:16:41.019Z] f73e7dbfee58: Preparing [2022-04-05T20:16:41.298Z] f73e7dbfee58: Layer already exists [2022-04-05T20:16:41.298Z] 0a002c9b02a9: Pushed [2022-04-05T20:16:41.298Z] cbe89d48429d: Pushed [2022-04-05T20:16:41.898Z] 33dc47408e77: Pushed [2022-04-05T20:16:44.527Z] 388be677f1b4: Pushed [2022-04-05T20:16:44.527Z] 868c3d37fa7208ff5e10080602f68a64287cb162: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:44.891Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:45.249Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-05T20:16:45.249Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-05T20:16:45.249Z] cbe89d48429d: Preparing [2022-04-05T20:16:45.249Z] 0a002c9b02a9: Preparing [2022-04-05T20:16:45.249Z] 388be677f1b4: Preparing [2022-04-05T20:16:45.249Z] 33dc47408e77: Preparing [2022-04-05T20:16:45.249Z] f73e7dbfee58: Preparing [2022-04-05T20:16:45.525Z] 388be677f1b4: Layer already exists [2022-04-05T20:16:45.525Z] 33dc47408e77: Layer already exists [2022-04-05T20:16:45.525Z] 0a002c9b02a9: Layer already exists [2022-04-05T20:16:45.525Z] f73e7dbfee58: Layer already exists [2022-04-05T20:16:45.525Z] cbe89d48429d: Layer already exists [2022-04-05T20:16:45.525Z] latest: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:45.885Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:46.241Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.7 [2022-04-05T20:16:46.241Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-05T20:16:46.241Z] cbe89d48429d: Preparing [2022-04-05T20:16:46.241Z] 0a002c9b02a9: Preparing [2022-04-05T20:16:46.241Z] 388be677f1b4: Preparing [2022-04-05T20:16:46.241Z] 33dc47408e77: Preparing [2022-04-05T20:16:46.241Z] f73e7dbfee58: Preparing [2022-04-05T20:16:46.517Z] f73e7dbfee58: Layer already exists [2022-04-05T20:16:46.517Z] cbe89d48429d: Layer already exists [2022-04-05T20:16:46.517Z] 33dc47408e77: Layer already exists [2022-04-05T20:16:46.517Z] 0a002c9b02a9: Layer already exists [2022-04-05T20:16:46.517Z] 388be677f1b4: Layer already exists [2022-04-05T20:16:46.517Z] 2.2.0-dev.7: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:46.877Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:47.234Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [2022-04-05T20:16:47.234Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-05T20:16:47.234Z] cbe89d48429d: Preparing [2022-04-05T20:16:47.234Z] 0a002c9b02a9: Preparing [2022-04-05T20:16:47.234Z] 388be677f1b4: Preparing [2022-04-05T20:16:47.234Z] 33dc47408e77: Preparing [2022-04-05T20:16:47.234Z] f73e7dbfee58: Preparing [2022-04-05T20:16:47.508Z] 0a002c9b02a9: Layer already exists [2022-04-05T20:16:47.508Z] 388be677f1b4: Layer already exists [2022-04-05T20:16:47.508Z] 33dc47408e77: Layer already exists [2022-04-05T20:16:47.508Z] f73e7dbfee58: Layer already exists [2022-04-05T20:16:47.508Z] cbe89d48429d: Layer already exists [2022-04-05T20:16:47.508Z] 868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:47.873Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:48.228Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-04-05T20:16:48.228Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-05T20:16:48.228Z] cbe89d48429d: Preparing [2022-04-05T20:16:48.228Z] 0a002c9b02a9: Preparing [2022-04-05T20:16:48.228Z] 388be677f1b4: Preparing [2022-04-05T20:16:48.228Z] 33dc47408e77: Preparing [2022-04-05T20:16:48.228Z] f73e7dbfee58: Preparing [2022-04-05T20:16:48.503Z] f73e7dbfee58: Layer already exists [2022-04-05T20:16:48.503Z] 388be677f1b4: Layer already exists [2022-04-05T20:16:48.503Z] 33dc47408e77: Layer already exists [2022-04-05T20:16:48.503Z] 0a002c9b02a9: Layer already exists [2022-04-05T20:16:48.503Z] cbe89d48429d: Layer already exists [2022-04-05T20:16:48.503Z] main: digest: sha256:e44a109c32455defb1cf04ef55c00daf28e4c95eb399f590877d0ad0db2f2553 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-05T20:16:48.556Z] ===================================================== [Pipeline] echo [2022-04-05T20:16:48.565Z] taggedImages: [2022-04-05T20:16:48.565Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162 [2022-04-05T20:16:48.565Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-05T20:16:48.565Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.7 [2022-04-05T20:16:48.565Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:868c3d37fa7208ff5e10080602f68a64287cb162-2.2.0-dev.7 [2022-04-05T20:16:48.565Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:48.942Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:16:48.942Z] [2022-04-05T20:16:48.942Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:16:49.305Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:16:49.583Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-05T20:16:49.583Z] 8998bd30e6a1: Pulling fs layer [2022-04-05T20:16:49.583Z] 04944245beec: Pulling fs layer [2022-04-05T20:16:49.583Z] 699f458cf7ca: Pulling fs layer [2022-04-05T20:16:49.583Z] 765212b225bb: Pulling fs layer [2022-04-05T20:16:49.583Z] f23df028b6ca: Pulling fs layer [2022-04-05T20:16:49.583Z] d65c8cfc05b1: Pulling fs layer [2022-04-05T20:16:49.583Z] 2437ff75d9bd: Pulling fs layer [2022-04-05T20:16:49.583Z] f23df028b6ca: Waiting [2022-04-05T20:16:49.583Z] 2437ff75d9bd: Waiting [2022-04-05T20:16:49.583Z] d65c8cfc05b1: Waiting [2022-04-05T20:16:49.583Z] 765212b225bb: Waiting [2022-04-05T20:16:49.583Z] 04944245beec: Verifying Checksum [2022-04-05T20:16:49.583Z] 04944245beec: Download complete [2022-04-05T20:16:49.583Z] 765212b225bb: Verifying Checksum [2022-04-05T20:16:49.583Z] 765212b225bb: Download complete [2022-04-05T20:16:49.583Z] f23df028b6ca: Verifying Checksum [2022-04-05T20:16:49.583Z] f23df028b6ca: Download complete [2022-04-05T20:16:49.866Z] d65c8cfc05b1: Verifying Checksum [2022-04-05T20:16:49.866Z] d65c8cfc05b1: Download complete [2022-04-05T20:16:49.866Z] 699f458cf7ca: Verifying Checksum [2022-04-05T20:16:49.866Z] 699f458cf7ca: Download complete [2022-04-05T20:16:50.146Z] 8998bd30e6a1: Verifying Checksum [2022-04-05T20:16:50.146Z] 8998bd30e6a1: Download complete [2022-04-05T20:16:52.788Z] 2437ff75d9bd: Verifying Checksum [2022-04-05T20:16:52.788Z] 2437ff75d9bd: Download complete [2022-04-05T20:16:54.776Z] 8998bd30e6a1: Pull complete [2022-04-05T20:16:55.383Z] 04944245beec: Pull complete [2022-04-05T20:16:56.852Z] 699f458cf7ca: Pull complete [2022-04-05T20:16:57.460Z] 765212b225bb: Pull complete [2022-04-05T20:16:58.059Z] f23df028b6ca: Pull complete [2022-04-05T20:16:58.332Z] d65c8cfc05b1: Pull complete [2022-04-05T20:17:16.684Z] 2437ff75d9bd: Pull complete [2022-04-05T20:17:16.684Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-05T20:17:16.684Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-05T20:17:16.684Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-05T20:17:16.957Z] prd-ubuntu20.04-docker-arm64-4c-16g-10773 does not seem to be running inside a container [2022-04-05T20:17:17.078Z] $ 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/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@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:arm64 cat [2022-04-05T20:17:20.083Z] $ docker top 0d5b130cf3b56cfd0f8cde4e9c33e00c88ff13d2780b24cbd2ca04d95cea8009 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:17:21.063Z] ---> job-cost.sh [2022-04-05T20:17:21.063Z] lf-activate-venv: SKIPPING [2022-04-05T20:17:21.063Z] INFO: No Stack... [2022-04-05T20:17:21.662Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-05T20:17:22.262Z] INFO: Archiving Costs [Pipeline] sh [2022-04-05T20:17:22.943Z] + cat /w/workspace/device-rest-go/28/archives/cost.csv [2022-04-05T20:17:22.943Z] + cut -d, -f6 [Pipeline] lock [2022-04-05T20:17:23.019Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [2022-04-05T20:17:23.028Z] Resource [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] did not exist. Created. [2022-04-05T20:17:23.028Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-05T20:17:23.731Z] /w/workspace/device-rest-go/28@tmp/durable-a05a5b3e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-05T20:17:24.427Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-05T20:17:24.450Z] Warning: overwriting stash ‘stack-cost’ [2022-04-05T20:17:24.500Z] Stashed 1 file(s) [Pipeline] } [2022-04-05T20:17:24.506Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-05T20:17:24.541Z] $ docker stop --time=1 0d5b130cf3b56cfd0f8cde4e9c33e00c88ff13d2780b24cbd2ca04d95cea8009 [2022-04-05T20:17:26.100Z] $ docker rm -f 0d5b130cf3b56cfd0f8cde4e9c33e00c88ff13d2780b24cbd2ca04d95cea8009 [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-04-05T20:17:26.550Z] provisioning config files... [2022-04-05T20:17:26.563Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4157795869051145642tmp [Pipeline] { [Pipeline] sh [2022-04-05T20:17:26.871Z] + set +x [2022-04-05T20:17:26.871Z] + curl -s https://codecov.io/bash [2022-04-05T20:17:26.871Z] + bash -s -- [2022-04-05T20:17:26.871Z] [2022-04-05T20:17:26.871Z] _____ _ [2022-04-05T20:17:26.871Z] / ____| | | [2022-04-05T20:17:26.871Z] | | ___ __| | ___ ___ _____ __ [2022-04-05T20:17:26.871Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-05T20:17:26.871Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-05T20:17:26.871Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-05T20:17:26.871Z] Bash-1.0.6 [2022-04-05T20:17:26.871Z] [2022-04-05T20:17:26.871Z] [2022-04-05T20:17:26.871Z] ==> git version 2.25.1 found [2022-04-05T20:17:26.871Z] ==> 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-04-05T20:17:26.871Z] Release-Date: 2020-01-08 [2022-04-05T20:17:26.871Z] 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-04-05T20:17:26.871Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-05T20:17:26.871Z] ==> Jenkins CI detected. [2022-04-05T20:17:26.871Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-04-05T20:17:26.871Z] project root: . [2022-04-05T20:17:26.871Z] --> token set from env [2022-04-05T20:17:26.871Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-05T20:17:26.871Z] ==> Running gcov in . (disable via -X gcov) [2022-04-05T20:17:26.871Z] ==> Python coveragepy not found [2022-04-05T20:17:26.871Z] ==> Searching for coverage reports in: [2022-04-05T20:17:26.871Z] + . [2022-04-05T20:17:26.871Z] -> Found 1 reports [2022-04-05T20:17:26.871Z] ==> Detecting git/mercurial file structure [2022-04-05T20:17:26.871Z] ==> Reading reports [2022-04-05T20:17:26.871Z] + ./coverage.out bytes=9355 [2022-04-05T20:17:26.871Z] ==> Appending adjustments [2022-04-05T20:17:26.871Z] https://docs.codecov.io/docs/fixing-reports [2022-04-05T20:17:27.132Z] + Found adjustments [2022-04-05T20:17:27.132Z] ==> Gzipping contents [2022-04-05T20:17:27.132Z] 4.0K /tmp/codecov.JIBCsw.gz [2022-04-05T20:17:27.132Z] ==> Uploading reports [2022-04-05T20:17:27.132Z] url: https://codecov.io [2022-04-05T20:17:27.132Z] query: branch=main&commit=868c3d37fa7208ff5e10080602f68a64287cb162&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:17:27.132Z] -> Pinging Codecov [2022-04-05T20:17:27.132Z] 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=868c3d37fa7208ff5e10080602f68a64287cb162&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-05T20:17:27.396Z] -> Uploading to [2022-04-05T20:17:27.396Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-05/4E5D53B4F1F92C436F7061BF334D961C/868c3d37fa7208ff5e10080602f68a64287cb162/e21e3d16-66fd-4174-a058-52a34df21988.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220405%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220405T201727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d932aa1deab223bb86654ff5dd7e6c1ae41fb1f7c6b191b683ae8e23b55c7b7 [2022-04-05T20:17:27.396Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-05T20:17:27.396Z] Dload Upload Total Spent Left Speed [2022-04-05T20:17:27.658Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7258 --:--:-- --:--:-- --:--:-- 7287 [2022-04-05T20:17:27.658Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] } [2022-04-05T20:17:27.667Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-05T20:17:27.808Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-05T20:17:27.823Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:17:28.129Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:17:28.129Z] [2022-04-05T20:17:28.129Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:17:28.431Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:17:28.431Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-05T20:17:28.431Z] 188c0c94c7c5: Pulling fs layer [2022-04-05T20:17:28.431Z] 0ef7d3d256c8: Pulling fs layer [2022-04-05T20:17:28.431Z] de9db76c5a1d: Pulling fs layer [2022-04-05T20:17:28.431Z] 0eba1c9be4d2: Pulling fs layer [2022-04-05T20:17:28.431Z] 0d57e429df01: Pulling fs layer [2022-04-05T20:17:28.431Z] 4e4be7b47b0d: Pulling fs layer [2022-04-05T20:17:28.431Z] e1f770b5df2f: Pulling fs layer [2022-04-05T20:17:28.431Z] 85a0685a4137: Pulling fs layer [2022-04-05T20:17:28.431Z] 4e4be7b47b0d: Waiting [2022-04-05T20:17:28.431Z] e1f770b5df2f: Waiting [2022-04-05T20:17:28.431Z] 85a0685a4137: Waiting [2022-04-05T20:17:28.431Z] 0eba1c9be4d2: Waiting [2022-04-05T20:17:28.431Z] 0d57e429df01: Waiting [2022-04-05T20:17:28.431Z] de9db76c5a1d: Verifying Checksum [2022-04-05T20:17:28.431Z] de9db76c5a1d: Download complete [2022-04-05T20:17:28.431Z] 0ef7d3d256c8: Verifying Checksum [2022-04-05T20:17:28.431Z] 0d57e429df01: Verifying Checksum [2022-04-05T20:17:28.431Z] 0d57e429df01: Download complete [2022-04-05T20:17:28.431Z] 4e4be7b47b0d: Verifying Checksum [2022-04-05T20:17:28.431Z] 4e4be7b47b0d: Download complete [2022-04-05T20:17:28.431Z] 188c0c94c7c5: Verifying Checksum [2022-04-05T20:17:28.431Z] 188c0c94c7c5: Download complete [2022-04-05T20:17:28.693Z] e1f770b5df2f: Verifying Checksum [2022-04-05T20:17:28.693Z] e1f770b5df2f: Download complete [2022-04-05T20:17:28.693Z] 188c0c94c7c5: Pull complete [2022-04-05T20:17:28.693Z] 0ef7d3d256c8: Pull complete [2022-04-05T20:17:28.953Z] de9db76c5a1d: Pull complete [2022-04-05T20:17:29.213Z] 0eba1c9be4d2: Download complete [2022-04-05T20:17:29.473Z] 85a0685a4137: Verifying Checksum [2022-04-05T20:17:29.473Z] 85a0685a4137: Download complete [2022-04-05T20:17:33.679Z] 0eba1c9be4d2: Pull complete [2022-04-05T20:17:33.679Z] 0d57e429df01: Pull complete [2022-04-05T20:17:33.679Z] 4e4be7b47b0d: Pull complete [2022-04-05T20:17:33.679Z] e1f770b5df2f: Pull complete [2022-04-05T20:17:37.886Z] 85a0685a4137: Pull complete [2022-04-05T20:17:37.886Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-05T20:17:37.886Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-05T20:17:37.886Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-05T20:17:37.962Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:17:38.006Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-04-05T20:17:39.569Z] $ docker top 0124e29dcd052fb70c058e5e2c5619fe02c3baaf9e4618ba0c58e64f75d77c50 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-05T20:17:39.649Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-05T20:17:39.931Z] + set -o pipefail [2022-04-05T20:17:39.931Z] + snyk monitor '--org=edgex-jenkins' [2022-04-05T20:17:52.255Z] [2022-04-05T20:17:52.255Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-04-05T20:17:52.255Z] [2022-04-05T20:17:52.255Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/526f1baa-330d-4ebf-a8f9-b43d9231ffa6 [2022-04-05T20:17:52.255Z] [2022-04-05T20:17:52.255Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-05T20:17:52.255Z] [2022-04-05T20:17:52.255Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-05T20:17:52.255Z] [2022-04-05T20:17:52.255Z] [Pipeline] } [2022-04-05T20:17:52.311Z] $ docker stop --time=1 0124e29dcd052fb70c058e5e2c5619fe02c3baaf9e4618ba0c58e64f75d77c50 [2022-04-05T20:17:54.061Z] $ docker rm -f 0124e29dcd052fb70c058e5e2c5619fe02c3baaf9e4618ba0c58e64f75d77c50 [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-04-05T20:17:54.827Z] + git log --format=format:%s -1 868c3d37fa7208ff5e10080602f68a64287cb162 [Pipeline] sh [2022-04-05T20:17:55.124Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:17:55.124Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:17:55.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:17:55.420Z] . [Pipeline] withDockerContainer [2022-04-05T20:17:55.492Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:17:55.532Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:17:55.968Z] $ docker top 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:17:56.078Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:17:56.078Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:17:56.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:17:56.225Z] $ docker exec 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 ssh-agent [2022-04-05T20:17:56.356Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdIEGCA/agent.13 [2022-04-05T20:17:56.356Z] SSH_AGENT_PID=20 [2022-04-05T20:17:56.362Z] Running ssh-add (command line suppressed) [2022-04-05T20:17:56.495Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4718734961592355807.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4718734961592355807.key) [2022-04-05T20:17:56.504Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:17:56.794Z] + git semver tag [2022-04-05T20:17:56.794Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:17:56.794Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-05T20:17:56.794Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-05T20:17:56.794Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:17:56.794Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:17:56.794Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:17:56.794Z] # $SEMVER_BRANCH = main [2022-04-05T20:17:56.794Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-05T20:17:56.794Z] # 868c3d37fa7208ff5e10080602f68a64287cb162 HEAD [2022-04-05T20:17:56.794Z] # -> Force: false [2022-04-05T20:17:56.794Z] # 6e8b7c5a414d1471a8bacf8be4554edfc9a0b593 refs/tags/v2.2.0-dev.7 [Pipeline] } [2022-04-05T20:17:56.809Z] $ docker exec --env ******** --env ******** 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 ssh-agent -k [2022-04-05T20:17:56.918Z] unset SSH_AUTH_SOCK; [2022-04-05T20:17:56.918Z] unset SSH_AGENT_PID; [2022-04-05T20:17:56.919Z] echo Agent pid 20 killed; [2022-04-05T20:17:56.926Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:17:57.238Z] + git semver [Pipeline] } [2022-04-05T20:17:57.257Z] $ docker stop --time=1 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 [2022-04-05T20:17:58.565Z] $ docker rm -f 0b9b0bcddf9d2732bbe6bcf5af1737613996e248a2d261eea2a4bcced6315c87 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:17:58.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:17:58.977Z] [2022-04-05T20:17:58.977Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:17:59.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:17:59.284Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-05T20:17:59.284Z] ab5ef0e58194: Pulling fs layer [2022-04-05T20:17:59.284Z] 9712f1f96733: Pulling fs layer [2022-04-05T20:17:59.284Z] 63f879dbbcfc: Pulling fs layer [2022-04-05T20:17:59.284Z] 0d9ebad4ef96: Pulling fs layer [2022-04-05T20:17:59.284Z] e9a5061849ea: Pulling fs layer [2022-04-05T20:17:59.284Z] d747dcd14b5f: Pulling fs layer [2022-04-05T20:17:59.284Z] 2de7ff778b66: Pulling fs layer [2022-04-05T20:17:59.284Z] 2de7ff778b66: Waiting [2022-04-05T20:17:59.284Z] d747dcd14b5f: Waiting [2022-04-05T20:17:59.284Z] 9712f1f96733: Verifying Checksum [2022-04-05T20:17:59.284Z] 9712f1f96733: Download complete [2022-04-05T20:17:59.545Z] 63f879dbbcfc: Verifying Checksum [2022-04-05T20:17:59.545Z] 63f879dbbcfc: Download complete [2022-04-05T20:17:59.805Z] e9a5061849ea: Verifying Checksum [2022-04-05T20:17:59.805Z] e9a5061849ea: Download complete [2022-04-05T20:17:59.805Z] d747dcd14b5f: Verifying Checksum [2022-04-05T20:17:59.805Z] d747dcd14b5f: Download complete [2022-04-05T20:17:59.805Z] ab5ef0e58194: Verifying Checksum [2022-04-05T20:17:59.805Z] ab5ef0e58194: Download complete [2022-04-05T20:17:59.805Z] 0d9ebad4ef96: Verifying Checksum [2022-04-05T20:17:59.805Z] 0d9ebad4ef96: Download complete [2022-04-05T20:17:59.805Z] 2de7ff778b66: Verifying Checksum [2022-04-05T20:18:03.100Z] ab5ef0e58194: Pull complete [2022-04-05T20:18:03.100Z] 9712f1f96733: Pull complete [2022-04-05T20:18:03.674Z] 63f879dbbcfc: Pull complete [2022-04-05T20:18:07.871Z] 0d9ebad4ef96: Pull complete [2022-04-05T20:18:08.132Z] e9a5061849ea: Pull complete [2022-04-05T20:18:08.392Z] d747dcd14b5f: Pull complete [2022-04-05T20:18:09.775Z] 2de7ff778b66: Pull complete [2022-04-05T20:18:09.775Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-05T20:18:09.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-05T20:18:09.775Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-05T20:18:09.851Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:18:09.893Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-04-05T20:18:12.619Z] $ docker top 8ec71c4b42b117ab0e1af266bd977dfadfb32f6317282e2c5bf58915c8fbd95c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:18:12.705Z] provisioning config files... [2022-04-05T20:18:12.714Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2159119244505365684tmp [2022-04-05T20:18:12.726Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7429756505198138700tmp [2022-04-05T20:18:12.738Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1467205200939691849tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:18:12.753Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:13.037Z] ---> sigul-configuration.sh [2022-04-05T20:18:13.037Z] gpg: directory `/root/.gnupg' created [2022-04-05T20:18:13.037Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-05T20:18:13.037Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-05T20:18:13.037Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-05T20:18:13.037Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-05T20:18:13.037Z] gpg: CAST5 encrypted data [2022-04-05T20:18:13.037Z] gpg: encrypted with 1 passphrase [2022-04-05T20:18:13.037Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-05T20:18:13.328Z] + mkdir /home/jenkins [2022-04-05T20:18:13.328Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-05T20:18:13.626Z] + 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-04-05T20:18:13.646Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:13.948Z] ---> sigul-install.sh [2022-04-05T20:18:13.948Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-05T20:18:14.240Z] + git tag --list [2022-04-05T20:18:14.240Z] v1.0.0 [2022-04-05T20:18:14.240Z] v1.1.0 [2022-04-05T20:18:14.240Z] v1.1.1 [2022-04-05T20:18:14.240Z] v1.1.2 [2022-04-05T20:18:14.240Z] v1.2.0 [2022-04-05T20:18:14.240Z] v1.2.1 [2022-04-05T20:18:14.240Z] v2.0.0 [2022-04-05T20:18:14.240Z] v2.0.1-dev.1 [2022-04-05T20:18:14.240Z] v2.0.1-dev.10 [2022-04-05T20:18:14.240Z] v2.0.1-dev.11 [2022-04-05T20:18:14.240Z] v2.0.1-dev.12 [2022-04-05T20:18:14.240Z] v2.0.1-dev.13 [2022-04-05T20:18:14.240Z] v2.0.1-dev.14 [2022-04-05T20:18:14.240Z] v2.0.1-dev.2 [2022-04-05T20:18:14.240Z] v2.0.1-dev.3 [2022-04-05T20:18:14.240Z] v2.0.1-dev.4 [2022-04-05T20:18:14.240Z] v2.0.1-dev.5 [2022-04-05T20:18:14.240Z] v2.0.1-dev.6 [2022-04-05T20:18:14.240Z] v2.0.1-dev.7 [2022-04-05T20:18:14.240Z] v2.0.1-dev.8 [2022-04-05T20:18:14.240Z] v2.0.1-dev.9 [2022-04-05T20:18:14.240Z] v2.1.0 [2022-04-05T20:18:14.240Z] v2.2.0-dev.1 [2022-04-05T20:18:14.240Z] v2.2.0-dev.2 [2022-04-05T20:18:14.240Z] v2.2.0-dev.3 [2022-04-05T20:18:14.240Z] v2.2.0-dev.4 [2022-04-05T20:18:14.240Z] v2.2.0-dev.5 [2022-04-05T20:18:14.240Z] v2.2.0-dev.6 [2022-04-05T20:18:14.240Z] v2.2.0-dev.7 [Pipeline] sh [2022-04-05T20:18:14.531Z] + lftools sign git-tag v2.2.0-dev.7 [2022-04-05T20:18:15.102Z] Signing Git tag with Sigul... [2022-04-05T20:18:15.102Z] Signing v2.2.0-dev.7 [Pipeline] echo [2022-04-05T20:18:15.373Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:15.660Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-05T20:18:15.669Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-05T20:18:15.696Z] $ docker stop --time=1 8ec71c4b42b117ab0e1af266bd977dfadfb32f6317282e2c5bf58915c8fbd95c [2022-04-05T20:18:17.033Z] $ docker rm -f 8ec71c4b42b117ab0e1af266bd977dfadfb32f6317282e2c5bf58915c8fbd95c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-05T20:18:17.473Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:18:17.473Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:17.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:18:17.776Z] . [Pipeline] withDockerContainer [2022-04-05T20:18:17.852Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:18:17.893Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:18:18.334Z] $ docker top 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:18:18.541Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:18:18.541Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:18:18.673Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:18:18.682Z] $ docker exec 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 ssh-agent [2022-04-05T20:18:18.799Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEDNgjK/agent.13 [2022-04-05T20:18:18.799Z] SSH_AGENT_PID=20 [2022-04-05T20:18:18.805Z] Running ssh-add (command line suppressed) [2022-04-05T20:18:18.935Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4261215163952425587.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4261215163952425587.key) [2022-04-05T20:18:18.944Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:18:19.238Z] + git semver bump pre [2022-04-05T20:18:19.238Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:18:19.238Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-05T20:18:19.238Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-05T20:18:19.238Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:18:19.238Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:18:19.238Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:18:19.238Z] # $SEMVER_BRANCH = main [2022-04-05T20:18:19.238Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-05T20:18:19.238Z] 2.2.0-dev.8 [Pipeline] } [2022-04-05T20:18:19.255Z] $ docker exec --env ******** --env ******** 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 ssh-agent -k [2022-04-05T20:18:19.373Z] unset SSH_AUTH_SOCK; [2022-04-05T20:18:19.373Z] unset SSH_AGENT_PID; [2022-04-05T20:18:19.374Z] echo Agent pid 20 killed; [2022-04-05T20:18:19.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:18:19.703Z] + git semver [Pipeline] } [2022-04-05T20:18:19.727Z] $ docker stop --time=1 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 [2022-04-05T20:18:21.046Z] $ docker rm -f 289045cfa5c6d92a9efeb501ad9e6494b9e7c4d890abcc20248942158849d9d4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-05T20:18:21.396Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-05T20:18:21.396Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:21.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-05T20:18:21.695Z] . [Pipeline] withDockerContainer [2022-04-05T20:18:21.770Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:18:21.808Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-04-05T20:18:22.222Z] $ docker top ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-05T20:18:22.325Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-05T20:18:22.325Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-05T20:18:22.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-05T20:18:22.473Z] $ docker exec ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 ssh-agent [2022-04-05T20:18:22.613Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjKIKfd/agent.14 [2022-04-05T20:18:22.613Z] SSH_AGENT_PID=20 [2022-04-05T20:18:22.618Z] Running ssh-add (command line suppressed) [2022-04-05T20:18:22.735Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4307623406995643590.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4307623406995643590.key) [2022-04-05T20:18:22.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-05T20:18:23.041Z] + git semver push [2022-04-05T20:18:23.041Z] # -> Open(): unable to determine branch for HEAD [2022-04-05T20:18:23.041Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-05T20:18:23.041Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-05T20:18:23.041Z] # $SEMVER_REMOTE_NAME = origin [2022-04-05T20:18:23.041Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-05T20:18:23.041Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-05T20:18:23.041Z] # $SEMVER_BRANCH = main [2022-04-05T20:18:23.041Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-05T20:18:24.979Z] $ docker exec --env ******** --env ******** ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 ssh-agent -k [2022-04-05T20:18:25.098Z] unset SSH_AUTH_SOCK; [2022-04-05T20:18:25.098Z] unset SSH_AGENT_PID; [2022-04-05T20:18:25.098Z] echo Agent pid 20 killed; [2022-04-05T20:18:25.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-05T20:18:25.423Z] + git semver [Pipeline] } [2022-04-05T20:18:25.442Z] $ docker stop --time=1 ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 [2022-04-05T20:18:26.730Z] $ docker rm -f ad3efa7530acd5027790cdce5c4b9d308aed7725a2a8c8c4b556c38a4e4ac434 [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-04-05T20:18:27.320Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-04-05T20:18:27.320Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-05T20:18:27.320Z] total 16 [2022-04-05T20:18:27.320Z] drwxr-xr-x 3 root root 4096 Apr 5 20:10 . [2022-04-05T20:18:27.320Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:18 .. [2022-04-05T20:18:27.320Z] drwxr-xr-x 2 root root 4096 Apr 5 20:10 cost [2022-04-05T20:18:27.320Z] -rw-r--r-- 1 root root 84 Apr 5 20:10 cost.csv [2022-04-05T20:18:27.320Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-05T20:18:27.320Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-05T20:18:27.320Z] total 16 [2022-04-05T20:18:27.320Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 5 20:10 . [2022-04-05T20:18:27.320Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 5 20:18 .. [2022-04-05T20:18:27.320Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 5 20:10 cost [2022-04-05T20:18:27.320Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 5 20:10 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:27.617Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:28.564Z] ---> package-listing.sh [2022-04-05T20:18:28.564Z] ++ facter osfamily [2022-04-05T20:18:28.564Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-05T20:18:28.564Z] + OS_FAMILY=debian [2022-04-05T20:18:28.564Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-04-05T20:18:28.564Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-05T20:18:28.564Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-05T20:18:28.564Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-05T20:18:28.564Z] + PACKAGES=/tmp/packages_start.txt [2022-04-05T20:18:28.564Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-05T20:18:28.564Z] + PACKAGES=/tmp/packages_end.txt [2022-04-05T20:18:28.564Z] + case "${OS_FAMILY}" in [2022-04-05T20:18:28.564Z] + dpkg -l [2022-04-05T20:18:28.564Z] + grep '^ii' [2022-04-05T20:18:28.564Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-05T20:18:28.564Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-05T20:18:28.564Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-05T20:18:28.564Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-05T20:18:28.564Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-04-05T20:18:28.564Z] + 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-04-05T20:18:28.577Z] 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-04-05T20:18:28.865Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-05T20:18:29.429Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-05T20:18:29.429Z] . [Pipeline] withDockerContainer [2022-04-05T20:18:29.505Z] prd-ubuntu20.04-docker-8c-8g-10767 does not seem to be running inside a container [2022-04-05T20:18:29.539Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-04-05T20:18:29.797Z] $ docker top 92bbaf4a115bd73eceeaa990e3444e2a90bb3e3bb642a0ea0305c61e2761c2b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-05T20:18:30.161Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-05T20:18:30.449Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-05T20:18:30.744Z] + ls /var/log/sa-host [2022-04-05T20:18:30.744Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-05T20:18:30.833Z] provisioning config files... [2022-04-05T20:18:30.844Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2474668645870501567tmp [Pipeline] { [Pipeline] echo [2022-04-05T20:18:30.859Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:31.147Z] ---> create-netrc.sh [Pipeline] } [2022-04-05T20:18:31.155Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:31.485Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-05T20:18:31.495Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:31.787Z] ---> sudo-logs.sh [2022-04-05T20:18:31.787Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-05T20:18:31.813Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:32.114Z] ---> job-cost.sh [2022-04-05T20:18:32.114Z] lf-activate-venv: SKIPPING [2022-04-05T20:18:32.114Z] DEBUG: total: 0.2199999988079071 [2022-04-05T20:18:32.114Z] INFO: Retrieving Stack Cost... [2022-04-05T20:18:32.685Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-05T20:18:32.945Z] INFO: Archiving Costs [Pipeline] echo [2022-04-05T20:18:32.959Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-05T20:18:33.245Z] ---> logs-deploy.sh [2022-04-05T20:18:33.245Z] lf-activate-venv: SKIPPING [2022-04-05T20:18:33.245Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/28 [2022-04-05T20:18:33.245Z] INFO: archiving workspace using pattern(s): [2022-04-05T20:18:34.184Z] Archives upload complete. [2022-04-05T20:18:34.184Z] INFO: archiving logs to Nexus