Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a13dc8cbc9452d90b2dd7765ba07908e93b105b Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15532099675963827166.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh923645937630332811.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6298667627155142637.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14783485804971700661.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-modbus-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12871592133614211155.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-modbus DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-centos7-docker-4c-2g-2479 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-modbus-go.git > git init /w/workspace/gexfoundry_device-modbus-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-modbus-go_main@tmp/jenkins-gitclient-ssh3321033479265733523.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 4a13dc8cbc9452d90b2dd7765ba07908e93b105b (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 Commit message: "Merge pull request #307 from ernestojeda/go-1_17-module-changes" > git rev-list --no-walk 111b0946ec5749ca592e50224ec8488a26173b9a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T18:15:55.124Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T18:15:55.189Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T18:15:55.215Z] ========================================================= [2022-01-20T18:15:55.215Z] EdgeX Global Pipelines Version Info [2022-01-20T18:15:55.215Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:15:56.358Z] ------------------- [2022-01-20T18:15:56.358Z] stable info: [2022-01-20T18:15:56.358Z] ------------------- [2022-01-20T18:15:56.358Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T18:15:56.358Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:15:56.358Z] Message: update stable to v1.0.219 [2022-01-20T18:15:56.938Z] ------------------- [2022-01-20T18:15:56.938Z] experimental info: [2022-01-20T18:15:56.938Z] ------------------- [2022-01-20T18:15:56.938Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T18:15:56.938Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T18:15:56.938Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T18:15:57.096Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-modbus-go-settings [Pipeline] echo [2022-01-20T18:15:57.108Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-modbus-go [Pipeline] echo [2022-01-20T18:15:57.122Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T18:15:57.144Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T18:15:57.160Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T18:15:57.179Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T18:15:57.194Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T18:15:57.209Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T18:15:57.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T18:15:57.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T18:15:57.253Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T18:15:57.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-modbus [Pipeline] echo [2022-01-20T18:15:57.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T18:15:57.296Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T18:15:57.315Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:15:57.336Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T18:15:57.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:15:57.366Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T18:15:57.382Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T18:15:57.398Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-20T18:15:57.414Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T18:15:57.431Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T18:15:57.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T18:15:57.465Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T18:15:57.479Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T18:15:57.497Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T18:15:57.513Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-20T18:15:57.530Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-20T18:15:57.544Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-20T18:15:57.558Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] echo [2022-01-20T18:15:57.571Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a13dc8 [Pipeline] echo [2022-01-20T18:15:57.583Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:15:57.626Z] provisioning config files... [2022-01-20T18:15:57.645Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config2148917500168719320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:15:57.973Z] ---> docker-login.sh [2022-01-20T18:15:57.974Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:15:57.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:15:58.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:15:58.234Z] Configure a credential helper to remove this warning. See [2022-01-20T18:15:58.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:15:58.234Z] [2022-01-20T18:15:58.234Z] Login Succeeded [2022-01-20T18:15:58.234Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:15:58.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:15:58.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:15:58.234Z] Configure a credential helper to remove this warning. See [2022-01-20T18:15:58.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:15:58.234Z] [2022-01-20T18:15:58.234Z] Login Succeeded [2022-01-20T18:15:58.234Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:15:58.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:15:58.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:15:58.499Z] Configure a credential helper to remove this warning. See [2022-01-20T18:15:58.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:15:58.499Z] [2022-01-20T18:15:58.499Z] Login Succeeded [2022-01-20T18:15:58.499Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:15:58.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:15:58.499Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:15:58.499Z] Configure a credential helper to remove this warning. See [2022-01-20T18:15:58.499Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:15:58.499Z] [2022-01-20T18:15:58.499Z] Login Succeeded [2022-01-20T18:15:58.499Z] docker.io [2022-01-20T18:15:58.499Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:15:58.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:15:58.764Z] Configure a credential helper to remove this warning. See [2022-01-20T18:15:58.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:15:58.764Z] [2022-01-20T18:15:58.764Z] Login Succeeded [2022-01-20T18:15:58.764Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:15:58.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T18:15:59.146Z] + git rev-list -1 --merges 4a13dc8cbc9452d90b2dd7765ba07908e93b105b~1..4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] echo [2022-01-20T18:15:59.175Z] -----------> git rev-list -1 --merges 4a13dc8cbc9452d90b2dd7765ba07908e93b105b~1..4a13dc8cbc9452d90b2dd7765ba07908e93b105b 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:15:59.175Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [false] [Pipeline] sh [2022-01-20T18:15:59.491Z] + git log --format=format:%s -1 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] echo [2022-01-20T18:15:59.510Z] ========================================================= [2022-01-20T18:15:59.510Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T18:15:59.510Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:15:59.864Z] + git log --format=format:%s -1 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] echo [2022-01-20T18:15:59.875Z] [semverPrep] GIT_COMMIT: 4a13dc8cbc9452d90b2dd7765ba07908e93b105b, Commit Message: Merge pull request #307 from ernestojeda/go-1_17-module-changes [Pipeline] echo [2022-01-20T18:15:59.885Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T18:16:00.272Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:16:00.272Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T18:16:00.272Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T18:16:00.272Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T18:16:00.272Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T18:16:00.272Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T18:16:00.272Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:16:00.699Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:16:00.699Z] [2022-01-20T18:16:00.699Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:16:01.013Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:16:01.013Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T18:16:01.013Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T18:16:01.013Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T18:16:01.013Z] 4c7163046ea9: Pulling fs layer [2022-01-20T18:16:01.013Z] 0c2d73faf560: Pulling fs layer [2022-01-20T18:16:01.013Z] 0c2d73faf560: Waiting [2022-01-20T18:16:01.013Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T18:16:01.013Z] 3e5f54012d9b: Download complete [2022-01-20T18:16:01.276Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T18:16:01.276Z] a0d0a0d46f8b: Download complete [2022-01-20T18:16:01.276Z] 0c2d73faf560: Verifying Checksum [2022-01-20T18:16:01.276Z] 0c2d73faf560: Download complete [2022-01-20T18:16:01.276Z] 4c7163046ea9: Verifying Checksum [2022-01-20T18:16:01.276Z] 4c7163046ea9: Download complete [2022-01-20T18:16:01.536Z] a0d0a0d46f8b: Pull complete [2022-01-20T18:16:01.536Z] 3e5f54012d9b: Pull complete [2022-01-20T18:16:02.112Z] 4c7163046ea9: Pull complete [2022-01-20T18:16:02.112Z] 0c2d73faf560: Pull complete [2022-01-20T18:16:02.112Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T18:16:02.112Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:16:02.373Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T18:16:02.460Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:16:02.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:16:03.147Z] $ docker top e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:16:03.241Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:16:03.241Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:16:03.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:16:03.335Z] $ docker exec e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 ssh-agent [2022-01-20T18:16:03.422Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgOiFbP/agent.14 [2022-01-20T18:16:03.422Z] SSH_AGENT_PID=21 [2022-01-20T18:16:03.437Z] Running ssh-add (command line suppressed) [2022-01-20T18:16:03.526Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4544420073915628152.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_4544420073915628152.key) [2022-01-20T18:16:03.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:16:03.839Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T18:16:03.858Z] $ docker exec --env ******** --env ******** e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 ssh-agent -k [2022-01-20T18:16:03.949Z] unset SSH_AUTH_SOCK; [2022-01-20T18:16:03.950Z] unset SSH_AGENT_PID; [2022-01-20T18:16:03.950Z] echo Agent pid 21 killed; [2022-01-20T18:16:03.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T18:16:03.981Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:16:03.981Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:16:04.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:16:04.082Z] $ docker exec e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 ssh-agent [2022-01-20T18:16:04.177Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMJHObE/agent.57 [2022-01-20T18:16:04.177Z] SSH_AGENT_PID=64 [2022-01-20T18:16:04.182Z] Running ssh-add (command line suppressed) [2022-01-20T18:16:04.271Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7888013702172759604.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_7888013702172759604.key) [2022-01-20T18:16:04.292Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:16:04.587Z] + git semver init [2022-01-20T18:16:04.587Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:16:04.587Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-20T18:16:04.587Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-20T18:16:04.587Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:16:04.587Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:16:04.587Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:16:04.587Z] # $SEMVER_BRANCH = main [2022-01-20T18:16:04.587Z] # $SEMVER_TEMP = /tmp/semver-902238750 [2022-01-20T18:16:04.587Z] # git clone --branch semver git@github.com:edgexfoundry/device-modbus-go.git $SEMVER_TEMP [2022-01-20T18:16:05.530Z] # '/tmp/semver-902238750' -> '/w/workspace/gexfoundry_device-modbus-go_main/.semver' [2022-01-20T18:16:05.530Z] # -> Force: false [2022-01-20T18:16:05.530Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-01-20T18:16:05.541Z] $ docker exec --env ******** --env ******** e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 ssh-agent -k [2022-01-20T18:16:05.627Z] unset SSH_AUTH_SOCK; [2022-01-20T18:16:05.627Z] unset SSH_AGENT_PID; [2022-01-20T18:16:05.627Z] echo Agent pid 64 killed; [2022-01-20T18:16:05.635Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:16:05.948Z] + git semver [Pipeline] } [2022-01-20T18:16:05.961Z] $ docker stop --time=1 e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 [2022-01-20T18:16:07.192Z] $ docker rm -f e33b010edd78bd93f82c346f9047468ea7bdd8287dc270b2e3ea60999be863a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:16:07.539Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T18:16:07.784Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T18:16:07.788Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.5 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:16:07.936Z] provisioning config files... [2022-01-20T18:16:07.948Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7248819014269736746tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:16:08.254Z] ---> docker-login.sh [2022-01-20T18:16:08.254Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:16:08.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:16:08.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:16:08.254Z] Configure a credential helper to remove this warning. See [2022-01-20T18:16:08.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:16:08.254Z] [2022-01-20T18:16:08.254Z] Login Succeeded [2022-01-20T18:16:08.254Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:16:08.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:16:08.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:16:08.254Z] Configure a credential helper to remove this warning. See [2022-01-20T18:16:08.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:16:08.254Z] [2022-01-20T18:16:08.254Z] Login Succeeded [2022-01-20T18:16:08.254Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:16:08.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:16:08.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:16:08.516Z] Configure a credential helper to remove this warning. See [2022-01-20T18:16:08.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:16:08.516Z] [2022-01-20T18:16:08.516Z] Login Succeeded [2022-01-20T18:16:08.516Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:16:08.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:16:08.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:16:08.516Z] Configure a credential helper to remove this warning. See [2022-01-20T18:16:08.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:16:08.516Z] [2022-01-20T18:16:08.516Z] Login Succeeded [2022-01-20T18:16:08.516Z] docker.io [2022-01-20T18:16:08.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:16:09.038Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:16:09.038Z] Configure a credential helper to remove this warning. See [2022-01-20T18:16:09.038Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:16:09.038Z] [2022-01-20T18:16:09.038Z] Login Succeeded [2022-01-20T18:16:09.038Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:16:09.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:16:09.129Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:16:09.142Z] ========================================================= [2022-01-20T18:16:09.142Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T18:16:09.142Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:16:09.467Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-20T18:16:09.467Z] Sending build context to Docker daemon 5.697MB [2022-01-20T18:16:09.467Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:16:09.467Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-20T18:16:09.736Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T18:16:09.736Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T18:16:09.736Z] 666ba61612fd: Pulling fs layer [2022-01-20T18:16:09.736Z] 8ed8ca486205: Pulling fs layer [2022-01-20T18:16:09.736Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T18:16:09.736Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T18:16:09.736Z] f965cba54748: Pulling fs layer [2022-01-20T18:16:09.736Z] 861ffc35075e: Pulling fs layer [2022-01-20T18:16:09.736Z] 4b385c91608e: Pulling fs layer [2022-01-20T18:16:09.736Z] 560528eb2ebb: Pulling fs layer [2022-01-20T18:16:09.736Z] 4fe6c5a15a65: Waiting [2022-01-20T18:16:09.736Z] 22a0e8bec74d: Waiting [2022-01-20T18:16:09.736Z] f965cba54748: Waiting [2022-01-20T18:16:09.736Z] 861ffc35075e: Waiting [2022-01-20T18:16:09.736Z] 4b385c91608e: Waiting [2022-01-20T18:16:09.736Z] 560528eb2ebb: Waiting [2022-01-20T18:16:09.736Z] 8ed8ca486205: Verifying Checksum [2022-01-20T18:16:09.736Z] 8ed8ca486205: Download complete [2022-01-20T18:16:09.736Z] 666ba61612fd: Verifying Checksum [2022-01-20T18:16:09.737Z] 666ba61612fd: Download complete [2022-01-20T18:16:09.737Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T18:16:09.737Z] 22a0e8bec74d: Download complete [2022-01-20T18:16:09.737Z] f965cba54748: Verifying Checksum [2022-01-20T18:16:09.737Z] f965cba54748: Download complete [2022-01-20T18:16:09.737Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T18:16:09.737Z] 59bf1c3509f3: Download complete [2022-01-20T18:16:09.737Z] 861ffc35075e: Verifying Checksum [2022-01-20T18:16:09.737Z] 861ffc35075e: Download complete [2022-01-20T18:16:09.737Z] 4b385c91608e: Verifying Checksum [2022-01-20T18:16:09.737Z] 4b385c91608e: Download complete [2022-01-20T18:16:10.331Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T18:16:10.331Z] 4fe6c5a15a65: Download complete [2022-01-20T18:16:10.331Z] 59bf1c3509f3: Pull complete [2022-01-20T18:16:10.331Z] 560528eb2ebb: Verifying Checksum [2022-01-20T18:16:10.331Z] 560528eb2ebb: Download complete [2022-01-20T18:16:10.331Z] 666ba61612fd: Pull complete [2022-01-20T18:16:10.594Z] 8ed8ca486205: Pull complete [2022-01-20T18:16:14.850Z] 4fe6c5a15a65: Pull complete [2022-01-20T18:16:14.850Z] 22a0e8bec74d: Pull complete [2022-01-20T18:16:14.850Z] f965cba54748: Pull complete [2022-01-20T18:16:14.850Z] 861ffc35075e: Pull complete [2022-01-20T18:16:14.850Z] 4b385c91608e: Pull complete [2022-01-20T18:16:16.771Z] 560528eb2ebb: Pull complete [2022-01-20T18:16:16.771Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T18:16:16.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T18:16:16.771Z] ---> dd4a08f94e63 [2022-01-20T18:16:16.771Z] Step 3/10 : ARG MAKE='make build' [2022-01-20T18:16:19.314Z] ---> Running in 181c4a5f8421 [2022-01-20T18:16:19.314Z] Removing intermediate container 181c4a5f8421 [2022-01-20T18:16:19.314Z] ---> d8264570e733 [2022-01-20T18:16:19.314Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:16:19.314Z] ---> Running in 96770405d138 [2022-01-20T18:16:19.576Z] Removing intermediate container 96770405d138 [2022-01-20T18:16:19.576Z] ---> 06997d045d28 [2022-01-20T18:16:19.576Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-20T18:16:19.835Z] ---> Running in 0c65f751bbe0 [2022-01-20T18:16:19.835Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:16:20.773Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:16:21.033Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:16:21.294Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-01-20T18:16:21.294Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:16:21.294Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:16:21.555Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-01-20T18:16:21.555Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-01-20T18:16:21.814Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-01-20T18:16:21.814Z] (8/8) Installing openssh (8.8_p1-r1) [2022-01-20T18:16:21.814Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:16:21.814Z] OK: 226 MiB in 60 packages [2022-01-20T18:16:22.397Z] Removing intermediate container 0c65f751bbe0 [2022-01-20T18:16:22.397Z] ---> 936ade35a9b0 [2022-01-20T18:16:22.397Z] Step 6/10 : WORKDIR /device-modbus-go [2022-01-20T18:16:22.397Z] ---> Running in 53dbac9ea865 [2022-01-20T18:16:22.397Z] Removing intermediate container 53dbac9ea865 [2022-01-20T18:16:22.397Z] ---> 23a6804c3018 [2022-01-20T18:16:22.397Z] Step 7/10 : COPY go.mod vendor* ./ [2022-01-20T18:16:22.658Z] ---> 90b21c86de57 [2022-01-20T18:16:22.658Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:16:22.658Z] ---> Running in c7afa14d1097 [2022-01-20T18:16:22.888Z] Still waiting to schedule task [2022-01-20T18:16:22.888Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2022-01-20T18:16:54.808Z] Removing intermediate container c7afa14d1097 [2022-01-20T18:16:54.808Z] ---> 39a02dd70acb [2022-01-20T18:16:54.808Z] Step 9/10 : COPY . . [2022-01-20T18:16:54.808Z] ---> 498b7285f944 [2022-01-20T18:16:54.808Z] Step 10/10 : RUN ${MAKE} [2022-01-20T18:16:54.808Z] ---> Running in f49724f190ef [2022-01-20T18:16:54.808Z] noop [2022-01-20T18:16:54.808Z] Removing intermediate container f49724f190ef [2022-01-20T18:16:54.808Z] ---> 9b23858b9427 [2022-01-20T18:16:54.808Z] Successfully built 9b23858b9427 [2022-01-20T18:16:54.808Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:16:55.109Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:16:55.109Z] . [Pipeline] withDockerContainer [2022-01-20T18:16:55.172Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:16:55.221Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-20T18:16:55.573Z] $ docker top 63b3213b82c91c5fd053f07bc2894bc2274855a695fe5cbdfe8ffb4c236153cc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:16:55.918Z] + go version [2022-01-20T18:16:55.918Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T18:16:55.928Z] $ docker stop --time=1 63b3213b82c91c5fd053f07bc2894bc2274855a695fe5cbdfe8ffb4c236153cc [2022-01-20T18:16:57.097Z] $ docker rm -f 63b3213b82c91c5fd053f07bc2894bc2274855a695fe5cbdfe8ffb4c236153cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:16:57.494Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T18:16:57.494Z] . [Pipeline] withDockerContainer [2022-01-20T18:16:57.564Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:16:57.595Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-01-20T18:16:57.967Z] $ docker top e39792a55a991f6baefbb19e2227d8752d49e0137a84d90538bc35ee1f26eba4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:16:58.356Z] + make test [2022-01-20T18:16:58.356Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T18:16:58.617Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-01-20T18:17:13.597Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-01-20T18:17:13.597Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.008s coverage: 46.6% of statements [2022-01-20T18:17:13.597Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:17:18.911Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:17:18.911Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:17:18.911Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:17:19.184Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:17:19.195Z] $ docker stop --time=1 e39792a55a991f6baefbb19e2227d8752d49e0137a84d90538bc35ee1f26eba4 [2022-01-20T18:17:20.751Z] $ docker rm -f e39792a55a991f6baefbb19e2227d8752d49e0137a84d90538bc35ee1f26eba4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:17:21.147Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:17:21.185Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T18:17:22.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:17:22.454Z] + ls -al . [2022-01-20T18:17:22.454Z] total 152 [2022-01-20T18:17:22.454Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 18:17 . [2022-01-20T18:17:22.454Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 18:15 .. [2022-01-20T18:17:22.454Z] -rw-rw-r--. 1 jenkins jenkins 8010 Jan 20 18:15 Attribution.txt [2022-01-20T18:17:22.454Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 20 18:15 bin [2022-01-20T18:17:22.454Z] -rw-rw-r--. 1 jenkins jenkins 6038 Jan 20 18:15 CHANGELOG.md [2022-01-20T18:17:22.454Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 18:15 cmd [2022-01-20T18:17:22.455Z] -rw-r--r--. 1 jenkins jenkins 23727 Jan 20 18:17 coverage.out [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 1546 Jan 20 18:15 Dockerfile [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 18:15 .dockerignore [2022-01-20T18:17:22.455Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 18:15 .git [2022-01-20T18:17:22.455Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 18:15 .github [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 331 Jan 20 18:15 .gitignore [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 2960 Jan 20 18:15 go.mod [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 49511 Jan 20 18:15 go.sum [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 18:15 GOVERNANCE.md [2022-01-20T18:17:22.455Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 18:15 internal [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 679 Jan 20 18:15 Jenkinsfile [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 18:15 LICENSE [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 1009 Jan 20 18:15 Makefile [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 622 Jan 20 18:15 OWNERS.md [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 3488 Jan 20 18:15 README.md [2022-01-20T18:17:22.455Z] drwx------. 3 jenkins jenkins 57 Jan 20 18:16 .semver [2022-01-20T18:17:22.455Z] drwxrwxr-x. 2 jenkins jenkins 52 Jan 20 18:15 simulator [2022-01-20T18:17:22.455Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 18:15 snap [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 18:16 VERSION [2022-01-20T18:17:22.455Z] -rw-rw-r--. 1 jenkins jenkins 229 Jan 20 18:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:22.759Z] + docker build -t device-modbus -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=4a13dc8cbc9452d90b2dd7765ba07908e93b105b --label arch=amd64 --label version=2.2.0-dev.5 . [2022-01-20T18:17:22.759Z] Sending build context to Docker daemon 5.722MB [2022-01-20T18:17:22.759Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:17:22.759Z] Step 2/23 : FROM ${BASE} AS builder [2022-01-20T18:17:22.759Z] ---> 9b23858b9427 [2022-01-20T18:17:22.759Z] Step 3/23 : ARG MAKE='make build' [2022-01-20T18:17:22.759Z] ---> Running in 2b2d5da26c34 [2022-01-20T18:17:23.028Z] Removing intermediate container 2b2d5da26c34 [2022-01-20T18:17:23.028Z] ---> ec0f875674ce [2022-01-20T18:17:23.028Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:17:23.028Z] ---> Running in 297cf4d3a58d [2022-01-20T18:17:23.600Z] Removing intermediate container 297cf4d3a58d [2022-01-20T18:17:23.600Z] ---> cced3614e65e [2022-01-20T18:17:23.600Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-20T18:17:23.600Z] ---> Running in 8d39f0c9523b [2022-01-20T18:17:23.859Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:17:24.797Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:17:25.060Z] OK: 226 MiB in 60 packages [2022-01-20T18:17:25.319Z] Removing intermediate container 8d39f0c9523b [2022-01-20T18:17:25.319Z] ---> 9477b4926d21 [2022-01-20T18:17:25.319Z] Step 6/23 : WORKDIR /device-modbus-go [2022-01-20T18:17:25.319Z] ---> Running in b39471203f97 [2022-01-20T18:17:25.319Z] Removing intermediate container b39471203f97 [2022-01-20T18:17:25.319Z] ---> 35a9137f117f [2022-01-20T18:17:25.319Z] Step 7/23 : COPY go.mod vendor* ./ [2022-01-20T18:17:25.579Z] ---> 6881319e9c57 [2022-01-20T18:17:25.579Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:17:25.579Z] ---> Running in 99104ac9a16a [2022-01-20T18:17:26.159Z] Removing intermediate container 99104ac9a16a [2022-01-20T18:17:26.159Z] ---> 2470902d3079 [2022-01-20T18:17:26.159Z] Step 9/23 : COPY . . [2022-01-20T18:17:26.419Z] ---> e263ddfef332 [2022-01-20T18:17:26.419Z] Step 10/23 : RUN ${MAKE} [2022-01-20T18:17:26.419Z] ---> Running in a7a7eb1658fd [2022-01-20T18:17:26.686Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.5" -o cmd/device-modbus ./cmd [2022-01-20T18:17:41.725Z] Removing intermediate container a7a7eb1658fd [2022-01-20T18:17:41.725Z] ---> 08a964c59b4a [2022-01-20T18:17:41.725Z] Step 11/23 : FROM alpine:3.14 [2022-01-20T18:17:41.725Z] 3.14: Pulling from library/alpine [2022-01-20T18:17:41.725Z] 97518928ae5f: Pulling fs layer [2022-01-20T18:17:41.725Z] 97518928ae5f: Verifying Checksum [2022-01-20T18:17:41.725Z] 97518928ae5f: Download complete [2022-01-20T18:17:41.725Z] 97518928ae5f: Pull complete [2022-01-20T18:17:41.725Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:17:41.725Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:17:41.725Z] ---> 0a97eee8041e [2022-01-20T18:17:41.725Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-01-20T18:17:41.725Z] ---> Running in 96e518eab68b [2022-01-20T18:17:41.725Z] Removing intermediate container 96e518eab68b [2022-01-20T18:17:41.725Z] ---> 2bbe6df33999 [2022-01-20T18:17:41.725Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:17:41.725Z] ---> Running in 6d0f762e6462 [2022-01-20T18:17:41.725Z] Removing intermediate container 6d0f762e6462 [2022-01-20T18:17:41.725Z] ---> f570d1f47f8d [2022-01-20T18:17:41.725Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:17:41.725Z] ---> Running in 8e17a56523e3 [2022-01-20T18:17:41.725Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T18:17:42.677Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T18:17:42.937Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:17:42.937Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:17:42.937Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:17:43.196Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:17:43.196Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:17:43.458Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:17:43.458Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:17:43.458Z] OK: 8 MiB in 20 packages [2022-01-20T18:17:43.723Z] Removing intermediate container 8e17a56523e3 [2022-01-20T18:17:43.723Z] ---> 6c0e10f0b1d9 [2022-01-20T18:17:43.723Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-01-20T18:17:43.988Z] ---> c57bc1a95c20 [2022-01-20T18:17:43.988Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-01-20T18:17:44.248Z] ---> 9cd861a3a341 [2022-01-20T18:17:44.248Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-01-20T18:17:44.248Z] ---> 0a584bf73ac8 [2022-01-20T18:17:44.248Z] Step 18/23 : EXPOSE 59901 [2022-01-20T18:17:44.509Z] ---> Running in feb1059e2a35 [2022-01-20T18:17:44.509Z] Removing intermediate container feb1059e2a35 [2022-01-20T18:17:44.509Z] ---> 3bf465ae124c [2022-01-20T18:17:44.509Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-01-20T18:17:44.509Z] ---> Running in cf826995614f [2022-01-20T18:17:44.509Z] Removing intermediate container cf826995614f [2022-01-20T18:17:44.509Z] ---> cd14f4ce6af2 [2022-01-20T18:17:44.509Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T18:17:44.509Z] ---> Running in 54608d1201f0 [2022-01-20T18:17:44.771Z] Removing intermediate container 54608d1201f0 [2022-01-20T18:17:44.771Z] ---> 8d0699f3b1ce [2022-01-20T18:17:44.771Z] Step 21/23 : LABEL arch=amd64 [2022-01-20T18:17:44.771Z] ---> Running in 023a0512aa94 [2022-01-20T18:17:44.771Z] Removing intermediate container 023a0512aa94 [2022-01-20T18:17:44.771Z] ---> 49b9231c6d60 [2022-01-20T18:17:44.771Z] Step 22/23 : LABEL git_sha=4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:17:44.771Z] ---> Running in 90dbd57b96cf [2022-01-20T18:17:45.031Z] Removing intermediate container 90dbd57b96cf [2022-01-20T18:17:45.031Z] ---> fc6a9fde773e [2022-01-20T18:17:45.031Z] Step 23/23 : LABEL version=2.2.0-dev.5 [2022-01-20T18:17:45.031Z] ---> Running in 95e8acd525ca [2022-01-20T18:17:45.291Z] Removing intermediate container 95e8acd525ca [2022-01-20T18:17:45.291Z] ---> 180561b723e6 [2022-01-20T18:17:45.291Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:17:45.291Z] Successfully built 180561b723e6 [2022-01-20T18:17:45.291Z] Successfully tagged device-modbus:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:17:45.378Z] provisioning config files... [2022-01-20T18:17:45.390Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8336486005303931756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:17:45.716Z] ---> docker-login.sh [2022-01-20T18:17:45.716Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:17:45.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:17:45.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:17:45.716Z] Configure a credential helper to remove this warning. See [2022-01-20T18:17:45.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:17:45.716Z] [2022-01-20T18:17:45.716Z] Login Succeeded [2022-01-20T18:17:45.716Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:17:45.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:17:45.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:17:45.716Z] Configure a credential helper to remove this warning. See [2022-01-20T18:17:45.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:17:45.716Z] [2022-01-20T18:17:45.716Z] Login Succeeded [2022-01-20T18:17:45.716Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:17:45.975Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:17:45.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:17:45.976Z] Configure a credential helper to remove this warning. See [2022-01-20T18:17:45.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:17:45.976Z] [2022-01-20T18:17:45.976Z] Login Succeeded [2022-01-20T18:17:45.976Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:17:45.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:17:45.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:17:45.976Z] Configure a credential helper to remove this warning. See [2022-01-20T18:17:45.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:17:45.976Z] [2022-01-20T18:17:45.976Z] Login Succeeded [2022-01-20T18:17:45.976Z] docker.io [2022-01-20T18:17:46.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:17:46.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:17:46.496Z] Configure a credential helper to remove this warning. See [2022-01-20T18:17:46.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:17:46.496Z] [2022-01-20T18:17:46.496Z] Login Succeeded [2022-01-20T18:17:46.496Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:17:46.504Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:17:46.540Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:17:46.568Z] [edgeXDocker.push] Tagging docker image device-modbus with the following tags: [2022-01-20T18:17:46.568Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:17:46.568Z] latest [2022-01-20T18:17:46.568Z] 2.2.0-dev.5 [2022-01-20T18:17:46.568Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [2022-01-20T18:17:46.568Z] main [2022-01-20T18:17:46.568Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:46.881Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:47.180Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:17:47.180Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-20T18:17:47.180Z] e30c6be16d55: Preparing [2022-01-20T18:17:47.180Z] f9208a0faf63: Preparing [2022-01-20T18:17:47.180Z] 5eb04de78ac2: Preparing [2022-01-20T18:17:47.180Z] 7ec4fa780bf9: Preparing [2022-01-20T18:17:47.180Z] a362ab3b3456: Preparing [2022-01-20T18:17:47.180Z] 1a058d5342cc: Preparing [2022-01-20T18:17:47.180Z] 1a058d5342cc: Waiting [2022-01-20T18:17:47.443Z] e30c6be16d55: Pushed [2022-01-20T18:17:47.443Z] 1a058d5342cc: Layer already exists [2022-01-20T18:17:47.443Z] f9208a0faf63: Pushed [2022-01-20T18:17:47.443Z] a362ab3b3456: Pushed [2022-01-20T18:17:47.443Z] 7ec4fa780bf9: Pushed [2022-01-20T18:17:48.378Z] 5eb04de78ac2: Pushed [2022-01-20T18:17:48.378Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:48.675Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:48.974Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-01-20T18:17:48.974Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-20T18:17:48.974Z] e30c6be16d55: Preparing [2022-01-20T18:17:48.974Z] f9208a0faf63: Preparing [2022-01-20T18:17:48.974Z] 5eb04de78ac2: Preparing [2022-01-20T18:17:48.974Z] 7ec4fa780bf9: Preparing [2022-01-20T18:17:48.974Z] a362ab3b3456: Preparing [2022-01-20T18:17:48.974Z] 1a058d5342cc: Preparing [2022-01-20T18:17:48.974Z] 1a058d5342cc: Waiting [2022-01-20T18:17:48.974Z] 5eb04de78ac2: Layer already exists [2022-01-20T18:17:48.974Z] a362ab3b3456: Layer already exists [2022-01-20T18:17:48.974Z] e30c6be16d55: Layer already exists [2022-01-20T18:17:48.974Z] f9208a0faf63: Layer already exists [2022-01-20T18:17:48.974Z] 7ec4fa780bf9: Layer already exists [2022-01-20T18:17:48.974Z] 1a058d5342cc: Layer already exists [2022-01-20T18:17:48.974Z] latest: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:49.271Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:49.566Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.5 [2022-01-20T18:17:49.566Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-20T18:17:49.566Z] e30c6be16d55: Preparing [2022-01-20T18:17:49.566Z] f9208a0faf63: Preparing [2022-01-20T18:17:49.566Z] 5eb04de78ac2: Preparing [2022-01-20T18:17:49.566Z] 7ec4fa780bf9: Preparing [2022-01-20T18:17:49.566Z] a362ab3b3456: Preparing [2022-01-20T18:17:49.566Z] 1a058d5342cc: Preparing [2022-01-20T18:17:49.566Z] 1a058d5342cc: Waiting [2022-01-20T18:17:49.566Z] f9208a0faf63: Layer already exists [2022-01-20T18:17:49.566Z] a362ab3b3456: Layer already exists [2022-01-20T18:17:49.566Z] 7ec4fa780bf9: Layer already exists [2022-01-20T18:17:49.566Z] e30c6be16d55: Layer already exists [2022-01-20T18:17:49.566Z] 5eb04de78ac2: Layer already exists [2022-01-20T18:17:49.566Z] 1a058d5342cc: Layer already exists [2022-01-20T18:17:49.566Z] 2.2.0-dev.5: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:49.869Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:50.160Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [2022-01-20T18:17:50.160Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-20T18:17:50.160Z] e30c6be16d55: Preparing [2022-01-20T18:17:50.160Z] f9208a0faf63: Preparing [2022-01-20T18:17:50.160Z] 5eb04de78ac2: Preparing [2022-01-20T18:17:50.160Z] 7ec4fa780bf9: Preparing [2022-01-20T18:17:50.160Z] a362ab3b3456: Preparing [2022-01-20T18:17:50.160Z] 1a058d5342cc: Preparing [2022-01-20T18:17:50.160Z] 1a058d5342cc: Waiting [2022-01-20T18:17:50.160Z] a362ab3b3456: Layer already exists [2022-01-20T18:17:50.160Z] f9208a0faf63: Layer already exists [2022-01-20T18:17:50.160Z] 7ec4fa780bf9: Layer already exists [2022-01-20T18:17:50.160Z] e30c6be16d55: Layer already exists [2022-01-20T18:17:50.160Z] 5eb04de78ac2: Layer already exists [2022-01-20T18:17:50.160Z] 1a058d5342cc: Layer already exists [2022-01-20T18:17:50.160Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:50.455Z] + docker tag device-modbus nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:50.752Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus:main [2022-01-20T18:17:50.752Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus] [2022-01-20T18:17:50.752Z] e30c6be16d55: Preparing [2022-01-20T18:17:50.752Z] f9208a0faf63: Preparing [2022-01-20T18:17:50.752Z] 5eb04de78ac2: Preparing [2022-01-20T18:17:50.752Z] 7ec4fa780bf9: Preparing [2022-01-20T18:17:50.752Z] a362ab3b3456: Preparing [2022-01-20T18:17:50.752Z] 1a058d5342cc: Preparing [2022-01-20T18:17:50.752Z] 1a058d5342cc: Waiting [2022-01-20T18:17:50.752Z] a362ab3b3456: Layer already exists [2022-01-20T18:17:50.752Z] 7ec4fa780bf9: Layer already exists [2022-01-20T18:17:50.752Z] e30c6be16d55: Layer already exists [2022-01-20T18:17:50.752Z] 5eb04de78ac2: Layer already exists [2022-01-20T18:17:50.752Z] f9208a0faf63: Layer already exists [2022-01-20T18:17:50.752Z] 1a058d5342cc: Layer already exists [2022-01-20T18:17:50.752Z] main: digest: sha256:65aae4f564e44c4fd27e861722bcb5004448b9aaee8bca8cbfa330173ab3f6fa size: 1573 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:17:50.794Z] ===================================================== [Pipeline] echo [2022-01-20T18:17:50.804Z] taggedImages: [2022-01-20T18:17:50.804Z] - nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:17:50.804Z] - nexus3.edgexfoundry.org:10004/device-modbus:latest [2022-01-20T18:17:50.804Z] - nexus3.edgexfoundry.org:10004/device-modbus:2.2.0-dev.5 [2022-01-20T18:17:50.804Z] - nexus3.edgexfoundry.org:10004/device-modbus:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [2022-01-20T18:17:50.804Z] - nexus3.edgexfoundry.org:10004/device-modbus:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:51.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:17:51.224Z] [2022-01-20T18:17:51.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:17:51.536Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:17:51.536Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T18:17:51.536Z] b4d181a07f80: Pulling fs layer [2022-01-20T18:17:51.536Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T18:17:51.536Z] ed53099fbce6: Pulling fs layer [2022-01-20T18:17:51.536Z] dc539afda2c1: Pulling fs layer [2022-01-20T18:17:51.536Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T18:17:51.536Z] 9065ff56babe: Pulling fs layer [2022-01-20T18:17:51.536Z] d287ab97295c: Pulling fs layer [2022-01-20T18:17:51.536Z] dc539afda2c1: Waiting [2022-01-20T18:17:51.536Z] 77bc0d833cb6: Waiting [2022-01-20T18:17:51.536Z] 9065ff56babe: Waiting [2022-01-20T18:17:51.536Z] d287ab97295c: Waiting [2022-01-20T18:17:51.536Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T18:17:51.536Z] a1111a8f2ec3: Download complete [2022-01-20T18:17:51.536Z] dc539afda2c1: Verifying Checksum [2022-01-20T18:17:51.536Z] dc539afda2c1: Download complete [2022-01-20T18:17:51.803Z] ed53099fbce6: Verifying Checksum [2022-01-20T18:17:51.803Z] ed53099fbce6: Download complete [2022-01-20T18:17:51.803Z] 9065ff56babe: Verifying Checksum [2022-01-20T18:17:51.803Z] 9065ff56babe: Download complete [2022-01-20T18:17:51.803Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T18:17:51.803Z] 77bc0d833cb6: Download complete [2022-01-20T18:17:51.803Z] b4d181a07f80: Verifying Checksum [2022-01-20T18:17:51.803Z] b4d181a07f80: Download complete [2022-01-20T18:17:52.379Z] d287ab97295c: Verifying Checksum [2022-01-20T18:17:52.379Z] d287ab97295c: Download complete [2022-01-20T18:17:53.336Z] b4d181a07f80: Pull complete [2022-01-20T18:17:53.336Z] a1111a8f2ec3: Pull complete [2022-01-20T18:17:53.917Z] ed53099fbce6: Pull complete [2022-01-20T18:17:53.917Z] dc539afda2c1: Pull complete [2022-01-20T18:17:54.179Z] 77bc0d833cb6: Pull complete [2022-01-20T18:17:54.437Z] 9065ff56babe: Pull complete [2022-01-20T18:17:59.757Z] d287ab97295c: Pull complete [2022-01-20T18:17:59.757Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T18:17:59.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:17:59.757Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T18:17:59.827Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:17:59.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:18:02.531Z] $ docker top 3a3e1b7f0cb73a45e48f847544cba695bea9394a8f62899533b3256821d59850 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:18:03.091Z] ---> job-cost.sh [2022-01-20T18:18:03.091Z] lf-activate-venv: SKIPPING [2022-01-20T18:18:03.091Z] INFO: No Stack... [2022-01-20T18:18:03.402Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:18:03.672Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:18:03.966Z] + cat /w/workspace/gexfoundry_device-modbus-go_main/archives/cost.csv [2022-01-20T18:18:03.966Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:18:03.982Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [2022-01-20T18:18:03.988Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] did not exist. Created. [2022-01-20T18:18:03.988Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:18:04.294Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T18:18:04.322Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:18:04.328Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:18:04.344Z] $ docker stop --time=1 3a3e1b7f0cb73a45e48f847544cba695bea9394a8f62899533b3256821d59850 [2022-01-20T18:18:05.482Z] $ docker rm -f 3a3e1b7f0cb73a45e48f847544cba695bea9394a8f62899533b3256821d59850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T18:25:09.902Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-2857 in /w/workspace/gexfoundry_device-modbus-go_main [Pipeline] { [Pipeline] ws [2022-01-20T18:25:09.912Z] Running in /w/workspace/device-modbus-go/22 [Pipeline] { [Pipeline] checkout [2022-01-20T18:25:10.193Z] Selected Git installation does not exist. Using Default [2022-01-20T18:25:10.193Z] The recommended git tool is: NONE [2022-01-20T18:25:16.671Z] using credential edgex-jenkins-ssh [2022-01-20T18:25:16.690Z] Cloning the remote Git repository [2022-01-20T18:25:16.763Z] Cloning repository git@github.com:edgexfoundry/device-modbus-go.git [2022-01-20T18:25:16.877Z] > git init /w/workspace/device-modbus-go/22 # timeout=10 [2022-01-20T18:25:17.075Z] Fetching upstream changes from git@github.com:edgexfoundry/device-modbus-go.git [2022-01-20T18:25:17.077Z] > git --version # timeout=10 [2022-01-20T18:25:17.148Z] > git --version # 'git version 2.17.1' [2022-01-20T18:25:17.151Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T18:25:17.311Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-modbus-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:25:18.583Z] Avoid second fetch [2022-01-20T18:25:18.583Z] Checking out Revision 4a13dc8cbc9452d90b2dd7765ba07908e93b105b (main) [2022-01-20T18:25:18.543Z] > git config remote.origin.url git@github.com:edgexfoundry/device-modbus-go.git # timeout=10 [2022-01-20T18:25:18.569Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T18:25:18.612Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T18:25:18.637Z] > git checkout -f 4a13dc8cbc9452d90b2dd7765ba07908e93b105b # timeout=10 [2022-01-20T18:25:23.105Z] Commit message: "Merge pull request #307 from ernestojeda/go-1_17-module-changes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:25:24.006Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T18:25:24.006Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:25:24.006Z] Dload Upload Total Spent Left Speed [2022-01-20T18:25:24.006Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-01-20T18:25:24.523Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T18:25:24.870Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T18:25:24.870Z] + sudo tee /etc/docker/daemon.new [2022-01-20T18:25:24.870Z] { [2022-01-20T18:25:24.870Z] "registry-mirrors": [ [2022-01-20T18:25:24.870Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T18:25:24.870Z] ], [2022-01-20T18:25:24.870Z] "bip": "10.250.0.254/24", [2022-01-20T18:25:24.870Z] "hosts": [ [2022-01-20T18:25:24.870Z] "tcp://0.0.0.0:5555", [2022-01-20T18:25:24.870Z] "unix:///var/run/docker.sock" [2022-01-20T18:25:24.870Z] ], [2022-01-20T18:25:24.870Z] "mtu": 1458, [2022-01-20T18:25:24.870Z] "selinux-enabled": true, [2022-01-20T18:25:24.870Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T18:25:24.870Z] } [Pipeline] sh [2022-01-20T18:25:25.230Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T18:25:25.575Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:25:43.975Z] provisioning config files... [2022-01-20T18:25:44.006Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/22@tmp/config3234981701801284914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:25:44.390Z] ---> docker-login.sh [2022-01-20T18:25:44.390Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:25:44.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:45.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:45.270Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:45.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:45.270Z] [2022-01-20T18:25:45.270Z] Login Succeeded [2022-01-20T18:25:45.270Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:25:45.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:45.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:45.874Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:45.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:45.874Z] [2022-01-20T18:25:45.874Z] Login Succeeded [2022-01-20T18:25:45.874Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:25:46.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:46.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:46.430Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:46.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:46.430Z] [2022-01-20T18:25:46.430Z] Login Succeeded [2022-01-20T18:25:46.430Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:25:46.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:46.983Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:46.983Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:46.983Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:46.983Z] [2022-01-20T18:25:46.983Z] Login Succeeded [2022-01-20T18:25:46.983Z] docker.io [2022-01-20T18:25:47.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:25:47.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:25:47.877Z] Configure a credential helper to remove this warning. See [2022-01-20T18:25:47.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:25:47.877Z] [2022-01-20T18:25:47.877Z] Login Succeeded [2022-01-20T18:25:47.877Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:25:47.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T18:25:48.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:25:48.442Z] ========================================================= [2022-01-20T18:25:48.442Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T18:25:48.442Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:25:48.951Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-20T18:25:49.229Z] Sending build context to Docker daemon 2.981MB [2022-01-20T18:25:49.519Z] Step 1/10 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:25:49.519Z] Step 2/10 : FROM ${BASE} AS builder [2022-01-20T18:25:49.519Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T18:25:49.519Z] 9b3977197b4f: Pulling fs layer [2022-01-20T18:25:49.519Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T18:25:49.519Z] 94645a83ff95: Pulling fs layer [2022-01-20T18:25:49.519Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T18:25:49.519Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T18:25:49.519Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T18:25:49.519Z] 9a6b49a46696: Pulling fs layer [2022-01-20T18:25:49.519Z] cf05db05a679: Pulling fs layer [2022-01-20T18:25:49.519Z] 3f3a8bcf1eab: Waiting [2022-01-20T18:25:49.519Z] 0c92f367c5e7: Waiting [2022-01-20T18:25:49.519Z] 4b8299f9d1f4: Waiting [2022-01-20T18:25:49.519Z] 9a6b49a46696: Waiting [2022-01-20T18:25:49.519Z] cf05db05a679: Waiting [2022-01-20T18:25:49.519Z] 94645a83ff95: Verifying Checksum [2022-01-20T18:25:49.519Z] 94645a83ff95: Download complete [2022-01-20T18:25:49.519Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T18:25:49.519Z] 1a89e8eeedd5: Download complete [2022-01-20T18:25:49.519Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T18:25:49.519Z] 0c92f367c5e7: Download complete [2022-01-20T18:25:49.804Z] 4b8299f9d1f4: Verifying Checksum [2022-01-20T18:25:49.804Z] 4b8299f9d1f4: Download complete [2022-01-20T18:25:49.804Z] 9b3977197b4f: Verifying Checksum [2022-01-20T18:25:49.804Z] 9b3977197b4f: Download complete [2022-01-20T18:25:49.804Z] 9a6b49a46696: Verifying Checksum [2022-01-20T18:25:49.804Z] 9a6b49a46696: Download complete [2022-01-20T18:25:50.808Z] 9b3977197b4f: Pull complete [2022-01-20T18:25:51.417Z] 1a89e8eeedd5: Pull complete [2022-01-20T18:25:51.692Z] 94645a83ff95: Pull complete [2022-01-20T18:25:51.973Z] cf05db05a679: Verifying Checksum [2022-01-20T18:25:51.973Z] cf05db05a679: Download complete [2022-01-20T18:25:52.576Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T18:25:52.576Z] 3f3a8bcf1eab: Download complete [2022-01-20T18:26:05.007Z] 3f3a8bcf1eab: Pull complete [2022-01-20T18:26:05.007Z] 0c92f367c5e7: Pull complete [2022-01-20T18:26:05.007Z] 4b8299f9d1f4: Pull complete [2022-01-20T18:26:05.292Z] 9a6b49a46696: Pull complete [2022-01-20T18:26:12.021Z] cf05db05a679: Pull complete [2022-01-20T18:26:12.021Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T18:26:12.021Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T18:26:12.021Z] ---> 0ccda1f7e2ee [2022-01-20T18:26:12.021Z] Step 3/10 : ARG MAKE='make build' [2022-01-20T18:26:12.623Z] ---> Running in 09a9a2d70c61 [2022-01-20T18:26:13.222Z] Removing intermediate container 09a9a2d70c61 [2022-01-20T18:26:13.222Z] ---> 4677ecfa9a05 [2022-01-20T18:26:13.222Z] Step 4/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:26:13.222Z] ---> Running in 43ba176d39c2 [2022-01-20T18:26:15.202Z] Removing intermediate container 43ba176d39c2 [2022-01-20T18:26:15.202Z] ---> cef83fffbb94 [2022-01-20T18:26:15.202Z] Step 5/10 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-20T18:26:15.481Z] ---> Running in 2eee498eadf0 [2022-01-20T18:26:16.464Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:26:17.443Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:26:18.421Z] (1/8) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T18:26:18.698Z] (2/8) Installing libedit (20210910.3.1-r0) [2022-01-20T18:26:18.698Z] (3/8) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T18:26:18.973Z] (4/8) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T18:26:18.973Z] (5/8) Installing openssh-sftp-server (8.8_p1-r1) [2022-01-20T18:26:18.973Z] (6/8) Installing openssh-server-common (8.8_p1-r1) [2022-01-20T18:26:19.254Z] (7/8) Installing openssh-server (8.8_p1-r1) [2022-01-20T18:26:19.254Z] (8/8) Installing openssh (8.8_p1-r1) [2022-01-20T18:26:19.254Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T18:26:19.533Z] OK: 226 MiB in 60 packages [2022-01-20T18:26:20.522Z] Removing intermediate container 2eee498eadf0 [2022-01-20T18:26:20.522Z] ---> ad31b61f60ad [2022-01-20T18:26:20.522Z] Step 6/10 : WORKDIR /device-modbus-go [2022-01-20T18:26:20.805Z] ---> Running in 97d907024ec5 [2022-01-20T18:26:21.078Z] Removing intermediate container 97d907024ec5 [2022-01-20T18:26:21.078Z] ---> 3e47454e733e [2022-01-20T18:26:21.078Z] Step 7/10 : COPY go.mod vendor* ./ [2022-01-20T18:26:22.073Z] ---> e55335a5bb2d [2022-01-20T18:26:22.073Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:26:22.073Z] ---> Running in 08c4cd62f0f1 [2022-01-20T18:27:44.464Z] Removing intermediate container 08c4cd62f0f1 [2022-01-20T18:27:44.464Z] ---> a930a5020b76 [2022-01-20T18:27:44.464Z] Step 9/10 : COPY . . [2022-01-20T18:27:44.464Z] ---> a8e741fa1963 [2022-01-20T18:27:44.464Z] Step 10/10 : RUN ${MAKE} [2022-01-20T18:27:44.464Z] ---> Running in 9777771ea999 [2022-01-20T18:27:44.464Z] noop [2022-01-20T18:27:44.464Z] Removing intermediate container 9777771ea999 [2022-01-20T18:27:44.464Z] ---> 3c9c2cef2e26 [2022-01-20T18:27:44.464Z] Successfully built 3c9c2cef2e26 [2022-01-20T18:27:44.464Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:27:44.833Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:27:44.833Z] . [Pipeline] withDockerContainer [2022-01-20T18:27:45.086Z] prd-ubuntu18.04-docker-arm64-4c-16g-2857 does not seem to be running inside a container [2022-01-20T18:27:45.188Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/22 -v /w/workspace/device-modbus-go/22:/w/workspace/device-modbus-go/22:rw,z -v /w/workspace/device-modbus-go/22@tmp:/w/workspace/device-modbus-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T18:27:46.670Z] $ docker top 05046b35eded1549e3c863a8225e8690a5625778ba69172a35cc7e42296363d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:27:47.612Z] + go version [2022-01-20T18:27:47.612Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T18:27:47.635Z] $ docker stop --time=1 05046b35eded1549e3c863a8225e8690a5625778ba69172a35cc7e42296363d4 [2022-01-20T18:27:49.327Z] $ docker rm -f 05046b35eded1549e3c863a8225e8690a5625778ba69172a35cc7e42296363d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:27:49.963Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T18:27:49.963Z] . [Pipeline] withDockerContainer [2022-01-20T18:27:50.203Z] prd-ubuntu18.04-docker-arm64-4c-16g-2857 does not seem to be running inside a container [2022-01-20T18:27:50.303Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-modbus-go/22 -v /w/workspace/device-modbus-go/22:/w/workspace/device-modbus-go/22:rw,z -v /w/workspace/device-modbus-go/22@tmp:/w/workspace/device-modbus-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T18:27:51.726Z] $ docker top 3281be8422abd01e3331c824a2a2cf6e46e70954107a75637bc3d2bebe2673c2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T18:27:52.700Z] + make test [2022-01-20T18:27:52.700Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T18:27:54.151Z] ? github.com/edgexfoundry/device-modbus-go [no test files] [2022-01-20T18:28:50.877Z] ? github.com/edgexfoundry/device-modbus-go/cmd [no test files] [2022-01-20T18:28:52.322Z] ok github.com/edgexfoundry/device-modbus-go/internal/driver 0.059s coverage: 46.6% of statements [2022-01-20T18:28:52.322Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T18:29:14.557Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T18:29:14.557Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T18:29:14.557Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T18:29:16.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T18:29:16.044Z] $ docker stop --time=1 3281be8422abd01e3331c824a2a2cf6e46e70954107a75637bc3d2bebe2673c2 [2022-01-20T18:29:17.919Z] $ docker rm -f 3281be8422abd01e3331c824a2a2cf6e46e70954107a75637bc3d2bebe2673c2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:29:18.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T18:29:18.866Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T18:29:19.332Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T18:29:19.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T18:29:20.071Z] + ls -al . [2022-01-20T18:29:20.071Z] total 184 [2022-01-20T18:29:20.071Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 18:29 . [2022-01-20T18:29:20.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:25 .. [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 18:25 .dockerignore [2022-01-20T18:29:20.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 18:25 .git [2022-01-20T18:29:20.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 .github [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 331 Jan 20 18:25 .gitignore [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 8010 Jan 20 18:25 Attribution.txt [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 6038 Jan 20 18:25 CHANGELOG.md [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 1546 Jan 20 18:25 Dockerfile [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 18:25 GOVERNANCE.md [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 679 Jan 20 18:25 Jenkinsfile [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 18:25 LICENSE [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 1009 Jan 20 18:25 Makefile [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 622 Jan 20 18:25 OWNERS.md [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 20 18:25 README.md [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 18:16 VERSION [2022-01-20T18:29:20.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 bin [2022-01-20T18:29:20.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 cmd [2022-01-20T18:29:20.071Z] -rw-r--r-- 1 jenkins jenkins 23727 Jan 20 18:28 coverage.out [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 2960 Jan 20 18:25 go.mod [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 49511 Jan 20 18:25 go.sum [2022-01-20T18:29:20.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 18:25 internal [2022-01-20T18:29:20.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 18:25 simulator [2022-01-20T18:29:20.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 18:25 snap [2022-01-20T18:29:20.071Z] -rw-rw-r-- 1 jenkins jenkins 229 Jan 20 18:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:29:20.421Z] + docker build -t device-modbus-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4a13dc8cbc9452d90b2dd7765ba07908e93b105b --label arch=arm64 --label version=2.2.0-dev.5 . [2022-01-20T18:29:20.695Z] Sending build context to Docker daemon 3.005MB [2022-01-20T18:29:20.695Z] Step 1/23 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T18:29:20.695Z] Step 2/23 : FROM ${BASE} AS builder [2022-01-20T18:29:20.695Z] ---> 3c9c2cef2e26 [2022-01-20T18:29:20.695Z] Step 3/23 : ARG MAKE='make build' [2022-01-20T18:29:20.973Z] ---> Running in 8dfdbf1bcfc5 [2022-01-20T18:29:21.246Z] Removing intermediate container 8dfdbf1bcfc5 [2022-01-20T18:29:21.246Z] ---> 6a73c8daa4d1 [2022-01-20T18:29:21.246Z] Step 4/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:29:21.532Z] ---> Running in ff0c1aaae2ee [2022-01-20T18:29:23.585Z] Removing intermediate container ff0c1aaae2ee [2022-01-20T18:29:23.585Z] ---> 9cf0a1cda98f [2022-01-20T18:29:23.586Z] Step 5/23 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev [2022-01-20T18:29:23.586Z] ---> Running in d5eb5a833a07 [2022-01-20T18:29:24.600Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:29:25.658Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:29:26.651Z] OK: 226 MiB in 60 packages [2022-01-20T18:29:27.249Z] Removing intermediate container d5eb5a833a07 [2022-01-20T18:29:27.249Z] ---> de55e2f7b1b5 [2022-01-20T18:29:27.249Z] Step 6/23 : WORKDIR /device-modbus-go [2022-01-20T18:29:27.522Z] ---> Running in 3d58bd924386 [2022-01-20T18:29:27.795Z] Removing intermediate container 3d58bd924386 [2022-01-20T18:29:27.795Z] ---> e5c7fda3d2d1 [2022-01-20T18:29:27.795Z] Step 7/23 : COPY go.mod vendor* ./ [2022-01-20T18:29:28.392Z] ---> 862284b1b060 [2022-01-20T18:29:28.392Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T18:29:28.672Z] ---> Running in 661051f2f5cc [2022-01-20T18:29:30.655Z] Removing intermediate container 661051f2f5cc [2022-01-20T18:29:30.655Z] ---> 54233f7d4157 [2022-01-20T18:29:30.655Z] Step 9/23 : COPY . . [2022-01-20T18:29:31.638Z] ---> 402e83ac3166 [2022-01-20T18:29:31.638Z] Step 10/23 : RUN ${MAKE} [2022-01-20T18:29:31.909Z] ---> Running in a3839fd40da2 [2022-01-20T18:29:32.889Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-modbus-go.Version=2.2.0-dev.5" -o cmd/device-modbus ./cmd [2022-01-20T18:30:19.934Z] Removing intermediate container a3839fd40da2 [2022-01-20T18:30:19.934Z] ---> 9dde6f318137 [2022-01-20T18:30:19.934Z] Step 11/23 : FROM alpine:3.14 [2022-01-20T18:30:19.934Z] 3.14: Pulling from library/alpine [2022-01-20T18:30:19.934Z] be307f383ecc: Pulling fs layer [2022-01-20T18:30:19.934Z] be307f383ecc: Download complete [2022-01-20T18:30:19.934Z] be307f383ecc: Pull complete [2022-01-20T18:30:19.934Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T18:30:19.934Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T18:30:19.934Z] ---> 5b8b7b635229 [2022-01-20T18:30:19.934Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2021: IoTech Ltd' [2022-01-20T18:30:19.934Z] ---> Running in a7dde2324846 [2022-01-20T18:30:19.934Z] Removing intermediate container a7dde2324846 [2022-01-20T18:30:19.934Z] ---> a9521934a941 [2022-01-20T18:30:19.934Z] Step 13/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T18:30:19.934Z] ---> Running in 2dfa166a361c [2022-01-20T18:30:20.205Z] Removing intermediate container 2dfa166a361c [2022-01-20T18:30:20.205Z] ---> 68a93a59834f [2022-01-20T18:30:20.205Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T18:30:20.205Z] ---> Running in 44b3ded338b3 [2022-01-20T18:30:21.175Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T18:30:22.147Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T18:30:23.120Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T18:30:23.120Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T18:30:23.120Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T18:30:23.120Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T18:30:23.390Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T18:30:23.390Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T18:30:23.660Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T18:30:23.660Z] OK: 8 MiB in 20 packages [2022-01-20T18:30:24.637Z] Removing intermediate container 44b3ded338b3 [2022-01-20T18:30:24.637Z] ---> b4f045d0469a [2022-01-20T18:30:24.637Z] Step 15/23 : COPY --from=builder /device-modbus-go/cmd / [2022-01-20T18:30:25.629Z] ---> e5aad8500b5c [2022-01-20T18:30:25.629Z] Step 16/23 : COPY --from=builder /device-modbus-go/LICENSE / [2022-01-20T18:30:26.227Z] ---> c851d2388ef7 [2022-01-20T18:30:26.227Z] Step 17/23 : COPY --from=builder /device-modbus-go/Attribution.txt / [2022-01-20T18:30:26.825Z] ---> 435816d3200f [2022-01-20T18:30:26.825Z] Step 18/23 : EXPOSE 59901 [2022-01-20T18:30:26.825Z] ---> Running in 4ff52172fe4c [2022-01-20T18:30:27.418Z] Removing intermediate container 4ff52172fe4c [2022-01-20T18:30:27.418Z] ---> 9b87cfbe06a0 [2022-01-20T18:30:27.418Z] Step 19/23 : ENTRYPOINT ["/device-modbus"] [2022-01-20T18:30:27.418Z] ---> Running in 764df288c06c [2022-01-20T18:30:27.692Z] Removing intermediate container 764df288c06c [2022-01-20T18:30:27.692Z] ---> ac8ac289e8db [2022-01-20T18:30:27.692Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T18:30:27.692Z] ---> Running in bbfaae260a42 [2022-01-20T18:30:28.294Z] Removing intermediate container bbfaae260a42 [2022-01-20T18:30:28.294Z] ---> a4d18668543e [2022-01-20T18:30:28.294Z] Step 21/23 : LABEL arch=arm64 [2022-01-20T18:30:28.294Z] ---> Running in 2b45a96e4f61 [2022-01-20T18:30:28.568Z] Removing intermediate container 2b45a96e4f61 [2022-01-20T18:30:28.568Z] ---> 6768c6771f69 [2022-01-20T18:30:28.568Z] Step 22/23 : LABEL git_sha=4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:30:28.568Z] ---> Running in 6ea452a27829 [2022-01-20T18:30:29.165Z] Removing intermediate container 6ea452a27829 [2022-01-20T18:30:29.165Z] ---> 6744021432a9 [2022-01-20T18:30:29.165Z] Step 23/23 : LABEL version=2.2.0-dev.5 [2022-01-20T18:30:29.165Z] ---> Running in cce28ab1bb18 [2022-01-20T18:30:29.437Z] Removing intermediate container cce28ab1bb18 [2022-01-20T18:30:29.437Z] ---> 33921453b3cc [2022-01-20T18:30:29.437Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T18:30:29.437Z] Successfully built 33921453b3cc [2022-01-20T18:30:29.437Z] Successfully tagged device-modbus-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:30:29.545Z] provisioning config files... [2022-01-20T18:30:29.565Z] copy managed file [device-modbus-go-settings] to file:/w/workspace/device-modbus-go/22@tmp/config5234097737982082781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:30:29.925Z] ---> docker-login.sh [2022-01-20T18:30:29.925Z] nexus3.edgexfoundry.org:10001 [2022-01-20T18:30:30.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:30.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:30.198Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:30.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:30.198Z] [2022-01-20T18:30:30.198Z] Login Succeeded [2022-01-20T18:30:30.198Z] nexus3.edgexfoundry.org:10002 [2022-01-20T18:30:30.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:30.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:30.797Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:30.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:30.797Z] [2022-01-20T18:30:30.797Z] Login Succeeded [2022-01-20T18:30:30.797Z] nexus3.edgexfoundry.org:10003 [2022-01-20T18:30:31.395Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:31.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:31.395Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:31.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:31.395Z] [2022-01-20T18:30:31.395Z] Login Succeeded [2022-01-20T18:30:31.395Z] nexus3.edgexfoundry.org:10004 [2022-01-20T18:30:31.667Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:31.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:31.943Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:31.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:31.943Z] [2022-01-20T18:30:31.943Z] Login Succeeded [2022-01-20T18:30:31.943Z] docker.io [2022-01-20T18:30:32.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T18:30:32.486Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T18:30:32.486Z] Configure a credential helper to remove this warning. See [2022-01-20T18:30:32.486Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T18:30:32.486Z] [2022-01-20T18:30:32.486Z] Login Succeeded [2022-01-20T18:30:32.760Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T18:30:32.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:30:32.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T18:30:32.843Z] [edgeXDocker.push] Tagging docker image device-modbus-arm64 with the following tags: [2022-01-20T18:30:32.843Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:30:32.843Z] latest [2022-01-20T18:30:32.843Z] 2.2.0-dev.5 [2022-01-20T18:30:32.843Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [2022-01-20T18:30:32.843Z] main [2022-01-20T18:30:32.843Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:33.200Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:33.561Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:30:33.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-20T18:30:33.561Z] ca5d44eb1fc9: Preparing [2022-01-20T18:30:33.561Z] bd21c41470e3: Preparing [2022-01-20T18:30:33.561Z] 310adca8110f: Preparing [2022-01-20T18:30:33.561Z] 7e1a1ddbc282: Preparing [2022-01-20T18:30:33.561Z] 46da184533cb: Preparing [2022-01-20T18:30:33.561Z] 62170e181a92: Preparing [2022-01-20T18:30:33.561Z] 62170e181a92: Waiting [2022-01-20T18:30:33.835Z] ca5d44eb1fc9: Pushed [2022-01-20T18:30:33.835Z] bd21c41470e3: Pushed [2022-01-20T18:30:33.835Z] 46da184533cb: Pushed [2022-01-20T18:30:33.835Z] 62170e181a92: Layer already exists [2022-01-20T18:30:34.441Z] 7e1a1ddbc282: Pushed [2022-01-20T18:30:37.075Z] 310adca8110f: Pushed [2022-01-20T18:30:37.075Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:37.438Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:37.783Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-01-20T18:30:37.783Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-20T18:30:37.783Z] ca5d44eb1fc9: Preparing [2022-01-20T18:30:37.783Z] bd21c41470e3: Preparing [2022-01-20T18:30:37.783Z] 310adca8110f: Preparing [2022-01-20T18:30:37.783Z] 7e1a1ddbc282: Preparing [2022-01-20T18:30:37.783Z] 46da184533cb: Preparing [2022-01-20T18:30:37.783Z] 62170e181a92: Preparing [2022-01-20T18:30:37.783Z] 62170e181a92: Waiting [2022-01-20T18:30:37.783Z] 7e1a1ddbc282: Layer already exists [2022-01-20T18:30:38.057Z] 310adca8110f: Layer already exists [2022-01-20T18:30:38.057Z] bd21c41470e3: Layer already exists [2022-01-20T18:30:38.057Z] 46da184533cb: Layer already exists [2022-01-20T18:30:38.057Z] ca5d44eb1fc9: Layer already exists [2022-01-20T18:30:38.057Z] 62170e181a92: Layer already exists [2022-01-20T18:30:38.057Z] latest: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:38.411Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:38.760Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.5 [2022-01-20T18:30:38.760Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-20T18:30:38.760Z] ca5d44eb1fc9: Preparing [2022-01-20T18:30:38.760Z] bd21c41470e3: Preparing [2022-01-20T18:30:38.760Z] 310adca8110f: Preparing [2022-01-20T18:30:38.760Z] 7e1a1ddbc282: Preparing [2022-01-20T18:30:38.760Z] 46da184533cb: Preparing [2022-01-20T18:30:38.760Z] 62170e181a92: Preparing [2022-01-20T18:30:38.760Z] 62170e181a92: Waiting [2022-01-20T18:30:38.760Z] ca5d44eb1fc9: Layer already exists [2022-01-20T18:30:38.760Z] 46da184533cb: Layer already exists [2022-01-20T18:30:38.760Z] 310adca8110f: Layer already exists [2022-01-20T18:30:38.760Z] bd21c41470e3: Layer already exists [2022-01-20T18:30:38.760Z] 7e1a1ddbc282: Layer already exists [2022-01-20T18:30:38.760Z] 62170e181a92: Layer already exists [2022-01-20T18:30:39.035Z] 2.2.0-dev.5: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:39.394Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:39.742Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [2022-01-20T18:30:39.743Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-20T18:30:39.743Z] ca5d44eb1fc9: Preparing [2022-01-20T18:30:39.743Z] bd21c41470e3: Preparing [2022-01-20T18:30:39.743Z] 310adca8110f: Preparing [2022-01-20T18:30:39.743Z] 7e1a1ddbc282: Preparing [2022-01-20T18:30:39.743Z] 46da184533cb: Preparing [2022-01-20T18:30:39.743Z] 62170e181a92: Preparing [2022-01-20T18:30:39.743Z] 62170e181a92: Waiting [2022-01-20T18:30:39.743Z] ca5d44eb1fc9: Layer already exists [2022-01-20T18:30:39.743Z] 46da184533cb: Layer already exists [2022-01-20T18:30:39.743Z] 7e1a1ddbc282: Layer already exists [2022-01-20T18:30:39.743Z] 310adca8110f: Layer already exists [2022-01-20T18:30:39.743Z] bd21c41470e3: Layer already exists [2022-01-20T18:30:40.017Z] 62170e181a92: Layer already exists [2022-01-20T18:30:40.017Z] 4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:40.370Z] + docker tag device-modbus-arm64 nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:40.719Z] + docker push nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [2022-01-20T18:30:40.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-modbus-arm64] [2022-01-20T18:30:40.719Z] ca5d44eb1fc9: Preparing [2022-01-20T18:30:40.719Z] bd21c41470e3: Preparing [2022-01-20T18:30:40.719Z] 310adca8110f: Preparing [2022-01-20T18:30:40.719Z] 7e1a1ddbc282: Preparing [2022-01-20T18:30:40.719Z] 46da184533cb: Preparing [2022-01-20T18:30:40.719Z] 62170e181a92: Preparing [2022-01-20T18:30:40.719Z] 62170e181a92: Waiting [2022-01-20T18:30:40.995Z] 310adca8110f: Layer already exists [2022-01-20T18:30:40.995Z] 7e1a1ddbc282: Layer already exists [2022-01-20T18:30:40.995Z] bd21c41470e3: Layer already exists [2022-01-20T18:30:40.995Z] 46da184533cb: Layer already exists [2022-01-20T18:30:40.995Z] ca5d44eb1fc9: Layer already exists [2022-01-20T18:30:40.995Z] 62170e181a92: Layer already exists [2022-01-20T18:30:40.995Z] main: digest: sha256:f5adbdd136571ada0ed7cb38476ff683b8ab1ab2840825233adf1182667cc22a size: 1572 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T18:30:41.048Z] ===================================================== [Pipeline] echo [2022-01-20T18:30:41.060Z] taggedImages: [2022-01-20T18:30:41.060Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b [2022-01-20T18:30:41.060Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:latest [2022-01-20T18:30:41.060Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:2.2.0-dev.5 [2022-01-20T18:30:41.060Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:4a13dc8cbc9452d90b2dd7765ba07908e93b105b-2.2.0-dev.5 [2022-01-20T18:30:41.060Z] - nexus3.edgexfoundry.org:10004/device-modbus-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:41.448Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:30:41.448Z] [2022-01-20T18:30:41.448Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:30:41.802Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:30:42.078Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T18:30:42.078Z] 448f6bf000e3: Pulling fs layer [2022-01-20T18:30:42.078Z] f757da607395: Pulling fs layer [2022-01-20T18:30:42.078Z] 05883995daec: Pulling fs layer [2022-01-20T18:30:42.078Z] 8603b9c90790: Pulling fs layer [2022-01-20T18:30:42.078Z] 1560dd03e051: Pulling fs layer [2022-01-20T18:30:42.078Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T18:30:42.078Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T18:30:42.078Z] 8603b9c90790: Waiting [2022-01-20T18:30:42.078Z] 27f5ce0e4adf: Waiting [2022-01-20T18:30:42.078Z] c2d8d7efcc4b: Waiting [2022-01-20T18:30:42.078Z] 1560dd03e051: Waiting [2022-01-20T18:30:42.078Z] f757da607395: Verifying Checksum [2022-01-20T18:30:42.078Z] f757da607395: Download complete [2022-01-20T18:30:42.078Z] 8603b9c90790: Verifying Checksum [2022-01-20T18:30:42.078Z] 8603b9c90790: Download complete [2022-01-20T18:30:42.354Z] 1560dd03e051: Download complete [2022-01-20T18:30:42.354Z] 27f5ce0e4adf: Verifying Checksum [2022-01-20T18:30:42.354Z] 27f5ce0e4adf: Download complete [2022-01-20T18:30:42.354Z] 05883995daec: Download complete [2022-01-20T18:30:42.630Z] 448f6bf000e3: Verifying Checksum [2022-01-20T18:30:42.630Z] 448f6bf000e3: Download complete [2022-01-20T18:30:45.249Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T18:30:45.249Z] c2d8d7efcc4b: Download complete [2022-01-20T18:30:46.686Z] 448f6bf000e3: Pull complete [2022-01-20T18:30:47.285Z] f757da607395: Pull complete [2022-01-20T18:30:48.727Z] 05883995daec: Pull complete [2022-01-20T18:30:49.000Z] 8603b9c90790: Pull complete [2022-01-20T18:30:49.980Z] 1560dd03e051: Pull complete [2022-01-20T18:30:50.253Z] 27f5ce0e4adf: Pull complete [2022-01-20T18:31:08.659Z] c2d8d7efcc4b: Pull complete [2022-01-20T18:31:08.659Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T18:31:08.659Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T18:31:08.659Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T18:31:08.882Z] prd-ubuntu18.04-docker-arm64-4c-16g-2857 does not seem to be running inside a container [2022-01-20T18:31:08.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-modbus-go/22 -v /w/workspace/device-modbus-go/22:/w/workspace/device-modbus-go/22:rw,z -v /w/workspace/device-modbus-go/22@tmp:/w/workspace/device-modbus-go/22@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-01-20T18:31:11.528Z] $ docker top d068c3d862f77fcf0ec7f01c14eade46b0f3e45e61c39d6aa349a90d1658a319 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:12.095Z] ---> job-cost.sh [2022-01-20T18:31:12.370Z] lf-activate-venv: SKIPPING [2022-01-20T18:31:12.370Z] INFO: No Stack... [2022-01-20T18:31:12.640Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T18:31:12.910Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T18:31:13.567Z] + cat /w/workspace/device-modbus-go/22/archives/cost.csv [2022-01-20T18:31:13.567Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T18:31:13.637Z] Trying to acquire lock on [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [2022-01-20T18:31:13.642Z] Resource [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] did not exist. Created. [2022-01-20T18:31:13.642Z] Lock acquired on [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:31:14.321Z] /w/workspace/device-modbus-go/22@tmp/durable-1b8e98da/script.sh: 1: /w/workspace/device-modbus-go/22@tmp/durable-1b8e98da/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T18:31:15.001Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T18:31:15.032Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T18:31:15.077Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T18:31:15.090Z] Lock released on resource [jenkins-edgexfoundry-device-modbus-go-main-22-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T18:31:15.107Z] $ docker stop --time=1 d068c3d862f77fcf0ec7f01c14eade46b0f3e45e61c39d6aa349a90d1658a319 [2022-01-20T18:31:16.566Z] $ docker rm -f d068c3d862f77fcf0ec7f01c14eade46b0f3e45e61c39d6aa349a90d1658a319 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-01-20T18:31:16.995Z] provisioning config files... [2022-01-20T18:31:17.002Z] copy managed file [device-modbus-go-codecov-token] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config3946329663785265960tmp [Pipeline] { [Pipeline] sh [2022-01-20T18:31:17.293Z] + set +x [2022-01-20T18:31:17.293Z] + curl -s https://codecov.io/bash [2022-01-20T18:31:17.293Z] + bash -s -- [2022-01-20T18:31:17.293Z] [2022-01-20T18:31:17.293Z] _____ _ [2022-01-20T18:31:17.293Z] / ____| | | [2022-01-20T18:31:17.293Z] | | ___ __| | ___ ___ _____ __ [2022-01-20T18:31:17.293Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-20T18:31:17.293Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-20T18:31:17.293Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-20T18:31:17.293Z] Bash-1.0.6 [2022-01-20T18:31:17.293Z] [2022-01-20T18:31:17.293Z] [2022-01-20T18:31:17.293Z] ==> git version 2.24.4 found [2022-01-20T18:31:17.293Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2022-01-20T18:31:17.293Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-20T18:31:17.293Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-20T18:31:17.293Z] ==> Jenkins CI detected. [2022-01-20T18:31:17.293Z] current dir:  /w/workspace/gexfoundry_device-modbus-go_main [2022-01-20T18:31:17.293Z] project root: . [2022-01-20T18:31:17.293Z] --> token set from env [2022-01-20T18:31:17.293Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-20T18:31:17.293Z] ==> Running gcov in . (disable via -X gcov) [2022-01-20T18:31:17.293Z] ==> Python coveragepy not found [2022-01-20T18:31:17.293Z] ==> Searching for coverage reports in: [2022-01-20T18:31:17.293Z] + . [2022-01-20T18:31:17.293Z] -> Found 1 reports [2022-01-20T18:31:17.293Z] ==> Detecting git/mercurial file structure [2022-01-20T18:31:17.293Z] ==> Reading reports [2022-01-20T18:31:17.293Z] + ./coverage.out bytes=23727 [2022-01-20T18:31:17.293Z] ==> Appending adjustments [2022-01-20T18:31:17.293Z] https://docs.codecov.io/docs/fixing-reports [2022-01-20T18:31:17.554Z] + Found adjustments [2022-01-20T18:31:17.554Z] ==> Gzipping contents [2022-01-20T18:31:17.554Z] 4.0K /tmp/codecov.FgXu5U.gz [2022-01-20T18:31:17.554Z] ==> Uploading reports [2022-01-20T18:31:17.554Z] url: https://codecov.io [2022-01-20T18:31:17.554Z] query: branch=main&commit=4a13dc8cbc9452d90b2dd7765ba07908e93b105b&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-20T18:31:17.554Z] -> Pinging Codecov [2022-01-20T18:31:17.554Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3a8d40b1-de00-4649-bfd4-bdc8ed99ae89&branch=main&commit=4a13dc8cbc9452d90b2dd7765ba07908e93b105b&build=22&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-modbus-go%2Fjob%2Fmain%2F22%2F&name=&tag=&slug=edgexfoundry%2Fdevice-modbus-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-20T18:31:17.814Z] -> Uploading to [2022-01-20T18:31:17.814Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-20/55DBCA73C666E3227836607328DD7E49/4a13dc8cbc9452d90b2dd7765ba07908e93b105b/0067162f-b58d-4327-8134-a8bf23c949a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T183117Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08f325a6315be27e759cdcf78d976808fd9a537aad1cdfaad2dac21e358b9da4 [2022-01-20T18:31:17.814Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T18:31:17.814Z] Dload Upload Total Spent Left Speed [2022-01-20T18:31:18.074Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3983 0 0 100 3983 0 12975 --:--:-- --:--:-- --:--:-- 13016 [2022-01-20T18:31:18.075Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-modbus-go/commit/4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] } [2022-01-20T18:31:18.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-20T18:31:18.205Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-20T18:31:18.220Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:18.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:31:18.528Z] [2022-01-20T18:31:18.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:18.836Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:31:18.836Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-20T18:31:18.836Z] 188c0c94c7c5: Pulling fs layer [2022-01-20T18:31:18.836Z] 0ef7d3d256c8: Pulling fs layer [2022-01-20T18:31:18.836Z] de9db76c5a1d: Pulling fs layer [2022-01-20T18:31:18.836Z] 0eba1c9be4d2: Pulling fs layer [2022-01-20T18:31:18.836Z] 0d57e429df01: Pulling fs layer [2022-01-20T18:31:18.836Z] 4e4be7b47b0d: Pulling fs layer [2022-01-20T18:31:18.836Z] e1f770b5df2f: Pulling fs layer [2022-01-20T18:31:18.836Z] 85a0685a4137: Pulling fs layer [2022-01-20T18:31:18.836Z] 0d57e429df01: Waiting [2022-01-20T18:31:18.836Z] 4e4be7b47b0d: Waiting [2022-01-20T18:31:18.836Z] e1f770b5df2f: Waiting [2022-01-20T18:31:18.836Z] 85a0685a4137: Waiting [2022-01-20T18:31:18.836Z] 0eba1c9be4d2: Waiting [2022-01-20T18:31:18.836Z] de9db76c5a1d: Verifying Checksum [2022-01-20T18:31:18.836Z] de9db76c5a1d: Download complete [2022-01-20T18:31:18.836Z] 0ef7d3d256c8: Verifying Checksum [2022-01-20T18:31:18.836Z] 0ef7d3d256c8: Download complete [2022-01-20T18:31:18.836Z] 0d57e429df01: Verifying Checksum [2022-01-20T18:31:18.836Z] 0d57e429df01: Download complete [2022-01-20T18:31:18.836Z] 188c0c94c7c5: Verifying Checksum [2022-01-20T18:31:18.836Z] 188c0c94c7c5: Download complete [2022-01-20T18:31:18.836Z] 4e4be7b47b0d: Verifying Checksum [2022-01-20T18:31:18.836Z] 4e4be7b47b0d: Download complete [2022-01-20T18:31:19.118Z] e1f770b5df2f: Verifying Checksum [2022-01-20T18:31:19.118Z] e1f770b5df2f: Download complete [2022-01-20T18:31:19.378Z] 188c0c94c7c5: Pull complete [2022-01-20T18:31:19.378Z] 0eba1c9be4d2: Verifying Checksum [2022-01-20T18:31:19.378Z] 0eba1c9be4d2: Download complete [2022-01-20T18:31:19.651Z] 0ef7d3d256c8: Pull complete [2022-01-20T18:31:19.651Z] de9db76c5a1d: Pull complete [2022-01-20T18:31:19.651Z] 85a0685a4137: Verifying Checksum [2022-01-20T18:31:19.651Z] 85a0685a4137: Download complete [2022-01-20T18:31:23.906Z] 0eba1c9be4d2: Pull complete [2022-01-20T18:31:23.906Z] 0d57e429df01: Pull complete [2022-01-20T18:31:23.906Z] 4e4be7b47b0d: Pull complete [2022-01-20T18:31:23.906Z] e1f770b5df2f: Pull complete [2022-01-20T18:31:30.508Z] 85a0685a4137: Pull complete [2022-01-20T18:31:30.508Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-20T18:31:30.508Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T18:31:30.508Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-20T18:31:30.569Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:31:30.607Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-20T18:31:31.787Z] $ docker top 93d3a81b5b2c0a68df0a41aab5353cf7e9b1694a745476cae57f8304919386e5 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-20T18:31:31.853Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-20T18:31:32.143Z] + set -o pipefail [2022-01-20T18:31:32.143Z] + snyk monitor '--org=edgex-jenkins' [2022-01-20T18:31:37.434Z] [2022-01-20T18:31:37.434Z] Monitoring /w/workspace/gexfoundry_device-modbus-go_main (github.com/edgexfoundry/device-modbus-go)... [2022-01-20T18:31:37.434Z] [2022-01-20T18:31:37.434Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/f1f9588a-e578-4d15-82cf-faf0ad0ed2d7/history/1e2f403f-0c1d-4545-9026-45e051345e95 [2022-01-20T18:31:37.434Z] [2022-01-20T18:31:37.434Z] Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. [2022-01-20T18:31:37.434Z] [2022-01-20T18:31:37.434Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-20T18:31:37.434Z] [2022-01-20T18:31:37.434Z] [Pipeline] } [2022-01-20T18:31:37.451Z] $ docker stop --time=1 93d3a81b5b2c0a68df0a41aab5353cf7e9b1694a745476cae57f8304919386e5 [2022-01-20T18:31:39.547Z] $ docker rm -f 93d3a81b5b2c0a68df0a41aab5353cf7e9b1694a745476cae57f8304919386e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T18:31:40.274Z] + git log --format=format:%s -1 4a13dc8cbc9452d90b2dd7765ba07908e93b105b [Pipeline] sh [2022-01-20T18:31:40.571Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:31:40.571Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:40.868Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:31:40.868Z] . [Pipeline] withDockerContainer [2022-01-20T18:31:40.939Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:31:40.970Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:31:41.310Z] $ docker top ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:31:41.412Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:31:41.412Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:31:41.512Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:31:41.514Z] $ docker exec ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 ssh-agent [2022-01-20T18:31:41.612Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOmcdlK/agent.14 [2022-01-20T18:31:41.612Z] SSH_AGENT_PID=21 [2022-01-20T18:31:41.617Z] Running ssh-add (command line suppressed) [2022-01-20T18:31:41.700Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5943781002924391252.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_5943781002924391252.key) [2022-01-20T18:31:41.713Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:31:42.012Z] + git semver tag [2022-01-20T18:31:42.012Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:31:42.012Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-20T18:31:42.012Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-20T18:31:42.012Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:31:42.012Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:31:42.012Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:31:42.012Z] # $SEMVER_BRANCH = main [2022-01-20T18:31:42.012Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-01-20T18:31:42.012Z] # 4a13dc8cbc9452d90b2dd7765ba07908e93b105b HEAD [2022-01-20T18:31:42.012Z] # -> Force: false [2022-01-20T18:31:42.012Z] # 58c35a733ffcd2d47ee780a01297ef9a3aa48129 refs/tags/v2.2.0-dev.5 [Pipeline] } [2022-01-20T18:31:42.034Z] $ docker exec --env ******** --env ******** ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 ssh-agent -k [2022-01-20T18:31:42.137Z] unset SSH_AUTH_SOCK; [2022-01-20T18:31:42.138Z] unset SSH_AGENT_PID; [2022-01-20T18:31:42.138Z] echo Agent pid 21 killed; [2022-01-20T18:31:42.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:31:42.483Z] + git semver [Pipeline] } [2022-01-20T18:31:42.502Z] $ docker stop --time=1 ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 [2022-01-20T18:31:43.705Z] $ docker rm -f ea2e304705c4058bc2461c5c7eabf412f84a5087bf13230249343e8e32cab376 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:44.141Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:31:44.142Z] [2022-01-20T18:31:44.142Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:31:44.448Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:31:44.448Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-20T18:31:44.448Z] ab5ef0e58194: Pulling fs layer [2022-01-20T18:31:44.448Z] 9712f1f96733: Pulling fs layer [2022-01-20T18:31:44.448Z] 63f879dbbcfc: Pulling fs layer [2022-01-20T18:31:44.448Z] 0d9ebad4ef96: Pulling fs layer [2022-01-20T18:31:44.448Z] e9a5061849ea: Pulling fs layer [2022-01-20T18:31:44.448Z] d747dcd14b5f: Pulling fs layer [2022-01-20T18:31:44.448Z] 2de7ff778b66: Pulling fs layer [2022-01-20T18:31:44.448Z] e9a5061849ea: Waiting [2022-01-20T18:31:44.448Z] d747dcd14b5f: Waiting [2022-01-20T18:31:44.448Z] 2de7ff778b66: Waiting [2022-01-20T18:31:44.448Z] 0d9ebad4ef96: Waiting [2022-01-20T18:31:44.448Z] 9712f1f96733: Verifying Checksum [2022-01-20T18:31:44.448Z] 9712f1f96733: Download complete [2022-01-20T18:31:44.713Z] 63f879dbbcfc: Verifying Checksum [2022-01-20T18:31:44.713Z] 63f879dbbcfc: Download complete [2022-01-20T18:31:44.973Z] ab5ef0e58194: Verifying Checksum [2022-01-20T18:31:44.973Z] ab5ef0e58194: Download complete [2022-01-20T18:31:44.973Z] d747dcd14b5f: Verifying Checksum [2022-01-20T18:31:44.973Z] d747dcd14b5f: Download complete [2022-01-20T18:31:44.973Z] 0d9ebad4ef96: Verifying Checksum [2022-01-20T18:31:44.973Z] 0d9ebad4ef96: Download complete [2022-01-20T18:31:44.973Z] e9a5061849ea: Verifying Checksum [2022-01-20T18:31:44.973Z] e9a5061849ea: Download complete [2022-01-20T18:31:44.973Z] 2de7ff778b66: Verifying Checksum [2022-01-20T18:31:44.973Z] 2de7ff778b66: Download complete [2022-01-20T18:31:48.323Z] ab5ef0e58194: Pull complete [2022-01-20T18:31:48.323Z] 9712f1f96733: Pull complete [2022-01-20T18:31:48.900Z] 63f879dbbcfc: Pull complete [2022-01-20T18:31:53.141Z] 0d9ebad4ef96: Pull complete [2022-01-20T18:31:53.141Z] e9a5061849ea: Pull complete [2022-01-20T18:31:53.141Z] d747dcd14b5f: Pull complete [2022-01-20T18:31:54.545Z] 2de7ff778b66: Pull complete [2022-01-20T18:31:54.545Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-20T18:31:54.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T18:31:54.545Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-20T18:31:54.610Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:31:54.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-20T18:31:58.094Z] $ docker top 57873384649b6ea26c9cca0b93250f76d916ce9e022c05dacf83ff96cdc7b052 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:31:58.178Z] provisioning config files... [2022-01-20T18:31:58.188Z] copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config8335678887167074304tmp [2022-01-20T18:31:58.198Z] copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config6077338631978978178tmp [2022-01-20T18:31:58.207Z] copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7702835813592695682tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:31:58.226Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:58.512Z] ---> sigul-configuration.sh [2022-01-20T18:31:58.512Z] gpg: directory `/root/.gnupg' created [2022-01-20T18:31:58.512Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-20T18:31:58.512Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-20T18:31:58.512Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-20T18:31:58.512Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-20T18:31:58.512Z] gpg: CAST5 encrypted data [2022-01-20T18:31:58.512Z] gpg: encrypted with 1 passphrase [2022-01-20T18:31:58.512Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-20T18:31:58.803Z] + mkdir /home/jenkins [2022-01-20T18:31:58.803Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-20T18:31:59.092Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-01-20T18:31:59.101Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:31:59.392Z] ---> sigul-install.sh [2022-01-20T18:31:59.393Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-20T18:31:59.688Z] + git tag --list [2022-01-20T18:31:59.688Z] 0.7.1 [2022-01-20T18:31:59.688Z] v1.0.0 [2022-01-20T18:31:59.688Z] v1.1.0 [2022-01-20T18:31:59.688Z] v1.1.1 [2022-01-20T18:31:59.688Z] v1.2.2 [2022-01-20T18:31:59.688Z] v1.3.0 [2022-01-20T18:31:59.688Z] v1.3.1 [2022-01-20T18:31:59.688Z] v2.0.0 [2022-01-20T18:31:59.688Z] v2.0.1-dev.1 [2022-01-20T18:31:59.688Z] v2.0.1-dev.10 [2022-01-20T18:31:59.688Z] v2.0.1-dev.11 [2022-01-20T18:31:59.688Z] v2.0.1-dev.12 [2022-01-20T18:31:59.688Z] v2.0.1-dev.2 [2022-01-20T18:31:59.688Z] v2.0.1-dev.3 [2022-01-20T18:31:59.688Z] v2.0.1-dev.4 [2022-01-20T18:31:59.688Z] v2.0.1-dev.5 [2022-01-20T18:31:59.688Z] v2.0.1-dev.6 [2022-01-20T18:31:59.688Z] v2.0.1-dev.7 [2022-01-20T18:31:59.688Z] v2.0.1-dev.8 [2022-01-20T18:31:59.688Z] v2.0.1-dev.9 [2022-01-20T18:31:59.688Z] v2.1.0 [2022-01-20T18:31:59.688Z] v2.2.0-dev.1 [2022-01-20T18:31:59.688Z] v2.2.0-dev.2 [2022-01-20T18:31:59.688Z] v2.2.0-dev.3 [2022-01-20T18:31:59.688Z] v2.2.0-dev.4 [2022-01-20T18:31:59.688Z] v2.2.0-dev.5 [Pipeline] sh [2022-01-20T18:31:59.982Z] + lftools sign git-tag v2.2.0-dev.5 [2022-01-20T18:32:00.556Z] Signing Git tag with Sigul... [2022-01-20T18:32:00.556Z] Signing v2.2.0-dev.5 [Pipeline] echo [2022-01-20T18:32:01.136Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:01.423Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-20T18:32:01.436Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-20T18:32:01.456Z] $ docker stop --time=1 57873384649b6ea26c9cca0b93250f76d916ce9e022c05dacf83ff96cdc7b052 [2022-01-20T18:32:02.667Z] $ docker rm -f 57873384649b6ea26c9cca0b93250f76d916ce9e022c05dacf83ff96cdc7b052 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-20T18:32:03.122Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:32:03.122Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:32:03.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:32:03.424Z] . [Pipeline] withDockerContainer [2022-01-20T18:32:03.484Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:32:03.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:32:03.879Z] $ docker top 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:32:03.971Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:32:03.971Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:32:04.090Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:32:04.092Z] $ docker exec 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df ssh-agent [2022-01-20T18:32:04.190Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAdHEiH/agent.14 [2022-01-20T18:32:04.190Z] SSH_AGENT_PID=20 [2022-01-20T18:32:04.195Z] Running ssh-add (command line suppressed) [2022-01-20T18:32:04.283Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3329740402429162816.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_3329740402429162816.key) [2022-01-20T18:32:04.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:32:04.605Z] + git semver bump pre [2022-01-20T18:32:04.605Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:32:04.605Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-20T18:32:04.605Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-20T18:32:04.605Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:32:04.605Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:32:04.605Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:32:04.605Z] # $SEMVER_BRANCH = main [2022-01-20T18:32:04.605Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [2022-01-20T18:32:04.605Z] 2.2.0-dev.6 [Pipeline] } [2022-01-20T18:32:04.615Z] $ docker exec --env ******** --env ******** 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df ssh-agent -k [2022-01-20T18:32:04.692Z] unset SSH_AUTH_SOCK; [2022-01-20T18:32:04.692Z] unset SSH_AGENT_PID; [2022-01-20T18:32:04.692Z] echo Agent pid 20 killed; [2022-01-20T18:32:04.701Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:32:05.009Z] + git semver [Pipeline] } [2022-01-20T18:32:05.021Z] $ docker stop --time=1 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df [2022-01-20T18:32:06.198Z] $ docker rm -f 2640f4e1934a8115b1c5f67613ce94c6d9ddc4d18d463147e414fdaf0ab6d2df [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T18:32:06.562Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T18:32:06.562Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:32:06.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T18:32:06.855Z] . [Pipeline] withDockerContainer [2022-01-20T18:32:06.918Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:32:06.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T18:32:07.450Z] $ docker top 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T18:32:07.530Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T18:32:07.530Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T18:32:07.623Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T18:32:07.624Z] $ docker exec 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf ssh-agent [2022-01-20T18:32:07.718Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBjfhmB/agent.14 [2022-01-20T18:32:07.718Z] SSH_AGENT_PID=21 [2022-01-20T18:32:07.723Z] Running ssh-add (command line suppressed) [2022-01-20T18:32:07.806Z] Identity added: /w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2272124576670919962.key (/w/workspace/gexfoundry_device-modbus-go_main@tmp/private_key_2272124576670919962.key) [2022-01-20T18:32:07.816Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T18:32:08.131Z] + git semver push [2022-01-20T18:32:08.131Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T18:32:08.131Z] # $GIT_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.git [2022-01-20T18:32:08.131Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-modbus-go_main [2022-01-20T18:32:08.131Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T18:32:08.131Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T18:32:08.131Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T18:32:08.131Z] # $SEMVER_BRANCH = main [2022-01-20T18:32:08.131Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-modbus-go_main/.semver [Pipeline] } [2022-01-20T18:32:10.044Z] $ docker exec --env ******** --env ******** 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf ssh-agent -k [2022-01-20T18:32:10.134Z] unset SSH_AUTH_SOCK; [2022-01-20T18:32:10.134Z] unset SSH_AGENT_PID; [2022-01-20T18:32:10.134Z] echo Agent pid 21 killed; [2022-01-20T18:32:10.147Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T18:32:10.465Z] + git semver [Pipeline] } [2022-01-20T18:32:10.505Z] $ docker stop --time=1 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf [2022-01-20T18:32:11.679Z] $ docker rm -f 624645e271307f21638e87554d20ef5690eab3a307a932b4edad7457f33873bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-20T18:32:12.248Z] + '[' -d /w/workspace/gexfoundry_device-modbus-go_main/archives ']' [2022-01-20T18:32:12.248Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-20T18:32:12.248Z] total 8 [2022-01-20T18:32:12.248Z] drwxr-xr-x. 3 root root 34 Jan 20 18:18 . [2022-01-20T18:32:12.248Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 18:31 .. [2022-01-20T18:32:12.248Z] drwxr-xr-x. 2 root root 6 Jan 20 18:18 cost [2022-01-20T18:32:12.248Z] -rw-r--r--. 1 root root 86 Jan 20 18:18 cost.csv [2022-01-20T18:32:12.248Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-20T18:32:12.248Z] + ls -al /w/workspace/gexfoundry_device-modbus-go_main/archives [2022-01-20T18:32:12.248Z] total 8 [2022-01-20T18:32:12.248Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 18:18 . [2022-01-20T18:32:12.248Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 18:31 .. [2022-01-20T18:32:12.248Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 18:18 cost [2022-01-20T18:32:12.248Z] -rw-r--r--. 1 jenkins jenkins 86 Jan 20 18:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:12.539Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:13.104Z] ---> package-listing.sh [2022-01-20T18:32:13.104Z] ++ facter osfamily [2022-01-20T18:32:13.104Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T18:32:13.366Z] + OS_FAMILY=redhat [2022-01-20T18:32:13.366Z] + workspace=/w/workspace/gexfoundry_device-modbus-go_main [2022-01-20T18:32:13.366Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T18:32:13.366Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T18:32:13.366Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T18:32:13.366Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T18:32:13.366Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-01-20T18:32:13.366Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T18:32:13.366Z] + case "${OS_FAMILY}" in [2022-01-20T18:32:13.366Z] + rpm -qa [2022-01-20T18:32:13.366Z] + sort [2022-01-20T18:32:13.934Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T18:32:13.934Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T18:32:13.934Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T18:32:14.195Z] + '[' /w/workspace/gexfoundry_device-modbus-go_main ']' [2022-01-20T18:32:14.195Z] + mkdir -p /w/workspace/gexfoundry_device-modbus-go_main/archives/ [2022-01-20T18:32:14.195Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-modbus-go_main/archives/ [Pipeline] echo [2022-01-20T18:32:14.206Z] 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-20T18:32:14.489Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T18:32:15.045Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T18:32:15.045Z] . [Pipeline] withDockerContainer [2022-01-20T18:32:15.105Z] prd-centos7-docker-4c-2g-2479 does not seem to be running inside a container [2022-01-20T18:32:15.143Z] $ 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/gexfoundry_device-modbus-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-modbus-go_main -v /w/workspace/gexfoundry_device-modbus-go_main:/w/workspace/gexfoundry_device-modbus-go_main:rw,z -v /w/workspace/gexfoundry_device-modbus-go_main@tmp:/w/workspace/gexfoundry_device-modbus-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T18:32:15.385Z] $ docker top 44ef1369dd98080a3ffa6428221cc2f2a7b424a242447dad307b40114b78b141 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T18:32:15.740Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T18:32:16.034Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T18:32:16.317Z] + ls /var/log/sa-host [2022-01-20T18:32:16.317Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T18:32:16.317Z] file_magic: OK [2022-01-20T18:32:16.317Z] HZ: Using current value: 100 [2022-01-20T18:32:16.317Z] file_header: OK [2022-01-20T18:32:16.317Z] 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 [2022-01-20T18:32:16.317Z] Statistics: [2022-01-20T18:32:16.317Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:32:16.317Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T18:32:16.317Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T18:32:16.317Z] file_magic: OK [2022-01-20T18:32:16.317Z] HZ: Using current value: 100 [2022-01-20T18:32:16.317Z] file_header: OK [2022-01-20T18:32:16.317Z] 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 [2022-01-20T18:32:16.317Z] Statistics: [2022-01-20T18:32:16.317Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T18:32:16.317Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T18:32:16.408Z] provisioning config files... [2022-01-20T18:32:16.418Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-modbus-go_main@tmp/config7175235366295657591tmp [Pipeline] { [Pipeline] echo [2022-01-20T18:32:16.431Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:16.719Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T18:32:16.726Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:17.055Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T18:32:17.066Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:17.355Z] ---> sudo-logs.sh [2022-01-20T18:32:17.355Z] Archiving 'sudo' log.. [2022-01-20T18:32:17.355Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2479.novalocal: Name or service not known [2022-01-20T18:32:17.355Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-2479.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T18:32:17.394Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:17.679Z] ---> job-cost.sh [2022-01-20T18:32:17.679Z] lf-activate-venv: SKIPPING [2022-01-20T18:32:17.679Z] DEBUG: total: 0.05999999865889549 [2022-01-20T18:32:17.679Z] INFO: Retrieving Stack Cost... [2022-01-20T18:32:18.249Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T18:32:18.509Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T18:32:18.522Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T18:32:18.811Z] ---> logs-deploy.sh [2022-01-20T18:32:18.811Z] lf-activate-venv: SKIPPING [2022-01-20T18:32:18.811Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-modbus-go/main/22 [2022-01-20T18:32:18.811Z] INFO: archiving workspace using pattern(s): [2022-01-20T18:32:19.384Z] Archives upload complete. [2022-01-20T18:32:19.645Z] INFO: archiving logs to Nexus