Pull request #245 opened Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-modbus-go Obtained Jenkinsfile from 8b1c72fcee9bd0642df98d995bae8e8b852d2991+0f1f12442b5a26a09c65592d000175cd200ff215 (8fda35ab336bb6414299b2ef15ce8cd4e9cb7634) Running in Durability level: MAX_SURVIVABILITY 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1987129674478350861.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9d0281235b943b7ad605f650702698f9078b2862 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 > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4115834753641025406.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 9d0281235b943b7ad605f650702698f9078b2862 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-245/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-245/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5304513925254615836.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-245/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6435656983714964067.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9d0281235b943b7ad605f650702698f9078b2862 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d0281235b943b7ad605f650702698f9078b2862 # timeout=10 Commit message: "Merge pull request #315 from ernestojeda/rename-docker-images-again" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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 > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1979460931939417614.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-245/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/PR-245/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4513707201566712111.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 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-modbus-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-modbus-go-settings PROJECT: device-modbus-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-modbus 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: true 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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1089 in /w/workspace/xfoundry_device-modbus-go_PR-245 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/xfoundry_device-modbus-go_PR-245 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/jenkins-gitclient-ssh8804061456013043512.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/jenkins-gitclient-ssh6115268131607339241.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 0f1f12442b5a26a09c65592d000175cd200ff215 into PR head commit 8b1c72fcee9bd0642df98d995bae8e8b852d2991 Merge succeeded, producing 8b1c72fcee9bd0642df98d995bae8e8b852d2991 Checking out Revision 8b1c72fcee9bd0642df98d995bae8e8b852d2991 (PR-245) > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1c72fcee9bd0642df98d995bae8e8b852d2991 # timeout=10 > git remote # timeout=10 > 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 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/jenkins-gitclient-ssh1056012875621187510.key > git merge 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8b1c72fcee9bd0642df98d995bae8e8b852d2991 # timeout=10 Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-05-17T23:20:29.161Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-05-17T23:20:29.355Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-05-17T23:20:29.468Z] ========================================================= [2021-05-17T23:20:29.468Z] EdgeX Global Pipelines Version Info [2021-05-17T23:20:29.468Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:20:30.973Z] ------------------- [2021-05-17T23:20:30.973Z] stable info: [2021-05-17T23:20:30.973Z] ------------------- [2021-05-17T23:20:30.973Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-05-17T23:20:30.973Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T23:20:30.973Z] Message: update stable to v1.0.192 [2021-05-17T23:20:31.547Z] ------------------- [2021-05-17T23:20:31.547Z] experimental info: [2021-05-17T23:20:31.547Z] ------------------- [2021-05-17T23:20:31.547Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-05-17T23:20:31.547Z] Commit SHA: 9d0281235b943b7ad605f650702698f9078b2862 [2021-05-17T23:20:31.547Z] Message: update experimental to v1.0.192 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-05-17T23:20:31.841Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2021-05-17T23:20:31.901Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2021-05-17T23:20:31.956Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-05-17T23:20:32.035Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-05-17T23:20:32.086Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-05-17T23:20:32.141Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-05-17T23:20:32.196Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2021-05-17T23:20:32.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-05-17T23:20:32.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-05-17T23:20:32.380Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-05-17T23:20:32.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-05-17T23:20:32.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2021-05-17T23:20:32.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-05-17T23:20:32.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-05-17T23:20:32.698Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T23:20:32.758Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-05-17T23:20:32.816Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T23:20:32.880Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-05-17T23:20:32.942Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-05-17T23:20:33.006Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-05-17T23:20:33.059Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-05-17T23:20:33.117Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-05-17T23:20:33.171Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-05-17T23:20:33.229Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-05-17T23:20:33.285Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-05-17T23:20:33.333Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-05-17T23:20:33.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo [2021-05-17T23:20:33.457Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo [2021-05-17T23:20:33.516Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo [2021-05-17T23:20:33.573Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b1c72fcee9bd0642df98d995bae8e8b852d2991 [Pipeline] echo [2021-05-17T23:20:33.698Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b1c72f [Pipeline] echo [2021-05-17T23:20:33.754Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T23:20:33.962Z] provisioning config files... [2021-05-17T23:20:33.979Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-245@tmp/config2384458088787477332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:20:34.344Z] ---> docker-login.sh [2021-05-17T23:20:34.344Z] nexus3.edgexfoundry.org:10001 [2021-05-17T23:20:34.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:20:34.878Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:20:34.878Z] Configure a credential helper to remove this warning. See [2021-05-17T23:20:34.878Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:20:34.878Z] [2021-05-17T23:20:34.879Z] Login Succeeded [2021-05-17T23:20:34.879Z] nexus3.edgexfoundry.org:10002 [2021-05-17T23:20:34.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:20:34.879Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:20:34.879Z] Configure a credential helper to remove this warning. See [2021-05-17T23:20:34.879Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:20:34.879Z] [2021-05-17T23:20:34.879Z] Login Succeeded [2021-05-17T23:20:34.879Z] nexus3.edgexfoundry.org:10003 [2021-05-17T23:20:34.879Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:20:35.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:20:35.144Z] Configure a credential helper to remove this warning. See [2021-05-17T23:20:35.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:20:35.144Z] [2021-05-17T23:20:35.144Z] Login Succeeded [2021-05-17T23:20:35.144Z] nexus3.edgexfoundry.org:10004 [2021-05-17T23:20:35.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:20:35.144Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:20:35.144Z] Configure a credential helper to remove this warning. See [2021-05-17T23:20:35.144Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:20:35.144Z] [2021-05-17T23:20:35.144Z] Login Succeeded [2021-05-17T23:20:35.144Z] docker.io [2021-05-17T23:20:35.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:20:35.722Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:20:35.722Z] Configure a credential helper to remove this warning. See [2021-05-17T23:20:35.722Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:20:35.722Z] [2021-05-17T23:20:35.722Z] Login Succeeded [2021-05-17T23:20:35.722Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T23:20:35.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T23:20:36.509Z] + git log --format=format:%s -1 8b1c72fcee9bd0642df98d995bae8e8b852d2991 [Pipeline] echo [2021-05-17T23:20:36.566Z] GIT_COMMIT: 8b1c72fcee9bd0642df98d995bae8e8b852d2991, Commit Message: refactor: Update for new service key names and overrides for hyphen to underscore [Pipeline] echo [2021-05-17T23:20:36.603Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-05-17T23:20:37.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T23:20:37.769Z] [2021-05-17T23:20:37.769Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-05-17T23:20:38.122Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T23:20:38.122Z] latest: Pulling from edgex-devops/git-semver [2021-05-17T23:20:38.122Z] 31603596830f: Pulling fs layer [2021-05-17T23:20:38.122Z] 54011a49482f: Pulling fs layer [2021-05-17T23:20:38.122Z] a6820b24f6d8: Pulling fs layer [2021-05-17T23:20:38.122Z] f581987b2513: Pulling fs layer [2021-05-17T23:20:38.122Z] f581987b2513: Waiting [2021-05-17T23:20:38.122Z] 54011a49482f: Verifying Checksum [2021-05-17T23:20:38.122Z] 54011a49482f: Download complete [2021-05-17T23:20:38.122Z] 31603596830f: Verifying Checksum [2021-05-17T23:20:38.122Z] 31603596830f: Download complete [2021-05-17T23:20:38.386Z] f581987b2513: Verifying Checksum [2021-05-17T23:20:38.386Z] f581987b2513: Download complete [2021-05-17T23:20:38.386Z] a6820b24f6d8: Verifying Checksum [2021-05-17T23:20:38.386Z] a6820b24f6d8: Download complete [2021-05-17T23:20:38.386Z] 31603596830f: Pull complete [2021-05-17T23:20:38.651Z] 54011a49482f: Pull complete [2021-05-17T23:20:39.232Z] a6820b24f6d8: Pull complete [2021-05-17T23:20:39.493Z] f581987b2513: Pull complete [2021-05-17T23:20:39.493Z] Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 [2021-05-17T23:20:39.493Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-05-17T23:20:39.493Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-05-17T23:20:39.626Z] prd-centos7-docker-4c-2g-1089 does not seem to be running inside a container [2021-05-17T23:20:39.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_PR-245 -v /w/workspace/xfoundry_device-modbus-go_PR-245:/w/workspace/xfoundry_device-modbus-go_PR-245:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-245@tmp:/w/workspace/xfoundry_device-modbus-go_PR-245@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:10004/edgex-devops/git-semver:latest cat [2021-05-17T23:20:40.863Z] $ docker top 69691b62c54636612f9fc4e5b296cc1865d2ab2cdc4f5b1b0c1b88cdc01309d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-05-17T23:20:41.071Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T23:20:41.071Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T23:20:41.177Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T23:20:41.181Z] $ docker exec 69691b62c54636612f9fc4e5b296cc1865d2ab2cdc4f5b1b0c1b88cdc01309d6 ssh-agent [2021-05-17T23:20:41.292Z] SSH_AUTH_SOCK=/tmp/ssh-F6xg9pNznpVI/agent.14 [2021-05-17T23:20:41.292Z] SSH_AGENT_PID=20 [2021-05-17T23:20:41.300Z] Running ssh-add (command line suppressed) [2021-05-17T23:20:41.393Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/private_key_9211381796807420092.key (/w/workspace/xfoundry_device-modbus-go_PR-245@tmp/private_key_9211381796807420092.key) [2021-05-17T23:20:41.408Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T23:20:41.777Z] + git tag --points-at HEAD [Pipeline] } [2021-05-17T23:20:41.803Z] $ docker exec --env ******** --env ******** 69691b62c54636612f9fc4e5b296cc1865d2ab2cdc4f5b1b0c1b88cdc01309d6 ssh-agent -k [2021-05-17T23:20:41.909Z] unset SSH_AUTH_SOCK; [2021-05-17T23:20:41.910Z] unset SSH_AGENT_PID; [2021-05-17T23:20:41.910Z] echo Agent pid 20 killed; [2021-05-17T23:20:41.923Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-05-17T23:20:42.021Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-05-17T23:20:42.021Z] [ssh-agent] Looking for ssh-agent implementation... [2021-05-17T23:20:42.123Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-05-17T23:20:42.125Z] $ docker exec 69691b62c54636612f9fc4e5b296cc1865d2ab2cdc4f5b1b0c1b88cdc01309d6 ssh-agent [2021-05-17T23:20:42.226Z] SSH_AUTH_SOCK=/tmp/ssh-nsYI9EtTKERU/agent.53 [2021-05-17T23:20:42.226Z] SSH_AGENT_PID=59 [2021-05-17T23:20:42.232Z] Running ssh-add (command line suppressed) [2021-05-17T23:20:42.328Z] Identity added: /w/workspace/xfoundry_device-modbus-go_PR-245@tmp/private_key_1191144764600095771.key (/w/workspace/xfoundry_device-modbus-go_PR-245@tmp/private_key_1191144764600095771.key) [2021-05-17T23:20:42.344Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-05-17T23:20:42.688Z] + git semver init [2021-05-17T23:20:42.688Z] # -> Open(): unable to determine branch for HEAD [2021-05-17T23:20:42.688Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_PR-245/.git [2021-05-17T23:20:42.688Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_PR-245 [2021-05-17T23:20:42.688Z] # $SEMVER_REMOTE_NAME = origin [2021-05-17T23:20:42.688Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-05-17T23:20:42.688Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-05-17T23:20:42.688Z] # $SEMVER_BRANCH = PR-245 [2021-05-17T23:20:42.688Z] # $SEMVER_TEMP = /tmp/semver-717594961 [2021-05-17T23:20:42.688Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2021-05-17T23:20:42.951Z] # '/tmp/semver-717594961' -> '/w/workspace/xfoundry_device-modbus-go_PR-245/.semver' [2021-05-17T23:20:42.951Z] # -> Force: false [2021-05-17T23:20:42.951Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_PR-245/.semver [Pipeline] } [2021-05-17T23:20:42.979Z] $ docker exec --env ******** --env ******** 69691b62c54636612f9fc4e5b296cc1865d2ab2cdc4f5b1b0c1b88cdc01309d6 ssh-agent -k [2021-05-17T23:20:43.071Z] unset SSH_AUTH_SOCK; [2021-05-17T23:20:43.071Z] unset SSH_AGENT_PID; [2021-05-17T23:20:43.071Z] echo Agent pid 59 killed; [2021-05-17T23:20:43.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-05-17T23:20:43.536Z] + git semver [Pipeline] } [2021-05-17T23:20:43.574Z] $ docker stop --time=1 69691b62c54636612f9fc4e5b296cc1865d2ab2cdc4f5b1b0c1b88cdc01309d6 [2021-05-17T23:20:44.807Z] $ docker rm -f 69691b62c54636612f9fc4e5b296cc1865d2ab2cdc4f5b1b0c1b88cdc01309d6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-05-17T23:20:45.263Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-05-17T23:20:45.667Z] Stashed 1 file(s) [Pipeline] echo [2021-05-17T23:20:45.688Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-05-17T23:20:46.412Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1082 in /w/workspace/xfoundry_device-modbus-go_PR-245 [Pipeline] { [Pipeline] ws [2021-05-17T23:20:46.461Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-05-17T23:20:46.676Z] Selected Git installation does not exist. Using Default [2021-05-17T23:20:46.676Z] The recommended git tool is: NONE [2021-05-17T23:20:51.678Z] using credential edgex-jenkins-ssh [2021-05-17T23:20:51.697Z] Cloning the remote Git repository [2021-05-17T23:20:51.745Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-17T23:20:51.846Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-05-17T23:20:51.910Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-17T23:20:51.910Z] > git --version # timeout=10 [2021-05-17T23:20:51.932Z] > git --version # 'git version 2.17.1' [2021-05-17T23:20:51.934Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T23:20:52.044Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T23:20:52.714Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-17T23:20:52.734Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T23:20:52.762Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-17T23:20:52.792Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-17T23:20:52.793Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T23:20:52.805Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-17T23:20:53.356Z] Merging remotes/origin/master commit 0f1f12442b5a26a09c65592d000175cd200ff215 into PR head commit 8b1c72fcee9bd0642df98d995bae8e8b852d2991 [2021-05-17T23:20:53.536Z] Merge succeeded, producing 8b1c72fcee9bd0642df98d995bae8e8b852d2991 [2021-05-17T23:20:53.536Z] Checking out Revision 8b1c72fcee9bd0642df98d995bae8e8b852d2991 (PR-245) [2021-05-17T23:20:53.375Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T23:20:53.392Z] > git checkout -f 8b1c72fcee9bd0642df98d995bae8e8b852d2991 # timeout=10 [2021-05-17T23:20:53.466Z] > git remote # timeout=10 [2021-05-17T23:20:53.481Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T23:20:53.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T23:20:53.504Z] > git merge 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 [2021-05-17T23:20:53.523Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T23:20:53.543Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T23:20:53.559Z] > git checkout -f 8b1c72fcee9bd0642df98d995bae8e8b852d2991 # timeout=10 [2021-05-17T23:20:57.780Z] Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" [2021-05-17T23:20:57.834Z] > git --version # timeout=10 [2021-05-17T23:20:57.852Z] > git --version # 'git version 2.17.1' [2021-05-17T23:20:57.864Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T23:20:59.351Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2021-05-17T23:20:59.758Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T23:21:00.123Z] + sudo service docker restart [2021-05-17T23:21:00.124Z] + true [2021-05-17T23:21:01.196Z] Still waiting to schedule task [2021-05-17T23:21:01.197Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T23:21:18.551Z] provisioning config files... [2021-05-17T23:21:18.578Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config2395645695301130310tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:21:19.000Z] ---> docker-login.sh [2021-05-17T23:21:19.000Z] nexus3.edgexfoundry.org:10001 [2021-05-17T23:21:19.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:21:20.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:21:20.260Z] Configure a credential helper to remove this warning. See [2021-05-17T23:21:20.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:21:20.260Z] [2021-05-17T23:21:20.260Z] Login Succeeded [2021-05-17T23:21:20.260Z] nexus3.edgexfoundry.org:10002 [2021-05-17T23:21:20.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:21:20.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:21:20.807Z] Configure a credential helper to remove this warning. See [2021-05-17T23:21:20.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:21:20.807Z] [2021-05-17T23:21:20.807Z] Login Succeeded [2021-05-17T23:21:20.807Z] nexus3.edgexfoundry.org:10003 [2021-05-17T23:21:21.081Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:21:21.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:21:21.357Z] Configure a credential helper to remove this warning. See [2021-05-17T23:21:21.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:21:21.357Z] [2021-05-17T23:21:21.357Z] Login Succeeded [2021-05-17T23:21:21.357Z] nexus3.edgexfoundry.org:10004 [2021-05-17T23:21:21.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:21:21.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:21:21.905Z] Configure a credential helper to remove this warning. See [2021-05-17T23:21:21.905Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:21:21.905Z] [2021-05-17T23:21:21.905Z] Login Succeeded [2021-05-17T23:21:21.905Z] docker.io [2021-05-17T23:21:22.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:21:22.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:21:22.779Z] Configure a credential helper to remove this warning. See [2021-05-17T23:21:22.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:21:22.779Z] [2021-05-17T23:21:22.779Z] Login Succeeded [2021-05-17T23:21:22.779Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T23:21:22.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T23:21:23.409Z] ========================================================= [2021-05-17T23:21:23.409Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-05-17T23:21:23.409Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T23:21:23.812Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . [2021-05-17T23:21:24.088Z] Sending build context to Docker daemon 616.4kB [2021-05-17T23:21:24.362Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T23:21:24.362Z] Step 2/8 : FROM ${BASE} [2021-05-17T23:21:24.362Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-05-17T23:21:24.362Z] 595b0fe564bb: Pulling fs layer [2021-05-17T23:21:24.362Z] 7186ed65a4f7: Pulling fs layer [2021-05-17T23:21:24.362Z] 316046926c0a: Pulling fs layer [2021-05-17T23:21:24.362Z] 4ebd0625c992: Pulling fs layer [2021-05-17T23:21:24.362Z] 207e8628e3a3: Pulling fs layer [2021-05-17T23:21:24.362Z] c791037a9be2: Pulling fs layer [2021-05-17T23:21:24.362Z] ffd874e62e21: Pulling fs layer [2021-05-17T23:21:24.362Z] 4ebd0625c992: Waiting [2021-05-17T23:21:24.362Z] 207e8628e3a3: Waiting [2021-05-17T23:21:24.362Z] c791037a9be2: Waiting [2021-05-17T23:21:24.362Z] 316046926c0a: Verifying Checksum [2021-05-17T23:21:24.362Z] 316046926c0a: Download complete [2021-05-17T23:21:24.362Z] 7186ed65a4f7: Download complete [2021-05-17T23:21:24.637Z] 207e8628e3a3: Verifying Checksum [2021-05-17T23:21:24.637Z] 207e8628e3a3: Download complete [2021-05-17T23:21:24.637Z] c791037a9be2: Download complete [2021-05-17T23:21:24.637Z] 595b0fe564bb: Verifying Checksum [2021-05-17T23:21:24.637Z] 595b0fe564bb: Download complete [2021-05-17T23:21:25.238Z] 595b0fe564bb: Pull complete [2021-05-17T23:21:25.839Z] 7186ed65a4f7: Pull complete [2021-05-17T23:21:26.442Z] 316046926c0a: Pull complete [2021-05-17T23:21:26.719Z] ffd874e62e21: Verifying Checksum [2021-05-17T23:21:26.719Z] ffd874e62e21: Download complete [2021-05-17T23:21:28.165Z] 4ebd0625c992: Verifying Checksum [2021-05-17T23:21:28.165Z] 4ebd0625c992: Download complete [2021-05-17T23:21:38.353Z] 4ebd0625c992: Pull complete [2021-05-17T23:21:38.950Z] 207e8628e3a3: Pull complete [2021-05-17T23:21:39.242Z] c791037a9be2: Pull complete [2021-05-17T23:21:43.569Z] ffd874e62e21: Pull complete [2021-05-17T23:21:43.569Z] Digest: sha256:fad7b58e697bd06bcf362d803a3263ca5ec03b905aa8665231fe3262941fe3e0 [2021-05-17T23:21:43.569Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-05-17T23:21:43.569Z] ---> cfc18b08335c [2021-05-17T23:21:43.569Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-17T23:21:45.001Z] ---> Running in 965dc6b8e120 [2021-05-17T23:21:45.595Z] Removing intermediate container 965dc6b8e120 [2021-05-17T23:21:45.595Z] ---> 051e721e45b9 [2021-05-17T23:21:45.595Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T23:21:45.595Z] ---> Running in cd5e15315fbd [2021-05-17T23:21:48.224Z] Removing intermediate container cd5e15315fbd [2021-05-17T23:21:48.224Z] ---> 76621e62c0c4 [2021-05-17T23:21:48.224Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-17T23:21:48.224Z] ---> Running in 7e73b9b8e508 [2021-05-17T23:21:49.207Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-05-17T23:21:50.186Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-05-17T23:21:51.163Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-17T23:21:51.163Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-17T23:21:51.163Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-17T23:21:51.163Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-17T23:21:51.437Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-17T23:21:51.437Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-17T23:21:51.752Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-17T23:21:52.022Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-17T23:21:52.022Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-17T23:21:52.296Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-17T23:21:52.296Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-17T23:21:52.296Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-17T23:21:52.573Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-17T23:21:52.573Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T23:21:52.573Z] OK: 145 MiB in 53 packages [2021-05-17T23:21:54.021Z] Removing intermediate container 7e73b9b8e508 [2021-05-17T23:21:54.022Z] ---> 78f78a431a77 [2021-05-17T23:21:54.022Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-17T23:21:54.022Z] ---> Running in f1f31a685fd2 [2021-05-17T23:21:54.619Z] Removing intermediate container f1f31a685fd2 [2021-05-17T23:21:54.619Z] ---> 9dfbb216debf [2021-05-17T23:21:54.619Z] Step 7/8 : COPY . . [2021-05-17T23:21:55.607Z] ---> 0c28d7b4ff6b [2021-05-17T23:21:55.607Z] Step 8/8 : RUN go mod download [2021-05-17T23:21:55.607Z] ---> Running in a07713690983 [2021-05-17T23:21:57.610Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.58 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2021-05-17T23:21:58.209Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:21:59.677Z] ---> job-cost.sh [2021-05-17T23:21:59.677Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-gFcM [2021-05-17T23:22:38.656Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T23:24:00.411Z] lf-activate-venv(): INFO: Adding /tmp/venv-gFcM/bin to PATH [2021-05-17T23:24:00.411Z] INFO: No Stack... [2021-05-17T23:24:00.411Z] INFO: Retrieving Pricing Info for: v2-standard-4 [2021-05-17T23:24:00.411Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T23:24:00.786Z] + cut -d,+ -f6 [2021-05-17T23:24:00.786Z] cat /w/workspace/device-modbus-go/1/archives/cost.csv [Pipeline] lock [2021-05-17T23:24:00.870Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-245-1-stack-cost] [2021-05-17T23:24:00.877Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-245-1-stack-cost] did not exist. Created. [2021-05-17T23:24:00.877Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T23:24:01.333Z] + echo total: 0.18000000715255737 [Pipeline] stash [2021-05-17T23:24:02.013Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T23:24:02.038Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-17T23:24:02.624Z] Failed in branch arm64 [2021-05-17T23:25:34.557Z] Running on prd-centos7-docker-4c-2g-1090 in /w/workspace/xfoundry_device-modbus-go_PR-245 [Pipeline] { [Pipeline] ws [2021-05-17T23:25:34.616Z] Running in /w/workspace/device-modbus-go/1 [Pipeline] { [Pipeline] checkout [2021-05-17T23:25:34.777Z] Selected Git installation does not exist. Using Default [2021-05-17T23:25:34.777Z] The recommended git tool is: NONE [2021-05-17T23:25:37.322Z] using credential edgex-jenkins-ssh [2021-05-17T23:25:37.339Z] Cloning the remote Git repository [2021-05-17T23:25:37.364Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2021-05-17T23:25:37.440Z] > git init /w/workspace/device-modbus-go/1 # timeout=10 [2021-05-17T23:25:37.470Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-17T23:25:37.470Z] > git --version # timeout=10 [2021-05-17T23:25:37.479Z] > git --version # 'git version 2.24.4' [2021-05-17T23:25:37.480Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T23:25:37.515Z] [INFO] Currently running in a labeled security context [2021-05-17T23:25:37.515Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T23:25:37.515Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh1939919142771586567.key [2021-05-17T23:25:37.537Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T23:25:38.933Z] Merging remotes/origin/master commit 0f1f12442b5a26a09c65592d000175cd200ff215 into PR head commit 8b1c72fcee9bd0642df98d995bae8e8b852d2991 [2021-05-17T23:25:39.026Z] Merge succeeded, producing 8b1c72fcee9bd0642df98d995bae8e8b852d2991 [2021-05-17T23:25:39.027Z] Checking out Revision 8b1c72fcee9bd0642df98d995bae8e8b852d2991 (PR-245) [2021-05-17T23:25:38.457Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-17T23:25:38.469Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-05-17T23:25:38.481Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2021-05-17T23:25:38.493Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2021-05-17T23:25:38.493Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T23:25:38.494Z] [INFO] Currently running in a labeled security context [2021-05-17T23:25:38.494Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T23:25:38.494Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh5057060373256960195.key [2021-05-17T23:25:38.500Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/master:refs/remotes/origin/master # timeout=10 [2021-05-17T23:25:38.942Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T23:25:38.950Z] > git checkout -f 8b1c72fcee9bd0642df98d995bae8e8b852d2991 # timeout=10 [2021-05-17T23:25:38.985Z] > git remote # timeout=10 [2021-05-17T23:25:38.992Z] > git config --get remote.origin.url # timeout=10 [2021-05-17T23:25:39.001Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-05-17T23:25:39.002Z] [INFO] Currently running in a labeled security context [2021-05-17T23:25:39.002Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-05-17T23:25:39.002Z] > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-modbus-go/1@tmp/jenkins-gitclient-ssh104224269868972373.key [2021-05-17T23:25:39.009Z] > git merge 0f1f12442b5a26a09c65592d000175cd200ff215 # timeout=10 [2021-05-17T23:25:39.019Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-05-17T23:25:39.029Z] > git config core.sparsecheckout # timeout=10 [2021-05-17T23:25:39.036Z] > git checkout -f 8b1c72fcee9bd0642df98d995bae8e8b852d2991 # timeout=10 [2021-05-17T23:25:42.666Z] Commit message: "refactor: Update for new service key names and overrides for hyphen to underscore" [2021-05-17T23:25:42.690Z] > git --version # timeout=10 [2021-05-17T23:25:42.698Z] > git --version # 'git version 2.24.4' [2021-05-17T23:25:42.706Z] fatal: bad object 9d0281235b943b7ad605f650702698f9078b2862 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-05-17T23:25:43.890Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh [2021-05-17T23:25:44.233Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2021-05-17T23:25:44.552Z] + true [2021-05-17T23:25:44.553Z] + sudo service docker restart [2021-05-17T23:25:44.553Z] Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T23:26:02.853Z] provisioning config files... [2021-05-17T23:26:02.871Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/1@tmp/config3374743294377238702tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:26:03.255Z] ---> docker-login.sh [2021-05-17T23:26:03.255Z] nexus3.edgexfoundry.org:10001 [2021-05-17T23:26:03.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:26:03.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:26:03.517Z] Configure a credential helper to remove this warning. See [2021-05-17T23:26:03.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:26:03.517Z] [2021-05-17T23:26:03.517Z] Login Succeeded [2021-05-17T23:26:03.517Z] nexus3.edgexfoundry.org:10002 [2021-05-17T23:26:03.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:26:03.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:26:03.782Z] Configure a credential helper to remove this warning. See [2021-05-17T23:26:03.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:26:03.782Z] [2021-05-17T23:26:03.782Z] Login Succeeded [2021-05-17T23:26:03.782Z] nexus3.edgexfoundry.org:10003 [2021-05-17T23:26:03.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:26:03.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:26:03.782Z] Configure a credential helper to remove this warning. See [2021-05-17T23:26:03.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:26:03.782Z] [2021-05-17T23:26:03.782Z] Login Succeeded [2021-05-17T23:26:03.782Z] nexus3.edgexfoundry.org:10004 [2021-05-17T23:26:03.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:26:04.042Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:26:04.042Z] Configure a credential helper to remove this warning. See [2021-05-17T23:26:04.042Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:26:04.042Z] [2021-05-17T23:26:04.042Z] Login Succeeded [2021-05-17T23:26:04.042Z] docker.io [2021-05-17T23:26:04.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-05-17T23:26:04.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-05-17T23:26:04.304Z] Configure a credential helper to remove this warning. See [2021-05-17T23:26:04.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-05-17T23:26:04.304Z] [2021-05-17T23:26:04.304Z] Login Succeeded [2021-05-17T23:26:04.304Z] ---> docker-login.sh ends [Pipeline] } [2021-05-17T23:26:04.334Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-05-17T23:26:04.608Z] ========================================================= [2021-05-17T23:26:04.608Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-05-17T23:26:04.608Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2021-05-17T23:26:04.950Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . [2021-05-17T23:26:04.950Z] Sending build context to Docker daemon 617.5kB [2021-05-17T23:26:04.950Z] Step 1/8 : ARG BASE=golang:1.16-alpine3.12 [2021-05-17T23:26:04.950Z] Step 2/8 : FROM ${BASE} [2021-05-17T23:26:04.950Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-05-17T23:26:04.950Z] 540db60ca938: Pulling fs layer [2021-05-17T23:26:04.950Z] adcc1eea9eea: Pulling fs layer [2021-05-17T23:26:04.950Z] 4c4ab2625f07: Pulling fs layer [2021-05-17T23:26:04.950Z] 0510c868ecb4: Pulling fs layer [2021-05-17T23:26:04.950Z] afea3b2eda06: Pulling fs layer [2021-05-17T23:26:04.950Z] 7809a108b3ef: Pulling fs layer [2021-05-17T23:26:04.950Z] f706445af74f: Pulling fs layer [2021-05-17T23:26:04.950Z] 0510c868ecb4: Waiting [2021-05-17T23:26:04.950Z] afea3b2eda06: Waiting [2021-05-17T23:26:04.950Z] 7809a108b3ef: Waiting [2021-05-17T23:26:04.950Z] f706445af74f: Waiting [2021-05-17T23:26:05.212Z] 4c4ab2625f07: Verifying Checksum [2021-05-17T23:26:05.212Z] 4c4ab2625f07: Download complete [2021-05-17T23:26:05.212Z] adcc1eea9eea: Verifying Checksum [2021-05-17T23:26:05.212Z] adcc1eea9eea: Download complete [2021-05-17T23:26:05.212Z] afea3b2eda06: Verifying Checksum [2021-05-17T23:26:05.212Z] afea3b2eda06: Download complete [2021-05-17T23:26:05.212Z] 7809a108b3ef: Verifying Checksum [2021-05-17T23:26:05.212Z] 7809a108b3ef: Download complete [2021-05-17T23:26:05.212Z] 540db60ca938: Verifying Checksum [2021-05-17T23:26:05.212Z] 540db60ca938: Download complete [2021-05-17T23:26:05.483Z] 540db60ca938: Pull complete [2021-05-17T23:26:05.483Z] adcc1eea9eea: Pull complete [2021-05-17T23:26:05.748Z] 4c4ab2625f07: Pull complete [2021-05-17T23:26:07.142Z] f706445af74f: Verifying Checksum [2021-05-17T23:26:07.142Z] f706445af74f: Download complete [2021-05-17T23:26:07.406Z] 0510c868ecb4: Verifying Checksum [2021-05-17T23:26:07.406Z] 0510c868ecb4: Download complete [2021-05-17T23:26:11.649Z] 0510c868ecb4: Pull complete [2021-05-17T23:26:11.649Z] afea3b2eda06: Pull complete [2021-05-17T23:26:11.649Z] 7809a108b3ef: Pull complete [2021-05-17T23:26:12.606Z] f706445af74f: Pull complete [2021-05-17T23:26:12.872Z] Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 [2021-05-17T23:26:12.872Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-05-17T23:26:12.872Z] ---> b068be0155e3 [2021-05-17T23:26:12.872Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' [2021-05-17T23:26:14.793Z] ---> Running in 4a97ae84b307 [2021-05-17T23:26:15.063Z] Removing intermediate container 4a97ae84b307 [2021-05-17T23:26:15.063Z] ---> 7ab1d65c8a8f [2021-05-17T23:26:15.063Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-05-17T23:26:15.063Z] ---> Running in 7d8a6d125be2 [2021-05-17T23:26:15.638Z] Removing intermediate container 7d8a6d125be2 [2021-05-17T23:26:15.638Z] ---> ea306a4a4ef1 [2021-05-17T23:26:15.638Z] Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2021-05-17T23:26:15.638Z] ---> Running in ea93bdcc21d3 [2021-05-17T23:26:15.904Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-05-17T23:26:16.850Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-05-17T23:26:17.429Z] (1/13) Installing libc-dev (0.7.2-r3) [2021-05-17T23:26:17.429Z] (2/13) Installing libsodium (1.0.18-r0) [2021-05-17T23:26:17.429Z] (3/13) Installing pkgconf (1.7.3-r0) [2021-05-17T23:26:17.429Z] (4/13) Installing libsodium-dev (1.0.18-r0) [2021-05-17T23:26:17.692Z] (5/13) Installing openssh-keygen (8.4_p1-r3) [2021-05-17T23:26:17.692Z] (6/13) Installing libedit (20191231.3.1-r1) [2021-05-17T23:26:17.692Z] (7/13) Installing openssh-client (8.4_p1-r3) [2021-05-17T23:26:17.952Z] (8/13) Installing openssh-sftp-server (8.4_p1-r3) [2021-05-17T23:26:18.215Z] (9/13) Installing openssh-server-common (8.4_p1-r3) [2021-05-17T23:26:18.215Z] (10/13) Installing openssh-server (8.4_p1-r3) [2021-05-17T23:26:18.215Z] (11/13) Installing openssh (8.4_p1-r3) [2021-05-17T23:26:18.478Z] (12/13) Installing libzmq (4.3.3-r1) [2021-05-17T23:26:18.478Z] (13/13) Installing zeromq-dev (4.3.3-r1) [2021-05-17T23:26:18.478Z] Executing busybox-1.32.1-r6.trigger [2021-05-17T23:26:18.743Z] OK: 156 MiB in 53 packages [2021-05-17T23:26:19.005Z] Removing intermediate container ea93bdcc21d3 [2021-05-17T23:26:19.005Z] ---> 5c19fb1fca85 [2021-05-17T23:26:19.005Z] Step 6/8 : WORKDIR /device-modbus-go [2021-05-17T23:26:19.005Z] ---> Running in c65e75f404d3 [2021-05-17T23:26:19.269Z] Removing intermediate container c65e75f404d3 [2021-05-17T23:26:19.269Z] ---> dcde1176824e [2021-05-17T23:26:19.269Z] Step 7/8 : COPY . . [2021-05-17T23:26:19.532Z] ---> 39d0fd6c3a0f [2021-05-17T23:26:19.532Z] Step 8/8 : RUN go mod download [2021-05-17T23:26:19.532Z] ---> Running in 1b9af5d2725a [2021-05-17T23:26:20.480Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.0-dev.58 (replaced by ../../device-sdk-go): reading /device-sdk-go/go.mod: open /device-sdk-go/go.mod: no such file or directory [2021-05-17T23:26:20.742Z] The command '/bin/sh -c go mod download' returned a non-zero code: 1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:26:22.164Z] ---> job-cost.sh [2021-05-17T23:26:22.164Z] lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-a8la [2021-05-17T23:26:32.193Z] lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient [2021-05-17T23:26:47.147Z] lf-activate-venv(): INFO: Adding /tmp/venv-a8la/bin to PATH [2021-05-17T23:26:47.147Z] INFO: No Stack... [2021-05-17T23:26:48.092Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-17T23:26:48.663Z] INFO: Archiving Costs [Pipeline] sh [2021-05-17T23:26:48.987Z] + cat /w/workspace/device-modbus-go/1/archives/cost.csv [2021-05-17T23:26:48.988Z] + cut -d, -f6 [Pipeline] lock [2021-05-17T23:26:49.046Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-PR-245-1-stack-cost] [2021-05-17T23:26:49.052Z] Resource [jenkins-edgexfoundry-device-modbus-go-PR-245-1-stack-cost] did not exist. Created. [2021-05-17T23:26:49.053Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-05-17T23:26:49.475Z] /w/workspace/device-modbus-go/1@tmp/durable-91a3b305/script.sh: line 1: unexpected EOF while looking for matching `'' [Pipeline] sh [2021-05-17T23:26:49.804Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-05-17T23:26:49.850Z] Warning: overwriting stash ‘stack-cost’ [2021-05-17T23:26:50.045Z] Stashed 1 file(s) [Pipeline] } [2021-05-17T23:26:50.066Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-05-17T23:26:50.662Z] Failed in branch amd64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:26:53.366Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:26:54.223Z] ---> package-listing.sh [2021-05-17T23:26:54.223Z] ++ facter osfamily [2021-05-17T23:26:54.223Z] ++ tr '[:upper:]' '[:lower:]' [2021-05-17T23:26:54.223Z] + OS_FAMILY=redhat [2021-05-17T23:26:54.223Z] + workspace=/w/workspace/xfoundry_device-modbus-go_PR-245 [2021-05-17T23:26:54.223Z] + START_PACKAGES=/tmp/packages_start.txt [2021-05-17T23:26:54.223Z] + END_PACKAGES=/tmp/packages_end.txt [2021-05-17T23:26:54.223Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-05-17T23:26:54.223Z] + PACKAGES=/tmp/packages_start.txt [2021-05-17T23:26:54.223Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-245 ']' [2021-05-17T23:26:54.223Z] + PACKAGES=/tmp/packages_end.txt [2021-05-17T23:26:54.223Z] + case "${OS_FAMILY}" in [2021-05-17T23:26:54.223Z] + rpm -qa [2021-05-17T23:26:54.223Z] + sort [2021-05-17T23:26:54.796Z] + '[' -f /tmp/packages_start.txt ']' [2021-05-17T23:26:54.796Z] + '[' -f /tmp/packages_end.txt ']' [2021-05-17T23:26:54.796Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-05-17T23:26:54.796Z] + '[' /w/workspace/xfoundry_device-modbus-go_PR-245 ']' [2021-05-17T23:26:54.796Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_PR-245/archives/ [2021-05-17T23:26:54.796Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_PR-245/archives/ [Pipeline] echo [2021-05-17T23:26:54.830Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-05-17T23:26:55.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-05-17T23:26:55.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T23:26:55.738Z] [2021-05-17T23:26:55.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2021-05-17T23:26:56.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T23:26:56.082Z] alpine: Pulling from edgex-lftools-log-publisher [2021-05-17T23:26:56.082Z] df20fa9351a1: Pulling fs layer [2021-05-17T23:26:56.082Z] 36b3adc4ff6f: Pulling fs layer [2021-05-17T23:26:56.082Z] 8ad3a11d3b57: Pulling fs layer [2021-05-17T23:26:56.082Z] 46f8f816bc3b: Pulling fs layer [2021-05-17T23:26:56.082Z] 93b61091891f: Pulling fs layer [2021-05-17T23:26:56.082Z] 93b9cdb0e59b: Pulling fs layer [2021-05-17T23:26:56.082Z] 5e14af77c1be: Pulling fs layer [2021-05-17T23:26:56.082Z] 01666e4c0597: Pulling fs layer [2021-05-17T23:26:56.082Z] aa168da1d23b: Pulling fs layer [2021-05-17T23:26:56.082Z] 93b9cdb0e59b: Waiting [2021-05-17T23:26:56.082Z] 46f8f816bc3b: Waiting [2021-05-17T23:26:56.082Z] 5e14af77c1be: Waiting [2021-05-17T23:26:56.082Z] 93b61091891f: Waiting [2021-05-17T23:26:56.082Z] 01666e4c0597: Waiting [2021-05-17T23:26:56.082Z] aa168da1d23b: Waiting [2021-05-17T23:26:56.082Z] 36b3adc4ff6f: Verifying Checksum [2021-05-17T23:26:56.082Z] 36b3adc4ff6f: Download complete [2021-05-17T23:26:56.347Z] 46f8f816bc3b: Verifying Checksum [2021-05-17T23:26:56.347Z] 46f8f816bc3b: Download complete [2021-05-17T23:26:56.347Z] df20fa9351a1: Download complete [2021-05-17T23:26:56.347Z] 93b9cdb0e59b: Verifying Checksum [2021-05-17T23:26:56.347Z] 93b9cdb0e59b: Download complete [2021-05-17T23:26:56.347Z] 5e14af77c1be: Verifying Checksum [2021-05-17T23:26:56.347Z] 5e14af77c1be: Download complete [2021-05-17T23:26:56.347Z] 93b61091891f: Verifying Checksum [2021-05-17T23:26:56.347Z] 93b61091891f: Download complete [2021-05-17T23:26:56.347Z] 01666e4c0597: Verifying Checksum [2021-05-17T23:26:56.347Z] 01666e4c0597: Download complete [2021-05-17T23:26:56.347Z] 8ad3a11d3b57: Verifying Checksum [2021-05-17T23:26:56.347Z] 8ad3a11d3b57: Download complete [2021-05-17T23:26:56.612Z] df20fa9351a1: Pull complete [2021-05-17T23:26:56.612Z] 36b3adc4ff6f: Pull complete [2021-05-17T23:26:57.194Z] 8ad3a11d3b57: Pull complete [2021-05-17T23:26:57.195Z] 46f8f816bc3b: Pull complete [2021-05-17T23:26:57.457Z] 93b61091891f: Pull complete [2021-05-17T23:26:57.727Z] 93b9cdb0e59b: Pull complete [2021-05-17T23:26:57.727Z] 5e14af77c1be: Pull complete [2021-05-17T23:26:57.727Z] 01666e4c0597: Pull complete [2021-05-17T23:26:58.298Z] aa168da1d23b: Verifying Checksum [2021-05-17T23:26:58.298Z] aa168da1d23b: Download complete [2021-05-17T23:27:04.937Z] aa168da1d23b: Pull complete [2021-05-17T23:27:04.937Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2021-05-17T23:27:04.937Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2021-05-17T23:27:04.937Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2021-05-17T23:27:05.040Z] prd-centos7-docker-4c-2g-1089 does not seem to be running inside a container [2021-05-17T23:27:05.099Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/xfoundry_device-modbus-go_PR-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-modbus-go_PR-245 -v /w/workspace/xfoundry_device-modbus-go_PR-245:/w/workspace/xfoundry_device-modbus-go_PR-245:rw,z -v /w/workspace/xfoundry_device-modbus-go_PR-245@tmp:/w/workspace/xfoundry_device-modbus-go_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2021-05-17T23:27:33.637Z] $ docker top 0bd226da76eca3e30401599626542fd9a415ccc6a2e038818f8edf9793a79eb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-05-17T23:27:34.089Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-05-17T23:27:34.485Z] + mkdir -p /var/log/sa [Pipeline] sh [2021-05-17T23:27:34.800Z] + ls /var/log/sa-host [2021-05-17T23:27:34.801Z] + sadf -c /var/log/sa-host/sa05 [2021-05-17T23:27:34.801Z] file_magic: OK [2021-05-17T23:27:34.801Z] HZ: Using current value: 100 [2021-05-17T23:27:34.801Z] file_header: OK [2021-05-17T23:27:34.801Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-17T23:27:34.801Z] Statistics: [2021-05-17T23:27:34.801Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-17T23:27:34.801Z] File successfully converted to sysstat format version 12.2.1 [2021-05-17T23:27:34.801Z] + sadf -c /var/log/sa-host/sa17 [2021-05-17T23:27:34.801Z] file_magic: OK [2021-05-17T23:27:34.801Z] HZ: Using current value: 100 [2021-05-17T23:27:34.801Z] file_header: OK [2021-05-17T23:27:34.801Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-05-17T23:27:34.801Z] Statistics: [2021-05-17T23:27:34.801Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-05-17T23:27:34.801Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-05-17T23:27:35.054Z] provisioning config files... [2021-05-17T23:27:35.066Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_PR-245@tmp/config4951185158201419306tmp [Pipeline] { [Pipeline] echo [2021-05-17T23:27:35.129Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:27:35.462Z] ---> create-netrc.sh [Pipeline] } [2021-05-17T23:27:35.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2021-05-17T23:27:35.571Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:27:35.902Z] ---> python-tools-install.sh [Pipeline] echo [2021-05-17T23:27:35.936Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:27:36.318Z] ---> sudo-logs.sh [2021-05-17T23:27:36.318Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2021-05-17T23:27:36.433Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:27:36.771Z] ---> job-cost.sh [2021-05-17T23:27:36.771Z] lf-activate-venv: SKIPPING [2021-05-17T23:27:36.771Z] DEBUG: total: 0.05999999865889549 [2021-05-17T23:27:36.771Z] INFO: Retrieving Stack Cost... [2021-05-17T23:27:38.687Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-05-17T23:27:38.947Z] INFO: Archiving Costs [Pipeline] echo [2021-05-17T23:27:38.980Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-05-17T23:27:39.336Z] ---> logs-deploy.sh [2021-05-17T23:27:39.336Z] lf-activate-venv: SKIPPING [2021-05-17T23:27:39.336Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/PR-245/1 [2021-05-17T23:27:39.336Z] INFO: archiving workspace using pattern(s): [2021-05-17T23:27:40.294Z] Archives upload complete. [2021-05-17T23:27:40.294Z] INFO: archiving logs to Nexus