Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from bdc2bf18299f50048bed412b56382a4832083ebb Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 025b6483f761633eb525fab7d6a8b6537d6ee4a4 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 025b6483f761633eb525fab7d6a8b6537d6ee4a4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 025b6483f761633eb525fab7d6a8b6537d6ee4a4 # timeout=10 Commit message: "Merge pull request #264 from ernestojeda/new-snap-build-script" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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-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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-modbus-go 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 SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task ‘prd-centos7-docker-4c-2g-15393’ is offline Running on prd-centos7-docker-4c-2g-15394 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout 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_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision bdc2bf18299f50048bed412b56382a4832083ebb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 Commit message: "Merge pull request #198 from siggiskulason/feat-snap-add-startup-config" > git rev-list --no-walk 1382852b285b5e2bd91d034a86bf10f1b4c73ac1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2020-12-10T15:42:17.490Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2020-12-10T15:42:17.759Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2020-12-10T15:42:17.870Z] ========================================================= [2020-12-10T15:42:17.870Z] EdgeX Global Pipelines Version Info [2020-12-10T15:42:17.870Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:42:19.335Z] ------------------- [2020-12-10T15:42:19.336Z] stable info: [2020-12-10T15:42:19.336Z] ------------------- [2020-12-10T15:42:19.336Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-10T15:42:19.336Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-10T15:42:19.336Z] Message: update stable to v1.0.172 [2020-12-10T15:42:20.283Z] ------------------- [2020-12-10T15:42:20.283Z] experimental info: [2020-12-10T15:42:20.283Z] ------------------- [2020-12-10T15:42:20.283Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2020-12-10T15:42:20.283Z] Commit SHA: 025b6483f761633eb525fab7d6a8b6537d6ee4a4 [2020-12-10T15:42:20.283Z] Message: update experimental to v1.0.172 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2020-12-10T15:42:20.656Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2020-12-10T15:42:20.753Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2020-12-10T15:42:20.846Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2020-12-10T15:42:20.966Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2020-12-10T15:42:21.081Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2020-12-10T15:42:21.177Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo [2020-12-10T15:42:21.270Z] [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo [2020-12-10T15:42:21.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo [2020-12-10T15:42:21.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2020-12-10T15:42:21.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2020-12-10T15:42:21.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2020-12-10T15:42:21.848Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-modbus-go [Pipeline] echo [2020-12-10T15:42:21.945Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2020-12-10T15:42:22.035Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2020-12-10T15:42:22.128Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2020-12-10T15:42:22.259Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2020-12-10T15:42:22.364Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2020-12-10T15:42:22.467Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2020-12-10T15:42:22.626Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2020-12-10T15:42:22.714Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2020-12-10T15:42:22.989Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2020-12-10T15:42:23.088Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2020-12-10T15:42:23.180Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2020-12-10T15:42:23.303Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2020-12-10T15:42:23.399Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2020-12-10T15:42:23.502Z] [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo [2020-12-10T15:42:23.628Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo [2020-12-10T15:42:23.719Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo [2020-12-10T15:42:23.815Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo [2020-12-10T15:42:23.909Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bdc2bf18299f50048bed412b56382a4832083ebb [Pipeline] echo [2020-12-10T15:42:24.000Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bdc2bf1 [Pipeline] echo [2020-12-10T15:42:24.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-10T15:42:24.287Z] provisioning config files... [2020-12-10T15:42:24.328Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config963984386483049184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:42:24.709Z] ---> docker-login.sh [2020-12-10T15:42:24.709Z] nexus3.edgexfoundry.org:10001 [2020-12-10T15:42:24.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:42:25.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:42:25.234Z] Configure a credential helper to remove this warning. See [2020-12-10T15:42:25.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:42:25.234Z] [2020-12-10T15:42:25.234Z] Login Succeeded [2020-12-10T15:42:25.234Z] nexus3.edgexfoundry.org:10002 [2020-12-10T15:42:25.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:42:25.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:42:25.235Z] Configure a credential helper to remove this warning. See [2020-12-10T15:42:25.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:42:25.235Z] [2020-12-10T15:42:25.235Z] Login Succeeded [2020-12-10T15:42:25.235Z] nexus3.edgexfoundry.org:10003 [2020-12-10T15:42:25.498Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:42:25.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:42:25.498Z] Configure a credential helper to remove this warning. See [2020-12-10T15:42:25.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:42:25.498Z] [2020-12-10T15:42:25.498Z] Login Succeeded [2020-12-10T15:42:25.498Z] nexus3.edgexfoundry.org:10004 [2020-12-10T15:42:25.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:42:25.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:42:25.761Z] Configure a credential helper to remove this warning. See [2020-12-10T15:42:25.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:42:25.761Z] [2020-12-10T15:42:25.761Z] Login Succeeded [2020-12-10T15:42:25.761Z] docker.io [2020-12-10T15:42:25.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:42:26.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:42:26.025Z] Configure a credential helper to remove this warning. See [2020-12-10T15:42:26.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:42:26.025Z] [2020-12-10T15:42:26.025Z] Login Succeeded [2020-12-10T15:42:26.025Z] ---> docker-login.sh ends [Pipeline] } [2020-12-10T15:42:26.037Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-10T15:42:27.131Z] + git log --format=format:%s -1 bdc2bf18299f50048bed412b56382a4832083ebb [Pipeline] echo [2020-12-10T15:42:27.197Z] GIT_COMMIT: bdc2bf18299f50048bed412b56382a4832083ebb, Commit Message: Merge pull request #198 from siggiskulason/feat-snap-add-startup-config [Pipeline] echo [2020-12-10T15:42:27.247Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:42:27.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T15:42:27.971Z] [2020-12-10T15:42:27.971Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:42:28.327Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T15:42:28.327Z] latest: Pulling from edgex-devops/git-semver [2020-12-10T15:42:28.327Z] 31603596830f: Pulling fs layer [2020-12-10T15:42:28.327Z] 2a8b12db71e7: Pulling fs layer [2020-12-10T15:42:28.327Z] 6ca5941a6612: Pulling fs layer [2020-12-10T15:42:28.327Z] ecc8261a40a4: Pulling fs layer [2020-12-10T15:42:28.327Z] ecc8261a40a4: Waiting [2020-12-10T15:42:28.327Z] 2a8b12db71e7: Verifying Checksum [2020-12-10T15:42:28.327Z] 2a8b12db71e7: Download complete [2020-12-10T15:42:28.327Z] 31603596830f: Verifying Checksum [2020-12-10T15:42:28.327Z] 31603596830f: Download complete [2020-12-10T15:42:28.592Z] ecc8261a40a4: Verifying Checksum [2020-12-10T15:42:28.592Z] 6ca5941a6612: Verifying Checksum [2020-12-10T15:42:28.592Z] 6ca5941a6612: Download complete [2020-12-10T15:42:28.855Z] 31603596830f: Pull complete [2020-12-10T15:42:28.855Z] 2a8b12db71e7: Pull complete [2020-12-10T15:42:29.805Z] 6ca5941a6612: Pull complete [2020-12-10T15:42:30.067Z] ecc8261a40a4: Pull complete [2020-12-10T15:42:30.067Z] Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 [2020-12-10T15:42:30.067Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T15:42:30.067Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2020-12-10T15:42:30.165Z] prd-centos7-docker-4c-2g-15394 does not seem to be running inside a container [2020-12-10T15:42:30.214Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-10T15:42:32.142Z] $ docker top 6fc5dee8d941935923c03b44ef68110b61eef92f0cb8ea0b19929445631d1da5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-10T15:42:32.432Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-10T15:42:32.433Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-10T15:42:32.636Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-10T15:42:32.642Z] $ docker exec 6fc5dee8d941935923c03b44ef68110b61eef92f0cb8ea0b19929445631d1da5 ssh-agent [2020-12-10T15:42:32.799Z] SSH_AUTH_SOCK=/tmp/ssh-1UaXnLInCls6/agent.12 [2020-12-10T15:42:32.799Z] SSH_AGENT_PID=17 [2020-12-10T15:42:32.809Z] Running ssh-add (command line suppressed) [2020-12-10T15:42:32.927Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7774881483033634718.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_7774881483033634718.key) [2020-12-10T15:42:32.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-10T15:42:33.322Z] + git tag --points-at HEAD [Pipeline] } [2020-12-10T15:42:33.346Z] $ docker exec --env ******** --env ******** 6fc5dee8d941935923c03b44ef68110b61eef92f0cb8ea0b19929445631d1da5 ssh-agent -k [2020-12-10T15:42:33.463Z] unset SSH_AUTH_SOCK; [2020-12-10T15:42:33.463Z] unset SSH_AGENT_PID; [2020-12-10T15:42:33.463Z] echo Agent pid 17 killed; [2020-12-10T15:42:33.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2020-12-10T15:42:33.696Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-10T15:42:33.696Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-10T15:42:33.858Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-10T15:42:33.864Z] $ docker exec 6fc5dee8d941935923c03b44ef68110b61eef92f0cb8ea0b19929445631d1da5 ssh-agent [2020-12-10T15:42:34.024Z] SSH_AUTH_SOCK=/tmp/ssh-8LZz1B1gQx7G/agent.46 [2020-12-10T15:42:34.024Z] SSH_AGENT_PID=52 [2020-12-10T15:42:34.031Z] Running ssh-add (command line suppressed) [2020-12-10T15:42:34.150Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1895754751218611332.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_1895754751218611332.key) [2020-12-10T15:42:34.209Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-10T15:42:34.547Z] + git semver init [2020-12-10T15:42:34.547Z] # -> Open(): unable to determine branch for HEAD [2020-12-10T15:42:34.547Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-12-10T15:42:34.547Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-12-10T15:42:34.547Z] # $SEMVER_REMOTE_NAME = origin [2020-12-10T15:42:34.547Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-10T15:42:34.547Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-10T15:42:34.547Z] # $SEMVER_BRANCH = master [2020-12-10T15:42:34.547Z] # $SEMVER_TEMP = /tmp/semver-970478123 [2020-12-10T15:42:34.547Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2020-12-10T15:42:35.122Z] # '/tmp/semver-970478123' -> '/w/workspace/xfoundry_device-modbus-go_master/.semver' [2020-12-10T15:42:35.122Z] # -> Force: false [2020-12-10T15:42:35.122Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2020-12-10T15:42:35.136Z] $ docker exec --env ******** --env ******** 6fc5dee8d941935923c03b44ef68110b61eef92f0cb8ea0b19929445631d1da5 ssh-agent -k [2020-12-10T15:42:35.250Z] unset SSH_AUTH_SOCK; [2020-12-10T15:42:35.250Z] unset SSH_AGENT_PID; [2020-12-10T15:42:35.250Z] echo Agent pid 52 killed; [2020-12-10T15:42:35.293Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-10T15:42:35.765Z] + git semver [Pipeline] } [2020-12-10T15:42:35.784Z] $ docker stop --time=1 6fc5dee8d941935923c03b44ef68110b61eef92f0cb8ea0b19929445631d1da5 [2020-12-10T15:42:37.118Z] $ docker rm -f 6fc5dee8d941935923c03b44ef68110b61eef92f0cb8ea0b19929445631d1da5 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-10T15:42:37.586Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2020-12-10T15:42:37.936Z] Stashed 1 file(s) [Pipeline] echo [2020-12-10T15:42:37.939Z] [edgeXSemver]: initialized semver on version 1.3.1-dev.3 [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 [2020-12-10T15:42:53.465Z] Still waiting to schedule task [2020-12-10T15:42:53.465Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2020-12-10T15:42:53.467Z] Still waiting to schedule task [2020-12-10T15:42:53.468Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2020-12-10T15:44:44.544Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-15395 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2020-12-10T15:44:44.665Z] Running in /w/workspace/device-modbus-go/31 [Pipeline] { [Pipeline] checkout [2020-12-10T15:44:50.099Z] using credential edgex-jenkins-ssh [2020-12-10T15:44:50.159Z] Cloning the remote Git repository [2020-12-10T15:44:50.226Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-10T15:44:50.333Z] > git init /w/workspace/device-modbus-go/31 # timeout=10 [2020-12-10T15:44:50.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-10T15:44:50.414Z] > git --version # timeout=10 [2020-12-10T15:44:50.438Z] > git --version # 'git version 2.17.1' [2020-12-10T15:44:50.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T15:44:50.509Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-10T15:44:52.058Z] Checking out Revision bdc2bf18299f50048bed412b56382a4832083ebb (master) [2020-12-10T15:44:51.382Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-10T15:44:51.405Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-10T15:44:51.449Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-10T15:44:51.503Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-10T15:44:51.504Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T15:44:51.518Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-10T15:44:52.085Z] > git config core.sparsecheckout # timeout=10 [2020-12-10T15:44:52.114Z] > git checkout -f bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 [2020-12-10T15:44:56.637Z] Commit message: "Merge pull request #198 from siggiskulason/feat-snap-add-startup-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-10T15:44:58.320Z] + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [2020-12-10T15:44:58.738Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-10T15:44:59.079Z] + sudo service docker restart [2020-12-10T15:44:59.079Z] + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-10T15:45:01.787Z] provisioning config files... [2020-12-10T15:45:01.837Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/31@tmp/config5817658377546853866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:45:02.344Z] ---> docker-login.sh [2020-12-10T15:45:02.344Z] nexus3.edgexfoundry.org:10001 [2020-12-10T15:45:03.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:03.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:03.601Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:03.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:03.601Z] [2020-12-10T15:45:03.601Z] Login Succeeded [2020-12-10T15:45:03.601Z] nexus3.edgexfoundry.org:10002 [2020-12-10T15:45:03.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:04.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:04.475Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:04.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:04.475Z] [2020-12-10T15:45:04.475Z] Login Succeeded [2020-12-10T15:45:04.475Z] nexus3.edgexfoundry.org:10003 [2020-12-10T15:45:04.751Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:04.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:04.751Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:04.751Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:04.751Z] [2020-12-10T15:45:04.751Z] Login Succeeded [2020-12-10T15:45:04.751Z] nexus3.edgexfoundry.org:10004 [2020-12-10T15:45:05.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:05.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:05.350Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:05.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:05.350Z] [2020-12-10T15:45:05.350Z] Login Succeeded [2020-12-10T15:45:05.350Z] docker.io [2020-12-10T15:45:05.623Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:06.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:06.217Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:06.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:06.217Z] [2020-12-10T15:45:06.217Z] Login Succeeded [2020-12-10T15:45:06.217Z] ---> docker-login.sh ends [Pipeline] } [2020-12-10T15:45:06.237Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-10T15:45:06.693Z] ========================================================= [2020-12-10T15:45:06.693Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] [2020-12-10T15:45:06.693Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:45:07.119Z] + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . [2020-12-10T15:45:07.403Z] Sending build context to Docker daemon 521.7kB [2020-12-10T15:45:07.404Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-10T15:45:07.404Z] Step 2/8 : FROM ${BASE} [2020-12-10T15:45:07.692Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2020-12-10T15:45:07.692Z] 5f621e34cdf4: Pulling fs layer [2020-12-10T15:45:07.692Z] a4357932f1b6: Pulling fs layer [2020-12-10T15:45:07.692Z] 18c013af1878: Pulling fs layer [2020-12-10T15:45:07.692Z] 00ac8860ef70: Pulling fs layer [2020-12-10T15:45:07.692Z] 63d7cb157983: Pulling fs layer [2020-12-10T15:45:07.692Z] b116817d02f9: Pulling fs layer [2020-12-10T15:45:07.692Z] 745a02a5169b: Pulling fs layer [2020-12-10T15:45:07.692Z] 63d7cb157983: Waiting [2020-12-10T15:45:07.692Z] b116817d02f9: Waiting [2020-12-10T15:45:07.692Z] 745a02a5169b: Waiting [2020-12-10T15:45:07.692Z] 00ac8860ef70: Waiting [2020-12-10T15:45:07.692Z] 18c013af1878: Verifying Checksum [2020-12-10T15:45:07.692Z] 18c013af1878: Download complete [2020-12-10T15:45:07.692Z] a4357932f1b6: Verifying Checksum [2020-12-10T15:45:07.692Z] a4357932f1b6: Download complete [2020-12-10T15:45:07.692Z] 63d7cb157983: Download complete [2020-12-10T15:45:07.692Z] b116817d02f9: Verifying Checksum [2020-12-10T15:45:07.692Z] b116817d02f9: Download complete [2020-12-10T15:45:07.692Z] 5f621e34cdf4: Verifying Checksum [2020-12-10T15:45:07.692Z] 5f621e34cdf4: Download complete [2020-12-10T15:45:08.675Z] 5f621e34cdf4: Pull complete [2020-12-10T15:45:08.956Z] a4357932f1b6: Pull complete [2020-12-10T15:45:09.234Z] 18c013af1878: Pull complete [2020-12-10T15:45:10.672Z] 745a02a5169b: Verifying Checksum [2020-12-10T15:45:10.673Z] 745a02a5169b: Download complete [2020-12-10T15:45:12.107Z] 00ac8860ef70: Verifying Checksum [2020-12-10T15:45:12.107Z] 00ac8860ef70: Download complete [2020-12-10T15:45:22.295Z] 00ac8860ef70: Pull complete [2020-12-10T15:45:22.295Z] 63d7cb157983: Pull complete [2020-12-10T15:45:22.570Z] b116817d02f9: Pull complete [2020-12-10T15:45:24.334Z] Running on prd-centos7-docker-4c-2g-15396 in /w/workspace/xfoundry_device-modbus-go_master [Pipeline] { [Pipeline] ws [2020-12-10T15:45:24.399Z] Running in /w/workspace/device-modbus-go/31 [Pipeline] { [Pipeline] checkout [2020-12-10T15:45:26.786Z] using credential edgex-jenkins-ssh [2020-12-10T15:45:26.865Z] Cloning the remote Git repository [2020-12-10T15:45:26.902Z] 745a02a5169b: Pull complete [2020-12-10T15:45:26.903Z] Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 [2020-12-10T15:45:26.903Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine [2020-12-10T15:45:26.903Z] ---> b7e6874047d6 [2020-12-10T15:45:26.903Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-10T15:45:26.363Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2020-12-10T15:45:26.435Z] > git init /w/workspace/device-modbus-go/31 # timeout=10 [2020-12-10T15:45:26.556Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-10T15:45:26.556Z] > git --version # timeout=10 [2020-12-10T15:45:26.622Z] > git --version # 'git version 2.24.3' [2020-12-10T15:45:26.623Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T15:45:26.650Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-10T15:45:28.353Z] Checking out Revision bdc2bf18299f50048bed412b56382a4832083ebb (master) [2020-12-10T15:45:27.403Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-10T15:45:27.408Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2020-12-10T15:45:27.423Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2020-12-10T15:45:27.438Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2020-12-10T15:45:27.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2020-12-10T15:45:27.444Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 [2020-12-10T15:45:27.957Z] > git config core.sparsecheckout # timeout=10 [2020-12-10T15:45:27.963Z] > git checkout -f bdc2bf18299f50048bed412b56382a4832083ebb # timeout=10 [2020-12-10T15:45:29.517Z] ---> Running in 7c6c495e7bce [2020-12-10T15:45:29.517Z] Removing intermediate container 7c6c495e7bce [2020-12-10T15:45:29.517Z] ---> c360956bc070 [2020-12-10T15:45:29.517Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-10T15:45:29.796Z] ---> Running in 2dc9620b88f1 [2020-12-10T15:45:31.712Z] Commit message: "Merge pull request #198 from siggiskulason/feat-snap-add-startup-config" [2020-12-10T15:45:31.792Z] Removing intermediate container 2dc9620b88f1 [2020-12-10T15:45:31.792Z] ---> 8b6341f82189 [2020-12-10T15:45:31.792Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-10T15:45:32.068Z] ---> Running in e770baa040ef [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-10T15:45:33.024Z] + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [2020-12-10T15:45:33.053Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] sh [2020-12-10T15:45:33.353Z] + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh [2020-12-10T15:45:33.649Z] + sudo service docker restart [2020-12-10T15:45:33.649Z] + true [2020-12-10T15:45:33.649Z] Redirecting to /bin/systemctl restart docker.service [2020-12-10T15:45:34.026Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [2020-12-10T15:45:34.619Z] (1/14) Installing libmagic (5.38-r0) [2020-12-10T15:45:34.619Z] (2/14) Installing file (5.38-r0) [Pipeline] wrap [2020-12-10T15:45:34.684Z] provisioning config files... [2020-12-10T15:45:34.712Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/31@tmp/config3001599252044975729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:45:34.891Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-10T15:45:34.891Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-10T15:45:35.074Z] ---> docker-login.sh [2020-12-10T15:45:35.074Z] nexus3.edgexfoundry.org:10001 [2020-12-10T15:45:35.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:35.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:35.338Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:35.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:35.338Z] [2020-12-10T15:45:35.338Z] Login Succeeded [2020-12-10T15:45:35.338Z] nexus3.edgexfoundry.org:10002 [2020-12-10T15:45:35.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:35.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:35.602Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:35.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:35.602Z] [2020-12-10T15:45:35.602Z] Login Succeeded [2020-12-10T15:45:35.602Z] nexus3.edgexfoundry.org:10003 [2020-12-10T15:45:35.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:35.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:35.864Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:35.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:35.864Z] [2020-12-10T15:45:35.864Z] Login Succeeded [2020-12-10T15:45:35.864Z] nexus3.edgexfoundry.org:10004 [2020-12-10T15:45:35.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:35.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:35.864Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:35.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:35.864Z] [2020-12-10T15:45:35.864Z] Login Succeeded [2020-12-10T15:45:36.125Z] docker.io [2020-12-10T15:45:36.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:45:36.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:45:36.391Z] Configure a credential helper to remove this warning. See [2020-12-10T15:45:36.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:45:36.391Z] [2020-12-10T15:45:36.391Z] Login Succeeded [2020-12-10T15:45:36.391Z] ---> docker-login.sh ends [Pipeline] } [2020-12-10T15:45:36.401Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2020-12-10T15:45:36.750Z] ========================================================= [2020-12-10T15:45:36.750Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] [2020-12-10T15:45:36.750Z] ========================================================= [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:45:37.099Z] + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . [2020-12-10T15:45:37.099Z] Sending build context to Docker daemon 522.8kB [2020-12-10T15:45:37.099Z] Step 1/8 : ARG BASE=golang:1.15-alpine [2020-12-10T15:45:37.099Z] Step 2/8 : FROM ${BASE} [2020-12-10T15:45:37.099Z] 1.15-alpine: Pulling from edgex-devops/edgex-golang-base [2020-12-10T15:45:37.099Z] 188c0c94c7c5: Pulling fs layer [2020-12-10T15:45:37.099Z] 0ef7d3d256c8: Pulling fs layer [2020-12-10T15:45:37.099Z] de9db76c5a1d: Pulling fs layer [2020-12-10T15:45:37.099Z] bca2f99d35d6: Pulling fs layer [2020-12-10T15:45:37.099Z] 93359f2a8cfa: Pulling fs layer [2020-12-10T15:45:37.099Z] 7c6f9722023f: Pulling fs layer [2020-12-10T15:45:37.099Z] a35cf1a2eb13: Pulling fs layer [2020-12-10T15:45:37.099Z] 93359f2a8cfa: Waiting [2020-12-10T15:45:37.099Z] 7c6f9722023f: Waiting [2020-12-10T15:45:37.099Z] bca2f99d35d6: Waiting [2020-12-10T15:45:37.099Z] a35cf1a2eb13: Waiting [2020-12-10T15:45:37.366Z] de9db76c5a1d: Verifying Checksum [2020-12-10T15:45:37.366Z] de9db76c5a1d: Download complete [2020-12-10T15:45:37.366Z] 0ef7d3d256c8: Verifying Checksum [2020-12-10T15:45:37.366Z] 0ef7d3d256c8: Download complete [2020-12-10T15:45:37.366Z] 93359f2a8cfa: Verifying Checksum [2020-12-10T15:45:37.366Z] 93359f2a8cfa: Download complete [2020-12-10T15:45:37.366Z] 188c0c94c7c5: Verifying Checksum [2020-12-10T15:45:37.366Z] 188c0c94c7c5: Download complete [2020-12-10T15:45:37.366Z] 7c6f9722023f: Download complete [2020-12-10T15:45:37.635Z] 188c0c94c7c5: Pull complete [2020-12-10T15:45:37.635Z] 0ef7d3d256c8: Pull complete [2020-12-10T15:45:37.898Z] de9db76c5a1d: Pull complete [2020-12-10T15:45:38.848Z] a35cf1a2eb13: Verifying Checksum [2020-12-10T15:45:38.848Z] a35cf1a2eb13: Download complete [2020-12-10T15:45:39.798Z] bca2f99d35d6: Verifying Checksum [2020-12-10T15:45:39.798Z] bca2f99d35d6: Download complete [2020-12-10T15:45:43.146Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-10T15:45:43.146Z] (6/14) Installing patch (2.7.6-r6) [2020-12-10T15:45:43.146Z] (7/14) Installing build-base (0.5-r2) [2020-12-10T15:45:43.146Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-10T15:45:43.147Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-10T15:45:43.147Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-10T15:45:43.418Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-10T15:45:43.688Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-10T15:45:43.688Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-10T15:45:43.967Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-10T15:45:43.967Z] Executing busybox-1.31.1-r19.trigger [2020-12-10T15:45:44.241Z] OK: 221 MiB in 53 packages [2020-12-10T15:45:45.124Z] bca2f99d35d6: Pull complete [2020-12-10T15:45:45.124Z] 93359f2a8cfa: Pull complete [2020-12-10T15:45:45.124Z] 7c6f9722023f: Pull complete [2020-12-10T15:45:48.564Z] Removing intermediate container e770baa040ef [2020-12-10T15:45:48.564Z] ---> 307f334e18c5 [2020-12-10T15:45:48.564Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-10T15:45:48.564Z] ---> Running in fefca6dd8647 [2020-12-10T15:45:48.839Z] Removing intermediate container fefca6dd8647 [2020-12-10T15:45:48.839Z] ---> e467af7833ad [2020-12-10T15:45:48.839Z] Step 7/8 : COPY . . [2020-12-10T15:45:49.836Z] ---> c70d0eadee91 [2020-12-10T15:45:49.836Z] Step 8/8 : RUN go mod download [2020-12-10T15:45:49.836Z] ---> Running in 59e6f6aa7a53 [2020-12-10T15:45:50.458Z] a35cf1a2eb13: Pull complete [2020-12-10T15:45:50.458Z] Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 [2020-12-10T15:45:50.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [2020-12-10T15:45:50.458Z] ---> a62c8e92a672 [2020-12-10T15:45:50.458Z] Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' [2020-12-10T15:45:50.458Z] ---> Running in 3d94aee22d6a [2020-12-10T15:45:50.458Z] Removing intermediate container 3d94aee22d6a [2020-12-10T15:45:50.458Z] ---> ae9773b24b7d [2020-12-10T15:45:50.458Z] Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-10T15:45:50.458Z] ---> Running in a53c836ca575 [2020-12-10T15:45:51.419Z] Removing intermediate container a53c836ca575 [2020-12-10T15:45:51.419Z] ---> 5e1352ce5d05 [2020-12-10T15:45:51.419Z] Step 5/8 : RUN apk add --update --no-cache make git openssh build-base [2020-12-10T15:45:51.682Z] ---> Running in 390161f840c6 [2020-12-10T15:45:52.632Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-10T15:45:53.207Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-10T15:45:54.153Z] (1/14) Installing libmagic (5.38-r0) [2020-12-10T15:45:54.416Z] (2/14) Installing file (5.38-r0) [2020-12-10T15:45:54.416Z] (3/14) Installing libc-dev (0.7.2-r3) [2020-12-10T15:45:54.416Z] (4/14) Installing g++ (9.3.0-r2) [2020-12-10T15:46:06.678Z] (5/14) Installing fortify-headers (1.1-r0) [2020-12-10T15:46:06.678Z] (6/14) Installing patch (2.7.6-r6) [2020-12-10T15:46:06.678Z] (7/14) Installing build-base (0.5-r2) [2020-12-10T15:46:06.940Z] (8/14) Installing openssh-keygen (8.3_p1-r0) [2020-12-10T15:46:06.940Z] (9/14) Installing libedit (20191231.3.1-r0) [2020-12-10T15:46:06.940Z] (10/14) Installing openssh-client (8.3_p1-r0) [2020-12-10T15:46:07.889Z] (11/14) Installing openssh-sftp-server (8.3_p1-r0) [2020-12-10T15:46:07.889Z] (12/14) Installing openssh-server-common (8.3_p1-r0) [2020-12-10T15:46:07.889Z] (13/14) Installing openssh-server (8.3_p1-r0) [2020-12-10T15:46:07.889Z] (14/14) Installing openssh (8.3_p1-r0) [2020-12-10T15:46:08.152Z] Executing busybox-1.31.1-r19.trigger [2020-12-10T15:46:08.152Z] OK: 237 MiB in 53 packages [2020-12-10T15:46:11.550Z] Removing intermediate container 390161f840c6 [2020-12-10T15:46:11.550Z] ---> 226b6f662286 [2020-12-10T15:46:11.550Z] Step 6/8 : WORKDIR /device-modbus-go [2020-12-10T15:46:11.550Z] ---> Running in bacdb46448d3 [2020-12-10T15:46:11.550Z] Removing intermediate container bacdb46448d3 [2020-12-10T15:46:11.550Z] ---> 415870e1ada9 [2020-12-10T15:46:11.550Z] Step 7/8 : COPY . . [2020-12-10T15:46:11.998Z] Removing intermediate container 59e6f6aa7a53 [2020-12-10T15:46:11.998Z] ---> 5d6666e2289d [2020-12-10T15:46:11.998Z] Successfully built 5d6666e2289d [2020-12-10T15:46:11.998Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:46:12.128Z] ---> 11815590be9a [2020-12-10T15:46:12.128Z] Step 8/8 : RUN go mod download [2020-12-10T15:46:12.128Z] ---> Running in b7b802f590df [2020-12-10T15:46:12.358Z] + docker inspect -f . ci-base-image-arm64 [2020-12-10T15:46:12.358Z] . [Pipeline] withDockerContainer [2020-12-10T15:46:12.611Z] prd-ubuntu18.04-docker-arm64-4c-16g-15395 does not seem to be running inside a container [2020-12-10T15:46:12.699Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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 ******** ci-base-image-arm64 cat [2020-12-10T15:46:14.312Z] $ docker top bb5ce3a291df98f19f98320c4ed854699b2d29a1aa8d955aa232fa71900476ff -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T15:46:15.366Z] + go version [2020-12-10T15:46:15.366Z] go version go1.15.5 linux/arm64 [Pipeline] } [2020-12-10T15:46:15.386Z] $ docker stop --time=1 bb5ce3a291df98f19f98320c4ed854699b2d29a1aa8d955aa232fa71900476ff [2020-12-10T15:46:17.297Z] $ docker rm -f bb5ce3a291df98f19f98320c4ed854699b2d29a1aa8d955aa232fa71900476ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:46:18.329Z] + docker inspect -f . ci-base-image-arm64 [2020-12-10T15:46:18.329Z] . [Pipeline] withDockerContainer [2020-12-10T15:46:18.557Z] prd-ubuntu18.04-docker-arm64-4c-16g-15395 does not seem to be running inside a container [2020-12-10T15:46:18.631Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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 ******** ci-base-image-arm64 cat [2020-12-10T15:46:19.927Z] $ docker top 9e9c71a84cc0af386944d0172c536699beae97e7ed7387b04e84c844682ff746 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T15:46:20.962Z] + make test [2020-12-10T15:46:20.962Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-10T15:46:21.952Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-10T15:46:30.289Z] Removing intermediate container b7b802f590df [2020-12-10T15:46:30.290Z] ---> cca00cd20929 [2020-12-10T15:46:30.290Z] Successfully built cca00cd20929 [2020-12-10T15:46:30.290Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:46:30.604Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-10T15:46:30.604Z] . [Pipeline] withDockerContainer [2020-12-10T15:46:30.714Z] prd-centos7-docker-4c-2g-15396 does not seem to be running inside a container [2020-12-10T15:46:30.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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 ******** ci-base-image-x86_64 cat [2020-12-10T15:46:31.480Z] $ docker top 884ed1479187f2478f949a31b660d481e8dfa6069cb52957efcc2626a454bc60 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T15:46:32.015Z] + go version [2020-12-10T15:46:32.015Z] go version go1.15.5 linux/amd64 [Pipeline] } [2020-12-10T15:46:32.032Z] $ docker stop --time=1 884ed1479187f2478f949a31b660d481e8dfa6069cb52957efcc2626a454bc60 [2020-12-10T15:46:33.363Z] $ docker rm -f 884ed1479187f2478f949a31b660d481e8dfa6069cb52957efcc2626a454bc60 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:46:34.297Z] + docker inspect -f . ci-base-image-x86_64 [2020-12-10T15:46:34.297Z] . [Pipeline] withDockerContainer [2020-12-10T15:46:34.395Z] prd-centos7-docker-4c-2g-15396 does not seem to be running inside a container [2020-12-10T15:46:34.451Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/31 -v /w/workspace/device-modbus-go/31:/w/workspace/device-modbus-go/31:rw,z -v /w/workspace/device-modbus-go/31@tmp:/w/workspace/device-modbus-go/31@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 ******** ci-base-image-x86_64 cat [2020-12-10T15:46:35.046Z] $ docker top 3bae9cc799212b00b71a9bb9a030b1d48697705a28aa51dc741ba6b6b1be0fb7 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T15:46:35.582Z] + make test [2020-12-10T15:46:35.582Z] CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out [2020-12-10T15:46:36.535Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2020-12-10T15:46:46.687Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-10T15:46:47.265Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.229s coverage: 50.3% of statements [2020-12-10T15:46:47.529Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [2020-12-10T15:46:49.481Z] gofmt -l . [2020-12-10T15:46:49.481Z] [ "`gofmt -l .`" = "" ] [2020-12-10T15:46:49.481Z] ./bin/test-attribution-txt.sh [2020-12-10T15:46:50.066Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-10T15:46:50.348Z] $ docker stop --time=1 3bae9cc799212b00b71a9bb9a030b1d48697705a28aa51dc741ba6b6b1be0fb7 [2020-12-10T15:46:52.799Z] $ docker rm -f 3bae9cc799212b00b71a9bb9a030b1d48697705a28aa51dc741ba6b6b1be0fb7 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-10T15:46:53.432Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-10T15:46:53.790Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2020-12-10T15:46:54.418Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2020-12-10T15:46:54.418Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.396s coverage: 50.3% of statements [2020-12-10T15:46:54.418Z] CGO_ENABLED=0 GO111MODULE=on go vet ./... [Pipeline] sh [2020-12-10T15:46:56.485Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-10T15:46:56.785Z] + ls -al . [2020-12-10T15:46:56.785Z] total 104 [2020-12-10T15:46:56.785Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 10 15:46 . [2020-12-10T15:46:56.785Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 10 15:45 .. [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 5589 Dec 10 15:45 Attribution.txt [2020-12-10T15:46:56.785Z] drwxrwxr-x. 2 jenkins jenkins 87 Dec 10 15:45 bin [2020-12-10T15:46:56.785Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 10 15:45 cmd [2020-12-10T15:46:56.785Z] -rw-r--r--. 1 jenkins jenkins 22364 Dec 10 15:46 coverage.out [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 1430 Dec 10 15:45 Dockerfile [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 954 Dec 10 15:45 Dockerfile.build [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 10 15:45 .dockerignore [2020-12-10T15:46:56.785Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 10 15:45 .git [2020-12-10T15:46:56.785Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 10 15:45 .github [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 338 Dec 10 15:45 .gitignore [2020-12-10T15:46:56.785Z] -rw-r--r--. 1 jenkins jenkins 523 Dec 10 15:46 go.mod [2020-12-10T15:46:56.785Z] -rw-r--r--. 1 jenkins jenkins 14850 Dec 10 15:46 go.sum [2020-12-10T15:46:56.785Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 10 15:45 internal [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 679 Dec 10 15:45 Jenkinsfile [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 10 15:45 LICENSE [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 880 Dec 10 15:45 Makefile [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 591 Dec 10 15:45 README.md [2020-12-10T15:46:56.785Z] drwxrwxr-x. 2 jenkins jenkins 52 Dec 10 15:45 simulator [2020-12-10T15:46:56.785Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 10 15:45 snap [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 10 15:42 VERSION [2020-12-10T15:46:56.785Z] -rw-rw-r--. 1 jenkins jenkins 229 Dec 10 15:45 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:46:57.092Z] + docker build -t docker-device-modbus-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=bdc2bf18299f50048bed412b56382a4832083ebb --label arch=amd64 --label version=1.3.1-dev.3 . [2020-12-10T15:46:57.092Z] Sending build context to Docker daemon 554kB [2020-12-10T15:46:57.092Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-12-10T15:46:57.092Z] Step 2/20 : FROM ${BASE} AS builder [2020-12-10T15:46:57.092Z] ---> cca00cd20929 [2020-12-10T15:46:57.092Z] Step 3/20 : ARG MAKE='make build' [2020-12-10T15:46:57.357Z] ---> Running in 6b1038529d88 [2020-12-10T15:46:57.621Z] Removing intermediate container 6b1038529d88 [2020-12-10T15:46:57.621Z] ---> 5ec4470ba0d5 [2020-12-10T15:46:57.621Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-10T15:46:57.621Z] ---> Running in 958f628b1482 [2020-12-10T15:46:58.577Z] Removing intermediate container 958f628b1482 [2020-12-10T15:46:58.577Z] ---> 79b2f260f032 [2020-12-10T15:46:58.577Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-12-10T15:46:58.577Z] ---> Running in 5c49459e9693 [2020-12-10T15:46:58.840Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [2020-12-10T15:46:59.787Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz [2020-12-10T15:47:00.732Z] OK: 237 MiB in 53 packages [2020-12-10T15:47:00.996Z] Removing intermediate container 5c49459e9693 [2020-12-10T15:47:00.996Z] ---> 3273c48959f0 [2020-12-10T15:47:00.996Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-12-10T15:47:00.996Z] ---> Running in fab4686287e7 [2020-12-10T15:47:01.259Z] Removing intermediate container fab4686287e7 [2020-12-10T15:47:01.259Z] ---> 5bdae073a473 [2020-12-10T15:47:01.259Z] Step 7/20 : COPY . . [2020-12-10T15:47:01.833Z] ---> 167bc7be9524 [2020-12-10T15:47:01.833Z] Step 8/20 : RUN ${MAKE} [2020-12-10T15:47:01.833Z] ---> Running in a77bfbe095b9 [2020-12-10T15:47:02.412Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1-dev.3" -o cmd/device-modbus ./cmd [2020-12-10T15:47:02.710Z] gofmt -l . [2020-12-10T15:47:02.710Z] [ "`gofmt -l .`" = "" ] [2020-12-10T15:47:02.710Z] ./bin/test-attribution-txt.sh [2020-12-10T15:47:02.710Z] ./bin/test-go-mod-tidy.sh [Pipeline] } [2020-12-10T15:47:03.332Z] $ docker stop --time=1 9e9c71a84cc0af386944d0172c536699beae97e7ed7387b04e84c844682ff746 [2020-12-10T15:47:05.627Z] $ docker rm -f 9e9c71a84cc0af386944d0172c536699beae97e7ed7387b04e84c844682ff746 [Pipeline] // withDockerContainer [Pipeline] sh [2020-12-10T15:47:06.527Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2020-12-10T15:47:06.546Z] Warning: overwriting stash ‘coverage-report’ [2020-12-10T15:47:07.304Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2020-12-10T15:47:08.109Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2020-12-10T15:47:08.513Z] + ls -al . [2020-12-10T15:47:08.513Z] total 136 [2020-12-10T15:47:08.513Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 10 15:47 . [2020-12-10T15:47:08.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 15:44 .. [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 10 15:44 .dockerignore [2020-12-10T15:47:08.513Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 10 15:44 .git [2020-12-10T15:47:08.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 15:44 .github [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 338 Dec 10 15:44 .gitignore [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 5589 Dec 10 15:44 Attribution.txt [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 1430 Dec 10 15:44 Dockerfile [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 954 Dec 10 15:44 Dockerfile.build [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 679 Dec 10 15:44 Jenkinsfile [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 10 15:44 LICENSE [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 880 Dec 10 15:44 Makefile [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 591 Dec 10 15:44 README.md [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 10 15:42 VERSION [2020-12-10T15:47:08.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 15:44 bin [2020-12-10T15:47:08.513Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 10 15:44 cmd [2020-12-10T15:47:08.513Z] -rw-r--r-- 1 jenkins jenkins 22364 Dec 10 15:46 coverage.out [2020-12-10T15:47:08.513Z] -rw-r--r-- 1 jenkins jenkins 523 Dec 10 15:47 go.mod [2020-12-10T15:47:08.513Z] -rw-r--r-- 1 jenkins jenkins 14850 Dec 10 15:47 go.sum [2020-12-10T15:47:08.513Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 10 15:44 internal [2020-12-10T15:47:08.513Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 10 15:44 simulator [2020-12-10T15:47:08.513Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 10 15:44 snap [2020-12-10T15:47:08.513Z] -rw-rw-r-- 1 jenkins jenkins 229 Dec 10 15:44 version.go [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:08.896Z] + docker build -t docker-device-modbus-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=bdc2bf18299f50048bed412b56382a4832083ebb --label arch=arm64 --label version=1.3.1-dev.3 . [2020-12-10T15:47:09.179Z] Sending build context to Docker daemon 553kB [2020-12-10T15:47:09.179Z] Step 1/20 : ARG BASE=golang:1.15-alpine [2020-12-10T15:47:09.179Z] Step 2/20 : FROM ${BASE} AS builder [2020-12-10T15:47:09.179Z] ---> 5d6666e2289d [2020-12-10T15:47:09.179Z] Step 3/20 : ARG MAKE='make build' [2020-12-10T15:47:09.465Z] ---> Running in a6c414a5e79c [2020-12-10T15:47:10.063Z] Removing intermediate container a6c414a5e79c [2020-12-10T15:47:10.063Z] ---> fc53930ec200 [2020-12-10T15:47:10.063Z] Step 4/20 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2020-12-10T15:47:10.063Z] ---> Running in c7fc913941b8 [2020-12-10T15:47:10.646Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-10T15:47:12.033Z] Removing intermediate container c7fc913941b8 [2020-12-10T15:47:12.033Z] ---> 4ab6d4eddf7e [2020-12-10T15:47:12.033Z] Step 5/20 : RUN apk add --update --no-cache make git openssh build-base [2020-12-10T15:47:12.310Z] ---> Running in e14a9c34aca3 [2020-12-10T15:47:13.300Z] fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [2020-12-10T15:47:13.978Z] Removing intermediate container a77bfbe095b9 [2020-12-10T15:47:13.978Z] ---> de4ee9665912 [2020-12-10T15:47:13.978Z] Step 9/20 : FROM scratch [2020-12-10T15:47:13.978Z] ---> [2020-12-10T15:47:13.978Z] Step 10/20 : ENV APP_PORT=49991 [2020-12-10T15:47:13.978Z] ---> Running in 176248b638ea [2020-12-10T15:47:13.978Z] Removing intermediate container 176248b638ea [2020-12-10T15:47:13.978Z] ---> eff55a5d7a6e [2020-12-10T15:47:13.978Z] Step 11/20 : EXPOSE $APP_PORT [2020-12-10T15:47:14.243Z] ---> Running in 9c4746f76901 [2020-12-10T15:47:14.243Z] Removing intermediate container 9c4746f76901 [2020-12-10T15:47:14.243Z] ---> 115d7ceaca41 [2020-12-10T15:47:14.243Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-12-10T15:47:14.277Z] fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz [2020-12-10T15:47:14.818Z] ---> fd293ee52722 [2020-12-10T15:47:14.818Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-12-10T15:47:14.818Z] ---> 077ccfc66410 [2020-12-10T15:47:14.818Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-12-10T15:47:15.092Z] ---> acec866113f1 [2020-12-10T15:47:15.092Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-12-10T15:47:15.092Z] ---> Running in 22b9f94aaa01 [2020-12-10T15:47:15.253Z] OK: 221 MiB in 53 packages [2020-12-10T15:47:15.354Z] Removing intermediate container 22b9f94aaa01 [2020-12-10T15:47:15.354Z] ---> 57503be091ce [2020-12-10T15:47:15.354Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-12-10T15:47:15.354Z] ---> Running in e40a1e22dc64 [2020-12-10T15:47:15.618Z] Removing intermediate container e40a1e22dc64 [2020-12-10T15:47:15.618Z] ---> 8d4764757846 [2020-12-10T15:47:15.618Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-10T15:47:15.618Z] ---> Running in 9b8bdae1a47c [2020-12-10T15:47:15.618Z] Removing intermediate container 9b8bdae1a47c [2020-12-10T15:47:15.618Z] ---> 99d58a238a7d [2020-12-10T15:47:15.618Z] Step 18/20 : LABEL arch=amd64 [2020-12-10T15:47:15.880Z] ---> Running in fa9264dd2ef1 [2020-12-10T15:47:15.880Z] Removing intermediate container fa9264dd2ef1 [2020-12-10T15:47:15.880Z] ---> e5cb29b58d55 [2020-12-10T15:47:15.880Z] Step 19/20 : LABEL git_sha=bdc2bf18299f50048bed412b56382a4832083ebb [2020-12-10T15:47:15.880Z] ---> Running in a0cf988fe407 [2020-12-10T15:47:16.142Z] Removing intermediate container a0cf988fe407 [2020-12-10T15:47:16.142Z] ---> 7a6007c54e6b [2020-12-10T15:47:16.142Z] Step 20/20 : LABEL version=1.3.1-dev.3 [2020-12-10T15:47:16.142Z] ---> Running in 19132f99d049 [2020-12-10T15:47:16.233Z] Removing intermediate container e14a9c34aca3 [2020-12-10T15:47:16.233Z] ---> ec738022c8ba [2020-12-10T15:47:16.233Z] Step 6/20 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-modbus-go [2020-12-10T15:47:16.404Z] Removing intermediate container 19132f99d049 [2020-12-10T15:47:16.404Z] ---> 0eb8cdc064b4 [2020-12-10T15:47:16.404Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-10T15:47:16.404Z] Successfully built 0eb8cdc064b4 [2020-12-10T15:47:16.404Z] Successfully tagged docker-device-modbus-go:latest [Pipeline] } [2020-12-10T15:47:16.512Z] ---> Running in 13f2de5468f0 [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-10T15:47:16.775Z] provisioning config files... [2020-12-10T15:47:16.785Z] Removing intermediate container 13f2de5468f0 [2020-12-10T15:47:16.785Z] ---> 44fe5ed997cb [2020-12-10T15:47:16.785Z] Step 7/20 : COPY . . [2020-12-10T15:47:16.805Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/31@tmp/config937768578090069102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:47:17.168Z] ---> docker-login.sh [2020-12-10T15:47:17.168Z] nexus3.edgexfoundry.org:10001 [2020-12-10T15:47:17.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:17.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:17.429Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:17.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:17.429Z] [2020-12-10T15:47:17.429Z] Login Succeeded [2020-12-10T15:47:17.429Z] nexus3.edgexfoundry.org:10002 [2020-12-10T15:47:17.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:17.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:17.429Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:17.429Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:17.429Z] [2020-12-10T15:47:17.429Z] Login Succeeded [2020-12-10T15:47:17.429Z] nexus3.edgexfoundry.org:10003 [2020-12-10T15:47:17.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:17.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:17.691Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:17.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:17.691Z] [2020-12-10T15:47:17.691Z] Login Succeeded [2020-12-10T15:47:17.691Z] nexus3.edgexfoundry.org:10004 [2020-12-10T15:47:17.768Z] ---> b6b206dd7613 [2020-12-10T15:47:17.768Z] Step 8/20 : RUN ${MAKE} [2020-12-10T15:47:17.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:17.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:17.953Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:17.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:17.953Z] [2020-12-10T15:47:17.953Z] Login Succeeded [2020-12-10T15:47:17.953Z] docker.io [2020-12-10T15:47:17.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:18.041Z] ---> Running in c274b42c77ec [2020-12-10T15:47:18.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:18.215Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:18.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:18.215Z] [2020-12-10T15:47:18.215Z] Login Succeeded [2020-12-10T15:47:18.215Z] ---> docker-login.sh ends [Pipeline] } [2020-12-10T15:47:18.225Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-10T15:47:18.455Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go with the following tags: [2020-12-10T15:47:18.455Z] bdc2bf18299f50048bed412b56382a4832083ebb [2020-12-10T15:47:18.455Z] latest [2020-12-10T15:47:18.455Z] 1.3.1-dev.3 [2020-12-10T15:47:18.455Z] bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3 [2020-12-10T15:47:18.455Z] master [2020-12-10T15:47:18.456Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:18.984Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:19.042Z] CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=1.3.1-dev.3" -o cmd/device-modbus ./cmd [2020-12-10T15:47:19.284Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb [2020-12-10T15:47:19.284Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-12-10T15:47:19.284Z] 203be3ec146e: Preparing [2020-12-10T15:47:19.284Z] 159443bfebf2: Preparing [2020-12-10T15:47:19.284Z] acb650ca1514: Preparing [2020-12-10T15:47:19.546Z] 203be3ec146e: Pushed [2020-12-10T15:47:19.546Z] 159443bfebf2: Pushed [2020-12-10T15:47:20.490Z] acb650ca1514: Pushed [2020-12-10T15:47:20.490Z] bdc2bf18299f50048bed412b56382a4832083ebb: digest: sha256:b540e8de03a4bf5f2700872b43a57ba401dc3642488b07653a3cfbdeafc0901e size: 944 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:20.796Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:21.096Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2020-12-10T15:47:21.096Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-12-10T15:47:21.096Z] 203be3ec146e: Preparing [2020-12-10T15:47:21.096Z] 159443bfebf2: Preparing [2020-12-10T15:47:21.096Z] acb650ca1514: Preparing [2020-12-10T15:47:21.096Z] acb650ca1514: Layer already exists [2020-12-10T15:47:21.096Z] 203be3ec146e: Layer already exists [2020-12-10T15:47:21.096Z] 159443bfebf2: Layer already exists [2020-12-10T15:47:21.096Z] latest: digest: sha256:b540e8de03a4bf5f2700872b43a57ba401dc3642488b07653a3cfbdeafc0901e size: 944 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:21.399Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:21.696Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.3 [2020-12-10T15:47:21.696Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-12-10T15:47:21.696Z] 203be3ec146e: Preparing [2020-12-10T15:47:21.696Z] 159443bfebf2: Preparing [2020-12-10T15:47:21.696Z] acb650ca1514: Preparing [2020-12-10T15:47:21.696Z] acb650ca1514: Layer already exists [2020-12-10T15:47:21.696Z] 159443bfebf2: Layer already exists [2020-12-10T15:47:21.696Z] 203be3ec146e: Layer already exists [2020-12-10T15:47:21.696Z] 1.3.1-dev.3: digest: sha256:b540e8de03a4bf5f2700872b43a57ba401dc3642488b07653a3cfbdeafc0901e size: 944 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:21.998Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:22.384Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3 [2020-12-10T15:47:22.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-12-10T15:47:22.384Z] 203be3ec146e: Preparing [2020-12-10T15:47:22.384Z] 159443bfebf2: Preparing [2020-12-10T15:47:22.384Z] acb650ca1514: Preparing [2020-12-10T15:47:22.384Z] acb650ca1514: Layer already exists [2020-12-10T15:47:22.384Z] 203be3ec146e: Layer already exists [2020-12-10T15:47:22.384Z] 159443bfebf2: Layer already exists [2020-12-10T15:47:22.384Z] bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3: digest: sha256:b540e8de03a4bf5f2700872b43a57ba401dc3642488b07653a3cfbdeafc0901e size: 944 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:22.785Z] + docker tag docker-device-modbus-go nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:47:23.149Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [2020-12-10T15:47:23.149Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go] [2020-12-10T15:47:23.149Z] 203be3ec146e: Preparing [2020-12-10T15:47:23.149Z] 159443bfebf2: Preparing [2020-12-10T15:47:23.149Z] acb650ca1514: Preparing [2020-12-10T15:47:23.149Z] acb650ca1514: Layer already exists [2020-12-10T15:47:23.149Z] 159443bfebf2: Layer already exists [2020-12-10T15:47:23.149Z] 203be3ec146e: Layer already exists [2020-12-10T15:47:23.149Z] master: digest: sha256:b540e8de03a4bf5f2700872b43a57ba401dc3642488b07653a3cfbdeafc0901e size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-10T15:47:23.342Z] ===================================================== [Pipeline] echo [2020-12-10T15:47:23.399Z] taggedImages: [2020-12-10T15:47:23.399Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb [2020-12-10T15:47:23.399Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:latest [2020-12-10T15:47:23.399Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:1.3.1-dev.3 [2020-12-10T15:47:23.399Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3 [2020-12-10T15:47:23.399Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2020-12-10T15:47:45.851Z] CGO_ENABLED=0 GO111MODULE=on go build ./... [2020-12-10T15:47:49.232Z] Removing intermediate container c274b42c77ec [2020-12-10T15:47:49.232Z] ---> cf87c2dbbb34 [2020-12-10T15:47:49.232Z] Step 9/20 : FROM scratch [2020-12-10T15:47:49.232Z] ---> [2020-12-10T15:47:49.232Z] Step 10/20 : ENV APP_PORT=49991 [2020-12-10T15:47:49.232Z] ---> Running in 11cc465ff0b8 [2020-12-10T15:47:49.232Z] Removing intermediate container 11cc465ff0b8 [2020-12-10T15:47:49.232Z] ---> d2f9d3e5d303 [2020-12-10T15:47:49.232Z] Step 11/20 : EXPOSE $APP_PORT [2020-12-10T15:47:49.232Z] ---> Running in ab853ba85ee7 [2020-12-10T15:47:49.503Z] Removing intermediate container ab853ba85ee7 [2020-12-10T15:47:49.503Z] ---> f37cc26d17ea [2020-12-10T15:47:49.503Z] Step 12/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/cmd / [2020-12-10T15:47:50.930Z] ---> d4dd99e03ec4 [2020-12-10T15:47:50.930Z] Step 13/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/LICENSE / [2020-12-10T15:47:51.202Z] ---> 67ea96af6de7 [2020-12-10T15:47:51.202Z] Step 14/20 : COPY --from=builder /go/src/github.com/edgexfoundry/device-modbus-go/Attribution.txt / [2020-12-10T15:47:52.180Z] ---> 32473456eb68 [2020-12-10T15:47:52.180Z] Step 15/20 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IoTech Ltd' [2020-12-10T15:47:52.180Z] ---> Running in c649872dff87 [2020-12-10T15:47:52.452Z] Removing intermediate container c649872dff87 [2020-12-10T15:47:52.452Z] ---> d9fbf66fa527 [2020-12-10T15:47:52.452Z] Step 16/20 : ENTRYPOINT ["/device-modbus"] [2020-12-10T15:47:52.723Z] ---> Running in 3a042a757983 [2020-12-10T15:47:52.994Z] Removing intermediate container 3a042a757983 [2020-12-10T15:47:52.994Z] ---> ca4aad409aed [2020-12-10T15:47:52.994Z] Step 17/20 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2020-12-10T15:47:52.994Z] ---> Running in 77ad4646411b [2020-12-10T15:47:53.591Z] Removing intermediate container 77ad4646411b [2020-12-10T15:47:53.591Z] ---> 117b109ebefa [2020-12-10T15:47:53.591Z] Step 18/20 : LABEL arch=arm64 [2020-12-10T15:47:53.591Z] ---> Running in cff5347f3f6b [2020-12-10T15:47:54.184Z] Removing intermediate container cff5347f3f6b [2020-12-10T15:47:54.184Z] ---> 6b85d3489726 [2020-12-10T15:47:54.184Z] Step 19/20 : LABEL git_sha=bdc2bf18299f50048bed412b56382a4832083ebb [2020-12-10T15:47:54.184Z] ---> Running in 4213034c94b4 [2020-12-10T15:47:54.456Z] Removing intermediate container 4213034c94b4 [2020-12-10T15:47:54.456Z] ---> f22716acf6f2 [2020-12-10T15:47:54.456Z] Step 20/20 : LABEL version=1.3.1-dev.3 [2020-12-10T15:47:54.728Z] ---> Running in 65c2a9577f25 [2020-12-10T15:47:55.002Z] Removing intermediate container 65c2a9577f25 [2020-12-10T15:47:55.002Z] ---> 2167c5ef1244 [2020-12-10T15:47:55.002Z] [Warning] One or more build-args [ARCH] were not consumed [2020-12-10T15:47:55.002Z] Successfully built 2167c5ef1244 [2020-12-10T15:47:55.274Z] Successfully tagged docker-device-modbus-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap [2020-12-10T15:47:55.730Z] provisioning config files... [2020-12-10T15:47:55.812Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/31@tmp/config337737339046224167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:47:56.237Z] ---> docker-login.sh [2020-12-10T15:47:56.237Z] nexus3.edgexfoundry.org:10001 [2020-12-10T15:47:56.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:56.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:56.780Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:56.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:56.780Z] [2020-12-10T15:47:56.780Z] Login Succeeded [2020-12-10T15:47:56.780Z] nexus3.edgexfoundry.org:10002 [2020-12-10T15:47:57.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:57.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:57.328Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:57.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:57.328Z] [2020-12-10T15:47:57.328Z] Login Succeeded [2020-12-10T15:47:57.328Z] nexus3.edgexfoundry.org:10003 [2020-12-10T15:47:57.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:57.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:57.877Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:57.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:57.877Z] [2020-12-10T15:47:57.877Z] Login Succeeded [2020-12-10T15:47:57.877Z] nexus3.edgexfoundry.org:10004 [2020-12-10T15:47:58.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:58.422Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:58.422Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:58.422Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:58.422Z] [2020-12-10T15:47:58.422Z] Login Succeeded [2020-12-10T15:47:58.422Z] docker.io [2020-12-10T15:47:59.021Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2020-12-10T15:47:59.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2020-12-10T15:47:59.291Z] Configure a credential helper to remove this warning. See [2020-12-10T15:47:59.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2020-12-10T15:47:59.291Z] [2020-12-10T15:47:59.291Z] Login Succeeded [2020-12-10T15:47:59.291Z] ---> docker-login.sh ends [Pipeline] } [2020-12-10T15:47:59.306Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-10T15:47:59.569Z] [edgeXDocker.push] Tagging docker image docker-device-modbus-go-arm64 with the following tags: [2020-12-10T15:47:59.569Z] bdc2bf18299f50048bed412b56382a4832083ebb [2020-12-10T15:47:59.569Z] latest [2020-12-10T15:47:59.569Z] 1.3.1-dev.3 [2020-12-10T15:47:59.569Z] bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3 [2020-12-10T15:47:59.569Z] master [2020-12-10T15:47:59.569Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:00.145Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdc2bf18299f50048bed412b56382a4832083ebb [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:00.489Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdc2bf18299f50048bed412b56382a4832083ebb [2020-12-10T15:48:00.489Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-12-10T15:48:00.489Z] e7f9ab5c51de: Preparing [2020-12-10T15:48:00.489Z] 2bd5dc63108c: Preparing [2020-12-10T15:48:00.489Z] 9b0ea9a7235d: Preparing [2020-12-10T15:48:00.773Z] e7f9ab5c51de: Pushed [2020-12-10T15:48:00.773Z] 2bd5dc63108c: Pushed [2020-12-10T15:48:03.388Z] 9b0ea9a7235d: Pushed [2020-12-10T15:48:03.388Z] bdc2bf18299f50048bed412b56382a4832083ebb: digest: sha256:ae36c371f68b7d35203e0ccfde94a05d3cbb83c38375c8eecdf2acca48b32735 size: 944 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:03.728Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:04.066Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2020-12-10T15:48:04.066Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-12-10T15:48:04.066Z] e7f9ab5c51de: Preparing [2020-12-10T15:48:04.066Z] 2bd5dc63108c: Preparing [2020-12-10T15:48:04.066Z] 9b0ea9a7235d: Preparing [2020-12-10T15:48:04.066Z] e7f9ab5c51de: Layer already exists [2020-12-10T15:48:04.066Z] 9b0ea9a7235d: Layer already exists [2020-12-10T15:48:04.066Z] 2bd5dc63108c: Layer already exists [2020-12-10T15:48:04.338Z] latest: digest: sha256:ae36c371f68b7d35203e0ccfde94a05d3cbb83c38375c8eecdf2acca48b32735 size: 944 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:04.680Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:05.014Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.3 [2020-12-10T15:48:05.014Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-12-10T15:48:05.014Z] e7f9ab5c51de: Preparing [2020-12-10T15:48:05.014Z] 2bd5dc63108c: Preparing [2020-12-10T15:48:05.014Z] 9b0ea9a7235d: Preparing [2020-12-10T15:48:05.284Z] 9b0ea9a7235d: Layer already exists [2020-12-10T15:48:05.284Z] 2bd5dc63108c: Layer already exists [2020-12-10T15:48:05.284Z] e7f9ab5c51de: Layer already exists [2020-12-10T15:48:05.284Z] 1.3.1-dev.3: digest: sha256:ae36c371f68b7d35203e0ccfde94a05d3cbb83c38375c8eecdf2acca48b32735 size: 944 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:05.624Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:05.959Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3 [2020-12-10T15:48:05.960Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-12-10T15:48:05.960Z] e7f9ab5c51de: Preparing [2020-12-10T15:48:05.960Z] 2bd5dc63108c: Preparing [2020-12-10T15:48:05.960Z] 9b0ea9a7235d: Preparing [2020-12-10T15:48:05.960Z] 2bd5dc63108c: Layer already exists [2020-12-10T15:48:05.960Z] e7f9ab5c51de: Layer already exists [2020-12-10T15:48:05.960Z] 9b0ea9a7235d: Layer already exists [2020-12-10T15:48:06.229Z] bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3: digest: sha256:ae36c371f68b7d35203e0ccfde94a05d3cbb83c38375c8eecdf2acca48b32735 size: 944 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:06.572Z] + docker tag docker-device-modbus-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:06.905Z] + docker push nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [2020-12-10T15:48:06.906Z] The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64] [2020-12-10T15:48:06.906Z] e7f9ab5c51de: Preparing [2020-12-10T15:48:06.906Z] 2bd5dc63108c: Preparing [2020-12-10T15:48:06.906Z] 9b0ea9a7235d: Preparing [2020-12-10T15:48:06.906Z] e7f9ab5c51de: Layer already exists [2020-12-10T15:48:06.906Z] 9b0ea9a7235d: Layer already exists [2020-12-10T15:48:06.906Z] 2bd5dc63108c: Layer already exists [2020-12-10T15:48:07.178Z] master: digest: sha256:ae36c371f68b7d35203e0ccfde94a05d3cbb83c38375c8eecdf2acca48b32735 size: 944 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2020-12-10T15:48:07.407Z] ===================================================== [Pipeline] echo [2020-12-10T15:48:07.462Z] taggedImages: [2020-12-10T15:48:07.462Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdc2bf18299f50048bed412b56382a4832083ebb [2020-12-10T15:48:07.462Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:latest [2020-12-10T15:48:07.462Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:1.3.1-dev.3 [2020-12-10T15:48:07.462Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:bdc2bf18299f50048bed412b56382a4832083ebb-1.3.1-dev.3 [2020-12-10T15:48:07.462Z] - nexus3.edgexfoundry.org:10004/docker-device-modbus-go-arm64:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [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] wrap [2020-12-10T15:48:08.952Z] provisioning config files... [2020-12-10T15:48:08.962Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1366906416060409809tmp [Pipeline] { [Pipeline] sh [2020-12-10T15:48:09.342Z] + set +x [2020-12-10T15:48:09.342Z] + curl -s https://codecov.io/bash [2020-12-10T15:48:09.342Z] + bash -s -- [2020-12-10T15:48:09.604Z] [2020-12-10T15:48:09.604Z] _____ _ [2020-12-10T15:48:09.604Z] / ____| | | [2020-12-10T15:48:09.604Z] | | ___ __| | ___ ___ _____ __ [2020-12-10T15:48:09.604Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2020-12-10T15:48:09.604Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2020-12-10T15:48:09.604Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2020-12-10T15:48:09.604Z] Bash-20201130-cc6d3fe [2020-12-10T15:48:09.604Z] [2020-12-10T15:48:09.604Z] [2020-12-10T15:48:09.604Z] ==> Jenkins CI detected. [2020-12-10T15:48:09.604Z] project root: . [2020-12-10T15:48:09.604Z] --> token set from env [2020-12-10T15:48:09.604Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2020-12-10T15:48:09.604Z] ==> Running gcov in . (disable via -X gcov) [2020-12-10T15:48:09.604Z] ==> Python coveragepy not found [2020-12-10T15:48:09.604Z] ==> Searching for coverage reports in: [2020-12-10T15:48:09.604Z] + . [2020-12-10T15:48:09.604Z] -> Found 1 reports [2020-12-10T15:48:09.604Z] ==> Detecting git/mercurial file structure [2020-12-10T15:48:09.604Z] ==> Reading reports [2020-12-10T15:48:09.604Z] + ./coverage.out bytes=22364 [2020-12-10T15:48:09.604Z] ==> Appending adjustments [2020-12-10T15:48:09.604Z] https://docs.codecov.io/docs/fixing-reports [2020-12-10T15:48:09.604Z] + Found adjustments [2020-12-10T15:48:09.604Z] ==> Gzipping contents [2020-12-10T15:48:09.865Z] 8.0K /tmp/codecov.J73qpf.gz [2020-12-10T15:48:09.865Z] ==> Uploading reports [2020-12-10T15:48:09.865Z] url: https://codecov.io [2020-12-10T15:48:09.865Z] query: branch=master&commit=bdc2bf18299f50048bed412b56382a4832083ebb&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-10T15:48:09.865Z] -> Pinging Codecov [2020-12-10T15:48:09.865Z] https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=bdc2bf18299f50048bed412b56382a4832083ebb&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmaster%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2020-12-10T15:48:10.126Z] -> Uploading to [2020-12-10T15:48:10.126Z] https://storage.googleapis.com/codecov/v4/raw/2020-12-10/55DBCA73C666E3227836607328DD7E49/bdc2bf18299f50048bed412b56382a4832083ebb/8ab4c26c-3991-485e-ae15-5c6d96a46ccf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201210%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201210T154810Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5b7ace7a8c337c6c88e0af0d0c41c3a29fbdf0e0992a49553198615706599982 [2020-12-10T15:48:10.126Z] % Total % Received % Xferd Average Speed Time Time Time Current [2020-12-10T15:48:10.126Z] Dload Upload Total Spent Left Speed [2020-12-10T15:48:10.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4226 0 0 100 4226 0 10077 --:--:-- --:--:-- --:--:-- 10085 [2020-12-10T15:48:10.699Z] -> View reports at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/bdc2bf18299f50048bed412b56382a4832083ebb [Pipeline] } [2020-12-10T15:48:10.709Z] Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2020-12-10T15:48:12.698Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2020-12-10T15:48:12.834Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:13.178Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-10T15:48:13.178Z] [2020-12-10T15:48:13.178Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:13.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-10T15:48:13.527Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2020-12-10T15:48:13.527Z] 188c0c94c7c5: Pulling fs layer [2020-12-10T15:48:13.527Z] 0ef7d3d256c8: Pulling fs layer [2020-12-10T15:48:13.527Z] de9db76c5a1d: Pulling fs layer [2020-12-10T15:48:13.527Z] 0eba1c9be4d2: Pulling fs layer [2020-12-10T15:48:13.527Z] 0d57e429df01: Pulling fs layer [2020-12-10T15:48:13.528Z] 4e4be7b47b0d: Pulling fs layer [2020-12-10T15:48:13.528Z] e1f770b5df2f: Pulling fs layer [2020-12-10T15:48:13.528Z] 85a0685a4137: Pulling fs layer [2020-12-10T15:48:13.528Z] 0eba1c9be4d2: Waiting [2020-12-10T15:48:13.528Z] e1f770b5df2f: Waiting [2020-12-10T15:48:13.528Z] 4e4be7b47b0d: Waiting [2020-12-10T15:48:13.528Z] 0d57e429df01: Waiting [2020-12-10T15:48:13.528Z] 85a0685a4137: Waiting [2020-12-10T15:48:13.528Z] de9db76c5a1d: Verifying Checksum [2020-12-10T15:48:13.528Z] de9db76c5a1d: Download complete [2020-12-10T15:48:13.528Z] 188c0c94c7c5: Verifying Checksum [2020-12-10T15:48:13.528Z] 188c0c94c7c5: Download complete [2020-12-10T15:48:13.790Z] 0ef7d3d256c8: Verifying Checksum [2020-12-10T15:48:13.790Z] 0ef7d3d256c8: Download complete [2020-12-10T15:48:13.790Z] 188c0c94c7c5: Pull complete [2020-12-10T15:48:14.055Z] 0ef7d3d256c8: Pull complete [2020-12-10T15:48:14.318Z] de9db76c5a1d: Pull complete [2020-12-10T15:48:14.318Z] 0d57e429df01: Download complete [2020-12-10T15:48:14.318Z] 4e4be7b47b0d: Verifying Checksum [2020-12-10T15:48:14.318Z] 4e4be7b47b0d: Download complete [2020-12-10T15:48:15.716Z] e1f770b5df2f: Verifying Checksum [2020-12-10T15:48:15.716Z] e1f770b5df2f: Download complete [2020-12-10T15:48:17.649Z] 0eba1c9be4d2: Verifying Checksum [2020-12-10T15:48:17.649Z] 0eba1c9be4d2: Download complete [2020-12-10T15:48:17.911Z] 85a0685a4137: Verifying Checksum [2020-12-10T15:48:17.911Z] 85a0685a4137: Download complete [2020-12-10T15:48:23.239Z] 0eba1c9be4d2: Pull complete [2020-12-10T15:48:23.239Z] 0d57e429df01: Pull complete [2020-12-10T15:48:23.239Z] 4e4be7b47b0d: Pull complete [2020-12-10T15:48:25.810Z] e1f770b5df2f: Pull complete [2020-12-10T15:48:32.450Z] 85a0685a4137: Pull complete [2020-12-10T15:48:32.450Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2020-12-10T15:48:32.450Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-10T15:48:32.450Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2020-12-10T15:48:32.684Z] prd-centos7-docker-4c-2g-15394 does not seem to be running inside a container [2020-12-10T15:48:32.735Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-10T15:48:33.769Z] $ docker top 90c0be230d6b463ecf4449df8901dd25db54d05dc8ca79cabd551253a2183ab0 -eo pid,comm [Pipeline] { [Pipeline] echo [2020-12-10T15:48:33.996Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2020-12-10T15:48:34.293Z] + set -o pipefail [2020-12-10T15:48:34.293Z] + snyk monitor '--org=edgex-jenkins' [2020-12-10T15:48:42.466Z] [2020-12-10T15:48:42.466Z] Monitoring /w/workspace/xfoundry_device-modbus-go_master (github.com/edgexfoundry/device-modbus-go)... [2020-12-10T15:48:42.466Z] [2020-12-10T15:48:42.466Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/6fe4617b-5f56-47ca-aa63-1c98194b165a [2020-12-10T15:48:42.466Z] [2020-12-10T15:48:42.466Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2020-12-10T15:48:42.466Z] [2020-12-10T15:48:42.466Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2020-12-10T15:48:42.466Z] [2020-12-10T15:48:42.466Z] [2020-12-10T15:48:42.466Z] You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. [2020-12-10T15:48:42.466Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2020-12-10T15:48:42.490Z] $ docker stop --time=1 90c0be230d6b463ecf4449df8901dd25db54d05dc8ca79cabd551253a2183ab0 [2020-12-10T15:48:45.586Z] $ docker rm -f 90c0be230d6b463ecf4449df8901dd25db54d05dc8ca79cabd551253a2183ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo [2020-12-10T15:48:46.483Z] [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb, dockerFile=Dockerfile [Pipeline] echo [2020-12-10T15:48:46.486Z] [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh [2020-12-10T15:48:46.775Z] + set -o pipefail [2020-12-10T15:48:46.775Z] + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [2020-12-10T15:48:46.775Z] + tee .snyk [2020-12-10T15:48:47.037Z] # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. [2020-12-10T15:48:47.037Z] version: v1.14.1 [2020-12-10T15:48:47.037Z] # ignores vulnerabilities until expiry date; change duration by modifying expiry date [2020-12-10T15:48:47.037Z] ignore: [2020-12-10T15:48:47.037Z] SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. [2020-12-10T15:48:47.037Z] - '*': [2020-12-10T15:48:47.037Z] reason: does not apply # justification for ignoring [2020-12-10T15:48:47.037Z] expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 [2020-12-10T15:48:47.037Z] SNYK-ALPINE312-JQ-588886: [2020-12-10T15:48:47.037Z] - '*': [2020-12-10T15:48:47.037Z] reason: false positive [2020-12-10T15:48:47.037Z] expires: 2021-01-01T00:00:00 [2020-12-10T15:48:47.037Z] SNYK-GOLANG-GITHUBCOMDGRIJALVAJWTGO-596515: [2020-12-10T15:48:47.037Z] - '*': [2020-12-10T15:48:47.037Z] reason: does not apply [2020-12-10T15:48:47.037Z] expires: 2021-01-01T00:00:00 [2020-12-10T15:48:47.037Z] # patch: {} [Pipeline] withCredentials [2020-12-10T15:48:47.176Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:48:47.540Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2020-12-10T15:48:47.540Z] . [Pipeline] withDockerContainer [2020-12-10T15:48:47.652Z] prd-centos7-docker-4c-2g-15394 does not seem to be running inside a container [2020-12-10T15:48:47.707Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2020-12-10T15:48:48.435Z] $ docker top 0e1a487e66655b8ab9ebfd07793e3976970936d63d4615e0d11f4f4cd041c192 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T15:48:48.936Z] + rm -f snykReport.html [Pipeline] echo [2020-12-10T15:48:48.949Z] [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh [2020-12-10T15:48:49.236Z] + set -o pipefail [2020-12-10T15:48:49.236Z] + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-modbus-go:bdc2bf18299f50048bed412b56382a4832083ebb '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json [2020-12-10T15:48:49.236Z] + snyk-to-html -o snykReport.html [2020-12-10T15:48:59.264Z] Vulnerability snapshot saved at snykReport.html [Pipeline] } [2020-12-10T15:48:59.284Z] $ docker stop --time=1 0e1a487e66655b8ab9ebfd07793e3976970936d63d4615e0d11f4f4cd041c192 [2020-12-10T15:49:00.793Z] $ docker rm -f 0e1a487e66655b8ab9ebfd07793e3976970936d63d4615e0d11f4f4cd041c192 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [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 [2020-12-10T15:49:02.611Z] + git log --format=format:%s -1 bdc2bf18299f50048bed412b56382a4832083ebb [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:49:02.917Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T15:49:02.917Z] . [Pipeline] withDockerContainer [2020-12-10T15:49:03.013Z] prd-centos7-docker-4c-2g-15394 does not seem to be running inside a container [2020-12-10T15:49:03.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-10T15:49:03.722Z] $ docker top 690ddba5bba6de3cf9cfc14df00883e05cf1b2fb8600c1976ffa10f400e9b9d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-10T15:49:03.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-10T15:49:03.993Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-10T15:49:04.272Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-10T15:49:04.279Z] $ docker exec 690ddba5bba6de3cf9cfc14df00883e05cf1b2fb8600c1976ffa10f400e9b9d1 ssh-agent [2020-12-10T15:49:04.534Z] SSH_AUTH_SOCK=/tmp/ssh-IJmFR7hFyDt7/agent.12 [2020-12-10T15:49:04.534Z] SSH_AGENT_PID=18 [2020-12-10T15:49:04.544Z] Running ssh-add (command line suppressed) [2020-12-10T15:49:04.689Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5789300357313487214.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_5789300357313487214.key) [2020-12-10T15:49:04.746Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-10T15:49:05.108Z] + git semver tag [2020-12-10T15:49:05.108Z] # -> Open(): unable to determine branch for HEAD [2020-12-10T15:49:05.108Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-12-10T15:49:05.108Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-12-10T15:49:05.108Z] # $SEMVER_REMOTE_NAME = origin [2020-12-10T15:49:05.108Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-10T15:49:05.108Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-10T15:49:05.108Z] # $SEMVER_BRANCH = master [2020-12-10T15:49:05.108Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2020-12-10T15:49:05.108Z] # bdc2bf18299f50048bed412b56382a4832083ebb HEAD [2020-12-10T15:49:05.108Z] # -> Force: false [2020-12-10T15:49:05.108Z] # a8778efcb0a64ee9696040b72420f48829eca6ce refs/tags/v1.3.1-dev.3 [Pipeline] } [2020-12-10T15:49:05.140Z] $ docker exec --env ******** --env ******** 690ddba5bba6de3cf9cfc14df00883e05cf1b2fb8600c1976ffa10f400e9b9d1 ssh-agent -k [2020-12-10T15:49:05.261Z] unset SSH_AUTH_SOCK; [2020-12-10T15:49:05.261Z] unset SSH_AGENT_PID; [2020-12-10T15:49:05.261Z] echo Agent pid 18 killed; [2020-12-10T15:49:05.306Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-10T15:49:05.794Z] + git semver [Pipeline] } [2020-12-10T15:49:05.814Z] $ docker stop --time=1 690ddba5bba6de3cf9cfc14df00883e05cf1b2fb8600c1976ffa10f400e9b9d1 [2020-12-10T15:49:07.174Z] $ docker rm -f 690ddba5bba6de3cf9cfc14df00883e05cf1b2fb8600c1976ffa10f400e9b9d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:49:07.828Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-10T15:49:07.828Z] [2020-12-10T15:49:07.828Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:49:08.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-10T15:49:08.204Z] 0.23.1-centos7: Pulling from edgex-lftools [2020-12-10T15:49:08.204Z] ab5ef0e58194: Pulling fs layer [2020-12-10T15:49:08.204Z] 9712f1f96733: Pulling fs layer [2020-12-10T15:49:08.204Z] 63f879dbbcfc: Pulling fs layer [2020-12-10T15:49:08.204Z] 0d9ebad4ef96: Pulling fs layer [2020-12-10T15:49:08.204Z] e9a5061849ea: Pulling fs layer [2020-12-10T15:49:08.204Z] d747dcd14b5f: Pulling fs layer [2020-12-10T15:49:08.204Z] 2de7ff778b66: Pulling fs layer [2020-12-10T15:49:08.204Z] e9a5061849ea: Waiting [2020-12-10T15:49:08.204Z] d747dcd14b5f: Waiting [2020-12-10T15:49:08.204Z] 2de7ff778b66: Waiting [2020-12-10T15:49:08.204Z] 0d9ebad4ef96: Waiting [2020-12-10T15:49:08.204Z] 9712f1f96733: Verifying Checksum [2020-12-10T15:49:08.204Z] 9712f1f96733: Download complete [2020-12-10T15:49:10.134Z] 63f879dbbcfc: Verifying Checksum [2020-12-10T15:49:10.134Z] 63f879dbbcfc: Download complete [2020-12-10T15:49:10.401Z] e9a5061849ea: Verifying Checksum [2020-12-10T15:49:10.401Z] e9a5061849ea: Download complete [2020-12-10T15:49:10.401Z] d747dcd14b5f: Download complete [2020-12-10T15:49:10.665Z] 0d9ebad4ef96: Verifying Checksum [2020-12-10T15:49:10.665Z] 0d9ebad4ef96: Download complete [2020-12-10T15:49:10.928Z] 2de7ff778b66: Verifying Checksum [2020-12-10T15:49:10.928Z] 2de7ff778b66: Download complete [2020-12-10T15:49:11.190Z] ab5ef0e58194: Verifying Checksum [2020-12-10T15:49:11.190Z] ab5ef0e58194: Download complete [2020-12-10T15:49:16.522Z] ab5ef0e58194: Pull complete [2020-12-10T15:49:16.522Z] 9712f1f96733: Pull complete [2020-12-10T15:49:17.936Z] 63f879dbbcfc: Pull complete [2020-12-10T15:49:24.576Z] 0d9ebad4ef96: Pull complete [2020-12-10T15:49:25.969Z] e9a5061849ea: Pull complete [2020-12-10T15:49:25.969Z] d747dcd14b5f: Pull complete [2020-12-10T15:49:28.544Z] 2de7ff778b66: Pull complete [2020-12-10T15:49:28.544Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2020-12-10T15:49:28.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2020-12-10T15:49:28.544Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2020-12-10T15:49:28.759Z] prd-centos7-docker-4c-2g-15394 does not seem to be running inside a container [2020-12-10T15:49:28.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2020-12-10T15:49:32.644Z] $ docker top 0425fb85a619543bb0d4d2e13f425fe719e94abb5e7256060479ed6fd2232f81 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2020-12-10T15:49:32.890Z] provisioning config files... [2020-12-10T15:49:32.899Z] copy managed file [sigul-config] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1090167732031734792tmp [2020-12-10T15:49:32.917Z] copy managed file [sigul-password] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config8841041602504265849tmp [2020-12-10T15:49:32.931Z] copy managed file [sigul-pki] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config7519361003977395974tmp [Pipeline] { [Pipeline] echo [2020-12-10T15:49:32.992Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:49:33.292Z] ---> sigul-configuration.sh [2020-12-10T15:49:33.292Z] gpg: directory `/root/.gnupg' created [2020-12-10T15:49:33.292Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2020-12-10T15:49:33.292Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2020-12-10T15:49:33.292Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2020-12-10T15:49:33.292Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2020-12-10T15:49:33.292Z] gpg: CAST5 encrypted data [2020-12-10T15:49:33.554Z] gpg: encrypted with 1 passphrase [2020-12-10T15:49:33.554Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2020-12-10T15:49:33.850Z] + mkdir /home/jenkins [2020-12-10T15:49:33.850Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2020-12-10T15:49:34.150Z] + 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 [2020-12-10T15:49:34.162Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:49:34.457Z] ---> sigul-install.sh [2020-12-10T15:49:39.771Z] Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh [2020-12-10T15:49:40.072Z] + git tag --list [2020-12-10T15:49:40.073Z] 0.7.1 [2020-12-10T15:49:40.073Z] v1.0.0 [2020-12-10T15:49:40.073Z] v1.1.0 [2020-12-10T15:49:40.073Z] v1.1.1 [2020-12-10T15:49:40.073Z] v1.2.1 [2020-12-10T15:49:40.073Z] v1.2.2 [2020-12-10T15:49:40.073Z] v1.2.2-dev.1 [2020-12-10T15:49:40.073Z] v1.2.2-dev.2 [2020-12-10T15:49:40.073Z] v1.2.2-dev.3 [2020-12-10T15:49:40.073Z] v1.2.3-dev.1 [2020-12-10T15:49:40.073Z] v1.2.3-dev.2 [2020-12-10T15:49:40.073Z] v1.2.3-dev.3 [2020-12-10T15:49:40.073Z] v1.2.3-dev.4 [2020-12-10T15:49:40.073Z] v1.2.3-dev.5 [2020-12-10T15:49:40.073Z] v1.2.3-dev.6 [2020-12-10T15:49:40.073Z] v1.2.3-dev.7 [2020-12-10T15:49:40.073Z] v1.2.3-dev.8 [2020-12-10T15:49:40.073Z] v1.2.3-dev.9 [2020-12-10T15:49:40.073Z] v1.3.0 [2020-12-10T15:49:40.073Z] v1.3.1-dev.1 [2020-12-10T15:49:40.073Z] v1.3.1-dev.2 [2020-12-10T15:49:40.073Z] v1.3.1-dev.3 [Pipeline] sh [2020-12-10T15:49:40.372Z] + lftools sign git-tag v1.3.1-dev.3 [2020-12-10T15:49:41.764Z] Signing Git tag with Sigul... [2020-12-10T15:49:41.764Z] Signing v1.3.1-dev.3 [Pipeline] echo [2020-12-10T15:49:42.721Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:49:43.020Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2020-12-10T15:49:43.030Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2020-12-10T15:49:43.135Z] $ docker stop --time=1 0425fb85a619543bb0d4d2e13f425fe719e94abb5e7256060479ed6fd2232f81 [2020-12-10T15:49:45.116Z] $ docker rm -f 0425fb85a619543bb0d4d2e13f425fe719e94abb5e7256060479ed6fd2232f81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:49:46.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T15:49:46.143Z] . [Pipeline] withDockerContainer [2020-12-10T15:49:46.243Z] prd-centos7-docker-4c-2g-15394 does not seem to be running inside a container [2020-12-10T15:49:46.293Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-10T15:49:47.116Z] $ docker top ad58aaef54adead67ccb5647346b012d93b38c9210a4f2b0bf59cf55829a9bdb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-10T15:49:47.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-10T15:49:47.436Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-10T15:49:47.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-10T15:49:47.677Z] $ docker exec ad58aaef54adead67ccb5647346b012d93b38c9210a4f2b0bf59cf55829a9bdb ssh-agent [2020-12-10T15:49:47.853Z] SSH_AUTH_SOCK=/tmp/ssh-HOwabdsWkp9X/agent.11 [2020-12-10T15:49:47.853Z] SSH_AGENT_PID=16 [2020-12-10T15:49:47.860Z] Running ssh-add (command line suppressed) [2020-12-10T15:49:47.991Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2721280941959675750.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_2721280941959675750.key) [2020-12-10T15:49:48.046Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-10T15:49:48.386Z] + git semver bump pre [2020-12-10T15:49:48.386Z] # -> Open(): unable to determine branch for HEAD [2020-12-10T15:49:48.386Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-12-10T15:49:48.386Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-12-10T15:49:48.386Z] # $SEMVER_REMOTE_NAME = origin [2020-12-10T15:49:48.386Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-10T15:49:48.386Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-10T15:49:48.386Z] # $SEMVER_BRANCH = master [2020-12-10T15:49:48.386Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [2020-12-10T15:49:48.386Z] 1.3.1-dev.4 [Pipeline] } [2020-12-10T15:49:48.401Z] $ docker exec --env ******** --env ******** ad58aaef54adead67ccb5647346b012d93b38c9210a4f2b0bf59cf55829a9bdb ssh-agent -k [2020-12-10T15:49:48.518Z] unset SSH_AUTH_SOCK; [2020-12-10T15:49:48.521Z] unset SSH_AGENT_PID; [2020-12-10T15:49:48.521Z] echo Agent pid 16 killed; [2020-12-10T15:49:48.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-10T15:49:49.038Z] + git semver [Pipeline] } [2020-12-10T15:49:49.057Z] $ docker stop --time=1 ad58aaef54adead67ccb5647346b012d93b38c9210a4f2b0bf59cf55829a9bdb [2020-12-10T15:49:50.425Z] $ docker rm -f ad58aaef54adead67ccb5647346b012d93b38c9210a4f2b0bf59cf55829a9bdb [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:49:50.949Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2020-12-10T15:49:50.950Z] . [Pipeline] withDockerContainer [2020-12-10T15:49:51.054Z] prd-centos7-docker-4c-2g-15394 does not seem to be running inside a container [2020-12-10T15:49:51.104Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-modbus-go_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2020-12-10T15:49:51.787Z] $ docker top 4c6c5e27acd60f6233553ce5e7d85e8201f1954c9cdb1e16e40671f7cf3d7b61 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2020-12-10T15:49:52.117Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2020-12-10T15:49:52.117Z] [ssh-agent] Looking for ssh-agent implementation... [2020-12-10T15:49:52.335Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2020-12-10T15:49:52.342Z] $ docker exec 4c6c5e27acd60f6233553ce5e7d85e8201f1954c9cdb1e16e40671f7cf3d7b61 ssh-agent [2020-12-10T15:49:52.581Z] SSH_AUTH_SOCK=/tmp/ssh-Ah1ZiXPAAOTX/agent.11 [2020-12-10T15:49:52.581Z] SSH_AGENT_PID=16 [2020-12-10T15:49:52.605Z] Running ssh-add (command line suppressed) [2020-12-10T15:49:52.758Z] Identity added: /w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3333112403739457204.key (/w/workspace/xfoundry_device-modbus-go_master@tmp/private_key_3333112403739457204.key) [2020-12-10T15:49:52.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2020-12-10T15:49:53.204Z] + git semver push [2020-12-10T15:49:53.204Z] # -> Open(): unable to determine branch for HEAD [2020-12-10T15:49:53.204Z] # $GIT_DIR = /w/workspace/xfoundry_device-modbus-go_master/.git [2020-12-10T15:49:53.204Z] # $GIT_WORK_TREE = /w/workspace/xfoundry_device-modbus-go_master [2020-12-10T15:49:53.204Z] # $SEMVER_REMOTE_NAME = origin [2020-12-10T15:49:53.204Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2020-12-10T15:49:53.204Z] # $SEMVER_USER_NAME = edgex-jenkins [2020-12-10T15:49:53.204Z] # $SEMVER_BRANCH = master [2020-12-10T15:49:53.204Z] # $SEMVER_DIR = /w/workspace/xfoundry_device-modbus-go_master/.semver [Pipeline] } [2020-12-10T15:49:59.818Z] $ docker exec --env ******** --env ******** 4c6c5e27acd60f6233553ce5e7d85e8201f1954c9cdb1e16e40671f7cf3d7b61 ssh-agent -k [2020-12-10T15:49:59.935Z] unset SSH_AUTH_SOCK; [2020-12-10T15:49:59.935Z] unset SSH_AGENT_PID; [2020-12-10T15:49:59.935Z] echo Agent pid 16 killed; [2020-12-10T15:49:59.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2020-12-10T15:50:00.637Z] + git semver [Pipeline] } [2020-12-10T15:50:00.655Z] $ docker stop --time=1 4c6c5e27acd60f6233553ce5e7d85e8201f1954c9cdb1e16e40671f7cf3d7b61 [2020-12-10T15:50:02.081Z] $ docker rm -f 4c6c5e27acd60f6233553ce5e7d85e8201f1954c9cdb1e16e40671f7cf3d7b61 [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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:50:03.573Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:50:04.460Z] ---> package-listing.sh [2020-12-10T15:50:04.460Z] ++ facter osfamily [2020-12-10T15:50:04.460Z] ++ tr '[:upper:]' '[:lower:]' [2020-12-10T15:50:04.460Z] + OS_FAMILY=redhat [2020-12-10T15:50:04.460Z] + workspace=/w/workspace/xfoundry_device-modbus-go_master [2020-12-10T15:50:04.460Z] + START_PACKAGES=/tmp/packages_start.txt [2020-12-10T15:50:04.460Z] + END_PACKAGES=/tmp/packages_end.txt [2020-12-10T15:50:04.460Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2020-12-10T15:50:04.460Z] + PACKAGES=/tmp/packages_start.txt [2020-12-10T15:50:04.460Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2020-12-10T15:50:04.460Z] + PACKAGES=/tmp/packages_end.txt [2020-12-10T15:50:04.460Z] + case "${OS_FAMILY}" in [2020-12-10T15:50:04.460Z] + rpm -qa [2020-12-10T15:50:04.460Z] + sort [2020-12-10T15:50:09.760Z] + '[' -f /tmp/packages_start.txt ']' [2020-12-10T15:50:09.760Z] + '[' -f /tmp/packages_end.txt ']' [2020-12-10T15:50:09.760Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2020-12-10T15:50:09.760Z] + '[' /w/workspace/xfoundry_device-modbus-go_master ']' [2020-12-10T15:50:09.760Z] + mkdir -p /w/workspace/xfoundry_device-modbus-go_master/archives/ [2020-12-10T15:50:09.760Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-modbus-go_master/archives/ [Pipeline] echo [2020-12-10T15:50:09.773Z] 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_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2020-12-10T15:50:10.061Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:50:10.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-10T15:50:10.367Z] [2020-12-10T15:50:10.367Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh [2020-12-10T15:50:10.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-10T15:50:10.718Z] alpine: Pulling from edgex-lftools-log-publisher [2020-12-10T15:50:10.718Z] df20fa9351a1: Pulling fs layer [2020-12-10T15:50:10.718Z] 36b3adc4ff6f: Pulling fs layer [2020-12-10T15:50:10.718Z] 8ad3a11d3b57: Pulling fs layer [2020-12-10T15:50:10.718Z] 46f8f816bc3b: Pulling fs layer [2020-12-10T15:50:10.718Z] 93b61091891f: Pulling fs layer [2020-12-10T15:50:10.718Z] 93b9cdb0e59b: Pulling fs layer [2020-12-10T15:50:10.718Z] 5e14af77c1be: Pulling fs layer [2020-12-10T15:50:10.718Z] 01666e4c0597: Pulling fs layer [2020-12-10T15:50:10.718Z] aa168da1d23b: Pulling fs layer [2020-12-10T15:50:10.718Z] 93b9cdb0e59b: Waiting [2020-12-10T15:50:10.718Z] 5e14af77c1be: Waiting [2020-12-10T15:50:10.718Z] 46f8f816bc3b: Waiting [2020-12-10T15:50:10.718Z] aa168da1d23b: Waiting [2020-12-10T15:50:10.718Z] 01666e4c0597: Waiting [2020-12-10T15:50:10.718Z] 93b61091891f: Waiting [2020-12-10T15:50:10.718Z] 36b3adc4ff6f: Verifying Checksum [2020-12-10T15:50:10.718Z] 36b3adc4ff6f: Download complete [2020-12-10T15:50:10.981Z] 46f8f816bc3b: Verifying Checksum [2020-12-10T15:50:10.981Z] 46f8f816bc3b: Download complete [2020-12-10T15:50:10.981Z] df20fa9351a1: Verifying Checksum [2020-12-10T15:50:10.981Z] df20fa9351a1: Download complete [2020-12-10T15:50:10.981Z] 93b9cdb0e59b: Verifying Checksum [2020-12-10T15:50:10.981Z] 93b9cdb0e59b: Download complete [2020-12-10T15:50:10.981Z] 5e14af77c1be: Verifying Checksum [2020-12-10T15:50:10.981Z] 5e14af77c1be: Download complete [2020-12-10T15:50:10.981Z] 93b61091891f: Verifying Checksum [2020-12-10T15:50:10.981Z] 93b61091891f: Download complete [2020-12-10T15:50:10.981Z] 01666e4c0597: Verifying Checksum [2020-12-10T15:50:10.981Z] 01666e4c0597: Download complete [2020-12-10T15:50:10.981Z] 8ad3a11d3b57: Verifying Checksum [2020-12-10T15:50:10.981Z] 8ad3a11d3b57: Download complete [2020-12-10T15:50:11.249Z] df20fa9351a1: Pull complete [2020-12-10T15:50:11.512Z] 36b3adc4ff6f: Pull complete [2020-12-10T15:50:12.906Z] aa168da1d23b: Verifying Checksum [2020-12-10T15:50:12.906Z] aa168da1d23b: Download complete [2020-12-10T15:50:13.170Z] 8ad3a11d3b57: Pull complete [2020-12-10T15:50:13.432Z] 46f8f816bc3b: Pull complete [2020-12-10T15:50:13.694Z] 93b61091891f: Pull complete [2020-12-10T15:50:13.959Z] 93b9cdb0e59b: Pull complete [2020-12-10T15:50:14.225Z] 5e14af77c1be: Pull complete [2020-12-10T15:50:14.225Z] 01666e4c0597: Pull complete [2020-12-10T15:50:22.388Z] aa168da1d23b: Pull complete [2020-12-10T15:50:22.388Z] Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c [2020-12-10T15:50:22.388Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [2020-12-10T15:50:22.388Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer [2020-12-10T15:50:22.580Z] prd-centos7-docker-4c-2g-15394 does not seem to be running inside a container [2020-12-10T15:50:22.630Z] $ 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_master/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_master -v /w/workspace/xfoundry_device-modbus-go_master:/w/workspace/xfoundry_device-modbus-go_master:rw,z -v /w/workspace/xfoundry_device-modbus-go_master@tmp:/w/workspace/xfoundry_device-modbus-go_master@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat [2020-12-10T15:50:25.372Z] $ docker top 32ad81f715374f67f185f9c2eec0b8e4508fbc7274eb144be08851adc8d0a726 -eo pid,comm [Pipeline] { [Pipeline] sh [2020-12-10T15:50:25.919Z] + touch /tmp/pre-build-complete [Pipeline] sh [2020-12-10T15:50:26.216Z] + mkdir -p /var/log/sa [Pipeline] sh [2020-12-10T15:50:26.514Z] + ls /var/log/sa-host [2020-12-10T15:50:26.514Z] + sadf -c /var/log/sa-host/sa10 [2020-12-10T15:50:26.514Z] file_magic: OK [2020-12-10T15:50:26.514Z] HZ: Using current value: 100 [2020-12-10T15:50:26.514Z] file_header: OK [2020-12-10T15:50:26.514Z] 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 [2020-12-10T15:50:26.514Z] Statistics: [2020-12-10T15:50:26.514Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2020-12-10T15:50:26.514Z] File successfully converted to sysstat format version 12.2.1 [2020-12-10T15:50:26.514Z] + sadf -c /var/log/sa-host/sa23 [2020-12-10T15:50:26.514Z] file_magic: OK [2020-12-10T15:50:26.514Z] HZ: Using current value: 100 [2020-12-10T15:50:26.514Z] file_header: OK [2020-12-10T15:50:26.514Z] 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 [2020-12-10T15:50:26.514Z] Statistics: [2020-12-10T15:50:26.514Z] Hnuu...uuuununununu... [2020-12-10T15:50:26.514Z] File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2020-12-10T15:50:26.754Z] provisioning config files... [2020-12-10T15:50:26.776Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-modbus-go_master@tmp/config1709279205066797556tmp [Pipeline] { [Pipeline] echo [2020-12-10T15:50:26.842Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:50:27.141Z] ---> create-netrc.sh [Pipeline] } [2020-12-10T15:50:27.151Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo [2020-12-10T15:50:27.238Z] Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:50:27.539Z] ---> python-tools-install.sh [Pipeline] echo [2020-12-10T15:50:27.550Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:50:27.845Z] ---> sudo-logs.sh [2020-12-10T15:50:27.845Z] Archiving 'sudo' log.. [Pipeline] echo [2020-12-10T15:50:27.856Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:50:28.153Z] ---> job-cost.sh [2020-12-10T15:50:28.153Z] lf-activate-venv: SKIPPING [2020-12-10T15:50:28.153Z] INFO: No Stack... [2020-12-10T15:50:29.101Z] INFO: Retrieving Pricing Info for: v1-standard-2 [2020-12-10T15:50:29.674Z] INFO: Archiving Costs [Pipeline] echo [2020-12-10T15:50:29.688Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2020-12-10T15:50:29.986Z] ---> logs-deploy.sh [2020-12-10T15:50:29.986Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/master/31 [2020-12-10T15:50:29.986Z] INFO: archiving workspace using pattern(s): [2020-12-10T15:50:31.907Z] Archives upload complete. [2020-12-10T15:50:31.907Z] INFO: archiving logs to Nexus